CN116011663A - Order receiving time measuring and calculating method and device, electronic equipment and storage medium - Google Patents

Order receiving time measuring and calculating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116011663A
CN116011663A CN202310059170.6A CN202310059170A CN116011663A CN 116011663 A CN116011663 A CN 116011663A CN 202310059170 A CN202310059170 A CN 202310059170A CN 116011663 A CN116011663 A CN 116011663A
Authority
CN
China
Prior art keywords
order
time
historical
determining
mileage
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
CN202310059170.6A
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.)
Sichuan Shenzhou Xingwang Car Service Co ltd
Original Assignee
Sichuan Shenzhou Xingwang Car Service 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 Sichuan Shenzhou Xingwang Car Service Co ltd filed Critical Sichuan Shenzhou Xingwang Car Service Co ltd
Priority to CN202310059170.6A priority Critical patent/CN116011663A/en
Publication of CN116011663A publication Critical patent/CN116011663A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The application discloses a method, a device, electronic equipment and a storage medium for calculating order receiving time, wherein the method for calculating the order receiving time comprises the following steps: acquiring an order sent by a user, wherein the order comprises order sending time and order mileage; determining the order waiting time length corresponding to the order mileage based on the mapping relation between the order mileage and the order waiting time length; and determining order receiving time based on the order sending time and the order waiting time. The method and the device can accurately calculate the order receiving time.

Description

Order receiving time measuring and calculating method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of electronic information, in particular to a method and a device for calculating order receiving time, electronic equipment and a storage medium.
Background
With the rapid development of the network taxi industry, users have put higher demands on the network taxi service, wherein users have clear expectations of when to get on a taxi when getting on the taxi. If the network vehicle-restraining platform can more accurately calculate the order receiving time before the user confirms the order, the network vehicle-restraining platform is favorable for attracting more users to use the network vehicle-restraining service, and therefore the order quantity of the network vehicle-restraining platform is increased.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, an electronic device, and a storage medium for calculating order time, which can accurately calculate order time.
The application provides a method for calculating order receiving time, which comprises the following steps:
acquiring an order sent by a user, wherein the order comprises order sending time and order mileage;
determining the order waiting time length corresponding to the order mileage based on the mapping relation between the order mileage and the order waiting time length;
and determining order receiving time based on the order sending time and the order waiting time.
Optionally, the order taking time measuring and calculating method further includes:
acquiring a plurality of historical orders, and determining a historical waiting time of each historical order, wherein each historical order comprises a historical mileage;
classifying each historical order into a corresponding order group based on the historical mileage to obtain a plurality of order groups;
determining an estimated wait time for each of the order groups based on the historical wait time;
and determining the mapping relation between the order mileage and the order waiting time based on the expected waiting time of each order group and the corresponding historical mileage.
Optionally, the determining an estimated wait time period of each order group based on the historical wait time periods includes:
dividing each order group into a plurality of time intervals based on the historical waiting time, wherein each time interval comprises historical orders with the same historical waiting time;
determining the number of the historical orders in each time interval, and determining the comparison relation of the number of the historical orders in time intervals with different historical waiting time lengths;
based on the comparison, an estimated wait time for each of the order groups is determined.
Optionally, the determining, based on the comparison, an estimated wait time period for each of the order groups includes:
taking the time length section with the largest number of historical orders as a target time length section, and taking the historical waiting time length corresponding to the target time length section as the predicted waiting time length of the order group.
Optionally, the determining, based on the comparison, an estimated wait time period for each of the order groups includes:
determining a total number of historical orders in the order group;
sequencing the duration intervals based on the historical waiting duration;
judging whether the total number is smaller than the number of the historical orders in the sequenced time interval, if so, taking the historical waiting time length corresponding to the time interval as the predicted waiting time length of the order group;
if not, accumulating the number of the historical orders in the time interval and the number of the historical orders in the next time interval after sequencing, and comparing the accumulated number of the historical orders with the total number;
and when the total number is smaller than a last accumulated value, taking the historical waiting time length of the last time length interval after the sequencing as the predicted waiting time length of the order group, wherein the last accumulated value is equal to the sum of the accumulated historical order number and the historical order number in the last time length interval.
Optionally, the determining the total number of the historical orders in the order group includes:
and multiplying the sum of the number of the historical orders in each duration interval by a preset score value, and then rounding to obtain the total number.
Optionally, the determining the historical waiting duration of each historical order includes:
acquiring a historical order, wherein the historical order comprises a sending time and a response time;
and determining a historical waiting duration based on the sending time and the response time.
Correspondingly, the application provides a device for calculating the order receiving time, which comprises the following components:
the acquisition module is used for acquiring an order sent by a user, wherein the order comprises order sending time and order mileage;
the matching module is used for determining the order waiting time length corresponding to the order mileage based on the mapping relation between the order mileage and the order waiting time length;
and the determining module is used for determining the order receiving time based on the order sending time and the order waiting time.
In addition, the application further provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the order taking time measuring and calculating method according to any one of the above steps.
On the basis of this, the present application also provides a computer readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the order taking time measuring method according to any one of the above.
The application provides a method, a device, electronic equipment and a storage medium for measuring and calculating order receiving time, wherein the order receiving time comprises order sending time and order mileage, the order waiting time corresponding to the order mileage is determined based on a mapping relation between the order mileage and the order waiting time, and then the order receiving time is determined based on the order sending time and the order waiting time. According to the method, the order receiving time of the network taxi driver is calculated based on the order receiving rule of the order mileage and the order waiting time in the scene of the order receiving of the network taxi driver, and compared with the existing method for calculating the order receiving time, the method is more accurate.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a first flow chart of a method for calculating time to pick up a bill according to an embodiment of the present application;
FIG. 2 is a second flow chart of the method for calculating the order taking time according to the embodiment of the present application;
fig. 3 is a schematic structural diagram of a device for calculating order receiving time according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the technical field, the existing order taking time measuring and calculating method is only suitable for a specific network about vehicle distribution scene. In a specific network appointment vehicle distribution scene, the position of a network appointment vehicle driver when not receiving an order is relatively fixed, but in a general scene, the position of the network appointment vehicle driver when not receiving an order is continuously changed because the network appointment vehicle driver is in a driving state, and the order receiving preference of the network appointment vehicle driver cannot be directly estimated in an order receiving mode, so that the existing order receiving time measuring and calculating method cannot accurately measure the order receiving time.
However, researchers in the technical solution of the present application find that, in the order-robbing mode, a key factor affecting the driver's order-robbing behavior is the price of the order, which is strongly related to the mileage of the order. After further investigation of a large number of historical orders, it was confirmed that different order mileage corresponds to different order taking times. According to order taking rules related to order mileage, the order taking time of a future order when the set condition is met can be predicted.
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application. The various embodiments described below and their technical features can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a first flowchart of a method for calculating time to pick up a bill according to an embodiment of the present application.
The application provides a method for calculating order receiving time, which comprises the following steps:
s1, acquiring an order sent by a user, wherein the order comprises order sending time and order mileage.
It will be appreciated that a user may submit an order using the network taxi service through the terminal, and the user may fill out relevant information and view required information, such as a taxi boarding location and a taxi alighting location, through the order page of the terminal. When a user fills in an order and places the order, the order placing time when the order is placed is automatically recorded, and the distance between the boarding place and the alighting place is calculated to obtain the mileage of the order.
S2, determining the order waiting time length corresponding to the order mileage based on the mapping relation between the order mileage and the order waiting time length.
In some embodiments, the mapping of order mileage to order wait time may be presented in tabular form. For example, in this table, the horizontal targets are order mileage in kilometers (1 km,2km, … …); the vertical objective is order waiting time in minutes (1 min, 2min, … …).
S3, determining order receiving time based on the order sending time and the order waiting time.
In some embodiments, after determining the order waiting duration, adding the order time to the order waiting duration may obtain the order receiving time, for example, in one of the orders submitted by the user, the recorded order time is 10: and 27, calculating the order waiting time corresponding to the order to be 5 minutes according to the order mileage of the order, and calculating the order taking time of the order taken by the network taxi driver to be 10:32.
referring to fig. 2, fig. 2 is a second flowchart of the method for calculating the order taking time according to the embodiment of the present application.
Optionally, in some embodiments, the order time measurement method further comprises:
s21, acquiring a plurality of historical orders, and determining the historical waiting time of each historical order, wherein each historical order comprises a historical mileage.
It will be appreciated that the historical orders may be saved by a server providing network about car services and invoked upon acquisition. The server can store information such as driver information, driver history robbery order information, user order starting point position information, user order end point information, history order time, history order taking time, user order cancelling time and the like.
In some embodiments, each historical order records a historical wait period.
S22, classifying each historical order into a corresponding order group based on the historical mileage so as to obtain a plurality of order groups.
It is understood that after a plurality of historical orders are acquired, each historical order records a respective historical mileage. Historical orders that record the same historical mileage are classified into one order group, so that a plurality of order groups are generated based on the historical orders of different historical mileage, and each order group is marked with the corresponding historical mileage.
In some embodiments, when order groups are divided, each order group corresponds to a rounded historical mileage, and then the historical orders are categorized into the corresponding order groups according to a preset rule. For example, five order groups are set, namely an order group with a history mileage of 1km, an order group with a history mileage of 2km, an order group with a history mileage of 5 km, an order group with a history mileage of 10 km, and an order group with a history mileage of 100 km. All the historical orders with the historical mileage of 1km and below are classified into an order group with the historical mileage of 1km, all the historical orders with the historical mileage of more than 1km and less than or equal to 2km are classified into an order group with the historical mileage of 2km, and so on.
S23, based on the historical waiting time, the expected waiting time of each order group is determined.
It is understood that there are a plurality of historical orders in each order group, and each historical order has a corresponding historical waiting time length, based on which, in one order group, a historical waiting time length is determined as the predicted waiting time length of the order group according to different historical waiting time lengths of the plurality of historical orders. In one embodiment, an average is calculated for the historical wait time periods for a plurality of historical orders in an order group, and the average is taken as the predicted wait time period for the order group.
S24, determining the mapping relation between the order mileage and the order waiting time based on the expected waiting time of each order group and the corresponding historical mileage.
In some embodiments, the historical mileage corresponding to each order group is taken as the horizontal target order mileage of the table, and the historical waiting time length corresponding to each order group is taken as the vertical target order waiting time length of the table, so that the mapping relation between the order mileage and the order waiting time length is presented in the form of the table.
Optionally, in some embodiments, step S21 includes:
(11) A historical order is obtained, wherein the historical order includes a send time and a response time.
(12) Based on the transmission time and the response time, a historical wait time is determined.
In some embodiments, the time of transmission may be a point in time recorded when the historical order was placed by the user. The response time may be a time point recorded when the network bus driver accepts the history order, or may be a time point recorded when the history order is canceled by the user. For example, the transmission time is a time (Ai) recorded by the server when the order sent by the user was obtained (i=1, 2, 3..10000, once more. The response time is the time (Bi) at which the server responds to cancel an order or accept an order (i=1, 2, 3..once.10000, i..once.4.infinity), or (Ci) (i=1, 2, 3..once.10000, i..once.4.infinity). When the server calculates the history waiting time, the history waiting time is (ti=bi/Ci-Ai), and the Ti is rounded.
Optionally, in some embodiments, step S23 includes:
(31) Based on the historical waiting time length, each order group is divided into a plurality of time length intervals, wherein each time length interval comprises historical orders with the same historical waiting time length.
(32) And determining the number of the historical orders in each time interval, and determining the comparison relation of the number of the historical orders in the time intervals with different historical waiting time lengths.
(33) Based on the comparison, an estimated wait time for each order group is determined.
In some embodiments, each of the historical orders in the same order group is ordered according to the historical waiting time of each of the historical orders in the same order group, and then the 1 st to nth (n is an integer and greater than 1) historical orders are determined to be historical orders in a first time interval, wherein the historical waiting time of the first time interval is 15 minutes; similarly, the (n+1) th to (n+m) (m is an integer and is greater than 1) th historical orders are determined as historical orders of a second time interval, the historical waiting time of the second time interval is 60 minutes, and the like, and the historical orders can be divided into a plurality of time intervals. Therefore, each time interval has at least one historical order, and each time interval can be compared and ordered according to the number of the historical orders in the time interval, so that the comparison relation of the number of the historical orders in the time interval areas with different historical waiting time lengths is determined.
Optionally, in some embodiments, step (33) includes:
taking the time length section with the largest historical order number as a target time length section, and taking the historical waiting time length of the corresponding target time length section as the expected waiting time length of the order group.
Optionally, in some embodiments, step (33) includes:
(331) The total number of historical orders in the order group is determined.
(332) And sequencing the time length intervals based on the historical waiting time length.
(333) Judging whether the total number is smaller than the number of the historical orders in the ordered time intervals, if so, taking the historical waiting time of the corresponding time interval as the expected waiting time of the order group; if not, accumulating the number of the historical orders in the time interval and the number of the historical orders in the next time interval after sequencing, and comparing the accumulated number of the historical orders with the total number.
(334) And when the total number is smaller than the last accumulated value, taking the historical waiting time length of the last time length interval after the sequencing as the predicted waiting time length of the order group, wherein the last accumulated value is equal to the sum of the accumulated historical order number and the historical order number in the last time length interval.
Optionally, in some embodiments, step (331) includes:
and multiplying the sum of the number of the historical orders in each duration interval by a preset score value, and then rounding to obtain the total number.
In some embodiments, a certain order group is marked with a history mileage j (j is 1km,2km, … … or 100 km), the total number of orders under the mileage y=a1+a2+a3+ & gt a30 (a1+a2+a3+ & gt a30 is the number of history orders in the first time interval, the second time interval and the third time interval after sorting), and the total number of history orders in the order group Y2 is obtained by rounding after calculating the value of 90% Y. Judging whether Y2 is smaller than a1, if so, judging whether Y2 is smaller than a1+a2 continuously (if not, judging whether Y2 is smaller than a1+a2), if so, judging whether Y2 is smaller than a1+a3 or … … continuously (if not, judging whether Y2 is smaller than a1+a2+a3) continuously (if not, comparing the accumulated historical order quantity with the total quantity by one or more times until the estimated waiting time of the order group is determined.
The application provides a method for measuring and calculating order receiving time, which comprises the steps of firstly, obtaining an order sent by a user, wherein the order comprises order sending time and order mileage, then, determining order waiting time corresponding to the order mileage based on a mapping relation between the order mileage and the order waiting time, and then, determining the order receiving time based on the order sending time and the order waiting time. According to the method, the order receiving time of the network taxi driver is calculated based on the order receiving rule of the order mileage and the order waiting time in the order receiving scene of the network taxi driver, and compared with an existing method for calculating the order receiving time, the method is more accurate.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a device for calculating time for receiving a bill according to an embodiment of the present application.
The application also provides a bill receiving time measuring and calculating device, which comprises:
an obtaining module 201, configured to obtain an order sent by a user, where the order includes an order sending time and an order mileage;
a matching module 202, configured to determine an order waiting duration corresponding to the order mileage based on a mapping relationship between the order mileage and the order waiting duration;
a determining module 203, configured to determine the order receiving time based on the order sending time and the order waiting duration.
Optionally, in some embodiments, the order time measurement device further comprises:
and the calling module is used for acquiring a plurality of historical orders and determining the historical waiting duration of each historical order, wherein each historical order comprises a historical mileage.
And the classifying module is used for classifying each historical order into a corresponding order group based on the historical mileage so as to obtain a plurality of order groups.
And the timing module is used for determining the expected waiting duration of each order group based on the historical waiting duration.
The construction module is used for determining the mapping relation between the order mileage and the order waiting time based on the expected waiting time of each order group and the corresponding historical mileage.
Optionally, in some embodiments, the calling module includes:
and the acquisition unit is used for acquiring the historical order, wherein the historical order comprises a sending time and a response time.
And a determining unit for determining a history waiting time based on the transmission time and the response time.
Optionally, in some embodiments, the timing module comprises:
the dividing unit is used for dividing each order group into a plurality of time intervals based on the historical waiting time, wherein each time interval comprises historical orders with the same historical waiting time.
The statistics unit is used for determining the number of the historical orders in each time length interval and determining the comparison relation of the number of the historical orders in the time length areas with different historical waiting time lengths.
And the comparison unit is used for determining the expected waiting time length of each order group based on the comparison relation.
Optionally, in some embodiments, the comparison unit is to:
taking the time length section with the largest historical order number as a target time length section, and taking the historical waiting time length of the corresponding target time length section as the expected waiting time length of the order group.
Optionally, in other embodiments, the comparing unit is configured to:
determining a total number of historical orders in the order group; sequencing the time intervals based on the historical waiting time; judging whether the total number is smaller than the number of the historical orders in the ordered time intervals, if so, taking the historical waiting time of the corresponding time interval as the expected waiting time of the order group; if not, accumulating the number of the historical orders in the time interval and the number of the historical orders in the next time interval after sequencing, and comparing the accumulated number of the historical orders with the total number; and when the total number is smaller than the last accumulated value, taking the historical waiting time length of the last time length interval after the sequencing as the predicted waiting time length of the order group, wherein the last accumulated value is equal to the sum of the accumulated historical order number and the historical order number in the last time length interval.
Optionally, in some embodiments, the comparison unit is further configured to:
and multiplying the sum of the number of the historical orders in each duration interval by a preset score value, and then rounding to obtain the total number.
The application provides a device, firstly, an acquisition module 201 acquires an order sent by a user, wherein the order comprises an order sending time and an order mileage, then, a matching module 202 determines an order waiting time corresponding to the order mileage based on a mapping relation between the order mileage and the order waiting time, and then, a determination module 203 determines an order receiving time based on the order sending time and the order waiting time. According to the method, the order receiving time of the network taxi driver is calculated based on the order receiving rule of the order mileage and the order waiting time in the order receiving scene of the network taxi driver, and compared with an existing method for calculating the order receiving time, the method is more accurate.
In addition, the embodiment of the application further provides an electronic device, as shown in fig. 4, which shows a schematic structural diagram of the electronic device according to the embodiment of the application, specifically:
the electronic device may include one or more processing cores 'processors 301, one or more computer-readable storage media's memory 302, power supply 303, and input unit 304, among other components. Those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or may be arranged in different components. Wherein:
the processor 301 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 302, and calling data stored in the memory 302, thereby performing overall monitoring of the electronic device. Optionally, processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 301.
The memory 302 may be used to store software programs and modules, and the processor 301 executes various functional applications and image information communication methods by executing the software programs and modules stored in the memory 302. The memory 302 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, etc. In addition, memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
The electronic device further comprises a power supply 303 for powering the various components, preferably the power supply 303 is logically connected to the processor 301 by a power management system, whereby the functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 303 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 304, which input unit 304 may be used for receiving input digital or character information and for generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 301 in the electronic device loads executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 executes the application programs stored in the memory 302, so as to implement various functions as follows:
acquiring an order sent by a user, wherein the order comprises order sending time and order mileage; determining the order waiting time length corresponding to the order mileage based on the mapping relation between the order mileage and the order waiting time length; and determining the order receiving time based on the order sending time and the order waiting time.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The application provides electronic equipment, which comprises the steps of firstly, acquiring an order sent by a user, wherein the order comprises order sending time and order mileage, then, determining order waiting time corresponding to the order mileage based on a mapping relation between the order mileage and the order waiting time, and then, determining order taking time based on the order sending time and the order waiting time. According to the method, the order receiving time of the network taxi driver is calculated based on the order receiving rule of the order mileage and the order waiting time in the order receiving scene of the network taxi driver, and compared with an existing method for calculating the order receiving time, the method is more accurate.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform the steps of any of the order taking time measurement methods provided by embodiments of the present application. For example, the instructions may perform the steps of:
acquiring an order sent by a user, wherein the order comprises order sending time and order mileage; determining the order waiting time length corresponding to the order mileage based on the mapping relation between the order mileage and the order waiting time length; and determining the order receiving time based on the order sending time and the order waiting time.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, randomAccessMemory), magnetic or optical disk, and the like.
The instructions stored in the storage medium may perform the steps in any of the order taking time measurement methods provided in the embodiments of the present application, so that the beneficial effects that any of the order taking time measurement methods provided in the embodiments of the present application can be achieved are detailed in the previous embodiments and are not described herein.
Although the application has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. This application is intended to cover all such modifications and variations, and is limited only by the scope of the appended claims.
That is, the foregoing embodiments are merely examples of the present application, and are not intended to limit the scope of the patent application, and all equivalent structures or equivalent processes using the descriptions and the contents of the present application, such as the combination of technical features of the embodiments, or direct or indirect application to other related technical fields, are included in the scope of the patent protection of the present application.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The previous description is provided to enable any person skilled in the art to make or use the present application. In the above description, various details are set forth for purposes of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes have not been shown in detail to avoid unnecessarily obscuring the description of the present application. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

Claims (10)

1. The method for calculating the order receiving time is characterized by comprising the following steps of:
acquiring an order sent by a user, wherein the order comprises order sending time and order mileage;
determining the order waiting time length corresponding to the order mileage based on the mapping relation between the order mileage and the order waiting time length;
and determining order receiving time based on the order sending time and the order waiting time.
2. The order taking time measurement method according to claim 1, further comprising:
acquiring a plurality of historical orders, and determining a historical waiting time of each historical order, wherein each historical order comprises a historical mileage;
classifying each historical order into a corresponding order group based on the historical mileage to obtain a plurality of order groups;
determining an estimated wait time for each of the order groups based on the historical wait time;
and determining the mapping relation between the order mileage and the order waiting time based on the expected waiting time of each order group and the corresponding historical mileage.
3. The order taking time measurement method of claim 2, wherein said determining an estimated wait time for each of said order groups based on said historical wait time comprises:
dividing each order group into a plurality of time intervals based on the historical waiting time, wherein each time interval comprises historical orders with the same historical waiting time;
determining the number of the historical orders in each time interval, and determining the comparison relation of the number of the historical orders in time intervals with different historical waiting time lengths;
based on the comparison, an estimated wait time for each of the order groups is determined.
4. A method of calculating time to pick up orders as set forth in claim 3, wherein said determining an estimated wait period for each of said order groups based on said comparison relationship comprises:
taking the time length section with the largest number of historical orders as a target time length section, and taking the historical waiting time length corresponding to the target time length section as the predicted waiting time length of the order group.
5. A method of calculating time to pick up orders as set forth in claim 3, wherein said determining an estimated wait period for each of said order groups based on said comparison relationship comprises:
determining a total number of historical orders in the order group;
sequencing the duration intervals based on the historical waiting duration;
judging whether the total number is smaller than the number of the historical orders in the sequenced time interval, if so, taking the historical waiting time length corresponding to the time interval as the predicted waiting time length of the order group;
if not, accumulating the number of the historical orders in the time interval and the number of the historical orders in the next time interval after sequencing, and comparing the accumulated number of the historical orders with the total number;
and when the total number is smaller than a last accumulated value, taking the historical waiting time length of the last time length interval after the sequencing as the predicted waiting time length of the order group, wherein the last accumulated value is equal to the sum of the accumulated historical order number and the historical order number in the last time length interval.
6. The method of claim 5, wherein determining the total number of historical orders in the order group comprises:
and multiplying the sum of the number of the historical orders in each duration interval by a preset score value, and then rounding to obtain the total number.
7. The order taking time measurement method of claim 2, wherein said determining a historical wait period for each of said historical orders comprises:
acquiring a historical order, wherein the historical order comprises a sending time and a response time;
and determining a historical waiting duration based on the sending time and the response time.
8. A bill receiving time measuring apparatus, comprising:
the acquisition module is used for acquiring an order sent by a user, wherein the order comprises order sending time and order mileage;
the matching module is used for determining the order waiting time length corresponding to the order mileage based on the mapping relation between the order mileage and the order waiting time length;
and the determining module is used for determining the order receiving time based on the order sending time and the order waiting time.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of the order time calculation method of any of claims 1-7 when the program is executed.
10. A computer readable storage medium, having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the order taking time measuring method according to any of claims 1-7.
CN202310059170.6A 2023-01-13 2023-01-13 Order receiving time measuring and calculating method and device, electronic equipment and storage medium Pending CN116011663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310059170.6A CN116011663A (en) 2023-01-13 2023-01-13 Order receiving time measuring and calculating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310059170.6A CN116011663A (en) 2023-01-13 2023-01-13 Order receiving time measuring and calculating method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116011663A true CN116011663A (en) 2023-04-25

Family

ID=86035545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310059170.6A Pending CN116011663A (en) 2023-01-13 2023-01-13 Order receiving time measuring and calculating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116011663A (en)

Similar Documents

Publication Publication Date Title
CN111210136B (en) Robot task scheduling method and server
CN110705753A (en) Vehicle scheduling method and device based on scheduling model, computer equipment and storage medium
CN111526170B (en) Push method, display method, device, server, terminal and storage medium
CN111310956A (en) Method and device for determining scheduling strategy and electronic equipment
CN106373382A (en) Method and apparatus for vehicle scheduling
CN108268965A (en) For resource allocation, for the vehicles scheduling method and its device
CN111861081A (en) Order allocation method and device, electronic equipment and storage medium
CN113335125A (en) Vehicle charging method, device and system and charging model training method
CN116843166B (en) Taxi taking method, device, equipment and medium
CN112862319B (en) Order scheduling method, device, equipment and storage medium
CN112884180B (en) Logistics distributed point location method and device, electronic equipment and storage medium
CN116011663A (en) Order receiving time measuring and calculating method and device, electronic equipment and storage medium
CN110826943A (en) Method and related equipment for judging whether bus allocation is needed or not and determining bus allocation number
CN113793195B (en) Network about vehicle order processing method and device, computer equipment and readable storage medium
CN115129659A (en) Main and auxiliary kernel computer processing platform
CN111339468B (en) Information pushing method, device, electronic equipment and storage medium
CN111798283A (en) Order distribution method and device, electronic equipment and computer readable storage medium
CN111327661A (en) Pushing method, pushing device, server and computer readable storage medium
CN114841451A (en) Driver travel subsidy method and device and storage medium
CN110555711A (en) Data processing method, device, server and computer readable storage medium
CN111260383B (en) Registration probability estimation method and device and probability estimation model construction method and device
CN111507753A (en) Information pushing method and device and electronic equipment
CN113335123A (en) Charging management method and device, electronic equipment and storage medium
CN111723169A (en) Map display method and device, electronic equipment and storage medium
CN112836978B (en) Data processing method, device, equipment, medium and product

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