Order processing method, device, electronic device and storage medium

By monitoring and dynamically adjusting the incremental information of resource during the time period, more efficient carpooling order split processing is achieved, solving the problem of low order splitting efficiency of existing carpooling orders and improving the platform's order splitting efficiency.

CN111833131BActive Publication Date: 2025-01-17BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910459294.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-29
Publication Date
2025-01-17
Estimated Expiration
2040-08-19

AI Technical Summary

Technical Problem

The existing carpool order splitting method is inefficient and cannot effectively process more matching pending orders.

Method used

By determining the maximum resource increment information in the current time period and the resource increment information in the second sub-time period, monitoring the order-dividing time point, and performing order-dividing matching processing at this time point, dynamically adjusting the order-dividing time period to improve efficiency.

Benefits of technology

It improves the platform's order-sharing efficiency, can handle more matching pending orders more effectively, and improves the overall efficiency of order processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111833131B_ABST
    Figure CN111833131B_ABST
Patent Text Reader

Abstract

The present application provides an order processing method, device, electronic device and storage medium, the method comprising: determining the maximum resource increment information within the first sub-time period based on the pending orders within the first sub-time period; the first sub-time period is the time period from the starting time point to the critical time point matching the starting time point within the current time period; for any time point within the second sub-time period, determining the resource increment information at the time point based on the pending orders from the time point to the starting time point; the second sub-time period is the time period from the next time point after the critical time point to the previous time point of the end time point within the current time period; monitoring the order splitting time point within the second sub-time period according to the maximum resource increment information and the resource increment information of each time point within the second sub-time period, and performing order splitting processing at the monitored order splitting time point. In this way, more matching pending orders can be split, which improves the resource increment information of the platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to an order processing method, device, electronic device and storage medium. Background Art

[0002] With the rapid development of the Internet, more and more Internet products are being used by people, such as online car-hailing platforms. Online car-hailing platforms can provide passengers with a variety of travel services, including express cars, private cars, taxis, bicycles, carpooling, etc.

[0003] For carpooling services, the existing technology provides a method for splitting carpooling orders as follows: the platform predetermines the splitting interval, and for any area, the platform splits the carpooling orders from the area once every the splitting interval. However, using the above splitting method, the platform's splitting efficiency is low. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide an order processing method, device, electronic device and storage medium, which can split more matching orders to be processed and improve the order splitting efficiency of the platform.

[0005] In a first aspect, an embodiment of the present application provides an order processing method, including:

[0006] Based on the pending orders sent by the service requester in the first sub-time period of the current time period, determine the maximum resource increment information in the first sub-time period; wherein the first sub-time period is a time period from a starting time point in the current time period to a critical time point matching the starting time point, and the first sub-time period is configured to stop order splitting;

[0007] For any time point in the second sub-time period of the current time period, based on the pending orders sent by the service request end from the time point to the starting time point, determine the resource increment information of the time point; wherein the second sub-time period is the time period from the time point after the critical time point to the time point before the end time point of the current time period;

[0008] Monitoring the order splitting time points in the second sub-time period according to the maximum resource increment information and the resource increment information at each time point in the second sub-time period;

[0009] When the order splitting time point within the second sub-time period is monitored, the corresponding pending orders are split and matched at the order splitting time point, and the obtained order splitting and matching result is sent to the corresponding service request end.

[0010] In combination with the first aspect, the embodiment of the present application provides a first possible implementation of the first aspect, wherein, when the order splitting time point within the second sub-time period is monitored, the method further includes:

[0011] Select the monitored order splitting time point as the new starting time point, return to execute the pending orders sent by the service request end in the first sub-time period of the current time period, and determine the step of maximum resource increment information in the first sub-time period until the monitoring result of the last time point in the second sub-time period is obtained.

[0012] In combination with the first aspect, the embodiment of the present application provides a second possible implementation of the first aspect, wherein, after sending the obtained order matching result to the corresponding service request end, the method further includes:

[0013] Obtain pending orders from the end time point to the previous order splitting time point of the end time point;

[0014] At the end time point, the acquired pending orders are processed for splitting and matching, and the obtained splitting and matching results are sent to the corresponding service request end.

[0015] In combination with the first aspect or the first possible implementation of the first aspect, the embodiment of the present application provides a third possible implementation of the first aspect, wherein, for any starting time point, a critical time point matching the starting time point is determined by the following method:

[0016] Based on the end time point in the current time period, the start time point and a preset threshold, determine the time length corresponding to the critical time point matching the start time point;

[0017] Based on the starting time point and the time length, a critical time point matching the starting time point is determined.

[0018] In combination with the first aspect, an embodiment of the present application provides a fourth possible implementation of the first aspect, wherein the determining the maximum resource increment information within the first sub-time period based on the pending orders sent by the service request end within the first sub-time period of the current time period includes:

[0019] Determine resource increment information corresponding to each time point based on the first pending orders corresponding to each time point in the first sub-time period;

[0020] From the resource increment information corresponding to each time point, select the maximum resource increment information in the first sub-time period.

[0021] In combination with the fourth possible implementation of the first aspect, the embodiment of the present application provides a fifth possible implementation of the first aspect, wherein the determining, based on the first to-be-processed orders corresponding to the respective time points within the first sub-time period, the resource increment information corresponding to the respective time points includes:

[0022] For any time point in the first sub-time period, obtain the first pending order from the time point to the starting time point, and perform order splitting and matching processing on the first pending order at the time point to obtain the first resource increment information corresponding to the time point;

[0023] For any first target time point between the time point and the starting time point, obtain the second pending order between the first target time point and the previous time point, and perform order splitting and matching processing on the second pending order at the first target time point to obtain the second resource increment information corresponding to the first target time point; wherein the first target time point includes the time point;

[0024] The resource incremental information corresponding to the time point is determined based on the first resource incremental information corresponding to the time point and the second resource incremental information corresponding to each first target time point.

[0025] In combination with the first aspect, an embodiment of the present application provides a sixth possible implementation of the first aspect, wherein the determining the resource increment information at the time point based on the pending orders sent by the service request end between the time point and the starting time point includes:

[0026] Obtaining pending orders sent by the service request end between the time point and the starting time point, and performing order splitting and matching processing on the pending orders at the time point to obtain third resource increment information corresponding to the time point;

[0027] For any second target time point between the time point and the starting time point, obtain the third pending order between the second target time point and the previous time point, and perform order splitting and matching processing on the third pending order at the second target time point to obtain the fourth resource increment information corresponding to the second target time point; wherein the second target time point includes the time point;

[0028] The resource increment information corresponding to the time point is determined based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.

[0029] In combination with the sixth possible implementation of the first aspect, an embodiment of the present application provides a seventh possible implementation of the first aspect, wherein the performing order matching processing on the pending order at the time point to obtain the third resource incremental information corresponding to the time point includes:

[0030] At this time point, a service provider matching the order to be processed is selected;

[0031] Based on the resource supply information corresponding to the service request end that sends the to-be-processed order and the resource consumption information corresponding to the service provider end, the third resource increment information of the order at this time point is determined.

[0032] In combination with the seventh possible implementation of the first aspect, the embodiment of the present application provides an eighth possible implementation of the first aspect, wherein the selecting, at this time point, a service provider matching the order to be processed includes:

[0033] At this time point, a service provider in an idle state that matches the order to be processed is selected;

[0034] or,

[0035] At this time point, a service provider in service state that matches the order to be processed is selected.

[0036] In combination with the sixth possible implementation of the first aspect, the embodiment of the present application provides a ninth possible implementation of the first aspect, wherein the determining the resource incremental information corresponding to the time point based on the third resource incremental information corresponding to the time point and the fourth resource incremental information corresponding to each second target time point respectively includes:

[0037] Determine the sum of the fourth resource increment information corresponding to each second target time point;

[0038] The difference between the third resource increment information corresponding to the time point and the determined sum value is determined as the resource increment information corresponding to the time point.

[0039] In a second aspect, the embodiment of the present application further provides an order processing device, including:

[0040] A first determination module, configured to determine the maximum resource increment information within a first sub-time period of the current time period based on the pending orders sent by the service request end within the first sub-time period of the current time period; wherein the first sub-time period is a time period from a starting time point within the current time period to a critical time point matching the starting time point, and the first sub-time period is configured to stop order splitting;

[0041] A second determination module is used to determine the resource increment information at any time point in a second sub-time period of the current time period based on the pending orders sent by the service request end from the time point to the starting time point; wherein the second sub-time period is a time period from a time point after the critical time point to a time point before the end time point of the current time period;

[0042] A monitoring module, configured to monitor the order splitting time points within the second sub-time period according to the maximum resource increment information and the resource increment information at each time point within the second sub-time period;

[0043] A first order splitting matching module is used for performing order splitting matching processing on the corresponding pending orders at the order splitting time point when an order splitting time point within the second sub-time period is monitored;

[0044] The first sending module is used to send the obtained order matching result to the corresponding service request end.

[0045] In combination with the second aspect, the embodiment of the present application provides a first possible implementation of the second aspect, wherein the device further includes:

[0046] A loop module is used to select the monitored split time point as a new starting time point, and notify the first determination module of the new starting time point so that the first determination module, the second determination module and the monitoring module can run until the monitoring result of the last time point in the second sub-time period is obtained.

[0047] In combination with the second aspect, the embodiment of the present application provides a second possible implementation of the second aspect, wherein the end time point is configured as the order splitting time point; and the device further includes:

[0048] An acquisition module, used to acquire pending orders from the end time point to the previous order splitting time point of the end time point;

[0049] A second order matching module is used to perform order matching processing on the acquired pending orders at the end time point;

[0050] The second sending module is used to send the obtained order matching result to the corresponding service request end.

[0051] In combination with the second aspect or the first possible implementation manner of the second aspect, the embodiment of the present application provides a third possible implementation manner of the second aspect, wherein the device further includes:

[0052] A third determination module is used to determine the time length corresponding to the critical time point matching the starting time point based on the end time point in the current time period, the starting time point and a preset threshold;

[0053] The fourth determination module is used to determine a critical time point matching the starting time point based on the starting time point and the time length.

[0054] In combination with the second aspect, the embodiment of the present application provides a fourth possible implementation of the second aspect, wherein the first determining module is specifically configured to:

[0055] Determine resource increment information corresponding to each time point based on the first pending orders corresponding to each time point in the first sub-time period;

[0056] From the resource increment information corresponding to each time point, select the maximum resource increment information in the first sub-time period.

[0057] In combination with the fourth possible implementation of the second aspect, the embodiment of the present application provides a fifth possible implementation of the second aspect, wherein the first determining module is specifically configured to:

[0058] For any time point in the first sub-time period, obtain the first pending order from the time point to the starting time point, and perform order splitting and matching processing on the first pending order at the time point to obtain the first resource increment information corresponding to the time point;

[0059] For any first target time point between the time point and the starting time point, obtain the second pending order between the first target time point and the previous time point, and perform order splitting and matching processing on the second pending order at the first target time point to obtain the second resource increment information corresponding to the first target time point; wherein the first target time point includes the time point;

[0060] The resource incremental information corresponding to the time point is determined based on the first resource incremental information corresponding to the time point and the second resource incremental information corresponding to each first target time point.

[0061] In combination with the second aspect, an embodiment of the present application provides a sixth possible implementation of the second aspect, wherein the second determining module is specifically configured to:

[0062] Obtaining pending orders sent by the service request end between the time point and the starting time point, and performing order splitting and matching processing on the pending orders at the time point to obtain third resource increment information corresponding to the time point;

[0063] For any second target time point between the time point and the starting time point, obtain the third pending order between the second target time point and the previous time point, and perform order splitting and matching processing on the third pending order at the second target time point to obtain the fourth resource increment information corresponding to the second target time point; wherein the second target time point includes the time point;

[0064] The resource increment information corresponding to the time point is determined based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.

[0065] In combination with the sixth possible implementation of the second aspect, the embodiment of the present application provides a seventh possible implementation of the second aspect, wherein the second determination module is specifically configured to:

[0066] At this time point, a service provider matching the order to be processed is selected;

[0067] Based on the resource supply information corresponding to the service request end that sends the to-be-processed order and the resource consumption information corresponding to the service provider end, the third resource increment information of the order at this time point is determined.

[0068] In combination with the seventh possible implementation of the second aspect, the embodiment of the present application provides an eighth possible implementation of the second aspect, wherein the second determination module is specifically configured to:

[0069] At this time point, a service provider in an idle state that matches the order to be processed is selected;

[0070] or,

[0071] At this time point, a service provider in service state that matches the order to be processed is selected.

[0072] In combination with the sixth possible implementation of the second aspect, the embodiment of the present application provides a ninth possible implementation of the second aspect, wherein the second determining module is specifically configured to:

[0073] Determine the sum of the fourth resource increment information corresponding to each second target time point;

[0074] The difference between the third resource increment information corresponding to the time point and the determined sum value is determined as the resource increment information corresponding to the time point.

[0075] In the third aspect, an embodiment of the present application also provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the order processing method as described in any one of the first aspects.

[0076] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the order processing method as described in any one of the first aspects are executed.

[0077] The embodiment of the present application provides an order processing method, device, electronic device and storage medium, based on the pending orders in the first sub-time period of the current time period, determines the maximum resource increment information in the first sub-time period, and decides not to split the orders in the first sub-time period; the above-mentioned first sub-time period is the critical time point from the starting time point to the matching starting time point; for each time point in the second sub-time period, the second sub-time period is the time period from the time point after the critical time point to the time point before the end time point in the current time period, based on the resource increment information of each time point and the maximum resource increment information in the first sub-time period, monitor the splitting time point in the second sub-time period, and when the splitting time point is monitored, split the order at the splitting time point. In this way, more matching pending orders can be split, which improves the order splitting efficiency of the platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0079] Figure 1 A schematic diagram of the architecture of a service system provided by an embodiment of the present application is shown;

[0080] Figure 2 A flowchart of an order processing method provided by an embodiment of the present application is shown;

[0081] Figure 3 A flowchart of another order processing method provided by an embodiment of the present application is shown;

[0082] Figure 4 A flowchart of another order processing method provided by an embodiment of the present application is shown;

[0083] Figure 5 A flowchart of another order processing method provided by an embodiment of the present application is shown;

[0084] Figure 6 A flowchart of another order processing method provided by an embodiment of the present application is shown;

[0085] Figure 7 A flowchart of another order processing method provided by an embodiment of the present application is shown;

[0086] Figure 8 A schematic diagram of the structure of an order processing device provided in an embodiment of the present application is shown;

[0087] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0088] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0089] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0090] In order to enable those skilled in the art to use the content of this application, the following implementation is provided in conjunction with a specific application scenario "carpooling order processing". For those skilled in the art, the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is mainly described around carpooling order processing, it should be understood that this is only an exemplary embodiment.

[0091] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0092] The terms "user", "passenger", "requester", "service personnel", "service requester", "service requesting end", "service requesting end terminal", "passenger terminal", "passenger end", and "customer" in the embodiments of the present application can be used interchangeably to refer to individuals, entities, or tools that can request or order services. The terms "driver", "service provider", "service providing end", "driver end", and "driver terminal" in the present application can be used interchangeably to refer to individuals, entities, or tools that can provide services.

[0093] Figure 1 1 is a block diagram of a service system 100 of some embodiments of the present application. For example, the service system 100 may be an online transportation service platform for transportation services such as taxis, chauffeur services, express trains, carpooling, bus services, driver rentals, or shuttle services, or any combination thereof. The service system 100 may include one or more of a server 110, a network 120, a service request end 130, a service provider end 140, and a database 150.

[0094] In some embodiments, the server 110 may be a single server or a server group. The server group may be centralized or distributed (for example, the server 110 may be a distributed system). In some embodiments, the server 110 may be local or remote relative to the terminal. For example, the server 110 may access information and / or data stored in the service request end 130, the service provider end 140, or the database 150, or any combination thereof via the network 120. As another example, the server 110 may be directly connected to at least one of the service request end 130, the service provider end 140, and the database 150 to access the stored information and / or data. In some embodiments, the server 110 may be implemented on a cloud platform; as an example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an inter-cloud, a multi-cloud, etc., or any combination thereof.

[0095] In some embodiments, the server 110 may include a processor. The processor may process information and / or data related to the service request to perform one or more functions described in the present application. For example, the processor may determine the various boarding points within the target area to which the current location information belongs based on the current location information in the service request sent from the service request end 130. In some embodiments, the processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). By way of example only, the processor may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC), or a microprocessor, or any combination thereof.

[0096] The network 120 can be used for the exchange of information and / or data. In some embodiments, one or more components in the service system 100 (e.g., the server 110, the service request end 130, the service provider 140, and the database 150) can send information and / or data to other components. For example, the server 110 can obtain a service request from the service request end 130 via the network 120. In some embodiments, the network 120 can be any type of wired or wireless network, or a combination thereof. As an example only, the network 130 can include a wired network, a wireless network, an optical fiber network, a telecommunication network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof. In some embodiments, network 120 may include one or more network access points. For example, network 120 may include a wired or wireless network access point, such as a base station and / or a network switching node, through which one or more components of service system 100 may connect to network 120 to exchange data and / or information.

[0097] In some embodiments, the service request end 130 may include a mobile device, a tablet computer, a laptop computer, or a built-in device in a motor vehicle, or any combination thereof. In some embodiments, the mobile device may include a wearable device, a smart mobile device, a virtual reality device, an augmented reality device, or any combination thereof. In some embodiments, the service request end 130 may be a device with a positioning function.

[0098] The database 150 may store data and / or instructions. In some embodiments, the database 150 may store data obtained from the service request end 130 and / or the service provider end 140. In some embodiments, the database 150 may store data and / or instructions of the exemplary method described in the embodiments of the present application. In some embodiments, the database 150 may include a large capacity memory, a removable memory, a volatile read-write memory, or a read-only memory (ROM), etc., or any combination thereof. As an example, mass storage may include magnetic disks, optical disks, solid-state drives, etc.; removable storage may include flash drives, floppy disks, optical disks, memory cards, zip disks, magnetic tapes, etc.; volatile read-write storage may include random access memory (Random Access Memory, RAM); RAM may include dynamic RAM (Dynamic Random Access Memory, DRAM), double data rate synchronous dynamic RAM (Double Date-Rate Synchronous RAM, DDR SDRAM); static RAM (Static Random-Access Memory, SRAM), thyristor RAM (Thyristor-Based Random Access Memory, T-RAM) and zero capacitor RAM (Zero-RAM), etc. As an example, ROM may include mask ROM (Mask Read-Only Memory, MROM), programmable ROM (Programmable Read-Only Memory, PROM), erasable programmable ROM (Programmable Erasable Read-only Memory, PEROM), electrically erasable programmable ROM (Electrically Erasable Programmable read only memory, EEPROM), CD-ROM (CD-ROM), and digital universal disk ROM, etc. In some embodiments, database 150 can be implemented on a cloud platform. As an example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, a cross-cloud, a multi-cloud, or other similar, etc., or any combination thereof.

[0099] In some embodiments, the database 150 may be connected to the network 120 to communicate with one or more components (e.g., the server 110, the service requester 130, the service provider 140, etc.) in the service system 100. One or more components in the service system 100 may access data or instructions stored in the database 150 via the network 120. In some embodiments, the database 150 may be directly connected to one or more components in the service system 100, or the database 150 may also be part of the server 110.

[0100] Based on the above service system 100, the embodiment of the present application provides an order processing method, which can be applied to the server 110, such as Figure 2 As shown, the method comprises the following steps:

[0101] S201. Based on the pending orders sent by the service request end in the first sub-time period of the current time period, determine the maximum resource increment information in the first sub-time period; wherein the first sub-time period is a time period from a starting time point in the current time period to a critical time point matching the starting time point, and the first sub-time period is configured to stop order splitting.

[0102] In an embodiment of the present application, a preset order splitting time period is stored in the server; for example, the preset order splitting time period is from 0:00 to 24:00 every day. As an implementation mode, the above-mentioned current time period is the above-mentioned preset order splitting time period. As another implementation mode, the server divides the preset order splitting time period into multiple time periods in advance, and the above-mentioned current time period is any time period in the preset order splitting time period; here, the server divides the preset order splitting time period into multiple time periods according to a fixed time length; for example, the server divides 0:00 to 24:00 into 86,400 time periods according to a time length of 60s.

[0103] In an embodiment of the present application, the current time period includes a starting time point and a critical time point matching the starting time point. The time period from the starting time point to the critical time point matching the starting time point is determined as the first sub-time period within the current time period. The first sub-time period is pre-configured to stop order splitting, where stopping order splitting means that the order splitting matching result will not be sent to the corresponding service request end.

[0104] As an implementation method, the current time period is 0s-60s, 0s is the starting time point, and the critical time point matching 0s is 22s. Accordingly, 0-22s is the first sub-time period, and for pending orders from the service request end within 0-22s, the server does not split these pending orders, but determines the maximum resource increment information within 0-22s based on the pending orders within 0-22s, so as to monitor the splitting time point within the second sub-time period (i.e., 23s-59s) based on the maximum resource increment information.

[0105] S202. For any time point within the second sub-time period of the current time period, determine the resource increment information of the time point based on the pending orders sent by the service request end from the time point to the starting time point; wherein the second sub-time period is the time period from the time point after the critical time point to the time point before the end time point of the current time period.

[0106] As an implementation method, the current time period is 0s-60s, 0 is the starting time point (also the initial order splitting time point), 60s is the end time point in the current time period, and accordingly, 23s-59s is the second sub-time period, and the second sub-time period includes multiple time points such as 23s, 24s, 25s...59s; for any time point among 23s, 24s, 25s...59s (for example, 23s), the server obtains the pending orders within 0 to 23s, and based on the obtained pending orders, determines the resource increment information corresponding to the order splitting in 23s.

[0107] If 23s is not the order splitting time point, for 24s, the server obtains pending orders within 0-24s, and determines the resource increment information corresponding to the order splitting at 24s based on the obtained pending orders. Based on the same principle, the server can determine the resource increment information corresponding to any time point between 25s and 59s.

[0108] S203: Monitor the order splitting time points in the second sub-time period according to the maximum resource increment information and the resource increment information at each time point in the second sub-time period.

[0109] As an implementation method, for 23s, after determining the resource increment information corresponding to the 23s split, the server compares the resource increment information with the maximum resource increment information corresponding to 0-22s. If the resource increment information is greater than the above maximum resource increment information, 23s is determined to be the split time point; if the resource increment information is less than or equal to the above maximum resource increment information, 23s is determined to be a non-split time point. Based on the same principle, the server can determine whether any time point between 24s and 59s is a split time point.

[0110] S204: When an order splitting time point within the second sub-time period is monitored, the corresponding pending orders are split and matched at the order splitting time point, and the obtained order splitting and matching result is sent to the corresponding service request end.

[0111] In the embodiment of the present application, if the server monitors that 23s is the order splitting time point, the pending orders within 0 to 23s are split and matched at 23s, and the order splitting matching results are sent to the corresponding service request end. The process in which the server performs order splitting matching on the corresponding pending orders at the order splitting time point and sends the obtained order splitting matching results to the corresponding service request end is to perform order splitting at the order splitting time point.

[0112] Among them, the above-mentioned order matching method is as follows: the server packages and matches the above-mentioned pending orders, that is, selects the service provider that matches the above-mentioned pending orders, and sends the relevant information of the selected service provider to the service requester corresponding to the successfully matched pending orders.

[0113] An order processing method provided by an embodiment of the present application determines the maximum resource increment information in the first sub-time period based on the pending orders in the first sub-time period of the current time period, and decides not to split the orders in the first sub-time period; the above-mentioned first sub-time period is the critical time point from the starting time point to the matching starting time point; for each time point in the second sub-time period, the second sub-time period is the time period from the time point after the critical time point to the time point before the end time point in the current time period, based on the resource increment information of each time point and the maximum resource increment information in the first sub-time period, monitor the splitting time point in the second sub-time period, and when the splitting time point is monitored, split the order at the splitting time point. In this way, more matching pending orders can be split, which improves the order splitting efficiency of the platform.

[0114] Furthermore, the order processing method provided in the embodiment of the present application, when monitoring the order splitting time point within the second sub-time period, the method further includes:

[0115] Select the monitored order splitting time point as the new starting time point, return to execute the pending orders sent by the service request end in the first sub-time period of the current time period, and determine the step of maximum resource increment information in the first sub-time period until the monitoring result of the last time point in the second sub-time period is obtained.

[0116] As an implementation method, if the server monitors that 23s is the order splitting time point, the order splitting process is performed at 23s; at this time, the server selects 23s as the new starting time point, and determines that the critical time point matching 23s is 36s, and accordingly, 23s~36s is the new first sub-time period, 37s~59s is the new second sub-time period, and 23s~36s is configured to stop order splitting; for pending orders from the service request end within 23s~36s, the server does not split these pending orders, but determines the maximum resource increment information within 23s~36s based on the pending orders within 23s~36s, so as to monitor the order splitting time point within 37s~59s based on the maximum resource increment information.

[0117] The second sub-time period includes multiple time points such as 37s, 38s, 39s...59s; for any time point among 37s, 38s, 39s...59s (for example, 37s), the server obtains the pending orders within 23s to 37s, and based on the obtained pending orders, determines the resource increment information corresponding to the order split at 37s.

[0118] After determining the resource increment information corresponding to the 37s split order, the server compares the resource increment information with the maximum resource increment information corresponding to 23s to 36s. If the resource increment information is greater than the above maximum resource increment information, 37s is determined to be the split order time point; if the resource increment information is less than or equal to the above maximum resource increment information, 37s is determined to be a non-split order time point.

[0119] If 37s is not the order splitting time point, for 38s, the server obtains the pending orders within 23s to 38s, and based on the obtained pending orders, determines the resource increment information corresponding to the order splitting at 38s, and compares the resource increment information with the maximum resource increment information corresponding to 23s to 36s. If the resource increment information is greater than the above maximum resource increment information, 38s is determined to be the order splitting time point; if the resource increment information is less than or equal to the above maximum resource increment information, 38s is determined to be a non-order splitting time point.

[0120] Based on the same principle as 37s and 38s, the server can determine the resource increment information corresponding to any time point between 39s and 59s, and monitor whether any time point between 39s and 59s is a split order time point based on the determined resource increment information.

[0121] Further, such as Figure 3 As shown, in the order processing method provided in the embodiment of the present application, for any starting time point, the critical time point matching the starting time point is determined by the following method:

[0122] S301: Based on the end time point in the current time period, the start time point and a preset threshold, determine the time length corresponding to the critical time point matching the start time point.

[0123] As an implementation method, the server calculates the time length corresponding to the critical time point matching the starting time point according to the following formula:

[0124] The time length corresponding to the critical time point matching the starting time point=(the ending time point in the current time period-the starting time point)×the preset threshold.

[0125] As an implementation mode, the server configures the preset threshold based on the 37 rule, and accordingly, the threshold is 0.37.

[0126] For example, the starting time point is 0, and the ending time point in the current time period is 60s. The above time length = (60s-0)×0.37 = 22.2s.

[0127] For another example, the starting time point is 23s, and the ending time point in the current time period is 60s. The above time length = (60s-23s)×0.37=13.69s.

[0128] S302: Based on the starting time point and the time length, determine a critical time point that matches the starting time point.

[0129] In the embodiment of the present application, when the time length corresponding to the critical time point matching the starting time point contains a decimal, the time length containing the decimal is rounded up. The rounding up process here includes: discarding the decimal, or carrying up the decimal.

[0130] For example, the time length 22.2s can be rounded to 22 or 23, and the time length 13.69s can be rounded to 13 or 14. In the embodiment of the present application, 22.2s is rounded to 22 and 13.69s is rounded to 13 as examples for illustration.

[0131] As an implementation manner, the starting time point is 0, the time length is 22, and the critical time point that matches the starting time point is determined to be 0+22s=22s.

[0132] As an implementation manner, the starting time point is 23s, the time length is 13s, and the critical time point that matches the starting time point is determined to be 23s+13s=36s.

[0133] Further, such as Figure 4As shown, in the order processing method provided in the embodiment of the present application, the end time point is configured as the order splitting time point; after sending the obtained order splitting matching result to the corresponding service request end, the method further includes:

[0134] S401, obtaining pending orders from the end time point to the previous order splitting time point of the end time point.

[0135] S402: Perform order matching processing on the acquired pending orders at the end time point, and send the obtained order matching results to the corresponding service request end.

[0136] In combination with step 401 to step 402, in the embodiment of the present application, the server pre-sets the end time point (i.e., 60s) in the current time period as the order splitting time point. After the server completes monitoring of each time point from 0 to 59s, if the current time reaches 60s, the server performs order splitting.

[0137] The specific order splitting process is as follows: the server determines the previous order splitting time point of the current moment (for example, 58s), the server obtains the pending orders within 58s to 60s, performs order splitting and matching processing on these pending orders, and sends the obtained order splitting and matching results to the corresponding service request end.

[0138] Further, such as Figure 5 As shown, the order processing method provided in the embodiment of the present application, the order to be processed sent by the service request end in the first sub-time period of the current time period, determines the maximum resource increment information in the first sub-time period, including:

[0139] S501. Determine resource increment information corresponding to each time point based on the first to-be-processed orders corresponding to each time point in the first sub-time period.

[0140] In the embodiment of the present application, for any time point in the first sub-time period, the first pending order corresponding to the time point is: all pending orders from the time point to the starting time point of the first sub-time period. Based on the order matching result of the corresponding first pending order at the time point, and the order matching result of each first target time point in the time period corresponding to the time point from the starting time point in the first sub-time period to the time point, the resource increment information corresponding to the time point is determined.

[0141] S502: Select the maximum resource increment information in the first sub-time period from the resource increment information corresponding to each time point.

[0142] In the embodiment of the present application, the server compares the resource increment information corresponding to each time point in the first sub-time period, and selects the maximum resource increment information in the first sub-time period from each resource increment information according to the comparison result.

[0143] Further, such as Figure 6 In the order processing method provided in the embodiment of the present application, determining the resource increment information corresponding to each time point based on the first to-be-processed order corresponding to each time point in the first sub-time period includes:

[0144] S601. For any time point in the first sub-time period, obtain the first pending order from the time point to the starting time point, and perform order matching processing on the first pending order at the time point to obtain the first resource increment information corresponding to the time point.

[0145] As an implementation mode, the above-mentioned order splitting matching processing includes: selecting a service provider that matches the first pending order at this point in time; determining the first resource incremental information of the order split at this point in time based on the resource supply information corresponding to the service requester that sends the pending order and the resource consumption information corresponding to the above-mentioned service provider.

[0146] For example, the first sub-time period is 0 to 22s, and the starting time point is 0. For the second time point 2s of the first sub-time period 0 to 22s, the first pending order within 0s to 2s is obtained (including pending order 1, pending order 2 and pending order 3); at the time point 1s, the service provider 1 matching the pending order 1 and the pending order 2 is selected, and the service provider 2 matching the pending order 3 is selected; then, the server determines the first sum of resource supply information (the resource supply information here can be the payable fees of the above-mentioned service request ends) corresponding to the service request end 1 that sends the pending order 1, the service request end 2 that sends the pending order 2, and the service request end 3 that sends the pending order 3; the server determines the second sum of resource consumption information (the resource consumption information here can be the payable fees of the above-mentioned service providers) corresponding to the service provider 1 and the service provider 2 respectively; the server determines the difference between the first sum and the second sum as the first resource increment information when splitting the order at 2s.

[0147] Based on the same principle, the server can determine the first resource increment information when the order is split at any time point between 3s and 22s.

[0148] S602. For any first target time point between this time point and the starting time point, obtain the second pending order between the first target time point and the previous time point, and perform split order matching processing on the second pending order at the first target time point to obtain the second resource increment information corresponding to the first target time point; wherein, the first target time point includes this time point.

[0149] As an implementation method, there are two first target time points 1s and 2s between the starting time point (0s) and the time point (i.e., 2s). For the first first target time point 1s, the second pending order (including pending order 1) within 0s to 1s is obtained, and the obtained pending order 1 is split and matched at 1s. The specific split order matching process includes: selecting a service provider 1 that matches the pending order 1, and determining the resource supply information (the resource supply information here can be the payable fees of the service requester 1) corresponding to the service requester 1 that sends the pending order 1 and the resource consumption information (the resource consumption information here can be the receivable fees of the service provider 1) corresponding to the service provider 1, and determining the difference between the resource supply information and the resource consumption information as the second resource increment information when splitting the order at the first target time point 1s.

[0150] Similarly, for the first target time point 2s, the second pending orders (including pending order 3) within 1s to 2s are obtained, and the pending order 3 obtained is split and matched at 2s to obtain the second resource increment information when splitting at 2s.

[0151] Similarly, the server can also obtain the second resource increment information corresponding to the order matching at any first target time point between 3s and 22s.

[0152] S603: Determine the resource incremental information corresponding to the time point based on the first resource incremental information corresponding to the time point and the second resource incremental information corresponding to each first target time point.

[0153] As an implementation method, the server determines the sum of the second resource incremental information corresponding to each first target time point; and determines the difference between the first resource incremental information corresponding to the time point and the determined sum as the resource incremental information corresponding to the time point.

[0154] For example, the server calculates the sum of the second resource incremental information when splitting within 1 second and the second resource incremental information when splitting within 2 seconds, and then calculates the difference between the first resource incremental information when splitting within 2 seconds and the above sum as the resource incremental information when splitting within 2 seconds.

[0155] Further, such as Figure 7As shown, in the order processing method provided in the embodiment of the present application, the resource increment information at the time point is determined based on the pending orders sent by the service request end from the time point to the starting time point, including:

[0156] S701, obtaining pending orders sent by the service request end between the time point and the starting time point, and performing order matching processing on the pending orders at the time point to obtain third resource increment information corresponding to the time point.

[0157] As an implementation method, 23s-59s is the second sub-time period, there is no order splitting before 23s, 0 is the initial order splitting time point, for the first time point (23s) in the second sub-time period, the server obtains the pending orders within 0 to 23s, and at 23s, splits and matches the obtained pending orders.

[0158] The specific order matching method is as follows: at this time point (i.e. 23s), select the service provider that matches the order to be processed; based on the resource supply information corresponding to the service requester that sends the order to be processed and the resource consumption information corresponding to the service provider that matches the order to be processed, determine the third resource incremental information for the order at this time point (i.e. 23s).

[0159] Similarly, the server can determine the incremental information of the third resource when the order is split at any time point between 24s and 59s.

[0160] S702. For any second target time point between this time point and the starting time point, obtain the third pending order between the second target time point and the previous time point, and perform order splitting and matching processing on the third pending order at the second target time point to obtain the fourth resource increment information corresponding to the second target time point; wherein, the second target time point includes this time point.

[0161] As an implementation method, there are 23 second target time points 1s, 2s, ... 23s between this time point (23s) and the last split order time point (i.e. 0). For the first second target time point 1s, the third pending order within 0 to 1s is obtained, and the obtained third pending order is split and matched in 1s, and the fourth resource increment information corresponding to 1s is determined based on the split and matched result.

[0162] The specific order matching process includes: selecting the service provider that matches the third order to be processed at the time point of 1s; then, the server determines the resource supply information corresponding to the service request end that sends the order to be processed (the resource supply information here can be the payable fees of the above-mentioned service request end) and the resource consumption information corresponding to the service provider end (the resource consumption information here can be the receivable fees of the above-mentioned service provider end), and determines the difference between the resource supply information and the resource consumption information as the fourth resource increment information corresponding to 1s.

[0163] Similarly, the server sequentially determines the fourth resource incremental information corresponding to the second second target time point (2s), the fourth resource incremental information corresponding to the third second target time point (3s), and so on the fourth resource incremental information corresponding to the twenty-third second target time point (23s).

[0164] S703: Determine the resource increment information corresponding to the time point based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.

[0165] As an implementation method, the server calculates the difference between the third resource incremental information when the order is split at 23s and the fourth resource incremental information corresponding to 1s, and then calculates the difference between the difference and the fourth resource incremental information corresponding to 2s, and then calculates the difference between the difference and the fourth resource incremental information corresponding to 3s... until the difference between the last difference obtained and the fourth resource incremental information corresponding to 23s is calculated as the resource incremental information corresponding to 23s.

[0166] As another implementation, the server determines the sum of the fourth resource incremental information corresponding to each second target time point; and determines the difference between the third resource incremental information corresponding to the time point and the determined sum as the resource incremental information corresponding to the time point.

[0167] For example, the server calculates the sum of the fourth resource incremental information corresponding to 1s, the fourth resource incremental information corresponding to 2s, ..., and the fourth resource incremental information corresponding to 23s, and calculates the difference between the third resource incremental information corresponding to 23s and the above sum as the resource incremental information corresponding to 23s.

[0168] Based on the same principle, the server can calculate the resource increment information corresponding to 24s, the resource increment information corresponding to 25s, and so on and so forth, the resource increment information corresponding to 59s.

[0169] The actual process of processing a carpooling order includes a case of carpooling within a line and a case of carpooling outside a line. Accordingly, when the case of carpooling within a line is not considered, selecting a service provider that matches the order to be processed at this time point includes: selecting a service provider that matches the order to be processed and is in an idle state at this time point.

[0170] Correspondingly, when the situation of the order in the line is taken into consideration, the service provider that matches the pending order is selected at this time point, including: selecting the service provider that matches the pending order and is in service at this time point.

[0171] An order processing method provided by an embodiment of the present application determines the maximum resource increment information in the first sub-time period based on the pending orders in the first sub-time period of the current time period, and decides not to split the orders in the first sub-time period; the above-mentioned first sub-time period is the critical time point from the starting time point to the matching starting time point; for each time point in the second sub-time period, the second sub-time period is the time period from the time point after the critical time point to the time point before the end time point in the current time period, based on the resource increment information of each time point and the maximum resource increment information in the first sub-time period, monitor the splitting time point in the second sub-time period, and when the splitting time point is monitored, split the order at the splitting time point. In this way, more matching pending orders can be split, which improves the order splitting efficiency of the platform.

[0172] Figure 8 1 is a block diagram showing an order processing device of some embodiments of the present application. The functions implemented by the order processing device correspond to the steps performed by the above method. The device can be understood as the above server, or the processor of the server, or can be understood as a component independent of the above server or processor that implements the functions of the present application under the control of the server, such as Figure 8 As shown, the order processing device may include:

[0173] A first determination module 801 is used to determine the maximum resource increment information within a first sub-time period of the current time period based on the pending orders sent by the service request end within the first sub-time period of the current time period; wherein the first sub-time period is a time period from a starting time point within the current time period to a critical time point matching the starting time point, and the first sub-time period is configured to stop order splitting;

[0174] The second determination module 802 is used to determine the resource increment information at any time point in the second sub-time period of the current time period based on the pending orders sent by the service request end from the time point to the starting time point; wherein the second sub-time period is a time period from a time point after the critical time point to a time point before the end time point of the current time period;

[0175] A monitoring module 803, configured to monitor the order splitting time point in the second sub-time period according to the maximum resource increment information and the resource increment information at each time point in the second sub-time period;

[0176] A first order splitting matching module 804 is used to perform order splitting matching processing on the corresponding pending orders at the order splitting time point when an order splitting time point within the second sub-time period is monitored;

[0177] The first sending module 805 is used to send the obtained order matching result to the corresponding service request end.

[0178] Furthermore, in the order processing device provided in the embodiment of the present application, the device further includes:

[0179] The loop module is used to select the monitored split time point as the new starting time point, and notify the first determination module 801 of the new starting time point so that the first determination module 801, the second determination module 802 and the monitoring module 803 can run until the monitoring result of the last time point in the second sub-time period is obtained.

[0180] Furthermore, in the order processing device provided in the embodiment of the present application, the end time point is configured as the order splitting time point; the device further includes:

[0181] An acquisition module, used to acquire pending orders from the end time point to the previous order splitting time point of the end time point;

[0182] A second order matching module is used to perform order matching processing on the acquired pending orders at the end time point;

[0183] The second sending module is used to send the obtained order matching result to the corresponding service request end.

[0184] Furthermore, in the order processing device provided in the embodiment of the present application, the device further includes:

[0185] A third determination module is used to determine the time length corresponding to the critical time point matching the starting time point based on the end time point in the current time period, the starting time point and a preset threshold;

[0186] The fourth determination module is used to determine a critical time point matching the starting time point based on the starting time point and the time length.

[0187] Furthermore, in the order processing device provided in the embodiment of the present application, the first determining module 801 is specifically configured to:

[0188] Determine resource increment information corresponding to each time point based on the first pending orders corresponding to each time point in the first sub-time period;

[0189] From the resource increment information corresponding to each time point, select the maximum resource increment information in the first sub-time period.

[0190] Furthermore, in the order processing device provided in the embodiment of the present application, the first determining module 801 is specifically configured to:

[0191] For any time point in the first sub-time period, obtain the first pending order from the time point to the starting time point, and perform order splitting and matching processing on the first pending order at the time point to obtain the first resource increment information corresponding to the time point;

[0192] For any first target time point between the time point and the starting time point, obtain the second pending order between the first target time point and the previous time point, and perform order splitting and matching processing on the second pending order at the first target time point to obtain the second resource increment information corresponding to the first target time point; wherein the first target time point includes the time point;

[0193] The resource incremental information corresponding to the time point is determined based on the first resource incremental information corresponding to the time point and the second resource incremental information corresponding to each first target time point.

[0194] Furthermore, in the order processing device provided in the embodiment of the present application, the second determining module 802 is specifically configured to:

[0195] Obtaining pending orders sent by the service request end between the time point and the starting time point, and performing order splitting and matching processing on the pending orders at the time point to obtain third resource increment information corresponding to the time point;

[0196] For any second target time point between the time point and the starting time point, obtain the third pending order between the second target time point and the previous time point, and perform order splitting and matching processing on the third pending order at the second target time point to obtain the fourth resource increment information corresponding to the second target time point; wherein the second target time point includes the time point;

[0197] The resource increment information corresponding to the time point is determined based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.

[0198] Furthermore, in the order processing device provided in the embodiment of the present application, the second determining module 802 is specifically configured to:

[0199] At this time point, a service provider matching the order to be processed is selected;

[0200] Based on the resource supply information corresponding to the service request end that sends the to-be-processed order and the resource consumption information corresponding to the service provider end, the third resource increment information of the order at this time point is determined.

[0201] Furthermore, in the order processing device provided in the embodiment of the present application, the second determining module 802 is specifically configured to:

[0202] At this time point, a service provider in an idle state that matches the order to be processed is selected;

[0203] or,

[0204] At this time point, a service provider in service state that matches the order to be processed is selected.

[0205] Furthermore, in the order processing device provided in the embodiment of the present application, the second determining module 802 is specifically configured to:

[0206] Determine the sum of the fourth resource increment information corresponding to each second target time point;

[0207] The difference between the third resource increment information corresponding to the time point and the determined sum value is determined as the resource increment information corresponding to the time point.

[0208] An order processing device provided by an embodiment of the present application determines the maximum resource increment information in the first sub-time period based on the pending orders in the first sub-time period of the current time period, and decides not to split the orders in the first sub-time period; the above-mentioned first sub-time period is the critical time point from the starting time point to the matching starting time point; for each time point in the second sub-time period, the second sub-time period is the time period from the time point after the critical time point to the time point before the end time point in the current time period, based on the resource increment information of each time point and the maximum resource increment information in the first sub-time period, monitor the splitting time point in the second sub-time period, and when the splitting time point is monitored, split the order at the splitting time point. In this way, more matching pending orders can be split, which improves the order splitting efficiency of the platform.

[0209] like Fig. 9 As shown, an electronic device 900 provided in an embodiment of the present application includes: a processor 901, a memory 902 and a bus, wherein the memory 902 stores machine-readable instructions executable by the processor 901. When the electronic device is running, the processor 901 communicates with the memory 902 through the bus, and the processor 901 executes the machine-readable instructions to perform the steps of the order processing method as described above.

[0210] Specifically, the above-mentioned memory 902 and processor 901 can be general-purpose memories and processors, which are not specifically limited here. When the processor 901 runs the computer program stored in the memory 902, the above-mentioned order processing method can be executed.

[0211] Corresponding to the above-mentioned order processing method, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned order processing method are executed.

[0212] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0213] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0214] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0215] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0216] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An order processing method, characterized in that: include: Based on the pending orders sent by the service request end in the first sub-time period of the current time period, determine the maximum resource increment information in the first sub-time period; wherein the resource increment information is determined according to the resource supply information and the resource consumption information, and the resource increment information represents the difference between the resource supply information and the resource consumption information after order splitting and matching at any time point, and the first sub-time period is a time period from the starting time point in the current time period to a critical time point matching the starting time point, and the first sub-time period is configured to stop order splitting; For any time point in the second sub-time period of the current time period, based on the pending orders sent by the service request end from the time point to the starting time point, determine the resource increment information of the time point; wherein the second sub-time period is the time period from the time point after the critical time point to the time point before the end time point of the current time period; Monitoring the order splitting time points in the second sub-time period according to the maximum resource increment information and the resource increment information at each time point in the second sub-time period; When an order splitting time point within the second sub-time period is monitored, the corresponding pending order is split and matched at the order splitting time point, and the obtained order splitting and matching result is sent to the corresponding service request end; Wherein, when the order splitting time point within the second sub-time period is monitored, the method further includes: Select the monitored order splitting time point as the new starting time point, return to execute the step of determining the maximum resource increment information in the first sub-time period based on the pending orders sent by the service request end in the first sub-time period of the current time period, until the monitoring result of the last time point in the second sub-time period is obtained; The time points for splitting orders within the two sub-time periods are determined as follows: Determine resource increment information at any time point in the second sub-time period; If the resource increment information is greater than the maximum resource increment information, determining the time point as the order splitting time point; If the resource increment information is less than or equal to the maximum resource increment information, the time point is determined to be a non-single time point.

2. The order processing method according to claim 1, characterized in that: The end time point is configured as the order splitting time point; After sending the obtained order matching result to the corresponding service request end, the method further includes: Obtain pending orders from the end time point to the previous order splitting time point of the end time point; At the end time point, the acquired pending orders are processed for splitting and matching, and the obtained splitting and matching results are sent to the corresponding service request end.

3. The order processing method according to claim 1, characterized in that: For any starting time point, the critical time point matching the starting time point is determined by the following method: Based on the end time point in the current time period, the start time point and a preset threshold, determine the time length corresponding to the critical time point matching the start time point; Based on the starting time point and the time length, a critical time point matching the starting time point is determined.

4. The order processing method according to claim 1, characterized in that: The determining of the maximum resource increment information in the first sub-time period based on the pending orders sent by the service requester in the first sub-time period of the current time period includes: Determine resource increment information corresponding to each time point based on the first pending orders corresponding to each time point in the first sub-time period; From the resource increment information corresponding to each time point, select the maximum resource increment information in the first sub-time period.

5. The order processing method according to claim 4, characterized in that: The determining, based on the first to-be-processed orders corresponding to the respective time points within the first sub-time period, the resource increment information corresponding to the respective time points includes: For any time point in the first sub-time period, obtain the first pending order from the time point to the starting time point, and perform order splitting and matching processing on the first pending order at the time point to obtain the first resource increment information corresponding to the time point; For any first target time point between the time point and the starting time point, obtain the second pending order between the first target time point and the previous time point, and perform order splitting and matching processing on the second pending order at the first target time point to obtain the second resource increment information corresponding to the first target time point; wherein the first target time point includes the time point; The resource incremental information corresponding to the time point is determined based on the first resource incremental information corresponding to the time point and the second resource incremental information corresponding to each first target time point.

6. The order processing method according to claim 1, characterized in that: The determining of the resource increment information at the time point based on the pending orders sent by the service request end between the time point and the starting time point includes: Obtaining pending orders sent by the service request end between the time point and the starting time point, and performing order splitting and matching processing on the pending orders at the time point to obtain third resource increment information corresponding to the time point; For any second target time point between the time point and the starting time point, obtain the third pending order between the second target time point and the previous time point, and perform order splitting and matching processing on the third pending order at the second target time point to obtain the fourth resource increment information corresponding to the second target time point; wherein the second target time point includes the time point; The resource increment information corresponding to the time point is determined based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.

7. The order processing method according to claim 6, characterized in that: The performing order splitting and matching processing on the pending order at the time point to obtain the third resource increment information corresponding to the time point includes: At this time point, a service provider matching the order to be processed is selected; Based on the resource supply information corresponding to the service request end that sends the to-be-processed order and the resource consumption information corresponding to the service provider end, the third resource increment information of the order at this time point is determined.

8. The order processing method according to claim 7, characterized in that: The selecting a service provider matching the order to be processed at this time point includes: At this time point, a service provider in an idle state that matches the order to be processed is selected; Alternatively, a service provider in service status that matches the order to be processed is selected at this time point.

9. The order processing method according to claim 6, characterized in that: The determining the resource increment information corresponding to the time point based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point respectively includes: Determine the sum of the fourth resource increment information corresponding to each second target time point; The difference between the third resource increment information corresponding to the time point and the determined sum value is determined as the resource increment information corresponding to the time point.

10. An order processing device, characterized in that: include: A first determination module is used to determine the maximum resource increment information within a first sub-time period of the current time period based on the pending orders sent by the service request end within the first sub-time period; wherein the resource increment information is determined according to the resource supply information and the resource consumption information, the resource increment information represents the difference between the resource supply information and the resource consumption information after order splitting and matching at any time point, the first sub-time period is a time period from a starting time point within the current time period to a critical time point matching the starting time point, and the first sub-time period is configured to stop order splitting; The second determination module is used to determine the resource increment information at any time point in the second sub-time period of the current time period based on the pending orders sent by the service request end from the time point to the starting time point; wherein, The second sub-time period is a time period from a time point after the critical time point to a time point before the end time point in the current time period; A monitoring module, configured to monitor the order splitting time points within the second sub-time period according to the maximum resource increment information and the resource increment information at each time point within the second sub-time period; A first order splitting matching module is used for performing order splitting matching processing on the corresponding pending orders at the order splitting time point when an order splitting time point within the second sub-time period is monitored; The first sending module is used to send the obtained order matching result to the corresponding service request end; Wherein, the monitoring module is also used for: Select the monitored order splitting time point as the new starting time point, return to execute the step of determining the maximum resource increment information in the first sub-time period based on the pending orders sent by the service request end in the first sub-time period of the current time period, until the monitoring result of the last time point in the second sub-time period is obtained; The time points for splitting orders within the two sub-time periods are determined as follows: Determine resource increment information at any time point in the second sub-time period; If the resource increment information is greater than the maximum resource increment information, determining the time point as the order splitting time point; If the resource increment information is less than or equal to the maximum resource increment information, the time point is determined to be a non-single time point.

11. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the order processing method as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the order processing method according to any one of claims 1 to 9 are executed.

Citation Information

Patent Citations

  • Order allocation method, device and electronic equipment

    CN109508799A