CN112488907A - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN112488907A
CN112488907A CN202011379743.6A CN202011379743A CN112488907A CN 112488907 A CN112488907 A CN 112488907A CN 202011379743 A CN202011379743 A CN 202011379743A CN 112488907 A CN112488907 A CN 112488907A
Authority
CN
China
Prior art keywords
target
display card
resource
display
card
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202011379743.6A
Other languages
Chinese (zh)
Inventor
李魁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202011379743.6A priority Critical patent/CN112488907A/en
Publication of CN112488907A publication Critical patent/CN112488907A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • 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]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Image Generation (AREA)

Abstract

The disclosure provides a data processing method and a data processing system, relates to the technical field of electronic information, and can solve the problem that the utilization rate of display card resources is low when images are processed. The specific technical scheme is as follows: when the display card resource scheduling platform acquires an image rendering request, converting the image rendering request into an image rendering instruction according to rendering parameters contained in the image rendering request; determining a target display card capable of processing the image rendering instruction according to resource use conditions and configuration information corresponding to a plurality of display cards in a database; and sending the image rendering instruction to the target display card, and acquiring a result after the target display card is subjected to rendering processing. The method and the device are used for integrating and processing the display card resources.

Description

Data processing method and system
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a data processing method and system.
Background
With the advancement of science and technology, users have higher and higher requirements on the performance of hardware image processing in image processing, and in order to meet the performance requirements of users, the display cards are updated more and more rapidly. When the hardware equipment of the user can not meet the image rendering capability required by the image to be processed, the hardware equipment of the user needs to be upgraded and replaced by the display card, so that the cost of the equipment is increased undoubtedly, and meanwhile, when the low-configuration display card is replaced, the low-configuration display card is idle, so that the resource of the low-configuration display card is wasted.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method and device, which can solve the problem that in the prior art, when an image is processed, the utilization rate of a display card resource is low. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a data processing method is provided, where the method is applied to a display card resource centralized scheduling platform, and includes:
acquiring image rendering request information, wherein the image rendering request information is used for requesting to render a target image and comprises target rendering information;
according to a preset conversion rule, converting the image rendering request information into an image rendering instruction, wherein the instruction is used for instructing to render a target image according to the target rendering information;
determining a target display card matched with the target processing resource in a plurality of display cards of a target database according to the target processing resource required by the image rendering instruction, and sending the image rendering instruction to the target display card, wherein the target database comprises preset resource information corresponding to each display card in the plurality of display cards;
and acquiring a processing result sent by the target display card, and acquiring a rendered target image after the processing result is subjected to integration processing, wherein the processing result is a result obtained after the target display card processes the target image according to the image rendering instruction.
In one embodiment, before obtaining the image rendering request information, the method further comprises:
acquiring display card information corresponding to each display card through a display card resource agent module corresponding to each display card in the plurality of display cards, wherein the display card information comprises configuration information and preset resource information;
and according to the display card information corresponding to each display card, generating the target database after registering each display.
In one embodiment, the method for converting the image rendering request information into the image rendering instruction comprises the following steps:
analyzing the image rendering request information, and acquiring target rendering information in the image rendering request information according to an analysis result, wherein the target rendering information at least comprises: configuration information, special effect information and drawing parameters;
and converting the image rendering request information to generate an image rendering instruction through the target driver and the target rendering information.
In one embodiment, the method for determining at least one target graphics card matching the target processing resource in the target database includes:
traversing the target database, and determining whether preset processing resources of the independent display card are matched with target processing resources corresponding to the target rendering instruction;
when the preset processing resource corresponding to the independent display card in the plurality of display cards is matched with the target processing resource, determining the independent display card as the target display card;
when the preset processing resource corresponding to each individual display card in the plurality of display cards is not matched with the target processing resource, acquiring the added preset processing resources of N display cards, wherein N is more than or equal to 2;
and when the preset processing resource added by the N display cards is matched with the target processing resource, determining the N display cards as the target display cards.
In one embodiment, the sending the image rendering instruction to the target graphics card in the method includes:
determining a resource to be processed corresponding to each target display card according to the target processing resource and a preset processing resource corresponding to each display card;
and determining a sub-image rendering instruction corresponding to each target display card according to the to-be-processed resource corresponding to each target display card, and sending the sub-image rendering instruction to each target display card in sequence, wherein the sub-image rendering instruction is used for instructing to render and process the to-be-processed resource.
According to a second aspect of embodiments of the present disclosure, there is provided a data processing system, the system comprising: the system comprises a display card resource centralized scheduling platform and a plurality of display cards, wherein the display card resource centralized scheduling platform is connected with the plurality of display cards;
the video card resource centralized scheduling platform is used for acquiring image rendering request information, and the image rendering request information is used for requesting to render a target image;
according to a preset conversion rule, converting the image rendering request information into an image rendering instruction, wherein the instruction is used for instructing to render a target image according to a preset index;
determining a target display card matched with the target processing resource in a target database according to the processing resource required by the image rendering instruction, and sending the image rendering instruction to the target display card, wherein the target database comprises preset resource information corresponding to each display card in the plurality of display cards;
acquiring the processing result sent by the target display card, integrating the processing result, acquiring a rendered target image,
the target display card is used for receiving the image rendering instruction;
and rendering the target image according to the image rendering instruction, and sending a processing result to the display card resource centralized scheduling platform.
In one embodiment, the display card in the system comprises a display card resource agent module and a resource calculation module,
the resource calculation module is used for acquiring preset processing resources of the display card and configuration information of the display card;
generating display card information according to the configuration information and preset resource information, and sending the display card information to the display card resource agent module;
the display card resource agent module is used for establishing a target transmission link with the display card resource centralized scheduling platform;
acquiring the display card information sent by the resource calculation module;
and sending the display card information of the display card to the display card resource centralized scheduling platform through the target transmission link.
In one embodiment, the display card in the system comprises a display card memory, the display card memory is connected with the display card resource agent module,
the display card memory is used for acquiring a result of the target display card after processing the target image according to the image rendering instruction;
storing the processing result according to the target storage position information;
and sending the target storage position information to the display card resource agent module so that the display card resource agent module sends the processing result to the display card resource centralized scheduling platform.
In one embodiment, the system comprises a graphics card resource centralized scheduling platform for
Acquiring display card information corresponding to each display card through a display card resource agent module corresponding to each display card in the plurality of display cards, wherein the display card information comprises configuration information and preset resource information;
and according to the display card information corresponding to each display card, generating the target database after registering each display.
In one embodiment, the system comprises a graphics card resource centralized scheduling platform for
Traversing the target database, and determining whether preset processing resources of the independent display card are matched with target processing resources corresponding to the target rendering instruction;
when the preset processing resource corresponding to the independent display card in the plurality of display cards is matched with the target processing resource, determining the independent display card as the target display card;
when the preset processing resource corresponding to each individual display card in the plurality of display cards is not matched with the target processing resource, acquiring the added preset processing resources of N display cards, wherein N is more than or equal to 2;
and when the preset processing resource added by the N display cards is matched with the target processing resource, determining the N display cards as the target display cards.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a data processing method provided by an embodiment of the present disclosure;
fig. 1a is a schematic diagram of a logical layer structure in a data processing method according to an embodiment of the present disclosure;
FIG. 2 is a block diagram of a data processing system provided by an embodiment of the present disclosure;
fig. 2a is a diagram of a result of a data processing system according to an embodiment of the present disclosure shown in fig. 1.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Example one
The embodiment of the present disclosure provides a data processing method, as shown in fig. 1, where the data processing method is applied to a display card resource centralized scheduling platform, and includes the following steps:
101. acquiring image rendering request information, wherein the image rendering request information is used for requesting to render a target image;
the display card resource centralized scheduling platform in the method provided by the disclosure can be used as an independent rendering resource pool to provide image rendering capability for terminal equipment or a cloud server, or other equipment needing image rendering. In other examples, the multi-graphics card resource scheduling platform can also be directly integrated in a terminal device or a server to be used as a rendering resource.
Before processing the image rendering request, the method further includes registering the plurality of display cards, and generating a target database according to a registration result:
acquiring display card information corresponding to each display card in the plurality of display cards through a display card resource agent module corresponding to each display card, wherein the display card information comprises configuration information and preset resource information, and the preset resource information is used for indicating preset processing resources of the display card;
and according to the display card information corresponding to each display card, generating the target database after registering each display.
In a specific example, the registration process for multiple graphics cards may include:
step one, after the display card resource agent module is connected with the display card resource scheduling platform, the display card information of the local display card is sent to the display card resource scheduling platform.
And the display card resource agent module corresponding to each display card initiates registration request information to the display card resource scheduling platform, wherein the registration request carries the display card information of each display card.
Specifically, the display card information of each display card includes: basic information and configuration information; wherein, the basic information includes but is not limited to: chip type, DAC information, BIOS information, adapter character string; configuration information includes, but is not limited to: the main frequency of the video card, the frequency of the video memory, the total available graphic memory, the special video memory, the system video memory and the shared system memory.
And step two, the display card resource centralized scheduling platform registers the display card according to the received display card information.
Specifically, the display card resource centralized scheduling platform allocates a display card number to the current display card to be registered according to the registration request information sent by the display card resource agent module, records the display card information of the corresponding display card in the local database, associates the display card information with the corresponding number,
meanwhile, the display card resource centralized scheduling platform acquires and records the resource use state of the corresponding display card from the display card resource agent in real time.
102. And converting the image rendering request information into an image rendering instruction according to a preset conversion rule.
The image rendering instructions in the method provided by the present disclosure are for instructing rendering of a target image according to target rendering information.
In the method provided by the present disclosure, converting the image rendering request information into an image rendering instruction includes:
analyzing the image rendering request information, and acquiring target rendering information in the image rendering request information according to an analysis result, wherein the target rendering information at least comprises: configuration information, special effect information and drawing parameters;
and converting the image rendering request information to generate an image rendering instruction through the target driver and the target rendering information.
Specifically, after the graphics card resource scheduling platform receives the image rendering request, the graphics card resource scheduling platform translates the image rendering request through a corresponding display driver in the operating system to obtain a plurality of image rendering instructions. After the image rendering instructions are sent to the display card, corresponding image rendering operation can be executed in the display card.
Referring to fig. 1a, the principle of performing conversion and translation on an image rendering request by a display driver is described by taking a Windows system as an example for performing 3D rendering. The Windows Display Driver Model (WDDM) is a display driver architecture supported by Windows.
Fig. 1a is a logic diagram of a conventional WDDM driver model, which calls display acceleration software, such as a related interface function of D3D RT (Direct 3D runtime), when an application detects a 3D rendering requirement, and sends a configuration parameter (configuration parameter for a graphics card), a special effect parameter (parameter related to a special effect), a drawing parameter, and the like related to rendering to D3D RT.
And D3D RT will interact with the user mode Display driver to obtain the Display card status and transmit the drawing instruction (the drawing instruction is generated according to the drawing parameter) to the user mode Display driver, the user mode Display driver will put the translated instruction into the memory after translating the received instruction, so as to facilitate the Display miniport driver to read the translated instruction,
meanwhile, the user mode Display driver notifies the D3D RT of completion of instruction translation, and at this time, the D3D RT notifies a Display miniport driver (Display miniport driver) to obtain the translated instruction in the memory through a Graphics kernel subsystem (Direct Graphics kernel subsystem or dxgkrnl. On the other hand, the D3D RT passes the configuration parameters and special effects parameters received from the application layer to the graphics kernel subsystem. The graphics kernel subsystem is a system file for the operating system to complete image display management, and participates in all image generation management of the system.
103. And according to the target processing resource required by the image rendering instruction, determining a target display card matched with the target processing resource in a target database, and sending the image rendering instruction to the target display card, wherein the target database comprises preset resource information corresponding to each display card in a plurality of display cards.
In the method provided by the disclosure, the display card resource scheduling platform keeps heartbeat connection with each display card resource agent module corresponding to each display card, so that the resource use condition of each display card is obtained from each display card resource agent, and simultaneously, the display card resource scheduling platform locally updates the resource use condition of each display card bound with the display card in real time, so that when an image rendering request is received, a distribution strategy of the image rendering instruction is determined according to the resource use conditions of all the current display cards.
And after the image distribution strategy is determined, the video card resource scheduling platform distributes corresponding image rendering instructions to video card resource agents corresponding to the video cards, and the video card resource agents distribute computing resources and a video memory to execute specific image rendering operation.
When a target display card matched with the target processing resource is determined in a target database, a display card resource scheduling platform sets a load balancing strategy to enable the target processing resource required by an image rendering instruction to be matched with the preset processing resource of the display card, and the specific steps can include:
traversing the target database, and determining whether preset processing resources of the independent display card are matched with target processing resources corresponding to the target rendering instruction;
when the preset processing resource corresponding to the independent display card in the plurality of display cards is matched with the target processing resource, determining the independent display card as the target display card;
when the preset processing resource corresponding to each individual display card in the plurality of display cards is not matched with the target processing resource, acquiring the added preset processing resources of N display cards, wherein N is more than or equal to 2;
and when the preset processing resource added by the N display cards is matched with the target processing resource, determining the N display cards as the target display cards.
Specific examples are listed here for explanation: since the number of graphics cards used is inversely related to the ultimate processing efficiency, the fewer the number of sets split is actually the better. The resolution is generally carried out in the following manner:
firstly, judging whether a current image rendering request can be processed independently through one display card in a plurality of display cards, and if so, distributing the current image rendering request to the display card for processing;
if the independent display card can not process the image rendering request, judging whether the corresponding display card meets the processing requirements of the two parts after the image rendering request is split into the two parts (by grouping the image rendering instructions);
if yes, respectively distributing the two groups of split image rendering instructions to corresponding display cards;
if not, trying to split the current image rendering request into three groups, and judging whether three display cards capable of meeting the processing requirements of the current image rendering request exist;
if yes, determining the three display cards, and distributing corresponding image rendering instructions to the display cards; and so on until the image rendering instruction is processed.
According to the method, after the target display card and the allocation strategy are determined, all current image rendering instructions are split, so that the current image rendering instructions are split into multiple groups, and the display card allocated to each group for processing is determined.
By using a plurality of display cards in a centralized manner in the distribution method, the problem that the low-configuration display cards in the prior art need to be replaced or upgraded when the low-configuration display cards cannot process images can be solved, and the use efficiency of the display cards is improved.
In the method provided by the present disclosure, when sending an image rendering instruction to a target graphics card, the method includes:
determining a resource to be processed corresponding to each target display card according to the target processing resource and a preset processing resource corresponding to each display card;
and splitting the image rendering instruction according to the to-be-processed resource corresponding to each target display card, generating a sub-image rendering instruction corresponding to each target display card, and sending the sub-image rendering instruction to each target display card in sequence, wherein the sub-image rendering instruction is used for instructing to render the to-be-processed resource.
For example, the target image may be divided into M blocks according to the processing capability of the target graphics card, and each image block is the resource to be processed.
104. And acquiring a processing result sent by the target display card, and acquiring a rendered target image after integrating the processing result.
The processing result in the method provided by the present disclosure is a result of the target graphics card processing the target image according to the image rendering instruction
After the display card in the method obtains the image rendering instruction, pixel information is calculated and processed through GPU computing resources in the display card, processing results (pixel values and display positions on a screen) are written into a corresponding display memory, and storage position information is returned to the display card resource agent module; and the video card resource agent module reads a corresponding processing result from the video memory through the storage position information and sends the read processing result to the video card resource scheduling platform.
And the display card resource scheduling platform collects the processing results returned by each display card resource agent to obtain a final output image.
And the display card resource scheduling platform returns the final output image to the equipment initiating the image rendering request.
The data processing method provided by the embodiment of the disclosure is applied to a display card resource scheduling platform, and when the display card resource scheduling platform acquires an image rendering request, the image rendering request is converted into an image rendering instruction according to rendering parameters contained in the image rendering request; determining a target display card capable of processing the image rendering instruction according to resource use conditions and configuration information corresponding to a plurality of display cards in a database; and sending the image rendering instruction to the target display card, and acquiring a result after the target display card is subjected to rendering processing.
Through the processing scheme provided by the disclosure, the resources of a plurality of display cards can be concentrated, and the larger calculation and rendering capabilities are released through unified scheduling, so that the cost of the display card resources is greatly saved, the use efficiency of the display card resources is improved, and the waste of the display card resources is avoided.
Example two
Based on the data processing method described in the embodiment corresponding to fig. 1, the following is an embodiment of the system of the present disclosure, which may be used to execute an embodiment of the method of the present disclosure.
An embodiment of the present disclosure provides a data processing system, as shown in fig. 2, the data processing system 20 includes:
the system comprises a display card resource centralized scheduling platform 201 and a plurality of display cards 202, wherein the display card resource centralized scheduling platform is connected with the plurality of display cards;
the video card resource centralized scheduling platform 201 is configured to obtain image rendering request information, where the image rendering request information is used to request for rendering a target image;
according to a preset conversion rule, converting the image rendering request information into an image rendering instruction, wherein the instruction is used for instructing to render a target image according to a preset index;
determining a target display card matched with the target processing resource in a target database according to the processing resource required by the image rendering instruction, and sending the image rendering instruction to the target display card, wherein the target database comprises preset resource information corresponding to each display card in the plurality of display cards;
acquiring the processing result sent by the target display card, integrating the processing result, acquiring a rendered target image,
the target graphics card 202 is configured to receive the image rendering instruction;
and rendering the target image according to the image rendering instruction, and sending a processing result to the display card resource centralized scheduling platform.
In an alternative embodiment, as shown in fig. 2a, the centralized scheduling system for multiple graphics cards provided by the present disclosure mainly includes: the system comprises a display card resource centralized scheduling platform and a plurality of display cards, wherein each display card is inserted into a card slot of the display card and is used for providing display card resources for the display card resource centralized scheduling platform; the display card resource scheduling platform is connected with the display card through a PCIE bus. Each display card at least comprises: the system comprises a GPU and a display card memory, wherein the GPU is provided with a display card resource agent module and a resource calculation module, and the resource calculation module is used for calculating and processing pixels; the video card resource agent is used for realizing the communication between the video card resource scheduling platform and the video card resources, and meanwhile, the video card resource agent module is also used for directly carrying out other business communication with the video card resource scheduling platform.
In one embodiment, the graphics card 202 in the system includes a graphics card resource agent module and a resource calculation module,
the resource calculation module is used for acquiring preset processing resources of the display card and configuration information of the display card;
generating display card information according to the configuration information and preset resource information, and sending the display card information to the display card resource agent module;
the display card resource agent module is used for establishing a target transmission link with the display card resource centralized scheduling platform;
acquiring the display card information sent by the resource calculation module;
and sending the display card information of the display card to the display card resource centralized scheduling platform through the target transmission link.
In one embodiment, the graphics card 202 in the system includes graphics card memory,
the display card memory is used for acquiring a result of the target display card after processing the target image according to the image rendering instruction;
storing the processing result according to the target storage position information;
and sending the target storage position information to the display card resource agent module so that the display card resource agent module sends the processing result to the display card resource centralized scheduling platform.
In one embodiment, the graphics card resource centralized scheduling platform 201 in the system is used for
Acquiring display card information corresponding to each display card through a display card resource agent module corresponding to each display card in the plurality of display cards, wherein the display card information comprises configuration information and preset resource information;
and according to the display card information corresponding to each display card, generating the target database after registering each display.
In one embodiment, the graphics card resource centralized scheduling platform 201 in the system is used for
Traversing the target database, and determining whether preset processing resources of the independent display card are matched with target processing resources corresponding to the target rendering instruction;
when the preset processing resource corresponding to the independent display card in the plurality of display cards is matched with the target processing resource, determining the independent display card as the target display card;
when the preset processing resource corresponding to each individual display card in the plurality of display cards is not matched with the target processing resource, acquiring the added preset processing resources of N display cards, wherein N is more than or equal to 2;
and when the preset processing resource added by the N display cards is matched with the target processing resource, determining the N display cards as the target display cards.
The data processing system provided by the embodiment of the disclosure comprises a display card resource scheduling platform and a plurality of display cards, wherein when the display card resource scheduling platform acquires an image rendering request, the image rendering request is converted into an image rendering instruction according to parameters contained in the image rendering request; and determining a target display card capable of processing the image rendering instruction according to the resource use condition and the configuration information corresponding to the plurality of display cards in the database. And sending the image rendering instruction to the target display card, and acquiring a rendered result of the target display card.
Based on the data processing method described in the embodiment corresponding to fig. 1, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the data processing method described in the embodiment corresponding to fig. 1, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A data processing method is applied to a display card resource centralized scheduling platform, and comprises the following steps:
acquiring image rendering request information, wherein the image rendering request information is used for requesting to render a target image, and the image rendering request information comprises target rendering information;
according to a preset conversion rule, converting the image rendering request information into an image rendering instruction, wherein the image rendering instruction is used for indicating that a target image is rendered according to the target rendering information;
determining a target display card matched with the target processing resource in a plurality of display cards of a target database according to the target processing resource required by the image rendering instruction, and sending the image rendering instruction to the target display card, wherein the target database comprises preset resource information corresponding to each display card in the plurality of display cards;
and acquiring a processing result sent by the target display card, and acquiring a rendered target image after the processing result is subjected to integration processing, wherein the processing result is a result obtained after the target display card processes the target image according to the image rendering instruction.
2. The method of claim 1, wherein prior to obtaining image rendering request information, the method further comprises:
acquiring display card information corresponding to each display card through a display card resource agent module corresponding to each display card in the plurality of display cards, wherein the display card information comprises configuration information and preset resource information;
and according to the display card information corresponding to each display card, after registering each display, generating the target database.
3. The method of claim 1, wherein converting the image rendering request information into image rendering instructions comprises:
analyzing the image rendering request information, and acquiring target rendering information in the image rendering request information according to an analysis result, wherein the target rendering information at least comprises: configuration information, special effect information and drawing parameters;
and converting the image rendering request information to generate an image rendering instruction through a target driver and target rendering information.
4. The method of claim 2, wherein determining at least one target graphics card in the target database that matches the target processing resource comprises:
traversing the target database, and determining whether preset processing resources of an individual display card are matched with target processing resources corresponding to the target rendering instruction;
when a preset processing resource corresponding to an individual display card in the plurality of display cards is matched with the target processing resource, determining the individual display card as the target display card;
when the preset processing resource corresponding to each individual display card in the plurality of display cards is not matched with the target processing resource, acquiring the added preset processing resources of N display cards, wherein N is more than or equal to 2;
and when the preset processing resource added by the N display cards is matched with the target processing resource, determining that the N display cards are the target display cards.
5. The method of claim 4, wherein sending the image rendering instructions to the target graphics card comprises:
determining a resource to be processed corresponding to each target display card according to the target processing resource and the preset processing resource corresponding to each display card;
and splitting the image rendering instruction according to the to-be-processed resource corresponding to each target display card, generating a sub-image rendering instruction corresponding to each target display card, and sequentially sending the sub-image rendering instruction to each target display card, wherein the sub-image rendering instruction is used for instructing to render the to-be-processed resource.
6. A data processing system, comprising: the system comprises a display card resource centralized scheduling platform and a plurality of display cards, wherein the display card resource centralized scheduling platform is connected with the plurality of display cards;
the video card resource centralized scheduling platform is used for acquiring image rendering request information, and the image rendering request information is used for requesting to render a target image;
according to a preset conversion rule, converting the image rendering request information into an image rendering instruction, wherein the instruction is used for instructing to render a target image according to a preset index;
determining a target display card matched with the target processing resource in a target database according to the target processing resource required by the image rendering instruction, and sending the image rendering instruction to the target display card, wherein the target database comprises preset resource information corresponding to each display card in the plurality of display cards;
acquiring a processing result sent by the target display card, and acquiring a rendered target image after integrating the processing result;
the target display card is used for receiving the image rendering instruction;
and rendering the target image according to the image rendering instruction, and sending a processing result to the display card resource centralized scheduling platform.
7. The system of claim 6, wherein the graphics card comprises a graphics card resource agent module and a resource calculation module,
the resource calculation module is used for acquiring preset processing resources of the display card and configuration information of the display card;
generating display card information according to the configuration information and preset resource information, and sending the display card information to the display card resource agent module;
the display card resource agent module is used for establishing a target transmission link with the display card resource centralized scheduling platform;
acquiring the display card information sent by the resource calculation module;
and sending the display card information of the display card to the display card resource centralized scheduling platform through the target transmission link.
8. The system of claim 7, wherein the graphics card comprises a graphics card memory, the graphics card memory being coupled to the graphics card resource agent module,
the display card memory is used for acquiring a result of the target display card after processing the target image according to the image rendering instruction;
storing the processing result according to the target storage position information;
and sending the target storage position information to the graphics card resource agent module so that the graphics card resource agent module sends the processing result to the graphics card resource centralized scheduling platform.
9. The system of claim 7, wherein the graphics card resource centralized scheduling platform is configured to schedule graphics card resources centrally
Acquiring display card information corresponding to each display card through a display card resource agent module corresponding to each display card in the plurality of display cards, wherein the display card information comprises configuration information and preset resource information;
and according to the display card information corresponding to each display card, after registering each display, generating the target database.
10. The system of claim 9, wherein the graphics card resource centralized scheduling platform is configured to schedule graphics card resources centrally
Traversing the target database, and determining whether preset processing resources of an individual display card are matched with target processing resources corresponding to the target rendering instruction;
when a preset processing resource corresponding to an individual display card in the plurality of display cards is matched with the target processing resource, determining the individual display card as the target display card;
when the preset processing resource corresponding to each individual display card in the plurality of display cards is not matched with the target processing resource, acquiring the added preset processing resources of N display cards, wherein N is more than or equal to 2;
and when the preset processing resource added by the N display cards is matched with the target processing resource, determining that the N display cards are the target display cards.
CN202011379743.6A 2020-11-30 2020-11-30 Data processing method and system Pending CN112488907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011379743.6A CN112488907A (en) 2020-11-30 2020-11-30 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011379743.6A CN112488907A (en) 2020-11-30 2020-11-30 Data processing method and system

Publications (1)

Publication Number Publication Date
CN112488907A true CN112488907A (en) 2021-03-12

Family

ID=74938426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011379743.6A Pending CN112488907A (en) 2020-11-30 2020-11-30 Data processing method and system

Country Status (1)

Country Link
CN (1) CN112488907A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064727A (en) * 2021-04-16 2021-07-02 上海众链科技有限公司 Image display scheduling method, terminal and storage medium applied to Android system
CN115858177A (en) * 2023-02-08 2023-03-28 成都数联云算科技有限公司 Rendering machine resource allocation method, device, equipment and medium
CN117475013A (en) * 2023-12-21 2024-01-30 杭州海康威视数字技术股份有限公司 Computer equipment and video data processing method
CN117475013B (en) * 2023-12-21 2024-05-31 杭州海康威视数字技术股份有限公司 Computer equipment and video data processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113064727A (en) * 2021-04-16 2021-07-02 上海众链科技有限公司 Image display scheduling method, terminal and storage medium applied to Android system
CN113064727B (en) * 2021-04-16 2022-08-26 上海众链科技有限公司 Image display scheduling method, terminal and storage medium applied to Android system
CN115858177A (en) * 2023-02-08 2023-03-28 成都数联云算科技有限公司 Rendering machine resource allocation method, device, equipment and medium
CN115858177B (en) * 2023-02-08 2023-10-24 成都数联云算科技有限公司 Method, device, equipment and medium for distributing resources of rendering machine
CN117475013A (en) * 2023-12-21 2024-01-30 杭州海康威视数字技术股份有限公司 Computer equipment and video data processing method
CN117475013B (en) * 2023-12-21 2024-05-31 杭州海康威视数字技术股份有限公司 Computer equipment and video data processing method

Similar Documents

Publication Publication Date Title
CN110227259B (en) Data processing method, device, server and system
CN112784989B (en) Inference system, inference method, electronic device, and computer storage medium
CN111459665A (en) Distributed edge computing system and distributed edge computing method
CN112488907A (en) Data processing method and system
CN108074210B (en) Object acquisition system and method for cloud rendering
CN111159046B (en) Test method, test device, electronic equipment, test system and storage medium
CN111860853B (en) Online prediction system, device, method and electronic device
CN115292020B (en) Data processing method, device, equipment and medium
CN112286688B (en) Memory management and use method, device, equipment and medium
CN105740085A (en) Fault tolerance processing method and device
CN111679911A (en) Management method, device, equipment and medium for GPU (graphics processing Unit) card in cloud environment
CN113821308A (en) System on chip, virtual machine task processing method and device, and storage medium
CN111506434A (en) Task processing method and device and computer readable storage medium
CN112269628A (en) Resource scheduling system and method
CN108920274A (en) Performance optimization and device for image processing server end
CN115237589A (en) SR-IOV-based virtualization method, device and equipment
CN112685172A (en) Data processing method and system
TWI406531B (en) Graphics system and multi-user computer system using thereof
CN107734050B (en) Load machine distribution method, computing equipment and load machine distribution system
CN112328356B (en) Intercommunication method and device for Android and Windows, storage medium and computer equipment
CN111813541B (en) Task scheduling method, device, medium and equipment
CN112835703A (en) Task processing method, device, equipment and storage medium
CN111681157A (en) Image rendering method and system
US20110131271A1 (en) Apparatus and method for allocating and releasing imaging device in virtualization system
CN115840648A (en) Simulation task processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination