WO2021081745A1 - Hardware resource allocation method and apparatus, video processor, and display system - Google Patents

Hardware resource allocation method and apparatus, video processor, and display system Download PDF

Info

Publication number
WO2021081745A1
WO2021081745A1 PCT/CN2019/113946 CN2019113946W WO2021081745A1 WO 2021081745 A1 WO2021081745 A1 WO 2021081745A1 CN 2019113946 W CN2019113946 W CN 2019113946W WO 2021081745 A1 WO2021081745 A1 WO 2021081745A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
resource
hardware
hardware resource
video output
Prior art date
Application number
PCT/CN2019/113946
Other languages
French (fr)
Chinese (zh)
Inventor
张聪慧
王伙荣
Original Assignee
北京嗨动视觉科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京嗨动视觉科技有限公司 filed Critical 北京嗨动视觉科技有限公司
Priority to PCT/CN2019/113946 priority Critical patent/WO2021081745A1/en
Publication of WO2021081745A1 publication Critical patent/WO2021081745A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Definitions

  • This application relates to the technical field of video processors, and in particular to a hardware resource allocation method, a hardware resource allocation device, a video processor, and a display system.
  • Existing video output devices are connected to and use multiple screens at the same time, and the hardware resources on the video output device correspond to two resource types to output and load multiple screens respectively.
  • the video output device allocates hardware resources for each screen in advance, but this method causes the hardware resources to be fixedly allocated, resulting in the inability to fully utilize the inherent hardware resources of the video output device dynamically.
  • the embodiments of the present application provide a hardware resource allocation method, a hardware resource allocation device, a video processor, and a display system, which can dynamically allocate hardware resources inherent to a video output device.
  • a hardware resource allocation method provided by an embodiment of the present application is applied to a master control device that is electrically connected to at least one video output device; it includes: obtaining window creation information, wherein the window creation information is used to characterize on a target screen The window to be built; generating a resource allocation command based on the window creation information, where the resource allocation command includes: the target hardware resource identifier and target type associated with the target video output device, the target video output device belonging to the at least one video Output device; and sending the resource allocation command to the target video output device for the target video output device to allocate its own hardware resources according to the resource allocation command.
  • the inherent hardware resources on the target video output device are dynamically allocated according to the window creation information, which solves the problem of insufficient hardware resource utilization caused by the fixed allocation of hardware resources in the prior art, and achieves the ability to flexibly allocate hardware The effect of resources.
  • the generating a resource allocation command according to the window creation information includes: generating resource demand information according to the window creation information; querying each corresponding target video output according to the resource demand information The current resource allocation status information of the device obtains the target hardware resource identifier.
  • the window creation information includes: the target screen, the target type, and the position and size information of the window to be built on the target screen;
  • the resource requirement information includes: corresponding The number of hardware resources to be allocated for each target video output device;
  • the generating resource requirement information according to the window creation information includes: using a video output device associated with the target screen as the target video output device;
  • the position and size information of the window to be built on the target screen acquires the quantity of hardware resources to be allocated.
  • the current resource allocation status information includes: a plurality of different resource group identifiers, a resource group status associated with each resource group identifier, and two different resource group identifiers associated with each resource group identifier.
  • the number of resources includes: acquiring the target resource group identifier corresponding to the target resource output device; acquiring the target hardware resource identifier according to the target resource group identifier.
  • the resource group status is the target resource group identifier in the idle state; or the resource group status is the target resource group identifier in the target screen occupancy state, and one of the hardware resource identifiers associated with the target resource group identifier
  • the type of the corresponding hardware resource is different from the target type, and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle.
  • the acquiring the target hardware resource identifier according to the target resource group identifier includes: when the resource group status associated with the target resource group identifier is idle, associating the target resource group identifier One of the two hardware resource identifiers is used as the target hardware resource identifier; and when the resource group state associated with the target resource group identifier is the target screen occupation state, and the target resource When the type of the hardware resource corresponding to one of the hardware resource identifiers associated with the group identifier is different from the target type, and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle And use the other hardware resource identifier as the target hardware resource identifier.
  • another hardware resource allocation method is applied to a video output device electrically connected to a main control device, and includes: receiving a resource allocation command, wherein the resource allocation command includes: a target hardware resource identifier and Target type; and controlling the hardware resource corresponding to the target hardware resource identifier to output through the target type.
  • a hardware resource allocation device provided by an embodiment of the present application is applied to a main control device electrically connected to at least one video output device, and includes: an information acquisition module for acquiring window creation information, wherein the window creation information It is used to characterize the window to be built on the target screen; the command generation module is used to generate a resource allocation command according to the window creation information, wherein the resource allocation command includes: the target hardware resource identification and target type associated with the target video output device , The target video output device belongs to the at least one video output device; and a command sending module configured to send the resource allocation command to the corresponding target video output device for the target video output device to allocate the command according to the resource Allocate its own hardware resources.
  • the command generation module includes: a demand information generation sub-module for generating resource demand information based on the window creation information; a target hardware resource acquisition sub-module for querying based on the resource demand information The corresponding current resource allocation status information of each target video output device obtains the target hardware resource identifier.
  • the window creation information includes: the target screen, the target type, and the position and size information of the window to be built on the target screen;
  • the resource requirement information includes: corresponding The number of hardware resources to be allocated for each target video output device;
  • the demand information generating sub-module includes: a first generating unit configured to use the video output device associated with the target screen as the target video output device;
  • the second generating unit is configured to obtain the quantity of hardware resources to be allocated according to the position and size information of the window to be built on the target screen.
  • the current resource allocation status information includes: a plurality of different resource group identifiers, a resource group status associated with each resource group identifier, and two different resource group identifiers associated with each resource group identifier.
  • the target hardware resource acquisition sub-module includes: a target resource group acquisition unit: used to acquire a target corresponding to the target resource output device Resource group identifier; a target hardware resource acquisition unit, configured to acquire the target hardware resource identifier according to the target resource group identifier.
  • the number of target resource group identifiers is equal to the number of hardware resources to be allocated;
  • the target resource group obtaining unit includes: a first obtaining subunit, configured to obtain the resource group status Is the target resource group identifier association in the idle state;
  • the second acquisition subunit is used to acquire the target resource group identifier whose resource group status is the target screen occupancy state, and the one associated with the target resource group identifier
  • the type of the hardware resource corresponding to the hardware resource identifier is different from the target type, and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle.
  • the target hardware resource acquisition unit includes: a third acquisition subunit: for associating the target resource group identifier when the resource group status associated with the target resource group identifier is in an idle state One of the two hardware resource identifiers is used as the target hardware resource identifier; and the fourth acquiring subunit is configured to: when the resource group status associated with the target resource group identifier is the target screen Occupied state, and the type of the hardware resource corresponding to the one of the hardware resource identifiers associated with the target resource group identifier is different from the target type, and all corresponding to another hardware resource identifier associated with the target resource group identifier When the type of the hardware resource is idle, the other hardware resource identifier is used as the target hardware resource identifier.
  • another hardware resource allocation device provided by an embodiment of the present invention is applied to a video output device electrically connected to a main control device, and includes: a command receiving module for receiving a resource allocation command, wherein the resource allocation command includes : Target hardware resource identifier and target type; and a resource allocation module for controlling hardware resources corresponding to the target hardware resource identifier to output through the target type.
  • a video processor provided by an embodiment of the present application includes: a main control device including a processor; at least one video output device, each video output device includes a first programmable logic device, and each video output device includes a first programmable logic device.
  • the first programmable logic device is electrically connected to the processor, and each of the first programmable logic devices includes a plurality of different hardware resources; the processor is configured to: obtain window creation information, and generate information based on the window creation information Resource allocation command and sending the resource allocation command to the corresponding target video output device, wherein the window creation information is used to characterize the window to be built on the target screen, and the resource allocation command includes the hardware resource associated with the target video output device
  • the target hardware resource identification and target type of the target video output device belong to the at least one video output device; the first programmable logic device of the target video output device is configured to: receive the corresponding resource allocation command And controlling the hardware resource corresponding to the target hardware resource identifier to output through the target type.
  • the video processor further includes: a video input device, including a second programmable logic device, and the second programmable logic device is electrically connected to the processor and the first programmable logic device.
  • a video input device including a second programmable logic device
  • the second programmable logic device is used to send the image to be displayed to the first programmable logic device of the target video output device
  • the first programmable logic device of the target video output device is used Drive and control the hardware resource corresponding to the target hardware resource identifier to output the to-be-displayed image in the target type.
  • the video processor further includes: a backplane, including a data exchange chip, and the data exchange chip is electrically connected between the first programmable logic device and the second programmable logic device.
  • the main control device, the at least one video output device, and the video input device are respectively connected to the backplane; the data exchange chip is used to receive the to-be-displayed sent by the second programmable logic device Image and the first programmable logic device that forwards the image to be displayed to the target video output device.
  • the second programmable logic device of one of the video input devices sends the image to be displayed to the data exchange chip.
  • a display system provided by an embodiment of the present application includes: any one of the above-mentioned video processor, a first display device, and a second display device; the video output device of the video processor is connected The first display device and the second display device; when the type of the hardware resource of the first programmable logic device of the video output device is the first resource type, the video output device corresponds to the first Display device; when the type of the hardware resource of the first programmable logic device of the video output device is the second resource type, the video output device corresponds to the second display device.
  • multiple video output devices are respectively connected to one first display device and one second display device.
  • the first display device is a preview display
  • the second display device is an LED display screen
  • the LED display screen includes: a sending card connected to at least one of the video processors The video output device; a receiving card, connected to the sending card; LED light box, connected to the receiving card.
  • the hardware resources can be dynamically allocated for different display devices by grouping hardware resources and dynamically allocated according to the state of the resource group and the state of the hardware resources, realizing flexible hardware allocation. Resources, which solves the problem of conflicts between different screens caused by fixed allocation of hardware resources and the problem of inability to make full use of hardware resources.
  • FIG. 1 is a schematic flowchart of a method for allocating hardware resources provided by the first embodiment of this application.
  • Fig. 2 is a detailed flowchart of step S2 in Fig. 1.
  • Fig. 3 is a detailed flowchart of step S21 in Fig. 2.
  • Fig. 4 is a schematic structural diagram of a target screen in an embodiment of the application.
  • Fig. 5 is a detailed flowchart of step S22 in Fig. 2.
  • FIG. 6 is a detailed flowchart of step S221 in FIG. 5.
  • Fig. 7 is a detailed flowchart of step S222 in Fig. 5.
  • Figures 8a-8c are schematic diagrams of the structure of resource allocation status information in an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another hardware resource allocation method provided by the first embodiment of this application.
  • FIG. 10 is a schematic diagram of modules of a hardware resource allocation device provided by the second embodiment of this application.
  • FIG. 11 is a schematic diagram of the command generation module in FIG. 10.
  • FIG. 12 is a schematic diagram of modules of another hardware resource allocation device provided by the second embodiment of this application.
  • FIG. 13 is a schematic diagram of the architecture of a video processor provided by the third embodiment of this application.
  • FIG. 14 is a schematic structural diagram of a display system provided by the fourth embodiment of this application.
  • the hardware resource allocation method is, for example, applied to a main control device electrically connected to at least one video output device, and specifically includes:
  • Step S1 obtaining window creation information, where the window creation information is used to characterize a window to be created on the target screen;
  • Step S2 Generate a resource allocation command based on the window creation information, where the resource allocation command includes: associating a target hardware resource identifier and a target type of a target video output device, the target video output device belonging to the at least one video output device ;as well as
  • Step S3 Send the resource allocation command to the target video output device for the target video output device to allocate its own hardware resources according to the resource allocation command.
  • the window creation information may include the identifier of the target screen of the associated window, the position and size information of the window on the target screen, and the type of hardware resource required by the window; specifically
  • the window is, for example, a window to be created;
  • the identifier of the target screen of the associated window is, for example, the identifier of the screen where the window to be created is located, and the identifier is, for example, information used to distinguish different screens, such as The number of the screen;
  • the position information of the window on the target screen is, for example, the offset of the starting position of the window to be created relative to the starting position of the target screen;
  • the size of the window on the target screen The information is, for example, the width and height of the window to be created;
  • the type of hardware resource required by the window is, for example, the usage type of one or more hardware resources that the window to be created needs to use, and the type is, for example, PVW( Preview, the preview screen in the studio) or PGM (Program, the on-air
  • the target screen is carried by at least one target video output device, wherein the target video output device belongs to the at least one video output device.
  • the target screen is, for example, carried by multiple video output devices, for example, some or all of the video output devices in the multiple video output devices are the target video output devices;
  • the step S2 includes, for example:
  • Step S21 generating resource demand information according to the window creation information
  • Step S22 Query corresponding current resource allocation status information of each target video output device according to the resource requirement information to obtain the target hardware resource identifier.
  • the resource requirement information represents the number of hardware resources required by the window to be created corresponding to the window creation information, and the target video output device corresponding to the required hardware resource.
  • the current resource allocation status information includes, for example, multiple resource group identifiers, a resource group status associated with each resource group identifier, two different hardware resource identifiers associated with each resource group identifier,
  • the hardware resource identifier corresponds to the type of the hardware resource.
  • the resource group identifier is, for example, information for distinguishing multiple different resource groups, that is, the two hardware resource identifiers associated with the resource group identifier can be determined according to the resource group identifier, and the resource group identifier is, for example, Number, the hardware resource identifier is, for example, information used to distinguish multiple different hardware resources, and the hardware resource identifier is, for example, a hardware resource number.
  • the current resource allocation status information may be information in the form of a table, which includes a plurality of different resource group identifiers, and each resource group identifier is associated with a resource group status and two different hardware resource identifiers, so The hardware resource corresponding to the hardware resource identifier belongs to the target video output device; the resource group status is, for example, used to indicate that the resource group associated with the resource group identifier corresponding to the resource group status is occupied or idle by a certain screen, so The resource group is, for example, two hardware resources corresponding to the two hardware resource identifiers associated with the resource group identifier, for example, the resource group status is represented as the second screen use, and for example, the resource group status is represented as idle.
  • the window creation information may include: the target screen, the target type, and position and size information of the window to be built on the target screen; the resource requirement information It includes: the number of hardware resources to be allocated corresponding to each of the target video output devices; wherein, the step S21 includes, for example:
  • Step S211 Use the video output device associated with the target screen as the target video output device
  • Step S212 Acquire the quantity of hardware resources to be allocated according to the position and size information of the window to be built on the target screen.
  • the target screen 1 includes, for example, sixteen display areas (shown by the dashed box in the figure), of which the eight display areas on the left can be carried by the first video output device, and the first video output device.
  • the eight hardware resources of one video output device carry the eight display areas on the left, and the eight display areas on the right can be carried by the second video output device, and the eight hardware resources of the second video output device are carried respectively. Load the eight display areas on the right.
  • the window 2 to be created according to the position and size information of the window 2 to be created on the target screen 1, the window 2 to be created is completely located in the loading area of the first video output device, so the window 2 to be created corresponds to
  • the target video output device is the first video output device, and according to the position and size information of the window 2 to be created on the target screen 1, it can be known that the window 2 to be created is located in the loading area of the six hardware resources of the first video output device.
  • the number of hardware resources to be allocated for the first video output device is six.
  • the window 3 to be created according to the position and size information of the window 3 to be created on the target screen 1, a part of the window 3 to be created is located in the loading area of the first video output device.
  • the other part is located in the loading area of the second video output device, so the target video output device corresponding to the window 3 to be created includes the first video output device and the second video output device, and is based on the position of the window 3 to be created on the target screen 1.
  • the size information can also know that a part of the window 3 to be created is located in the loading area of the two hardware resources of the first video output device, and another part of the window 3 to be created is located in the loading area of the two hardware resources of the second video output device. Therefore, for the window 3 to be created, the number of hardware resources to be allocated for the first video output device is two, and the number of hardware resources to be allocated for the second video output device is two.
  • the current resource allocation status information includes: a plurality of different resource group identifiers, the resource group status associated with each resource group identifier, and the two associated with each resource group identifier.
  • Step S221 Obtain the target resource group identifier corresponding to the target resource output device
  • Step S222 Obtain the target hardware resource identifier according to the target resource group identifier.
  • the number of the target resource group identifiers is equal to the number of hardware resources to be allocated; wherein the step S221 includes, for example:
  • Step S2211 Obtain the target resource group identifier of the resource group in the idle state.
  • Step S2212 Obtain the target resource group identifier whose resource group status is the target screen occupancy status, and the type of the hardware resource and the target type corresponding to one of the hardware resource identifiers associated with the target resource group identifier The type of the hardware resource that is different and that corresponds to another hardware resource identifier associated with the target resource group identifier is idle.
  • the step S222 includes, for example:
  • Step S2221 When the status of the resource group associated with the target resource group identifier is idle, use one of the two hardware resource identifiers associated with the target resource group identifier as the target hardware resource Logo;
  • Step S2222 When the resource group status associated with the target resource group identifier is the target screen occupancy state, and the hardware resource identifier associated with the target resource group identifier corresponds to the type of the hardware resource and the target When the type is different and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle, the other hardware resource identifier is used as the target hardware resource identifier.
  • step S22 is now described as follows:
  • the plurality of different resource group identifiers is, for example, sequential, and the resource group identifier is, for example, a number.
  • the resource group status associated with the resource group identifier is viewed in the sequence of the resource group identifier, for example, from the order of Starting from the previous first resource group identifier, check whether the status of the resource group associated with the first resource group identifier is idle;
  • the status of the resource group associated with the first resource group identifier is idle, indicating that the resource group corresponding to the resource group identifier is not occupied by any screen, and the first resource group identifier is used as a target resource group, for example Identification, acquiring a hardware resource identifier associated with the target resource group identifier as the target hardware resource identifier, and selecting the hardware resource identifier with the first order as the target hardware resource identifier according to the sequence of the two hardware resource identifiers in the target resource group identifier;
  • the status of the resource group associated with the first resource group identifier is not idle, it means that the resource group associated with the first resource group identifier is occupied by a certain screen, continue to view the first resource Whether the state of the resource group associated with the group identifier is occupied by the target screen;
  • the state of the resource group associated with the first resource group identifier is occupied by a non-target screen, the second resource group identifier is checked in the order of the resource group identifier, and the above process is repeated, which will not be described here;
  • the status of the resource group associated with the first resource group identifier is occupied by the target screen, check the status of the two hardware resources respectively corresponding to the two hardware resource identifiers associated with the first resource group identifier Whether the type meets the following requirements: requirement one, the type of the hardware resource corresponding to one of the two hardware resource identifiers is different from the target type, requirement two, the other of the two hardware resource identifiers The status of the hardware resource corresponding to a hardware resource identifier is idle;
  • the second resource group identifier is checked according to the sequence of the resource group identifier, and the above process is repeated, which will not be described here; when the above two requirements are met at the same time, the The first resource group identifier is a target resource group identifier, and an idle hardware resource identifier associated with the first resource group identifier is acquired as the target hardware resource identifier;
  • the target hardware resource identifier After obtaining the target hardware resource identifier, it is determined whether the number of target hardware resource identifiers meets the requirement, that is, it is determined whether the number of target resource group identifiers is equal to the target video output device in the resource requirement information.
  • An implementation process of the hardware resource allocation method provided in this embodiment is, for example, acquiring a piece of window creation information
  • the window creation information includes, for example, the target screen identifier of the associated window, for example, the target screen number 01, and the window is located at all locations.
  • the position information on the target screen is, for example, the offset of the initial position of the window relative to the initial position of the target screen, for example (100, 100), and the size information of the window on the target screen is, for example, the size of the window.
  • the width is 1000 pixels
  • the height of the window is 1000 pixels
  • the type of hardware resource required by the window is, for example, PVW.
  • the resource requirement information obtained according to the window creation information is, for example, that the area of the window on the target screen is carried by the target video output device, the number of hardware resources to be allocated of the target video output device is 3, and the The type of hardware resource to be waited for is PVW.
  • the process For details of this process, refer to step S2 in the foregoing embodiment, which will not be described here.
  • the resource group in the upper left corner of the figure is represented as: the resource group identifier is 1, the status of the resource group is idle, and the resource group identifier is associated
  • the two hardware resource identifiers are 1 and 2, respectively, the type of the hardware resource corresponding to the two hardware resource identifiers is idle, and the other resource groups are represented in the same manner, and will not be described here.
  • the target resource group identifiers including 1, 2, and 3 are acquired, and the target hardware resource identifiers include 1, 3, and 4, and the target type is PVW, and the resource allocation command is sent to the target.
  • Video output device is the target resource allocation command is sent to the target.
  • the window creation information includes the target screen identifier as 02, and the resource requirement information obtained according to the window creation information includes that the target video output device is the same video output device, and the number of hardware resources to be allocated Is 2, the target type is PGM.
  • the target resource group identifiers including 4 and 5 are obtained, and the target hardware resource identifiers are further obtained including 7 and 9 and the target.
  • the type is PGM, and the resource allocation command is sent to the target video output device.
  • the window creation information includes the target screen identifier as 01, and the resource requirement information obtained according to the window creation information includes that the target video output device is the same video output device, and the number of hardware resources to be allocated Is 4, and the target type is PGM.
  • the target resource group identifiers obtained include 1, 2, 3, and 6, and the target hardware resource identifiers obtained further include 2, 5, 6, and 11 and the target type is PGM, and the resource allocation command is sent to the target video output device.
  • the resource group status corresponding to the resource group identifier assigned to the target screen where the window is located can be set to idle, and the two hardware resources associated with the resource group identifier can be set The hardware resource status of is set to idle, which will not be introduced here.
  • the embodiment of the present application also provides another hardware resource allocation method, which is applied to a video output device electrically connected to a main control device, including:
  • Step S4 receiving a resource allocation command, where the resource allocation command includes: target hardware resource identification and target type;
  • Step S5 controlling the hardware resource corresponding to the target hardware resource identifier to output through the target type.
  • step S4 the hardware resource allocation command sent in the step S3 is received.
  • the embodiment of the present application manages hardware resource identifiers in groups, allocates screens according to resource groups, and allocates hardware resources, so that hardware resources can be dynamically allocated, and hardware resources can be allocated flexibly according to actual needs.
  • the hardware resources are allocated to each screen in advance, which solves the problem of hardware resource conflicts between screens.
  • the hardware resource allocation device 100 includes, for example, an information acquisition module 10, a command generation module 20, and a command transmission module 30.
  • the information acquisition module 10 is configured to acquire window creation information, where the window creation information is used to characterize a window to be created on the target screen.
  • the command generation module 20 is configured to generate a resource allocation command according to the window creation information, where the resource allocation command includes: a target hardware resource identifier and a target type associated with a target video output device, and the target video output device belongs to the at least A video output device.
  • the command sending module 30 is configured to send the resource allocation command to a corresponding target video output device for the target video output device to allocate its own hardware resources according to the resource allocation command.
  • the command generation module 20 includes, for example:
  • the demand information generation sub-module 21 is configured to generate resource demand information according to the window creation information
  • the target hardware resource acquisition submodule 22 is configured to query corresponding current resource allocation status information of each target video output device according to the resource requirement information to obtain the target hardware resource identifier.
  • the window creation information includes: the target screen, the target type, and the position and size information of the window to be built on the target screen; the resource requirement information includes: corresponding to each The number of hardware resources to be allocated of the target video output device.
  • the demand information generating sub-module 21 includes, for example:
  • the first generating unit 211 is configured to use the video output device associated with the target screen as the target video output device;
  • the second generating unit 212 is configured to obtain the quantity of hardware resources to be allocated according to the position and size information of the window to be built on the target screen.
  • the current resource allocation status information includes: a plurality of different resource group identifiers, a resource group status associated with each resource group identifier, and two different hardware associated with each resource group identifier A resource identifier and the type of the hardware resource corresponding to each hardware resource identifier.
  • target hardware resource acquisition sub-module 22 includes, for example:
  • Target resource group obtaining unit 221 configured to obtain a target resource group identifier corresponding to the target resource output device;
  • the target hardware resource obtaining unit 222 is configured to obtain the target hardware resource identifier according to the target resource group identifier.
  • the number of target resource group identifiers is equal to the number of hardware resources to be allocated.
  • the target resource group obtaining unit 221 includes, for example:
  • the first obtaining subunit 2211 is configured to obtain the target resource group identifier association of the resource group in the idle state
  • the second acquiring subunit 2212 is configured to acquire the target resource group identifier whose resource group status is the target screen occupancy status, and the hardware resource identifier corresponding to the hardware resource identifier associated with the target resource group identifier
  • the type of the hardware resource is different from the target type and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle.
  • target hardware resource obtaining unit 222 includes, for example:
  • the third acquiring subunit 2221 configured to associate one of the two hardware resource identifiers associated with the target resource group identifier when the resource group status associated with the target resource group identifier is idle.
  • the hardware resource identifier As the target hardware resource identifier;
  • the fourth acquiring subunit 2222 is configured to: when the resource group status associated with the target resource group identifier is the target screen occupancy state, and the hardware resource corresponding to the hardware resource identifier associated with the target resource group identifier When the type of is different from the target type, and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle, use the other hardware resource identifier as the target hardware resource identifier .
  • the information acquiring module 10, the command generating module 20, and the command sending module 30 in the hardware resource allocation device 100 cooperate to implement the hardware resource allocation method as shown in FIG. 1 in the above-mentioned first embodiment.
  • the specific implementation process and technical effects please refer to the description of the above-mentioned first embodiment, which will not be repeated here.
  • the hardware resource allocation device 200 includes, for example:
  • the command receiving module 40 is configured to receive a resource allocation command, where the resource allocation command includes: target hardware resource identification and target type; and
  • the resource allocation module 50 is configured to control the hardware resource corresponding to the target hardware resource identifier to output through the target type.
  • the command receiving module 40 and the resource allocation module 50 in the hardware resource allocation device 200 cooperate to implement the hardware resource allocation method as shown in FIG. 9 in the first embodiment, and its specific implementation process and technology For the effect, refer to the description of the above-mentioned first embodiment, which will not be repeated here.
  • the video processor 300 includes, for example, a main control device 320 and at least one video output processing device 330.
  • the main control device 320 includes a processor 321, and the processor 321 is, for example, an ARM (Advanced RISC Machine) processor chip.
  • the processor 321 is, for example, an ARM (Advanced RISC Machine) processor chip.
  • At least one video output device 330 is connected to the main control device 320.
  • each video output device 330 includes, for example, a first programmable logic device 331, each first programmable logic device 331 is electrically connected to the processor 321, and each first The programmable logic device 331 includes, for example, multiple different hardware resources.
  • a hardware resource has a hardware resource identifier, and different hardware resources have different hardware resource identifiers.
  • the load capacity of a first programmable logic device 331 is allocated to It has multiple hardware resources; for example, a first programmable logic device 331 can carry S pixels, where S is a positive integer, and the first programmable logic device 331 has, for example, 16 hardware resources, each The loading capacity of each hardware resource is, for example, S/16 respectively; for another example, the screen size that a first programmable logic device 331 can load is M ⁇ N, where M and N are both positive integers, and M is, for example, The width of the screen, for example, the width of M pixels, N is the height of the screen, for example, the height of N pixels, the first programmable logic device 331 has 16 hardware resources, for example, the M ⁇ N screen The size is equally divided into 16 areas (M/4) ⁇ (N/4) with the same area and size, and each hardware resource, for example, carries a corresponding area.
  • the processor 321 is configured to execute the hardware resource allocation method as described in FIG. 1 in the first embodiment. Refer to the detailed description of the above-mentioned first embodiment, which will not be described here.
  • the first programmable logic device 331 of the target video output device is, for example, used to execute the hardware resource allocation method as shown in FIG. 9 in the first embodiment. Please refer to the detailed description of the first embodiment above, which will not be introduced here .
  • the video processor 300 further includes, for example, a backplane 310 and at least one video input device 340.
  • the backplane 310 includes, for example, a data exchange chip 311, a processor 321, and each first programmable logic device 331, for example, are electrically connected to the data exchange chip 311, respectively.
  • the video input device 340 includes, for example, a second programmable logic device 341, and the second programmable logic device 341 is, for example, electrically connected to the data exchange chip 311, respectively.
  • At least one video output device 330, at least one video input device 340, and a main control device 320 are respectively connected to the backplane 31.
  • the backplane 310 further includes a plurality of input device interfaces to connect to the video input device 340, for example, the backplane 310 further includes a plurality of output device interfaces to connect to the video output device 330, for example, the backplane 310, for example, A main control device interface is included to connect to the main control device 320; each input device interface, each output device interface, and the main control device interface are electrically connected to the data exchange chip 311, respectively.
  • the second programmable logic device 341 of the video input device 340 is used, for example, to send the image to be displayed to the backplane 310.
  • the data exchange chip 311 of the backplane 310 is, for example, used to forward the image to be displayed to the target video output device.
  • the first programmable logic device 331 of the target video output device is configured to drive and control the hardware resource corresponding to the target hardware resource identifier to output the image to be displayed with the target type, for example, PVW.
  • the second programmable logic device 341 of the designated video input device 340 sends the image to be displayed to the backplane 310.
  • the video input device 340 is designated by the main control device 320.
  • the display system 400 includes, for example, the video processor 300, the first display device 410, and the second display device as described in the third embodiment. 420;
  • the first display device 410 and the second display device 420 may be the target screens described in the foregoing embodiment.
  • a video output device 330 of the video processor 300 is connected to a first display device 410 and a second display device 420.
  • the multiple video output devices 330 of the video processor 300 are respectively connected to a first display device 410 and a second display device 420 (not shown in the figure).
  • the first display device 410 is, for example, a preview display
  • the preview display is, for example, a display terminal
  • the display terminal is, for example, a monitor or a computer terminal with a display
  • the computer terminal with a display is, for example, It is a notebook computer with a display or a computer device connected to the display
  • the first display device 410 is connected to the video output device 330 via a cable, for example.
  • the second display device 420 is, for example, an LED display screen, which includes, for example, a sending card 421, a receiving card 422, and an LED light box 423; the sending card 421 is, for example, electrically connected to the receiving card 422 through a network cable, and the receiving card 422 is, for example, electrically connected to the LED light box 423; The sending card 421 is connected to the video output device 330 via a cable, for example.
  • the video output device 330 is provided with a first video interface corresponding to the first display device 410 and a second video interface corresponding to the second display device 420, the first video interface and the second video interface
  • the first video interface and the second video interface are various digital video interfaces such as HDMI (High Definition Multimedia Interface, high-definition multimedia interface), DVI, etc., or various analog video interfaces such as VGA.
  • the fifth embodiment of the present application provides a hardware resource allocation system, the hardware resource allocation system is used on the main control device, and the main control device is installed on the video processor as described in the third embodiment, The main control device executes the hardware resource allocation system to implement the process in the hardware resource allocation method as described in the first embodiment, and allocates hardware resources to the video output device of the video processor.
  • the fifth embodiment of the present application provides a storage medium that stores computer-executable instructions, and executes the computer-executable instructions to implement the hardware resource allocation method described in the first embodiment. Go into details.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute some steps of the methods in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes. Medium.

Abstract

Disclosed in embodiments of the present application are a hardware resource allocation method and apparatus, a video processor, and a display system. The hardware resource allocation method is applicable to a master control apparatus electrically connected to at least one video output apparatus, and comprises: obtaining window creating information, wherein the window creating information is used for representing a window to be created on a target screen; generating a resource allocation command according to the window creating information, wherein the resource allocation command comprises: a target hardware resource identifier of an associated target video output apparatus and a target type, and the target video output apparatus is at least one video output apparatus; and sending the resource allocation command to the target video output apparatus so that the target video output apparatus allocates hardware resources of the target video output apparatus according to the resource allocation command.

Description

硬件资源分配方法及装置、视频处理器和显示系统Hardware resource allocation method and device, video processor and display system 技术领域Technical field
本申请涉及视频处理器技术领域,尤其涉及一种硬件资源分配方法、一种硬件资源分配装置、一种视频处理器和一种显示系统。This application relates to the technical field of video processors, and in particular to a hardware resource allocation method, a hardware resource allocation device, a video processor, and a display system.
背景技术Background technique
现有的视频输出装置会同时连接并使用多个屏幕,并且视频输出装置上硬件资源对应有两种资源类型以分别输出带载多个屏幕。Existing video output devices are connected to and use multiple screens at the same time, and the hardware resources on the video output device correspond to two resource types to output and load multiple screens respectively.
现有技术中视频输出装置会针对每个屏幕预先分配好硬件资源,但是该方式会导致硬件资源被固定分配,导致不能充分的动态利用视频输出装置固有的硬件资源。In the prior art, the video output device allocates hardware resources for each screen in advance, but this method causes the hardware resources to be fixedly allocated, resulting in the inability to fully utilize the inherent hardware resources of the video output device dynamically.
发明内容Summary of the invention
因此,本申请实施例提供一种硬件资源分配方法、一种硬件资源分配装置、一种视频处理器和一种显示系统,能够动态分配视频输出装置固有的硬件资源。Therefore, the embodiments of the present application provide a hardware resource allocation method, a hardware resource allocation device, a video processor, and a display system, which can dynamically allocate hardware resources inherent to a video output device.
一方面,本申请实施例提供的一种硬件资源分配方法,应用于电连接至少一个视频输出装置的主控装置;包括:获取窗口创建信息,其中所述窗口创建信息用于表征在目标屏幕上的待建窗口;根据所述窗口创建信息生成资源分配命令,其中所述资源分配命令包括:关联目标视频输出装置的目标硬件资源标识和目标类型,所述目标视频输出装置属于所述至少一个视频输出装置;以及发送所述资源分配命令至所述目标视频输出装置以供所述目标视频输出装置根据所述资源分配命令分配自身的硬件资源。On the one hand, a hardware resource allocation method provided by an embodiment of the present application is applied to a master control device that is electrically connected to at least one video output device; it includes: obtaining window creation information, wherein the window creation information is used to characterize on a target screen The window to be built; generating a resource allocation command based on the window creation information, where the resource allocation command includes: the target hardware resource identifier and target type associated with the target video output device, the target video output device belonging to the at least one video Output device; and sending the resource allocation command to the target video output device for the target video output device to allocate its own hardware resources according to the resource allocation command.
本实施例中,根据窗口创建信息对目标视频输出装置上固有的硬件资源进行动态分配,解决了现有技术中由于硬件资源固定分配导致的硬件资源利用不充分的问题,达到了能够灵活分配硬件资源的效果。In this embodiment, the inherent hardware resources on the target video output device are dynamically allocated according to the window creation information, which solves the problem of insufficient hardware resource utilization caused by the fixed allocation of hardware resources in the prior art, and achieves the ability to flexibly allocate hardware The effect of resources.
本申请的一个实施例中,所述根据所述窗口创建信息生成资源分配命令,包括:根据所述窗口创建信息生成资源需求信息;根据所述资源需求信息查询对应的每个所述目标视频输出装置的当前资源分配状态信息得到所述目标硬件资源标识。In an embodiment of the present application, the generating a resource allocation command according to the window creation information includes: generating resource demand information according to the window creation information; querying each corresponding target video output according to the resource demand information The current resource allocation status information of the device obtains the target hardware resource identifier.
本申请的一个实施例中,所述窗口创建信息包括:所述目标屏幕、所述目标类型以及所述待建窗口在所述目标屏幕上的位置和大小信息;所述资源需求信息包括:对应每个所述目标视频输出装置的待分配硬件资源的数量;所述根据所述窗口创建信息生成资源需求信息,包括:将所述目标屏幕关联的视频输出装置作为所述目标视频输出装置;根据所述待建窗口在所述目标屏幕上的位置和大小信息获取所述待分配硬件资源的数量。In an embodiment of the present application, the window creation information includes: the target screen, the target type, and the position and size information of the window to be built on the target screen; the resource requirement information includes: corresponding The number of hardware resources to be allocated for each target video output device; the generating resource requirement information according to the window creation information includes: using a video output device associated with the target screen as the target video output device; The position and size information of the window to be built on the target screen acquires the quantity of hardware resources to be allocated.
本申请的一个实施例中,所述当前资源分配状态信息包括:多个不同的资源组标识、关联每个所述资源组标识的资源组状态、每个所述资源组标识关联的两个不同的硬件资源标识以及每个所述硬件资源标识对应的所述硬件资源的类型;所述根据所述资源需求信息查询每个所述目标视频输出装置的当前资源分配状态信息得到所述待分配硬件资源的数量,包括:获取与所述目标资源输出装置对应的所述目标资源组标识;根据所述目标资源组标识获取所述目标硬件资源标识。In an embodiment of the present application, the current resource allocation status information includes: a plurality of different resource group identifiers, a resource group status associated with each resource group identifier, and two different resource group identifiers associated with each resource group identifier. The hardware resource identifier of each of the hardware resource identifiers and the type of the hardware resource corresponding to each of the hardware resource identifiers; said querying the current resource allocation status information of each target video output device according to the resource demand information to obtain the hardware to be allocated The number of resources includes: acquiring the target resource group identifier corresponding to the target resource output device; acquiring the target hardware resource identifier according to the target resource group identifier.
本申请的一个实施例中,所述目标资源组标识的数量等于所述待分配的硬件资源的数量;所述获取与每个所述目标资源输出装置对应的目标资源组标识,包括:获取 所述资源组状态为空闲状态的所述目标资源组标识;或者获取所述资源组状态为目标屏幕占用状态的所述目标资源组标识、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲。In an embodiment of the present application, the number of the target resource group identifiers is equal to the number of hardware resources to be allocated; the acquiring the target resource group identifier corresponding to each target resource output device includes: acquiring all the target resource group identifiers. The resource group status is the target resource group identifier in the idle state; or the resource group status is the target resource group identifier in the target screen occupancy state, and one of the hardware resource identifiers associated with the target resource group identifier The type of the corresponding hardware resource is different from the target type, and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle.
本申请的一个实施例中,所述根据目标资源组标识获取所述目标硬件资源标识,包括:当所述目标资源组标识关联的资源组状态为空闲状态时,将所述目标资源组标识关联的两个所述硬件资源标识中的一个所述硬件资源标识作为所述目标硬件资源标识;以及当所述目标资源组标识关联的资源组状态为所述目标屏幕占用状态、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲时,将所述另一个硬件资源标识作为所述目标硬件资源标识。In an embodiment of the present application, the acquiring the target hardware resource identifier according to the target resource group identifier includes: when the resource group status associated with the target resource group identifier is idle, associating the target resource group identifier One of the two hardware resource identifiers is used as the target hardware resource identifier; and when the resource group state associated with the target resource group identifier is the target screen occupation state, and the target resource When the type of the hardware resource corresponding to one of the hardware resource identifiers associated with the group identifier is different from the target type, and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle And use the other hardware resource identifier as the target hardware resource identifier.
又一方面,本申请实施例提供的另一种硬件资源分配方法,应用于电连接主控装置的视频输出装置,包括:接收资源分配命令,其中所述资源分配命令包括:目标硬件资源标识和目标类型;以及控制与所述目标硬件资源标识对应的硬件资源通过所述目标类型进行输出。In another aspect, another hardware resource allocation method provided by an embodiment of the present application is applied to a video output device electrically connected to a main control device, and includes: receiving a resource allocation command, wherein the resource allocation command includes: a target hardware resource identifier and Target type; and controlling the hardware resource corresponding to the target hardware resource identifier to output through the target type.
另一方面,本申请实施例提供的一种硬件资源分配装置,应用于电连接至少一个视频输出装置的主控装置,包括:信息获取模块,用于获取窗口创建信息,其中所述窗口创建信息用于表征在目标屏幕上的待建窗口;命令生成模块,用于根据所述窗口创建信息生成资源分配命令,其中所述资源分配命令包括:关联目标视频输出装置的目标硬件资源标识和目标类型,所述目标视频输出装置属于所述至少一个视频输出装置;以及命令发送模块,用于发送所述资源分配命令至对应的目标视频输出装置以供所述目标视频输出装置根据所述资源分配命令分配自身的硬件资源。On the other hand, a hardware resource allocation device provided by an embodiment of the present application is applied to a main control device electrically connected to at least one video output device, and includes: an information acquisition module for acquiring window creation information, wherein the window creation information It is used to characterize the window to be built on the target screen; the command generation module is used to generate a resource allocation command according to the window creation information, wherein the resource allocation command includes: the target hardware resource identification and target type associated with the target video output device , The target video output device belongs to the at least one video output device; and a command sending module configured to send the resource allocation command to the corresponding target video output device for the target video output device to allocate the command according to the resource Allocate its own hardware resources.
本申请的一个实施例中,所述命令生成模块包括:需求信息生成子模块,用于根据所述窗口创建信息生成资源需求信息;目标硬件资源获取子模块,用于根据所述资源需求信息查询对应的每个所述目标视频输出装置的当前资源分配状态信息得到所述目标硬件资源标识。In an embodiment of the present application, the command generation module includes: a demand information generation sub-module for generating resource demand information based on the window creation information; a target hardware resource acquisition sub-module for querying based on the resource demand information The corresponding current resource allocation status information of each target video output device obtains the target hardware resource identifier.
本申请的一个实施例中,所述窗口创建信息包括:所述目标屏幕、所述目标类型以及所述待建窗口在所述目标屏幕上的位置和大小信息;所述资源需求信息包括:对应每个所述目标视频输出装置的待分配硬件资源的数量;所述需求信息生成子模块包括:第一生成单元,用于将所述目标屏幕关联的视频输出装置作为所述目标视频输出装置;第二生成单元,用于根据所述待建窗口在所述目标屏幕上的位置和大小信息获取所述待分配硬件资源的数量。In an embodiment of the present application, the window creation information includes: the target screen, the target type, and the position and size information of the window to be built on the target screen; the resource requirement information includes: corresponding The number of hardware resources to be allocated for each target video output device; the demand information generating sub-module includes: a first generating unit configured to use the video output device associated with the target screen as the target video output device; The second generating unit is configured to obtain the quantity of hardware resources to be allocated according to the position and size information of the window to be built on the target screen.
本申请的一个实施例中,所述当前资源分配状态信息包括:多个不同的资源组标识、关联每个所述资源组标识的资源组状态、每个所述资源组标识关联的两个不同的硬件资源标识以及每个所述硬件资源标识对应的所述硬件资源的类型;所述目标硬件资源获取子模块包括:目标资源组获取单元:用于获取与所述目标资源输出装置对应的目标资源组标识;目标硬件资源获取单元,用于根据所述目标资源组标识获取所述目标硬件资源标识。In an embodiment of the present application, the current resource allocation status information includes: a plurality of different resource group identifiers, a resource group status associated with each resource group identifier, and two different resource group identifiers associated with each resource group identifier. The hardware resource identifier of the hardware resource identifier and the type of the hardware resource corresponding to each of the hardware resource identifiers; the target hardware resource acquisition sub-module includes: a target resource group acquisition unit: used to acquire a target corresponding to the target resource output device Resource group identifier; a target hardware resource acquisition unit, configured to acquire the target hardware resource identifier according to the target resource group identifier.
本申请的一个实施例中,所述目标资源组标识的数量等于所述待分配的硬件资源 的数量;所述目标资源组获取单元包括:第一获取子单元,用于获取所述资源组状态为空闲状态的所述目标资源组标识关联;第二获取子单元,用于获取所述资源组状态为目标屏幕占用状态的所述目标资源组标识、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲。In an embodiment of the present application, the number of target resource group identifiers is equal to the number of hardware resources to be allocated; the target resource group obtaining unit includes: a first obtaining subunit, configured to obtain the resource group status Is the target resource group identifier association in the idle state; the second acquisition subunit is used to acquire the target resource group identifier whose resource group status is the target screen occupancy state, and the one associated with the target resource group identifier The type of the hardware resource corresponding to the hardware resource identifier is different from the target type, and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle.
本申请的一个实施例中,所述目标硬件资源获取单元包括:第三获取子单元:用于当所述目标资源组标识关联的资源组状态为空闲状态时,将所述目标资源组标识关联的两个所述硬件资源标识中的一个所述硬件资源标识作为所述目标硬件资源标识;以及第四获取子单元,用于当所述目标资源组标识关联的资源组状态为所述目标屏幕占用状态、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲时,将所述另一个硬件资源标识作为所述目标硬件资源标识。In an embodiment of the present application, the target hardware resource acquisition unit includes: a third acquisition subunit: for associating the target resource group identifier when the resource group status associated with the target resource group identifier is in an idle state One of the two hardware resource identifiers is used as the target hardware resource identifier; and the fourth acquiring subunit is configured to: when the resource group status associated with the target resource group identifier is the target screen Occupied state, and the type of the hardware resource corresponding to the one of the hardware resource identifiers associated with the target resource group identifier is different from the target type, and all corresponding to another hardware resource identifier associated with the target resource group identifier When the type of the hardware resource is idle, the other hardware resource identifier is used as the target hardware resource identifier.
又一方面,本发明实施例提供的另一种硬件资源分配装置,应用于电连接主控装置的视频输出装置,包括:命令接收模块,用于接收资源分配命令,其中所述资源分配命令包括:目标硬件资源标识和目标类型;以及资源分配模块,用于控制与所述目标硬件资源标识对应的硬件资源通过所述目标类型进行输出。In another aspect, another hardware resource allocation device provided by an embodiment of the present invention is applied to a video output device electrically connected to a main control device, and includes: a command receiving module for receiving a resource allocation command, wherein the resource allocation command includes : Target hardware resource identifier and target type; and a resource allocation module for controlling hardware resources corresponding to the target hardware resource identifier to output through the target type.
另一方面,本申请实施例提供的一种视频处理器,包括:主控装置,包括处理器;至少一个视频输出装置,每个所述视频输出装置包括第一可编程逻辑器件,每个所述第一可编程逻辑器件电连接所述处理器,每个所述第一可编程逻辑器件包括多个不同的硬件资源;所述处理器用于:获取窗口创建信息、根据所述窗口创建信息生成资源分配命令以及发送所述资源分配命令至对应的目标视频输出装置,其中所述窗口创建信息用于表征在目标屏幕上的待建窗口,所述资源分配命令包括关联目标视频输出装置的硬件资源的目标硬件资源标识和目标类型,所述目标视频输出装置属于所述至少一个视频输出装置;所述目标视频输出装置的所述第一可编程逻辑器件用于:接收对应的所述资源分配命令以及控制与所述目标硬件资源标识对应的硬件资源通过所述目标类型进行输出。On the other hand, a video processor provided by an embodiment of the present application includes: a main control device including a processor; at least one video output device, each video output device includes a first programmable logic device, and each video output device includes a first programmable logic device. The first programmable logic device is electrically connected to the processor, and each of the first programmable logic devices includes a plurality of different hardware resources; the processor is configured to: obtain window creation information, and generate information based on the window creation information Resource allocation command and sending the resource allocation command to the corresponding target video output device, wherein the window creation information is used to characterize the window to be built on the target screen, and the resource allocation command includes the hardware resource associated with the target video output device The target hardware resource identification and target type of the target video output device belong to the at least one video output device; the first programmable logic device of the target video output device is configured to: receive the corresponding resource allocation command And controlling the hardware resource corresponding to the target hardware resource identifier to output through the target type.
本申请的一个实施例中,所述视频处理器还包括:视频输入装置,包括第二可编程逻辑器件,所述第二可编程逻辑器件电连接所述处理器以及所述第一可编程逻辑器件;所述第二可编程逻辑器件用于向所述目标视频输出装置的所述第一可编程逻辑器件发送待显示图像;所述目标视频输出装置的所述第一可编程逻辑器件用于驱动控制与所述目标硬件资源标识对应的所述硬件资源以所述目标类型输出所述待显示图像。In an embodiment of the present application, the video processor further includes: a video input device, including a second programmable logic device, and the second programmable logic device is electrically connected to the processor and the first programmable logic device. Device; the second programmable logic device is used to send the image to be displayed to the first programmable logic device of the target video output device; the first programmable logic device of the target video output device is used Drive and control the hardware resource corresponding to the target hardware resource identifier to output the to-be-displayed image in the target type.
本申请的一个实施例中,所述视频处理器还包括:背板,包括数据交换芯片,所述数据交换芯片电连接在所述第一可编程逻辑器件和所述第二可编程逻辑器件之间;所述主控装置、所述至少一个视频输出装置以及所述视频输入装置分别连接在所述背板上;所述数据交换芯片用于接收所述第二可编程逻辑器件发送的待显示图像以及转发所述待显示图像至所述目标视频输出装置的所述第一可编程逻辑器件。In an embodiment of the present application, the video processor further includes: a backplane, including a data exchange chip, and the data exchange chip is electrically connected between the first programmable logic device and the second programmable logic device. The main control device, the at least one video output device, and the video input device are respectively connected to the backplane; the data exchange chip is used to receive the to-be-displayed sent by the second programmable logic device Image and the first programmable logic device that forwards the image to be displayed to the target video output device.
本申请的一个实施例中,所述视频输入装置为多个;其中一个所述视频输入装置的所述第二可编程逻辑器件发送所述待显示图像至所述数据交换芯片。In an embodiment of the present application, there are multiple video input devices; the second programmable logic device of one of the video input devices sends the image to be displayed to the data exchange chip.
再一方面,本申请实施例提供的一种显示系统,包括:任意一种如上所述的视频处理器、第一显示装置以及第二显示装置;所述视频处理器的所述视频输出装置连接所述第一显示装置和所述第二显示装置;所述视频输出装置的所述第一可编程逻辑器件的所述硬件资源的类型为第一资源类型时,所述视频输出装置对应第一显示装置;所述视频输出装置的所述第一可编程逻辑器件的所述硬件资源的类型为第二资源类型时,所述视频输出装置对应第二显示装置。In another aspect, a display system provided by an embodiment of the present application includes: any one of the above-mentioned video processor, a first display device, and a second display device; the video output device of the video processor is connected The first display device and the second display device; when the type of the hardware resource of the first programmable logic device of the video output device is the first resource type, the video output device corresponds to the first Display device; when the type of the hardware resource of the first programmable logic device of the video output device is the second resource type, the video output device corresponds to the second display device.
本申请的一个实施例中,多个所述视频输出装置分别连接一个所述第一显示装置和一个所述第二显示装置。。In an embodiment of the present application, multiple video output devices are respectively connected to one first display device and one second display device. .
本申请的一个实施例中,所述第一显示装置为预监显示器;所述第二显示装置为LED显示屏,所述LED显示屏包括:发送卡,连接所述视频处理器的至少一个所述视频输出装置;接收卡,连接所述发送卡;LED灯箱,连接所述接收卡。In an embodiment of the present application, the first display device is a preview display; the second display device is an LED display screen, and the LED display screen includes: a sending card connected to at least one of the video processors The video output device; a receiving card, connected to the sending card; LED light box, connected to the receiving card.
上述技术方案的一个技术方案具有如下优点或有益效果:能够通过对硬件资源进行分组以及根据资源组状态和硬件资源的状态实现的动态分配硬件资源以用于不同的显示设备,实现了灵活分配硬件资源,解决了由于固定分配硬件资源带来的不同屏幕间的冲突问题以及无法充分利用硬件资源的问题。One of the above-mentioned technical solutions has the following advantages or beneficial effects: the hardware resources can be dynamically allocated for different display devices by grouping hardware resources and dynamically allocated according to the state of the resource group and the state of the hardware resources, realizing flexible hardware allocation. Resources, which solves the problem of conflicts between different screens caused by fixed allocation of hardware resources and the problem of inability to make full use of hardware resources.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. A person of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
图1为本申请第一实施例提供的一种硬件资源分配方法的流程示意图。FIG. 1 is a schematic flowchart of a method for allocating hardware resources provided by the first embodiment of this application.
图2为图1中步骤S2的详细流程示意图。Fig. 2 is a detailed flowchart of step S2 in Fig. 1.
图3为图2中步骤S21的详细流程示意图。Fig. 3 is a detailed flowchart of step S21 in Fig. 2.
图4为本申请实施例中目标屏幕的结构示意图。Fig. 4 is a schematic structural diagram of a target screen in an embodiment of the application.
图5为图2中步骤S22的详细流程示意图。Fig. 5 is a detailed flowchart of step S22 in Fig. 2.
图6为图5中步骤S221的详细流程示意图。FIG. 6 is a detailed flowchart of step S221 in FIG. 5.
图7为图5中步骤S222的详细流程示意图。Fig. 7 is a detailed flowchart of step S222 in Fig. 5.
图8a-8c均为本申请实施例中资源分配状态信息的架构示意图。Figures 8a-8c are schematic diagrams of the structure of resource allocation status information in an embodiment of the present application.
图9为本申请第一实施例提供的另一种硬件资源分配方法的流程示意图FIG. 9 is a schematic flowchart of another hardware resource allocation method provided by the first embodiment of this application
图10为本申请第二实施例提供的一种硬件资源分配装置的模块示意图。FIG. 10 is a schematic diagram of modules of a hardware resource allocation device provided by the second embodiment of this application.
图11为图10中命令生成模块的模块示意图。FIG. 11 is a schematic diagram of the command generation module in FIG. 10.
图12为本申请第二实施例提供的另一种硬件资源分配装置的模块示意图。FIG. 12 is a schematic diagram of modules of another hardware resource allocation device provided by the second embodiment of this application.
图13为本申请第三实施例提供的一种视频处理器的架构示意图。FIG. 13 is a schematic diagram of the architecture of a video processor provided by the third embodiment of this application.
图14为本申请第四实施例提供的一种显示系统的架构示意图。FIG. 14 is a schematic structural diagram of a display system provided by the fourth embodiment of this application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
【第一实施例】[First embodiment]
参见图1,其为本申请第一实施例提供的一种硬件资源分配方法,所述硬件资源分配方法例如应用于电连接至少一个视频输出装置的主控装置,具体包括:Refer to FIG. 1, which is a hardware resource allocation method provided by the first embodiment of this application. The hardware resource allocation method is, for example, applied to a main control device electrically connected to at least one video output device, and specifically includes:
步骤S1,获取窗口创建信息,其中所述窗口创建信息用于表征在目标屏幕上的待建窗口;Step S1, obtaining window creation information, where the window creation information is used to characterize a window to be created on the target screen;
步骤S2,根据所述窗口创建信息生成资源分配命令,其中所述资源分配命令包括:关联目标视频输出装置的目标硬件资源标识和目标类型,所述目标视频输出装置属于所述至少一个视频输出装置;以及Step S2: Generate a resource allocation command based on the window creation information, where the resource allocation command includes: associating a target hardware resource identifier and a target type of a target video output device, the target video output device belonging to the at least one video output device ;as well as
步骤S3,发送所述资源分配命令至所述目标视频输出装置以供所述目标视频输出装置根据所述资源分配命令分配自身的硬件资源。Step S3: Send the resource allocation command to the target video output device for the target video output device to allocate its own hardware resources according to the resource allocation command.
其中,所述步骤S1中,所述窗口创建信息可以包括关联窗口的目标屏幕的标识、所述窗口在所述目标屏幕上的位置及大小信息以及所述窗口需要的硬件资源的类型;具体的,所述窗口例如是待创建窗口;所述关联窗口的目标屏幕的标识例如是所述待创建窗口所在的屏幕的标识,所述标识例如是用于区别不同的屏幕的信息,该信息例如是屏幕的编号;所述窗口在所述目标屏幕上的位置信息例如是所述待创建窗口的起始位置相对目标屏幕的起始位置的偏移量;所述窗口在所述目标屏幕上的大小信息例如是所述待创建窗口的宽和高;所述窗口需要的硬件资源的类型例如是所述待创建窗口需要使用的一个或多个的硬件资源的使用类型,所述类型例如是PVW(Preview,演播室里的预监画面)或PGM(Program,演播室里的在播画面),即所述窗口需要的硬件资源的类型例如为PVW或PGM;Wherein, in the step S1, the window creation information may include the identifier of the target screen of the associated window, the position and size information of the window on the target screen, and the type of hardware resource required by the window; specifically The window is, for example, a window to be created; the identifier of the target screen of the associated window is, for example, the identifier of the screen where the window to be created is located, and the identifier is, for example, information used to distinguish different screens, such as The number of the screen; the position information of the window on the target screen is, for example, the offset of the starting position of the window to be created relative to the starting position of the target screen; the size of the window on the target screen The information is, for example, the width and height of the window to be created; the type of hardware resource required by the window is, for example, the usage type of one or more hardware resources that the window to be created needs to use, and the type is, for example, PVW( Preview, the preview screen in the studio) or PGM (Program, the on-air screen in the studio), that is, the type of hardware resource required by the window is, for example, PVW or PGM;
在一个实施例中,所述目标屏幕由至少一个目标视频输出装置带载,其中所述目标视频输出装置属于所述至少一个视频输出装置。具体的,所述目标屏幕例如通过多个视频输出装置带载,例如所述多个视频输出装置中的部分或全部视频输出装置为所述目标视频输出装置;In one embodiment, the target screen is carried by at least one target video output device, wherein the target video output device belongs to the at least one video output device. Specifically, the target screen is, for example, carried by multiple video output devices, for example, some or all of the video output devices in the multiple video output devices are the target video output devices;
参见图2,在一个实施例中,所述步骤S2例如包括:Referring to Fig. 2, in one embodiment, the step S2 includes, for example:
步骤S21,根据所述窗口创建信息生成资源需求信息;Step S21, generating resource demand information according to the window creation information;
步骤S22,根据所述资源需求信息查询对应的每个所述目标视频输出装置的当前资源分配状态信息得到所述目标硬件资源标识。Step S22: Query corresponding current resource allocation status information of each target video output device according to the resource requirement information to obtain the target hardware resource identifier.
其中,所述资源需求信息表征所述窗口创建信息对应的待创建窗口需要的硬件资源的数量,以及所述需要的硬件资源对应的目标视频输出装置。Wherein, the resource requirement information represents the number of hardware resources required by the window to be created corresponding to the window creation information, and the target video output device corresponding to the required hardware resource.
进一步的,所述当前资源分配状态信息例如包括多个资源组标识、每个所述资源组标识关联的资源组状态、每个所述资源组标识关联的两个不同的所述硬件资源标识、所述硬件资源标识对应的所述硬件资源的类型。所述资源组标识例如为用于区别多个不同的资源组的信息,即能够根据所述资源组标识确定所述资源组标识关联的两个所述硬件资源标识,所述资源组标识例如为编号,所述硬件资源标识例如为用于区别多个不同的硬件资源的信息,所述硬件资源标识例如为硬件资源编号。Further, the current resource allocation status information includes, for example, multiple resource group identifiers, a resource group status associated with each resource group identifier, two different hardware resource identifiers associated with each resource group identifier, The hardware resource identifier corresponds to the type of the hardware resource. The resource group identifier is, for example, information for distinguishing multiple different resource groups, that is, the two hardware resource identifiers associated with the resource group identifier can be determined according to the resource group identifier, and the resource group identifier is, for example, Number, the hardware resource identifier is, for example, information used to distinguish multiple different hardware resources, and the hardware resource identifier is, for example, a hardware resource number.
在一个实施例中,所述当前资源分配状态信息可以是表格形式的信息,其包括多个不同的资源组标识,每个资源组标识关联有资源组状态以及两个不同的硬件资源标识,所述硬件资源标识对应的硬件资源属于所述目标视频输出装置;所述资源组状态 例如用于表示所述资源组状态对应的所述资源组标识关联的资源组被某个屏幕占用或空闲,所述资源组例如是所述资源组标识关联的两个硬件资源标识分别对应的两个硬件资源,例如资源组状态表示为第二屏幕使用,又例如资源组状态表示为空闲。In one embodiment, the current resource allocation status information may be information in the form of a table, which includes a plurality of different resource group identifiers, and each resource group identifier is associated with a resource group status and two different hardware resource identifiers, so The hardware resource corresponding to the hardware resource identifier belongs to the target video output device; the resource group status is, for example, used to indicate that the resource group associated with the resource group identifier corresponding to the resource group status is occupied or idle by a certain screen, so The resource group is, for example, two hardware resources corresponding to the two hardware resource identifiers associated with the resource group identifier, for example, the resource group status is represented as the second screen use, and for example, the resource group status is represented as idle.
参见图3,在一个实施例中,所述窗口创建信息可以包括:所述目标屏幕、所述目标类型以及所述待建窗口在所述目标屏幕上的位置和大小信息;所述资源需求信息包括:对应每个所述目标视频输出装置的待分配硬件资源的数量;其中,所述步骤S21例如包括:Referring to FIG. 3, in one embodiment, the window creation information may include: the target screen, the target type, and position and size information of the window to be built on the target screen; the resource requirement information It includes: the number of hardware resources to be allocated corresponding to each of the target video output devices; wherein, the step S21 includes, for example:
步骤S211,将所述目标屏幕关联的视频输出装置作为所述目标视频输出装置;Step S211: Use the video output device associated with the target screen as the target video output device;
步骤S212,根据所述待建窗口在所述目标屏幕上的位置和大小信息获取所述待分配硬件资源的数量。Step S212: Acquire the quantity of hardware resources to be allocated according to the position and size information of the window to be built on the target screen.
参见图4,在一个具体实施例中,目标屏幕1例如包括十六个显示区域(图中虚线框所示),其中左侧的八个显示区域可以由第一视频输出装置带载,且第一视频输出装置的八个硬件资源分别带载左侧的八个显示区域,右侧的八个显示区域可以由第二视频输出装置带载,且第二视频输出装置的八个硬件资源分别带载右侧的八个显示区域。例如,对于待创建窗口2来说,根据待创建窗口2在目标屏幕1上的位置和大小信息可知,待创建窗口2完全位于第一视频输出装置的带载区域,因此待创建窗口2对应的目标视频输出装置为第一视频输出装置,并且根据待创建窗口2在目标屏幕1上的位置和大小信息还可知待创建窗口2位于第一视频输出装置的六个硬件资源的带载区域,因此对于待创建窗口2,需要第一视频输出装置的待分配硬件资源的数量为6。再例如,对于待创建窗口3来说,根据待创建窗口3在目标屏幕1上的位置和大小信息可知,待创建窗口3的一部分位于第一视频输出装置的带载区域,待创建窗口3的另一部分位于第二视频输出装置的带载区域,因此待创建窗口3对应的目标视频输出装置包括第一视频输出装置和第二视频输出装置,并且根据待创建窗口3在目标屏幕1上的位置和大小信息还可知待创建窗口3的一部分位于第一视频输出装置的两个硬件资源的带载区域,待创建窗口3的另一部分位于第二视频输出装置的两个硬件资源的带载区域,因此对于待创建窗口3,需要第一视频输出装置的待分配硬件资源的数量为2,需要第二视频输出装置的待分配硬件资源的数量为2。Referring to FIG. 4, in a specific embodiment, the target screen 1 includes, for example, sixteen display areas (shown by the dashed box in the figure), of which the eight display areas on the left can be carried by the first video output device, and the first video output device The eight hardware resources of one video output device carry the eight display areas on the left, and the eight display areas on the right can be carried by the second video output device, and the eight hardware resources of the second video output device are carried respectively. Load the eight display areas on the right. For example, for the window 2 to be created, according to the position and size information of the window 2 to be created on the target screen 1, the window 2 to be created is completely located in the loading area of the first video output device, so the window 2 to be created corresponds to The target video output device is the first video output device, and according to the position and size information of the window 2 to be created on the target screen 1, it can be known that the window 2 to be created is located in the loading area of the six hardware resources of the first video output device. For window 2 to be created, the number of hardware resources to be allocated for the first video output device is six. For another example, for the window 3 to be created, according to the position and size information of the window 3 to be created on the target screen 1, a part of the window 3 to be created is located in the loading area of the first video output device. The other part is located in the loading area of the second video output device, so the target video output device corresponding to the window 3 to be created includes the first video output device and the second video output device, and is based on the position of the window 3 to be created on the target screen 1. And the size information can also know that a part of the window 3 to be created is located in the loading area of the two hardware resources of the first video output device, and another part of the window 3 to be created is located in the loading area of the two hardware resources of the second video output device. Therefore, for the window 3 to be created, the number of hardware resources to be allocated for the first video output device is two, and the number of hardware resources to be allocated for the second video output device is two.
参见图5,在一个实施例中,所述当前资源分配状态信息包括:多个不同的资源组标识、关联每个所述资源组标识的资源组状态、每个所述资源组标识关联的两个不同的硬件资源标识以及每个所述硬件资源标识对应的所述硬件资源的类型;其中所述步骤S22例如包括:Referring to FIG. 5, in one embodiment, the current resource allocation status information includes: a plurality of different resource group identifiers, the resource group status associated with each resource group identifier, and the two associated with each resource group identifier. Different hardware resource identifiers and the type of the hardware resource corresponding to each of the hardware resource identifiers; wherein the step S22 includes, for example:
步骤S221,获取与所述目标资源输出装置对应的所述目标资源组标识;Step S221: Obtain the target resource group identifier corresponding to the target resource output device;
步骤S222,根据所述目标资源组标识获取所述目标硬件资源标识。Step S222: Obtain the target hardware resource identifier according to the target resource group identifier.
进一步的,参见图6,所述目标资源组标识的数量等于所述待分配的硬件资源的数量;其中所述步骤S221例如包括:Further, referring to FIG. 6, the number of the target resource group identifiers is equal to the number of hardware resources to be allocated; wherein the step S221 includes, for example:
步骤S2211,获取所述资源组状态为空闲状态的所述目标资源组标识;或者Step S2211: Obtain the target resource group identifier of the resource group in the idle state; or
步骤S2212,获取所述资源组状态为目标屏幕占用状态的所述目标资源组标识、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件 资源的类型为空闲。Step S2212: Obtain the target resource group identifier whose resource group status is the target screen occupancy status, and the type of the hardware resource and the target type corresponding to one of the hardware resource identifiers associated with the target resource group identifier The type of the hardware resource that is different and that corresponds to another hardware resource identifier associated with the target resource group identifier is idle.
进一步的,参见图7,所述步骤S222例如包括:Further, referring to FIG. 7, the step S222 includes, for example:
步骤S2221,当所述目标资源组标识关联的资源组状态为空闲状态时,将所述目标资源组标识关联的两个所述硬件资源标识中的一个所述硬件资源标识作为所述目标硬件资源标识;以及Step S2221: When the status of the resource group associated with the target resource group identifier is idle, use one of the two hardware resource identifiers associated with the target resource group identifier as the target hardware resource Logo; and
步骤S2222,当所述目标资源组标识关联的资源组状态为所述目标屏幕占用状态、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲时,将所述另一个硬件资源标识作为所述目标硬件资源标识。Step S2222: When the resource group status associated with the target resource group identifier is the target screen occupancy state, and the hardware resource identifier associated with the target resource group identifier corresponds to the type of the hardware resource and the target When the type is different and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle, the other hardware resource identifier is used as the target hardware resource identifier.
为详细理解本申请实施例所述步骤22的实施过程,现对所述步骤S22做出如下说明:In order to understand in detail the implementation process of step 22 in the embodiment of the present application, the step S22 is now described as follows:
多个不同的所述资源组标识例如具有顺序性,所述资源组标识例如为编号,例如按照所述资源组标识的顺序性查看所述资源组标识关联的所述资源组状态,例如从顺序在先的第一个资源组标识开始,查看所述第一个资源组标识关联的资源组状态是否为空闲;The plurality of different resource group identifiers is, for example, sequential, and the resource group identifier is, for example, a number. For example, the resource group status associated with the resource group identifier is viewed in the sequence of the resource group identifier, for example, from the order of Starting from the previous first resource group identifier, check whether the status of the resource group associated with the first resource group identifier is idle;
进一步的,所述第一个资源组标识关联的资源组状态为空闲,表示该资源组标识对应的所述资源组没有被任何屏幕占用,将所述第一个资源组标识例如作为目标资源组标识,获取所述目标资源组标识关联的一个硬件资源标识作为目标硬件资源标识,按照目标资源组标识中的两个硬件资源标识的顺序性选取顺序在先的硬件资源标识作为目标硬件资源标识;Further, the status of the resource group associated with the first resource group identifier is idle, indicating that the resource group corresponding to the resource group identifier is not occupied by any screen, and the first resource group identifier is used as a target resource group, for example Identification, acquiring a hardware resource identifier associated with the target resource group identifier as the target hardware resource identifier, and selecting the hardware resource identifier with the first order as the target hardware resource identifier according to the sequence of the two hardware resource identifiers in the target resource group identifier;
进一步的,所述第一个资源组标识关联的资源组状态不为空闲,则表示所述第一个资源组标识关联的所述资源组被某个屏幕占用,继续查看所述第一个资源组标识关联的所述资源组状态是否被所述目标屏幕占用;Further, if the status of the resource group associated with the first resource group identifier is not idle, it means that the resource group associated with the first resource group identifier is occupied by a certain screen, continue to view the first resource Whether the state of the resource group associated with the group identifier is occupied by the target screen;
进一步的,所述第一个资源组标识关联的所述资源组状态为被非目标屏幕占用,按照资源组标识的顺序性查看第二个资源组标识,重复上述过程,此处不再介绍;Further, the state of the resource group associated with the first resource group identifier is occupied by a non-target screen, the second resource group identifier is checked in the order of the resource group identifier, and the above process is repeated, which will not be described here;
进一步的,所述第一个资源组标识关联的所述资源组状态为被所述目标屏幕占用,查看所述第一个资源组标识关联的两个硬件资源标识分别对应的两个硬件资源的类型是否满足以下要求:要求一,所述两个硬件资源标识中的一个硬件资源标识对应的所述硬件资源的类型与所述目标类型不同,要求二,所述两个硬件资源标识中的另一个硬件资源标识对应的硬件资源的状态为空闲;Further, the status of the resource group associated with the first resource group identifier is occupied by the target screen, check the status of the two hardware resources respectively corresponding to the two hardware resource identifiers associated with the first resource group identifier Whether the type meets the following requirements: requirement one, the type of the hardware resource corresponding to one of the two hardware resource identifiers is different from the target type, requirement two, the other of the two hardware resource identifiers The status of the hardware resource corresponding to a hardware resource identifier is idle;
进一步的,不满足上述任意一个要求时,按照所述资源组标识的顺序性查看所述第二个资源组标识,重复上述过程,此处不再介绍;同时满足上述两个要求时,所述第一个资源组标识为目标资源组标识,获取所述第一个资源组标识关联的处于空闲的硬件资源标识作为所述目标硬件资源标识;Further, when any one of the above requirements is not met, the second resource group identifier is checked according to the sequence of the resource group identifier, and the above process is repeated, which will not be described here; when the above two requirements are met at the same time, the The first resource group identifier is a target resource group identifier, and an idle hardware resource identifier associated with the first resource group identifier is acquired as the target hardware resource identifier;
进一步的,获取到所述目标硬件资源标识后,判断所述目标硬件资源标识的数量是否达到要求,即判断所述目标资源组标识的数量是否等于所述资源需求信息中所述目标视频输出装置的待分配硬件资源的数量;在所述目标硬件资源标识的数量达到要求时,将获取的所述目标硬件资源标识作为所述资源分配命令的一部分,在所述目标硬件资源标识的数量没有达到要求时,重复上述过程,继续获取另一个目标硬件资源 标识,此处不再介绍。Further, after obtaining the target hardware resource identifier, it is determined whether the number of target hardware resource identifiers meets the requirement, that is, it is determined whether the number of target resource group identifiers is equal to the target video output device in the resource requirement information. The number of hardware resources to be allocated; when the number of target hardware resource identifiers meets the requirements, the acquired target hardware resource identifiers are used as part of the resource allocation command, and when the number of target hardware resource identifiers does not reach When required, repeat the above process and continue to obtain another target hardware resource identifier, which will not be described here.
本实施例提供的所述硬件资源分配方法的一个实施过程例如是:获取一个窗口创建信息,所述窗口创建信息例如包括关联窗口的目标屏幕标识例如为目标屏幕的编号01、所述窗口在所述目标屏幕上的位置信息例如为所述窗口的初始位置相对于目标屏幕的初始位置的偏移量例如为(100,100)、所述窗口在所述目标屏幕上的大小信息例如为所述窗口的宽为1000像素以及所述窗口的高为1000像素和所述窗口需要的硬件资源的类型例如为PVW。An implementation process of the hardware resource allocation method provided in this embodiment is, for example, acquiring a piece of window creation information, the window creation information includes, for example, the target screen identifier of the associated window, for example, the target screen number 01, and the window is located at all locations. The position information on the target screen is, for example, the offset of the initial position of the window relative to the initial position of the target screen, for example (100, 100), and the size information of the window on the target screen is, for example, the size of the window. The width is 1000 pixels, the height of the window is 1000 pixels, and the type of hardware resource required by the window is, for example, PVW.
根据所述窗口创建信息获得的资源需求信息例如为所述窗口在所述目标屏幕上的区域由目标视频输出装置带载,所述目标视频输出装置的待分配硬件资源的数量为3以及所述待硬件资源的类型为PVW,该过程详见上述实施例中的步骤S2,此处不再介绍。The resource requirement information obtained according to the window creation information is, for example, that the area of the window on the target screen is carried by the target video output device, the number of hardware resources to be allocated of the target video output device is 3, and the The type of hardware resource to be waited for is PVW. For details of this process, refer to step S2 in the foregoing embodiment, which will not be described here.
参见图8a,其为所述目标视频输出装置的当前资源分配状态信息,图中左上角的资源组表示为:该资源组标识为1,该资源组的状态为空闲状态,该资源组标识关联两个硬件资源标识分别为1和2,该两个硬件资源标识分别对应的硬件资源的类型为空闲,其余的资源组的表示方式与之相同,此处不再介绍。根据上述步骤S22所述的过程获取到目标资源组标识包括1、2和3,并且进一步获取到目标硬件资源标识包括1、3和4以及目标类型为PVW,将所述资源分配命令发送至目标视频输出装置。See Figure 8a, which is the current resource allocation status information of the target video output device. The resource group in the upper left corner of the figure is represented as: the resource group identifier is 1, the status of the resource group is idle, and the resource group identifier is associated The two hardware resource identifiers are 1 and 2, respectively, the type of the hardware resource corresponding to the two hardware resource identifiers is idle, and the other resource groups are represented in the same manner, and will not be described here. According to the process described in step S22, the target resource group identifiers including 1, 2, and 3 are acquired, and the target hardware resource identifiers include 1, 3, and 4, and the target type is PVW, and the resource allocation command is sent to the target. Video output device.
例如继续获取第二个窗口创建信息,窗口创建信息包括目标屏幕标识为02,并且根据窗口创建信息得到的资源需求信息包括目标视频输出装置为同一个视频输出装置,所述待分配硬件资源的数量为2,所述目标类型为PGM。For example, continue to obtain the second window creation information, the window creation information includes the target screen identifier as 02, and the resource requirement information obtained according to the window creation information includes that the target video output device is the same video output device, and the number of hardware resources to be allocated Is 2, the target type is PGM.
参见图8b,其为所述目标视频输出装置的当前资源分配状态信息,根据上述步骤S22的过程获取到目标资源组标识包括4和5,并且进一步获取到目标硬件资源标识包括7和9以及目标类型为PGM,将所述资源分配命令发送至目标视频输出装置。Refer to Figure 8b, which is the current resource allocation status information of the target video output device. According to the process of step S22, the target resource group identifiers including 4 and 5 are obtained, and the target hardware resource identifiers are further obtained including 7 and 9 and the target. The type is PGM, and the resource allocation command is sent to the target video output device.
例如继续获取第三个窗口创建信息,窗口创建信息包括目标屏幕标识为01,并且根据窗口创建信息得到的资源需求信息包括目标视频输出装置为同一个视频输出装置,所述待分配硬件资源的数量为4,所述目标类型为PGM。For example, continue to obtain the third window creation information. The window creation information includes the target screen identifier as 01, and the resource requirement information obtained according to the window creation information includes that the target video output device is the same video output device, and the number of hardware resources to be allocated Is 4, and the target type is PGM.
参见图8c,其为所述目标视频输出装置的当前资源分配状态信息,根据上述步骤S22的实施过程获取到目标资源组标识包括1、2、3和6,并且进一步获取到目标硬件资源标识包括2、5、6和11以及目标类型为PGM,将所述资源分配命令发送至目标视频输出装置。Refer to Figure 8c, which is the current resource allocation status information of the target video output device. According to the implementation process of step S22, the target resource group identifiers obtained include 1, 2, 3, and 6, and the target hardware resource identifiers obtained further include 2, 5, 6, and 11 and the target type is PGM, and the resource allocation command is sent to the target video output device.
在上述实施过程之后,如果创建的窗口不再使用,可将为该窗口所在的目标屏幕分配的资源组标识对应的资源组状态设置为空闲,以及将所述资源组标识关联的两个硬件资源的硬件资源状态设置为空闲,此处不再介绍。After the above implementation process, if the created window is no longer in use, the resource group status corresponding to the resource group identifier assigned to the target screen where the window is located can be set to idle, and the two hardware resources associated with the resource group identifier can be set The hardware resource status of is set to idle, which will not be introduced here.
参见图9,本申请实施例还提供了另一种硬件资源分配方法,应用于电连接主控装置的视频输出装置,包括:Referring to FIG. 9, the embodiment of the present application also provides another hardware resource allocation method, which is applied to a video output device electrically connected to a main control device, including:
步骤S4,接收资源分配命令,其中所述资源分配命令包括:目标硬件资源标识和目标类型;以及Step S4, receiving a resource allocation command, where the resource allocation command includes: target hardware resource identification and target type; and
步骤S5,控制与所述目标硬件资源标识对应的硬件资源通过所述目标类型进行输出。Step S5, controlling the hardware resource corresponding to the target hardware resource identifier to output through the target type.
其中所述步骤S4中接收上述步骤S3发送的硬件资源分配命令。In the step S4, the hardware resource allocation command sent in the step S3 is received.
综上所述,本申请的实施例通过对硬件资源标识进行分组管理,按照资源组分配屏幕以及分配硬件资源,能够实现动态分配硬件资源,并根据实际需求灵活的分配硬件资源,用户不用针对每个屏幕提前预先分配好硬件资源,解决了屏幕之间的硬件资源冲突问题。In summary, the embodiment of the present application manages hardware resource identifiers in groups, allocates screens according to resource groups, and allocates hardware resources, so that hardware resources can be dynamically allocated, and hardware resources can be allocated flexibly according to actual needs. The hardware resources are allocated to each screen in advance, which solves the problem of hardware resource conflicts between screens.
【第二实施例】[Second embodiment]
参见图10,其为本申请第二实施例提供的一种硬件资源分配装置,所述硬件资源分配装置100例如包括:信息获取模块10、命令生成模块20和命令发送模块30。Refer to FIG. 10, which is a hardware resource allocation device provided by the second embodiment of this application. The hardware resource allocation device 100 includes, for example, an information acquisition module 10, a command generation module 20, and a command transmission module 30.
信息获取模块10,用于获取窗口创建信息,其中所述窗口创建信息用于表征在目标屏幕上的待建窗口,参见上述第一实施例的详细说明,此处不再介绍。The information acquisition module 10 is configured to acquire window creation information, where the window creation information is used to characterize a window to be created on the target screen. Refer to the detailed description of the above-mentioned first embodiment, which will not be described here.
命令生成模块20,用于根据所述窗口创建信息生成资源分配命令,其中所述资源分配命令包括:关联目标视频输出装置的目标硬件资源标识和目标类型,所述目标视频输出装置属于所述至少一个视频输出装置。The command generation module 20 is configured to generate a resource allocation command according to the window creation information, where the resource allocation command includes: a target hardware resource identifier and a target type associated with a target video output device, and the target video output device belongs to the at least A video output device.
命令发送模块30,用于发送所述资源分配命令至对应的目标视频输出装置以供所述目标视频输出装置根据所述资源分配命令分配自身的硬件资源。The command sending module 30 is configured to send the resource allocation command to a corresponding target video output device for the target video output device to allocate its own hardware resources according to the resource allocation command.
参见图11,在一个实施例中,命令生成模块20例如包括:Referring to FIG. 11, in one embodiment, the command generation module 20 includes, for example:
需求信息生成子模块21,用于根据所述窗口创建信息生成资源需求信息;The demand information generation sub-module 21 is configured to generate resource demand information according to the window creation information;
目标硬件资源获取子模块22,用于根据所述资源需求信息查询对应的每个所述目标视频输出装置的当前资源分配状态信息得到所述目标硬件资源标识。The target hardware resource acquisition submodule 22 is configured to query corresponding current resource allocation status information of each target video output device according to the resource requirement information to obtain the target hardware resource identifier.
在一个实施例中,所述窗口创建信息包括:所述目标屏幕、所述目标类型以及所述待建窗口在所述目标屏幕上的位置和大小信息;所述资源需求信息包括:对应每个所述目标视频输出装置的待分配硬件资源的数量。In an embodiment, the window creation information includes: the target screen, the target type, and the position and size information of the window to be built on the target screen; the resource requirement information includes: corresponding to each The number of hardware resources to be allocated of the target video output device.
进一步的,需求信息生成子模块21例如包括:Further, the demand information generating sub-module 21 includes, for example:
第一生成单元211,用于将所述目标屏幕关联的视频输出装置作为所述目标视频输出装置;The first generating unit 211 is configured to use the video output device associated with the target screen as the target video output device;
第二生成单元212,用于根据所述待建窗口在所述目标屏幕上的位置和大小信息获取所述待分配硬件资源的数量。The second generating unit 212 is configured to obtain the quantity of hardware resources to be allocated according to the position and size information of the window to be built on the target screen.
在一个实施例中,所述当前资源分配状态信息包括:多个不同的资源组标识、关联每个所述资源组标识的资源组状态、每个所述资源组标识关联的两个不同的硬件资源标识以及每个所述硬件资源标识对应的所述硬件资源的类型。In an embodiment, the current resource allocation status information includes: a plurality of different resource group identifiers, a resource group status associated with each resource group identifier, and two different hardware associated with each resource group identifier A resource identifier and the type of the hardware resource corresponding to each hardware resource identifier.
进一步的,目标硬件资源获取子模块22例如包括:Further, the target hardware resource acquisition sub-module 22 includes, for example:
目标资源组获取单元221:用于获取与所述目标资源输出装置对应的目标资源组标识;Target resource group obtaining unit 221: configured to obtain a target resource group identifier corresponding to the target resource output device;
目标硬件资源获取单元222,用于根据所述目标资源组标识获取所述目标硬件资源标识。The target hardware resource obtaining unit 222 is configured to obtain the target hardware resource identifier according to the target resource group identifier.
在一个实施例中,所述目标资源组标识的数量等于所述待分配的硬件资源的数量。In one embodiment, the number of target resource group identifiers is equal to the number of hardware resources to be allocated.
进一步的,目标资源组获取单元221例如包括:Further, the target resource group obtaining unit 221 includes, for example:
第一获取子单元2211,用于获取所述资源组状态为空闲状态的所述目标资源组标识关联;The first obtaining subunit 2211 is configured to obtain the target resource group identifier association of the resource group in the idle state;
第二获取子单元2212,用于获取所述资源组状态为目标屏幕占用状态的所述目标资源组标识、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲。The second acquiring subunit 2212 is configured to acquire the target resource group identifier whose resource group status is the target screen occupancy status, and the hardware resource identifier corresponding to the hardware resource identifier associated with the target resource group identifier The type of the hardware resource is different from the target type and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle.
进一步的,目标硬件资源获取单元222例如包括:Further, the target hardware resource obtaining unit 222 includes, for example:
第三获取子单元2221:用于当所述目标资源组标识关联的资源组状态为空闲状态时,将所述目标资源组标识关联的两个所述硬件资源标识中的一个所述硬件资源标识作为所述目标硬件资源标识;以及The third acquiring subunit 2221: configured to associate one of the two hardware resource identifiers associated with the target resource group identifier when the resource group status associated with the target resource group identifier is idle. The hardware resource identifier As the target hardware resource identifier; and
第四获取子单元2222,用于当所述目标资源组标识关联的资源组状态为所述目标屏幕占用状态、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲时,将所述另一个硬件资源标识作为所述目标硬件资源标识。The fourth acquiring subunit 2222 is configured to: when the resource group status associated with the target resource group identifier is the target screen occupancy state, and the hardware resource corresponding to the hardware resource identifier associated with the target resource group identifier When the type of is different from the target type, and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle, use the other hardware resource identifier as the target hardware resource identifier .
本申请的实施例中,硬件资源分配装置100中的信息获取模块10、命令生成模块20以及命令发送模块30配合运行以实现上述第一实施例中如图1所述的硬件资源分配方法,其具体实施过程和技术效果参见上述第一实施例的描述,此处不再赘述。In the embodiment of the present application, the information acquiring module 10, the command generating module 20, and the command sending module 30 in the hardware resource allocation device 100 cooperate to implement the hardware resource allocation method as shown in FIG. 1 in the above-mentioned first embodiment. For the specific implementation process and technical effects, please refer to the description of the above-mentioned first embodiment, which will not be repeated here.
参见图12,其为本申请第二实施例提供的另一种硬件资源分配装置,所述硬件资源分配装置200例如包括:Refer to FIG. 12, which is another hardware resource allocation device provided by the second embodiment of this application. The hardware resource allocation device 200 includes, for example:
命令接收模块40,用于接收资源分配命令,其中所述资源分配命令包括:目标硬件资源标识和目标类型;以及The command receiving module 40 is configured to receive a resource allocation command, where the resource allocation command includes: target hardware resource identification and target type; and
资源分配模块50,用于控制与所述目标硬件资源标识对应的硬件资源通过所述目标类型进行输出。The resource allocation module 50 is configured to control the hardware resource corresponding to the target hardware resource identifier to output through the target type.
本申请的实施例中,硬件资源分配装置200中的命令接收模块40以及资源分配模块50配合运行以实现上述第一实施例中如图9所述的硬件资源分配方法,其具体实施过程和技术效果参见上述第一实施例的描述,此处不再赘述。In the embodiment of the present application, the command receiving module 40 and the resource allocation module 50 in the hardware resource allocation device 200 cooperate to implement the hardware resource allocation method as shown in FIG. 9 in the first embodiment, and its specific implementation process and technology For the effect, refer to the description of the above-mentioned first embodiment, which will not be repeated here.
【第三实施例】[Third embodiment]
参见图13,其为本申请第三实施例提供的一种视频处理器的结构示意图。视频处理器300例如包括:主控装置320和至少一个视频输出处理装置330。Refer to FIG. 13, which is a schematic structural diagram of a video processor provided by the third embodiment of this application. The video processor 300 includes, for example, a main control device 320 and at least one video output processing device 330.
主控装置320,包括处理器321,处理器321例如是ARM(Advanced RISC Machine)处理器芯片。The main control device 320 includes a processor 321, and the processor 321 is, for example, an ARM (Advanced RISC Machine) processor chip.
至少一个视频输出装置330连接主控装置320,具体地,每个视频输出装置330例如包括第一可编程逻辑器件331,每个第一可编程逻辑器件331电连接处理器321,每个第一可编程逻辑器件331例如包括多个不同的硬件资源,例如硬件资源具有硬件资源标识,且不同的硬件资源,其硬件资源标识各不相同,一个第一可编程逻辑器件331的带载能力分配给其所具有的多个硬件资源;例如,一个第一可编程逻辑器件331可带载的S个像素点,其中S为正整数,第一可编程逻辑器件331例如具有16个硬件资源,则每个硬件资源的带载能力例如分别为S/16;再例如,一个第一可编程逻辑器件331例如能够带载的屏幕尺寸为M×N,其中,M和N均为正整数且M例如为屏幕的宽度,例如为M个像素点的宽度,N例如为屏幕的高度,例如为N个像素点的高度, 第一可编程逻辑器件331例如具有16个硬件资源,则将M×N的屏幕尺寸平均分为16个面积大小相同的区域(M/4)×(N/4),每个硬件资源例如带载对应的一个区域。At least one video output device 330 is connected to the main control device 320. Specifically, each video output device 330 includes, for example, a first programmable logic device 331, each first programmable logic device 331 is electrically connected to the processor 321, and each first The programmable logic device 331 includes, for example, multiple different hardware resources. For example, a hardware resource has a hardware resource identifier, and different hardware resources have different hardware resource identifiers. The load capacity of a first programmable logic device 331 is allocated to It has multiple hardware resources; for example, a first programmable logic device 331 can carry S pixels, where S is a positive integer, and the first programmable logic device 331 has, for example, 16 hardware resources, each The loading capacity of each hardware resource is, for example, S/16 respectively; for another example, the screen size that a first programmable logic device 331 can load is M×N, where M and N are both positive integers, and M is, for example, The width of the screen, for example, the width of M pixels, N is the height of the screen, for example, the height of N pixels, the first programmable logic device 331 has 16 hardware resources, for example, the M×N screen The size is equally divided into 16 areas (M/4)×(N/4) with the same area and size, and each hardware resource, for example, carries a corresponding area.
处理器321用于执行如第一实施例中如图1所述的硬件资源分配方法,参见上述第一实施例的详细说明,此处不再介绍。The processor 321 is configured to execute the hardware resource allocation method as described in FIG. 1 in the first embodiment. Refer to the detailed description of the above-mentioned first embodiment, which will not be described here.
所述目标视频输出装置的第一可编程逻辑器件331例如用于执行如第一实施例中如图9所述的硬件资源分配方法,参见上述第一实施例的详细说明,此处不再介绍。The first programmable logic device 331 of the target video output device is, for example, used to execute the hardware resource allocation method as shown in FIG. 9 in the first embodiment. Please refer to the detailed description of the first embodiment above, which will not be introduced here .
在一个实施例中,视频处理器300例如还包括:背板310和至少一个视频输入装置340。In an embodiment, the video processor 300 further includes, for example, a backplane 310 and at least one video input device 340.
背板310例如包括数据交换芯片311,处理器321以及每个第一可编程逻辑器件331例如分别电连接数据交换芯片311。The backplane 310 includes, for example, a data exchange chip 311, a processor 321, and each first programmable logic device 331, for example, are electrically connected to the data exchange chip 311, respectively.
视频输入装置340例如包括第二可编程逻辑器件341,第二可编程逻辑器件341例如分别电连接数据交换芯片311。The video input device 340 includes, for example, a second programmable logic device 341, and the second programmable logic device 341 is, for example, electrically connected to the data exchange chip 311, respectively.
至少一个视频输出装置330、至少一个视频输入装置340以及主控装置320分别连接在背板31上。At least one video output device 330, at least one video input device 340, and a main control device 320 are respectively connected to the backplane 31.
在一个具体实施例中,背板310例如还包括多个输入装置接口以分别连接视频输入装置340,背板310例如还包括多个输出装置接口以分别连接视频输出装置330,背板310例如还包括主控装置接口以连接主控装置320;每个所述输入装置接口、每个所述输出装置接口以及所述主控装置接口分别电连接数据交换芯片311。In a specific embodiment, the backplane 310, for example, further includes a plurality of input device interfaces to connect to the video input device 340, for example, the backplane 310 further includes a plurality of output device interfaces to connect to the video output device 330, for example, the backplane 310, for example, A main control device interface is included to connect to the main control device 320; each input device interface, each output device interface, and the main control device interface are electrically connected to the data exchange chip 311, respectively.
视频输入装置340的第二可编程逻辑器件341例如用于发送待显示图像至背板310。The second programmable logic device 341 of the video input device 340 is used, for example, to send the image to be displayed to the backplane 310.
背板310的数据交换芯片311例如用于转发所述待显示图像所述目标视频输出装置。The data exchange chip 311 of the backplane 310 is, for example, used to forward the image to be displayed to the target video output device.
所述目标视频输出装置的第一可编程逻辑器件331用于驱动控制所述与所述目标硬件资源标识对应的所述硬件资源以所述目标类型例如为PVW输出所述待显示图像。The first programmable logic device 331 of the target video output device is configured to drive and control the hardware resource corresponding to the target hardware resource identifier to output the image to be displayed with the target type, for example, PVW.
在一个实施例中,指定的视频输入装置340的第二可编程逻辑器件341发送所述待显示图像至背板310。例如通过主控装置320指定视频输入装置340。In one embodiment, the second programmable logic device 341 of the designated video input device 340 sends the image to be displayed to the backplane 310. For example, the video input device 340 is designated by the main control device 320.
【第四实施例】[Fourth embodiment]
参见图14,其为本申请第四实施例提供的一种显示系统,所述显示系统400例如包括:如第三实施例所述的视频处理器300、第一显示装置410和第二显示装置420;第一显示装置410和第二显示装置420可以为前述实施例中所述的目标屏幕。Refer to FIG. 14, which is a display system provided by the fourth embodiment of this application. The display system 400 includes, for example, the video processor 300, the first display device 410, and the second display device as described in the third embodiment. 420; The first display device 410 and the second display device 420 may be the target screens described in the foregoing embodiment.
具体的,视频处理器300的一个视频输出装置330连接一个第一显示装置410和一个第二显示装置420。Specifically, a video output device 330 of the video processor 300 is connected to a first display device 410 and a second display device 420.
在一个实施例中,视频处理器300的多个视频输出装置330例如两个视频输出装置330分别连接一个第一显示装置410和一个第二显示装置420(图中未示出)。In one embodiment, the multiple video output devices 330 of the video processor 300, such as two video output devices 330, are respectively connected to a first display device 410 and a second display device 420 (not shown in the figure).
具体地,第一显示装置410例如为用于预监显示器,所述预监显示器例如为显示终端,所述显示终端例如为显示器或带有显示器的计算机终端,所述带有显示器的计算机终端例如为带有显示器的笔记本电脑或连接显示器的计算机装置,第一显示装置410例如通过缆线连接所述视频输出装置330。Specifically, the first display device 410 is, for example, a preview display, the preview display is, for example, a display terminal, the display terminal is, for example, a monitor or a computer terminal with a display, and the computer terminal with a display is, for example, It is a notebook computer with a display or a computer device connected to the display, and the first display device 410 is connected to the video output device 330 via a cable, for example.
第二显示装置420例如为LED显示屏,LED显示屏例如包括发送卡421、接收卡422以及LED灯箱423;发送卡421例如通过网线电连接接收卡422,接收卡422例 如电连接LED灯箱423;发送卡421例如通过缆线连接所述视频输出装置330。The second display device 420 is, for example, an LED display screen, which includes, for example, a sending card 421, a receiving card 422, and an LED light box 423; the sending card 421 is, for example, electrically connected to the receiving card 422 through a network cable, and the receiving card 422 is, for example, electrically connected to the LED light box 423; The sending card 421 is connected to the video output device 330 via a cable, for example.
在一个实施例中,视频输出装置330上设置有对应第一显示装置410的第一视频接口和对应第二显示装置420的第二视频接口,所述第一视频接口和所述第二视频接口例如分别是各种数字视频接口比如HDMI(High Definition Multimedia Interface,高清多媒体接口)、DVI等,又或者是各种模拟视频接口比如VGA等。In one embodiment, the video output device 330 is provided with a first video interface corresponding to the first display device 410 and a second video interface corresponding to the second display device 420, the first video interface and the second video interface For example, they are various digital video interfaces such as HDMI (High Definition Multimedia Interface, high-definition multimedia interface), DVI, etc., or various analog video interfaces such as VGA.
【第五实施例】[Fifth Embodiment]
本申请的第五实施例提供了一种硬件资源分配系统,所述硬件资源分配系统用于所述主控装置上,所述主控装置安装在如第三实施例所述视频处理器上,所述主控装置运行所述硬件资源分配系统时以实现如第一实施例所述的硬件资源分配方法中的过程,并且对所述视频处理器的所述视频输出装置进行硬件资源分配。The fifth embodiment of the present application provides a hardware resource allocation system, the hardware resource allocation system is used on the main control device, and the main control device is installed on the video processor as described in the third embodiment, The main control device executes the hardware resource allocation system to implement the process in the hardware resource allocation method as described in the first embodiment, and allocates hardware resources to the video output device of the video processor.
【第六实施例】[Sixth Embodiment]
本申请的第五实施例提供了一种存储介质,所述存储介质存储有计算机可执行指令,执行所述计算机可执行指令以实现如第一实施例所述硬件资源分配方法,此处不再赘述。The fifth embodiment of the present application provides a storage medium that stores computer-executable instructions, and executes the computer-executable instructions to implement the hardware resource allocation method described in the first embodiment. Go into details.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多路单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute some steps of the methods in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes. Medium.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (21)

  1. 一种硬件资源分配方法,其特征在于,应用于电连接至少一个视频输出装置的主控装置;包括:A hardware resource allocation method, characterized by being applied to a main control device electrically connected to at least one video output device; comprising:
    获取窗口创建信息,其中所述窗口创建信息用于表征在目标屏幕上的待建窗口;Acquiring window creation information, where the window creation information is used to characterize a window to be created on the target screen;
    根据所述窗口创建信息生成资源分配命令,其中所述资源分配命令包括:关联目标视频输出装置的目标硬件资源标识和目标类型,所述目标视频输出装置属于所述至少一个视频输出装置;以及Generate a resource allocation command according to the window creation information, where the resource allocation command includes: associating a target hardware resource identifier and a target type of a target video output device, the target video output device belonging to the at least one video output device; and
    发送所述资源分配命令至所述目标视频输出装置以供所述目标视频输出装置根据所述资源分配命令分配自身的硬件资源。Sending the resource allocation command to the target video output device for the target video output device to allocate its own hardware resources according to the resource allocation command.
  2. 根据权利要求1所述的硬件资源分配方法,其特征在于,The hardware resource allocation method according to claim 1, wherein:
    所述根据所述窗口创建信息生成资源分配命令,包括:The generating a resource allocation command according to the window creation information includes:
    根据所述窗口创建信息生成资源需求信息;Generating resource demand information according to the window creation information;
    根据所述资源需求信息查询对应的每个所述目标视频输出装置的当前资源分配状态信息得到所述目标硬件资源标识。According to the resource requirement information, query corresponding current resource allocation status information of each target video output device to obtain the target hardware resource identifier.
  3. 根据权利要求2所述的硬件资源分配方法,其特征在于,所述窗口创建信息包括:所述目标屏幕的标识、所述目标类型以及所述待建窗口在所述目标屏幕上的位置和大小信息;所述资源需求信息包括:对应每个所述目标视频输出装置的待分配硬件资源的数量;The hardware resource allocation method according to claim 2, wherein the window creation information comprises: the identifier of the target screen, the target type, and the position and size of the window to be built on the target screen Information; the resource requirement information includes: the number of hardware resources to be allocated corresponding to each of the target video output devices;
    所述根据所述窗口创建信息生成资源需求信息,包括:The generating resource requirement information according to the window creation information includes:
    将所述目标屏幕关联的视频输出装置作为所述目标视频输出装置;Use a video output device associated with the target screen as the target video output device;
    根据所述待建窗口在所述目标屏幕上的位置和大小信息获取所述待分配硬件资源的数量。Acquire the quantity of the hardware resource to be allocated according to the position and size information of the window to be built on the target screen.
  4. 根据权利要求3所述的硬件资源分配方法,其特征在于,所述当前资源分配状态信息包括:多个不同的资源组标识、关联每个所述资源组标识的资源组状态、每个所述资源组标识关联的两个不同的硬件资源标识以及每个所述硬件资源标识对应的所述硬件资源的类型;The hardware resource allocation method according to claim 3, wherein the current resource allocation status information includes: a plurality of different resource group identifiers, a resource group status associated with each resource group identifier, and each resource group identifier Two different hardware resource identifiers associated with the resource group identifier and the type of the hardware resource corresponding to each of the hardware resource identifiers;
    所述根据所述资源需求信息查询每个所述目标视频输出装置的当前资源分配状态信息得到所述待分配硬件资源的数量,包括:The querying the current resource allocation status information of each target video output device according to the resource requirement information to obtain the number of hardware resources to be allocated includes:
    获取与所述目标资源输出装置对应的所述目标资源组标识;Acquiring the target resource group identifier corresponding to the target resource output device;
    根据所述目标资源组标识获取所述目标硬件资源标识。Acquire the target hardware resource identifier according to the target resource group identifier.
  5. 根据权利要求4所述的硬件资源分配方法,其特征在于,所述目标资源组标识的数量等于所述待分配的硬件资源的数量;The hardware resource allocation method according to claim 4, wherein the number of the target resource group identifiers is equal to the number of hardware resources to be allocated;
    所述获取与每个所述目标资源输出装置对应的目标资源组标识,包括:The obtaining the target resource group identifier corresponding to each target resource output device includes:
    获取所述资源组状态为空闲状态的所述目标资源组标识;或者Acquiring the target resource group identifier whose resource group status is idle; or
    获取所述资源组状态为目标屏幕占用状态的所述目标资源组标识、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲。Acquire the target resource group identifier whose resource group status is the target screen occupancy status, and the type of the hardware resource corresponding to one of the hardware resource identifiers associated with the target resource group identifier is different from the target type, and The type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle.
  6. 根据权利要求5所述的硬件资源分配方法,其特征在于,The hardware resource allocation method according to claim 5, wherein:
    所述根据目标资源组标识获取所述目标硬件资源标识,包括:The acquiring the target hardware resource identifier according to the target resource group identifier includes:
    当所述目标资源组标识关联的资源组状态为空闲状态时,将所述目标资源组标识关联的两个所述硬件资源标识中的一个所述硬件资源标识作为所述目标硬件资源标识;以及When the resource group status associated with the target resource group identifier is idle, use one of the two hardware resource identifiers associated with the target resource group identifier as the target hardware resource identifier; and
    当所述目标资源组标识关联的资源组状态为所述目标屏幕占用状态、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲时,将所述另一个硬件资源标识作为所述目标硬件资源标识。When the resource group status associated with the target resource group identifier is the target screen occupancy state, and the type of the hardware resource corresponding to one of the hardware resource identifiers associated with the target resource group identifier is different from the target type, And when the type of the hardware resource corresponding to the other hardware resource identifier associated with the target resource group identifier is idle, the other hardware resource identifier is used as the target hardware resource identifier.
  7. 一种硬件资源分配方法,其特征在于,应用于电连接主控装置的视频输出装置,包括:A method for allocating hardware resources, which is characterized in that it is applied to a video output device electrically connected to a main control device and includes:
    接收资源分配命令,其中所述资源分配命令包括:目标硬件资源标识和目标类型;以及Receiving a resource allocation command, where the resource allocation command includes: a target hardware resource identifier and a target type; and
    控制与所述目标硬件资源标识对应的硬件资源通过所述目标类型进行输出。Controlling the hardware resource corresponding to the target hardware resource identifier to output through the target type.
  8. 一种硬件资源分配装置,其特征在于,应用于电连接至少一个视频输出装置的主控装置,包括:A hardware resource allocation device, characterized in that it is applied to a main control device electrically connected to at least one video output device, and includes:
    信息获取模块,用于获取窗口创建信息,其中所述窗口创建信息用于表征在目标屏幕上的待建窗口;An information acquisition module for acquiring window creation information, where the window creation information is used to characterize a window to be built on the target screen;
    命令生成模块,用于根据所述窗口创建信息生成资源分配命令,其中所述资源分配命令包括:关联目标视频输出装置的目标硬件资源标识和目标类型,所述目标视频输出装置属于所述至少一个视频输出装置;以及The command generation module is configured to generate a resource allocation command according to the window creation information, wherein the resource allocation command includes: a target hardware resource identifier and a target type associated with a target video output device, and the target video output device belongs to the at least one Video output device; and
    命令发送模块,用于发送所述资源分配命令至对应的目标视频输出装置以供所述目标视频输出装置根据所述资源分配命令分配自身的硬件资源。The command sending module is configured to send the resource allocation command to the corresponding target video output device for the target video output device to allocate its own hardware resources according to the resource allocation command.
  9. 根据权利要求8所述硬件资源分配装置,其特征在于,The hardware resource allocation device according to claim 8, wherein:
    所述命令生成模块包括:The command generation module includes:
    需求信息生成子模块,用于根据所述窗口创建信息生成资源需求信息;The demand information generation sub-module is used to generate resource demand information according to the window creation information;
    目标硬件资源获取子模块,用于根据所述资源需求信息查询对应的每个所述目标视频输出装置的当前资源分配状态信息得到所述目标硬件资源标识。The target hardware resource acquisition sub-module is configured to query corresponding current resource allocation status information of each target video output device according to the resource requirement information to obtain the target hardware resource identifier.
  10. 根据权利要求9所述的硬件资源分配装置,其特征在于,所述窗口创建信息包括:所述目标屏幕、所述目标类型以及所述待建窗口在所述目标屏幕上的位置和大小信息;所述资源需求信息包括:对应每个所述目标视频输出装置的待分配硬件资源的数量;The hardware resource allocation device according to claim 9, wherein the window creation information comprises: the target screen, the target type, and position and size information of the window to be built on the target screen; The resource requirement information includes: the number of hardware resources to be allocated corresponding to each target video output device;
    所述需求信息生成子模块包括:The demand information generating sub-module includes:
    第一生成单元,用于将所述目标屏幕关联的视频输出装置作为所述目标视频输出装置;A first generating unit, configured to use a video output device associated with the target screen as the target video output device;
    第二生成单元,用于根据所述待建窗口在所述目标屏幕上的位置和大小信息获取所述待分配硬件资源的数量。The second generating unit is configured to obtain the quantity of hardware resources to be allocated according to the position and size information of the window to be built on the target screen.
  11. 根据权利要求10所述硬件资源分配装置,其特征在于,所述当前资源分配状态信息包括:多个不同的资源组标识、关联每个所述资源组标识的资源组状态、每个 所述资源组标识关联的两个不同的硬件资源标识以及每个所述硬件资源标识对应的所述硬件资源的类型;The hardware resource allocation device according to claim 10, wherein the current resource allocation status information includes: a plurality of different resource group identifiers, a resource group status associated with each resource group identifier, and each resource Two different hardware resource identifiers associated with the group identifier and the type of the hardware resource corresponding to each of the hardware resource identifiers;
    所述目标硬件资源获取子模块包括:The target hardware resource acquisition submodule includes:
    目标资源组获取单元:用于获取与所述目标资源输出装置对应的目标资源组标识;Target resource group acquiring unit: used to acquire a target resource group identifier corresponding to the target resource output device;
    目标硬件资源获取单元,用于根据所述目标资源组标识获取所述目标硬件资源标识。The target hardware resource obtaining unit is configured to obtain the target hardware resource identifier according to the target resource group identifier.
  12. 根据权利要求11所述硬件资源分配装置,其特征在于,所述目标资源组标识的数量等于所述待分配的硬件资源的数量;The hardware resource allocation device according to claim 11, wherein the number of the target resource group identifiers is equal to the number of the hardware resources to be allocated;
    所述目标资源组获取单元包括:The target resource group obtaining unit includes:
    第一获取子单元,用于获取所述资源组状态为空闲状态的所述目标资源组标识关联;The first obtaining subunit is configured to obtain the target resource group identification association in which the resource group status is idle;
    第二获取子单元,用于获取所述资源组状态为目标屏幕占用状态的所述目标资源组标识、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲。The second acquiring subunit is configured to acquire the target resource group identifier whose resource group status is the target screen occupancy status, and the type of the hardware resource corresponding to the hardware resource identifier associated with the target resource group identifier The type of the hardware resource that is different from the target type and that corresponds to another hardware resource identifier associated with the target resource group identifier is idle.
  13. 根据权利要求12所述的硬件资源分配装置,其特征在于,The hardware resource allocation device according to claim 12, wherein:
    所述目标硬件资源获取单元包括:The target hardware resource acquisition unit includes:
    第三获取子单元:用于当所述目标资源组标识关联的资源组状态为空闲状态时,将所述目标资源组标识关联的两个所述硬件资源标识中的一个所述硬件资源标识作为所述目标硬件资源标识;以及The third acquiring subunit: when the resource group status associated with the target resource group identifier is idle, use one of the two hardware resource identifiers associated with the target resource group identifier as the hardware resource identifier The target hardware resource identifier; and
    第四获取子单元,用于当所述目标资源组标识关联的资源组状态为所述目标屏幕占用状态、且所述目标资源组标识关联的一个所述硬件资源标识对应的所述硬件资源的类型与所述目标类型不同、且所述目标资源组标识关联的另一个硬件资源标识对应的所述硬件资源的类型为空闲时,将所述另一个硬件资源标识作为所述目标硬件资源标识。The fourth acquiring subunit is configured to perform the operation of the hardware resource corresponding to the hardware resource identifier associated with the target resource group identifier when the resource group status associated with the target resource group identifier is the target screen occupancy state and the hardware resource identifier associated with the target resource group identifier When the type is different from the target type and the type of the hardware resource corresponding to another hardware resource identifier associated with the target resource group identifier is idle, the other hardware resource identifier is used as the target hardware resource identifier.
  14. 一种硬件资源分配装置,其特征在于,应用于电连接主控装置的视频输出装置,包括:A hardware resource allocation device, which is characterized in that a video output device applied to an electrically connected main control device includes:
    命令接收模块,用于接收资源分配命令,其中所述资源分配命令包括:目标硬件资源标识和目标类型;以及The command receiving module is configured to receive a resource allocation command, where the resource allocation command includes: target hardware resource identification and target type; and
    资源分配模块,用于控制与所述目标硬件资源标识对应的硬件资源通过所述目标类型进行输出。The resource allocation module is used to control the hardware resource corresponding to the target hardware resource identifier to output through the target type.
  15. 一种视频处理器,其特征在于,包括:A video processor, characterized in that it comprises:
    主控装置,包括处理器;Main control device, including processor;
    至少一个视频输出装置,每个所述视频输出装置包括第一可编程逻辑器件,每个所述第一可编程逻辑器件电连接所述处理器,每个所述第一可编程逻辑器件包括多个不同的硬件资源;At least one video output device, each of the video output devices includes a first programmable logic device, each of the first programmable logic devices is electrically connected to the processor, and each of the first programmable logic devices includes multiple Different hardware resources;
    所述处理器用于:获取窗口创建信息、根据所述窗口创建信息生成资源分配命令以及发送所述资源分配命令至对应的目标视频输出装置,其中所述窗口创建信息用于 表征在目标屏幕上的待建窗口,所述资源分配命令包括关联目标视频输出装置的硬件资源的目标硬件资源标识和目标类型,所述目标视频输出装置属于所述至少一个视频输出装置;The processor is configured to obtain window creation information, generate a resource allocation command according to the window creation information, and send the resource allocation command to a corresponding target video output device, wherein the window creation information is used to characterize the information on the target screen For a window to be built, the resource allocation command includes a target hardware resource identifier and a target type associated with a hardware resource of a target video output device, the target video output device belonging to the at least one video output device;
    所述目标视频输出装置的所述第一可编程逻辑器件用于:接收对应的所述资源分配命令以及控制与所述目标硬件资源标识对应的硬件资源通过所述目标类型进行输出。The first programmable logic device of the target video output device is configured to receive the corresponding resource allocation command and control the hardware resource corresponding to the target hardware resource identifier to output through the target type.
  16. 根据权利要求15所述的视频处理器,其特征在于,还包括:The video processor according to claim 15, further comprising:
    视频输入装置,包括第二可编程逻辑器件,所述第二可编程逻辑器件电连接所述处理器以及所述第一可编程逻辑器件;The video input device includes a second programmable logic device, and the second programmable logic device is electrically connected to the processor and the first programmable logic device;
    所述第二可编程逻辑器件用于向所述目标视频输出装置的所述第一可编程逻辑器件发送待显示图像;The second programmable logic device is used to send the image to be displayed to the first programmable logic device of the target video output device;
    所述目标视频输出装置的所述第一可编程逻辑器件用于驱动控制与所述目标硬件资源标识对应的所述硬件资源以所述目标类型输出所述待显示图像。The first programmable logic device of the target video output device is used to drive and control the hardware resource corresponding to the target hardware resource identifier to output the image to be displayed in the target type.
  17. 根据权利要求16所述的视频处理器,其特征在于,还包括:The video processor according to claim 16, further comprising:
    背板,包括数据交换芯片,所述数据交换芯片电连接在所述第一可编程逻辑器件和所述第二可编程逻辑器件之间;The backplane includes a data exchange chip that is electrically connected between the first programmable logic device and the second programmable logic device;
    所述主控装置、所述至少一个视频输出装置以及所述视频输入装置分别连接在所述背板上;The main control device, the at least one video output device and the video input device are respectively connected to the backplane;
    所述数据交换芯片用于接收所述第二可编程逻辑器件发送的待显示图像以及转发所述待显示图像至所述目标视频输出装置的所述第一可编程逻辑器件。The data exchange chip is used for receiving the image to be displayed sent by the second programmable logic device and forwarding the image to be displayed to the first programmable logic device of the target video output device.
  18. 根据权利要求17所述的视频处理器,其特征在于,The video processor of claim 17, wherein:
    所述视频输入装置为多个;其中一个所述视频输入装置的所述第二可编程逻辑器件发送所述待显示图像至所述数据交换芯片。There are multiple video input devices; the second programmable logic device of one of the video input devices sends the image to be displayed to the data exchange chip.
  19. 一种显示系统,其特征在于,包括:如权利要求15-18任意一项所述的视频处理器、第一显示装置以及第二显示装置;A display system, comprising: the video processor according to any one of claims 15-18, a first display device, and a second display device;
    所述视频处理器的所述视频输出装置连接所述第一显示装置和所述第二显示装置;The video output device of the video processor is connected to the first display device and the second display device;
    所述视频输出装置的所述第一可编程逻辑器件的所述硬件资源的类型为第一资源类型时,所述视频输出装置对应第一显示装置;When the type of the hardware resource of the first programmable logic device of the video output device is the first resource type, the video output device corresponds to the first display device;
    所述视频输出装置的所述第一可编程逻辑器件的所述硬件资源的类型为第二资源类型时,所述视频输出装置对应第二显示装置。When the type of the hardware resource of the first programmable logic device of the video output device is a second resource type, the video output device corresponds to a second display device.
  20. 根据权利要求19所述的显示系统,其特征在于,The display system of claim 19, wherein:
    多个所述视频输出装置分别连接一个所述第一显示装置和一个所述第二显示装置。A plurality of the video output devices are respectively connected to the first display device and the second display device.
  21. 根据权利要求19所述的显示系统,其特征在于,The display system of claim 19, wherein:
    所述第一显示装置为预监显示器;The first display device is a preview display;
    所述第二显示装置为LED显示屏,所述LED显示屏包括:The second display device is an LED display screen, and the LED display screen includes:
    发送卡,连接所述视频处理器的至少一个所述视频输出装置;A sending card, connected to at least one of the video output devices of the video processor;
    接收卡,连接所述发送卡;A receiving card, connected to the sending card;
    LED灯箱,连接所述接收卡。The LED light box is connected to the receiving card.
PCT/CN2019/113946 2019-10-29 2019-10-29 Hardware resource allocation method and apparatus, video processor, and display system WO2021081745A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/113946 WO2021081745A1 (en) 2019-10-29 2019-10-29 Hardware resource allocation method and apparatus, video processor, and display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/113946 WO2021081745A1 (en) 2019-10-29 2019-10-29 Hardware resource allocation method and apparatus, video processor, and display system

Publications (1)

Publication Number Publication Date
WO2021081745A1 true WO2021081745A1 (en) 2021-05-06

Family

ID=75714751

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/113946 WO2021081745A1 (en) 2019-10-29 2019-10-29 Hardware resource allocation method and apparatus, video processor, and display system

Country Status (1)

Country Link
WO (1) WO2021081745A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889047A (en) * 2005-06-27 2007-01-03 腾讯科技(深圳)有限公司 System and method for realizing program resource sharing
WO2010090286A1 (en) * 2009-02-09 2010-08-12 コニカミノルタホールディングス株式会社 Information processing system, information processing device, and information processing method
CN102368219A (en) * 2011-10-14 2012-03-07 深圳市京华科讯科技有限公司 Method and system for managing distributed resources of serial port
CN104834553A (en) * 2014-02-12 2015-08-12 中兴通讯股份有限公司 Service concurrent processing method for user terminal and user terminal
CN105426251A (en) * 2015-12-01 2016-03-23 深圳创维数字技术有限公司 Resource access method and system
CN107908454A (en) * 2017-11-17 2018-04-13 武汉楚鼎信息技术有限公司 A kind of interlock method and device of the multiwindow packet based on more bookmarks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889047A (en) * 2005-06-27 2007-01-03 腾讯科技(深圳)有限公司 System and method for realizing program resource sharing
WO2010090286A1 (en) * 2009-02-09 2010-08-12 コニカミノルタホールディングス株式会社 Information processing system, information processing device, and information processing method
CN102368219A (en) * 2011-10-14 2012-03-07 深圳市京华科讯科技有限公司 Method and system for managing distributed resources of serial port
CN104834553A (en) * 2014-02-12 2015-08-12 中兴通讯股份有限公司 Service concurrent processing method for user terminal and user terminal
CN105426251A (en) * 2015-12-01 2016-03-23 深圳创维数字技术有限公司 Resource access method and system
CN107908454A (en) * 2017-11-17 2018-04-13 武汉楚鼎信息技术有限公司 A kind of interlock method and device of the multiwindow packet based on more bookmarks

Similar Documents

Publication Publication Date Title
CN100512149C (en) System for managing high-level telecommunication computing construction frame and method of server long-distance control
WO2020220535A1 (en) Data storage method, and related device
US9552186B2 (en) Data processing method and electronic device
CN103516961A (en) Image processor, preparing method thereof and mother card
CN106253981A (en) A kind of data transmission method and the first electronic equipment
US8942473B2 (en) Image processing method and display apparatus
CN103942023A (en) Display processing method and terminal
CN103685430A (en) A mobile terminal combined display method, a system, and a server
WO2021081745A1 (en) Hardware resource allocation method and apparatus, video processor, and display system
CN114205529A (en) Single-camera calling method and device, terminal and readable storage medium
CN104954748A (en) Video processing architecture
US10135752B2 (en) Expansion device for virtual interface and network server system thereof
CN104717397A (en) Image data processing method and electronic device
WO2020125245A1 (en) Screen connection method and apparatus for display screen casings, device, and computer readable storage medium
CN115357535A (en) Virtual serial port design method and device
CN116383108A (en) Interface expanding device for screen sharing
CN212278336U (en) Backboard and video processing equipment
CN106408269A (en) Signature processing method, signature center system and signature system
EP2961238A1 (en) Electronic device assembly to couple multiple type wireless interfaces
EP0298979A1 (en) Workstation for use with a digital image communications network
CN105120211A (en) Video data transmission method
CN111240618A (en) Multi-user multi-screen display method and device based on android
CN213482859U (en) Terminal equipment with double display screens
CN106658056B (en) Nonlinear editing system, device and method
CN105892975B (en) A kind of management board of KVM

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19950770

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19950770

Country of ref document: EP

Kind code of ref document: A1