CN112184160A - Countdown display method and device, electronic equipment and storage medium - Google Patents

Countdown display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112184160A
CN112184160A CN202011026097.5A CN202011026097A CN112184160A CN 112184160 A CN112184160 A CN 112184160A CN 202011026097 A CN202011026097 A CN 202011026097A CN 112184160 A CN112184160 A CN 112184160A
Authority
CN
China
Prior art keywords
countdown
duration
demand
supply
display
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.)
Granted
Application number
CN202011026097.5A
Other languages
Chinese (zh)
Other versions
CN112184160B (en
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.)
Hanhai Information Technology Shanghai Co Ltd
Original Assignee
Hanhai Information Technology Shanghai 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 Hanhai Information Technology Shanghai Co Ltd filed Critical Hanhai Information Technology Shanghai Co Ltd
Priority to CN202011026097.5A priority Critical patent/CN112184160B/en
Publication of CN112184160A publication Critical patent/CN112184160A/en
Application granted granted Critical
Publication of CN112184160B publication Critical patent/CN112184160B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a countdown display method and device, electronic equipment and a storage medium. The countdown display method comprises the following steps: after a passenger bill-taking request sent by a client is responded for the first time, detecting the current supply and demand state; judging whether to display countdown or not according to the supply and demand state; after the display countdown is judged, calculating the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passengers such as the historical wishes and the like; and sending a countdown display instruction carrying the countdown duration to the client. The invention judges whether to display the countdown based on the current supply and demand state, and calculates the displayed countdown duration according to the current supply and demand characteristics, the historical desire of passengers and other preference characteristics.

Description

Countdown display method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of internet, in particular to a countdown display method and device, electronic equipment and a storage medium.
Background
Along with the rapid development of the internet technology, the network car booking service is more and more favored by users, and the users can take a bus more conveniently and more rapidly through the network car booking service.
Under the mode of network car booking and trip platform aggregation, a passenger can select various car types when booking a car, and after a bill of lading is responded for the first time, the system can delay a certain time so as to wait for the response of other car types. By delaying for a period of time, the opportunity for optimization can be increased, thereby increasing the rate of dispatching orders.
At present, the net appointment vehicle traveling platform usually pops up a countdown card, and the countdown duration is set according to experience so as to provide a clear order taking expectation for passengers. Intuitively, the more vehicle types can be responded if the delay time is longer, so that the more likely the optimal vehicle type matching the bill of lading can be found. However, if the countdown period is not reasonable, it may cause unfairness to the vehicle type for the first response, or the passenger may cancel before receiving the order. Therefore, how to more accurately and reasonably display the countdown is a problem to be solved urgently at present.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a countdown display method, apparatus, electronic device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention discloses a countdown display method, which is executed on a server, and includes:
after a passenger bill-taking request sent by a client is responded for the first time, detecting the current supply and demand state;
judging whether to display countdown or not according to the supply and demand state;
after the display countdown is judged, calculating the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passengers such as the historical wishes and the like;
and sending a countdown display instruction carrying the countdown duration to the client.
Optionally, the calculating the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passenger such as the historical desire includes: taking the current supply and demand characteristics and the preference characteristics such as the historical wish and the like as the input of a pre-trained duration estimation model, and taking the output of the duration estimation model as the countdown duration; the duration estimation model is obtained by training according to a plurality of first sample data, and the first sample data comprise sample current supply and demand characteristics corresponding to the sample bill of lading, sample passenger historical wish preference characteristics and the like, and labeling information of actual waiting duration of the sample bill of lading.
Optionally, after the calculating the displayed countdown duration, the method further includes: when the countdown duration is less than a preset minimum duration, correcting the countdown duration to be the minimum duration; and when the countdown duration is greater than the preset maximum duration, correcting the countdown duration to be the maximum duration.
Optionally, the bill of lading request includes a starting location; the detecting the current supply and demand state comprises: acquiring the order receiving amount and the order picking amount within the latest preset time length in a preset area range taking the starting point position as the center; calculating the ratio of the order taking quantity to the order lifting quantity as the current response rate; if the response rate is smaller than a first preset threshold value, determining that the current supply and demand state is poor in supply and demand; otherwise, determining the current supply and demand state as good supply and demand.
Optionally, the supply and demand status comprises supply and demand deficiency and supply and demand deficiency; the judging whether to display countdown according to the supply and demand state comprises the following steps: when the supply and demand state is poor supply and demand, determining not to display countdown; and when the supply and demand state is good, determining a display countdown.
Optionally, the sending, to the client, a countdown displaying instruction carrying the countdown duration includes: when the counting down duration is successfully calculated, sending a counting down display instruction carrying the counting down duration to the client; and when the counting down time length is failed to be calculated, sending a counting down display instruction carrying preset default counting down time length to the client.
Optionally, after the determining whether to exhibit the countdown, the method further includes: acquiring the number of drivers responding to the bill of lading request after judging that the countdown is not displayed; taking the driver as a target driver and dispatching the target driver in the case that only one driver responds to the bill raising request; under the condition that a plurality of drivers respond to the bill raising request, respectively calculating the weight value of each driver, matching and obtaining a target driver from the plurality of drivers by using a bipartite graph maximum weight matching mode based on the weight value of each driver, and dispatching the target driver.
In a second aspect, an embodiment of the present invention discloses a countdown display device, which is applied to a server, and the device includes:
the detection module is used for detecting the current supply and demand state after a passenger bill-taking request sent by the client is responded for the first time;
the judging module is used for judging whether to display countdown or not according to the supply and demand state;
the calculation module is used for calculating the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passengers such as the historical wishes and the like after the judgment module judges the displayed countdown;
and the sending module is used for sending a countdown display instruction carrying the countdown duration to the client.
Optionally, the calculation module is specifically configured to use the current supply and demand characteristics and the preference characteristics such as the historical wish as inputs of a pre-trained duration estimation model, and use an output of the duration estimation model as the countdown duration; the duration estimation model is obtained by training according to a plurality of first sample data, and the first sample data comprise sample current supply and demand characteristics corresponding to the sample bill of lading, sample passenger historical wish preference characteristics and the like, and labeling information of actual waiting duration of the sample bill of lading.
Optionally, the apparatus further comprises: the correction module is used for correcting the countdown duration to be the minimum duration when the countdown duration is less than the preset minimum duration after the calculation module calculates the displayed countdown duration; and when the countdown duration is greater than the preset maximum duration, correcting the countdown duration to be the maximum duration.
Optionally, the bill of lading request includes a starting location; the detection module comprises: the quantity obtaining unit is used for obtaining the order receiving quantity and the order picking quantity within the latest preset time length in the preset area range with the starting point position as the center; the probability calculation unit is used for calculating the ratio of the order receiving quantity to the order lifting quantity as the current response rate; the state determining unit is used for determining that the current supply and demand state is poor in supply and demand if the response rate is smaller than a first preset threshold; otherwise, determining the current supply and demand state as good supply and demand.
Optionally, the supply and demand status comprises supply and demand deficiency and supply and demand deficiency; the judging module is specifically used for determining that the countdown is not displayed when the supply and demand state is poor; and when the supply and demand state is good, determining a display countdown.
Optionally, the sending module includes: the first sending unit is used for sending a countdown display instruction carrying the countdown duration to the client when the countdown duration is successfully calculated; and the second sending unit is used for sending a countdown display instruction carrying preset default countdown duration to the client when the countdown duration is failed to be calculated.
Optionally, the apparatus further comprises: the obtaining module is used for obtaining the number of drivers responding to the bill of lading request after the judging module judges that the countdown is not displayed; the first order dispatching module is used for taking the driver as a target driver and dispatching the target driver when only one driver responds to the bill raising request; and the second order dispatching module is used for respectively calculating the weight value of each driver under the condition that a plurality of drivers respond to the bill raising request, matching the drivers to obtain a target driver from the drivers by utilizing a bipartite graph maximum weight matching mode based on the weight value of each driver, and dispatching the target driver.
In a third aspect, an embodiment of the present invention discloses an electronic device, including: one or more processors; and one or more machine-readable media having instructions stored thereon; the instructions, when executed by the one or more processors, cause the processors to perform the countdown presentation method of any of the above.
In a fourth aspect, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the countdown displaying method according to any one of the above items.
In the embodiment of the invention, the server side can judge whether to display the countdown based on the current supply and demand state after a passenger bill-drawing request sent by the client side is responded for the first time, and under the condition of judging that the countdown is displayed, the countdown duration of the display is calculated according to the current supply and demand characteristics, the historical desire characteristics of the passenger and other preference characteristics. The counting down time length is more reasonable and accurate due to the consideration of the current supply and demand factors and the factors of whether passengers are willing to wait.
Drawings
Fig. 1 is a flowchart illustrating a countdown displaying method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a countdown display interface according to an embodiment of the present invention.
FIG. 3 is a flowchart illustrating steps of another countdown displaying method according to an embodiment of the present invention.
Fig. 4 is a block diagram of a countdown displaying device according to an embodiment of the present invention.
FIG. 5 is a block diagram of another countdown displaying device according to the embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The countdown display method is applied to a server. The passenger appoints the network appointment to send out the bill-taking request at the client, and the server carries out countdown display more reasonably and more accurately based on the current supply and demand state, the current supply and demand characteristics, the historical wish of the passenger and other preference characteristics after the bill-taking request is responded for the first time.
The network taxi appointment method is characterized in that the network taxi appointment is short for a network taxi, and the network taxi appointment can comprise taxies, tailgating, express trains, special taxies and the like. The server side can be a server of each network car appointment travel platform. The client may be an APP (application) for each network appointment for travel.
Referring to fig. 1, a flowchart illustrating steps of a countdown displaying method according to an embodiment of the present invention is shown.
As shown in fig. 1, the countdown display method may include the steps of:
step 101, after a passenger bill-taking request sent by a client is responded for the first time, the current supply and demand state is detected.
The passenger executes corresponding operations on the client, such as setting a starting position, a finishing position, selecting a vehicle type and the like, then clicks a 'calling' button, a bill lifting request can be triggered, and the client sends the passenger bill lifting request to the server.
And after receiving the bill raising request, the server waits for the driver to respond to the bill raising request. And when the bill drawing request is responded for the first time, the server detects the current supply and demand state. The supply and demand states may include good supply and demand, poor supply and demand, and the like.
And 102, judging whether to display countdown or not according to the supply and demand state.
And the server judges whether the countdown is displayed on the client side or not according to the current supply and demand state. For example, when the supply and demand status is good, the display countdown can be selected; when the supply and demand state is poor, the countdown is not displayed optionally.
And 103, after the display countdown is judged, calculating the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passengers such as the historical wishes and the like.
After the server judges the display countdown, the server can acquire the current supply and demand characteristics and the preference characteristics of the passengers such as historical wishes and calculate the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passengers such as the historical wishes. For example, when the demand and supply are good and the passenger wishes, the calculated countdown period is appropriately increased; under the conditions that the supply and demand are good, the single passenger does not want to wait, the calculated countdown time length is properly reduced; in the case of poor supply and demand, the countdown may not be displayed, and so on. The countdown time calculated according to the above is more reasonable and accurate, so that the user experience can be improved, and the transport capacity efficiency can be fully utilized.
And 104, sending a countdown display instruction carrying the countdown duration to the client.
And after judging the display countdown and calculating the displayed countdown time length, the server sends a countdown display instruction to the client, wherein the countdown display instruction can carry information such as the calculated countdown time length.
After the client receives the countdown display instruction, the countdown card can be popped up, countdown is displayed according to the countdown duration carried in the countdown display instruction, and a clear prompt document can be displayed on the countdown card. Fig. 2 is a schematic diagram of a countdown display interface according to an embodiment of the present invention. As shown in fig. 2, a countdown card is displayed in the countdown display interface, the real-time countdown duration is displayed in the countdown card, and a prompt document "match you for the best vehicle" is displayed.
In the embodiment of the invention, the server side can judge whether to display the countdown based on the current supply and demand state after a passenger bill-drawing request sent by the client side is responded for the first time, and under the condition of judging that the countdown is displayed, the countdown duration of the display is calculated according to the current supply and demand characteristics, the historical desire characteristics of the passenger and other preference characteristics. The counting down time length is more reasonable and accurate due to the consideration of the current supply and demand factors and the factors of whether passengers are willing to wait.
Referring to fig. 3, a flowchart illustrating steps of another countdown displaying method according to an embodiment of the present invention is shown.
As shown in fig. 3, the countdown display method may include the steps of:
step 301, after a passenger bill-taking request sent by a client is responded for the first time, detecting the current supply and demand state.
When the passenger takes a bill, the passenger may set a starting position, a finishing position, a plurality of selected vehicle types (such as vehicle types M1, M2, M3 … …), and the like. And after the passenger bills of lading, the client sends the bill of lading request of the passenger to the server. The bill of lading request can include information such as the user identification of the passenger, the starting position, the ending position, the selected vehicle type and the like.
And after receiving the bill raising request, the server waits for the driver to respond to the bill raising request. When the bill of lading request is responded by a driver of a selected vehicle type Mj for the first time, the server detects the current supply and demand state.
In an alternative embodiment, the process of detecting the current supply and demand status may include the following steps a 1-A3:
and A1, acquiring the order receiving quantity and the order lifting quantity within the latest preset time within the preset area range with the starting point position as the center.
In the implementation, a Hex code of the starting point position is obtained, a preset area range taking the starting point position as a center is obtained according to the Hex code, and an order receiving amount and an order lifting amount within a latest preset time length in the preset area range are obtained.
For the specific values of the preset area range and the preset duration, any applicable value may be selected according to practical experience, which is not limited in the embodiment of the present invention. For example, the preset area range centered on the start position may be a regular hexagonal area range having an area of 2.25 square kilometers, 2.5 square kilometers, 3 square kilometers, or the like, centered on the start position. For example, the preset time period may be 5 minutes, 8 minutes, 10 minutes, 12 minutes, and the like.
And step A2, calculating the ratio of the order quantity to the order quantity as the current response rate.
Step A3, if the response rate is less than a first preset threshold, determining that the current supply and demand state is poor supply and demand; otherwise, determining the current supply and demand state as good supply and demand.
For the specific value of the first preset threshold, any applicable value may be selected according to practical experience, which is not limited in the embodiment of the present invention. For example, the first preset threshold may be 30%, 40%, 50%, etc.
Step 302, judging whether to display countdown according to the supply and demand state. If yes, go to step 303; if not, go to step 307.
In the embodiment of the invention, if the current supply and demand state is supply and demand failure, no other driver is likely to respond to the bill raising request within the countdown time length, so that the countdown is determined not to be displayed when the current supply and demand state is supply and demand failure in order to avoid the time waste of passengers caused by no other driver responding to the bill raising request; if the current supply and demand state is good, other drivers are likely to respond to the bill of lading request within the countdown time length, so that in order to match the bill of lading request to the optimal vehicle type, the display countdown is determined when the current supply and demand state is good.
And 303, after the display countdown is judged, calculating the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passengers such as the historical wishes and the like.
If the display countdown is determined in step 302, the countdown duration of the display may be calculated according to the current supply and demand characteristics and the preference characteristics of the passenger, such as the historical desire.
The current supply and demand characteristics are current supply and demand characteristics of the starting point position, and the current supply and demand characteristics may include: and in a preset area range taking the starting point position as the center, the receiving amount, the lifting amount, the canceling amount, the average waiting time and the like in the latest preset time. For the preset area range and the latest preset time, reference may be made to the related description in step 301 above.
The historical willingness and like preference characteristics of the passenger may include: the average waiting time of the passenger in the historical preset time, the waiting time of the passenger in at least one same historical time period corresponding to the current bill picking time period, and the like. For example, the preset history duration may be the last 20 days, 30 days, and the like, and the same history time period may be the same history time period of previous 1 day, 2 days, 5 days, and the like, which is not limited in this embodiment of the present invention.
In an alternative embodiment, a duration estimation model for estimating the countdown duration may be trained in advance. In the training process, a large amount of first sample data are obtained, wherein each first sample data comprises sample current supply and demand characteristics, sample passenger historical wish and other preference characteristics corresponding to a sample bill of lading, and labeling information of actual waiting time of the sample bill of lading. Training the to-be-trained time length estimation model by adopting a machine learning algorithm based on a large amount of first sample data, taking the current supply and demand characteristics of the sample bill of lading and the preference characteristics of the historical wishes and the like of the sample passenger as the input of the to-be-trained time length estimation model, and obtaining the sample estimated countdown time length of the sample bill of lading output by the to-be-trained time length estimation model. And calculating the loss value based on the labeled information of the sample estimation countdown time length of the sample bill and the actual waiting time length of the sample bill. When the loss value meets a preset condition (for example, the loss value is within a preset range), the training is determined to be completed, and the trained model is used as a duration estimation model.
Accordingly, the process of calculating the countdown duration of the display based on the current supply and demand characteristics and the preference characteristics of the passenger such as historical willingness may include: and taking the current supply and demand characteristics and the preference characteristics such as the historical wish and the like as the input of a pre-trained duration estimation model, and taking the output of the duration estimation model as the countdown duration. The time length output by the time length estimation model represents the time length equal to the wish of the passenger (namely the time length that the passenger is willing to wait), so the output of the time length estimation model is used as the countdown time length displayed, and the current supply and demand characteristics and the wish of the passenger can be met. The duration estimation model is obtained based on a large number of sample training, and the countdown duration can be acquired more accurately and more quickly by using the duration estimation model.
In an optional embodiment, since the duration estimation model has a certain uncertainty, the estimated countdown duration may deviate from the actual situation more greatly, and therefore, the countdown duration may be further corrected. In the implementation, a reasonable minimum time and a reasonable maximum time are preset, and when the countdown time is less than the preset minimum time, the countdown time is corrected to be the minimum time; and when the countdown duration is greater than the preset maximum duration, correcting the countdown duration to be the maximum duration, so that the countdown duration is ensured to be in a reasonable range.
Any suitable value may be selected for the specific values of the minimum duration and the maximum duration according to practical experience, which is not limited in the embodiment of the present invention. For example, the minimum duration may be 3 seconds, 5 seconds, etc., and the maximum duration may be 10 seconds, 15 seconds, etc.
And step 304, judging whether the counting down duration is successfully calculated. If yes, go to step 305; if not, go to step 306.
Step 305, when the counting down duration is successfully calculated, sending a counting down display instruction carrying the counting down duration to the client.
And when the counting down duration is successfully calculated, the server generates a counting down display instruction, wherein the counting down display instruction can carry the counting down duration obtained by calculation. And the server side sends the countdown display instruction carrying the countdown duration to the client side. And after receiving the countdown display instruction, the client responds to the countdown display instruction, pops up a countdown card, and starts to count down according to the countdown duration carried in the countdown display instruction.
And step 306, when the counting of the countdown duration fails, sending a countdown display instruction carrying a preset default countdown duration to the client.
In implementation, the countdown duration calculation may fail due to a failure of the duration estimation model or a failure of the server side system. Therefore, in the embodiment of the present invention, a default countdown duration may be preset. For example, the server may set a default countdown duration after receiving a passenger order taking request sent by the client; the server side can also set default countdown duration after the bill raising request is responded for the first time; the server may also set a default countdown duration after the countdown duration fails to be calculated, which is not limited in the embodiment of the present invention. For the specific value of the default countdown duration, the embodiment of the present invention is not limited, for example, the default countdown duration may be set to the minimum duration mentioned in step 303.
When the counting down time length is failed to be calculated, the server side generates a counting down display instruction, and the counting down display instruction can carry preset default counting down time length. And the server side sends the countdown display instruction carrying the default countdown duration to the client side. And after receiving the countdown display instruction, the client responds to the countdown display instruction, pops up a countdown card, and starts to count down according to the default countdown duration carried in the countdown display instruction.
And 307, matching the bill raising request with a target driver and dispatching the target driver after judging that the countdown is not displayed.
If the countdown is not shown in the step 302, the server matches the bill lifting request with a target driver and dispatches the bill to the target driver.
In an alternative embodiment, the process of dispatching a target driver for matching the bill of lading request to the target driver may include: acquiring the number of drivers responding to the bill of lading request; taking the driver as a target driver and dispatching the target driver in the case that only one driver responds to the bill raising request; under the condition that a plurality of drivers respond to the bill raising request, respectively calculating the weight value of each driver, matching and obtaining a target driver from the plurality of drivers by using a bipartite graph maximum weight matching mode based on the weight value of each driver, and dispatching the target driver.
Alternatively, the process of calculating the weight value of any driver may include the following steps B1 to B2:
and step B1, acquiring the pickup time length, the pickup distance and the order dispatching success rate of any driver.
The server side can obtain information such as the driving receiving duration and the driving receiving distance of any driver according to the current position of any driver responding to the bill lifting request and the starting position of the bill lifting request.
In an alternative embodiment, an order rate prediction model for predicting the order rate of the driver may be pre-trained. In the training process, a large amount of second sample data is obtained, wherein each second sample data comprises sample historical order information of a driver, sample order information and passenger sample historical order information corresponding to a sample order, and marking information of whether the sample order is finished or not. And training the to-be-trained order-picking rate estimation model by adopting a machine learning algorithm based on a large amount of second sample data, taking the sample historical order information of the driver, the sample order-picking information and the sample historical order information of the passenger as the input of the to-be-trained order-picking rate estimation model, and obtaining the sample estimated order-picking rate of the sample order-picking output by the to-be-trained order-picking rate estimation model. Based on the sample estimation order-dispatching success rate of the sample order and the labeling information of whether the sample order is successful or not, the loss value can be calculated. When the loss value meets a preset condition (for example, the loss value is within a preset range), the training is determined to be completed, and the trained model is used as an order dispatching and order forming rate estimation model.
Therefore, the process of obtaining the order forming rate of any one driver may include: acquiring historical order information of any driver, order-picking information of the order-picking request and historical order information of the passenger; and taking the historical order information of any driver, the order-taking information of the order-taking request and the historical order information of the passenger as the input of a pre-trained order-taking rate estimation model to obtain the order-taking rate of any driver output by the order-taking rate estimation model. The order delivery success rate estimation model is obtained based on a large number of sample training, and the order delivery success rate estimation model is utilized, so that the order delivery success rate of a driver can be obtained more accurately and more quickly.
The driver's historical order information may include historical pick-up amount, historical cancellation amount, historical complaint rate, and the like of the driver. The bill of lading information of the bill of lading request may include information of a billing duration, a billing distance, a prepaid price, supply and demand characteristics of the terminal location, etc. of the bill of lading. The passenger's historical order information may include information such as the passenger's historical pick-up amount, historical cancellation amount, historical order amount, etc.
And step B2, carrying out weighted calculation on the pickup time length, the pickup distance and the order dispatching completion rate to obtain the weight value of any driver.
In implementation, respective corresponding weight values of the pickup time length, the pickup distance and the order dispatching success rate may be preset, and the pickup time length, the pickup distance and the order dispatching success rate may be weighted and calculated according to the respective corresponding weight values to obtain a weight value of any one driver.
And matching a target driver from the plurality of drivers by using a bipartite graph maximum weight matching mode based on the weight value of each driver responding to the bill lifting request to obtain the target driver, and dispatching the target driver. For the specific processing procedure of the bipartite graph maximum weight matching (KM algorithm), the relevant processing is performed according to actual experience, and the embodiment of the present invention is not discussed in detail herein.
It should be noted that, in the embodiment of the present invention, after receiving the passenger bill picking request sent by the client, or after the bill picking request is first responded, the server may set a flag that indicates whether to exhibit the countdown (False indicates not to exhibit the countdown). When the display countdown is judged, setting a flag of whether the display countdown is True (True represents the display countdown); and after the countdown is judged not to be displayed, the sign of whether the countdown is displayed is not repeatedly set. And the server judges whether to send a countdown display instruction to the client or match a target driver for the client to dispatch the list according to whether the countdown flag is displayed or not.
In the embodiment of the invention, after the bill raising request is responded by the first driver, the reasonable countdown duration is calculated according to the factors such as the current supply and demand characteristics, the preference characteristics of the passenger wish and the like, the order rate is taken as the target, the passenger experience and the transport capacity efficiency of a merchant are comprehensively considered, and the bill raising method is not only friendly to the user experience, but also fully utilizes the transport capacity efficiency. The platform decision can strive for longer waiting time for users on the demand side, and can further introduce drivers to participate in competition on the supply side, so that the platform decision is preferred among service providers.
Referring to fig. 4, a block diagram of a countdown displaying device according to an embodiment of the present invention is shown. The countdown display device shown in fig. 4 is applied to a server.
As shown in fig. 4, the countdown display may include the following modules:
the detection module 401 is configured to detect a current supply and demand state after a passenger bill raising request sent by a client is responded for the first time;
a judging module 402, configured to judge whether to display countdown according to the supply and demand state;
a calculating module 403, configured to calculate a countdown duration of the display according to the current supply and demand characteristics and the preference characteristics of the passenger, such as the historical wish, after the determining module determines that the display countdown is performed;
a sending module 404, configured to send a countdown display instruction carrying the countdown duration to the client.
Referring to FIG. 5, a block diagram of another countdown display device according to an embodiment of the present invention is shown. The countdown display device shown in fig. 5 is applied to the server.
As shown in fig. 5, the countdown display may include the following modules:
the detecting module 501 is configured to detect a current supply and demand state after a passenger order taking request sent by a client is responded for the first time;
a judging module 502, configured to judge whether to display countdown according to the supply and demand state;
the calculating module 503 is configured to calculate a countdown duration of the display according to the current supply and demand characteristics and the preference characteristics of the passenger such as the historical wish after the judging module judges that the display countdown is performed;
a sending module 504, configured to send a countdown display instruction carrying the countdown duration to the client.
Optionally, the calculating module 503 is specifically configured to use the current supply and demand characteristics and the preference characteristics such as the historical wish as inputs of a pre-trained duration estimation model, and use an output of the duration estimation model as the countdown duration; the duration estimation model is obtained by training according to a plurality of first sample data, and the first sample data comprise sample current supply and demand characteristics corresponding to the sample bill of lading, sample passenger historical wish preference characteristics and the like, and labeling information of actual waiting duration of the sample bill of lading.
Optionally, the apparatus further comprises: a correcting module 505, configured to correct the countdown duration to a preset minimum duration when the countdown duration is less than the preset minimum duration after the counting module calculates the displayed countdown duration; and when the countdown duration is greater than the preset maximum duration, correcting the countdown duration to be the maximum duration.
Optionally, the bill of lading request includes a starting location; the detection module 501 includes: a quantity obtaining unit 5011, configured to obtain an order receiving quantity and an order picking quantity within a preset time period in a preset area range centered on the starting point position; a probability calculation unit 5012, configured to calculate a ratio of the pick-up amount to the pick-up amount as a current response rate; a status determining unit 5013, configured to determine that the current supply and demand status is supply and demand poor if the response rate is smaller than a first preset threshold; otherwise, determining the current supply and demand state as good supply and demand.
Optionally, the supply and demand status comprises supply and demand deficiency and supply and demand deficiency; the determining module 502 is specifically configured to determine not to display the countdown when the supply and demand state is a poor supply and demand state; and when the supply and demand state is good, determining a display countdown.
Optionally, the sending module 504 includes: a first sending unit 5041, configured to send a countdown displaying instruction carrying the countdown duration to the client when the countdown duration is successfully calculated; a second sending unit 5042, configured to send a countdown displaying instruction carrying a preset default countdown duration to the client when the countdown duration calculation fails.
Optionally, the apparatus further comprises: an obtaining module 506, configured to obtain the number of drivers responding to the bill of lading request after the determining module determines that the countdown is not to be exhibited; a first dispatch module 507, configured to take the driver as a target driver and dispatch the target driver when only one driver responds to the bill raising request; a second order dispatching module 508, configured to calculate a weight value of each driver respectively when multiple drivers respond to the order pickup request, and based on the weight value of each driver, match a target driver from the multiple drivers by using a bipartite graph maximum weight matching method, and dispatch an order to the target driver.
In the embodiment of the invention, the server side can judge whether to display the countdown based on the current supply and demand state after a passenger bill-drawing request sent by the client side is responded for the first time, and under the condition of judging that the countdown is displayed, the countdown duration of the display is calculated according to the current supply and demand characteristics, the historical desire characteristics of the passenger and other preference characteristics. The counting down time length is more reasonable and accurate due to the consideration of the current supply and demand factors and the factors of whether passengers are willing to wait.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In an embodiment of the invention, an electronic device is also provided. The electronic device may include one or more processors and one or more machine-readable media having instructions, such as an application program, stored thereon. The instructions, when executed by the one or more processors, cause the processors to perform the methods described above.
In an embodiment of the present invention, there is also provided a non-transitory computer readable storage medium having stored thereon a computer program executable by a processor of an electronic device to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The countdown displaying method, the countdown displaying apparatus, the electronic device and the storage medium provided by the present invention are described in detail above, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A countdown displaying method, executed on a server, includes:
after a passenger bill-taking request sent by a client is responded for the first time, detecting the current supply and demand state;
judging whether to display countdown or not according to the supply and demand state;
after the display countdown is judged, calculating the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passengers such as the historical wishes and the like;
and sending a countdown display instruction carrying the countdown duration to the client.
2. The method of claim 1, wherein calculating a countdown duration for the display based on the current supply and demand characteristics and the historical willingness preference characteristics of the passenger comprises:
taking the current supply and demand characteristics and the preference characteristics such as the historical wish and the like as the input of a pre-trained duration estimation model, and taking the output of the duration estimation model as the countdown duration;
the duration estimation model is obtained by training according to a plurality of first sample data, and the first sample data comprise sample current supply and demand characteristics corresponding to the sample bill of lading, sample passenger historical wish preference characteristics and the like, and labeling information of actual waiting duration of the sample bill of lading.
3. The method of claim 1 or 2, further comprising, after said calculating the exhibited countdown duration:
when the countdown duration is less than a preset minimum duration, correcting the countdown duration to be the minimum duration;
and when the countdown duration is greater than the preset maximum duration, correcting the countdown duration to be the maximum duration.
4. The method of claim 1, wherein the bill of lading request includes a starting location; the detecting the current supply and demand state comprises:
acquiring the order receiving amount and the order picking amount within the latest preset time length in a preset area range taking the starting point position as the center;
calculating the ratio of the order taking quantity to the order lifting quantity as the current response rate;
if the response rate is smaller than a first preset threshold value, determining that the current supply and demand state is poor in supply and demand; otherwise, determining the current supply and demand state as good supply and demand.
5. The method according to claim 1 or 4, wherein the supply and demand status comprises supply and demand deficiency and supply and demand deficiency; the judging whether to display countdown according to the supply and demand state comprises the following steps:
when the supply and demand state is poor supply and demand, determining not to display countdown;
and when the supply and demand state is good, determining a display countdown.
6. The method of claim 1, wherein sending the countdown showing instruction carrying the countdown duration to the client comprises:
when the counting down duration is successfully calculated, sending a counting down display instruction carrying the counting down duration to the client;
and when the counting down time length is failed to be calculated, sending a counting down display instruction carrying preset default counting down time length to the client.
7. The method of claim 1, wherein after said determining whether to exhibit a countdown, further comprising:
acquiring the number of drivers responding to the bill of lading request after judging that the countdown is not displayed;
taking the driver as a target driver and dispatching the target driver in the case that only one driver responds to the bill raising request;
under the condition that a plurality of drivers respond to the bill raising request, respectively calculating the weight value of each driver, matching and obtaining a target driver from the plurality of drivers by using a bipartite graph maximum weight matching mode based on the weight value of each driver, and dispatching the target driver.
8. A countdown display device, applied to a server, the device comprising:
the detection module is used for detecting the current supply and demand state after a passenger bill-taking request sent by the client is responded for the first time;
the judging module is used for judging whether to display countdown or not according to the supply and demand state;
the calculation module is used for calculating the displayed countdown duration according to the current supply and demand characteristics and the preference characteristics of the passengers such as the historical wishes and the like after the judgment module judges the displayed countdown;
and the sending module is used for sending a countdown display instruction carrying the countdown duration to the client.
9. An electronic device, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon;
the instructions, when executed by the one or more processors, cause the processors to perform the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202011026097.5A 2020-09-25 2020-09-25 Countdown display method and device, electronic equipment and storage medium Active CN112184160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011026097.5A CN112184160B (en) 2020-09-25 2020-09-25 Countdown display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011026097.5A CN112184160B (en) 2020-09-25 2020-09-25 Countdown display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112184160A true CN112184160A (en) 2021-01-05
CN112184160B CN112184160B (en) 2024-04-26

Family

ID=73944030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011026097.5A Active CN112184160B (en) 2020-09-25 2020-09-25 Countdown display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112184160B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000009336U (en) * 1998-11-02 2000-06-05 이구택 Charging position control device for billet charging material
CN102710508A (en) * 2012-05-17 2012-10-03 北京邮电大学 Virtual network resource allocation method
CN107122866A (en) * 2017-05-03 2017-09-01 百度在线网络技术(北京)有限公司 Passenger is estimated to cancel an order method, equipment and the storage medium of behavior
CN108009651A (en) * 2017-08-16 2018-05-08 北京嘀嘀无限科技发展有限公司 Order processing method, apparatus, terminal device and computer-readable recording medium
CN108234512A (en) * 2018-01-22 2018-06-29 成都六零加信息技术有限公司 A kind of timing control method and system
WO2020155837A1 (en) * 2019-01-31 2020-08-06 阿里巴巴集团控股有限公司 Ride-hailing information display method, apparatus, system, and device
CN111563638A (en) * 2019-02-13 2020-08-21 北京嘀嘀无限科技发展有限公司 Network car booking request processing method and device, server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000009336U (en) * 1998-11-02 2000-06-05 이구택 Charging position control device for billet charging material
CN102710508A (en) * 2012-05-17 2012-10-03 北京邮电大学 Virtual network resource allocation method
CN107122866A (en) * 2017-05-03 2017-09-01 百度在线网络技术(北京)有限公司 Passenger is estimated to cancel an order method, equipment and the storage medium of behavior
CN108009651A (en) * 2017-08-16 2018-05-08 北京嘀嘀无限科技发展有限公司 Order processing method, apparatus, terminal device and computer-readable recording medium
CN108234512A (en) * 2018-01-22 2018-06-29 成都六零加信息技术有限公司 A kind of timing control method and system
WO2020155837A1 (en) * 2019-01-31 2020-08-06 阿里巴巴集团控股有限公司 Ride-hailing information display method, apparatus, system, and device
CN111563638A (en) * 2019-02-13 2020-08-21 北京嘀嘀无限科技发展有限公司 Network car booking request processing method and device, server and storage medium

Also Published As

Publication number Publication date
CN112184160B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
US11162803B2 (en) Providing alternative routing options to a rider of a transportation management system
CN113095531A (en) Order dispatching method and device
CN110832512A (en) System and method for reducing waiting time for providing transportation services
CN111080048A (en) Order dispatching method and device for reserving order of taxi taking, electronic equipment and storage medium
CN108399460B (en) Network taxi booking order distribution processing method and server
CN111784088A (en) Order matching method, order matching device, server and storage medium
CN110910019A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN109493168B (en) Method, device and equipment for processing order and storage medium
CN110363611B (en) Network appointment vehicle user matching method, device, server and storage medium
CN113254771B (en) Bank outlet recommendation method and device
CN110570002A (en) Reservation list mixed interlinked dispatching method and device based on non-idle travel vehicle
CN104809527B (en) The order automatic selecting method that a kind of mobile phone is called a taxi
CN111626801A (en) Order distribution method and device, electronic equipment and computer storage medium
CN112714101A (en) Boarding identification method and device, electronic equipment and storage medium
CN112184160A (en) Countdown display method and device, electronic equipment and storage medium
CN111178558B (en) Network appointment order processing method and device, computer equipment and readable storage medium
WO2021031636A1 (en) Real-time order travel vehicle-based real-time order assignment method and apparatus
CN110853333A (en) Reservation order dispatching method and device based on real-time single-stroke vehicle
CN113129102B (en) Delayed order dispatching method and device, electronic equipment and storage medium
CN110910191A (en) Car pooling order generation method and equipment
CN115759307A (en) Order dispatching method and device, electronic equipment and storage medium
CN112184161B (en) Countdown display method and device, electronic equipment and storage medium
CN112633965A (en) Order processing method and device, electronic equipment and storage medium
CN109726960B (en) Order processing method and device, electronic equipment and computer readable storage medium
CN113988538A (en) Order distribution method, device, server and 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
GR01 Patent grant
GR01 Patent grant