Algorithm data processing method and device and computer storage medium
By initializing a parallel processing operator node set in the algorithm processing solution, and using a preset distribution strategy to evenly distribute data frames, the problem of low resource utilization in the existing technology is solved, and the efficiency and flexibility of data processing are improved.
Patent Information
- Application Number
- CN202411032136.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The resource utilization rate of existing algorithm processing solutions is low, resulting in inefficient processing of different data channels and limited equipment operation efficiency.
By initializing the operator node set, including distribution operator nodes, processing operator nodes and merging operator nodes, the preset distribution strategy is used to evenly distribute the data frames to be processed to the parallel processing operator nodes according to the number of frames and/or the number of channels. , and input the processing results into the merge operator node to obtain the final processing results.
It improves resource utilization and data processing flexibility, avoids the need for each processing operator node to fix the flow of a specific data channel, and improves processing efficiency and equipment operating performance.
Smart Images

Figure CN118550718A
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to an algorithm data processing method, device and computer storage medium. Background Art
[0002] With the improvement of the performance of intelligent image processing algorithm solutions and the popularization of their applications, higher requirements are placed on the data channel capabilities and equipment operation efficiency that the solutions need to support.
[0003] In the existing algorithm processing scheme, since some algorithms need to be bound to the channel number, each operator node only processes continuous data under the same channel, so the processing method for data of different data channels is to create a corresponding pipeline instance for the data of each channel and send the corresponding channel data to the pipeline instance for processing. This method has low resource utilization. Summary of the invention
[0004] The present application provides an algorithm data processing method, device and computer storage medium.
[0005] To solve the above technical problems, the present application proposes an algorithm data processing method, which includes: initializing an operator node set based on an algorithm configuration file, wherein the operator node set includes at least a distribution operator node, a processing operator node set and a merging operator node, and the processing operator node set includes at least two parallel processing operator nodes; inputting a data frame to be processed into the distribution operator node, wherein the distribution operator node presets a distribution strategy; controlling the distribution operator node to distribute the data frame to be processed evenly to each processing operator node according to the number of frames and / or the number of channels according to the preset distribution strategy; and inputting the processing results of each processing operator node into the merging operator node respectively, so that the merging operator node obtains the processing results of each processing operator node and obtains the final processing result of the data frame to be processed.
[0006] Among them, controlling the distribution operator node to distribute the data frames to be processed evenly to each processing operator node according to the number of frames and / or the number of channels according to the preset distribution strategy includes: obtaining the number of data frames received by the distribution operator node; obtaining the number of the processing operator nodes; and distributing the number of data frames to be processed evenly to each processing operator node according to the number of the processing operator nodes.
[0007] Among them, controlling the distribution operator node to distribute the data frame to be processed evenly to each processing operator node according to the number of frames and / or the number of channels according to the preset distribution strategy includes: obtaining the data channel number and the number of channels of the data frame to be processed; evenly distributing the data channel number to each processing operator node according to the number of channels and the number of the processing operator nodes, and establishing a binding relationship between the data channel number and the processing operator node; distributing the data frame to be processed to each processing operator node according to the binding relationship.
[0008] Among them, respectively inputting the processing results of each processing operator node to the merging operator node so that the merging operator node obtains the processing results of each processing operator node, includes: sending the processing results of each processing operator node to the next operator node or output node in the order in which the processing results of each processing operator node arrive at the merging operator node.
[0009] Among them, respectively inputting the processing results of each processing operator node into the merging operator node so that the merging operator node obtains the processing results of each processing operator node, includes: obtaining the timestamp information of the processing results of each processing operator node; judging whether the timestamp information satisfies the current timestamp order; if not, caching the processing results to the cache queue until the timestamp information satisfies the current timestamp order, and sending the processing results to the next operator node or the output node through the merging operator node.
[0010] Among them, respectively inputting the processing results of each processing operator node into the merging operator node so that the merging operator node obtains the processing results of each processing operator node, includes: packaging the processing results of each processing operator node at the merging operator node, and sending the packaged data packet to the next operator node or the output node.
[0011] Among them, the input parameter configuration of the parallel processing operator node is the same as the output parameter configuration of the distribution operator node; the input parameter configuration of the merging operator node is generated according to the output parameter configuration of the parallel processing operator node.
[0012] The parallel processing operator nodes are used to execute image processing tasks, audio processing tasks and / or semantic processing tasks, and the parallel processing operator nodes execute the same processing tasks or execute different processing tasks.
[0013] In order to solve the above technical problems, the present application proposes an algorithm data processing device, which includes a processor and a memory; the memory stores a computer program, and the processor is used to execute the computer program to implement the steps of the above algorithm data processing method.
[0014] In order to solve the above technical problems, the present application proposes a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed, the steps of the above algorithm data processing method are implemented.
[0015] Different from the prior art, the beneficial effects of the present application are as follows: the algorithm data processing device initializes an operator node set based on an algorithm configuration file, wherein the operator node set includes at least a distribution operator node, a processing operator node set and a merging operator node, and the processing operator node set includes at least two parallel processing operator nodes; the data frame to be processed is input into the distribution operator node, wherein the distribution operator node presets a distribution strategy; according to the preset distribution strategy, the distribution operator node is controlled to distribute the data frame to be processed evenly to each processing operator node according to the number of frames and / or the number of channels; the processing results of each processing operator node are respectively input into the merging operator node, so that the merging operator node obtains the processing results of each processing operator node and obtains the final processing result of the data frame to be processed. In the above manner, The distribution operator node pre-distributes the data frames to be processed through a preset distribution strategy, so that each parallel processing operator node does not need to process the data flow of a specific data channel, thereby improving resource utilization and data processing flexibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0017] Figure 1 It is a flowchart of an embodiment of the algorithm data processing method provided by the present application; Figure 2 It is a schematic diagram of the connection of the original operator nodes provided by this application; Figure 3 is a schematic diagram of an operator node set provided by this application; Figure 4 It is a structural diagram of an embodiment of an algorithm data processing device provided by the present application; Figure 5It is a structural diagram of an embodiment of a computer storage medium provided by the present application. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0019] The algorithm data processing method of the present application is applied to an algorithm data processing device, wherein the algorithm data processing device of the present application can be a server, or a system composed of a server and a local terminal cooperating with each other. Accordingly, the various parts included in the algorithm data processing device, such as various units, sub-units, modules, and sub-modules, can all be set in the server, or can be set in the server and the local terminal respectively.
[0020] Furthermore, the above-mentioned server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules, such as software or software modules used to provide distributed servers, or it can be implemented as a single software or software module, which is not specifically limited here. In some possible implementations, the algorithm data processing method of the embodiment of the present application can be implemented by a processor calling a computer-readable instruction stored in a memory.
[0021] See also Figure 1-Figure 3 , Figure 1 It is a flowchart of an embodiment of the algorithm data processing method provided by the present application; Figure 2 It is a schematic diagram of the connection of the original operator nodes provided by this application; Figure 3 It is a schematic diagram of the operator node set provided by this application.
[0022] like Figure 1 As shown, the specific steps are as follows: Step S11: Initialize the operator node set based on the algorithm configuration file.
[0023] The operator node set includes at least a distribution operator node, a processing operator node set and a merging operator node, and the processing operator node set includes at least two parallel processing operator nodes.
[0024] This application proposes an embodiment for initializing an operator node set, see Figure 2 and Figure 3 ,like Figure 2As shown, the original operator node is connected to several operator nodes connected in sequence.
[0025] like Figure 3 As shown, the operator node 2 is expanded in parallel to obtain the processing operator node 2_0 and the processing operator node 2_1, the distribution operator node is inserted before the parallel expanded operator node, and the merging operator node is inserted after the output of the parallel expanded operator node.
[0026] Among them, ALG_A_IN is the input parameter of operator node 1; ALG_A represents the operator node parameter of operator node 1, ALG_B is the operator node parameter of operator node 2, and ALG_C is the operator node parameter of operator node 3; ALG_A_out is the output parameter of operator node 1, ALG_B_out is the output parameter of operator node 2, and ALG_C_out is the output parameter of operator node 3.
[0027] ALG_A_out_0 is an input parameter of the processing operator node 2_0, ALG_A_out_1 is an input parameter of the processing operator node 2_1, ALG_B_0 is an operator node parameter of the processing operator node 2_0, ALG_B_1 is an operator node parameter of the processing operator node 2_1, ALG_B_out_0 is an output parameter of the processing operator node 2_0, and ALG_B_out_1 is an output parameter of the processing operator node 2_1.
[0028] It should be noted that the above initialization of the operator node set is only an example implementation. In the embodiment of the present application, the operator node set can also be initialized by using any method of expanding the operator node according to the same rules.
[0029] In an embodiment of the present application, the input parameter configuration of the parallel processing operator node is the same as the output parameter configuration of the distribution operator node; the input parameter configuration of the merging operator node is generated according to the output parameter configuration of the parallel processing operator node.
[0030] The configuration parameters include but are not limited to the output stream name and input stream name of the operator node.
[0031] Operator node parameters include input parameters, output parameters, and algorithm parameters. For example, for an operator node that implements the target detection function, its input parameters can define the type of input data "image", format "480 pixels * 480 pixels", etc., and its output parameters can define the value and format of the output data. In addition, its algorithm parameters can define the algorithm used by the operator node, such as R-CNN (regional convolutional neural network).
[0032] The input stream name of the distribution operator node is the output stream name of the original operator node. The output stream name of the distribution operator node is determined according to the number of parallel processing operator nodes. In this way, the distribution operator node receives upstream data and forwards the data to each expanded processing operator node.
[0033] The input stream name of the merging operator node is set according to the output stream name of the parallel processing operator node, so that the merging operator node plays the function of receiving data from each processing operator node and forwarding the data to the downstream node.
[0034] The parallel processing operator nodes are used to execute image processing tasks, audio processing tasks and / or semantic processing tasks, and the parallel processing operator nodes execute the same processing tasks or execute different processing tasks.
[0035] It should be noted that the overall solution of the present application can ultimately process image processing tasks, image processing tasks, audio processing tasks and / or semantic processing tasks. For each operator node, tasks such as target detection, target tracking, audio recognition, semantic recognition, etc. can be performed, and parallel processing operator nodes can perform the same processing tasks or different processing tasks.
[0036] Step S12: Input the data frame to be processed into the distribution operator node.
[0037] The distribution operator node presets a distribution strategy, and the preset distribution strategy includes an equal distribution strategy, a channel number strategy, a custom strategy, etc. For specific implementation methods, please refer to step S13 in the embodiment of the present application.
[0038] Step S13: Control the distribution operator node according to the preset distribution strategy to evenly distribute the data frames to be processed to each processing operator node according to the number of frames and / or the number of channels.
[0039] Among them, the channel number is the data source channel, and different channels represent different data sources.
[0040] In a specific embodiment of the present application, the number of data frames received by the distribution operator node is obtained; the number of processing operator nodes is obtained; and the number of data frames to be processed is evenly distributed to each processing operator node according to the number of processing operator nodes.
[0041] Specifically, the algorithm data processing device adopts an equal distribution strategy to distribute each data frame to a corresponding processing operator node for processing according to the number of input data frames.
[0042] In the embodiment of the present application, the total number of data frames received by the distribution operator node is accumulated and counted as sum, and the parallel operator nodes are respectively marked with increasing numbers starting from 0. If the number of parallel processing operator nodes is n, then the identification of each processing operator node is 0, 1, 2...n-1. Finally, the node identification to be forwarded is calculated by taking the remainder of sum%n, and then the data is transmitted.
[0043] For example, there are 6 data frames in total and 3 parallel processing operator nodes. The node identifiers of the 3 parallel processing operator nodes are 0, 1, and 2 respectively. Then, according to the equal distribution strategy, each parallel operator node processes 2 frames of data, and further calculates the node identifier of each frame of data that is finally forwarded. The calculation result of 6%3 is 0, the calculation result of 5%3 is 2, the calculation result of 4%3 is 1, the calculation result of 3%3 is 0, the calculation result of 2%3 is 2, and the calculation result of 1%3 is 1. That is, the 6th data frame and the 2nd data frame are processed by the processing operator node with node identifier 0, that is, the 4th data frame and the 1st data frame are processed by the processing operator node with node identifier 1, and the 2nd data frame and the 5th data frame are processed by the processing operator node with node identifier 2.
[0044] Through the above method, the distribution operator node actively distributes data frames according to the number of processing operator nodes and the number of data frames, distributes and processes data frames efficiently and reasonably, and improves resource utilization.
[0045] In another embodiment of the present application, the algorithm data processing device obtains the data channel number and the number of channels of the data frame to be processed; distributes the data channel number evenly to each processing operator node according to the number of channels and the number of processing operator nodes, and establishes a binding relationship between the data channel number and the processing operator node; and distributes the data frame to be processed to each processing operator node according to the binding relationship.
[0046] For example, if there are five data channels, A, B, C, D, and E in order, and there are three parallel operator nodes ALG_0, ALG_1, and ALG_2, the mapping relationship shown in Table 1 is generated: Table 1 Mapping relationship between processing operator nodes and data channel numbers
[0047] That is, the data frames of channels A and D will be forwarded to ALG_0; the data of channels B and E will be forwarded to ALG_1, and the data of channel C will be forwarded to ALG_2.
[0048] In the embodiment of the present application, the mapping relationship between the data channel number and the processing operator node is established and distributed according to the equal distribution strategy. When the number of parallel processing operator nodes increases or the number of data channels increases, the mapping relationship is adaptively adjusted according to the equal distribution strategy. The mapping relationship after increasing the number of processing operator nodes and data channels is shown in Table 2: Table 2 Mapping relationship after increasing the number of processing operator nodes and data channels
[0049] Through the above method, data distribution is adaptively adjusted so that after the increase of processing operator nodes, the original processing operator nodes will not still handle too many tasks, thereby improving resource utilization and operator processing efficiency.
[0050] Furthermore, the present application also proposes an embodiment, which can be distributed according to a preset distribution strategy. A processing task can process a maximum number of data channels of 10. The processing task includes two parallel processing operator nodes x and y. When configuring, the maximum number of channels 10 is divided into two parts according to the preset distribution strategy, for example, 2 and 8. At this time, the distribution operator node will bind the 2 data channel mappings to algorithm A and the 8 data channel mappings to algorithm B. The data distribution strategy is implemented according to this mapping relationship.
[0051] It should be noted that in an embodiment of the present application, when there are multiple parallel processing operator sets in a pipeline task, for example, the original operator node set is n sequentially connected operator nodes, and the operator data processing device performs parallel expansion on operator node 2 and operator node 5 (not shown in the figure), respectively. The expanded operator node 2 and operator node 5 (not shown in the figure) each have a distribution operator node. At this time, the distribution strategies of the two distribution operator nodes can be the same or different. The same setting method is also used for the merged operator node, which will not be repeated here.
[0052] The above method can run different processing operator nodes on hardware resources with different capabilities. The processing operator nodes with more bound data channels can be run on hardware units with strong performance, and the processing operator nodes with fewer bound data channels can be run on hardware units with weak performance, so as to achieve optimal performance and optimal resource utilization.
[0053] Step S14: respectively inputting the processing results of each processing operator node into the merging operator node, so that the merging operator node obtains the processing results of each processing operator node and obtains the final processing result of the data frame to be processed.
[0054] It should be noted that the merging in the embodiments of the present application is a broad concept of data processing rather than a narrow concept of merging data. The role of the merging operator node is to process the processing results of each operator node, receive data from each processing operator node and forward the data to the downstream node, which can further improve the data integration and controllability compared with direct forwarding.
[0055] Specifically, in the embodiments of the present application, three specific embodiments are provided to process the processing results of each processing operator node, as follows: In a specific embodiment of the present application, the algorithm data processing device sends the processing results of each processing operator node to the next operator node or output node in sequence according to the order in which the processing results of each processing operator node arrive at the merging operator node.
[0056] Specifically, data adopts a first-come-first-out mode, and multiple input data are connected to the merging operator node. The data is directly forwarded and output to the downstream operator node or output node according to the order in which the data arrives at the merging operator node.
[0057] In another specific embodiment of the present application, the algorithm data processing device obtains the timestamp information of the processing results of each processing operator node; determines whether the timestamp information satisfies the current timestamp order; if not, caches the processing results to the cache queue until the timestamp information satisfies the current timestamp order, and sends the processing results to the next operator node or the output node through the merge operator node.
[0058] Specifically, the processing results of each processing operator node are in the form of data packets, each data packet includes timestamp information, and the algorithm data processing device forwards and outputs it in the order of timestamps. The circulating data packets will be marked with the timestamp information when the data enters the algorithm library, and the data packet entrance will be marked by +1 increments to indicate the order in which the data is sent in. The merging operator will make a comparison and judgment based on the timestamp information, record the timestamp sequence number of each processing, and only forward and output the data that meets the requirements.
[0059] For example, the timestamp sequence number recorded by the merge operator at this time is 5, which means that 5 frames of data packets have been processed. According to this strategy, the next processing should be a data packet with a timestamp of 6. At this time, the two upstream processing operator nodes are processing two data packets with timestamps 6 and 7. At this time, one of the processing operator nodes has a faster processing speed and gives the merge operator a frame of data packets with a timestamp of 7. At this time, it does not match the time sequence. This data packet will not be output directly, but will be cached in the queue for waiting. At this time, the other processing operator node will send the data packet to the merge operator node after processing. The timestamp of this data packet is 6, which is in line with expectations. Then the data packet with a timestamp of 6 will be output, and then the cached data packet with a timestamp of 7 will be output.
[0060] Through the above methods, the stable operation of the algorithm process is guaranteed.
[0061] In another specific embodiment of the present application, the algorithm data processing device packages the processing results of each processing operator node at the merging operator node, and sends the packaged data packet to the next operator node or the output node.
[0062] Specifically, the merging operator node synchronously waits for the output results of the parallel processing operator nodes, packages these data packets into a batch of data packets, and outputs them to the downstream nodes.
[0063] For example, there are three parallel processing operator nodes upstream of the merge operator node, and three data packets are sent to the three processing operator nodes for concurrent processing, with different processing times. The merge operator node will wait until all three processing operator nodes have output data results, and then pack the three data into a batch (mark them in the data packet) before outputting them downstream.
[0064] This application is different from the existing technology. It supports the expansion of channel-independent operator nodes to improve the parallelism of operator operation, improve pipeline processing efficiency, improve equipment resource utilization, and reduce unnecessary resource overhead. Actively distributing data through a number of distribution strategies can fully meet the different needs of the solution pipeline in different business scenarios, quickly obtain the optimal performance solution for different solutions in different equipment and different scenarios, and ultimately accelerate the implementation of algorithm processing solutions.
[0065] In order to implement the algorithm data processing method of the above embodiment, the present application also provides an algorithm data processing device, which is specifically referred to in Figure 4 , Figure 4 It is a structural diagram of an embodiment of an algorithm data processing device provided by the present application.
[0066] like Figure 4 As shown, the algorithm data processing device 600 of this embodiment includes a processor 61, a memory 62, an input and output device 63 and a bus 64.
[0067] The processor 61 , the memory 62 , and the input / output device 63 are respectively connected to the bus 64 . The memory 62 stores a computer program, and the processor 61 is used to execute the computer program to implement the algorithm data processing method of the above embodiment.
[0068] In this embodiment, the processor 61 may also be referred to as a CPU (Central Processing Unit). The processor 61 may be an integrated circuit chip with signal processing capabilities. The processor 61 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components. The processor 61 may also be a GPU (Graphics Processing Unit), also known as a display core, a visual processor, or a display chip, which is a microprocessor that is specifically used for image computing on computers, workstations, game consoles, and some mobile devices (such as tablet computers, smart phones, etc.). The purpose of the GPU is to convert and drive the display information required by the computer system, and to provide a line scan signal to the display to control the correct display of the display. It is an important component that connects the display and the computer motherboard. As an important component of the computer host, the graphics card is responsible for outputting display graphics. The general-purpose processor may be a microprocessor or the processor 61 may also be any conventional processor, etc.
[0069] The present application also provides a computer storage medium, such as Figure 5 As shown, the computer storage medium 700 is used to store a computer program 71. When the computer program 71 is executed by a processor, it is used to implement the method described in the embodiment of the algorithm data processing method of the present application.
[0070] The method involved in the embodiment of the algorithm data processing method of the present application, when implemented in the form of a software functional unit and sold or used as an independent product, can be stored in a device, such as a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0071] The above description is only an implementation mode of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An algorithmic data processing method, characterized in that: The algorithm data processing method comprises: Initializing an operator node set based on an algorithm configuration file, wherein the operator node set includes at least a distribution operator node, a processing operator node set, and a merging operator node, and the processing operator node set includes at least two parallel processing operator nodes; Inputting the data frame to be processed into the distribution operator node, wherein the distribution operator node presets a distribution strategy; According to the preset distribution strategy, the distribution operator node is controlled to evenly distribute the data frames to be processed to each processing operator node according to the number of frames and / or the number of channels; The processing results of the various processing operator nodes are respectively input to the merging operator node, so that the merging operator node obtains the processing results of the various processing operator nodes and obtains the final processing result of the data frame to be processed.
2. The algorithm data processing method according to claim 1, characterized in that: The controlling the distribution operator node to distribute the to-be-processed data frames to each processing operator node evenly according to the number of frames and / or the number of channels according to the preset distribution strategy includes: Obtaining the number of data frames received by the distribution operator node; Obtaining the number of processing operator nodes; The number of data frames to be processed is evenly distributed to each processing operator node according to the number of the processing operator nodes.
3. The algorithm data processing method according to claim 1, characterized in that: The controlling the distribution operator node to distribute the to-be-processed data frames to each processing operator node evenly according to the number of frames and / or the number of channels according to the preset distribution strategy includes: Obtain the data channel number and the number of channels of the data frame to be processed; Distribute the data channel number equally to each processing operator node according to the number of channels and the number of processing operator nodes, and establish a binding relationship between the data channel number and the processing operator node; The data frames to be processed are distributed to each processing operator node according to the binding relationship.
4. The algorithm data processing method according to claim 1, characterized in that: The inputting the processing results of the respective processing operator nodes to the merging operator node respectively so that the merging operator node obtains the processing results of the respective processing operator nodes includes: The processing results of the processing operator nodes are sent to the next operator node or the output node in sequence according to the order in which the processing results of the processing operator nodes arrive at the merging operator node.
5. The algorithm data processing method according to claim 1, characterized in that: The inputting the processing results of the respective processing operator nodes to the merging operator node respectively so that the merging operator node obtains the processing results of the respective processing operator nodes includes: Get the timestamp information of the processing results of each processing operator node; Determining whether the timestamp information satisfies the current timestamp sequence; If not, the processing result is cached in a cache queue until the timestamp information satisfies the current timestamp order, and the processing result is sent to the next operator node or the output node through the merging operator node.
6. The algorithm data processing method according to claim 1, characterized in that: The inputting the processing results of the respective processing operator nodes to the merging operator node respectively so that the merging operator node obtains the processing results of the respective processing operator nodes includes: The processing results of the various processing operator nodes are packaged at the merging operator node, and the packaged data packets are sent to the next operator node or the output node.
7. The algorithm data processing method according to claim 1, characterized in that: The input parameter configuration of the parallel processing operator node is the same as the output parameter configuration of the distribution operator node; The input parameter configuration of the merging operator node is generated according to the output parameter configuration of the parallel processing operator node.
8. The algorithm data processing method according to any one of claims 1 to 7, characterized in that: The parallel processing operator nodes are used to execute image processing tasks, audio processing tasks and / or semantic processing tasks. The parallel processing operator nodes execute the same processing tasks or execute different processing tasks.
9. An algorithm data processing device, characterized in that: The algorithm data processing device includes a processor and a memory; the memory stores a computer program, and the processor is used to execute the computer program to implement the steps of the algorithm data processing method as described in any one of claims 1 to 8.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed, the steps of the algorithm data processing method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Message processing method and device and storage medium
CN110008037A
Dirty data identification method, device and system
CN112783924A
Operation data processing method and device, computer equipment and storage medium
CN114327857A
