Delayed order dispatching method and system, electronic equipment and storage medium

Through the delayed order dispatch method and system, the combination of order reception pool and delayed order dispatch pool is used to solve the problems of low efficiency and data consistency of operation personnel in order exception handling, and efficient and flexible order processing is achieved, reducing technology and Maintenance cost.

CN119228009APending Publication Date: 2024-12-31PIPECHINA SOUTH CHINA CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411144087.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The prior art causes low efficiency and error-prone operation personnel when handling order exceptions, and high dependence on message middleware, which may lead to duplicate review and data consistency problems.

Method used

Using the delayed order dispatch method and system, through the combination of the order receiving pool and the delayed order dispatch pool, we determine whether the pending order needs delay processing, and move it to the corresponding pool, and use the ZSET structure of the REDIS database for sorting. and storage reduce dependence on message middleware, improve data consistency and operational personnel flexibility.

Benefits of technology

It improves the processing efficiency of operation personnel, reduces the risk of duplicate processing and technical maintenance costs, ensures data consistency, and reduces the probability of misoperation and repeated audits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119228009A_ABST
    Figure CN119228009A_ABST
Patent Text Reader

Abstract

The invention discloses a delayed order dispatching method and system, electronic equipment and a storage medium, and relates to the technical field of order dispatching, and the method comprises the steps: judging whether a to-be-processed order exists in an order receiving pool corresponding to a user or not when the user receives an order, and obtaining a first judgment result; when the first judgment result is yes, pulling the to-be-processed order from an order receiving pool corresponding to the user, and judging whether to perform delay processing on the to-be-processed order to obtain a second judgment result; when the second judgment result is negative, processing the to-be-processed order; and when the second judgment result is yes, performing delay processing on the to-be-processed order, and moving the to-be-processed order to a delay order sending pool corresponding to the user. According to the invention, by using the order receiving pool and the delay order sending pool, the delay order sending function can be realized, the operation personnel can complete order receiving more flexibly and autonomously, the processing efficiency of the operation personnel is improved, the risk of repeated processing is reduced, the data consistency can be ensured, and the technology and maintenance cost can be greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the rapid development of Internet technology, almost all the items we can see and think of have become tangible or intangible commodities. An important concept in the entire circulation process of commodities is the order. The order contains a lot of content, such as commodity information, marketing information, address information, logistics information, etc. This information plays a vital role in the entire life cycle of the order. Any abnormality in any information will lead to the failure of the order flow, requiring manual intervention.

[0003] When an order has an exception and needs to be processed manually, in order to ensure that only one person handles the order at the same time, to avoid the cost of repeated operations and increased labor costs caused by simultaneous processing, and also for data security, the order permissions are usually isolated so that other people cannot see other people's orders. The current technical solution pushes abnormal order messages through the message middleware when an abnormal order is identified. The consumer side stores the abnormal order information in the operation system database through the consumption message. When the operation staff receives a message that requires them to review the order, they can use their unique identifier to query the orders that need to be reviewed under their name and conduct order review operations. This method is more traditional and more efficient.

[0004] However, when an order needs to be processed after receiving a notification that it needs to be reviewed, the above method will cause a lot of data that does not need to be reviewed temporarily to appear in the list of orders that need to be reviewed by the operator. This will not only reduce the efficiency of the operator, but also make it easier to make review errors. Orders that should not be reviewed may be reviewed by mistake, resulting in production accidents.

[0005] This problem can be solved by using a delayed message queue, but this method has high requirements for the message middleware. First, it needs to support persistence. If a message is lost, it will cause a production accident. Second, this method increases the dependence on the message middleware, but most message middleware cannot guarantee the consistency and order of the data, and idempotence data verification is required on the consumer side. In addition, when problems occur in the message middleware and cause message confusion, duplicate audit problems may occur in this case. Summary of the invention

[0006] The technical problem to be solved by the present invention is to address the deficiencies of the prior art and specifically provide a delayed dispatching method, system, electronic device and storage medium, which are as follows:

[0007] 1) In the first aspect, the present invention provides a delayed dispatching method, and the specific technical solution is as follows:

[0008] When a user accepts an order, it is determined whether there is an order to be processed in the order pool corresponding to the user, and a first determination result is obtained;

[0009] When the first judgment result is yes, pull the pending order from the order pool corresponding to the user, and determine whether to delay the processing of the pending order to obtain the second judgment result;

[0010] When the second judgment result is no, the pending order is processed; when the second judgment result is yes, the pending order is delayed and moved to the delayed order pool corresponding to the user.

[0011] The beneficial effects of a delayed dispatching method provided by the present invention are as follows:

[0012] Utilizing the order pool and delayed order pool can not only realize the function of delayed order dispatch, but also enable operators to complete orders more flexibly and autonomously, improve the processing efficiency of operators, reduce the risk of duplicate processing, ensure data consistency, and greatly reduce technical and maintenance costs.

[0013] On the basis of the above scheme, a delayed dispatching method of the present invention can also be improved as follows.

[0014] Furthermore, it also includes:

[0015] When the first judgment result is no, it is determined whether there is a delayed order to be processed that has reached the processing period in the delayed order pool corresponding to the user, and a third judgment result is obtained;

[0016] When the third judgment result is yes, it is determined whether the user's order limit is reached after the user receives a pending delayed order that has reached the processing period, thereby obtaining a fourth judgment result;

[0017] When the fourth judgment result is yes, the delayed orders that have reached the processing period are moved to the order pool corresponding to the user;

[0018] When the fourth judgment result is no, pull the to-be-processed delayed orders that have reached the processing period from the delayed order pool corresponding to the user, and determine whether to delay the to-be-processed delayed orders that have reached the processing period to obtain a fifth judgment result;

[0019] When the result of the fifth judgment is yes, the delayed order to be processed that has reached the processing period is delayed and moved to the delayed order pool corresponding to the user;

[0020] When the result of the fifth judgment is no, the delayed orders that have reached the processing period will be moved to the order pool corresponding to the user.

[0021] Furthermore, it also includes:

[0022] When a new pending order is received, the new pending order is placed in the corresponding order pool or the corresponding delayed order pool according to business conditions. Different business types correspond to different order pools and delayed order pools, and the user's corresponding order receiving pool receives the pending orders issued by the corresponding order pool.

[0023] Furthermore, it also includes:

[0024] When placing a new pending order into the corresponding delayed order dispatch pool, determine the weight of the new pending order;

[0025] When querying whether there are any pending delayed orders whose processing period has expired from any delayed order pool, all pending delayed orders in the delayed order pool are sorted according to the weight of each pending delayed order in the delayed order pool, and querying whether there are any pending delayed orders whose processing period has expired according to the sorted sequence.

[0026] 2) In the second aspect, the present invention also provides a delayed dispatching system, and the specific technical solution is as follows:

[0027] It includes: a first judgment module, a second judgment module and an order dispatching module;

[0028] The first judgment module is used to: when a user accepts an order, determine whether there is a pending order in the order pool corresponding to the user, and obtain a first judgment result;

[0029] The second judgment module is used to: when the first judgment result is yes, pull the pending order from the order pool corresponding to the user, and judge whether to delay the processing of the pending order to obtain the second judgment result;

[0030] The order dispatching module is used to: when the second judgment result is no, process the pending orders; when the second judgment result is yes, delay the processing of the pending orders and move them to the delayed order dispatching pool corresponding to the user.

[0031] On the basis of the above scheme, the delayed dispatching system of the present invention can also be improved as follows.

[0032] Furthermore, it also includes a third judgment module and a fourth judgment module;

[0033] The third judgment module is used to: when the first judgment result is no, determine whether there is a delayed order to be processed that has reached the processing period in the delayed order pool corresponding to the user, and obtain a third judgment result;

[0034] The fourth judgment module is used to: when the third judgment result is yes, determine whether the user's order limit is reached after the user receives the pending delayed order that has reached the processing period, and obtain a fourth judgment result;

[0035] The dispatch module is also used to:

[0036] When the fourth judgment result is yes, the pending delayed orders that have reached the processing period are moved to the delayed order pool corresponding to the user; when the fourth judgment result is no, the pending delayed orders that have reached the processing period are pulled from the delayed order pool corresponding to the user, and it is determined whether to delay the pending delayed orders that have reached the processing period to obtain the fifth judgment result; when the fifth judgment result is yes, the pending delayed orders that have reached the processing period are delayed and moved to the delayed order pool corresponding to the user; when the fifth judgment result is no, the pending delayed orders that have reached the processing period are moved to the order receiving pool corresponding to the user.

[0037] Furthermore, it also includes an order receiving module, which is used to: after receiving a new pending order, place the new pending order into a corresponding order pool or a corresponding delayed order pool according to business conditions, wherein different business types correspond to different order pools and delayed order pools, and the order receiving pool corresponding to the user receives the pending orders issued by the corresponding order pool.

[0038] Furthermore, the order receiving module is further used to: determine the weight of the new pending order when placing the new pending order into the corresponding delayed order dispatching pool;

[0039] The third judgment module is also specifically used for: when querying from any delayed order pool whether there is a pending delayed order whose processing period has expired, sorting all the pending delayed orders in the delayed order pool according to the weight of each pending delayed order in the delayed order pool, and querying whether there is a pending delayed order whose processing period has expired according to the sorted sequence.

[0040] 3) In a third aspect, the present invention further provides an electronic device, comprising a processor, the processor being coupled to a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor, so that the electronic device implements any of the above-mentioned delayed dispatching methods.

[0041] 4) In a fourth aspect, the present invention further provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor so that the computer implements any of the above-mentioned delayed order dispatching methods.

[0042] It should be noted that the beneficial effects achieved by the technical solutions of the second to fourth aspects of the present invention and the corresponding possible implementation methods can be found in the above-mentioned technical effects of the first aspect and its corresponding possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0044] Figure 1 This is one of the flow charts of a delayed dispatching method according to an embodiment of the present invention;

[0045] Figure 2 The second flowchart of a delayed dispatching method according to an embodiment of the present invention;

[0046] Figure 3 A structural schematic diagram of a delayed dispatching system according to an embodiment of the present invention;

[0047] Figure 4 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0049] like Figure 1 As shown, a delayed dispatching method according to an embodiment of the present invention includes the following steps:

[0050] S1. When a user accepts an order, it is determined whether there is an order to be processed in the order pool corresponding to the user, and a first determination result is obtained;

[0051] Among them, the corresponding relationship between users and order pools can be set according to actual conditions.

[0052] S2. When the first judgment result is yes, pull the pending order from the order pool corresponding to the user, and determine whether to delay the processing of the pending order to obtain a second judgment result;

[0053] S3. When the second judgment result is no, the pending order is processed; when the second judgment result is yes, the pending order is delayed and moved to the delayed order pool corresponding to the user.

[0054] Among them, the corresponding relationship between users and the delayed dispatch pool can be set according to actual conditions.

[0055] The processing of pending orders specifically refers to: reviewing and processing pending orders, which is also other processing methods.

[0056] Optionally, in the above technical solution, it also includes:

[0057] S4. When the first judgment result is no, determine whether there is a delayed order to be processed that has reached the processing period in the delayed order pool corresponding to the user, and obtain a third judgment result;

[0058] S5. When the third judgment result is yes, it is determined whether the user's order limit is reached after the user receives a delayed order that has reached the processing period, thereby obtaining a fourth judgment result;

[0059] S6. When the fourth judgment result is yes, the pending delayed orders that have reached the processing period are moved to the delayed order pool corresponding to the user; when the fourth judgment result is no, the pending delayed orders that have reached the processing period are pulled from the delayed order pool corresponding to the user, and it is determined whether to delay the pending delayed orders that have reached the processing period to obtain the fifth judgment result; when the fifth judgment result is yes, delay the pending delayed orders that have reached the processing period and move them to the delayed order pool corresponding to the user; when the fifth judgment result is no, move the pending delayed orders that have reached the processing period to the order receiving pool corresponding to the user.

[0060] Optionally, in the above technical solution, it also includes:

[0061] S01. After receiving a new pending order, the new pending order is placed in the corresponding order pool or the corresponding delayed order pool according to business conditions. Different business types correspond to different order pools and delayed order pools. The order receiving pool corresponding to the user receives the pending orders issued by the corresponding order pool.

[0062] Optionally, in the above technical solution, it also includes:

[0063] S02. When placing a new pending order into the corresponding delayed order dispatching pool, determine the weight of the new pending order;

[0064] S03. When querying from any delayed order pool whether there are any pending delayed orders whose processing period has expired, sort all the pending delayed orders in the delayed order pool according to the weight of each pending delayed order in the delayed order pool, and query according to the sorted sequence whether there are any pending delayed orders whose processing period has expired.

[0065] like Figure 2 As shown, the present invention is described by the following embodiments, including:

[0066] S101. Get new pending orders:

[0067] Receive binlog messages from the database, filter out orders that need to be reviewed, and scan the database by setting a scheduled task to filter out orders that need to be reviewed; orders that need to be reviewed are new pending orders;

[0068] S102. Put the new pending order into the corresponding order pool or the corresponding delayed order pool:

[0069] According to business conditions, new pending orders are placed in the corresponding order pool or the corresponding delayed order pool. Specifically, according to the business type, orders that do not require delayed review temporarily (pending orders) are placed in the corresponding order pool for data isolation. The weights of orders that need delayed review are calculated according to the business type rules corresponding to the orders that need delayed review (pending delayed orders), and then placed in the corresponding delayed order pool. Different business types correspond to different order pools and delayed order pools.

[0070] When querying whether there are any pending delayed orders whose processing period has expired from any delayed order pool, all the pending delayed orders in the delayed order pool are sorted according to the weight of each pending delayed order in the delayed order pool. Specifically, all the pending delayed orders in the delayed order pool can be sorted in descending order of weight, or can be sorted in ascending order of weight. It can be set according to actual conditions, and then query whether there are any pending delayed orders whose processing period has expired according to the sorting sequence.

[0071] Among them, the delayed dispatch pool can be a data structure ZSET of the REDIS database (also known as the REDIS cluster), which supports setting weights.

[0072] S103, when the user accepts an order, determine whether there is a pending order in the order pool corresponding to the user, and obtain a first determination result. When the first determination result is yes, execute S104, and when the first determination result is no, execute S106;

[0073] S104: Determine whether to delay processing of the pending order, specifically:

[0074] Pull the pending order from the order pool corresponding to the user, and determine whether to delay processing of the pending order, and obtain a second determination result. When the second determination result is yes, execute S105. When the second determination result is no, review and process the pending order.

[0075] S105, delay processing of the pending order and move it to the delayed order pool corresponding to the user;

[0076] S106, determining whether there is a delayed order to be processed that has reached the processing period in the delayed order pool corresponding to the user, and obtaining a third determination result. When the third determination result is yes, executing S107; when the third determination result is no, returning to executing S112;

[0077] S107: Determine whether the user's order limit has been reached. Specifically,

[0078] Determine whether the user's order limit is reached after receiving the delayed order that has reached the processing period, and obtain a fourth judgment result. When the fourth judgment result is yes, execute S108; when the fourth judgment result is no, execute S109;

[0079] S108, moving the delayed orders that have reached the processing period to the order receiving pool corresponding to the user;

[0080] S109, determining whether to delay processing of the delayed order that has reached the processing period, and obtaining a fifth determination result, when the fifth determination result is yes, executing S110; when the fifth determination result is no, executing S111;

[0081] S110, delay processing of the pending delayed orders that have reached the processing period, and move them to the delayed order pool corresponding to the user;

[0082] S111, moving the delayed orders that have reached the processing period to the order receiving pool corresponding to the user;

[0083] S112, query the pending orders from the order pool corresponding to the user, and re-execute S104.

[0084] like Figure 3 As shown, the list in the database REDIS is used as the order pool, and the ZSET in the database REDIS is used as the delayed order pool. The orders that need to be reviewed come from the logistics system, transaction system, etc. The orders that need to be reviewed are divided into return orders, virtual product orders, CMS orders, OMS orders, expense orders, medical orders and logistics orders. All order data can be stored in the structured database MYSQL.

[0085] The beneficial effects of the present invention are as follows:

[0086] 1) Solve the problems of low review efficiency, easy review errors, repeated reviews, etc. that occur during the review process of orders that require delayed review, improve the work efficiency of operators, reduce the probability of errors, ensure the completeness and consistency of data, and reduce the peak pressure on the system caused by the introduction of delayed queues.

[0087] 2) Based on the data structure ZSET of the REDIS database, the influence of the weight of the structure on the order of data access is fully utilized, so that delayed orders can be screened out more accurately. Compared with the use of delayed queues, the delayed dispatch cache pool ZSET technical solution can greatly reduce technical and maintenance costs, while also reducing the real-time service pressure, so that users can complete orders more flexibly and independently. And by using the data consistency characteristics of the REDIS database, the risk of duplicate orders and audit errors when multiple people take orders can be reduced.

[0088] 3) The present invention is suitable for systems that do not want to introduce delayed queues and want to implement delayed review. The delayed dispatching technology implemented by the data structure ZSET of the REDIS database can not only realize the function of delayed dispatching, improve the review efficiency of operators, reduce the risk of repeated review, but also ensure data consistency.

[0089] In the above embodiments, although the steps are numbered S1, S2, etc., these are only specific embodiments given by the present invention. Those skilled in the art may adjust the execution order of S1, S2, etc. according to actual conditions, which is also within the protection scope of the present invention. It can be understood that in some embodiments, some or all of the above embodiments may be included.

[0090] like Figure 3 As shown, a delayed dispatching system according to an embodiment of the present invention includes: a first judgment module 201, a second judgment module 202 and a dispatching module 203;

[0091] The first judgment module 201 is used to: when a user accepts an order, determine whether there is a pending order in the order pool corresponding to the user, and obtain a first judgment result;

[0092] The second judgment module 202 is used to: when the first judgment result is yes, pull the pending order from the order pool corresponding to the user, and judge whether to delay the processing of the pending order to obtain a second judgment result;

[0093] The order dispatching module 203 is used to: when the second judgment result is no, process the pending order; when the second judgment result is yes, delay the processing of the pending order and move it to the delayed order dispatching pool corresponding to the user.

[0094] Optionally, in the above technical solution, a third judgment module and a fourth judgment module are also included;

[0095] The third judgment module is used to: when the first judgment result is no, determine whether there is a delayed order to be processed that has reached the processing period in the delayed order pool corresponding to the user, and obtain a third judgment result;

[0096] The fourth judgment module is used to: when the third judgment result is yes, determine whether the user's order limit is reached after the user receives the pending delayed order that has reached the processing period, and obtain a fourth judgment result;

[0097] The dispatch module 203 is also used for:

[0098] When the fourth judgment result is yes, the pending delayed orders that have reached the processing period are moved to the delayed order pool corresponding to the user; when the fourth judgment result is no, the pending delayed orders that have reached the processing period are pulled from the delayed order pool corresponding to the user, and it is determined whether to delay the pending delayed orders that have reached the processing period to obtain the fifth judgment result; when the fifth judgment result is yes, the pending delayed orders that have reached the processing period are delayed and moved to the delayed order pool corresponding to the user; when the fifth judgment result is no, the pending delayed orders that have reached the processing period are moved to the order receiving pool corresponding to the user.

[0099] Optionally, the above technical solution also includes an order receiving module, which is used to: after receiving a new pending order, place the new pending order into a corresponding order pool or a corresponding delayed order pool according to business conditions, wherein different business types correspond to different order pools and delayed order pools, and the order receiving pool corresponding to the user receives the pending orders issued by the corresponding order pool.

[0100] Optionally, in the above technical solution, the order receiving module is further used to: when placing a new pending order into a corresponding delayed order dispatching pool, determine the weight of the new pending order;

[0101] The third judgment module is also specifically used for: when querying from any delayed order pool whether there is a pending delayed order whose processing period has expired, sorting all the pending delayed orders in the delayed order pool according to the weight of each pending delayed order in the delayed order pool, and querying whether there is a pending delayed order whose processing period has expired according to the sorted sequence.

[0102] It should be noted that the beneficial effects of a delayed dispatch system provided by the above embodiment are the same as the beneficial effects of the above delayed dispatch method, which will not be described in detail here. In addition, when the system provided by the above embodiment realizes its functions, it only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to actual conditions to complete all or part of the functions described above. In addition, the system and method embodiments provided by the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be described in detail here.

[0103] like Figure 4 As shown, an electronic device 300 according to an embodiment of the present invention includes a processor 320, the processor 320 is coupled to a memory 310, and the memory 310 stores at least one computer program 330, and the at least one computer program 330 is loaded and executed by the processor 320, so that the electronic device 300 implements any of the above-mentioned delayed dispatching methods, specifically:

[0104] The electronic device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors 320 (Central Processing Units, CPU) and one or more memories 310, wherein the one or more memories 310 store at least one computer program 330, and the at least one computer program 330 is loaded and executed by the one or more processors 320, so that the electronic device 300 implements any of the delayed dispatch methods provided in the above embodiments. Of course, the electronic device 300 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The electronic device 300 may also include other components for realizing device functions, which will not be described in detail here. The electronic device may specifically be a computer, etc.

[0105] A computer-readable storage medium according to an embodiment of the present invention stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that the computer implements any of the above-mentioned delayed order dispatching methods.

[0106] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0107] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes any of the above-mentioned delayed dispatching methods.

[0108] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects and represent the definition of a specific order or sequence. The order of use of similar objects can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than the order shown or described.

[0109] Those skilled in the art know that the present invention can be implemented as a system, method or computer program product. Therefore, the present invention can be specifically implemented in the following forms, namely: it can be complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, which is generally referred to as "circuit", "module" or "system" herein. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, and the computer-readable medium contains computer-readable program code.

[0110] Any combination of one or more computer-readable media can be used. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0111] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A delayed dispatching method, characterized in that: include: When a user accepts an order, it is determined whether there is an order to be processed in the order pool corresponding to the user, and a first determination result is obtained; When the first judgment result is yes, the pending order is pulled from the order pool corresponding to the user, and it is determined whether to delay processing of the pending order to obtain a second judgment result; When the second judgment result is no, processing the pending order; When the second judgment result is yes, the pending order is delayed and moved to the delayed order pool corresponding to the user.

2. A delayed dispatching method according to claim 1, characterized in that: Also includes: When the first judgment result is no, it is determined whether there is a delayed order to be processed that has reached the processing period in the delayed order pool corresponding to the user, and a third judgment result is obtained; When the third judgment result is yes, it is determined whether the user's order limit is reached after the user receives the delayed order that has reached the processing period, thereby obtaining a fourth judgment result; When the fourth judgment result is yes, the delayed order to be processed that has reached the processing period is moved to the order receiving pool corresponding to the user; When the fourth judgment result is no, the to-be-processed delayed order that has reached the processing period is pulled from the delayed order pool corresponding to the user, and it is determined whether to delay processing of the to-be-processed delayed order that has reached the processing period is performed, to obtain a fifth judgment result; When the fifth judgment result is yes, the delayed order to be processed that has reached the processing period is delayed and moved to the delayed order pool corresponding to the user; When the fifth judgment result is no, the delayed order to be processed that has reached the processing period is moved to the order pool corresponding to the user.

3. A delayed dispatching method according to claim 2, characterized in that: Also includes: When a new pending order is received, the new pending order is placed in the corresponding order pool or the corresponding delayed order pool according to business conditions. Different business types correspond to different order pools and delayed order pools. The order receiving pool corresponding to the user receives the pending orders issued by the corresponding order pool.

4. A delayed dispatching method according to claim 3, characterized in that: Also includes: When placing the new pending order into the corresponding delayed order dispatching pool, determining the weight of the new pending order; When querying whether there are any pending delayed orders whose processing period has expired from any delayed order pool, all pending delayed orders in the delayed order pool are sorted according to the weight of each pending delayed order in the delayed order pool, and querying whether there are any pending delayed orders whose processing period has expired according to the sorted sequence.

5. A delayed dispatching system, characterized in that: include: A first judgment module, a second judgment module and an order dispatching module; The first judgment module is used to: when a user accepts an order, determine whether there is a pending order in the order pool corresponding to the user, and obtain a first judgment result; The second judgment module is used to: when the first judgment result is yes, pull the pending order from the order pool corresponding to the user, and judge whether to delay the processing of the pending order to obtain a second judgment result; The order dispatching module is used to: process the pending order when the second judgment result is no; When the second judgment result is yes, the pending order is delayed and moved to the delayed order pool corresponding to the user.

6. A delayed dispatching system according to claim 5, characterized in that: Also includes a third judgment module and a fourth judgment module; The third judgment module is used to: when the first judgment result is no, determine whether there is a delayed order to be processed that has reached the processing period in the delayed order pool corresponding to the user, and obtain a third judgment result; The fourth judgment module is used to: when the third judgment result is yes, determine whether the user's order limit is reached after the user receives the pending delayed order that has reached the processing period, and obtain a fourth judgment result; The dispatching module is also used for: When the fourth judgment result is yes, the delayed order to be processed that has reached the processing period is moved to the order receiving pool corresponding to the user; When the fourth judgment result is no, the to-be-processed delayed order that has reached the processing period is pulled from the delayed order pool corresponding to the user, and it is determined whether to delay the to-be-processed delayed order that has reached the processing period to obtain a fifth judgment result; when the fifth judgment result is yes, the to-be-processed delayed order that has reached the processing period is delayed and moved to the delayed order pool corresponding to the user; When the fifth judgment result is no, the delayed order to be processed that has reached the processing period is moved to the order pool corresponding to the user.

7. A delayed dispatching system according to claim 6, characterized in that: It also includes an order receiving module, which is used to: after receiving a new pending order, place the new pending order into a corresponding order pool or a corresponding delayed order pool according to business conditions, wherein different business types correspond to different order pools and delayed order pools, and the order receiving pool corresponding to the user receives the pending orders issued by the corresponding order pool.

8. A delayed dispatching system according to claim 7, characterized in that: The order receiving module is further used to: determine the weight of the new pending order when placing the new pending order into the corresponding delayed order dispatching pool; The third judgment module is also specifically used for: when querying from any delayed order pool whether there are any pending delayed orders that have reached the processing period, sorting all the pending delayed orders in the delayed order pool according to the weight of each pending delayed order in the delayed order pool, and querying whether there are any pending delayed orders that have reached the processing period according to the sorted sequence.

9. An electronic device, characterized in that: The electronic device includes a processor, the processor is coupled to a memory, at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the electronic device implements a delayed dispatching method as described in any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that: At least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by the processor so that the computer implements a delayed dispatching method as claimed in any one of claims 1 to 4.