Complementation method for actual get-off address missing of channel ordering to transport capacity
By checking the position of the capacity driver in the online ride-hailing platform and checking the Chinese name of the coordinates in reverse, the problem of missing actual departure address caused by the missing position of the capacity driver is solved, ensuring the correct settlement of the channel and passenger satisfaction.
Patent Information
- Application Number
- CN202411501239.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-02-14
AI Technical Summary
In online car-hailing platforms, after the channel places an order to the capacity, the driver's location is missing, resulting in the actual drop-off address missing, resulting in channel loss or passenger dissatisfaction.
Through the capacity driver position query process, obtain the current position and longitude of the capacity driver, and during capacity settlement, if the actual drop-off coordinates and address are not transmitted, query the last driver position coordinates within five minutes stored by the capacity, and check the reverse The Chinese name of this coordinate, update the order status and actual drop-off coordinates.
The problem of missing actual drop-off address is maximized, ensuring that the channel can settle orders correctly, and reducing passenger dissatisfaction.
Smart Images

Figure CN119441637A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of online car-hailing platforms, and specifically relates to a method for completing a missing actual drop-off address when a channel places an order with transport capacity. Background Art
[0002] In actual online ride-hailing, after a channel places an order with a third-party transport capacity, during the transport settlement, due to some reasons, the driver's location reported by the transport capacity driver-side App is missing, resulting in the missing actual drop-off address of the third-party transport capacity. If the transport capacity does not return the actual drop-off address when notifying the settlement information, the channel may not settle these orders, thereby causing losses to the channel, or the channel passengers may have doubts about the actual drop-off address, leading to customer complaints.
[0003] To this end, the present invention designs a method for completing the missing actual drop-off address when a channel places an order with transport capacity. Summary of the invention
[0004] The purpose of the present invention is to provide a method for completing the missing actual drop-off address when a channel places an order with a transport capacity, so as to solve the problems raised in the above-mentioned background technology.
[0005] To achieve the above purpose, the present invention provides the following technical solutions: a method for completing the missing actual drop-off address when a channel places an order with a transport capacity, which is divided into a transport capacity driver location query process: S1: The transport capacity notifies the driver of the order acceptance status. After the transport capacity notifies the driver of the order acceptance status, if the transport capacity driver is confirmed to be used, an mq message with a delay of 10 seconds is sent, and the message content includes the order number orderNo and the transport capacity number channel of the transport capacity;
[0006] S2: The consumer consumes the mq message of step S1 and obtains the order number orderNo;
[0007] S3: Query order information. If the order is in canceled or settled status or payment is completed, the process ends.
[0008] S4: Otherwise, query the configuration information of the capacity cached in redis. If there is no cache, query the capacity number channel configuration in the channel query table according to the channel, store it in redis, and obtain the driver location query interface;
[0009] S5: Call the interface configuration found in step S4 to obtain the current longitude and latitude of the driver's location;
[0010] S6: Record into the table, the table information includes: primary key id, order number orderNo, longitude lng, latitude lat, app upload time app_time;
[0011] S7: resend an mq message with a delay of 10 seconds;
[0012] S8: The transport driver position will repeat steps S2 to S7 until the end condition of triggering step S3 is met;
[0013] S9: End;
[0014] The process of completing the missing coordinates and address of the actual drop-off channel:
[0015] A1: The capacity notification channel settlement message transmits the order number orderNo, capacity number channel and other settlement information;
[0016] A2: Query the order information related to the channel according to the order number orderNo. If the order is in the settled or paid status, the process ends.
[0017] A3: If the channel order status is the trip end status, execute the subsequent steps;
[0018] A4: If the actual drop-off coordinates longitude lng and latitude lat are not empty, call the order interface to update the order status and actual drop-off coordinates;
[0019] A5: If the actual alighting coordinates longitude lng and latitude lat are empty, query the driver's location stored in the above process;
[0020] A6: Query and obtain the last driver location reported within the last five minutes;
[0021] A7: If it exists, call the LBS interface to reversely query the Chinese address name based on the coordinate latitude lng and latitude lat, and call the order interface to update the order status and actual drop-off coordinates;
[0022] A8: If it does not exist, it means that the transport capacity does not have a driver position before settlement. In this case, the order interface is called using the drop-off coordinates and address booked when placing the order to update the order status and actual drop-off coordinates.
[0023] A9: End.
[0024] Preferably, each status of the order can be represented by a different status value code.
[0025] Preferably, in step A1, other settlement information includes actual get-off coordinates lng, lat and address addr.
[0026] Preferably, in step A6, querying and obtaining the last driver position reported within the last five minutes refers to the last driver position when the current time minus five minutes is greater than or equal to the app upload time app_time.
[0027] Preferably, the delay time for sending the delayed mq message can be set manually.
[0028] Compared with the prior art, the beneficial effects of the present invention are: the present invention obtains the driver position of the transport capacity and the time of the transport driver position from the channel, from the transport driver position query and storage. If the actual get-off coordinates and address are not transmitted when the transport capacity is settled, the last driver position coordinates within five minutes stored by the transport capacity are queried as the driver position for settlement, and the Chinese name of the coordinates is reversely checked at the same time, thereby compensating for the problem of missing actual get-off address to the greatest extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic diagram of the flow of querying the location of the transport driver of the present invention.
[0030] Figure 2 It is a schematic diagram of the process of completing missing coordinates and addresses of actual drop-off of the channel of the present invention. DETAILED DESCRIPTION
[0031] 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.
[0032] See also Figure 1-2 The present invention provides a technical solution: a method for completing the missing actual drop-off address when a channel places an order with a transport capacity, which is divided into a transport capacity driver location query process: S1: The transport capacity notifies the driver of the order acceptance status (15). After the transport capacity notifies the driver of the order acceptance status, if the transport capacity driver is confirmed to be used, an mq message with a delay of 10 seconds is sent, and the message content includes the order number orderNo and the transport capacity number channel of the transport capacity;
[0033] S2: The consumer consumes the mq message of step S1 and obtains the order number orderNo;
[0034] S3: Query order information. If the order is in canceled status (status=60), settled status (status43), or paid status (status=45), then the process ends.
[0035] S4: Otherwise, query the configuration information of the capacity cached in redis. If there is no cache, query the capacity number channel configuration in the channel query table according to the channel, store it in redis, and obtain the driver location query interface;
[0036] S5: Call the interface configuration found in step S4 to obtain the current longitude and latitude of the driver's location;
[0037] S6: Record in the table. The table information is as follows:
[0038]
[0039] S7: resend an mq message with a delay of 10 seconds;
[0040] S8: The transport driver position will repeat steps S2 to S7 until the end condition of step S3 is triggered;
[0041] S9: End.
[0042] The process of completing the missing coordinates and address of the actual drop-off channel:
[0043] A1: The capacity notification channel settlement message 43 passes in the order number orderNo, the capacity number channel and other settlement information, such as the actual drop-off coordinates lng, lat and address addr;
[0044] A2: Query channel-related order information based on orderNo, such as the scheduled drop-off coordinates, Chinese address, and order status. If the order is settled or paid, the process ends.
[0045] A3: If the channel order status is the trip end status status = 40, then execute the subsequent steps;
[0046] A4: If the actual drop-off coordinates lng and lat are not empty, call the order interface to update the order status and actual drop-off coordinates;
[0047] A5: If the actual get-off coordinates lng and lat are empty, query the driver's location stored in the above process;
[0048] A6: Query and obtain the last driver location reported within the last five minutes, that is, the last driver location when the current time now minus five minutes is greater than or equal to app_time;
[0049] A7: If it exists, call the LBS interface to reversely query the Chinese address name based on the coordinates lng and lat, and call the order interface to update the order status and actual drop-off coordinates;
[0050] A8: If it does not exist, it means that the transport capacity does not have a driver position before settlement. In this case, the order interface is called using the drop-off coordinates and address booked when placing the order to update the order status and actual drop-off coordinates.
[0051] A9: End.
[0052] 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 the missing actual drop-off address when a channel places an order with a transport capacity, characterized by: It is divided into the process of querying the location of the transport driver: S1: The transport driver is notified of the order acceptance status. After the transport driver is notified of the order acceptance status, if the transport driver is confirmed to be used, an mq message with a delay of 10 seconds is sent. The message content includes the order number orderNo and the transport number channel of the transport driver; S2: The consumer consumes the mq message of step S1 and obtains the order number orderNo; S3: Query order information. If the order is in canceled or settled status or payment is completed, the process ends. S4: Otherwise, query the configuration information of the capacity cached in redis. If there is no cache, query the capacity number channel configuration in the channel query table according to the channel, store it in redis, and obtain the driver location query interface; S5: Call the interface configuration found in step S4 to obtain the current longitude and latitude of the driver's location; S6: Record into the table, the table information includes: primary key id, order number orderNo, longitude lng, latitude lat, app upload time app_time; S7: resend an mq message with a delay of 10 seconds; S8: The transport driver position will repeat steps S2 to S7 until the end condition of triggering step S3 is met; S9: End; The process of completing the missing coordinates and address of the actual drop-off channel: A1: The capacity notification channel settlement message transmits the order number orderNo, capacity number channel and other settlement information; A2: Query the order information related to the channel according to the order number orderNo. If the order is in the settled or paid status, the process ends. A3: If the channel order status is the trip end status, execute the subsequent steps; A4: If the actual drop-off coordinates longitude lng and latitude lat are not empty, call the order interface to update the order status and actual drop-off coordinates; A5: If the actual alighting coordinates longitude lng and latitude lat are empty, query the driver's location stored in the above process; A6: Query and obtain the last driver location reported within the last five minutes; A7: If it exists, call the LBS interface to reversely query the Chinese address name based on the coordinate latitude lng and latitude lat, and call the order interface to update the order status and actual drop-off coordinates; A8: If it does not exist, it means that the transport capacity does not have a driver position before settlement. In this case, the order interface is called using the drop-off coordinates and address booked when placing the order to update the order status and actual drop-off coordinates. A9: End.
2. A method for completing missing actual drop-off addresses when placing an order from a channel to a transport capacity according to claim 1, characterized in that: Each status of an order can be represented by different status value codes.
3. A method for completing missing actual drop-off address when placing an order from a channel to a transport capacity according to claim 1, characterized in that: In step A1, other settlement information includes the actual get-off coordinates lng, lat and address addr.
4. According to claim 1, a method for completing the missing actual drop-off address of a channel-to-transportation capacity order, characterized in that: In step A6, the query to obtain the last driver position reported within the last five minutes refers to the last driver position when the current time minus five minutes is greater than or equal to the app upload time app_time.
5. According to claim 1, a method for completing the missing actual drop-off address of a channel-to-transportation capacity order, characterized in that: The delay time for sending delayed MQ messages can be set manually.