CN112184160B - 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
CN112184160B
CN112184160B CN202011026097.5A CN202011026097A CN112184160B CN 112184160 B CN112184160 B CN 112184160B CN 202011026097 A CN202011026097 A CN 202011026097A CN 112184160 B CN112184160 B CN 112184160B
Authority
CN
China
Prior art keywords
countdown
demand
time length
bill
supply
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.)
Active
Application number
CN202011026097.5A
Other languages
Chinese (zh)
Other versions
CN112184160A (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

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

Abstract

The invention provides a countdown display method, a countdown display device, electronic equipment and a storage medium. The countdown display method comprises the following steps: detecting the current supply and demand state after the passenger bill of lading request sent by the client is responded for the first time; judging whether to display countdown according to the supply and demand state; after the display countdown is judged, calculating the display countdown time length according to the current supply and demand characteristics, the historical wish of the passengers and other preference characteristics; and sending a countdown display instruction carrying the countdown duration to the client. According to the invention, whether the countdown is displayed is judged based on the current supply and demand state, and the displayed countdown time length is calculated according to the current supply and demand characteristics, the historical wish of the passengers and other preference characteristics, and the current supply and demand factors and the passenger willingness to wait factors are considered, so that the calculated countdown time length is more reasonable and more accurate.

Description

Countdown display method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a countdown display method, a countdown display device, an electronic device, and a storage medium.
Background
With the rapid development of internet technology, internet taxi service is becoming more popular with users, and users can take a bus more conveniently and more rapidly through internet taxi service.
In the mode of the network taxi travel platform aggregation, passengers can select multiple types of vehicles during taxi, and after a bill of lading is responded for the first time, the system can delay for a certain time so as to wait for the response of other types of vehicles. The optimizing opportunity can be increased by delaying for a period of time, so that the dispatch list forming rate is improved.
Currently, a network bus travel platform usually ejects a countdown card, and sets a countdown time length empirically so as to provide clear order receiving expectations for passengers. Intuitively, if the longer the delay time, the more vehicle models can respond, so that the best vehicle model matching the bill of lading is more likely to be found. However, if the countdown time length is set unreasonably, the vehicle model responding for the first time may be unfair, or the passenger may cancel before receiving the ticket, etc. Therefore, how to display the countdown more accurately and reasonably is a problem to be solved at present.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are provided to provide a countdown display method, apparatus, electronic device, and storage medium that overcome or at least partially solve the foregoing problems.
In a first aspect, an embodiment of the present invention discloses a countdown display method, which is executed on a server, and the method includes:
Detecting the current supply and demand state after the passenger bill of lading request sent by the client is responded for the first time;
Judging whether to display countdown according to the supply and demand state;
After the display countdown is judged, calculating the display countdown time length according to the current supply and demand characteristics, the historical wish of the passengers and other preference characteristics;
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 such as the historical wish of the passenger includes: taking the current supply and demand characteristics and the historical wish preference characteristics as inputs of a pre-trained duration estimation model, and taking the output of the duration estimation model as the countdown duration; the time length estimation model is trained according to a plurality of first sample data, wherein the first sample data comprises sample current supply and demand characteristics corresponding to a sample bill, sample passenger historical wish and other preference characteristics, and labeling information of actual waiting time length of the sample bill.
Optionally, after the calculating the displayed countdown duration, the method further comprises: when the countdown time length is smaller than a preset minimum time length, correcting the countdown time length to be the minimum time length; and when the countdown time length is longer than a preset maximum time length, correcting the countdown time length to the maximum time length.
Optionally, the bill of lading request includes a start location; the detecting the current supply and demand state includes: acquiring the receipt quantity and the bill quantity in the latest preset time length in a preset area range taking the starting point position as the center; calculating the ratio of the receipt quantity to the bill of lading 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 state includes supply and demand failure and supply and demand good; judging whether to display countdown according to the supply and demand state, including: when the supply and demand state is poor supply and demand, determining not to display countdown; and when the supply and demand state is that the supply and demand is good, determining to display the countdown.
Optionally, the sending, to the client, a countdown display instruction carrying the countdown duration includes: when the countdown time length calculation is successful, sending a countdown display instruction carrying the countdown time length to the client; and when the countdown time length calculation fails, sending a countdown display instruction carrying a preset default countdown time length to the client.
Optionally, after the determining whether to display the countdown, further comprising: after judging that the countdown is not displayed, acquiring the number of drivers responding to the bill of lading request; taking the driver as a target driver under the condition that only one driver responds to the bill of lading request, and dispatching the target driver; under the condition that a plurality of drivers respond to the bill of lading request, respectively calculating the weight value of each driver, and based on the weight value of each driver, obtaining a target driver from the plurality of drivers by matching in a bipartite graph maximum weight matching mode, 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 the passenger bill of lading request sent by the client is responded for the first time;
the judging module is used for judging whether to display countdown according to the supply and demand state;
the calculating module is used for calculating the countdown time length of the display according to the current supply and demand characteristics and the historical wish preference characteristics of the passengers after the judging module judges that the countdown is displayed;
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 input of a pre-trained duration estimation model, and use output of the duration estimation model as the countdown duration; the time length estimation model is trained according to a plurality of first sample data, wherein the first sample data comprises sample current supply and demand characteristics corresponding to a sample bill, sample passenger historical wish and other preference characteristics, and labeling information of actual waiting time length of the sample bill.
Optionally, the apparatus further comprises: the correcting module is used for correcting the countdown time length to the minimum time length when the countdown time length is smaller than the preset minimum time length after the calculating module calculates the displayed countdown time length; and when the countdown time length is longer than a preset maximum time length, correcting the countdown time length to the maximum time length.
Optionally, the bill of lading request includes a start location; the detection module comprises: the quantity acquisition unit is used for acquiring the receipt quantity and the bill quantity in the latest preset duration in a preset area range taking the starting point position as the center; the probability calculation unit is used for calculating the ratio of the receipt quantity to the bill of lading quantity to serve as the current response rate; the state determining unit is used for determining that the current supply and demand state is poor supply and demand if the response rate is smaller than a first preset threshold value; otherwise, determining the current supply and demand state as good supply and demand.
Optionally, the supply and demand state includes supply and demand failure and supply and demand good; the judging module is specifically configured to determine that countdown is not displayed when the supply and demand state is poor supply and demand; and when the supply and demand state is that the supply and demand is good, determining to display the 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 calculation is successful; and the second sending unit is used for sending a countdown display instruction carrying a preset default countdown duration to the client when the countdown duration calculation fails.
Optionally, the apparatus further comprises: the acquisition module is used for acquiring the number of drivers responding to the bill of lading request after the judgment module judges that the countdown is not displayed; the first dispatch module is used for dispatching a dispatch list to a target driver by taking the driver as the target driver under the condition that only one driver responds to the bill of lading request; and the second dispatch module is used for respectively calculating the weight value of each driver under the condition that a plurality of drivers respond to the bill of lading request, and obtaining a target driver from the plurality of drivers by matching in a bipartite graph maximum weight matching mode based on the weight value of each driver, so as to dispatch 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 as described in any of the above.
In a fourth aspect, embodiments of the present invention disclose a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a countdown presentation method as defined in any of the above.
In the embodiment of the invention, after the passenger bill of lading request sent by the client is responded for the first time, the server can judge whether to display countdown based on the current supply and demand state, and calculate the countdown duration of display according to the current supply and demand characteristics and the historical wish of the passenger under the condition that the countdown is judged to be displayed. Because the current supply and demand factors and the factors of whether passengers are willing to wait or not are considered, the calculated countdown time length is more reasonable and more accurate.
Drawings
Fig. 1 is a flowchart illustrating steps of a countdown display 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 display method according to an embodiment of the present invention.
Fig. 4 is a block diagram of a countdown display device according to an embodiment of the present invention.
Fig. 5 is a block diagram of another countdown display device according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The countdown display method of the embodiment of the invention is applied to the server. The passenger sends out the bill of lading request at client side reservation network about car, and the server side is responded for the first time after the bill of lading request, based on the preference characteristics such as current supply and demand state, current supply and demand characteristic and passenger's history wish, more rationally, more accurately carries out the countdown show.
The network taxi is a short name of network taxi reservation, and the network taxi can comprise a taxi, a windward vehicle, a express vehicle, a special vehicle and the like. The server side can be a server of each network vehicle travel platform. The client can be an APP (application program) for each network about travel.
Referring to fig. 1, a flowchart of steps of a countdown presentation 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, detecting the current supply and demand state after the passenger bill of lading request sent by the client is responded for the first time.
The passenger performs corresponding operations on the client, such as setting a starting point position, an ending point position, a selected vehicle type and the like, and then clicks a call button to trigger a bill of lading request, and the client sends the passenger bill of lading request to the server.
After receiving the bill of lading request, the server waits for the driver to respond to the bill of lading request. After the bill of lading request is responded for the first time, the server detects the current supply and demand state. The supply and demand state may include a good supply and demand state, a bad supply and demand state, and the like.
And 102, judging whether to display countdown according to the supply and demand state.
And the server judges whether the countdown is displayed on the client according to the current supply and demand state. For example, when the supply and demand state is good, the countdown can be displayed selectively; when the supply and demand state is poor, the countdown can be optionally not displayed.
And step 103, after judging that the display countdown is performed, calculating the display countdown time length according to the current supply and demand characteristics and the preference characteristics such as the historical wish of the passengers.
After judging to display the countdown, the server can acquire the current supply and demand characteristics, the historical wish of the passengers and other preference characteristics, and calculate the countdown duration of the display according to the current supply and demand characteristics, the historical wish of the passengers and other preference characteristics. For example, in the case where the supply and demand are good and the passengers wish, the calculated countdown period is appropriately increased; in the case that a good supply and demand single passenger is unwilling or the like, the calculated countdown time length is appropriately reduced; in the case of poor supply and demand, countdown may not be exhibited, and so on. The calculated countdown time length is more reasonable and accurate, user experience can be improved, and capacity efficiency can be fully utilized.
Step 104, sending a countdown display instruction carrying the countdown duration to the client.
After judging to display the countdown and calculating the countdown duration of the display, the server sends a countdown display instruction to the client, wherein the countdown display instruction can carry information such as the countdown duration obtained by calculation.
After receiving the countdown display instruction, the client can pop up the countdown card, display the countdown according to the countdown time length carried in the countdown display instruction, and display a clear prompt document 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 of "match best vehicle for you" is displayed.
In the embodiment of the invention, after the passenger bill of lading request sent by the client is responded for the first time, the server can judge whether to display countdown based on the current supply and demand state, and calculate the countdown duration of display according to the current supply and demand characteristics and the historical wish of the passenger under the condition that the countdown is judged to be displayed. Because the current supply and demand factors and the factors of whether passengers are willing to wait or not are considered, the calculated countdown time length is more reasonable and more accurate.
Referring to fig. 3, a flowchart of steps of another countdown display method of an embodiment of the present invention is shown.
As shown in fig. 3, the countdown display method may include the steps of:
In step 301, after the passenger bill of lading request sent by the client is responded for the first time, the current supply and demand state is detected.
When a passenger takes a bill, a starting point position, an end point position, various selected vehicle types (such as vehicle types M1, M2 and M3 … …) and the like can be set. After the passenger bill of lading, the customer end sends the bill of lading request of this passenger to the service end. The bill of lading request may include information such as the passenger's user identification, start position, end position, selected vehicle type, etc.
After receiving the bill of lading request, the server waits for the driver to respond to the bill of lading request. After the bill of lading request is responded by a driver of a selected vehicle model 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 state may include the following steps A1 to A3:
And A1, acquiring the receipt quantity and the bill quantity in the latest preset duration in a preset area range taking the starting point position as the center.
In the implementation, a Hex code of a 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 a pick-up amount in the latest preset duration in the preset area range are obtained.
For specific values of the preset area range and the preset duration, any applicable value can be selected according to practical experience, and the embodiment of the invention is not limited to the specific value. For example, the preset area range centered on the start point position may be a regular hexagonal area range of 2.25 square kilometers, 2.5 square kilometers, 3 square kilometers, and the like centered on the start point position. For example, the preset duration may be 5 minutes, 8 minutes, 10 minutes, 12 minutes, and so on.
And A2, calculating the ratio of the receipt quantity to the bill of lading quantity as the current response rate.
Step A3, if the response rate is smaller than a first preset threshold value, 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 can 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, determining whether to display countdown according to the supply and demand state. If yes, go to step 303; if not, step 307 is performed.
In the embodiment of the invention, if the current supply and demand state is poor supply and demand, no other drivers are likely to respond to the bill request within the countdown time period, so that in order to avoid time waste of passengers caused by no other drivers responding to the bill request, the countdown is not displayed when the current supply and demand state is poor supply and demand; if the current supply and demand state is good supply and demand, other drivers are likely to respond to the bill of lading request in the countdown time period, so that in order to be capable of matching the bill of lading request to the optimal vehicle type, the countdown is confirmed when the current supply and demand state is good supply and demand.
Step 303, after judging that the display countdown is performed, calculating the display countdown time length according to the current supply and demand characteristics and the preference characteristics such as the historical wish of the passengers.
If it is determined in step 302 that the countdown is displayed, a countdown duration of the display may be calculated according to the current supply and demand characteristics and the preference characteristics such as the historical wish of the passenger.
Wherein the current supply-demand characteristic is a current supply-demand characteristic of the starting point position, and the current supply-demand characteristic may include: and in a preset area range taking the starting point position as the center, the characteristics of receipt quantity, bill quantity, cancellation quantity, average waiting time length and the like in the latest preset time length are provided. For the preset area range and the latest preset time period, reference may be made to the description related to step 301 above.
The historical preferences of the passenger, etc. 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 of lading time period and the like. For example, the history preset duration may be the last 20 days, 30 days, etc., and the same history period may be the same history period of 1 day, 2 days, 5 days, etc. before, which is not limited in the embodiment of the present invention.
In an alternative embodiment, a duration estimation model for estimating the countdown duration may be pre-trained. In the training process, a large amount of first sample data are acquired, and each first sample data comprises the current supply and demand characteristics of a sample corresponding to a sample bill, the historical wish preference and other preference characteristics of a sample passenger and the labeling information of the actual waiting time of the sample bill. Based on a large amount of first sample data, training a to-be-trained duration estimation model by adopting a machine learning algorithm, taking the current supply and demand characteristics of samples of a sample bill and the historical wish preference and other preference characteristics of the sample passenger as the input of the to-be-trained duration estimation model, and obtaining the sample estimated countdown duration of the sample bill output by the to-be-trained duration estimation model. Based on the labeling information of the sample pre-estimated countdown time length of the sample bill and the actual waiting time length of the sample bill, the loss value can be calculated. When the loss value meets the preset condition (such as the loss value is in the preset range, etc.), the training is determined to be completed, and the model after the training is used as a duration pre-estimated model.
Thus, the process of calculating the displayed countdown period based on the current supply and demand characteristics and the historical wish of the passenger may include: and taking the current supply and demand characteristics and the historical wish preference characteristics as inputs of a pre-trained duration estimation model, and taking the output of the duration estimation model as the countdown duration. The duration output by the duration prediction model represents the duration of the passenger (namely the duration of the passenger willing to wait), so that the output of the duration prediction model is used as the displayed countdown duration, and the current supply and demand characteristics and the passenger willing can be met. The time length estimation model is obtained based on a large number of sample training, and the countdown time length can be obtained more accurately and more quickly by using the time length estimation model.
In an alternative embodiment, because the duration estimation model has a certain uncertainty, the estimated countdown duration may deviate from the actual situation greatly, so the countdown duration can be further corrected. In the implementation, presetting reasonable minimum time length and maximum time length, and correcting the countdown time length to the minimum time length when the countdown time length is smaller than the preset minimum time length; when the countdown time length is longer than a preset maximum time length, correcting the countdown time length to the maximum time length, thereby ensuring that the countdown time length is within a reasonable range.
For the specific values of the minimum duration and the maximum duration, any applicable value can be selected according to practical experience, and the embodiment of the invention is not limited to the specific values. For example, the minimum duration may be 3 seconds, 5 seconds, etc., and the maximum duration may be 10 seconds, 15 seconds, etc.
Step 304, determining whether the countdown duration is calculated successfully. If yes, go to step 305; if not, go to step 306.
And 305, when the countdown time length calculation is successful, sending a countdown display instruction carrying the countdown time length to the client.
And when the countdown time length calculation is successful, the server side generates a countdown display instruction, wherein the countdown display instruction can carry the countdown time length obtained by calculation. And the server side sends the countdown display instruction carrying the countdown duration to the client side. After receiving the countdown display instruction, the client side responds to the countdown display instruction, pops up the countdown card, and starts the countdown according to the countdown time carried in the countdown display instruction.
And step 306, when the countdown duration calculation fails, sending a countdown display instruction carrying a preset default countdown duration to the client.
In the implementation, the countdown duration calculation may fail due to a failure of the duration estimation model or a failure of the server system. Therefore, in the embodiment of the invention, the default countdown duration can be preset. For example, the server may set a default countdown duration after receiving the passenger bill of lading request sent by the client; the server side can also set default countdown time length after the bill of lading 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 a specific value of the default countdown duration, embodiments of the present invention are not limited, and for example, the default countdown duration may be set to the minimum duration mentioned in step 303, and so on.
When the counting down time length calculation fails, the server side generates a counting down display instruction, wherein the counting down display instruction can carry preset default counting down time length. And the server sends the countdown display instruction carrying the default countdown duration to the client. After receiving the countdown display instruction, the client side responds to the countdown display instruction, pops up the countdown card, and starts countdown according to the default countdown time carried in the countdown display instruction.
And 307, after judging that the countdown is not displayed, matching the bill of lading request with a target driver, and dispatching the target driver.
If it is determined in step 302 that the countdown is not displayed, the server matches the bill of lading request with the target driver, and dispatches the target driver.
In an alternative embodiment, the process of matching the bill of lading request with the target driver and dispatching the target driver may include: acquiring the number of drivers responding to the bill of lading request; taking the driver as a target driver under the condition that only one driver responds to the bill of lading request, and dispatching the target driver; under the condition that a plurality of drivers respond to the bill of lading request, respectively calculating the weight value of each driver, and based on the weight value of each driver, obtaining a target driver from the plurality of drivers by matching in a bipartite graph maximum weight matching mode, and dispatching the target driver.
Optionally, the process of calculating the weight value of any one driver for any one driver may include the following steps B1 to B2:
and step B1, acquiring the receiving driving time length, the receiving driving distance and the dispatch list forming rate of any driver.
The server side can obtain information such as the driving duration, the driving distance and the like of any one driver according to the current position of any one driver responding to the bill of lading request and the starting position of the bill of lading request.
In an alternative embodiment, a dispatch list rate prediction model for predicting the dispatch list rate of the driver may be trained in advance. In the training process, a large amount of second sample data are acquired, and each second sample data comprises sample historical order information of a driver corresponding to a sample bill, sample bill information and sample historical order information of a passenger, and labeling information of whether the sample bill is a bill. Based on a large amount of second sample data, training a to-be-trained form dispatching single rate estimation model by adopting a machine learning algorithm, taking sample historical order information of a driver, sample bill information and sample historical order information of passengers as input of the to-be-trained form dispatching single rate estimation model, and obtaining sample estimated form dispatching single rate of the sample bill output by the to-be-trained form dispatching single rate estimation model. Based on the sample pre-estimated dispatch rate of the sample bill of lading and the labeling information of whether the sample bill of lading is a bill, the loss value can be calculated. When the loss value meets the preset condition (such as that the loss value is in a preset range, etc.), the training is determined to be completed, and the model after the training is used as a single-rate prediction model.
Thus, the process of obtaining the dispatch list of any driver to form a single rate may include: acquiring historical order information of any driver, bill of lading information of the bill of lading request and historical order information of the passenger; and taking the history order information of any one driver, the bill of lading information of the bill of lading request and the history order information of the passenger as the input of a pre-trained bill-taking rate estimation model to obtain the bill-taking rate of any one driver output by the bill-taking rate estimation model. The dispatch single-rate estimation model is obtained based on a large number of sample training, and the dispatch single-rate of a driver can be obtained more accurately and more rapidly by using the dispatch single-rate estimation model.
The historical order information of the driver can comprise information such as historical receipt quantity, historical cancellation quantity, historical complaint rate and the like of the driver. The bill of lading information of the bill of lading request can include the information such as the charging duration, charging distance, prepaid price, supply and demand characteristics of the terminal position, etc. The historical order information for a passenger may include information for the passenger such as a historical pick-up amount, a historical cancellation amount, a historical pick-up amount, and the like.
And B2, carrying out weighted calculation on the driving receiving time length, the driving receiving distance and the dispatch list forming rate to obtain the weight value of any driver.
In implementation, the weight values corresponding to the receiving driving duration, the receiving driving distance and the dispatching single rate can be preset, and the weight value of any driver can be obtained by carrying out weighted calculation on the receiving driving duration, the receiving driving distance and the dispatching single rate according to the weight values corresponding to the receiving driving duration, the receiving driving distance and the dispatching single rate.
And forming a driver-to-passenger matrix by a plurality of drivers responding to the bill of lading request and passengers, and matching to obtain 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 of lading request, and dispatching the target driver. For the specific processing procedure of the bipartite graph maximum weight matching (KM algorithm), the correlation processing is performed according to actual experience, and the embodiment of the present invention will not be discussed in detail here.
In the embodiment of the present invention, after receiving the passenger bill request sent by the client, or after the bill request is responded for the first time, the server may set a flag=false (False indicates that the countdown is not displayed) indicating whether the countdown is displayed. When it is judged that the countdown is displayed, a flag=true (True represents the display countdown) of whether the countdown is displayed is set; and after judging that the countdown is not 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 according to whether to display the countdown flag or not, and sends a bill.
In the embodiment of the invention, after the bill of lading request is responded by the first driver, reasonable countdown time length is calculated according to the current supply and demand characteristics, the preference characteristics of passengers and the like, and the bill forming rate is taken as a target, so that the passenger experience and the capacity efficiency of merchants are comprehensively considered, and the bill of lading bill is friendly to the user experience and fully utilized to the capacity efficiency. The platform decision can strive for longer waiting time for the user on the demand side, and can further introduce drivers to participate in competition on the supply side, and the platform decision is preferred among service providers.
Referring to fig. 4, a block diagram of a countdown display 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 of lading 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 status;
The calculating module 403 is configured to calculate a countdown duration of the display according to the current supply and demand characteristics and the preference characteristics such as the historical wish of the passenger after the judging module judges that the countdown is displayed;
and the sending module 404 is 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 a server.
As shown in fig. 5, the countdown display may include the following modules:
The detection module 501 is configured to detect a current supply and demand state after a passenger bill of lading request sent by a client is responded for the first time;
the judging module 502 is configured to judge whether to display countdown according to the supply and demand state;
a calculating module 503, configured to calculate a countdown duration of the display according to the current supply and demand characteristics and the preference characteristics such as the historical wish of the passenger after the judging module judges that the countdown is displayed;
And 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 and the like as input of a pre-trained duration estimation model, and use output of the duration estimation model as the countdown duration; the time length estimation model is trained according to a plurality of first sample data, wherein the first sample data comprises sample current supply and demand characteristics corresponding to a sample bill, sample passenger historical wish and other preference characteristics, and labeling information of actual waiting time length of the sample bill.
Optionally, the apparatus further comprises: a correction module 505, configured to correct, after the calculation module calculates the displayed countdown duration, the countdown duration to the minimum duration when the countdown duration is less than a preset minimum duration; and when the countdown time length is longer than a preset maximum time length, correcting the countdown time length to the maximum time length.
Optionally, the bill of lading request includes a start location; the detection module 501 includes: a number obtaining unit 5011, configured to obtain a receipt amount and a bill amount in a recent preset duration within a preset area range centered on the start point position; a probability calculation unit 5012 for calculating the ratio of the receipt amount to the bill of lading amount as the current response rate; a state determining unit 5013, configured to determine that the current supply and demand state is poor supply and demand if the response rate is less than a first preset threshold; otherwise, determining the current supply and demand state as good supply and demand.
Optionally, the supply and demand state includes supply and demand failure and supply and demand good; the judging module 502 is specifically configured to determine not to display countdown when the supply and demand state is a supply and demand failure; and when the supply and demand state is that the supply and demand is good, determining to display the countdown.
Optionally, the sending module 504 includes: a first sending unit 5041, configured to send a countdown display instruction carrying the countdown duration to the client when the countdown duration calculation is successful; and the second sending unit 5042 is configured to send a countdown display 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 judging module judges that the countdown is not displayed; the first dispatch module 507 is configured to dispatch a dispatch for a target driver with only one driver responding to the bill of lading request, where the driver is the target driver; and the second dispatch module 508 is configured to calculate weight values of each driver respectively when a plurality of drivers respond to the bill of lading request, and match the plurality of drivers to obtain a target driver by using a bipartite graph maximum weight matching mode based on the weight values of each driver, so as to dispatch the target driver.
In the embodiment of the invention, after the passenger bill of lading request sent by the client is responded for the first time, the server can judge whether to display countdown based on the current supply and demand state, and calculate the countdown duration of display according to the current supply and demand characteristics and the historical wish of the passenger under the condition that the countdown is judged to be displayed. Because the current supply and demand factors and the factors of whether passengers are willing to wait or not are considered, the calculated countdown time length is more reasonable and more accurate.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
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 stored thereon, such as an application. The instructions, when executed by the one or more processors, cause the processors to perform the method described above.
In an embodiment of the 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 ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that 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 invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus 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 in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The countdown display method, the countdown display device, the electronic equipment and the storage medium provided by the invention are described in detail, and specific examples are applied to illustrate the principle and the implementation mode of the invention, and the description of the above examples is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (9)

1. A countdown display method, which is executed at a server, the method comprising:
Detecting the current supply and demand state after the passenger bill of lading request sent by the client is responded for the first time;
Judging whether to display countdown according to the supply and demand state;
After the display countdown is judged, calculating the display countdown time length according to the current supply and demand characteristics, the historical wish of the passengers and other preference characteristics;
sending a countdown display instruction carrying the countdown duration to the client;
the calculating the displayed countdown time length according to the current supply and demand characteristics, the historical wish of the passengers and other preference characteristics comprises the following steps:
taking the current supply and demand characteristics and the historical wish preference characteristics as inputs of a pre-trained duration estimation model, and taking the output of the duration estimation model as the countdown duration;
The time length estimation model is trained according to a plurality of first sample data, wherein the first sample data comprises sample current supply and demand characteristics corresponding to a sample bill, sample passenger historical wish and other preference characteristics, and labeling information of actual waiting time length of the sample bill.
2. The method of claim 1, further comprising, after said calculating the displayed countdown period:
When the countdown time length is smaller than a preset minimum time length, correcting the countdown time length to be the minimum time length;
and when the countdown time length is longer than a preset maximum time length, correcting the countdown time length to the maximum time length.
3. The method of claim 1, wherein the bill of lading request includes a start location; the detecting the current supply and demand state includes:
acquiring the receipt quantity and the bill quantity in the latest preset time length in a preset area range taking the starting point position as the center;
Calculating the ratio of the receipt quantity to the bill of lading 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.
4. A method according to claim 1 or 3, wherein the supply-demand status includes supply-demand deficiency and supply-demand deficiency; judging whether to display countdown according to the supply and demand state, including: when the supply and demand state is poor supply and demand, determining not to display countdown;
and when the supply and demand state is that the supply and demand is good, determining to display the countdown.
5. The method of claim 1, wherein the sending a countdown presentation instruction to the client carrying the countdown duration comprises:
When the countdown time length calculation is successful, sending a countdown display instruction carrying the countdown time length to the client;
And when the countdown time length calculation fails, sending a countdown display instruction carrying a preset default countdown time length to the client.
6. The method of claim 1, further comprising, after said determining whether to exhibit a countdown:
after judging that the countdown is not displayed, acquiring the number of drivers responding to the bill of lading request;
Taking the driver as a target driver under the condition that only one driver responds to the bill of lading request, and dispatching the target driver;
Under the condition that a plurality of drivers respond to the bill of lading request, respectively calculating the weight value of each driver, and based on the weight value of each driver, obtaining a target driver from the plurality of drivers by matching in a bipartite graph maximum weight matching mode, and dispatching the target driver.
7. A countdown display device, for use with a server, the device comprising:
The detection module is used for detecting the current supply and demand state after the passenger bill of lading request sent by the client is responded for the first time;
the judging module is used for judging whether to display countdown according to the supply and demand state;
the calculating module is used for calculating the countdown time length of the display according to the current supply and demand characteristics and the historical wish preference characteristics of the passengers after the judging module judges that the countdown is displayed;
The sending module is used for sending a countdown display instruction carrying the countdown duration to the client;
the calculating the displayed countdown time length according to the current supply and demand characteristics, the historical wish of the passengers and other preference characteristics comprises the following steps:
taking the current supply and demand characteristics and the historical wish preference characteristics as inputs of a pre-trained duration estimation model, and taking the output of the duration estimation model as the countdown duration;
The time length estimation model is trained according to a plurality of first sample data, wherein the first sample data comprises sample current supply and demand characteristics corresponding to a sample bill, sample passenger historical wish and other preference characteristics, and labeling information of actual waiting time length of the sample bill.
8. 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 processor to perform the method of any of claims 1 to 6.
9. A computer readable storage medium, characterized in that a computer program is stored thereon, which program, when being executed by a processor, implements the method according to any of claims 1 to 6.
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 CN112184160A (en) 2021-01-05
CN112184160B true 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
CN112184160A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US10726638B2 (en) Providing autonomous vehicle maintenance
CN113095531A (en) Order dispatching method and device
CN111242333A (en) Network appointment order processing method, system, terminal and server
CN111080048A (en) Order dispatching method and device for reserving order of taxi taking, electronic equipment and storage medium
WO2016074538A1 (en) Sent order ranking system and method for reducing no-load running and waiting time in online taxi renting
CN110570003A (en) Reservation travel order dispatching method and device based on idle travel vehicle
CN108399460B (en) Network taxi booking order distribution processing method and server
CN111784088A (en) Order matching method, order matching device, server and storage medium
CN112819976A (en) Parking lot control method and device
CN110852464A (en) Reservation list interlinked dispatching method and device based on real-time single-stroke vehicle
CN111815096A (en) Shared automobile delivery method, electronic device and storage medium
CN109284842B (en) Online taxi appointment order information processing method, processing system and computer device
CN112184160B (en) Countdown display method and device, electronic equipment and storage medium
CN109493168B (en) Method, device and equipment for processing order and storage medium
CN114491311A (en) Intelligent car washing control method, device and equipment and computer readable storage medium
CN104809527B (en) The order automatic selecting method that a kind of mobile phone is called a taxi
CN111178558B (en) Network appointment order processing method and device, computer equipment and readable storage medium
EP4115363A1 (en) Coordinating trips by vehicles in an on-demand environment
CN112714101A (en) Boarding identification method and device, electronic equipment and storage medium
CN114937352B (en) Intelligent scheduling method and system suitable for fleet cloud service
CN110956733A (en) Method and system for reminding of transacting business
CN110853333A (en) Reservation order dispatching method and device based on real-time single-stroke vehicle
CN110570100A (en) Real-time 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
CN112184161B (en) Countdown display method and device, electronic equipment 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