Candidate method for complementing getting-off coordinate point and address
By automatically detecting and filling the latitude and longitude and address of passengers' departure point, the difficulty in accounting and handling of customer complaints caused by data loss in online car-hailing is solved, and the integrity and accuracy of order data are achieved.
Patent Information
- Application Number
- CN202411476773.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-02-14
AI Technical Summary
In the online car-hailing scenario, due to the driver's App, network signal, or the driver's failure to actively turn on the positioning, the passenger's actual latitude and longitude of the departure point and the address of the departure point are missing, and the order fee cannot be accurately calculated, which affects the customer service to handle customer complaints.
Design a candidate method to complete the coordinate points and addresses of the departures, automatically detect whether the order is missing two items of data, and push a confirmation message to the passenger app when the missing is detected, obtain the passenger's current latitude and longitude data, and update it to the order. .
The number of orders missing two data is greatly reduced, ensuring accurate accounting of order fees and simplifying the subsequent customer service judgment process.
Smart Images

Figure CN119445834A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of online car-hailing, and specifically relates to a candidate method for completing a drop-off coordinate point and an address. Background Art
[0002] In the online car-hailing scenario, the actual latitude and longitude of the passenger's drop-off point and address are actively reported to the server by the driver's App after the driver completes the order service operation.
[0003] However, there are often a small number of orders that are missing the latitude and longitude of the actual passenger drop-off point and the address of the drop-off point due to problems with the driver's app, network signals, or the driver not actively turning on the location to collect the latitude and longitude. Ultimately, the cost of the order cannot be accurately calculated, which also brings troubles to the subsequent customer service to handle customer complaints. Therefore, how to make up for the missing latitude and longitude of the actual passenger drop-off point and the address of the drop-off point caused by the above reasons has become a problem that must be solved.
[0004] To this end, the present invention designs a candidate method for completing the coordinate point and address of the alighting vehicle. Summary of the invention
[0005] The purpose of the present invention is to provide a candidate method for completing the coordinate point and address of the alighting vehicle, so as to solve the problems raised in the above-mentioned background technology.
[0006] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a candidate method for completing the coordinate point and address of the drop-off, which is divided into automatically detecting whether the order is missing two data and completing the two data;
[0007] The specific steps to automatically detect whether an order is missing two pieces of data are as follows:
[0008] S11: The driver triggers the service completion action on the driver app;
[0009] S12: Take the order number as the input parameter, call the order details service interface, and query the order details data;
[0010] S13: Obtain the order status code from the order details data;
[0011] S14: Determine whether the order status code is greater than or equal to the status code of the order being in the service-completed and passenger-pending payment status; if not, execute step S15; if yes, execute step S16;
[0012] S15: Use the order number as the message body; send an MQ message with a consumption delay of 5 seconds;
[0013] S16: Obtain order service completion time from order detail data;
[0014] S17: Determine whether the time difference between the current system time and the order service completion time is within two minutes; if so, continue; otherwise, end;
[0015] S18: Obtaining the latitude and longitude of the actual passenger drop-off point and the drop-off point address data from the order details data;
[0016] S19: Determine whether any of the actual longitude and latitude of the drop-off point and the address data of the drop-off point is empty; if both are not empty, end; otherwise, continue;
[0017] S110: calling the message push service interface to push a message requiring confirmation by the passenger to the passenger-side App;
[0018] S111: End.
[0019] The specific steps to complete the two data are as follows:
[0020] S21: receiving a passenger confirmation request reported by the passenger-side App;
[0021] S22: parse the order number and the latitude and longitude of the actual drop-off point core request parameter data from the request;
[0022] S23: Determine whether the order number and the longitude and latitude of the drop-off point in step S22 are both valid; if both are valid, continue; otherwise, end;
[0023] S24: Use the order number as an input parameter to call the order details service interface to check the order details data;
[0024] S25: Determine whether the order details are empty; if so, end; otherwise, continue;
[0025] S26: taking the longitude and latitude of the pickup point as parameters, calling the LBS service interface to retrieve the Chinese address information corresponding to the longitude and latitude according to the longitude and latitude;
[0026] S27: Using the order number, the longitude and latitude of the drop-off point, and the Chinese address as parameters, call the update order service interface to update the two data;
[0027] S28: End.
[0028] Preferably, in step S15, the purpose of sending the MQ message is to re-execute the steps of the current module from the beginning; so that the program can continuously detect whether any of the two data is missing on the order within 2 minutes.
[0029] Preferably, in step S17, if the detection is not stopped within two minutes, the program cannot be allowed to continue detecting continuously to avoid wasting hardware computing resources.
[0030] Preferably, in step S110, the message content is as follows: "Hello, the system detects that the driver has completed the service, please confirm whether you have got off at the drop-off point agreed in the order."
[0031] Preferably, in step S14, the status code can be set manually.
[0032] Compared with the prior art, the beneficial effects of the present invention are: this method, as a supplementary solution for the driver App to actively report two data to the server, greatly reduces the number of orders missing two data; it is conducive to accurately calculating the cost of the order; if a customer complaint occurs, it is conducive to subsequent customer service judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 The figure is a flow chart of the present invention for automatically detecting whether an order is missing two data items.
[0034] Figure 2 The present invention is a flow chart for completing two data. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] See also Figure 1-2 , the present invention provides a technical solution: a candidate method for completing the coordinate point and address of the drop-off. The present invention is an effective solution for a program to automatically detect when two items of data are missing on the order and actively complete the two items of data. When the driver completes the service operation on the driver App, if the program detects that any of the two items of data is missing on the order within 2 minutes, it will push a confirmation message to the passenger App to inquire whether the passenger has gotten off at the reserved drop-off point in the order. When the passenger clicks the [Confirm] action, the passenger App collects the current passenger's latitude and longitude data and actively reports it to the server. After receiving the request, the server updates the information to the order, and finally achieves the purpose of completing the two items of data for the order.
[0037] The present invention is divided into two parts: automatically detecting whether an order is missing two pieces of data and completing the two pieces of data;
[0038] The specific steps to automatically detect whether an order is missing two pieces of data are as follows:
[0039] S11: The driver triggers the service completion action on the driver app;
[0040] S12: Take the order number as the input parameter, call the order details service interface, and query the order details data;
[0041] S13: Obtain the order status code from the order details data;
[0042] S14: Determine whether the order status code is greater than or equal to 40, where a status code of 40 indicates that the order is in a service-completed state and is waiting for payment by the passenger; if not, execute step S15; if so, execute step S16;
[0043] S15: Send an MQ message with a consumption delay of 5 seconds using the order number as the message body;
[0044] The purpose of sending MQ messages is to re-execute the steps of the current module from the beginning, so that the program can continuously detect whether any of the two data is missing on the order within 2 minutes;
[0045] S16: Obtain order service completion time from order detail data;
[0046] S17: Determine whether the time difference between the current system time and the order service completion time is within two minutes; if so, continue; otherwise, end; if not, stop detecting. Do not allow the program to continue detecting continuously, as this will consume a lot of hardware computing resources;
[0047] S18: Obtaining the latitude and longitude of the actual passenger drop-off point and the drop-off point address data from the order details data;
[0048] S19: Determine whether any of the actual longitude and latitude of the drop-off point and the address data of the drop-off point is empty; if both are not empty, end; otherwise, continue;
[0049] S110: Call the message push service interface to push a message that requires the passenger's confirmation to the passenger-side App; the message content is as follows:
[0050] Hello, the system has detected that the driver has completed the service. Please confirm whether you have got off at the drop-off point agreed in the order?
[0051] S111: End.
[0052] The specific steps to complete the two data are as follows:
[0053] S21: receiving a passenger confirmation request reported by the passenger-side App;
[0054] S22: parse the request to obtain the core request parameter data such as the order number and the latitude and longitude of the actual drop-off point;
[0055] S23: Determine whether the order number and the longitude and latitude of the drop-off point in step S22 are both valid; if both are valid, continue; otherwise, end;
[0056] S24: Use the order number as an input parameter to call the order details service interface to check the order details data;
[0057] S25: Determine whether the order details are empty; if so, end; otherwise, continue;
[0058] S26: taking the longitude and latitude of the pickup point as parameters, calling the LBS service interface to retrieve the Chinese address information corresponding to the longitude and latitude according to the longitude and latitude;
[0059] S27: Using the order number, the longitude and latitude of the drop-off point, and the Chinese address as parameters, call the update order service interface to update the two data;
[0060] S28: End.
[0061] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for completing candidate coordinate points and addresses of alighting, characterized by: It is divided into automatic detection of whether the order is missing two data and completion of two data; The specific steps to automatically detect whether an order is missing two pieces of data are as follows: S11: The driver triggers the service completion action on the driver app; S12: Take the order number as the input parameter, call the order details service interface, and query the order details data; S13: Obtain the order status code from the order details data; S14: Determine whether the order status code is greater than or equal to the status code of the order being in the service-completed and passenger-pending payment status; if not, execute step S15; if yes, execute step S16; S15: Use the order number as the message body; send an MQ message with a consumption delay of 5 seconds; S16: Obtain order service completion time from order detail data; S17: Determine whether the time difference between the current system time and the order service completion time is within two minutes; if so, continue; otherwise, end; S18: Obtaining the latitude and longitude of the actual passenger drop-off point and the drop-off point address data from the order details data; S19: Determine whether any of the actual longitude and latitude of the drop-off point and the address data of the drop-off point is empty; if both are not empty, end; otherwise, continue; S110: calling the message push service interface to push a message requiring confirmation by the passenger to the passenger-side App; S111: End. The specific steps to complete the two data are as follows: S21: receiving a passenger confirmation request reported by the passenger-side App; S22: parse the order number and the latitude and longitude of the actual drop-off point core request parameter data from the request; S23: Determine whether the order number and the longitude and latitude of the drop-off point in step S22 are both valid; if both are valid, continue; otherwise, end; S24: Use the order number as an input parameter to call the order details service interface to check the order details data; S25: Determine whether the order details are empty; if so, end; otherwise, continue; S26: taking the longitude and latitude of the pickup point as parameters, calling the LBS service interface to retrieve the Chinese address information corresponding to the longitude and latitude according to the longitude and latitude; S27: Using the order number, the longitude and latitude of the drop-off point, and the Chinese address as parameters, call the update order service interface to update the two data; S28: End.
2. A method for completing candidate coordinate points and addresses of alighting according to claim 1, characterized in that: In step S15, the purpose of sending the MQ message is to re-execute the steps of the current module from the beginning; so that the program can continuously detect whether any of the two data is missing on the order within 2 minutes.
3. A method for completing candidate coordinate points and addresses of alighting according to claim 1, characterized in that: In step S17, if the detection is not stopped within two minutes, the program cannot continue to detect continuously to avoid wasting hardware computing resources.
4. A method for completing candidate coordinate points and addresses of alighting according to claim 1, characterized in that: In step S110, the message content is as follows: "Hello, the system detects that the driver has completed the service. Please confirm whether you have got off at the drop-off point agreed in the order." 5. The method for completing candidate coordinate points and addresses of alighting according to claim 1, characterized in that: In step S14, the status code can be set manually.