Order processing method and device
By receiving and processing requests for additional fees for drivers and passengers in online ride-hailing platforms, the problem of unreasonable additional fees in the existing technology is solved, and the additional fees are negotiated and reasonable inclusion is realized, and the user experience is improved.
Patent Information
- Application Number
- CN202310520243.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-09
- Publication Date
- 2024-11-12
AI Technical Summary
The prior art is difficult to reasonably handle the additional costs caused by passengers’ additional needs in online ride-hailing, resulting in drivers and passengers’ expectations inconsistent, and existing solutions such as recalculating fares or platform guidance prices are irrational and complex.
By receiving requests and confirmation responses for additional fees between the driver and passenger, the computer program counts additional fees into the ride fee, ensuring that the fees are reasonably calculated and included in the total fee after consultation by the driver and passenger.
The additional fee negotiation between the driver and the passenger is realized, the rationality of the additional fee collection is improved, the needs of both parties are met, and the contradictions caused by price uncertainty in the existing technology are avoided.
Smart Images

Figure CN118941342A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet technology, and in particular to an order processing method and device. Background Art
[0002] With the development of Internet technology, online ride-hailing services based on Internet technology are increasingly used in people's daily lives, bringing great convenience to users. In some scenarios, in order to obtain more labor remuneration, drivers will send passengers to their destination as quickly as possible in order to take the next order. However, if passengers ask for additional requests such as taking a detour or waiting for someone, drivers will resist, which can easily lead to conflicts between drivers and passengers.
[0003] In the prior art, the fees incurred by the additional demands are generally charged to passengers by recalculating the fare or by the platform determining the surcharge. However, the surcharges determined by these two methods are not reasonable enough and it is difficult to meet the expectations of both passengers and drivers at the same time. Summary of the invention
[0004] In view of this, the purpose of the embodiments of the present invention is to provide an order processing method and device, which can obtain additional fees negotiated by the driver and passengers, while meeting the needs of the driver and passengers and improving the rationality of charging additional fees.
[0005] In a first aspect, an embodiment of the present invention provides an order processing method, applicable to a server, the method comprising:
[0006] receiving an application request sent by the first terminal, wherein the application request includes an additional fee;
[0007] sending a confirmation request to the second terminal, the confirmation request including the additional fee; and
[0008] In response to receiving the confirmation response sent by the second terminal, the additional fee is included in the fare.
[0009] In a second aspect, an embodiment of the present invention provides an order processing method, applicable to a first terminal, the method comprising:
[0010] Obtain additional fees entered by the user; and
[0011] An application request is generated according to the additional fee and sent to a server, wherein the application request includes the additional fee, so that the server includes the additional fee in the fare after confirming the additional fee with the second terminal according to the application request.
[0012] In a third aspect, an embodiment of the present invention provides an order processing device, applicable to a server, the device comprising:
[0013] An application request receiving unit, configured to receive an application request sent by the first terminal, wherein the application request includes an additional fee;
[0014] a confirmation request sending unit, configured to send a confirmation request to the second terminal, wherein the confirmation request includes the additional fee; and
[0015] The fare generating unit is configured to include the additional fee in the fare in response to receiving a confirmation response sent by the second terminal.
[0016] In a fourth aspect, an embodiment of the present invention provides an order processing method, applicable to a first terminal, the device comprising:
[0017] an additional fee acquisition unit, used to acquire the additional fee input by the user; and
[0018] The application request sending unit is used to generate an application request according to the additional fee and send it to the server, wherein the application request includes the additional fee, so that the server confirms the additional fee with the second terminal according to the application request and then includes the additional fee in the fare.
[0019] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method described in the first aspect and the second aspect.
[0020] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer program instructions, wherein the computer program instructions, when executed by a processor, implement the method described in the first aspect and the second aspect.
[0021] The technical solution of the embodiment of the present invention receives an application request for additional fees sent by a first terminal, sends a confirmation request to a second terminal, and in response to receiving a confirmation response sent by the second terminal, includes the additional fees in the fare. In this way, the additional fees negotiated by the driver and the passenger can be obtained, while meeting the needs of the driver and the passenger, and improving the rationality of the additional fee collection. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0023] Figure 1 is a schematic diagram of an order processing system according to an embodiment of the present invention;
[0024] Figure 2 is a schematic diagram of an order processing system according to another embodiment of the present invention;
[0025] Figure 3 is a flow chart of an information interaction method according to an embodiment of the present invention;
[0026] Figure 4 is a schematic diagram of a navigation interface of an embodiment of the present invention;
[0027] Figure 5 is a schematic diagram of a second interface of an embodiment of the present invention;
[0028] Figure 6 is a schematic diagram of a third interface of an embodiment of the present invention;
[0029] Figure 7 is a schematic diagram of a first interface of an embodiment of the present invention;
[0030] Figure 8 is a flow chart of an order processing method of a server according to an embodiment of the present invention;
[0031] Fig. 9 is a flow chart of an order processing method of a first terminal according to an embodiment of the present invention;
[0032] Fig.10 is a schematic diagram of an order processing device of a server according to an embodiment of the present invention;
[0033] Fig.11 is a schematic diagram of an order processing device of a first terminal according to an embodiment of the present invention;
[0034] Fig.12 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, flows, components and circuits are not described in detail.
[0036] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.
[0037] Unless the context clearly requires otherwise, words such as “include”, “including” and the like in the specification should be interpreted as including rather than being exclusive or exhaustive; that is, as meaning “including but not limited to”.
[0038] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0039] The charges for online car-hailing are generally divided into two methods: real-time pricing and fixed price. Among them, fixed price means that the order amount is the same as the final fare when the driver accepts the order. Real-time pricing means that the final fare is calculated in real time with factors such as time and mileage. Under the fixed price pricing model, since the driver's income is fixed, in order to obtain more labor remuneration, the driver will send the passenger to the destination as soon as possible in order to take the next order. At this time, if the passenger proposes additional demands such as detours and waiting for people, the driver will be resistant, which is easy to cause conflicts between the driver and the passenger, and then cause the passenger to enter the line. Through the analysis of actual orders, among the orders with "insults", about 15% are due to the "fixed price mechanism", and among the orders with "passenger abandonment", about 20% are due to the "fixed price mechanism".
[0040] In the prior art, the fees for the additional demands are generally charged to passengers by recalculating the fares or by the platform determining the surcharge. There are two ways to recalculate the fares.
[0041] The first way to recalculate fares is to set a threshold. When the extra time or distance paid by the driver exceeds the threshold, the fare is recalculated when the order is completed. However, this method has a threshold limit. Not all additional demands will trigger the threshold. When it is not triggered, it will inevitably cause additional drivers to enter the line, affecting the driver experience. In addition, the cost of education is high. It is difficult to explain the overflow logic to drivers and passengers in plain language during public announcements, and it is also difficult to control the clarity of the explanation.
[0042] The second way to recalculate the fare is to change the fixed price to real-time pricing after negotiation between the driver and the passenger. When the driver and the passenger reach an agreement, they can confirm through interaction on the client. When the order is completed, the fare will be recalculated based on the actual mileage and duration. However, the final real-time pricing in this way lacks price certainty. Until the moment the order is completed, the driver and the passenger do not know what the final fare is, and the perception of the price throughout the process is a black box. Even if the fare is eventually recalculated, the final price may not meet the expectations of the driver and the passenger, because the price will take into account a variety of supply and demand factors. For example, the driver may pay more but the price is still cheaper, or the passenger's small demand may be much more expensive, which will cause the driver and the passenger to enter the line.
[0043] Platform guidance refers to the platform giving guidance prices based on passenger needs. The platform gives guidance prices based on some mainstream additional needs, for example: the surcharge for driving 200 meters forward is 3 yuan, and the surcharge for staying in place for 10 minutes is 5 yuan. However, the guidance price rules determined in this way are difficult to clarify. Passengers need to have a general understanding of their needs and how much time or mileage the driver will spend. This places certain requirements on passengers. At the same time, different drivers and passengers have different perceptions of prices at different times. The higher guidance given by the platform may not meet the perception of all users, which may cause inbound calls.
[0044] Therefore, the embodiment of the present invention provides an order processing method to solve the above-mentioned problems.
[0045] Figure 1 FIG. 1 is a schematic diagram of an order processing system according to an embodiment of the present invention. Figure 1 In the illustrated embodiment, the order processing system comprises a server 1, a first terminal 2 and a second terminal 3. The first terminal 2 and the second terminal 3 are in communication connection with the server 1.
[0046] In this embodiment, one of the first terminal 2 and the second terminal 3 is a user terminal, and the other is a driver terminal.
[0047] The user terminal is a terminal device used by the taxi user, and the order can be placed through APP (application), webpage, mini program, etc. The user terminal can be implemented through terminal devices such as mobile phones, tablet computers, laptops, desktop computers, etc.
[0048] The driver terminal is a terminal device used by the driver, which can process orders through APP (application), web pages, mini-programs, etc., for example, grabbing orders, accepting orders, canceling orders, etc. Among them, the driver terminal can be implemented through terminal devices such as mobile phones, tablets, and vehicle-mounted terminals.
[0049] In this embodiment, the server 1 is a platform server, which can be implemented by a single server or a server cluster consisting of multiple servers.
[0050] Figure 2 FIG. 1 is a schematic diagram of an order processing system according to another embodiment of the present invention. Figure 2 In the illustrated embodiment, the order processing system comprises a server 1, a first terminal 2 and a second terminal 3. The first terminal 2 and the second terminal 3 are in communication connection with the server 1.
[0051] The server 1 includes a management and control module 11 , a pricing module 12 , a verification module 13 and an interactive rendering module 14 .
[0052] The embodiment of the present invention is described by taking the first terminal 2 as a driver terminal and the second terminal 3 as a passenger terminal as an example.
[0053] The control module 11 is used to control the display of the entrance to the surcharge function, control the opening of the surcharge function in the city dimension, and the frequency limit in the user dimension. At the same time, when the driver initiates the collection of surcharges, it is responsible for verifying the legitimacy of the request. Among them, the legitimacy verification includes signature verification and amount verification. The signature verification is to prevent forged front-end requests, and the amount verification is to prevent abnormal surcharge collection such as extremely large amounts.
[0054] With regard to controlling the display of the additional fee function entrance, the management and control module 11 determines the display judgment result of the additional fee function entrance according to the predetermined display conditions, and in response to the display judgment result being to display the additional fee function entrance, sends an additional fee application response to the first terminal to trigger the first terminal to display the additional fee application control. Thus, when a passenger makes additional demands, the driver can apply for additional fees through the additional fee application control. Among them, the predetermined display conditions include location conditions and / or frequency conditions for the driver to initiate additional fee applications. The location condition is that the city where the driver's current location is located is a city open for additional fees, that is, the opening of the additional fee function is controlled in terms of the city dimension.
[0055] The frequency condition for the driver to initiate an additional fee application includes at least one of the following:
[0056] The number of times the driver initiates additional fee applications on the day is less than or equal to the first threshold. By setting the first threshold, the number of times the driver initiates additional fee applications can be set to prevent the driver from taking advantage of the passengers' sympathy to initiate additional fee applications indefinitely. For example, the first threshold can be set to 5, that is, the driver can only initiate 5 additional fee applications a day.
[0057] The number of times the driver's additional fee application is rejected by the passenger after the driver initiates the additional fee application on the same day is less than or equal to the second threshold. By setting the second threshold, the number of times the driver's additional fee application is rejected can be set to avoid the driver from initiating additional fee applications multiple times. For example, the second threshold can be set to 2, that is, the driver can only be rejected twice a day. After being rejected twice, the driver can no longer initiate additional fee applications.
[0058] The number of times the additional fee application is completed for the current order is less than or equal to the third threshold, where the additional fee application is completed when the driver initiates the additional fee application and the passenger agrees. Thus, by setting the third threshold, it is possible to prevent the driver from initiating additional fee applications for the same order multiple times. For example, the third threshold can be set to 1, so that the driver can only initiate one additional fee application for each order.
[0059] It should be understood that the frequency conditions for the driver to initiate an additional fee application given above are only a few examples provided in the embodiments of the present invention. The embodiments of the present invention do not limit the restriction conditions and can be set accordingly according to actual conditions. At the same time, the embodiments of the present invention do not limit the setting numbers of the first threshold, the second threshold and the third threshold provided above, and they can be set to any value.
[0060] Regarding the legitimacy of the verification request, when the management and control module 11 receives the additional fee application request, the additional fee application request is verified. Specifically, the additional fee application request can be verified based on at least one of the driver information, the format of the additional fee application request, and the additional fee. Among them, the verification based on the driver information is to verify whether there is an abnormal situation with the driver, for example, whether the driver has a double opening behavior, etc. The format of the application request is verified to prevent forged front-end requests. For example, the format of the application request can be verified by verifying the suffix of the application request. The additional fees are verified to check whether the additional fees meet the conditions, for example, whether the additional fees are within a reasonable range.
[0061] The pricing module 12 includes a rule submodule 121, an additional fee recording submodule 122, and an additional fee processing submodule 123.
[0062] The rule submodule 121 is used to formulate rules for the surcharge function, including optional steps for surcharges and a limit range for surcharges, etc. Among them, the optional steps for surcharges include pre-set optional amounts, so that there is no need to manually enter a value, and you can directly select it. For example, the optional steps for surcharges can be set to 1 yuan, 3 yuan, 5 yuan, etc. The limit range for surcharges includes the upper and lower limits of the surcharges, etc. For example, the lower limit can be set to 0.5 yuan and the upper limit to 30 yuan, thereby preventing the driver from charging too high surcharges.
[0063] The additional fee recording submodule 122 is used to record the additional fee application receipt from the time the driver initiates the charge to the time the passenger confirms the charge, so that the additional fee can be included in the fare after the subsequent passenger confirms the charge.
[0064] The additional fee processing submodule 123 is responsible for including the additional fee as a fee item in the fare after the passenger confirms the collection of the additional fee, so as to facilitate the subsequent collection of the correct total fee.
[0065] The verification module 13 is used to verify the additional charges. In the embodiment of the present invention, for the additional charges negotiated by the driver and the passenger, the platform will give all or a high proportion of the additional charges to the driver. Therefore, there may be a behavior in which the driver and the passenger jointly pay high additional charges, that is, the fixed charge is relatively low, and the additional charges are relatively high, resulting in platform asset loss. Therefore, this behavior can be reduced through the verification module 13. For example, a fourth threshold value can be set in advance, and the fourth threshold value is the highest ratio of the additional charge to the fixed charge. The ratio of the additional charge to the fixed charge is obtained. In response to the ratio being less than or equal to the fourth threshold value, the additional charge verification passes. In response to the ratio being greater than the fourth threshold value, the additional charge verification fails. For example, the fourth threshold value can be set to 0.5, that is, the additional charge cannot exceed half of the fixed charge. Therefore, even if the additional charge applied by the driver numerically meets the range of the additional charge, it cannot be verified when it exceeds half of the fixed charge.
[0066] The interactive rendering module 14 is responsible for the adaptation and conversion of basic data to the terminal and the front-end display data.
[0067] Specifically, the driver's itinerary page requests the surcharge display interface, and the control module in the interface determines whether to display it to the driver: check whether the city has opened the surcharge function and whether the driver hits the frequency limit, etc. After all conditions are passed, the driver's itinerary page displays the surcharge entrance. After the driver confirms the initiation of the surcharge, the backend request carries the surcharge amount. The platform first determines whether the surcharge request amount is legal through the control module. After the legality check is passed, the record of the surcharge initiation is stored in the business cache as a surcharge ticket, and a confirmation request is sent to the passenger side through a long link; after the passenger side receives the confirmation request, it displays the surcharge collection confirmation pop-up window. If the passenger clicks to agree, the platform receives the corresponding request, takes out the previously stored surcharge ticket from the cache, and calls the interface to include the surcharge as a separate fee item in the fare, ensuring that the relevant fees are added to the driver and passenger fees at the same time. After the subsequent order is completed, when the passenger pays, the passenger charges the correct total fee, and the driver's income is also increased by the surcharge.
[0068] Figure 3 is a flow chart of the information interaction method according to an embodiment of the present invention. Figure 3 In the illustrated embodiment, the information interaction method comprises the following steps:
[0069] Step S101: The server determines a fixed fee.
[0070] In this embodiment, the server determines a fixed fee for the passenger's trip.
[0071] Specifically, when a passenger needs to take a taxi, he or she enters the corresponding itinerary information in the taxi interface through the user terminal's APP (application), web page, mini-program, etc. and sends it to the server. The itinerary information includes information such as the departure place, destination, and service type. Among them, the service type can be real-time pricing or a fixed price. When the service type is a fixed price, the server determines the fixed fee based on the itinerary information.
[0072] Step S102: The server obtains a display judgment result of the additional fee function entrance.
[0073] In this embodiment, the server determines the display judgment result of the additional fee function entrance according to the predetermined display conditions, wherein the display conditions of the additional fee function entrance include the location condition and / or the frequency condition of the driver initiating the additional fee application.
[0074] The location condition is that the city where the driver is currently located is a city open to additional charges. The frequency condition for the driver to initiate additional charge applications includes at least one of the following: the number of times the driver initiates additional charge applications on the day is less than or equal to a first threshold; the number of times the driver's additional charge applications are rejected by passengers after initiating additional charge applications on the day is less than or equal to a second threshold; the number of times the additional charge applications are completed for the current order is less than or equal to a third threshold, and the completion of the additional charge application means that the driver initiates the additional charge application and the passenger agrees.
[0075] When the passenger makes additional demands, the driver can apply for additional fees through the additional fee application control. The display conditions of the additional fee function entrance include location conditions and / or the frequency conditions of the driver initiating additional fee applications. The location condition is that the city where the driver is currently located is a city open to additional fees, that is, the opening of the additional fee function is controlled based on the city dimension.
[0076] The frequency condition for the driver to initiate an additional fee application includes at least one of the following:
[0077] The number of times the driver initiates additional fee applications on the day is less than or equal to the first threshold. By setting the first threshold, the number of times the driver initiates additional fee applications can be set to prevent the driver from taking advantage of the passengers' sympathy to initiate additional fee applications indefinitely. For example, the first threshold can be set to 5, that is, the driver can only initiate 5 additional fee applications a day.
[0078] The number of times the driver's additional fee application is rejected by the passenger after the driver initiates the additional fee application on the same day is less than or equal to the second threshold. By setting the second threshold, the number of times the driver's additional fee application is rejected can be set to avoid the driver from initiating additional fee applications multiple times. For example, the second threshold can be set to 2, that is, the driver can only be rejected twice a day. After being rejected twice, the driver can no longer initiate additional fee applications.
[0079] The number of times the additional fee application is completed for the current order is less than or equal to the third threshold, where the additional fee application is completed when the driver initiates the additional fee application and the passenger agrees. Thus, by setting the third threshold, it is possible to prevent the driver from initiating additional fee applications for the same order multiple times. For example, the third threshold can be set to 1, so that the driver can only initiate one additional fee application for each order.
[0080] It should be noted that when the display conditions of the additional fee function entrance include both the location condition and the frequency condition of the driver initiating the additional fee application, both conditions need to be met at the same time to indicate a match.
[0081] In response to the display judgment result of the additional fee function entrance being that the additional fee function entrance is displayed, the process goes to step S103.
[0082] In response to the display judgment result of the additional fee function entrance being that the additional fee function entrance is not displayed, the process ends, and the driver cannot charge additional fees at this time.
[0083] Step S103: The server sends an additional fee application response to the first terminal.
[0084] In this embodiment, in response to the display judgment result of the additional fee function entrance being to display the additional fee function entrance, the server sends an additional fee application response to the first terminal to trigger the first terminal to display an additional fee application control on the second interface.
[0085] Step S104: The first terminal displays an additional fee application control on the second interface.
[0086] In this embodiment, after receiving the additional fee application response, the first terminal displays an additional fee application control on the second interface.
[0087] Specifically, Figure 4 is a schematic diagram of a navigation interface of a first terminal according to an embodiment of the present invention. Figure 4 In the illustrated embodiment, Q41 is the starting point, Q42 is the end point, Q43 is the route, Q44 is the operating area, and Q45 is the navigation area.
[0088] Among them, the starting point Q41, the end point Q42 and the route Q43 are displayed on the map.
[0089] The navigation of this trip is started by triggering the "Start Navigation" control in the navigation area Q45. The navigation area Q45 also includes information such as the destination information, the trip distance, and the driving time.
[0090] The operation area Q44 includes a "more operations" control, a passenger's last number, starting point information, end point information, a "contact" control, etc. The second interface can be entered by triggering the "more operations" control.
[0091] Figure 5 is a schematic diagram of a second interface of a first terminal according to an embodiment of the present invention. Figure 5 In the illustrated embodiment, the second interface includes an information display area Q51, an additional fee initiation area Q52, and a "return" control for returning to the previous interface.
[0092] Among them, the information display area Q51 includes the passenger's last digit, starting point information, destination information, "Contact" control, fixed fee, "Cancel trip" control, "Contact customer service" control and "Alarm" control, etc.
[0093] The additional fee initiation area Q52 includes the additional fee related description and the additional fee application control. Among them, the additional fee application control is the "initiate service" control in the figure. The additional fee related description can be "the passenger has additional requirements", "additional fees can be obtained after driving according to the passenger's requirements" and other related descriptions.
[0094] Therefore, when the passenger has additional demands and agrees on the price with the driver, the driver can execute the subsequent process by triggering the "Initiate Service" control.
[0095] It should be noted that, in response to the display judgment result of the additional fee function entrance being not to display the additional fee function entrance, the second interface does not include the additional fee initiation area Q52; or, the second interface includes the additional fee initiation area Q52, but the additional fee initiation area Q52 does not include an "Initiate Service" control; or, the second interface includes the additional fee initiation area Q52, and the additional fee initiation area Q52 includes an "Initiate Service" control, but the "Initiate Service" control is set to be untriggerable.
[0096] Step S105: The first terminal displays the third interface.
[0097] In this embodiment, when the additional fee application control is triggered, the first terminal jumps to the third interface. The third interface includes the additional fee restriction condition, and the additional fee restriction condition includes at least one of an additional fee optional ladder and an additional fee restriction interval.
[0098] In an optional implementation, when the additional fee application control is triggered, the first terminal sends a trigger response of the additional fee application control to the server. In response to receiving the trigger response of the additional fee application control sent by the first terminal, the server sends an additional fee restriction condition to the first terminal to trigger the first terminal to display a third interface. The third interface includes the additional fee restriction condition, and the additional fee restriction condition includes at least one of an additional fee optional step and an additional fee restriction range.
[0099] In another optional implementation, the additional fee application response includes additional fee restriction conditions, so that a third interface is displayed on the first terminal after the additional fee application control is triggered, and the third interface includes the additional fee restriction conditions, and the additional fee restriction conditions include at least one of an additional fee optional step and an additional fee restriction range.
[0100] Figure 6 is a schematic diagram of the third interface of an embodiment of the present invention. Figure 6 In the embodiment shown, area Q61 is the description of the additional fee, and area Q62 is the input area of the additional fee. Among them, "1 yuan", "3 yuan", and "5 yuan" in the figure are optional steps for the additional fee, which can be set according to the specific situation. At the same time, the driver can also enter the corresponding amount in the price input box, and there are relevant prompts about the additional fee limit range in or around the price input box, such as "Please enter an amount of 0-50 yuan" in the figure.
[0101] Step S106: The first terminal obtains additional fees.
[0102] In this embodiment, the first terminal obtains the additional fee through the third interface.
[0103] Step S107: The first terminal sends an additional fee application request to the server.
[0104] In this embodiment, after the driver selects or enters the price through the third interface, he clicks "Confirm and Send", and the first terminal generates an application request and sends it to the server, wherein the application request includes the additional fee.
[0105] Step S108: The server verifies the application request.
[0106] In this embodiment, the verifying of the application request specifically includes: verifying the application request according to at least one of the driver information, the format of the application request and the additional fee.
[0107] Among them, the verification based on the driver information is to verify whether the driver has a situation, for example, whether the driver has a double opening behavior.
[0108] The purpose of verifying the format of the additional fee application request is to prevent forged front-end requests. For example, the format of the additional fee application request can be verified by verifying the suffix of the additional fee application request.
[0109] The purpose of checking the additional charges is to verify whether the additional charges meet the conditions, for example, whether the additional charges are within a reasonable range.
[0110] Furthermore, the verification of the additional fee is specifically as follows: obtaining the ratio of the additional fee to the fixed fee, and in response to the ratio being less than or equal to a fourth threshold, determining that the application request has passed the verification; and in response to the ratio being greater than the fourth threshold, determining that the application request has failed the verification.
[0111] Because in the embodiment of the present invention, for the additional fees negotiated by the driver and the passenger, the platform will give all or a high proportion of the additional fees to the driver, that is, there is a situation where the fixed fee is relatively low and the additional fee is relatively high, resulting in platform asset loss, therefore, a fourth threshold value can be pre-set, the fourth threshold value is the highest ratio of the additional fee to the fixed fee, and the ratio of the additional fee to the fixed fee is obtained, in response to the ratio being less than or equal to the fourth threshold value, the additional fee verification passes, and in response to the ratio being greater than the fourth threshold value, the additional fee verification fails. For example, the fourth threshold value can be set to 0.5, that is, the additional fee cannot exceed half of the fixed fee, therefore, even if the additional fee applied by the driver meets the additional fee range in terms of value, it cannot pass the verification when it exceeds half of the fixed fee.
[0112] In response to the verification being passed, the process proceeds to step S109.
[0113] In response to the verification failing, the process ends and a notification of failure of the additional fee application and information such as the failure reason are sent to the first terminal.
[0114] Step S109: The server sends a confirmation request to the second terminal.
[0115] In this embodiment, in response to successful verification of the additional fee application request, the server sends a confirmation request to the second terminal, where the confirmation request includes the additional fee.
[0116] Step S110: The second terminal displays the first interface.
[0117] In this embodiment, after receiving the confirmation request, the second terminal displays a first interface, where the first interface includes the additional fee and an additional fee confirmation control.
[0118] Specifically, Figure 7 is a schematic diagram of the first interface of an embodiment of the present invention. Figure 7As shown, the first interface includes areas Q71 and Q72. Q71 is a description of the additional charges, such as "Based on the additional requirements you proposed, the driver has negotiated additional charges with you, please confirm:". Q72 includes additional charges and selection controls, wherein the selection controls include a rejection control and an additional charge confirmation control.
[0119] Step S111: The second terminal sends a confirmation message.
[0120] In this embodiment, when the passenger triggers the additional fee confirmation control, the second terminal sends a confirmation message to the server.
[0121] Step S112: The server includes the additional fee in the fare.
[0122] In this embodiment, the server includes the additional fee in the fare in response to receiving the confirmation information sent by the second terminal.
[0123] Specifically, the server stores the additional fee in response to receiving an additional fee application request sent by the first terminal, and obtains the additional fee from the stored data and includes the additional fee in the fare in response to receiving a confirmation response sent by the second terminal.
[0124] In some embodiments, in response to order completion, the driver's income is determined based on the additional fee and the fixed fee, and the driver's income is the sum of a predetermined proportion of the fixed fee and the additional fee.
[0125] The embodiment of the present invention receives an application request for additional fees sent by a first terminal, sends a confirmation request to a second terminal, and in response to receiving a confirmation response sent by the second terminal, includes the additional fees in the fare. In this way, the additional fees negotiated by the driver and the passenger can be obtained, while meeting the needs of the driver and the passenger, and improving the rationality of the additional fee collection.
[0126] Figure 8 1 is a flow chart of an order processing method of a server according to an embodiment of the present invention. Figure 8 In the illustrated embodiment, the order processing method of the server includes the following steps:
[0127] Step S810: Receive an application request sent by the first terminal, where the application request includes an additional fee.
[0128] Step S820: Send a confirmation request to the second terminal, where the confirmation request includes the additional fee.
[0129] Step S830: In response to receiving a confirmation response sent by the second terminal, the additional fee is included in the fare.
[0130] In some embodiments, one of the first terminal and the second terminal is a driver terminal and the other is a passenger terminal.
[0131] In some embodiments, the method further comprises:
[0132] Determining a display judgment result of the additional fee function entrance according to a predetermined display condition; and
[0133] In response to the display judgment result being displaying an additional fee function entry, an additional fee application response is sent to the first terminal to trigger the first terminal to display an additional fee application control.
[0134] In some embodiments, the predetermined display conditions include location conditions and / or frequency conditions of the driver initiating additional fee applications.
[0135] In some embodiments, the location condition is that the city where the driver is currently located is a city open to additional charges;
[0136] The frequency condition for the driver to initiate an additional fee application includes at least one of the following:
[0137] The number of times the driver initiates additional fee applications on the day is less than or equal to the first threshold;
[0138] The number of times the driver's additional fee application is rejected by passengers on the same day is less than or equal to the second threshold;
[0139] The number of times that the additional fee application is completed for the current order is less than or equal to the third threshold, where the additional fee application is completed when the driver initiates the additional fee application and the passenger agrees.
[0140] In some embodiments, the additional fee is included in the ride fare as follows:
[0141] The application request is verified based on at least one of driver information, a format of the application request, and additional fees.
[0142] In some embodiments, verifying the application request based on the additional fee includes:
[0143] Obtaining a ratio of the additional fee to the fixed fee;
[0144] In response to the ratio being less than or equal to a fourth threshold, determining that the application request has passed verification; and
[0145] In response to the ratio being greater than a fourth threshold, it is determined that the application request verification fails.
[0146] In some embodiments, the additional fee application response includes additional fee restriction conditions, and the additional fee restriction conditions include at least one of an additional fee optional step and an additional fee restriction interval.
[0147] In some embodiments, the method further comprises:
[0148] receiving a trigger response of an additional fee application control sent by the first terminal; and
[0149] An additional fee restriction condition is sent to the first terminal, where the additional fee restriction condition includes at least one of an additional fee optional step and an additional fee restriction interval.
[0150] In some embodiments, the method further comprises:
[0151] In response to receiving the additional fee application request sent by the first terminal, storing the additional fee;
[0152] The step of including the additional fee in the fare in response to receiving the confirmation response sent by the second terminal is as follows:
[0153] In response to receiving the confirmation response sent by the second terminal, the additional fee is obtained from the stored data and is included in the ride fare.
[0154] In some embodiments, the adding the additional fee into the ride fare comprises:
[0155] The total fee is determined based on the additional fee and the fixed fee, and the total fee is the fee that the passenger needs to pay.
[0156] In some embodiments, the adding the additional fee into the ride fare further comprises:
[0157] In response to the order being completed, the driver's income is determined based on the additional fee and the fixed fee, and the driver's income is the sum of a predetermined proportion of the fixed fee and the additional fee.
[0158] The embodiment of the present invention receives an application request for additional fees sent by a first terminal, sends a confirmation request to a second terminal, and in response to receiving a confirmation response sent by the second terminal, includes the additional fees in the fare. In this way, the additional fees negotiated by the driver and the passenger can be obtained, while meeting the needs of the driver and the passenger, and improving the rationality of the additional fee collection.
[0159] Fig. 9 is a flow chart of an order processing method of a first terminal according to an embodiment of the present invention. Fig. 9 In the illustrated embodiment, the order processing method of the first terminal includes the following steps:
[0160] Step S910: Obtain the additional fee input by the user.
[0161] Step S920: Generate an application request according to the additional fee and send it to the server, wherein the application request includes the additional fee, so that the server includes the additional fee in the fare after confirming the additional fee with the second terminal according to the application request.
[0162] In some embodiments, one of the first terminal and the second terminal is a driver terminal and the other is a passenger terminal.
[0163] In some embodiments, additional charges for obtaining user input include:
[0164] In response to the additional fee application control being triggered, displaying a third interface; and
[0165] The additional fee is received through the third interface.
[0166] In some embodiments, the method further comprises:
[0167] In response to receiving an additional fee application response sent by the server, a second interface is displayed, and the second interface includes the additional fee application control, wherein the server is used to determine a display judgment result of an additional fee function entrance according to a predetermined display condition, and in response to the display judgment result being to display the additional fee function entrance, an additional fee application response is sent to the first terminal.
[0168] In some embodiments, the additional fee application response includes additional fee restriction conditions, the third interface includes the additional fee restriction conditions, and the additional fee restriction conditions include at least one of an additional fee optional step and an additional fee restriction interval.
[0169] In some embodiments, presenting the third interface includes:
[0170] In response to the additional fee application control being triggered, sending a trigger response of the additional fee application control to a server; and
[0171] In response to receiving the additional fee restriction condition sent by the server, a third interface is displayed, wherein the third interface includes the additional fee restriction condition, and the additional fee restriction condition includes at least one of an additional fee optional step and an additional fee restriction interval.
[0172] The embodiment of the present invention receives an application request for additional fees sent by a first terminal, sends a confirmation request to a second terminal, and in response to receiving a confirmation response sent by the second terminal, includes the additional fees in the fare. In this way, the additional fees negotiated by the driver and the passenger can be obtained, while meeting the needs of the driver and the passenger, and improving the rationality of the additional fee collection.
[0173] Fig.10 Schematic diagram of an order processing device of a server according to an embodiment of the present invention. Fig.10 In the illustrated embodiment, the order processing device of the server includes an application request receiving unit 101, a confirmation request sending unit 102, and a fare generating unit 103. The application request receiving unit 101 is used to receive an application request sent by a first terminal, wherein the application request includes an additional fee. The confirmation request sending unit 102 is used to send a confirmation request to a second terminal, wherein the confirmation request includes the additional fee. The fare generating unit 103 is used to include the additional fee in the fare in response to receiving a confirmation response sent by the second terminal.
[0174] In some embodiments, one of the first terminal and the second terminal is a driver terminal and the other is a passenger terminal.
[0175] In some embodiments, the apparatus further comprises:
[0176] a display judgment result determining unit, configured to determine a display judgment result of an additional fee function entry according to a predetermined display condition; and
[0177] The application response sending unit is used to send an additional fee application response to the first terminal in response to the display judgment result being to display an additional fee function entrance, so as to trigger the first terminal to display an additional fee application control.
[0178] In some embodiments, the predetermined display conditions include location conditions and / or frequency conditions of the driver initiating additional fee applications.
[0179] In some embodiments, the location condition is that the city where the driver is currently located is a city open to additional charges;
[0180] The frequency condition for the driver to initiate an additional fee application includes at least one of the following:
[0181] The number of times the driver initiates additional fee applications on the day is less than or equal to the first threshold;
[0182] The number of times the driver's additional fee application is rejected by passengers on the same day is less than or equal to the second threshold;
[0183] The number of times that the additional fee application is completed for the current order is less than or equal to the third threshold, where the additional fee application is completed when the driver initiates the additional fee application and the passenger agrees.
[0184] In some embodiments, the fare generating unit is specifically used to:
[0185] The application request is verified based on at least one of driver information, a format of the application request, and additional fees.
[0186] In some embodiments, the fare generating unit includes:
[0187] A ratio acquisition subunit, used to acquire the ratio of the additional fee to the fixed fee;
[0188] A first verification subunit, configured to determine that the application request verification has passed in response to the ratio being less than or equal to a fourth threshold; and
[0189] The second verification subunit is used to determine that the application request verification fails in response to the ratio being greater than a fourth threshold.
[0190] In some embodiments, the additional fee application response includes additional fee restriction conditions, and the additional fee restriction conditions include at least one of an additional fee optional step and an additional fee restriction interval.
[0191] In some embodiments, the apparatus further comprises:
[0192] a trigger response receiving unit, configured to receive a trigger response of an additional fee application control sent by the first terminal; and
[0193] The restriction condition sending unit is used to send an additional fee restriction condition to the first terminal, where the additional fee restriction condition includes at least one of an additional fee optional step and an additional fee restriction interval.
[0194] In some embodiments, the apparatus further comprises:
[0195] an additional fee storage unit, configured to store the additional fee in response to receiving the additional fee application request sent by the first terminal;
[0196] The fare generating unit is specifically used for:
[0197] In response to receiving the confirmation response sent by the second terminal, the additional fee is obtained from the stored data and is included in the ride fare.
[0198] In some embodiments, the fare generating unit includes:
[0199] The total fee determination unit is used to determine the total fee according to the additional fee and the fixed fee, and the total fee is the fee that the passenger needs to pay.
[0200] In some embodiments, the fare generating unit further includes:
[0201] A driver income determination unit is used to determine the driver income according to the additional fee and the fixed fee in response to order completion, wherein the driver income is the sum of a predetermined proportion of the fixed fee and the additional fee.
[0202] The embodiment of the present invention receives an application request for additional fees sent by a first terminal, sends a confirmation request to a second terminal, and in response to receiving a confirmation response sent by the second terminal, includes the additional fees in the fare. In this way, the additional fees negotiated by the driver and the passenger can be obtained, while meeting the needs of the driver and the passenger, and improving the rationality of the additional fee collection.
[0203] Fig.11 Schematic diagram of an order processing device of a first terminal according to an embodiment of the present invention. Fig.11 In the illustrated embodiment, the order processing device of the first terminal includes an additional fee acquisition unit 111 and an application request sending unit 112. The additional fee acquisition unit 111 is used to acquire the additional fee input by the user. The application request sending unit 112 is used to generate an application request according to the additional fee and send it to the server, wherein the application request includes the additional fee, so that the server confirms the additional fee with the second terminal according to the application request and then includes the additional fee in the fare.
[0204] In some embodiments, one of the first terminal and the second terminal is a driver terminal and the other is a passenger terminal.
[0205] In some embodiments, the additional fee acquisition unit includes:
[0206] A third interface display subunit, configured to display a third interface in response to the additional fee application control being triggered; and
[0207] The additional fee receiving subunit is used to receive the additional fee through the third interface.
[0208] In some embodiments, the apparatus further comprises:
[0209] The second interface display unit is used to display a second interface in response to receiving an additional fee application response sent by the server, wherein the second interface includes the additional fee application control, wherein the server is used to determine a display judgment result of an additional fee function entrance according to a predetermined display condition, and in response to the display judgment result being to display the additional fee function entrance, send an additional fee application response to the first terminal.
[0210] In some embodiments, the additional fee application response includes additional fee restriction conditions, the third interface includes the additional fee restriction conditions, and the additional fee restriction conditions include at least one of an additional fee optional step and an additional fee restriction interval.
[0211] In some embodiments, the third interface display subunit includes:
[0212] a trigger response sending module, configured to send a trigger response of the additional fee application control to a server in response to the additional fee application control being triggered; and
[0213] The restriction condition receiving module is used to display a third interface in response to receiving the additional fee restriction condition sent by the server, wherein the third interface includes the additional fee restriction condition, and the additional fee restriction condition includes at least one of an additional fee optional step and an additional fee restriction interval.
[0214] The embodiment of the present invention receives an application request for additional fees sent by a first terminal, sends a confirmation request to a second terminal, and in response to receiving a confirmation response sent by the second terminal, includes the additional fees in the fare. In this way, the additional fees negotiated by the driver and the passenger can be obtained, while meeting the needs of the driver and the passenger, and improving the rationality of the additional fee collection.
[0215] Fig.12 is a schematic diagram of an electronic device according to an embodiment of the present invention. Fig.12The electronic device shown is a general data processing device, which includes a general computer hardware structure, which at least includes a processor 41 and a memory 42. The processor 41 and the memory 42 are connected via a bus 43. The memory 42 is suitable for storing instructions or programs executable by the processor 41. The processor 41 can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor 41 executes the instructions stored in the memory 42, thereby executing the method flow of the embodiment of the present invention as described above to realize the processing of data and the control of other devices. The bus 43 connects the above-mentioned multiple components together, and at the same time connects the above-mentioned components to the display controller 44 and the display device and the input / output (I / O) device 45. The input / output (I / O) device 45 can be a mouse, a keyboard, a modem, a network interface, a touch input device, a somatosensory input device, a printer, and other devices known in the art. Typically, the input / output device 45 is connected to the system via an input / output (I / O) controller 46.
[0216] It should be understood by those skilled in the art that the embodiments of the present invention may be provided as methods, devices (equipment) or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0217] The present invention is described with reference to flowcharts of methods, apparatuses (devices) and computer program products according to embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.
[0218] These computer program instructions may be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device that implements the process Figure 1 A function specified in a process or multiple processes.
[0219] These computer program instructions may also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the instructions for implementing the process Figure 1 A device that specifies functions in a process or multiple processes.
[0220] The solutions described in this specification and in the examples, if they involve the processing of personal information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.
[0221] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An order processing method, applicable to a server, characterized in that: The method comprises: receiving an application request sent by the first terminal, wherein the application request includes an additional fee; sending a confirmation request to the second terminal, the confirmation request including the additional fee; and In response to receiving the confirmation response sent by the second terminal, the additional fee is included in the fare.
2. The method according to claim 1, characterized in that One of the first terminal and the second terminal is a driver terminal, and the other is a passenger terminal.
3. The method according to claim 1, characterized in that: The method further comprises: Determining a display judgment result of the additional fee function entrance according to a predetermined display condition; and In response to the display judgment result being displaying an additional fee function entry, an additional fee application response is sent to the first terminal to trigger the first terminal to display an additional fee application control.
4. The method according to claim 3, characterized in that The predetermined display conditions include location conditions and / or frequency conditions of the driver initiating additional fee applications.
5. The method according to claim 4, characterized in that The location condition is that the city where the driver is currently located is a city open to surcharges; The frequency condition for the driver to initiate an additional fee application includes at least one of the following: The number of times the driver initiates additional fee applications on the day is less than or equal to the first threshold; The number of times the driver's additional fee application is rejected by passengers on the same day is less than or equal to the second threshold; The number of times that the additional fee application is completed for the current order is less than or equal to the third threshold, where the additional fee application is completed when the driver initiates the additional fee application and the passenger agrees.
6. The method according to claim 3, characterized in that The specific method of including the additional fee in the fare is: The application request is verified based on at least one of driver information, a format of the application request, and additional fees.
7. The method according to claim 6, characterized in that Verification of the application request according to the additional fee includes: Obtaining a ratio of the additional fee to the fixed fee; In response to the ratio being less than or equal to a fourth threshold, determining that the application request has passed verification; and In response to the ratio being greater than a fourth threshold, it is determined that the application request verification fails.
8. The method according to claim 3, characterized in that The additional fee application response includes additional fee restriction conditions, and the additional fee restriction conditions include at least one of an additional fee optional step and an additional fee restriction interval.
9. The method according to claim 3, characterized in that: The method further comprises: receiving a trigger response of an additional fee application control sent by the first terminal; and An additional fee restriction condition is sent to the first terminal, where the additional fee restriction condition includes at least one of an additional fee optional step and an additional fee restriction interval.
10. The method according to claim 1, characterized in that The method further comprises: In response to receiving the additional fee application request sent by the first terminal, storing the additional fee; The step of including the additional fee in the fare in response to receiving the confirmation response sent by the second terminal is as follows: In response to receiving the confirmation response sent by the second terminal, the additional fee is obtained from the stored data and is included in the ride fare.
11. The method according to claim 1, characterized in that: The inclusion of the additional fees into the fare includes: The total fee is determined based on the additional fee and the fixed fee, and the total fee is the fee that the passenger needs to pay.
12. The method according to claim 11, characterized in that The inclusion of the additional fees into the fare also includes: In response to the order being completed, the driver's income is determined based on the additional fee and the fixed fee, and the driver's income is the sum of a predetermined proportion of the fixed fee and the additional fee.
13. An order processing method, applicable to a first terminal, characterized in that: The method comprises: Obtain additional fees entered by the user; and An application request is generated according to the additional fee and sent to a server, wherein the application request includes the additional fee, so that the server includes the additional fee in the fare after confirming the additional fee with the second terminal according to the application request.
14. The method according to claim 13, characterized in that One of the first terminal and the second terminal is a driver terminal, and the other is a passenger terminal.
15. The method according to claim 13, characterized in that Additional costs for obtaining user input include: In response to the additional fee application control being triggered, displaying a third interface; and The additional fee is received through the third interface.
16. The method according to claim 15, characterized in that The method further comprises: In response to receiving an additional fee application response sent by the server, a second interface is displayed, and the second interface includes the additional fee application control, wherein the server is used to determine a display judgment result of an additional fee function entrance according to a predetermined display condition, and in response to the display judgment result being to display the additional fee function entrance, an additional fee application response is sent to the first terminal.
17. The method according to claim 16, characterized in that The additional fee application response includes additional fee restriction conditions, the third interface includes the additional fee restriction conditions, and the additional fee restriction conditions include at least one of an additional fee optional step and an additional fee restriction interval.
18. The method according to claim 16, characterized in that The display of the third interface includes: In response to the additional fee application control being triggered, sending a trigger response of the additional fee application control to a server; and In response to receiving the additional fee restriction condition sent by the server, a third interface is displayed, wherein the third interface includes the additional fee restriction condition, and the additional fee restriction condition includes at least one of an additional fee optional step and an additional fee restriction interval.
19. An order processing device, suitable for a server, characterized in that: The device comprises: An application request receiving unit, configured to receive an application request sent by the first terminal, wherein the application request includes an additional fee; a confirmation request sending unit, configured to send a confirmation request to the second terminal, wherein the confirmation request includes the additional fee; and The fare generating unit is configured to include the additional fee in the fare in response to receiving a confirmation response sent by the second terminal.
20. An order processing device, applicable to a first terminal, characterized in that: The device comprises: an additional fee acquisition unit, used to acquire the additional fee input by the user; and The application request sending unit is used to generate an application request according to the additional fee and send it to the server, wherein the application request includes the additional fee, so that the server confirms the additional fee with the second terminal according to the application request and then includes the additional fee in the fare.
21. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1-18.
22. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: The computer program instructions, when executed by a processor, implement the method of any one of claims 1-18.
