CN111833131A - Order processing method and device, electronic equipment and storage medium - Google Patents

Order processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111833131A
CN111833131A CN201910459294.7A CN201910459294A CN111833131A CN 111833131 A CN111833131 A CN 111833131A CN 201910459294 A CN201910459294 A CN 201910459294A CN 111833131 A CN111833131 A CN 111833131A
Authority
CN
China
Prior art keywords
time point
order
sub
increment information
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910459294.7A
Other languages
Chinese (zh)
Inventor
刘畅
孙嘉徽
张�成
艾盟
盛克华
郄小虎
金海明
李群
吴国斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201910459294.7A priority Critical patent/CN111833131A/en
Publication of CN111833131A publication Critical patent/CN111833131A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides an order processing method, an order processing device, electronic equipment and a storage medium, wherein the method comprises the following steps: determining maximum resource increment information in a first sub-time period based on the order to be processed in the first sub-time period; the first sub-time period is a time period from a starting time point to a critical time point matched with the starting time point in the current time period; for any time point in the second sub-time period, determining resource increment information of the time point based on the order to be processed from the time point to the starting time point; the second sub-time period is a time period from a time point after the critical time point to a time point before the ending time point in the current time period; and monitoring the order-separating time point in the second sub-time period according to the maximum resource increment information and the resource increment information of each time point in the second sub-time period, and performing order-separating processing at the monitored order-separating time point. Therefore, more matched orders to be processed can be sorted, and the resource increment information of the platform is improved.

Description

Order processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to an order processing method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of the internet, more and more internet products are used by people, such as a network appointment platform. The net car appointment platform can provide multiple travel services for the passenger, including: express cars, special cars, taxis, single cars, carpools, and the like.
For the car sharing service, the order dividing method for the car sharing order provided by the prior art is as follows: the platform determines the order separation interval time in advance, and for any region, the platform performs order separation processing on the carpooling orders from the region every the order separation interval time. However, the adoption of the above-mentioned order-separating mode has low efficiency of separating the orders of the platform.
Disclosure of Invention
In view of this, an object of the present application is to provide an order processing method, an order processing apparatus, an electronic device, and a storage medium, which can perform order sorting processing on more matched orders to be processed, so as to improve the order sorting efficiency of a platform.
In a first aspect, an embodiment of the present application provides an order processing method, including:
determining maximum resource increment information in a first sub-time period based on a to-be-processed order sent by a service request end in the first sub-time period of the current time period; the first sub-time period is a time period from a starting time point to a critical time point matched with the starting time point in the current time period, and the first sub-time period is configured to stop the order division;
for any time point in a second sub-time period of the current time period, determining resource increment information of the time point based on the order to be processed sent by the service request end in the starting time point from the time point; wherein, the second sub-period is a period from a time point after the critical time point to a time point before the ending time point in the current period;
monitoring the order-dividing time points in the second sub-time period according to the maximum resource increment information and the resource increment information of each time point in the second sub-time period;
and when the order distribution time point in the second sub-time period is monitored, performing order distribution matching processing on the corresponding order to be processed at the order distribution time point, and sending the obtained order distribution matching result to the corresponding service request terminal.
With reference to the first aspect, this embodiment provides a first possible implementation manner of the first aspect, where when the separate time point in the second sub-period is monitored, the method further includes:
and selecting the monitored order distribution time point as a new starting time point, returning to the step of executing the order to be processed sent by the service request terminal in the first sub-time period based on the current time period, and determining the maximum resource increment information in the first sub-time period until the monitoring result of the last time point in the second sub-time period is obtained.
With reference to the first aspect, an embodiment of the present application provides a second possible implementation manner of the first aspect, where after sending the obtained policy matching result to the corresponding service request end, the method further includes:
acquiring the order to be processed from the end time point to the order dividing time point before the end time point;
and performing order distribution matching processing on the obtained order to be processed at the end time point, and sending the obtained order distribution matching result to a corresponding service request terminal.
With reference to the first aspect or the first possible implementation manner of the first aspect, an embodiment of the present application provides a third possible implementation manner of the first aspect, where, for any starting time point, a critical time point matching the starting time point is determined by:
determining the time length corresponding to the critical time point matched with the starting time point based on the ending time point, the starting time point and a preset threshold value in the current time period;
based on the starting time point and the time length, a critical time point matching the starting time point is determined.
With reference to the first aspect, an embodiment of the present application provides a fourth possible implementation manner of the first aspect, where the determining, based on the to-be-processed order sent by the service request end in the first sub-time period of the current time period, maximum resource increment information in the first sub-time period includes:
determining resource increment information respectively corresponding to each time point based on the first to-be-processed order respectively corresponding to each time point in the first sub-time period;
and selecting the maximum resource increment information in the first sub-time period from the resource increment information respectively corresponding to each time point.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present application provides a fifth possible implementation manner of the first aspect, where the determining, based on the first to-be-processed orders respectively corresponding to each time point in the first sub-period, resource increment information respectively corresponding to each time point includes:
aiming at any time point in the first sub-time period, acquiring a first order to be processed from the time point to the starting time point, and performing order distribution matching processing on the first order to be processed at the time point to obtain first resource increment information corresponding to the time point;
aiming at any first target time point from the time point to the starting time point, acquiring a second order to be processed from the first target time point to the previous time point, and performing order distribution matching processing on the second order to be processed at the first target time point to obtain second resource increment information corresponding to the first target time point; wherein the first target time point comprises the time point;
and determining the resource increment information corresponding to the time point based on the first resource increment information corresponding to the time point and the second resource increment information corresponding to each first target time point.
With reference to the first aspect, an embodiment of the present application provides a sixth possible implementation manner of the first aspect, where the determining, based on the to-be-processed order sent by the service request end within the time point to the starting time point, resource increment information at the time point includes:
obtaining a to-be-processed order sent by the service request terminal from the time point to the starting time point, and performing order distribution matching processing on the to-be-processed order at the time point to obtain third resource increment information corresponding to the time point;
acquiring a third order to be processed from the second target time point to a previous time point aiming at any second target time point from the time point to the starting time point, and performing order distribution matching processing on the third order to be processed at the second target time point to obtain fourth resource increment information corresponding to the second target time point; wherein the second target time point comprises the time point;
and determining the resource increment information corresponding to the time point based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.
With reference to the sixth possible implementation manner of the first aspect, an embodiment of the present application provides a seventh possible implementation manner of the first aspect, where the performing, at the time point, an order splitting matching process on the order to be processed to obtain third resource increment information corresponding to the time point includes:
selecting a service provider matched with the order to be processed at the time point;
and determining third resource increment information for sorting at the time point based on the resource supply information corresponding to the service request end for sending the order to be processed and the resource consumption information corresponding to the service providing end.
With reference to the seventh possible implementation manner of the first aspect, an embodiment of the present application provides an eighth possible implementation manner of the first aspect, where the selecting, at the time point, a service provider matched with the to-be-processed order includes:
selecting a service provider in an idle state matched with the order to be processed at the time point;
or,
and selecting the service providing end which is matched with the order to be processed and is in the service state at the time point.
With reference to the sixth possible implementation manner of the first aspect, an embodiment of the present application provides a ninth possible implementation manner of the first aspect, where the determining, based on the third resource increment information corresponding to the time point and fourth resource increment information corresponding to each second target time point, resource increment information corresponding to the time point includes:
determining the sum of the fourth resource increment information corresponding to each second target time point;
and determining the difference value between the third resource increment information corresponding to the time point and the determined sum value as the resource increment information corresponding to the time point.
In a second aspect, an embodiment of the present application further provides an order processing apparatus, including:
the system comprises a first determining module, a second determining module and a processing module, wherein the first determining module is used for determining the maximum resource increment information in a first sub-time period based on a to-be-processed order sent by a service request end in the first sub-time period of the current time period; the first sub-time period is a time period from a starting time point to a critical time point matched with the starting time point in the current time period, and the first sub-time period is configured to stop the order division;
a second determining module, configured to determine, for any time point in a second sub-time period of the current time period, resource increment information of the time point based on the to-be-processed order sent from the time point to the service request end within the starting time point; wherein, the second sub-period is a period from a time point after the critical time point to a time point before the ending time point in the current period;
the monitoring module is used for monitoring the order-separating time points in the second sub-time period according to the maximum resource increment information and the resource increment information of each time point in the second sub-time period;
the first order matching module is used for performing order matching processing on the corresponding order to be processed at the order dividing time point when the order dividing time point in the second sub-time period is monitored;
and the first sending module is used for sending the obtained matching result of the order to the corresponding service request terminal.
In combination with the second aspect, embodiments of the present application provide a first possible implementation manner of the second aspect, where the apparatus further includes:
and the circulating module is used for selecting the monitored order dividing time point as a new starting time point and informing the first determining module of the new starting time point so that the first determining module, the second determining module and the monitoring module can operate until a monitoring result of the last time point in the second sub-time period is obtained.
In combination with the second aspect, embodiments of the present application provide a second possible implementation manner of the second aspect, where the ending time point is configured as the billing time point; the device further comprises:
the acquisition module is used for acquiring the order to be processed from the end time point to the order dividing time point before the end time point;
the second order matching module is used for performing order matching processing on the obtained order to be processed at the end time point;
and the second sending module is used for sending the obtained matching result of the order distribution to the corresponding service request terminal.
With reference to the second aspect or the first possible implementation manner of the second aspect, this application provides a third possible implementation manner of the second aspect, where the apparatus further includes:
the third determining module is used for determining the time length corresponding to the critical time point matched with the starting time point based on the ending time point, the starting time point and a preset threshold value in the current time period;
and the fourth determination module is used for determining a critical time point matched with the starting time point based on the starting time point and the time length.
With reference to the second aspect, an embodiment of the present application provides a fourth possible implementation manner of the second aspect, where the first determining module is specifically configured to:
determining resource increment information respectively corresponding to each time point based on the first to-be-processed order respectively corresponding to each time point in the first sub-time period;
and selecting the maximum resource increment information in the first sub-time period from the resource increment information respectively corresponding to each time point.
With reference to the fourth possible implementation manner of the second aspect, an embodiment of the present application provides a fifth possible implementation manner of the second aspect, where the first determining module is specifically configured to:
aiming at any time point in the first sub-time period, acquiring a first order to be processed from the time point to the starting time point, and performing order distribution matching processing on the first order to be processed at the time point to obtain first resource increment information corresponding to the time point;
aiming at any first target time point from the time point to the starting time point, acquiring a second order to be processed from the first target time point to the previous time point, and performing order distribution matching processing on the second order to be processed at the first target time point to obtain second resource increment information corresponding to the first target time point; wherein the first target time point comprises the time point;
and determining the resource increment information corresponding to the time point based on the first resource increment information corresponding to the time point and the second resource increment information corresponding to each first target time point.
With reference to the second aspect, an embodiment of the present application provides a sixth possible implementation manner of the second aspect, where the second determining module is specifically configured to:
obtaining a to-be-processed order sent by the service request terminal from the time point to the starting time point, and performing order distribution matching processing on the to-be-processed order at the time point to obtain third resource increment information corresponding to the time point;
acquiring a third order to be processed from the second target time point to a previous time point aiming at any second target time point from the time point to the starting time point, and performing order distribution matching processing on the third order to be processed at the second target time point to obtain fourth resource increment information corresponding to the second target time point; wherein the second target time point comprises the time point;
and determining the resource increment information corresponding to the time point based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.
With reference to the sixth possible implementation manner of the second aspect, an embodiment of the present application provides a seventh possible implementation manner of the second aspect, wherein the second determining module is specifically configured to:
selecting a service provider matched with the order to be processed at the time point;
and determining third resource increment information for sorting at the time point based on the resource supply information corresponding to the service request end for sending the order to be processed and the resource consumption information corresponding to the service providing end.
With reference to the seventh possible implementation manner of the second aspect, an embodiment of the present application provides an eighth possible implementation manner of the second aspect, wherein the second determining module is specifically configured to:
selecting a service provider in an idle state matched with the order to be processed at the time point;
or,
and selecting the service providing end which is matched with the order to be processed and is in the service state at the time point.
With reference to the sixth possible implementation manner of the second aspect, an embodiment of the present application provides a ninth possible implementation manner of the second aspect, wherein the second determining module is specifically configured to:
determining the sum of the fourth resource increment information corresponding to each second target time point;
and determining the difference value between the third resource increment information corresponding to the time point and the determined sum value as the resource increment information corresponding to the time point.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the order processing method according to any one of the first aspect.
In a fourth aspect, this application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the order processing method according to any one of the first aspect.
According to the order processing method, the order processing device, the electronic equipment and the storage medium, the maximum resource increment information in the first sub-time period is determined based on the order to be processed in the first sub-time period of the current time period, and the first sub-time period is decided not to be sorted; the first sub-period is from the starting time point to the critical time point matching the starting time point; and for each time point in a second sub-time period, which is a time period from a time point after the critical time point to a time point before the ending time point in the current time period, monitoring the order-separating time point in the second sub-time period based on the resource increment information of each time point and the maximum resource increment information in the first sub-time period, and performing order separation at the order-separating time point when the order-separating time point is monitored. Therefore, more matched orders to be processed can be subjected to order dividing processing, and the order dividing efficiency of the platform is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic diagram illustrating an architecture of a service system provided in an embodiment of the present application;
FIG. 2 is a flow chart illustrating an order processing method according to an embodiment of the present application;
FIG. 3 is a flow chart of another order processing method provided by the embodiment of the application;
FIG. 4 is a flow chart illustrating another order processing method provided by the embodiment of the present application;
FIG. 5 is a flow chart illustrating another order processing method provided by the embodiment of the present application;
FIG. 6 is a flow chart of another order processing method provided by the embodiment of the application;
FIG. 7 is a flow chart illustrating another method for order processing according to an embodiment of the present application;
fig. 8 is a schematic structural diagram illustrating an order processing apparatus according to an embodiment of the present application;
fig. 9 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
To enable those skilled in the art to use the present disclosure, the following embodiments are presented in conjunction with a specific application scenario "car pool order processing". It will be apparent to those skilled in the art that the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the application. Although the present application is primarily described in the context of a ride share order process, it should be understood that this is merely one exemplary embodiment.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
The terms "user," "passenger," "requestor," "service person," "service requestor terminal," "passenger terminal," "customer" in embodiments of the present application are used interchangeably to refer to an individual, entity, or tool that can request or order a service. The terms "driver," "service provider," "driver end," and "driver terminal" are used interchangeably in this application to refer to an individual, entity, or tool that can provide a service.
Fig. 1 is a block diagram of a service system 100 of some embodiments of the present application. For example, the service system 100 may be an online transportation service platform for transportation services such as taxi cab, designated drive service, express, carpool, bus service, driver rental, or shift service, or any combination thereof. The service system 100 may include one or more of a server 110, a network 120, a service requester 130, a service provider 140, and a database 150.
In some embodiments, the server 110 may be a single server or a group of servers. The set of servers can be centralized or distributed (e.g., the servers 110 can be a distributed system). In some embodiments, the server 110 may be local or remote to the terminal. For example, the server 110 may access information and/or data stored in the service requester 130, the service provider 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 requester 130, the service provider 140, and the database 150 to access stored information and/or data. In some embodiments, the server 110 may be implemented on a cloud platform; by way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud (community cloud), a distributed cloud, an inter-cloud, a multi-cloud, and the like, or any combination thereof.
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 of the functions described herein. For example, the processor may determine each boarding point within the target area to which the current location information belongs based on the current location information in the service request transmitted from the service requester 130. In some embodiments, a processor may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). Merely by way of example, a 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 (Reduced Instruction Set computer), a microprocessor, or the like, or any combination thereof.
Network 120 may be used for the exchange of information and/or data. In some embodiments, one or more components (e.g., server 110, service requester 130, service provider 140, and database 150) in service system 100 may send information and/or data to other components. For example, the server 110 may obtain a service request from the service requester 130 via the network 120. In some embodiments, the network 120 may be any type of wired or wireless network, or combination thereof. Merely by way of example, Network 130 may include a wired Network, a Wireless Network, a fiber optic Network, a telecommunications Network, an intranet, the internet, a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), a WLAN, a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a Public Switched Telephone Network (PSTN), a bluetooth Network, a ZigBee Network, a Near Field Communication (NFC) Network, or the like, or any combination thereof. In some embodiments, network 120 may include one or more network access points. For example, network 120 may include wired or wireless network access points, such as base stations and/or network switching nodes, through which one or more components of serving system 100 may connect to network 120 to exchange data and/or information.
In some embodiments, the service requester 130 may include a mobile device, a tablet computer, a laptop computer, or a built-in device in a motor vehicle, etc., 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 the like, or any combination thereof. In some embodiments, the service requester 130 may be a device having a function for location.
Database 150 may store data and/or instructions. In some embodiments, the database 150 may store data obtained from the service requester 130 and/or the service provider 140. In some embodiments, database 150 may store data and/or instructions for the exemplary methods described in embodiments of the present application. In some embodiments, database 150 may include mass storage, removable storage, volatile Read-write Memory, or Read-Only Memory (ROM), among others, or any combination thereof. By way of example, mass storage may include magnetic disks, optical disks, solid state drives, and the like; removable memory may include flash drives, floppy disks, optical disks, memory cards, zip disks, tapes, and the like; volatile read-write Memory may include Random Access Memory (RAM); the RAM may include Dynamic RAM (DRAM), Double data Rate Synchronous Dynamic RAM (DDR SDRAM); static RAM (SRAM), Thyristor-Based Random Access Memory (T-RAM), Zero-capacitor RAM (Zero-RAM), and the like. By way of example, ROMs may include Mask Read-Only memories (MROMs), Programmable ROMs (PROMs), Erasable Programmable ROMs (PERROMs), Electrically Erasable Programmable ROMs (EEPROMs), compact disk ROMs (CD-ROMs), digital versatile disks (ROMs), and the like. In some embodiments, database 150 may be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, across clouds, multiple clouds, or the like, or any combination thereof.
In some embodiments, a 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 be part of the server 110.
Based on the service system 100, an embodiment of the present application provides an order processing method, which may be applied to the server 110, as shown in fig. 2, and the method includes the following steps:
s201, determining maximum resource increment information in a first sub-time period based on a to-be-processed order sent by a service request end in the first sub-time period of the current time period; the first sub-period is a period from a starting time point to a critical time point matching the starting time point in the current period, and the first sub-period is configured to stop the order division.
In the embodiment of the application, a preset order-separating time period is stored in a server; for example, the preset billing period is 0 to 24 points per day. In one embodiment, the current time period is the preset order-dividing time period. As another embodiment, the server divides a preset order-dividing time period into a plurality of time periods in advance, wherein the current time period is any one of the preset order-dividing time periods; here, the server divides a preset order-dividing time period into a plurality of time periods according to a fixed time length; for example, the server divides 0 to 24 points into 86400 time periods according to a time length of 60 s.
In an embodiment of the present application, the current time period includes a start time point and a critical time point matching the start time point. And determining the time period from the starting time point to the critical time point matched with the starting time point as a first sub-time period in the current time period. The first sub-period is configured to stop the order distribution in advance, where stopping the order distribution means not sending the matching result of the order distribution to the corresponding service request end.
In one embodiment, the current time period is 0s-60s, 0s is the starting time point, and the critical time point matching 0s is 22 s. Correspondingly, 0-22s is a first sub-time period, for the to-be-processed orders from the service request terminal within 0-22s, the server does not perform order separation processing on the to-be-processed orders, but determines the maximum resource increment information within 0-22s based on the to-be-processed orders within 0-22s, so as to monitor the order separation time point within a second sub-time period (namely 23s-59s) based on the maximum resource increment information.
S202, determining resource increment information of any time point in a second sub-time period of the current time period based on the order to be processed sent by the service request terminal from the time point to the initial time point; and the second sub-period is a period from a time point after the critical time point to a time point before the ending time point in the current period.
In one embodiment, the current time period is 0s-60s, 0 is a starting time point (also an initial billing time point), 60s is an ending time point in the current time period, and correspondingly, 23s-59s is a second sub-time period, where the second sub-time period includes multiple time points of 23s, 24s, and 25s … … 59 s; aiming at any time point (such as 23s) in 23s, 24s and 25s … … 59s, the server acquires the orders to be processed within 0-23 s, and determines the resource increment information corresponding to the order splitting in 23s based on the acquired orders to be processed.
And if the 23s is not the order-separating time point, aiming at the 24s, the server acquires the to-be-processed orders within 0-24 s, and determines the resource increment information corresponding to the order separation in the 24s based on the acquired to-be-processed orders. Based on the same principle, the server can determine the resource increment information corresponding to any time point from 25s to 59 s.
S203, monitoring the order-separating time point in the second sub-time period according to the maximum resource increment information and the resource increment information of each time point in the second sub-time period.
As an embodiment, for 23s, after determining resource increment information corresponding to 23s billing, the server compares the resource increment information with maximum resource increment information corresponding to 0-22s, and if the resource increment information is greater than the maximum resource increment information, determines 23s as a billing time point; and if the resource increment information is less than or equal to the maximum resource increment information, determining 23s as a non-singleness time point. Based on the same principle, the server can determine whether any time point of 24s to 59s is an order-separating time point.
And S204, when the order distribution time point in the second sub-time period is monitored, performing order distribution matching processing on the corresponding order to be processed at the order distribution time point, and sending the obtained order distribution matching result to the corresponding service request terminal.
In the embodiment of the application, if the server monitors that 23s is the order distribution time point, the order distribution matching processing is carried out on the orders to be processed within 0-23 s in 23s, and the order distribution matching result is sent to the corresponding service request end. The server carries out order matching processing on the corresponding order to be processed at the order dividing time point, and sends the obtained order matching result to the corresponding service request terminal, namely, the order dividing processing is carried out at the order dividing time point.
The order matching method comprises the following steps: and the server packs and matches the to-be-processed order, namely selects a service provider matched with the to-be-processed order, and sends the relevant information of the selected service provider to a service request end corresponding to the successfully-matched to-be-processed order.
According to the order processing method provided by the embodiment of the application, based on the order to be processed in the first sub-time period of the current time period, the maximum resource increment information in the first sub-time period is determined, and the first sub-time period is decided not to be divided; the first sub-period is from the starting time point to the critical time point matching the starting time point; and for each time point in a second sub-time period, which is a time period from a time point after the critical time point to a time point before the ending time point in the current time period, monitoring the order-separating time point in the second sub-time period based on the resource increment information of each time point and the maximum resource increment information in the first sub-time period, and performing order separation at the order-separating time point when the order-separating time point is monitored. Therefore, more matched orders to be processed can be subjected to order dividing processing, and the order dividing efficiency of the platform is improved.
Further, according to the order processing method provided in the embodiment of the present application, when the order distribution time point in the second sub-period is monitored, the method further includes:
and selecting the monitored order distribution time point as a new starting time point, returning to the step of executing the order to be processed sent by the service request terminal in the first sub-time period based on the current time period, and determining the maximum resource increment information in the first sub-time period until the monitoring result of the last time point in the second sub-time period is obtained.
As an implementation mode, when the server monitors that 23s is the order-separating time point, the server performs order-separating processing in 23 s; at this time, the server selects 23s as a new starting time point, and determines that the critical time point matched with 23s is 36s, correspondingly, 23 s-36 s are new first sub-time periods, 37 s-59s are new second sub-time periods, and 23 s-36 s are configured to stop the order splitting; aiming at the orders to be processed from the service request end within 23s to 36s, the server does not carry out order separation processing on the orders to be processed, but determines the maximum resource increment information within 23s to 36s based on the orders to be processed within 23s to 36s, so as to monitor the order separation time point within 37s to 59s based on the maximum resource increment information.
The second sub-period includes a plurality of time points of 37s, 38s, 39s … … 59 s; aiming at any time point (such as 37s) in 37s, 38s and 39s … … 59s, the server acquires orders to be processed in 23 s-37 s, and determines resource increment information corresponding to the order splitting in 37s based on the acquired orders to be processed.
After determining the resource increment information corresponding to 37s of order distribution, the server compares the resource increment information with the maximum resource increment information corresponding to 23 s-36 s, and if the resource increment information is greater than the maximum resource increment information, the server determines 37s as an order distribution time point; and if the resource increment information is less than or equal to the maximum resource increment information, determining 37s as a non-singleness time point.
If the 37s is not the order-separating time point, aiming at 38s, the server acquires the order to be processed in 23 s-38 s, determines the resource increment information corresponding to the order separation in 38s based on the acquired order to be processed, compares the resource increment information with the maximum resource increment information corresponding to 23 s-36 s, and determines 38s as the order-separating time point if the resource increment information is greater than the maximum resource increment information; and if the resource increment information is less than or equal to the maximum resource increment information, determining 38s as a non-singleness time point.
Based on the same principle of 37s and 38s, the server can determine the resource increment information corresponding to any time point of 39 s-59s, and monitor whether any time point of 39 s-59s is the order-separating time point or not based on the determined resource increment information.
Further, as shown in fig. 3, in the order processing method provided in the embodiment of the present application, for any starting time point, the critical time point matching the starting time point is determined by the following method:
s301, determining the time length corresponding to the critical time point matched with the starting time point based on the ending time point, the starting time point and a preset threshold value in the current time period.
As an embodiment, the server calculates the time length corresponding to the critical time point matching the starting time point according to the following formula:
the time length corresponding to the critical time point matching the starting time point is (ending time point-the starting time point in the current time period) × a preset threshold.
In one embodiment, the server configures the preset threshold based on a 37 rule, and accordingly, the threshold is 0.37.
For example, the start time point is 0, the end time point in the current time period is 60s, and the time length is (60s-0) × 0.37 is 22.2 s.
For another example, the starting time point is 23s, the ending time point in the current time period is 60s, and the time length is (60s-23s) × 0.37 is 13.69 s.
S302, determining a critical time point matched with the starting time point based on the starting time point and the time length.
In the embodiment of the application, when the time length corresponding to the critical time point matched with the starting time point has a decimal, rounding processing is performed on the time length with the decimal. The rounding process here includes: the decimal is discarded or carried.
For example, the time length 22.2s is subjected to rounding processing, which may be 22 or 23; 13.69s may be 13 or 14 after rounding. In the present embodiment, 22 is taken as an example after 22.2s is rounded, and 13.69s is taken as an example after 13s is rounded.
In one embodiment, the starting time point is 0, the time length is 22, and the critical time point matching the starting time point is determined to be 0+22 s-22 s.
In one embodiment, the starting time point is 23s, the time length is 13s, and the critical time point matching the starting time point is determined to be 23s +13 s-36 s.
Further, as shown in fig. 4, in the order processing method provided in the embodiment of the present application, the ending time point is configured as the order dividing time point; after sending the obtained matching result of the order to the corresponding service request terminal, the method further comprises:
s401, obtaining the order to be processed from the ending time point to the order dividing time point before the ending time point.
S402, performing order distribution matching processing on the obtained order to be processed at the ending time point, and sending the obtained order distribution matching result to a corresponding service request end.
With reference to steps 401 to 402, in this embodiment, the server sets an ending time point (i.e., 60s) in the current time period as an order splitting time point in advance. And after the server completes monitoring of each time point from 0s to 59s, if the current time reaches 60s, the server performs order separation processing.
The specific singulation process is as follows: the server determines the previous order-separating time point (for example, 58s) at the current time, acquires the orders to be processed in 58 s-60s, performs order-separating matching processing on the orders to be processed, and sends the obtained order-separating matching result to the corresponding service request terminal.
Further, as shown in fig. 5, in the order processing method provided in the embodiment of the present application, the determining, based on the to-be-processed order sent by the service request end in the first sub-time period of the current time period, maximum resource increment information in the first sub-time period includes:
s501, determining resource increment information corresponding to each time point based on the first to-be-processed orders corresponding to each time point in the first sub-time period.
In this embodiment of the application, for any time point in the first sub-time period, the first to-be-processed order corresponding to the time point is: all pending orders within the time point to the start time point of the first sub-period. And determining the resource increment information corresponding to the time point based on the order distribution matching result of the corresponding first order to be processed at the time point and the order distribution processing result of carrying out order distribution matching from the starting time point to each first target time point in the time period corresponding to the time point in the first sub-time period.
And S502, selecting the maximum resource increment information in the first sub-time period from the resource increment information respectively corresponding to each time point.
In the embodiment of the application, the server compares the resource increment information corresponding to each time point in the first sub-time period, and selects the maximum resource increment information in the first sub-time period from the resource increment information according to the comparison result.
Further, as shown in fig. 6, in the order processing method provided in the embodiment of the present application, the determining, based on the first to-be-processed order corresponding to each time point in the first sub-time period, resource increment information corresponding to each time point includes:
s601, aiming at any time point in the first sub-time period, obtaining a first order to be processed from the time point to the starting time point, and performing order distribution matching processing on the first order to be processed at the time point to obtain first resource increment information corresponding to the time point.
As an embodiment, the above-mentioned separation matching process includes: selecting a service provider matched with the first order to be processed at the time point; and determining first resource increment information of the order splitting at the time point based on the resource supply information corresponding to the service request terminal sending the order to be processed and the resource consumption information corresponding to the service providing terminal.
For example, the first sub-time period is 0-22s, the starting time point is 0, and a first to-be-processed order (including the to-be-processed order 1, the to-be-processed order 2 and the to-be-processed order 3) in 0s-2 s is obtained for a second time point 2s of the first sub-time period of 0-22 s; selecting a service provider 1 matched with the order 1 to be processed and the order 2 to be processed at the time point of 1s, and selecting a service provider 2 matched with the order 3 to be processed; then, the server determines a first sum of resource supply information (the resource supply information may be the charged fee of the service request terminal) corresponding to the service request terminal 1 sending the pending order 1, the service request terminal 2 sending the pending order 2 and the service request terminal 3 sending the pending order 3 respectively; the server determines a second sum of resource consumption information (the resource consumption information may be the receivable charge of the service provider) corresponding to the service provider 1 and the service provider 2, respectively; and the server determines the difference value between the first sum value and the second sum value as the first resource increment information in the 2s billing.
Based on the principle of the same principle, the server can determine the first resource increment information of the order distribution at any time point from 3s to 22 s.
S602, aiming at any first target time point from the time point to the starting time point, obtaining a second order to be processed from the first target time point to the previous time point, and performing order distribution matching processing on the second order to be processed at the first target time point to obtain second resource increment information corresponding to the first target time point; wherein the first target time point comprises the time point.
As an embodiment, two first target time points 1s and 2s are included between the starting time point (0s) and the time point (i.e., 2 s). And acquiring a second order to be processed (including the order 1 to be processed) within 0s to 1s aiming at the first target time point 1s, and performing order distribution matching processing on the acquired order 1 to be processed at 1 s. The specific order matching processing comprises the following steps: selecting a service provider 1 matched with the order 1 to be processed, determining resource supply information (the resource supply information may be the charge due to the service provider 1) corresponding to the service requester 1 sending the order 1 to be processed and resource consumption information (the resource consumption information may be the charge due to the service provider 1) corresponding to the service provider 1, and determining the difference between the resource supply information and the resource consumption information as second resource increment information when the order is divided at a first target time point of 1 s.
Similarly, a second order to be processed (including the order 3 to be processed) within 1s to 2s is obtained for the first target time point 2s, and the obtained order 3 to be processed is subjected to order distribution matching processing in 2s, so that second resource increment information during 2s order distribution is obtained.
Similarly, the server can also obtain second resource increment information corresponding to the order distribution matching of any first target time point in 3 s-22 s.
S603, determining the resource increment information corresponding to the time point based on the first resource increment information corresponding to the time point and the second resource increment information corresponding to each first target time point.
As an implementation manner, the server determines a sum of second resource increment information corresponding to each first target time point; and determining the difference value between the first resource increment information corresponding to the time point and the determined sum value as the resource increment information corresponding to the time point.
For example, the server calculates a sum of the second resource increment information in the 1s billing period and the second resource increment information in the 2s billing period, and calculates a difference between the first resource increment information in the 2s billing period and the sum as the resource increment information in the 2s billing period.
Further, as shown in fig. 7, in the order processing method provided in the embodiment of the present application, the determining resource increment information at the time point based on the to-be-processed order sent from the time point to the service request end within the starting time point includes:
s701, obtaining the order to be processed sent by the service request terminal from the time point to the starting time point, and performing order distribution matching processing on the order to be processed at the time point to obtain third resource increment information corresponding to the time point.
As an embodiment, 23s-59s is a second sub-time period, no order is divided before 23s, 0 is an initial order dividing time point, and for a first time point (23s) in the second sub-time period, the server acquires orders to be processed within 0-23 s, and performs order dividing matching processing on the acquired orders to be processed at 23 s.
The specific matching mode of the order is as follows: selecting a service provider matched with the order to be processed at the time point (namely 23 s); and determining third resource increment information for sorting at the time point (namely 23s) based on the resource supply information corresponding to the service request terminal sending the order to be processed and the resource consumption information corresponding to the service providing terminal matched with the order to be processed.
Similarly, the server can determine the third resource increment information at any time point of 24 s-59 s.
S702, aiming at any second target time point from the time point to the starting time point, obtaining a third order to be processed from the second target time point to the previous time point, and performing order distribution matching processing on the third order to be processed at the second target time point to obtain fourth resource increment information corresponding to the second target time point; wherein the second target time point comprises the time point.
As an embodiment, 23 second target time points 1s, 2s … … 23s are included between the time point (23s) and the last minute time point (i.e. 0). And acquiring a third order to be processed within 0 to 1s according to the first second target time point 1s, performing order distribution matching processing on the acquired third order to be processed within 1s, and determining fourth resource increment information corresponding to 1s based on the result of the order distribution matching processing.
The specific order matching processing comprises the following steps: selecting a service provider matched with the third order to be processed at the time point of 1 s; then, the server determines resource supply information corresponding to a service request end (where the resource supply information may be a charged fee of the service request end) and resource consumption information corresponding to a service providing end (where the resource consumption information may be a charged fee of the service providing end) for transmitting the order to be processed, and determines a difference value between the resource supply information and the resource consumption information as fourth resource increment information corresponding to 1 s.
Similarly, the server determines, in sequence, fourth resource increment information corresponding to the second target time point (2s), fourth resource increment information corresponding to the third second target time point (3s), and fourth resource increment information corresponding to the twenty-third second target time point (23s) of the fourth resource increment information … ….
S703, determining the resource increment information corresponding to the time point based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.
In one embodiment, the server calculates a difference between the third resource increment information at 23s billing time and the fourth resource increment information corresponding to 1s, calculates a difference between the difference and the fourth resource increment information corresponding to 2s, calculates a difference between the difference and the fourth resource increment information corresponding to 3s … until the last difference and the fourth resource increment information corresponding to 23s, and takes the difference as the resource increment information corresponding to 23 s.
As another embodiment, the server determines a sum of the fourth resource increment information corresponding to each second target time point; and determining the difference value between the third resource increment information corresponding to the time point and the determined sum value as the resource increment information corresponding to the time point.
For example, the server calculates a sum of the fourth resource increment information corresponding to 1s and the fourth resource increment information corresponding to the fourth resource increment information … … 23s corresponding to 2s, and calculates a difference between the third resource increment information corresponding to 23s and the sum as the resource increment information corresponding to 23 s.
Based on the same principle, the server can calculate resource increment information corresponding to 24s and resource increment information corresponding to 25s, namely, … … 59 s.
In the actual car pooling order processing process, the situation of splicing in a row and the situation of non-splicing in a row are included. Correspondingly, when the condition of line splicing is not considered, the method for selecting the service provider matched with the order to be processed at the time point comprises the following steps: and selecting the service provider in the idle state matched with the order to be processed at the time point.
Correspondingly, when the condition of line splicing is considered, selecting a service provider matched with the order to be processed at the time point comprises the following steps: and selecting the service providing end which is matched with the order to be processed and is in the service state at the time point.
According to the order processing method provided by the embodiment of the application, based on the order to be processed in the first sub-time period of the current time period, the maximum resource increment information in the first sub-time period is determined, and the first sub-time period is decided not to be divided; the first sub-period is from the starting time point to the critical time point matching the starting time point; and for each time point in a second sub-time period, which is a time period from a time point after the critical time point to a time point before the ending time point in the current time period, monitoring the order-separating time point in the second sub-time period based on the resource increment information of each time point and the maximum resource increment information in the first sub-time period, and performing order separation at the order-separating time point when the order-separating time point is monitored. Therefore, more matched orders to be processed can be subjected to order dividing processing, and the order dividing efficiency of the platform is improved.
FIG. 8 is a block diagram illustrating an order processing apparatus according to some embodiments of the present application, the order processing apparatus implementing functions corresponding to the steps performed by the above-described method. The apparatus may be understood as the server or the processor of the server, or may be understood as a component that is independent from the server or the processor and implements the functions of the present application under the control of the server, as shown in fig. 8, the order processing apparatus may include:
a first determining module 801, configured to determine, based on a to-be-processed order sent by a service request end in a first sub-time period of a current time period, maximum resource increment information in the first sub-time period; the first sub-time period is a time period from a starting time point to a critical time point matched with the starting time point in the current time period, and the first sub-time period is configured to stop the order division;
a second determining module 802, configured to determine, for any time point in a second sub-time period of the current time period, resource increment information of the time point based on the to-be-processed order sent from the time point to the service request end within the starting time point; wherein, the second sub-period is a period from a time point after the critical time point to a time point before the ending time point in the current period;
a monitoring module 803, configured to monitor the separate time points in the second sub-time period according to the maximum resource increment information and the resource increment information of each time point in the second sub-time period;
the first order matching module 804 is configured to, when an order distribution time point in the second sub-time period is monitored, perform order distribution matching processing on the corresponding order to be processed at the order distribution time point;
a first sending module 805, configured to send the obtained policy matching result to a corresponding service request end.
Further, in the order processing apparatus provided in the embodiment of the present application, the apparatus further includes:
and the circulating module is configured to select the monitored order splitting time point as a new starting time point, and notify the first determining module 801 of the new starting time point, so that the first determining module 801, the second determining module 802, and the monitoring module 803 operate until a monitoring result of the last time point in the second sub-period is obtained.
Further, in the order processing apparatus provided in the embodiment of the present application, the ending time point is configured as the order distribution time point; the device further comprises:
the acquisition module is used for acquiring the order to be processed from the end time point to the order dividing time point before the end time point;
the second order matching module is used for performing order matching processing on the obtained order to be processed at the end time point;
and the second sending module is used for sending the obtained matching result of the order distribution to the corresponding service request terminal.
Further, in the order processing apparatus provided in the embodiment of the present application, the apparatus further includes:
the third determining module is used for determining the time length corresponding to the critical time point matched with the starting time point based on the ending time point, the starting time point and a preset threshold value in the current time period;
and the fourth determination module is used for determining a critical time point matched with the starting time point based on the starting time point and the time length.
Further, in the order processing apparatus provided in the embodiment of the present application, the first determining module 801 is specifically configured to:
determining resource increment information respectively corresponding to each time point based on the first to-be-processed order respectively corresponding to each time point in the first sub-time period;
and selecting the maximum resource increment information in the first sub-time period from the resource increment information respectively corresponding to each time point.
Further, in the order processing apparatus provided in the embodiment of the present application, the first determining module 801 is specifically configured to:
aiming at any time point in the first sub-time period, acquiring a first order to be processed from the time point to the starting time point, and performing order distribution matching processing on the first order to be processed at the time point to obtain first resource increment information corresponding to the time point;
aiming at any first target time point from the time point to the starting time point, acquiring a second order to be processed from the first target time point to the previous time point, and performing order distribution matching processing on the second order to be processed at the first target time point to obtain second resource increment information corresponding to the first target time point; wherein the first target time point comprises the time point;
and determining the resource increment information corresponding to the time point based on the first resource increment information corresponding to the time point and the second resource increment information corresponding to each first target time point.
Further, in the order processing apparatus provided in the embodiment of the present application, the second determining module 802 is specifically configured to:
obtaining a to-be-processed order sent by the service request terminal from the time point to the starting time point, and performing order distribution matching processing on the to-be-processed order at the time point to obtain third resource increment information corresponding to the time point;
acquiring a third order to be processed from the second target time point to a previous time point aiming at any second target time point from the time point to the starting time point, and performing order distribution matching processing on the third order to be processed at the second target time point to obtain fourth resource increment information corresponding to the second target time point; wherein the second target time point comprises the time point;
and determining the resource increment information corresponding to the time point based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.
Further, in the order processing apparatus provided in the embodiment of the present application, the second determining module 802 is specifically configured to:
selecting a service provider matched with the order to be processed at the time point;
and determining third resource increment information for sorting at the time point based on the resource supply information corresponding to the service request end for sending the order to be processed and the resource consumption information corresponding to the service providing end.
Further, in the order processing apparatus provided in the embodiment of the present application, the second determining module 802 is specifically configured to:
selecting a service provider in an idle state matched with the order to be processed at the time point;
or,
and selecting the service providing end which is matched with the order to be processed and is in the service state at the time point.
Further, in the order processing apparatus provided in the embodiment of the present application, the second determining module 802 is specifically configured to:
determining the sum of the fourth resource increment information corresponding to each second target time point;
and determining the difference value between the third resource increment information corresponding to the time point and the determined sum value as the resource increment information corresponding to the time point.
The order processing device provided by the embodiment of the application determines the maximum resource increment information in a first sub-time period based on the order to be processed in the first sub-time period of the current time period, and decides that the order is not divided in the first sub-time period; the first sub-period is from the starting time point to the critical time point matching the starting time point; and for each time point in a second sub-time period, which is a time period from a time point after the critical time point to a time point before the ending time point in the current time period, monitoring the order-separating time point in the second sub-time period based on the resource increment information of each time point and the maximum resource increment information in the first sub-time period, and performing order separation at the order-separating time point when the order-separating time point is monitored. Therefore, more matched orders to be processed can be subjected to order dividing processing, and the order dividing efficiency of the platform is improved.
As shown in fig. 9, an electronic device 900 provided in an embodiment of the present application includes: a processor 901, a memory 902 and a bus, wherein the memory 902 stores machine-readable instructions executable by the processor 901, when the electronic device is operated, the processor 901 communicates with the memory 902 through the bus, and the processor 901 executes the machine-readable instructions to execute the steps of the order processing method.
Specifically, the memory 902 and the processor 901 can be general-purpose memories and processors, which are not specifically limited herein, and the order processing method can be executed when the processor 901 executes a computer program stored in the memory 902.
Corresponding to the order processing method, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the order processing method.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to corresponding processes in the method embodiments, and are not described in detail in this application. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and there may be other divisions in actual implementation, and for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some communication interfaces, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. An order processing method, comprising:
determining maximum resource increment information in a first sub-time period based on a to-be-processed order sent by a service request end in the first sub-time period of the current time period; the first sub-time period is a time period from a starting time point to a critical time point matched with the starting time point in the current time period, and the first sub-time period is configured to stop the order division;
for any time point in a second sub-time period of the current time period, determining resource increment information of the time point based on the order to be processed sent by the service request end in the starting time point from the time point; wherein, the second sub-period is a period from a time point after the critical time point to a time point before the ending time point in the current period;
monitoring the order-dividing time points in the second sub-time period according to the maximum resource increment information and the resource increment information of each time point in the second sub-time period;
and when the order distribution time point in the second sub-time period is monitored, performing order distribution matching processing on the corresponding order to be processed at the order distribution time point, and sending the obtained order distribution matching result to the corresponding service request terminal.
2. The order processing method according to claim 1, wherein when the order-separating time point within the second sub-period is monitored, the method further comprises:
and selecting the monitored order distribution time point as a new starting time point, returning to the step of executing the order to be processed sent by the service request terminal in the first sub-time period based on the current time period, and determining the maximum resource increment information in the first sub-time period until the monitoring result of the last time point in the second sub-time period is obtained.
3. The order processing method according to claim 1, wherein the end time point is configured as the order-sorting time point; after sending the obtained matching result of the order to the corresponding service request terminal, the method further comprises:
acquiring the order to be processed from the end time point to the order dividing time point before the end time point;
and performing order distribution matching processing on the obtained order to be processed at the end time point, and sending the obtained order distribution matching result to a corresponding service request terminal.
4. The order processing method according to claim 1 or 2, wherein for any starting time point, a critical time point matching the starting time point is determined by:
determining the time length corresponding to the critical time point matched with the starting time point based on the ending time point, the starting time point and a preset threshold value in the current time period;
based on the starting time point and the time length, a critical time point matching the starting time point is determined.
5. The order processing method according to claim 1, wherein the determining the maximum resource increment information in the first sub-period based on the pending order sent by the service request end in the first sub-period of the current period comprises:
determining resource increment information respectively corresponding to each time point based on the first to-be-processed order respectively corresponding to each time point in the first sub-time period;
and selecting the maximum resource increment information in the first sub-time period from the resource increment information respectively corresponding to each time point.
6. The order processing method according to claim 5, wherein the determining, based on the first to-be-processed orders respectively corresponding to the time points in the first sub-time period, the resource increment information respectively corresponding to the time points comprises:
aiming at any time point in the first sub-time period, acquiring a first order to be processed from the time point to the starting time point, and performing order distribution matching processing on the first order to be processed at the time point to obtain first resource increment information corresponding to the time point;
aiming at any first target time point from the time point to the starting time point, acquiring a second order to be processed from the first target time point to the previous time point, and performing order distribution matching processing on the second order to be processed at the first target time point to obtain second resource increment information corresponding to the first target time point; wherein the first target time point comprises the time point;
and determining the resource increment information corresponding to the time point based on the first resource increment information corresponding to the time point and the second resource increment information corresponding to each first target time point.
7. The order processing method according to claim 1, wherein the determining resource increment information at the time point based on the to-be-processed order sent by the service request terminal within the time point to the starting time point comprises:
obtaining a to-be-processed order sent by the service request terminal from the time point to the starting time point, and performing order distribution matching processing on the to-be-processed order at the time point to obtain third resource increment information corresponding to the time point;
acquiring a third order to be processed from the second target time point to a previous time point aiming at any second target time point from the time point to the starting time point, and performing order distribution matching processing on the third order to be processed at the second target time point to obtain fourth resource increment information corresponding to the second target time point; wherein the second target time point comprises the time point;
and determining the resource increment information corresponding to the time point based on the third resource increment information corresponding to the time point and the fourth resource increment information corresponding to each second target time point.
8. The order processing method according to claim 7, wherein the performing order matching processing on the order to be processed at the time point to obtain third resource increment information corresponding to the time point comprises:
selecting a service provider matched with the order to be processed at the time point;
and determining third resource increment information for sorting at the time point based on the resource supply information corresponding to the service request end for sending the order to be processed and the resource consumption information corresponding to the service providing end.
9. The order processing method according to claim 8, wherein said selecting a service provider matching the order to be processed at the time point comprises:
selecting a service provider in an idle state matched with the order to be processed at the time point;
or,
and selecting the service providing end which is matched with the order to be processed and is in the service state at the time point.
10. The order processing method according to claim 7, wherein the determining the resource increment information corresponding to the time point based on the third resource increment information corresponding to the time point and fourth resource increment information corresponding to each second target time point respectively comprises:
determining the sum of the fourth resource increment information corresponding to each second target time point;
and determining the difference value between the third resource increment information corresponding to the time point and the determined sum value as the resource increment information corresponding to the time point.
11. An order processing apparatus, comprising:
the system comprises a first determining module, a second determining module and a processing module, wherein the first determining module is used for determining the maximum resource increment information in a first sub-time period based on a to-be-processed order sent by a service request end in the first sub-time period of the current time period; the first sub-time period is a time period from a starting time point to a critical time point matched with the starting time point in the current time period, and the first sub-time period is configured to stop the order division;
a second determining module, configured to determine, for any time point in a second sub-time period of the current time period, resource increment information of the time point based on the to-be-processed order sent from the time point to the service request end within the starting time point; wherein, the second sub-period is a period from a time point after the critical time point to a time point before the ending time point in the current period;
the monitoring module is used for monitoring the order-separating time points in the second sub-time period according to the maximum resource increment information and the resource increment information of each time point in the second sub-time period;
the first order matching module is used for performing order matching processing on the corresponding order to be processed at the order dividing time point when the order dividing time point in the second sub-time period is monitored;
and the first sending module is used for sending the obtained matching result of the order to the corresponding service request terminal.
12. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the order processing method according to any one of claims 1 to 10.
13. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the order processing method according to any one of claims 1 to 10.
CN201910459294.7A 2019-05-29 2019-05-29 Order processing method and device, electronic equipment and storage medium Pending CN111833131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910459294.7A CN111833131A (en) 2019-05-29 2019-05-29 Order processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910459294.7A CN111833131A (en) 2019-05-29 2019-05-29 Order processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111833131A true CN111833131A (en) 2020-10-27

Family

ID=72911564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910459294.7A Pending CN111833131A (en) 2019-05-29 2019-05-29 Order processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111833131A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180012153A1 (en) * 2015-01-29 2018-01-11 Beijing Didi Infinity Technology And Development C O., Ltd. Order allocation system and method
CN109284881A (en) * 2017-07-20 2019-01-29 北京嘀嘀无限科技发展有限公司 Order allocation method, device, computer readable storage medium and electronic equipment
CN109377023A (en) * 2018-09-28 2019-02-22 北京三快在线科技有限公司 Distribution method, device and the electronic equipment of order
CN109426885A (en) * 2017-08-28 2019-03-05 北京小度信息科技有限公司 Order allocation method and device
CN109508799A (en) * 2018-09-26 2019-03-22 长沙市到家悠享家政服务有限公司 Order allocation method, device and electronic equipment
CN109767289A (en) * 2018-12-15 2019-05-17 深圳壹账通智能科技有限公司 Order smart allocation method, apparatus, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180012153A1 (en) * 2015-01-29 2018-01-11 Beijing Didi Infinity Technology And Development C O., Ltd. Order allocation system and method
CN109284881A (en) * 2017-07-20 2019-01-29 北京嘀嘀无限科技发展有限公司 Order allocation method, device, computer readable storage medium and electronic equipment
CN109426885A (en) * 2017-08-28 2019-03-05 北京小度信息科技有限公司 Order allocation method and device
CN109508799A (en) * 2018-09-26 2019-03-22 长沙市到家悠享家政服务有限公司 Order allocation method, device and electronic equipment
CN109377023A (en) * 2018-09-28 2019-02-22 北京三快在线科技有限公司 Distribution method, device and the electronic equipment of order
CN109767289A (en) * 2018-12-15 2019-05-17 深圳壹账通智能科技有限公司 Order smart allocation method, apparatus, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110749319B (en) Route deviation detection method and device and electronic equipment
JP6503474B2 (en) System and method for determining a path of a mobile device
CN111105120B (en) Work order processing method and device
TW201909055A (en) System and method for allocating service requests
CN110945557B (en) System and method for determining estimated time of arrival
CN111178686B (en) Distribution method and device of network appointment vehicles, electronic equipment and storage medium
CN112580889A (en) Service resource pre-estimation method and device, electronic equipment and storage medium
CN108229771A (en) Distribute the method and device of order
CN111784018A (en) Resource scheduling method and device, electronic equipment and storage medium
CN111260164A (en) Transport capacity scheduling method and device
CN111860558A (en) Travel abnormity detection method and device and electronic equipment
CN111325437A (en) Abnormal driving behavior recognition method and device and electronic equipment
CN111859171A (en) Information pushing method and device, electronic equipment and storage medium
CN111325986A (en) Abnormal parking monitoring method and device, electronic equipment and storage medium
CN111242754A (en) Account data updating method and device and electronic equipment
CN111277618A (en) Information pushing method and device, electronic equipment and storage medium
CN111833132A (en) Order processing method and device, electronic equipment and storage medium
CN114402344A (en) Order management method and device applied to electric automobile
CN111489214A (en) Order allocation method, condition setting method and device and electronic equipment
CN111859176B (en) Information recommendation method and device, electronic equipment and storage medium
CN111833131A (en) Order processing method and device, electronic equipment and storage medium
CN111260424A (en) Information processing method and device
CN111260840B (en) Information pushing method and device, electronic equipment and computer storage medium
JP2021069241A (en) Control apparatus, charging device, program, and control method
CN111260423A (en) Order distribution method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination