Order processing method, device, electronic device and storage medium
By using the order allocation strategy of the target area and historical order matching processing in the carpooling platform, the order allocation efficiency of carpooling orders is improved, and the problem of low order allocation efficiency in the existing technology is solved.
Patent Information
- Application Number
- CN201910452598.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-05-28
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-05-20
AI Technical Summary
The existing method of splitting ride-sharing orders is inefficient and cannot effectively improve the order splitting efficiency of the platform.
By matching the order allocation strategy of the target area, the pending orders from the target area are divided into orders, historical orders are used for order allocation matching processing, the target order allocation time set is determined, and order allocation processing is performed based on this set.
It improves the order distribution efficiency of the platform, can more effectively match more pending orders, and improves the efficiency of order processing.
Smart Images

Figure CN111861614B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of order processing, 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 the pending orders from the target area by matching the order splitting strategy of the target area, thereby improving 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] Get pending orders sent by the service requester in the target area;
[0007] According to the correspondence between each area and the order splitting time set, the target order splitting time set corresponding to the target area is searched; wherein the target order splitting time set includes at least one order splitting time point, and the target order splitting time set is obtained by performing order splitting matching processing on historical orders in the target area;
[0008] Based on each order splitting time point in the target order splitting time set, the to-be-processed order is split and matched;
[0009] The order matching results obtained by order matching are 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 the step of obtaining the to-be-processed order sent by the service requester in the target area includes:
[0011] Receiving pending orders respectively sent by service request terminals in each area, wherein the pending orders include starting location information;
[0012] According to the geographical location range of the target area and the starting location information of each of the to-be-processed orders, the to-be-processed orders sent by the service request end in the target area are obtained.
[0013] In combination with the first possible implementation of the first aspect, the embodiment of the present application provides a second possible implementation of the first aspect, wherein the order splitting matching processing is performed on the pending orders based on each order splitting time point in the target order splitting time set, including:
[0014] For each order splitting time point in the target order splitting time set, select the order splitting time point before the order splitting time point as the first initial order splitting time point, and obtain the pending orders within the time period from the first initial order splitting time point to the order splitting time point;
[0015] At the order splitting time point, the acquired pending orders are split and matched to obtain the order splitting matching result.
[0016] In combination with the first aspect, the embodiment of the present application provides a third possible implementation of the first aspect, wherein the target order splitting time set is determined by the following method, including:
[0017] Obtaining the end order splitting time point of the target area in the preset time period; wherein the end order splitting time point is the last time point in the preset time period, and the end order splitting time point corresponds to at least one order splitting at the end order splitting time point;
[0018] For each order splitting number corresponding to the order splitting end time point, determine a first order splitting time set corresponding to the maximum order splitting efficiency and the order splitting efficiency of the first order splitting time set from each order splitting time set corresponding to the order splitting number; wherein the number of order splitting time points included in each order splitting time set is the same as the order splitting number, and different order splitting time sets have different order splitting time points;
[0019] Based on the order splitting efficiencies of the first order splitting time sets corresponding to each order splitting number, a target first order splitting time set corresponding to the maximum order splitting efficiency is selected from each first order splitting time set as the target order splitting time set.
[0020] In combination with the third possible implementation of the first aspect, the embodiment of the present application provides a fourth possible implementation of the first aspect, wherein determining, from each order splitting time set corresponding to the number of order splitting times, a first order splitting time set corresponding to the maximum order splitting efficiency includes:
[0021] Select each order splitting time point before the order splitting end time point as a candidate order splitting time point;
[0022] For each candidate order splitting time point, determine a second order splitting time set corresponding to the maximum order splitting efficiency at the candidate order splitting time point under the target order splitting number and the order splitting efficiency of the second order splitting time set; wherein the target order splitting number is the number of order splitting times minus one;
[0023] Based on the order splitting efficiencies of the second order splitting time sets corresponding to the respective candidate order splitting time points under the target order splitting number, selecting the target second order splitting time set corresponding to the maximum order splitting efficiency from the respective second order splitting time sets;
[0024] The end order splitting time point and each order splitting time point in the target second order splitting time set are combined to obtain the first order splitting time set.
[0025] 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 determining the order splitting efficiency of the first order splitting time set includes:
[0026] Selecting the order splitting time point before the order splitting end time point as the second initial order splitting time point;
[0027] Based on the order information of the historical orders in the target area, obtaining the first historical order within the time period from the second initial order splitting time point to the end order splitting time point;
[0028] Performing order splitting matching processing on the first historical order at the order splitting end time point, and determining the order splitting efficiency at the order splitting end time point;
[0029] The order splitting efficiency of the first order splitting time set is determined according to the order splitting efficiency of the order splitting at the end order splitting time point and the order splitting efficiency corresponding to the target second order splitting time set.
[0030] In combination with the fourth possible implementation of the first aspect, an embodiment of the present application provides a sixth possible implementation of the first aspect, wherein determining a second order splitting time set corresponding to the maximum order splitting efficiency at the target order splitting number of the candidate order splitting time point includes:
[0031] For each of the candidate order splitting time points, select the candidate order splitting time point as a new end order splitting time point, return to select each order splitting time point before the end order splitting time point as a candidate order splitting time point and subsequent steps, until the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number;
[0032] Among them, when the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number, the historical orders are split and matched based on each time point in the second order splitting time set and the order information of the historical orders in the target area to obtain the order splitting efficiency of the second order splitting time set.
[0033] 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, based on each time point in the second order splitting time set and the order information of the historical orders in the target area, performing order splitting matching processing on the historical orders to obtain the order splitting efficiency of the second order splitting time set includes:
[0034] For any order splitting time point in the second order splitting time set, selecting the order splitting time point before the order splitting time point as the third initial order splitting time point;
[0035] Based on the order information of the historical orders in the target area, obtaining a second historical order within a time period from the third initial order splitting time point to the order splitting time point;
[0036] Performing split order matching processing on the second historical order at the split order time point, and obtaining the split order efficiency corresponding to the split order at the split order time point;
[0037] The sum of the order splitting efficiencies corresponding to the order splitting at each order splitting time point in the second order splitting time set is determined as the order splitting efficiency of the second order splitting time set.
[0038] In combination with the fifth possible implementation of the first aspect, the embodiment of the present application provides an eighth possible implementation of the first aspect, wherein the performing order matching processing on the first historical order at the end order splitting time point and determining the order splitting efficiency at the end order splitting time point includes:
[0039] At the order splitting end time point, selecting a service provider that matches the first historical order;
[0040] Based on the resource supply information corresponding to the service request end that sends the first historical order and the resource consumption information corresponding to the service provider end, the order splitting efficiency at the end order splitting time point is determined.
[0041] In combination with the third possible implementation manner of the first aspect, the embodiment of the present application provides a ninth possible implementation manner of the first aspect, wherein, after selecting a target first order splitting time set corresponding to a maximum order splitting efficiency from each first order splitting time set, the method further includes:
[0042] Acquire multiple first time sets corresponding to the target area;
[0043] A fitting process is performed on the plurality of the first time division sets to obtain a target time division set corresponding to the target area.
[0044] In a second aspect, an embodiment of the present application provides an order processing device, including:
[0045] A first acquisition module is used to acquire pending orders sent by a service requester in a target area;
[0046] A search module, used for searching a target order splitting time set corresponding to the target area according to the correspondence between each area and the order splitting time set; wherein the target order splitting time set includes at least one order splitting time point, and the target order splitting time set is obtained by performing order splitting matching processing on historical orders in the target area;
[0047] An order splitting matching module, used for performing order splitting matching processing on the pending orders based on each order splitting time point in the target order splitting time set;
[0048] The sending module is used to send the order matching results obtained by order matching to the corresponding service request end.
[0049] In combination with the second aspect, the embodiment of the present application provides a first possible implementation of the second aspect, wherein the first acquisition module is specifically used to:
[0050] Receiving pending orders respectively sent by service request terminals in each area, wherein the pending orders include starting location information;
[0051] According to the geographical location range of the target area and the starting location information of each of the to-be-processed orders, the to-be-processed orders sent by the service request end in the target area are obtained.
[0052] In combination with the first possible implementation of the second aspect, the embodiment of the present application provides a second possible implementation of the second aspect, wherein the order matching module is specifically used to:
[0053] For each order splitting time point in the target order splitting time set, select the order splitting time point before the order splitting time point as the first initial order splitting time point, and obtain the pending orders within the time period from the first initial order splitting time point to the order splitting time point;
[0054] At the order splitting time point, the acquired pending orders are split and matched to obtain the order splitting matching result.
[0055] In combination with the second aspect, the embodiment of the present application provides a third possible implementation of the second aspect, wherein the device further includes:
[0056] A second acquisition module is used to acquire the end order splitting time point of the target area in the preset time period; wherein the end order splitting time point is the last time point in the preset time period, and the end order splitting time point corresponds to at least one order splitting at the end order splitting time point;
[0057] a determination module, configured to determine, for each order splitting number corresponding to the order splitting end time point, from each order splitting time set corresponding to the order splitting number, a first order splitting time set corresponding to the maximum order splitting efficiency and the order splitting efficiency of the first order splitting time set; wherein the number of order splitting time points included in each order splitting time set is the same as the order splitting number, and the order splitting time points in different order splitting time sets are different;
[0058] A selection module is used to select a target first order splitting time set corresponding to the maximum order splitting efficiency from each first order splitting time set based on the order splitting efficiency of the first order splitting time sets corresponding to each order splitting number, as the target order splitting time set.
[0059] In combination with the third possible implementation of the second aspect, the embodiment of the present application provides a fourth possible implementation of the second aspect, wherein the determining module is specifically used to:
[0060] Select each order splitting time point before the order splitting end time point as a candidate order splitting time point;
[0061] For each candidate order splitting time point, determine a second order splitting time set corresponding to the maximum order splitting efficiency at the candidate order splitting time point under the target order splitting number and the order splitting efficiency of the second order splitting time set; wherein the target order splitting number is the number of order splitting times minus one;
[0062] Based on the order splitting efficiencies of the second order splitting time sets corresponding to the respective candidate order splitting time points under the target order splitting number, selecting the target second order splitting time set corresponding to the maximum order splitting efficiency from the respective second order splitting time sets;
[0063] The end order splitting time point and each order splitting time point in the target second order splitting time set are combined to obtain the first order splitting time set.
[0064] 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 determining module is specifically used to:
[0065] Selecting the order splitting time point before the order splitting end time point as the second initial order splitting time point;
[0066] Based on the order information of the historical orders in the target area, obtaining the first historical order within the time period from the second initial order splitting time point to the end order splitting time point;
[0067] Performing order splitting matching processing on the first historical order at the order splitting end time point, and determining the order splitting efficiency at the order splitting end time point;
[0068] The order splitting efficiency of the first order splitting time set is determined according to the order splitting efficiency of the order splitting at the end order splitting time point and the order splitting efficiency corresponding to the target second order splitting time set.
[0069] In combination with the fourth possible implementation of the second aspect, the embodiment of the present application provides a sixth possible implementation of the second aspect, wherein the determining module is specifically used to:
[0070] For each of the candidate order splitting time points, select the candidate order splitting time point as a new end order splitting time point, return to select each order splitting time point before the end order splitting time point as a candidate order splitting time point and subsequent steps, until the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number;
[0071] Among them, when the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number, the historical orders are split and matched based on each time point in the second order splitting time set and the order information of the historical orders in the target area to obtain the order splitting efficiency of the second order splitting time set.
[0072] 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 determining module is specifically used to:
[0073] For any order splitting time point in the second order splitting time set, selecting the order splitting time point before the order splitting time point as the third initial order splitting time point;
[0074] Based on the order information of the historical orders in the target area, obtaining a second historical order within a time period from the third initial order splitting time point to the order splitting time point;
[0075] Performing split order matching processing on the second historical order at the split order time point, and obtaining the split order efficiency corresponding to the split order at the split order time point;
[0076] The sum of the order splitting efficiencies corresponding to the order splitting at each order splitting time point in the second order splitting time set is determined as the order splitting efficiency of the second order splitting time set.
[0077] In combination with the fifth possible implementation of the second aspect, the embodiment of the present application provides an eighth possible implementation of the second aspect, wherein the determining module is specifically used to:
[0078] At the order splitting end time point, selecting a service provider that matches the first historical order;
[0079] Based on the resource supply information corresponding to the service request end that sends the first historical order and the resource consumption information corresponding to the service provider end, the order splitting efficiency at the end order splitting time point is determined.
[0080] In combination with the third possible implementation of the second aspect, the embodiment of the present application provides a ninth possible implementation of the second aspect, wherein the device further includes:
[0081] A third acquisition module is used to acquire a plurality of first split time sets corresponding to the target area;
[0082] The fitting module is used to perform fitting processing on the multiple first time division sets to obtain a target time division set corresponding to the target area.
[0083] 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.
[0084] 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.
[0085] The embodiments of the present application provide an order processing method, device, electronic device, and storage medium, which performs order splitting and matching processing on historical orders in a target area to obtain a target order splitting time set that matches the target area. For pending orders from the target area, pending orders from the target area are split by matching the target order splitting time set of the target area, thereby improving the order splitting efficiency of the platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0086] 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.
[0087] Figure 1 A schematic diagram of the architecture of a service system provided by an embodiment of the present application is shown;
[0088] Figure 2 A flowchart of an order processing method provided by an embodiment of the present application is shown;
[0089] Figure 3 A flowchart of another order processing method provided by an embodiment of the present application is shown;
[0090] Figure 4 A flowchart of another order processing method provided by an embodiment of the present application is shown;
[0091] Figure 5 A flowchart of another order processing method provided by an embodiment of the present application is shown;
[0092] Figure 6 A flowchart of another order processing method provided by an embodiment of the present application is shown;
[0093] Figure 7 A flowchart of another order processing method provided by an embodiment of the present application is shown;
[0094] Figure 8 A flowchart of another order processing method provided by an embodiment of the present application is shown;
[0095] Fig. 9 A flowchart of another order processing method provided by an embodiment of the present application is shown;
[0096] Fig.10 A schematic diagram of the structure of an order processing device provided in an embodiment of the present application is shown;
[0097] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0098] 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.
[0099] 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.
[0100] 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.
[0101] 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.
[0102] 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 embodiments of the present application can be used interchangeably to refer to individuals, entities, or tools that can provide services.
[0103] Figure 11 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.
[0104] 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.
[0105] 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.
[0106] 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.
[0107] 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.
[0108] 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.
[0109] 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.
[0110] 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:
[0111] S201. Obtain pending orders sent by a service requester in a target area.
[0112] In the embodiment of the present application, the pending order may be a pending carpooling order.
[0113] As an implementation mode, pending carpooling orders respectively sent by multiple different service request terminals in area A are obtained as pending orders.
[0114] S202. Search for a target order splitting time set corresponding to the target area according to the correspondence between each area and the order splitting time set; wherein the target order splitting time set includes at least one order splitting time point, and the target order splitting time set is obtained by performing order splitting matching processing on historical orders in the target area.
[0115] In an embodiment of the present application, the server divides the current city into multiple areas in advance, and performs order splitting and matching processing on the historical orders of each area to obtain an order splitting time set corresponding to each area; then, each order splitting time set corresponding to each area is stored in the database.
[0116] For any area, the order splitting time set corresponding to the area is the order splitting time set of the area within a preset time period; for example, the order splitting time set of the area within 24 hours.
[0117] Each order splitting time set includes each order splitting time point in the preset time period of the area. For example, each order splitting time point in the area within 24 hours includes: 1 o'clock, 2 o'clock, 3 o'clock, 4 o'clock, 5 o'clock, etc.
[0118] It should be noted that a minimum order splitting time interval is preset in the server, and the interval between any two adjacent order splitting time points in each order splitting time set is greater than or equal to the minimum order splitting time interval.
[0119] In the embodiment of the present application, the server searches the database for the target order splitting time set corresponding to the target area based on the correspondence between each area and the order splitting time set.
[0120] S203: Based on each order splitting time point in the target order splitting time set, perform order splitting matching processing on the pending orders.
[0121] As an implementation method, the order splitting method is as follows: for each order splitting time point in the target order splitting time set, the previous order splitting time point is selected as the first initial order splitting time point, and the pending orders within the time period from the first initial order splitting time point to the order splitting time point are obtained; at the order splitting time point, the obtained pending orders are subjected to order splitting matching processing to obtain the order splitting matching result.
[0122] For example, the first order splitting time point in the target order splitting time set is 1 o'clock, the previous order splitting time point (that is, the first initial order splitting time point) is 0 o'clock, and the pending orders whose starting positions are located in the target area between 0 o'clock and 1 o'clock are obtained (that is, the pending orders between 0 o'clock and 1 o'clock are obtained). The server packages and matches the obtained pending orders, that is, selects the service provider that matches the obtained pending orders.
[0123] Among them, in the carpooling service, a service provider can be assigned one pending order or multiple pending orders.
[0124] S204: Send the order matching result obtained by order matching to the corresponding service request end.
[0125] In the embodiment of the present application, for each pending order, the order matching result corresponding to the pending order is sent to the service request end that sent the pending order. The above order matching process and the process of sending the order matching result to the service request end are order processing.
[0126] As an implementation mode, for each pending order, the server sends information of a service provider that matches the pending order to the service request end that sends the pending order, as well as information of other service request ends that match the above service provider ends.
[0127] At the same time, for each service provider, the server sends one or more to-be-processed orders that match the service provider to the service provider.
[0128] An order processing method provided by an embodiment of the present application performs order splitting and matching processing on historical orders in a target area to obtain a target order splitting time set matching the target area. For pending orders from a target area, the pending orders from the target area are split by matching the target order splitting time set of the target area, so that more matching pending orders can be split and matched, thereby improving the order splitting efficiency of the platform.
[0129] Further, such as Figure 3 As shown, in the order processing method provided in the embodiment of the present application, the step of obtaining the to-be-processed order sent by the service requesting end in the target area includes:
[0130] S301, receiving pending orders respectively sent by service request terminals in various areas, wherein the pending orders include starting location information.
[0131] S302: Acquire the to-be-processed orders sent by the service request end in the target area according to the geographical location range of the target area and the starting location information of each of the to-be-processed orders.
[0132] In an embodiment of the present application, for each area of the current city, the area is taken as the target area, and based on the starting position information of each pending order received, each pending order located in the target area is obtained to obtain each pending order in each area of the current city.
[0133] In an embodiment of the present application, for each region, order matching is performed on pending orders from the region based on each order splitting time point in the order splitting time set corresponding to each region, thereby improving the order splitting efficiency of the platform.
[0134] Further, such as Figure 4 As shown, in the order processing method provided in the embodiment of the present application, the target order splitting time set is determined in the following manner, including:
[0135] S401. Obtain the end order splitting time point of the target area in the preset time period; wherein the end order splitting time point is the last time point in the preset time period, and the end order splitting time point corresponds to at least one order splitting at the end order splitting time point.
[0136] In the embodiment of the present application, the last time point of the target area in the preset time period is selected as the end order splitting time point. The end order splitting time point may correspond to one order splitting, that is, splitting at the end order splitting time point; the end order splitting time point may also correspond to multiple order splitting, including: splitting at the end order splitting time point, and splitting at any time point in the preset time period except the start order splitting time point (that is, the first time point in the preset time period) and the end order splitting time point.
[0137] For example, the preset time period is 0:00 to 24:00, and 24:00 is selected as the end time point of order splitting. Taking 1 hour as the minimum order splitting interval, the order must be split at least once at 24:00 within the above preset time period.
[0138] S402. For each order splitting number corresponding to the end order splitting time point, determine the first order splitting time set corresponding to the maximum order splitting efficiency and the order splitting efficiency of the first order splitting time set from each order splitting time set corresponding to the order splitting number; wherein the number of order splitting time points included in each order splitting time set is the same as the order splitting number, and the order splitting time points in different order splitting time sets are different.
[0139] In the embodiment of the present application, the end order splitting time point corresponds to at least one order splitting time set under each order splitting number, wherein the number of order splitting time points included in each order splitting time set is the same as the order splitting number, and the order splitting time points in different order splitting time sets are different.
[0140] For example, with 1 hour as the minimum order splitting interval, 24 o'clock corresponds to one order splitting, which is recorded as (24, 1), 24 o'clock corresponds to two order splitting, which is recorded as (24, 2), and so on. (24, 1) corresponds to one order splitting time set, and the number of order splitting time points in the order splitting time set is the same as the current order splitting number, which is 1; (24, 2) corresponds to multiple order splitting time sets, and the number of order splitting time points in each order splitting time set is the same as the current order splitting number, which is 2; (24, 3) corresponds to multiple order splitting time sets, and the number of order splitting time points in each order splitting time set is the same as the current order splitting number, which is 3; and so on; (24, 23) corresponds to multiple order splitting time sets, and the number of order splitting time points in each order splitting time set is the same as the current order splitting number, which is 23; (24, 24) corresponds to one order splitting time set, and the number of order splitting time points in the order splitting time set is the same as the current order splitting number, which is 24.
[0141] Among them, the order splitting time points in different order splitting time sets are different. For example, (24, 1) corresponds to order splitting time set 1, expressed as
[24] ; (24, 2) corresponds to order splitting time set 1, expressed as [1, 24], order splitting time set 2, expressed as [2, 24], order splitting time set 3, expressed as [3, 24], etc. Here, whether under the same order splitting times or different order splitting times, the order splitting time points in any two order splitting time sets are different.
[0142] In an embodiment of the present application, for each order splitting time set corresponding to the end order splitting time point at each order splitting number, the first order splitting time set corresponding to the maximum order splitting efficiency is selected from the above-mentioned order splitting time sets, and the order splitting efficiency of the first order splitting time set is further determined.
[0143] For example, (24, 1) corresponds to the order splitting time set 1
[24] , which is the first order splitting time set corresponding to order splitting at 24 o'clock, and the order splitting efficiency at 24 o'clock is used as the order splitting efficiency of the above-mentioned first order splitting time set.
[0144] For another example, (24, 2) corresponds to order splitting time set 1 [1, 24], order splitting time set 2 [2, 24], order splitting time set 3 [3, 24]...order splitting time set 23 [23, 24]. The first order splitting time set corresponding to the maximum order splitting efficiency is selected from the above order splitting time sets 1 to 23, and the sum of the order splitting efficiencies at each time point in the above first order splitting time set is used as the order splitting efficiency of the first order splitting time set.
[0145] And so on, until the first order splitting time set (24, 24) and the order splitting efficiency corresponding to the first order splitting time set are determined.
[0146] S403. Based on the order splitting efficiencies of the first order splitting time sets corresponding to each order splitting number, a target first order splitting time set corresponding to the maximum order splitting efficiency is selected from each first order splitting time set as the target order splitting time set.
[0147] As an implementation method, the order splitting efficiency of the first order splitting time set corresponding to (24, 1), the order splitting efficiency of the first order splitting time set corresponding to (24, 2), the order splitting efficiency of the first order splitting time set corresponding to (24, 3) ... and the order splitting efficiency of the first order splitting time set corresponding to (24, 24) are compared, the maximum order splitting efficiency is selected, and the first order splitting time set corresponding to the maximum order splitting efficiency is used as the target order splitting time set.
[0148] Further, such as Figure 5As shown, in the order processing method provided in the embodiment of the present application, determining the first order splitting time set corresponding to the maximum order splitting efficiency from each order splitting time set corresponding to the number of order splitting times includes:
[0149] S501, selecting each order splitting time point before the order splitting end time point as a candidate order splitting time point.
[0150] In the embodiment of the present application, a dynamic programming algorithm is used to determine the first order splitting time set corresponding to the maximum order splitting efficiency under the order splitting times.
[0151] For example, the first order splitting time set corresponding to the maximum order splitting efficiency is selected from the order splitting time sets corresponding to (24, 2), and 23:00, 22:00, 21:00, 20:00, 19:00...1:00 are all selected as candidate order splitting time points for 24 o'clock.
[0152] For another example, the first order splitting time set corresponding to the maximum order splitting efficiency is selected from the order splitting time sets corresponding to (24, 3), and 23:00, 22:00, 21:00, 20:00, 19:00...1:00 are all selected as candidate order splitting time points for 24 o'clock.
[0153] S502. For each candidate order splitting time point, determine a second order splitting time set corresponding to the maximum order splitting efficiency at the target order splitting number and the order splitting efficiency of the second order splitting time set; wherein the target order splitting number is the number of order splitting times minus one.
[0154] As an implementation method, the original problem of selecting the first split time set corresponding to the maximum split time efficiency from the various split time sets corresponding to (24, 2) is regressed to the regression problem of selecting the split time set corresponding to the maximum split time efficiency from (23, 1), (22, 1), (21, 1)...(1, 1).
[0155] Among them, (23, 1) corresponds to a splitting time set, that is, the second splitting time set corresponding to the candidate splitting time point 23 o'clock; in the second splitting time set, splitting is performed at 23 o'clock, and the splitting efficiency corresponding to the splitting at 23 o'clock is used as the splitting efficiency of the second splitting time set. Similarly, (22, 1), (21, 1) ... (1, 1).
[0156] As another implementation method, the original problem of selecting the first split time set corresponding to the maximum split time efficiency from the various split time sets corresponding to (24, 3) is regressed to the regression problem of selecting the split time set corresponding to the maximum split time efficiency from (23, 2), (22, 2), (21, 2)...(2, 2).
[0157] Among them, (23, 2) corresponds to multiple order splitting time sets (taking 1 hour as the order splitting interval as an example, there are 22 order splitting time sets). The server selects the second order splitting time set corresponding to the maximum order splitting efficiency from the multiple order splitting time sets corresponding to (23, 2), and determines the order splitting efficiency of the second order splitting time set.
[0158] Similarly, (22, 2) corresponds to multiple order splitting time sets (taking 1 hour as the order splitting interval as an example, there are 21 order splitting time sets). The server selects the second order splitting time set corresponding to the maximum order splitting efficiency from the multiple order splitting time sets corresponding to (22, 2), and determines the order splitting efficiency of the second order splitting time set.
[0159] And so on, until it is determined that (2, 2) corresponds to the second order splitting time set and the order splitting efficiency of the second order splitting time set.
[0160] S503. Based on the order splitting efficiencies of the second order splitting time sets corresponding to the respective candidate order splitting time points under the target order splitting times, a target second order splitting time set corresponding to the maximum order splitting efficiency is selected from the respective second order splitting time sets.
[0161] In an embodiment of the present application, the server compares the order splitting efficiency of the second order splitting time set corresponding to (23, 2), the order splitting efficiency of the second order splitting time set corresponding to (22, 2), the order splitting efficiency of the second order splitting time set corresponding to (21, 2)... and the order splitting efficiency of the second order splitting time set corresponding to (2, 2), selects the maximum order splitting efficiency among them, and uses the second order splitting time set corresponding to the maximum order splitting efficiency as the target second order splitting time set.
[0162] S504: Combine the order splitting end time point and each order splitting time point in the target second order splitting time set to obtain the first order splitting time set.
[0163] In the embodiment of the present application, each time point in the target second order splitting time set and the end order splitting time point are combined to obtain the first order splitting time set.
[0164] Further, such as Figure 6 As shown, in the order processing method provided in the embodiment of the present application, determining the order splitting efficiency of the first order splitting time set includes:
[0165] S601: Select the order splitting time point before the order splitting end time point as the second initial order splitting time point.
[0166] In the embodiment of the present application, 24:00 is taken as the end time point of order splitting, and 1 hour is taken as the order splitting interval. For example, 23:00 is selected as the second initial order splitting time point.
[0167] S602: Based on the order information of the historical orders in the target area, obtain the first historical order within the time period from the second initial order splitting time point to the end order splitting time point.
[0168] In the embodiment of the present application, the server obtains all historical orders in the target area between 23:00 and 24:00, and determines the first historical order corresponding to 24:00 based on the preset cancellation rate of the historical orders and all the above historical orders.
[0169] S603: Perform order splitting matching processing on the first historical order at the time point of ending order splitting, and determine the order splitting efficiency at the time point of ending order splitting.
[0170] In the embodiment of the present application, the first historical order obtained is split at the end splitting time point (for example, 24:00). The specific splitting process is as follows: the server packages and matches the first historical order, selects the service provider that matches the first historical order, and determines the splitting efficiency at the end splitting time point based on the resource supply information corresponding to the service request end that sends the first historical order and the resource consumption information corresponding to the service provider.
[0171] S604: Determine the order splitting efficiency of the first order splitting time set according to the order splitting efficiency at the end order splitting time point and the order splitting efficiency corresponding to the target second order splitting time set.
[0172] In an embodiment of the present application, the order splitting efficiency corresponding to the target second order splitting time set is obtained, the sum of the order splitting efficiency corresponding to the target second order splitting time set and the order splitting efficiency at the end order splitting time point is calculated, and the sum is used as the order splitting efficiency of the first order splitting time set.
[0173] Furthermore, in the order processing method provided in the embodiment of the present application, determining the second order splitting time set corresponding to the maximum order splitting efficiency at the candidate order splitting time point under the target order splitting number includes:
[0174] For each of the candidate order splitting time points, select the candidate order splitting time point as the new end order splitting time point, return to select each order splitting time point before the end order splitting time point as the candidate order splitting time point and subsequent steps, until the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target number of order splitting times.
[0175] In the embodiment of the present application, a dynamic programming algorithm is still used to determine the second order splitting time set corresponding to the maximum order splitting efficiency at the candidate order splitting time point under the target order splitting number and the order splitting efficiency of the second order splitting time set.
[0176] For each of the candidate order splitting time points, if the candidate order splitting time point corresponds to multiple second order splitting time sets under the target order splitting number, the candidate order splitting time point is selected as the new end order splitting time point, and steps 501 to 504 are continued to be executed until the current candidate order splitting time point corresponds to a second order splitting time set under the target order splitting number.
[0177] For example, the original problem of selecting the first order splitting time set corresponding to the maximum order splitting efficiency from each order splitting time set corresponding to (24, 3) is regressed to the regression problem of selecting the order splitting time set corresponding to the maximum order splitting efficiency from (23, 2), (22, 2), (21, 2) ... (2, 2). For any combination in the regression problem, such as (23, 2), which also corresponds to multiple order splitting time sets (taking 1 hour as the order splitting interval as an example, that is, 22 order splitting time sets), the problem of selecting the second order splitting time set corresponding to the maximum order splitting efficiency from each order splitting time set corresponding to (23, 2) can still be regressed to the problem of selecting the order splitting time set corresponding to the maximum order splitting efficiency from (22, 1), (22, 1), (20, 1) ... (1, 1), until the current candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number.
[0178] Among them, when the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number, the candidate order splitting time point cannot be selected as the new end order splitting time point. At this time, based on the various time points in this second order splitting time set and the order information of historical orders in the target area, the historical orders are split and matched to obtain the order splitting efficiency in the second order splitting time set.
[0179] Based on the order splitting efficiency corresponding to each second order splitting time set, the above original problem and each regression problem are solved through the smallest (i, j) combination; wherein i represents the order splitting time point, and j represents the number of order splitting times.
[0180] like Figure 7 As shown, when the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number, based on each time point in the second order splitting time set and the order information of the historical orders in the target area, the historical orders are subjected to order splitting matching processing to obtain the order splitting efficiency of the second order splitting time set, including:
[0181] S701. For any order splitting time point in the second order splitting time set, select the order splitting time point before the order splitting time point as the third initial order splitting time point.
[0182] In the embodiment of the present application, for example, for the regression path (24, 3)-(23, 2)-(22, 1), the candidate order splitting time point is 22 o'clock, which corresponds to a second order splitting time set, that is, (22, 1) corresponds to a second order splitting time set [22 o'clock]. The server selects 21 o'clock as the third initial order splitting time point corresponding to 22 o'clock.
[0183] S702: Based on the order information of the historical orders in the target area, obtain a second historical order within a time period from the third initial order splitting time point to the order splitting time point.
[0184] In the embodiment of the present application, the server obtains all historical orders in the target area between 21:00 and 22:00, and determines a second historical order corresponding to 22:00 based on a preset cancellation rate of the historical orders and all the above historical orders.
[0185] S703: Perform order splitting matching processing on the second historical order at the order splitting time point to obtain the order splitting efficiency corresponding to the order splitting at the order splitting time point.
[0186] In the embodiment of the present application, the acquired second historical order is split at the end splitting time point (for example, 22:00). The specific splitting process is as follows: the server selects a service provider that matches the second historical order; based on the resource supply information corresponding to the service request end that sends the second historical order and the resource consumption information corresponding to the service provider, the splitting efficiency of the order at the end splitting time point is determined.
[0187] S704: Determine the sum of the order splitting efficiencies corresponding to the order splitting at each order splitting time point in the second order splitting time set as the order splitting efficiency of the second order splitting time set.
[0188] Further, such as Figure 8 As shown, in the order processing method provided in the embodiment of the present application, performing order matching processing on the first historical order at the end order splitting time point, and determining the order splitting efficiency at the end order splitting time point, includes:
[0189] S801. At the order splitting end time point, select a service provider that matches the first historical order.
[0190] S802. Determine the order splitting efficiency at the order splitting end time point based on the resource supply information corresponding to the service request end that sends the first historical order and the resource consumption information corresponding to the service provider end.
[0191] In combination with step 801 and step 802, for the first historical order corresponding to any order splitting time point, the server packages and matches the first historical order, that is, selects the service provider that matches the first historical order, and obtains the resource supply information (such as payable fees) of the service request end that sends the first historical order and the resource consumption information (such as receivable fees) of the service provider that matches the first historical order, and determines the order splitting efficiency corresponding to the order splitting end time point based on the total resource supply information of the service request end and the total resource consumption information of the service provider end.
[0192] Further, such as Fig. 9 As shown, in the order processing method provided in the embodiment of the present application, after selecting the target first order splitting time set corresponding to the maximum order splitting efficiency from each first order splitting time set, the method further includes:
[0193] S901. Acquire multiple first time sets corresponding to the target area.
[0194] In an embodiment of the present application, for example, the server obtains multiple first order time sets corresponding to the target area from 0:00 to 24:00 from January 1, 2018 to May 1, 2019.
[0195] S902: Perform fitting processing on the plurality of first order division time sets to obtain a target order division time set corresponding to the target area.
[0196] In the embodiment of the present application, a plurality of first time division sets are fitted to obtain a target time division set corresponding to the target area.
[0197] The embodiments of the present application provide an order processing method, device, electronic device, and storage medium, which performs order splitting and matching processing on historical orders in a target area to obtain a target order splitting time set that matches the target area. For pending orders from the target area, pending orders from the target area are split by matching the target order splitting time set of the target area, thereby improving the order splitting efficiency of the platform.
[0198] Fig.10 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 Fig.10 As shown, the order processing device may include:
[0199] The first acquisition module 1001 is used to acquire pending orders sent by the service requester in the target area;
[0200] A search module 1002 is used to search for a target order splitting time set corresponding to the target area according to the correspondence between each area and the order splitting time set; wherein the target order splitting time set includes at least one order splitting time point, and the target order splitting time set is obtained by performing order splitting matching processing on historical orders in the target area;
[0201] The order splitting matching module 1003 is used to perform order splitting matching processing on the pending orders based on each order splitting time point in the target order splitting time set;
[0202] The sending module 1004 is used to send the order matching result obtained by order matching to the corresponding service request end.
[0203] Furthermore, in the order processing device provided in the embodiment of the present application, the first acquisition module 1001 is specifically used for:
[0204] Receiving pending orders respectively sent by service request terminals in each area, wherein the pending orders include starting location information;
[0205] According to the geographical location range of the target area and the starting location information of each of the to-be-processed orders, the to-be-processed orders sent by the service request end in the target area are obtained.
[0206] Furthermore, in the order processing device provided in the embodiment of the present application, the order matching module 1003 is specifically used for:
[0207] For each order splitting time point in the target order splitting time set, select the order splitting time point before the order splitting time point as the first initial order splitting time point, and obtain the pending orders within the time period from the first initial order splitting time point to the order splitting time point;
[0208] At the order splitting time point, the acquired pending orders are split and matched to obtain the order splitting matching result.
[0209] Furthermore, in the order processing device provided in the embodiment of the present application, the device further includes:
[0210] A second acquisition module is used to acquire the end order splitting time point of the target area in the preset time period; wherein the end order splitting time point is the last time point in the preset time period, and the end order splitting time point corresponds to at least one order splitting at the end order splitting time point;
[0211] a determination module, configured to determine, for each order splitting number corresponding to the order splitting end time point, from each order splitting time set corresponding to the order splitting number, a first order splitting time set corresponding to the maximum order splitting efficiency and the order splitting efficiency of the first order splitting time set; wherein the number of order splitting time points included in each order splitting time set is the same as the order splitting number, and the order splitting time points in different order splitting time sets are different;
[0212] A selection module is used to select a target first order splitting time set corresponding to the maximum order splitting efficiency from each first order splitting time set based on the order splitting efficiency of the first order splitting time sets corresponding to each order splitting number, as the target order splitting time set.
[0213] Furthermore, in the order processing device provided in the embodiment of the present application, the determination module is specifically used to:
[0214] Select each order splitting time point before the order splitting end time point as a candidate order splitting time point;
[0215] For each candidate order splitting time point, determine a second order splitting time set corresponding to the maximum order splitting efficiency at the candidate order splitting time point under the target order splitting number and the order splitting efficiency of the second order splitting time set; wherein the target order splitting number is the number of order splitting times minus one;
[0216] Based on the order splitting efficiencies of the second order splitting time sets corresponding to the respective candidate order splitting time points under the target order splitting number, selecting the target second order splitting time set corresponding to the maximum order splitting efficiency from the respective second order splitting time sets;
[0217] The end order splitting time point and each order splitting time point in the target second order splitting time set are combined to obtain the first order splitting time set.
[0218] Furthermore, in the order processing device provided in the embodiment of the present application, the determination module is specifically used to:
[0219] Selecting the order splitting time point before the order splitting end time point as the second initial order splitting time point;
[0220] Based on the order information of the historical orders in the target area, obtaining the first historical order within the time period from the second initial order splitting time point to the end order splitting time point;
[0221] Performing order splitting matching processing on the first historical order at the order splitting end time point, and determining the order splitting efficiency at the order splitting end time point;
[0222] The order splitting efficiency of the first order splitting time set is determined according to the order splitting efficiency of the order splitting at the end order splitting time point and the order splitting efficiency corresponding to the target second order splitting time set.
[0223] Furthermore, in the order processing device provided in the embodiment of the present application, the determination module is specifically used to:
[0224] For each of the candidate order splitting time points, select the candidate order splitting time point as a new end order splitting time point, return to select each order splitting time point before the end order splitting time point as a candidate order splitting time point and subsequent steps, until the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number;
[0225] Among them, when the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number, the historical orders are split and matched based on each time point in the second order splitting time set and the order information of the historical orders in the target area to obtain the order splitting efficiency of the second order splitting time set.
[0226] Furthermore, in the order processing device provided in the embodiment of the present application, the determination module is specifically used to:
[0227] For any order splitting time point in the second order splitting time set, selecting the order splitting time point before the order splitting time point as the third initial order splitting time point;
[0228] Based on the order information of the historical orders in the target area, obtaining a second historical order within a time period from the third initial order splitting time point to the order splitting time point;
[0229] Performing split order matching processing on the second historical order at the split order time point, and obtaining the split order efficiency corresponding to the split order at the split order time point;
[0230] The sum of the order splitting efficiencies corresponding to the order splitting at each order splitting time point in the second order splitting time set is determined as the order splitting efficiency of the second order splitting time set.
[0231] Furthermore, in the order processing device provided in the embodiment of the present application, the determination module is specifically used to:
[0232] At the order splitting end time point, selecting a service provider that matches the first historical order;
[0233] Based on the resource supply information corresponding to the service request end that sends the first historical order and the resource consumption information corresponding to the service provider end, the order splitting efficiency at the end order splitting time point is determined.
[0234] Furthermore, in the order processing device provided in the embodiment of the present application, the device further includes:
[0235] A third acquisition module is used to acquire a plurality of first split time sets corresponding to the target area;
[0236] The fitting module is used to perform fitting processing on the multiple first time division sets to obtain a target time division set corresponding to the target area.
[0237] An order processing device provided in an embodiment of the present application performs order splitting matching processing on historical orders in a target area to obtain a target order splitting time set matching the target area. For pending orders from the target area, pending orders from the target area are split by matching the target order splitting time set of the target area, thereby improving the order splitting efficiency of the platform.
[0238] like Fig.11 As shown, an electronic device 1100 provided in an embodiment of the present application includes: a processor 1101, a memory 1102 and a bus, wherein the memory 1102 stores machine-readable instructions executable by the processor 1101. When the electronic device is running, the processor 1101 communicates with the memory 1102 through the bus, and the processor 1101 executes the machine-readable instructions to perform the steps of the order processing method as described above.
[0239] Specifically, the processor 1101 and the memory 1102 are general-purpose memories and processors, which are not specifically limited here. When the processor 1101 runs the computer program stored in the memory 1102, the order processing method can be executed.
[0240] 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.
[0241] 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.
[0242] 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.
[0243] 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.
[0244] 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.
[0245] 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, It is characterized in that include: Get pending orders sent by the service requester in the target area; According to the correspondence between each area and the order splitting time set, the target order splitting time set corresponding to the target area is searched; wherein the target order splitting time set includes at least one order splitting time point, and the target order splitting time set is obtained by performing order splitting matching processing on historical orders in the target area, and the interval between any two adjacent order splitting time points in each order splitting time set is greater than or equal to a preset minimum order splitting time interval; Based on the pending orders within the time period between each order splitting time point in the target order splitting time set and the first initial order splitting time point, the pending orders are split and matched at the order splitting time point, wherein the first initial order splitting time point is the previous order splitting time point corresponding to each order splitting time point in the target order splitting time set; Send the order matching results obtained by order matching to the corresponding service request end; Wherein, according to the correspondence between each area and the order splitting time set, searching for the target order splitting time set corresponding to the target area includes: Within a preset time period, a target order splitting time set is determined based on the number of order splitting times corresponding to the end order splitting time point and the corresponding order splitting time set, wherein the end order splitting time point is the last time point in the preset time period, and the end order splitting time point corresponds to at least one order splitting at the end order splitting time point.
2. The order processing method according to claim 1, It is characterized in that The step of obtaining the pending orders sent by the service requester in the target area includes: Receiving pending orders respectively sent by service request terminals in each area, wherein the pending orders include starting location information; According to the geographical location range of the target area and the starting location information of each of the to-be-processed orders, the to-be-processed orders sent by the service request end in the target area are obtained.
3. The order processing method according to claim 1, It is characterized in that The target order splitting time set is determined by the following methods, including: Obtaining the end order splitting time point of the target area in the preset time period; For each order splitting number corresponding to the order splitting end time point, determine a first order splitting time set corresponding to the maximum order splitting efficiency and the order splitting efficiency of the first order splitting time set from each order splitting time set corresponding to the order splitting number; wherein the number of order splitting time points included in each order splitting time set is the same as the order splitting number, and different order splitting time sets have different order splitting time points; Based on the order splitting efficiencies of the first order splitting time sets corresponding to each order splitting number, a target first order splitting time set corresponding to the maximum order splitting efficiency is selected from each first order splitting time set as the target order splitting time set.
4. The order processing method according to claim 3, It is characterized in that The step of determining a first order splitting time set corresponding to the maximum order splitting efficiency from each order splitting time set corresponding to the order splitting times includes: Select each order splitting time point before the order splitting end time point as a candidate order splitting time point; For each candidate order splitting time point, determine a second order splitting time set corresponding to the maximum order splitting efficiency at the candidate order splitting time point under the target order splitting number and the order splitting efficiency of the second order splitting time set; wherein the target order splitting number is the number of order splitting times minus one; Based on the order splitting efficiencies of the second order splitting time sets corresponding to the respective candidate order splitting time points under the target order splitting number, selecting the target second order splitting time set corresponding to the maximum order splitting efficiency from the respective second order splitting time sets; The end order splitting time point and each order splitting time point in the target second order splitting time set are combined to obtain the first order splitting time set.
5. The order processing method according to claim 4, It is characterized in that Determining the order splitting efficiency of the first order splitting time set includes: Selecting the order splitting time point before the order splitting end time point as the second initial order splitting time point; Based on the order information of the historical orders in the target area, obtaining the first historical order within the time period from the second initial order splitting time point to the end order splitting time point; Performing order splitting matching processing on the first historical order at the order splitting end time point, and determining the order splitting efficiency at the order splitting end time point; The order splitting efficiency of the first order splitting time set is determined according to the order splitting efficiency of the order splitting at the end order splitting time point and the order splitting efficiency corresponding to the target second order splitting time set.
6. The order processing method according to claim 4, It is characterized in that The step of determining a second order splitting time set corresponding to the candidate order splitting time point at the target order splitting number and having the maximum order splitting efficiency includes: For each of the candidate order splitting time points, select the candidate order splitting time point as a new end order splitting time point, return to select each order splitting time point before the end order splitting time point as a candidate order splitting time point and subsequent steps, until the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number; Among them, when the candidate order splitting time point corresponds to a second order splitting time set under the corresponding target order splitting number, the historical orders are split and matched based on each time point in the second order splitting time set and the order information of the historical orders in the target area to obtain the order splitting efficiency of the second order splitting time set.
7. The order processing method according to claim 6, It is characterized in that The step of performing order splitting matching processing on the historical orders based on each time point in the second order splitting time set and the order information of the historical orders in the target area to obtain the order splitting efficiency of the second order splitting time set includes: For any order splitting time point in the second order splitting time set, selecting the order splitting time point before the order splitting time point as the third initial order splitting time point; Based on the order information of the historical orders in the target area, obtaining a second historical order within a time period from the third initial order splitting time point to the order splitting time point; Performing split order matching processing on the second historical order at the split order time point, and obtaining the split order efficiency corresponding to the split order at the split order time point; The sum of the order splitting efficiencies corresponding to the order splitting at each order splitting time point in the second order splitting time set is determined as the order splitting efficiency of the second order splitting time set.
8. The order processing method according to claim 5, It is characterized in that The performing order splitting matching processing on the first historical order at the order splitting end time point to determine the order splitting efficiency at the order splitting end time point includes: At the order splitting end time point, selecting a service provider that matches the first historical order; Based on the resource supply information corresponding to the service request end that sends the first historical order and the resource consumption information corresponding to the service provider end, the order splitting efficiency at the end order splitting time point is determined.
9. The order processing method according to claim 3, It is characterized in that After selecting a target first order splitting time set corresponding to the maximum order splitting efficiency from each first order splitting time set, the method further includes: Acquire multiple first time sets corresponding to the target area; A fitting process is performed on the plurality of the first time division sets to obtain a target time division set corresponding to the target area.
10. An order processing device, It is characterized in that include: A first acquisition module is used to acquire pending orders sent by a service requester in a target area; A search module is used to search for a target order splitting time set corresponding to the target area according to the correspondence between each area and the order splitting time set; wherein the target order splitting time set includes at least one order splitting time point, and the target order splitting time set is obtained by performing order splitting matching processing on historical orders in the target area, and the interval between any two adjacent order splitting time points in each order splitting time set is greater than or equal to a preset minimum order splitting time interval; An order splitting matching module is used to perform order splitting matching processing on the pending orders at the order splitting time point based on the pending orders within the time period between each order splitting time point in the target order splitting time set and a first initial order splitting time point, wherein the first initial order splitting time point is the previous order splitting time point corresponding to each order splitting time point; A sending module, used to send the order matching result obtained by order matching to the corresponding service request end; Wherein, the search module is also used for: Within a preset time period, a target order splitting time set is determined based on the number of order splitting times corresponding to the end order splitting time point and the corresponding order splitting time set, wherein the end order splitting time point is the last time point in the preset time period, and the end order splitting time point corresponds to at least one order splitting at the end order splitting time point.
11. An electronic device, It is 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, It is 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.
