Patent attributes
Provided are a method and apparatus for resource allocation and an audiovisual playback terminal. The resource allocation method is applicable to a resource allocation system in an audiovisual playback terminal. The audiovisual playback terminal includes multiple device entities. The resource allocation system includes a resource configurator and several service instances. The method includes: causing the resource configurator to respond to a path requesting request from at least one target service instance, each of the path requesting requests containing a device entity list required by the target service instance in implementation of a service function; allocating device entities according to a preset resource allocation rule according to the instance attribute and the device entity list of each target service instance to create a path for each target service instance, so that the target service instance can invoke the device entities in the corresponding path to achieve the corresponding service function.