CN114358577A - Order information processing method and device - Google Patents

Order information processing method and device Download PDF

Info

Publication number
CN114358577A
CN114358577A CN202111664441.8A CN202111664441A CN114358577A CN 114358577 A CN114358577 A CN 114358577A CN 202111664441 A CN202111664441 A CN 202111664441A CN 114358577 A CN114358577 A CN 114358577A
Authority
CN
China
Prior art keywords
task
execution
executive
order information
determining
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
CN202111664441.8A
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.)
Guangzhou Jiafan Computer Co ltd
Original Assignee
Guangzhou Jiafan Computer 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 Guangzhou Jiafan Computer Co ltd filed Critical Guangzhou Jiafan Computer Co ltd
Priority to CN202111664441.8A priority Critical patent/CN114358577A/en
Publication of CN114358577A publication Critical patent/CN114358577A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses an order information processing method and device, wherein the order information processing method comprises the following steps: acquiring newly added order information, wherein the order information comprises a first executive task and a second executive task; determining priority information of the first executive task and the second executive task, and respectively determining a first position and a second position of the first executive task and the second executive task in a pipeline queue according to the priority information; adding the first executing task to a first location in the pipeline queue and adding the second executing task to a second location in the pipeline queue. According to the technical scheme provided by the embodiment of the application, the dispatching distribution of the multiple orders by adopting different processing mechanisms is realized according to the diversity and the attribute difference of the orders, the balanced distribution of the commodities to be processed is adjusted in each process according to the commodity demand quantity and the commodity attribute during the production line operation processing, each process of the commodities is synchronized, the retention of semi-finished products is reduced, and the production period can be shortened.

Description

Order information processing method and device
Technical Field
The embodiment of the application relates to the field of pipeline control, in particular to an order information processing method and device.
Background
In the order production system, an order is generated through a business system, the order is obtained through the production system, and the order is processed through corresponding production lines. When a plurality of orders enter a production system, a sequential processing mechanism is mostly adopted in the existing order allocation scheduling process, that is, order sequences are added to a message queue, however, the allocation formula has poor flexibility along with the diversity of orders and the difference of order attributes, and needs to be improved.
Disclosure of Invention
The embodiment of the invention provides an order information processing method, which solves the problem in the prior art that when a plurality of orders enter a production system, order allocation scheduling only adopts a single sequential processing mechanism, so that the flexibility of an allocation mode is poor, realizes scheduling allocation of the orders by adopting different processing mechanisms according to the diversity and the attribute difference of the orders, adjusts the balance distribution of commodities to be processed in each process according to the commodity demand quantity and the commodity attribute during production line processing, enables each process of the commodities to be processed synchronously, reduces the detention of semi-finished products, and can shorten the production period.
In a first aspect, the present embodiment provides an order information processing method, where the method includes:
acquiring newly added order information, wherein the order information comprises a first executive task and a second executive task;
determining priority information of the first executive task and the second executive task, and respectively determining a first position and a second position of the first executive task and the second executive task in a pipeline queue according to the priority information;
adding the first executing task to a first location in the pipeline queue and adding the second executing task to a second location in the pipeline queue.
Further, the determining the priority information of the first execution task and the second execution task further includes:
and determining priority information of the first executive task and the second executive task according to the sequence relation of the first executive task and the second executive task, wherein the priority information comprises the execution sequence of the first executive task and the second executive task.
Further, the determining a first position and a second position of the first execution task and the second execution task in a pipeline queue according to the priority information respectively includes:
and determining a first position and a second position of the first execution task and the second execution task in the pipeline queue according to the priority information, the first job quantity corresponding to the first execution task and the second job quantity corresponding to the second execution task, which are respectively recorded in the pipeline queue.
Further, the determining the first and second positions of the first and second execution tasks in the pipeline queue includes:
determining a first position and a second position in a pipeline queue such that the first job number is greater than or equal to the second job number if the first execution task has a higher priority than the second execution task;
determining a first position and a second position in a pipeline queue such that the first number of jobs is less than the second number of jobs if the first execution task is lower in priority than the second execution task.
Further, the determining the priority information of the first execution task and the second execution task includes:
and determining priority information of the first executive task and the second executive task according to task execution information of a current pipeline, wherein the task execution information comprises a first execution quantity and a second execution quantity corresponding to the first executive task and the second executive task respectively.
Further, the determining a first position and a second position of the first execution task and the second execution task in a pipeline queue according to the priority information respectively includes:
and when the first execution number is larger than the preset number, determining a position point added with a preset unit position after the last execution task content in the current pipeline queue as a first position.
Further, the determining a first position and a second position of the first execution task and the second execution task in a pipeline queue according to the priority information respectively includes:
and when the first execution number is smaller than the preset number, determining a first unit position in the pipeline queue as a first position.
In a second aspect, an embodiment of the present application provides an order information processing apparatus, including:
an order acquisition module: acquiring newly added order information, wherein the order information comprises a first executive task and a second executive task;
a position determination module: determining priority information of the first executive task and the second executive task, and respectively determining a first position and a second position of the first executive task and the second executive task in a pipeline queue according to the priority information;
a queue adding module: and adding the first execution task and the second execution task to a second position in the pipeline queue.
In a third aspect, an embodiment of the present application provides an order processing device based on a message queue, where the device includes:
one or more processors; a storage device for storing one or more programs, which when executed by the one or more processors, cause the one or more processors to implement any one of the order information processing methods.
In a fourth aspect, embodiments of the present application provide a storage medium storing computer-executable instructions, which when executed by a computer processor, are configured to perform the message queue-based order processing method.
The embodiment of the application discloses an order information processing method and device, wherein the order information processing method comprises the following steps: acquiring newly added order information, wherein the order information comprises a first executive task and a second executive task; determining priority information of the first executive task and the second executive task, and respectively determining a first position and a second position of the first executive task and the second executive task in a pipeline queue according to the priority information; adding the first executing task to a first location in the pipeline queue and adding the second executing task to a second location in the pipeline queue. According to the technical scheme provided by the embodiment of the application, the dispatching distribution of the multiple orders by adopting different processing mechanisms is realized according to the diversity and the attribute difference of the orders, the balanced distribution of the commodities to be processed is adjusted in each process according to the commodity demand quantity and the commodity attribute during the production line operation processing, each process of the commodities is synchronized, the retention of semi-finished products is reduced, and the production period can be shortened.
Drawings
Fig. 1 is a detailed flowchart of an order information processing method according to an embodiment of the present disclosure;
fig. 2 is a diagram of pipeline queue enqueuing in an order information processing method according to an embodiment of the present disclosure;
fig. 3 is a diagram of dequeuing a pipeline queue in an order information processing method according to an embodiment of the present disclosure;
fig. 4 is a specific flowchart of another order information processing method according to the embodiment of the present disclosure;
fig. 5 is a specific flowchart of another order information processing method according to the embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an order information processing apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an order information processing apparatus according to an embodiment of the present disclosure;
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Fig. 1 is a specific flowchart of an order information processing method according to an embodiment of the present disclosure, where the order information processing method according to the embodiment of the present disclosure may be completed by an order information processing apparatus, and the order information processing apparatus may be implemented in a hardware and/or software manner and integrated in a computer device. Referring to fig. 1, the method may specifically include:
s101, newly added order information is obtained, and the order information comprises a first executive task and a second executive task.
The order information refers to information of buying and selling commodities, and mainly comprises an order number, order placing user information, order basic information, such as specific commodities and commodity quantity, payment information and receiving information, and the order information in the scheme refers to electronic order information. The first execution task and the second execution task refer to specific procedures required for completing a certain commodity to be processed. Specifically, after the business system generates new order information, the production system acquires the new order information, disassembles the order information, and sets a first execution task and a second execution task according to the commodity processing procedure. The operation type of the commodities to be processed is a combined product task, and the sequence of the commodity processes can be set in advance or not. And if the operation type of the commodity to be processed is a single product task, adopting a default processing mechanism based on the time sequence. Aiming at the difference of the operation types of different commodities, different processing mechanisms are adopted for scheduling and distributing, the distribution mode is flexible, and the production period can be greatly shortened.
S102, determining priority information of the first executive task and the second executive task, and respectively determining a first position and a second position of the first executive task and the second executive task in a pipeline queue according to the priority information.
The priority is a parameter for determining the priority level of each operation program to receive system resources when the computer time-sharing operation system processes a plurality of operation programs, namely the priority is a convention, the prior processing with high priority and the post-processing with low priority. The first position refers to a position corresponding to the first execution task in the pipeline queue, the second task refers to a position corresponding to the second execution task in the pipeline queue, and each pipeline is provided with a corresponding queue for storing order information.
In the scheme, the first position and the second position in the corresponding pipeline queue are determined according to the priority information of the first executive task and the second executive task. The pipeline queues are sequentially dequeued from the head of the queue, and task information arranged at the head of the queue is processed preferentially. If the priority of the first task is higher than that of the second task, writing the corresponding first position into the head of the pipeline queue; and if the priority of the second task is higher than that of the first task, writing the corresponding second position into the head of the pipeline queue, and ensuring that the task with the high priority is processed preferentially. In the scheme, the balance of the task execution of the commodities to be processed is dynamically adjusted by utilizing the priority information, so that each process of the commodities is synchronously processed, the retention of semi-finished products is reduced, and the production period can be shortened.
S103, adding the first execution task to a first position in the pipeline queue, and adding the second execution task to a second position in the pipeline queue.
The execution tasks correspond to positions in the pipeline one by one, and the first execution tasks and the second execution tasks are added to the positions corresponding to the pipeline queue according to the priority information of the first execution tasks and the second execution tasks.
In one embodiment, for example, the first fulfillment task of the a merchandise may have a higher priority than the second fulfillment task. The first task is added to a first location of the pipeline queue and the second task information is added to a second location of the pipeline queue. Fig. 2 is a pipeline queue enqueue diagram in an order information processing method according to an embodiment of the present disclosure, and as shown in fig. 2, the first position is at a head of the pipeline queue, and the second position is at a tail of the pipeline queue. Fig. 3 is a diagram of dequeuing a pipeline queue in an order information processing method according to an embodiment of the present invention, and as shown in fig. 3, when an execution task is read for processing, a first execution task at a head of the queue preferentially dequeues, at this time, second execution information moves to the head of the queue, and then dequeues next. In the scheme, the order information on the pipeline can be protected by the Transport Layer Security (TLS) of the pipeline queue, and the order information can be protected on the target queue by the built-in access control. If there is a network or application interrupt that causes the pipeline queue to not immediately pass the order information, the order information is secured in its wait queue until all the order information is run. Other mechanisms use at least one or at most one message passing, which means that messages will be repeated or lost, and in this scheme the pipeline queue will only move data once, i.e. with the pipeline queue, the order information will never be repeated or lost.
The task execution sequence of the commodities is determined according to the priorities of the commodities, the corresponding position information of the commodities in the assembly line queue is determined, the balance of task execution of the commodities to be processed is dynamically adjusted, each process of the commodities is synchronized, the retention of semi-finished products is reduced, and the production period can be shortened accordingly.
Fig. 4 is a specific flowchart of another order information processing method according to the embodiment of the present invention, where the order processing method based on the message queue is an embodiment of the order processing method based on the message queue.
Referring to fig. 4, the order processing method based on the message queue includes:
s401, newly added order information is obtained, and the order information comprises a first executive task and a second executive task.
And after the business system generates new order information, the production system acquires the new order information, disassembles the order information and sets a first executive task and a second executive task according to the commodity processing procedure. The operation type of the commodities to be processed is a combined product task, and the sequence of the commodity processes can be set in advance or not. And if the operation type of the commodity to be processed is a single product task, adopting a default processing mechanism based on the time sequence. Aiming at the difference of the operation types of different commodities, different processing mechanisms are adopted for scheduling and distributing, the distribution mode is flexible, and the production period can be greatly shortened.
S402, determining priority information of the first executive task and the second executive task according to the sequence relation of the first executive task and the second executive task, wherein the priority information comprises the execution sequence of the first executive task and the second executive task.
The order relationship between the first execution task and the second execution task means that the first execution task and the second execution task of the commodity require an execution order, for example, the second execution task can be performed after the first execution task is completed. At this time, the priorities of the first execution order and the second execution order are determined according to the order relation required for executing the tasks, and the task to be executed first is required to have a high priority. The priority information also includes the execution order of the first execution task and the second execution task, that is, when the priority of the first execution task is higher than that of the second execution task, the first execution task is executed preferentially.
In one embodiment, due to the particularity of the commodity, the commodity must execute the first execution task before executing the second execution task, and at the moment, the priority of the first execution task is higher than that of the second execution task. For example, in the production process of wood carving, the wood board model must be processed first, and carving is carried out, so that the priority of processing the wood board model is higher than that of carving. The priority of task execution is determined according to the requirement of the processing sequence of the commodity, and the task needing to be executed preferentially is given high priority to ensure that the task is executed preferentially. Through the steps, the processing sequence of the commodities is ensured to be executed according to the set requirements.
And S403, determining a first position and a second position of the first execution task and the second execution task in the pipeline queue according to the priority information, the first job quantity corresponding to the first execution task and the second job quantity corresponding to the second execution task, which are respectively recorded in the pipeline queue.
The first job number is the number of commodities for which the first execution task has been completed, and the second job number is the number of commodities for which the second execution task has been completed. According to the scheme, according to the priority information of the commodities, the first position and the second position corresponding to the first executive task and the second executive task in a pipeline queue are determined by combining the operation quantity of finished commodities corresponding to the first executive task and the second executive task respectively. And determining the specific position of the executing task in the pipeline queue according to the priority of the executing task and the completion progress of the executing task.
S404, if the priority of the first execution task is higher than that of the second execution task, determining a first position and a second position which enable the first job number to be larger than or equal to the second job number in a pipeline queue; determining a first position and a second position in a pipeline queue such that the first number of jobs is less than the second number of jobs if the first execution task is lower in priority than the second execution task.
In one embodiment, when the first execution task sequence of the article a is required to be before the second execution task sequence, the priority of the first execution task is higher than the priority of the second execution task, a first position corresponding to the first execution task is written into the head of the pipeline queue, and a second position corresponding to the second execution task is written into the tail of the pipeline queue, so that the first job number of the article a is greater than or equal to the second job number; and after the first execution task sequence of the commodity A is required to be behind the second execution task sequence, writing a first position corresponding to the first execution task into the tail of the pipeline queue, and writing a second position corresponding to the second execution task into the head of the pipeline queue, so that the first operation number of the commodity B is smaller than the second operation number.
Specifically, since the order of execution of the process tasks of the product is considered based on the priority, the number of jobs corresponding to the task step with the highest product priority should be equal to or greater than the number of jobs corresponding to the task step with the lowest product priority, that is, the number of completions corresponding to the process that is required to be executed preferentially is equal to or greater than the number of completions corresponding to the process that is executed later. For example, in the wood carving process, the wood board model is preferentially processed, then the carving process is performed, if the number of commodities for completing the wood board model process is 90 and the number of commodities for completing the carving process is 95, 5 wood boards are provided, the carving process is directly performed without the model process, namely the processing sequence is wrong, and the carving process is damaged when the wood board model is processed after the carving process, so that the 5 commodities fail to be processed and become waste.
According to the commodity processing sequence monitoring method, the commodity processing sequence correctness is monitored in the aspects of the processing mechanism and the commodity completion quantity through the priorities of the first execution task and the second execution task and the finished commodity quantity corresponding to the tasks, the commodity processing in sequence is guaranteed, and the rejection rate is reduced.
Fig. 5 is a specific flowchart of another order information processing method according to the embodiment of the present invention, where the order processing method based on the message queue is an embodiment of the order processing method based on the message queue.
Referring to fig. 5, the order processing method based on the message queue includes:
s501, newly added order information is obtained, and the order information comprises a first executive task and a second executive task.
And after the business system generates new order information, the production system acquires the new order information, disassembles the order information and sets a first executive task and a second executive task according to the commodity processing procedure. The operation type of the commodities to be processed is a combined product task, and the sequence of the commodity processes can be set in advance or not. And if the operation type of the commodity to be processed is a single product task, adopting a default processing mechanism based on the time sequence. Aiming at the difference of the operation types of different commodities, different processing mechanisms are adopted for scheduling and distributing, the distribution mode is flexible, and the production period can be greatly shortened.
S502, determining priority information of the first executive task and the second executive task according to task execution information of a current pipeline, wherein the task execution information comprises a first execution quantity and a second execution quantity corresponding to the first executive task and the second executive task respectively.
The task execution information refers to the processing progress of the commodity, and comprises the total quantity of the commodity and the finished commodity quantity of each executed task, namely the first executed quantity and the second executed quantity, and the priority information of the executed tasks is determined according to the task execution information of the pipeline. It will be appreciated that there is no particular ordering requirement for the performance of the tasks of the articles to be processed at this time. The completion sequence of each execution task is coordinated according to the processing progress of the commodities, the commodities are guaranteed to be processed orderly, and the production efficiency is improved.
Further, the determination of the priority level for executing the task may be based on a comparison of the first number of executions and the second number of executions. In one embodiment, the first execution task and the second execution task of the article a have no sequential requirement, for example, in the production process, the total number of the article a is 100, the first execution number corresponding to the first execution task is 50, and the second execution number corresponding to the second execution task is 70, which indicates that the article a to be processed for the first execution task is 50, and the article a to be processed for the second execution task is 30, at this time, the first execution task has a higher priority than the second execution task, it is avoided that after all the articles a complete the second execution task, the execution of the first task is queued, the balance of the article tasks to be processed is dynamically adjusted, so that the processes of the article are synchronized, the retention of semi-finished products is reduced, and the production period can be shortened accordingly.
S503, when the first execution number is larger than the preset number, determining a position point added with a preset unit position after the last execution task content in the current pipeline queue as a first position. And when the first execution number is smaller than the preset number, determining a first unit position in the pipeline queue as a first position.
In the scheme, when the first execution quantity of the commodities is larger than or equal to the preset quantity, a position point of a preset unit is added after the tail of the last queue of the assembly line queue, and the position point is set as a first position corresponding to the first execution task. And if the first execution quantity is less than the preset quantity after the commodities are finished, setting the head of the assembly line queue as a first position corresponding to the first execution task. The preset number and the position points of the preset units are set by technicians according to actual conditions.
In an embodiment, for example, 500 pieces of goods B to be processed are processed, since 200 pieces of goods in a certain order need to be processed with urgency, the preset number is set to 200 pieces, if the first execution number corresponding to the goods B at this time is 150 pieces, the first position corresponding to the first execution task is written into the head of the pipeline queue, the first execution task is completed preferentially, until it is detected that the first execution number is greater than or equal to 200 pieces, the second execution number is 180 pieces, the first position corresponding to the first execution task is written into the position points of the last 20 positions of the tail of the pipeline queue, and it is ensured that the second execution number reaches the preset number.
When the urgent order exists in the order information, the quantity of the commodities in the urgent order is set to be the preset quantity, the priority completion of the commodities in the urgent order is guaranteed, and the urgent processing problem of a part of orders in the automatic production process of the commodities is solved.
Fig. 6 is a schematic structural diagram of an order information processing apparatus according to an embodiment of the present invention, and referring to fig. 6, the order information processing apparatus according to the embodiment specifically includes: an order acquisition module 601, a position determination module 602, and a queue addition module 603. The various modules may be connected by a bus or other means, such as by a bus in fig. 6.
The order obtaining module is used for obtaining newly added order information, and the order information comprises a first executive task and a second executive task.
In one embodiment, the order production system produces new order information, and the production system acquires the generated new order information and divides the processing procedure of the commodity in the order information into a first execution task and a second execution task.
The position determining module is used for determining priority information of the first executive task and the second executive task, and respectively determining a first position and a second position of the first executive task and the second executive task in a pipeline queue according to the priority information.
In one embodiment, the first fulfillment task of the A merchandise has a higher priority than the second fulfillment task. In the pipeline queue, the first position precedes the second position.
The queue adding module is used for adding the first execution task to a first position in the pipeline queue and adding the second execution task to a second position in the pipeline queue.
In one embodiment, the first executing task is added to a first location of the pipeline queue and the second task information is added to a second location of the pipeline queue. As shown in fig. 6, the first position is at the head of the pipeline queue and the second position is at the tail of the pipeline queue.
The order information processing device provided by the embodiment of the application can be used for executing the order information processing method provided by the embodiment, and has corresponding functions and beneficial effects.
Fig. 7 is a schematic structural diagram of an order information processing apparatus according to an embodiment of the present invention, as shown in fig. 7, the apparatus includes a processor 701, a memory 702, an input device 703 and an output device 704; the number of the processors 701 in the device may be one or more, and one processor 701 is taken as an example in fig. 7; the processor 701, the memory 702, the input device 703 and the output device 704 of the apparatus may be connected by a bus or other means, for example, in fig. 7. The memory 702 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the message queue-based order processing method in the embodiment of the present invention. The processor 701 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 702, that is, implements the message queue-based order processing method described above. The input device 703 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the apparatus. The output device 704 may include a display device such as a display screen.
Of course, the storage medium provided in the embodiments of the present application includes computer-executable instructions, and the computer-executable instructions are not limited to the above-mentioned order processing method based on a message queue, and may also perform related operations in the order processing method based on a message queue provided in any embodiment of the present application.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims (10)

1. The order information processing method is characterized by comprising the following steps:
acquiring newly added order information, wherein the order information comprises a first executive task and a second executive task;
determining priority information of the first executive task and the second executive task, and respectively determining a first position and a second position of the first executive task and the second executive task in a pipeline queue according to the priority information;
adding the first executing task to a first location in the pipeline queue and adding the second executing task to a second location in the pipeline queue.
2. The order information processing method according to claim 1, wherein the determining priority information of the first execution task and the second execution task includes:
and determining priority information of the first executive task and the second executive task according to the sequence relation of the first executive task and the second executive task, wherein the priority information comprises the execution sequence of the first executive task and the second executive task.
3. The order information processing method according to claim 2, wherein said determining a first position and a second position of the first executive task and the second executive task in a pipeline queue respectively according to the priority information comprises:
and determining a first position and a second position of the first execution task and the second execution task in the pipeline queue according to the priority information, the first job quantity corresponding to the first execution task and the second job quantity corresponding to the second execution task, which are respectively recorded in the pipeline queue.
4. The order information processing method according to claim 3, wherein said determining the first and second positions of the first and second execution tasks in a pipeline queue comprises:
determining a first position and a second position in a pipeline queue such that the first job number is greater than or equal to the second job number if the first execution task has a higher priority than the second execution task;
determining a first position and a second position in a pipeline queue such that the first number of jobs is less than the second number of jobs if the first execution task is lower in priority than the second execution task.
5. The order information processing method according to claim 1, wherein the determining priority information of the first execution task and the second execution task includes:
and determining priority information of the first executive task and the second executive task according to task execution information of a current pipeline, wherein the task execution information comprises a first execution quantity and a second execution quantity corresponding to the first executive task and the second executive task respectively.
6. The order information processing method according to claim 5, wherein said determining a first position and a second position of the first executive task and the second executive task in a pipeline queue respectively according to the priority information comprises:
and when the first execution number is larger than the preset number, determining a position point added with a preset unit position after the last execution task content in the current pipeline queue as a first position.
7. The order information processing method according to claim 5, wherein said determining a first position and a second position of the first executive task and the second executive task in a pipeline queue respectively according to the priority information comprises:
and when the first execution number is smaller than the preset number, determining a first unit position in the pipeline queue as a first position.
8. The order information processing method device is characterized by comprising the following steps:
an order acquisition module: acquiring newly added order information, wherein the order information comprises a first executive task and a second executive task;
a position determination module: determining priority information of the first executive task and the second executive task, and respectively determining a first position and a second position of the first executive task and the second executive task in a pipeline queue according to the priority information;
a queue adding module: adding the first executing task to a first location in the pipeline queue and adding the second executing task to a second location in the pipeline queue.
9. An order information processing method device, the device comprising: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the order information processing method according to any one of claims 1 to 7.
10. A storage medium storing computer-executable instructions for performing the order information processing method of any one of claims 1-7 when executed by a computer processor.
CN202111664441.8A 2021-12-31 2021-12-31 Order information processing method and device Pending CN114358577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111664441.8A CN114358577A (en) 2021-12-31 2021-12-31 Order information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111664441.8A CN114358577A (en) 2021-12-31 2021-12-31 Order information processing method and device

Publications (1)

Publication Number Publication Date
CN114358577A true CN114358577A (en) 2022-04-15

Family

ID=81104721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111664441.8A Pending CN114358577A (en) 2021-12-31 2021-12-31 Order information processing method and device

Country Status (1)

Country Link
CN (1) CN114358577A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117666502A (en) * 2023-12-04 2024-03-08 保特罗玻璃工业(佛山)有限公司 Automatic glass production control method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117666502A (en) * 2023-12-04 2024-03-08 保特罗玻璃工业(佛山)有限公司 Automatic glass production control method and device

Similar Documents

Publication Publication Date Title
US10664283B2 (en) Computing system and controller thereof
US8713571B2 (en) Asynchronous task execution
US9501318B2 (en) Scheduling and execution of tasks based on resource availability
CN106104483A (en) Abnormality processing in microprocessor system
CN109902975B (en) Scheduling method, system, apparatus and computer readable storage medium
CN106503020B (en) Log data processing method and device
CN110162388A (en) A kind of method for scheduling task, system and terminal device
CN103870327A (en) Real-time multitask scheduling method and device
CN108415778A (en) Task ranking method, device and scheduling system
CN106293918A (en) A kind of dispatch the method for process, system and computer
CN105045632A (en) Method and device for implementing lock free queue in multi-core environment
CN111104210A (en) Task processing method and device and computer system
CN102402401A (en) Method for scheduling input output (IO) request queue of disk
US10514949B1 (en) Efficient data processing in a serverless environment
CN110058930A (en) Method for scheduling task and equipment
CN114358577A (en) Order information processing method and device
CN109669767B (en) Task packaging and scheduling method and system for multi-type context dependence
JP2015115015A (en) Process management device, process management program, and process management system
CN109901785A (en) Order sort method reduces and reads time delay method and solid-state hard disk SSD controller
CN109800074A (en) Task data concurrently executes method, apparatus and electronic equipment
CN112860401A (en) Task scheduling method and device, electronic equipment and storage medium
EP2801913A1 (en) Memory control apparatus and method
CN115344370A (en) Task scheduling method, device, equipment and storage medium
CN114358578A (en) Order processing method and device based on message queue
CN110825502B (en) Neural network processor and task scheduling method for neural network processor

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