Method for improving transport capacity and channel city mapping matching degree
By judging and processing city ID information in the capacity system of the online ride-hailing platform, the problem of inconsistent urban mapping relationship between capacity and channel is solved, the timely update and conversion of urban mapping relationship is realized, and the timeliness and flow of the platform is improved.
Patent Information
- Application Number
- CN202411618602.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-18
AI Technical Summary
In online car-hailing platforms, the mapping relationship between transportation capacity and channel cities is inconsistent, resulting in targeted development when the city mapping relationship changes, adds, and is missing, which has poor timeliness, affecting the progress of Kaicheng and company flow.
By determining whether the city id information is included in the capacity system, obtaining the city id value, obtaining the channel city mapping relationship information, and determining whether the city id requested by the channel is included. If not, obtaining the general city mapping relationship information, adding a new mapping relationship, and converting it into the city id within the capacity based on the mapping relationship.
It has achieved timely handling when changes, new and missing urban mapping relations are changed, new and missing, improved timeliness, and promoted the progress of the city and the flow of online car-hailing platforms.
Smart Images

Figure CN119647413A_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 improving the matching degree of transportation capacity and channel city mapping. Background Art
[0002] In actual online car-hailing, more and more transporters develop customized docking interfaces according to the standard interface documents of the channel party. In practice, there is a high probability that the city ID of the transporter and the city ID of the channel party are inconsistent. For example, the city ID of the transporter in Beijing is 44, and the city ID of the channel party in Beijing is 010. Considering data redundancy and other reasons, the transporter party will first compare the existing city mapping relationships. If all are consistent, the existing city mapping will be used. If not, a new relationship mapping will be directly generated. Subsequent channel party requests can be converted according to the mapping relationship. When the original city mapping relationship changes, is added, or is missing, it needs to be developed in a targeted manner, and the timeliness is poor, which affects the progress of the city opening and the company's cash flow.
[0003] To this end, the present invention designs a method for improving the matching degree of transportation capacity and channel city mapping. Summary of the invention
[0004] The purpose of the present invention is to provide a method for improving the matching degree of transportation capacity and channel city mapping, so as to solve the problems raised in the above background technology.
[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solution: a method for improving the matching degree of transportation capacity and channel city mapping, the specific steps comprising: S1: channel requesting transportation capacity system;
[0006] S2: The transport capacity system determines whether the parameter contains the city ID information. If so, it continues to execute the subsequent steps;
[0007] S3: Get the city id value in the request parameter;
[0008] S4: Obtain channel city mapping relationship information;
[0009] S5: The system determines whether the city mapping relationship information contains the city ID requested by the channel. If not, the system continues to perform subsequent operations.
[0010] S6: Obtaining general city mapping relationship information;
[0011] S7: The system determines whether the channel city ID mapping relationship is included. If not, the system continues to execute subsequent steps.
[0012] S8: an error message is displayed indicating that no city mapping relationship exists, and S13 is executed;
[0013] S9: Report an error to the user and notify the developer for confirmation;
[0014] S10: The developer receives the warning information and determines whether the city mapping relationship is missing. If not, S13 is directly executed. If not, subsequent operations are continued.
[0015] S11: adding a new mapping relationship to the general city mapping relationship, and executing S13;
[0016] S12: The system converts the mapping relationship into the internal city ID of the transport capacity and performs subsequent logic;
[0017] S13: End.
[0018] Preferably, in step S2, if the capacity system determines that the parameters do not contain city ID information, no conversion is performed and the process ends directly.
[0019] Preferably, in step S5, if the system determines that the city mapping relationship information contains the city ID requested by the channel, the system converts it into the internal city ID of the capacity according to the mapping relationship and performs subsequent logic.
[0020] Preferably, in step S7, if the system determines that a channel city id mapping relationship is included, the system converts it into a capacity internal city id according to the mapping relationship and performs subsequent logic.
[0021] Compared with the prior art, the beneficial effect of the present invention is that the method of the present invention can promptly handle and solve problems when inconsistencies occur due to changes, additions, or deletions in the original city mapping relationship, thereby improving timeliness and at the same time improving the progress of city opening and the flow of the online car-hailing platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 The figure is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION
[0023] 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.
[0024] See also Figure 1 The present invention provides a technical solution: a method for improving the matching degree of transportation capacity and channel city mapping, the specific steps include:
[0025] S1: Channel request capacity system;
[0026] S2: The transport capacity system determines whether the parameter contains the city ID information. If not, no conversion is performed and step S13 is directly executed. If it is contained, the subsequent steps are continued.
[0027] S3: Get the city id value in the request parameter;
[0028] S4: Obtain channel city mapping relationship information;
[0029] S5: The system determines whether the city mapping relationship information contains the city ID requested by the channel. If so, step S12 is executed. If not, subsequent operations are continued.
[0030] S6: Obtaining general city mapping relationship information;
[0031] S7: The system determines whether the channel city id mapping relationship is included. If so, step S12 is executed. If not, the system continues to execute subsequent steps.
[0032] S8: Report an error message indicating that there is no city mapping relationship, and execute step S13;
[0033] S9: Report an error to the user and notify the developer for confirmation;
[0034] S10: The developer receives the warning information and determines whether the city mapping relationship is missing. If not, the developer directly executes step S13. If not, the developer continues to execute subsequent operations.
[0035] S11: adding a new mapping relationship to the general city mapping relationship, and executing step S13;
[0036] S12: The system converts the mapping relationship into the internal city ID of the transport capacity and performs subsequent logic;
[0037] S13: End.
[0038] 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 improving the matching degree of transportation capacity and channel city mapping, characterized by: The specific steps include: S1: channel request capacity system; S2: The transport capacity system determines whether the parameter contains the city ID information. If so, it continues to execute the subsequent steps; S3: Get the city id value in the request parameter; S4: Obtain channel city mapping relationship information; S5: The system determines whether the city mapping relationship information contains the city ID requested by the channel. If not, the system continues to perform subsequent operations. S6: Obtaining general city mapping relationship information; S7: The system determines whether the channel city ID mapping relationship is included. If not, the system continues to execute subsequent steps. S8: an error message is displayed indicating that no city mapping relationship exists, and S13 is executed; S9: Report an error to the user and notify the developer for confirmation; S10: The developer receives the warning information and determines whether the city mapping relationship is missing. If not, S13 is directly executed. If not, subsequent operations are continued. S11: adding a new mapping relationship to the general city mapping relationship, and executing S13; S12: The system converts the mapping relationship into the internal city ID of the transport capacity and performs subsequent logic; S13: End.
2. A method for improving the matching degree of transportation capacity and channel city mapping according to claim 1, characterized in that: In step S2, if the capacity system determines that the parameters do not contain city ID information, no conversion is performed and the process ends directly.
3. A method for improving the matching degree of transportation capacity and channel city mapping according to claim 1, characterized in that: In step S5, if the system determines that the city mapping relationship information contains the city ID requested by the channel, the system converts it into the internal city ID of the capacity according to the mapping relationship and performs subsequent logic.
4. A method for improving the matching degree of transportation capacity and channel city mapping according to claim 1, characterized in that: In step S7, if the system determines that it contains a channel city id mapping relationship, the system converts it into the internal city id of the capacity according to the mapping relationship and performs subsequent logic.