Saas-based online car-hailing driver and passenger simultaneous display method
By acquiring geographical information and real-time location information from online ride-hailing technology, we design a matching algorithm to quickly match passengers and drivers, solve the problems of cancellation and fee disputes caused by inconsistent navigation routes, and improve service efficiency and user satisfaction.
Patent Information
- Application Number
- CN202411358032.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-01-21
AI Technical Summary
In the existing online ride-hailing technology, the navigation routes between drivers and passengers are inconsistent, resulting in cancellation and fee disputes during the pick-up and delivery process. The driver is unable to judge the passenger's location in real time, affecting the reunion of drivers and passengers.
Geographical information and real-time location information are obtained through the application, and a matching algorithm is designed to quickly match passengers with the nearest driver who can take orders, ensuring that the navigation routes of drivers and passengers are consistent.
It reduces the cancellation rate of drivers and passengers, reduces cost problems and customer complaints caused by inconsistent navigation, and improves the efficiency of driver and passenger merging.
Smart Images

Figure CN119336857A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of online car-hailing travel, and in particular to a method for driver-passenger simultaneous display based on SaaS for online car-hailing. Background Art
[0002] SAAS (Software as a Service) online car-hailing driver and passenger co-display is a method of providing online car-hailing services through cloud computing technology. This method allows drivers and passengers to share information through the Internet, improving service quality and efficiency.
[0003] During the pick-up process, the driver follows the navigation to pick up the passenger in a straight line, but the route the passenger actually sees is a detour from somewhere else. In this case, the passenger may think that the pick-up distance is too far and cancel the ride.
[0004] During the ride: The navigation route on the passenger side was to go straight to Road A, while the navigation route on the driver side was to turn right to Road B. The passenger therefore thought that the driver took a detour, which led to a fee dispute and a customer complaint;
[0005] The driver side does not have the real-time location of the passenger, and the multi-channel driver side does not display the real-time location of the passenger to the driver, resulting in the driver being unable to determine the passenger's location. The driver may click on the location he has arrived at, but it is far away from the passenger, which is not conducive to the driver and passenger merging. Therefore, a method of simultaneous display of driver and passenger based on SaaS-based online car-hailing is proposed. Summary of the invention
[0006] In view of this, the embodiments of the present invention hope to provide a method for simultaneous display of driver and passenger in online car-hailing based on SaaS, so as to solve or alleviate the technical problems existing in the prior art and at least provide a beneficial option.
[0007] The technical solution of the embodiment of the present invention is implemented as follows: a method for displaying the driver and passenger information of a SaaS-based online car-hailing service, comprising the following steps:
[0008] S1. Obtain geographic information, real-time location information of passengers and drivers through the map in the application, and collect geographic data;
[0009] S2. Based on the real-time location information of passengers and drivers, a matching algorithm is designed to achieve fast matching between passengers and the nearest available driver.
[0010] In some embodiments, the specific steps in S1 are as follows:
[0011] S11, map data acquisition: obtain real-time map data through the API interface of the map application;
[0012] S12. Driver and passenger location information collection: The location information of the passengers and the driver is obtained through the positioning function of the smart phone, and the location information of the passengers and the driver is uploaded to the backend server in real time;
[0013] S13. Obtaining real-time traffic conditions and navigation information: Obtain real-time traffic information through the map API, and use navigation services to obtain the best driving route and estimated arrival time information.
[0014] In some embodiments, the specific steps in S2 are as follows:
[0015] S21. Obtaining the passenger's location information P: The passenger uses a map application to obtain his / her own geographic location coordinates through the global positioning system;
[0016] S22, traversing the location information D of all drivers;
[0017] S23. Calculate the distance between each driver and passenger: Assume the position of the passenger is (P(x1,y1)), the position of the driver is (D(x2,y2)), and use the Euclidean distance formula to calculate the distance between the passenger and the driver.
[0018] In some embodiments, in S11 , the real-time map data includes road information, traffic conditions, and points of interest.
[0019] In some embodiments, in S13, the real-time traffic information includes congestion and traffic accidents.
[0020] In some embodiments, in S1, the real-time location information of the passenger and the driver includes the location coordinates of the driver and the passenger, real-time traffic conditions and navigation information.
[0021] In some embodiments, in S23, the specific Euclidean distance formula is as follows:
[0022] sqrt((x1-x2)^2+(y1-y2)^2).
[0023] The embodiment of the present invention has the following advantages due to the adoption of the above technical solution:
[0024] The present invention can ensure the consistency of navigation routes for drivers and passengers through a SaaS-based simultaneous display method for drivers and passengers, thereby reducing the cancellation rate of drivers and passengers and reducing customer complaints such as cost issues caused by inconsistent navigation between drivers and passengers.
[0025] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 is a flow chart of the present invention;
[0028] Figure 2 For the present invention Figure 1 Flowchart of S1 in Figure 5;
[0029] Figure 3 For the present invention Figure 1 Flowchart of S2 in FIG. DETAILED DESCRIPTION
[0030] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0031] It should be noted that the terms "first", "second", "symmetrical", "array", etc. are only used to distinguish between description and position description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the definition of "first", "symmetrical", etc. can explicitly or implicitly include one or more of these features; similarly, when the quantity of certain features is not limited in the form of words such as "two" or "three", it should be noted that this feature also explicitly or implicitly includes one or more feature quantities;
[0032] In the present invention, unless otherwise clearly specified and limited, the terms such as "installation", "connection", "fixation" and the like should be understood in a broad sense; for example, it can be a fixed connection, a detachable connection, or an integral molding; it can be a mechanical connection, a direct connection, welding, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood based on the description and drawings combined with specific circumstances.
[0033] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0034] like Figure 1-Figure 3As shown, the embodiment of the present invention provides a method for driver-passenger simultaneous display based on SaaS-based online car-hailing, including the following steps:
[0035] S1. Obtain geographic information, real-time location information of passengers and drivers through the map in the application, and collect geographic data;
[0036] S2. Based on the real-time location information of passengers and drivers, a matching algorithm is designed to achieve fast matching between passengers and the nearest available driver.
[0037] In this embodiment, specifically, the specific steps in S1 are as follows:
[0038] S11, map data acquisition: obtain real-time map data through the API interface of the map application;
[0039] S12. Driver and passenger location information collection: The location information of the passengers and the driver is obtained through the positioning function of the smart phone, and the location information of the passengers and the driver is uploaded to the backend server in real time;
[0040] S13. Obtaining real-time traffic conditions and navigation information: Obtain real-time traffic information through the map API, and use navigation services to obtain the best driving route and estimated arrival time information.
[0041] In this embodiment, specifically, the specific steps in S2 are as follows:
[0042] S21. Obtaining the passenger's location information P: The passenger uses a map application to obtain his / her own geographic location coordinates through the global positioning system;
[0043] S22, traversing the location information D of all drivers;
[0044] S23. Calculate the distance between each driver and passenger: Assume the position of the passenger is (P(x1,y1)), the position of the driver is (D(x2,y2)), and use the Euclidean distance formula to calculate the distance between the passenger and the driver.
[0045] In this embodiment, specifically, in S11, the real-time map data includes road information, traffic conditions and points of interest.
[0046] In this embodiment, specifically, in S13, the real-time traffic information includes congestion and traffic accidents.
[0047] In this embodiment, specifically, in S1, the real-time location information of the passenger and the driver includes the location coordinates of the driver and the passenger, the real-time road conditions and navigation information.
[0048] In this embodiment, specifically, in S23, the specific Euclidean distance formula is as follows:
[0049] sqrt((x1-x2)^2+(y1-y2)^2).
[0050] In this embodiment, specifically, API is a set of protocols, tools and definitions that allow different software applications to communicate with each other. In the online car-hailing driver and passenger simultaneous display system, API interfaces play a vital role, which enables different components such as the driver side, passenger side, payment system, map service, etc. to integrate and interact seamlessly.
[0051] The following are some key API interfaces and their functions:
[0052] 1. Registration and authentication API:
[0053] For registration of new users (drivers and passengers);
[0054] Provide login authentication, usually using OAuth or other security protocols;
[0055] 2. Location Services API:
[0056] Get real-time location information of drivers and passengers;
[0057] Provide map display and route planning functions;
[0058] 3. Request and match API:
[0059] The passenger initiates a trip request;
[0060] The system matches the most suitable driver based on location, time and other factors;
[0061] 4. Driver order API:
[0062] The driver accepts or rejects the ride request;
[0063] Update order status;
[0064] 5. Itinerary Management API:
[0065] Track the progress of your trip;
[0066] Real-time updates on the location of drivers and passengers;
[0067] 6. Payment API:
[0068] Integrate payment gateway to process passengers’ fare payments;
[0069] Provide cash withdrawal function for drivers;
[0070] 7. Evaluation and Feedback API:
[0071] Passengers rate drivers and rides;
[0072] Collect passenger feedback;
[0073] 8. Notification and Message API:
[0074] Send real-time notifications to drivers and passengers, such as trip requests, driver arrival, etc.
[0075] Provide instant messaging function to facilitate communication between drivers and passengers;
[0076] 9. Data Analysis API:
[0077] Provide access to historical data for analyzing driver performance, passenger preferences, etc.
[0078] Generate statistical reports and business intelligence;
[0079] 10. Customer Service and Support API:
[0080] Provide user support interfaces, such as FAQs, help centers, or direct customer service communications;
[0081] 11. Third-party service API:
[0082] Integrate third-party services such as weather forecast, traffic information, advertising services, etc.
[0083] To ensure the security and stability of the API, the following measures are usually required:
[0084] Current limiting: Limit the frequency of API requests for each user to prevent abuse;
[0085] Authentication and authorization: ensure that only legitimate users and applications can access the API;
[0086] Data encryption: Use SSL / TLS and other protocols to encrypt data transmission;
[0087] Error handling: Provide clear error messages and codes to help developers debug;
[0088] Versioning: Over time, you may need to update your API, and versioning allows old and new systems to coexist.
[0089] The design and implementation of APIs are crucial for online ride-hailing platforms, as they directly affect the user experience and the success of the platform.
[0090] In this embodiment, the backend server is the core of the online car-hailing platform, responsible for processing and coordinating all data requests, business logic and system operations. The following are the main components and functions of the backend server:
[0091] 1. Database server:
[0092] Stores user data (drivers and passengers), trip records, payment information, etc.
[0093] Ensure data security, consistency and reliability.
[0094] 2. Application Server:
[0095] Handles requests from front-end applications.
[0096] Execute business logic, such as user authentication, itinerary matching, payment processing, etc.
[0097] Communicate with third-party services (such as mapping services, payment gateways, etc.).
[0098] 3. Cache Server:
[0099] Improve performance and reduce database load.
[0100] Store frequently accessed data, such as user sessions, popular trips, etc.
[0101] 4. Message Queue Server:
[0102] Manage asynchronous tasks and message passing to ensure efficient operation of the system.
[0103] Handle high volume of requests during peak hours.
[0104] 5. File storage server:
[0105] Store files uploaded by users, such as personal profile pictures, copies of driving licenses, etc.
[0106] Provide file upload and download services.
[0107] 6. Log Server:
[0108] Record system operations and events for monitoring and troubleshooting.
[0109] Analyze user behavior and system performance.
[0110] 7. Backup Server:
[0111] Back up databases and other critical data regularly.
[0112] Recover data in case of failure.
[0113] 8. Monitoring Server:
[0114] Monitor system health, such as server load, response time, etc.
[0115] Send alerts to notify administrators of potential problems.
[0116] 9. API Gateway:
[0117] Manages the routing and transformation of all API requests.
[0118] Implement API version control, current limiting, authentication, etc.
[0119] 10. Load Balancer:
[0120] Distribute traffic to multiple servers to ensure high availability and performance of the system.
[0121] Prevent overloading of any single server.
[0122] The architecture of the backend server usually needs to consider the following aspects:
[0123] Scalability: As the number of users increases, the system should be able to scale horizontally by adding more server resources.
[0124] High availability: Redundant design ensures that the system can continue to operate normally in the face of hardware or software failures.
[0125] Security: Protect servers and data from unauthorized access and attacks.
[0126] Fault tolerance: Design the system to tolerate partial failures to ensure uninterrupted operation of critical functions.
[0127] Performance optimization: Improve system performance through reasonable hardware configuration, database optimization, cache strategy, etc.
[0128] The stable operation of the backend server is crucial to the success of the online ride-hailing platform, as it directly affects the user experience, service quality and profitability of the enterprise.
[0129] In this embodiment, specifically, the global positioning system is a satellite navigation system. The following are the key functions of GPS in online car-hailing services:
[0130] 1. Real-time positioning:
[0131] GPS can accurately determine the exact location of the online car-hailing vehicle and its passengers.
[0132] Drivers and passengers can check each other's location through a mobile app.
[0133] 2. Navigation and route planning:
[0134] GPS provides real-time route planning and navigation services, helping drivers choose the best route to reach passengers.
[0135] During the journey, GPS can provide real-time traffic information to help drivers avoid congested roads.
[0136] 3. Distance and duration estimation:
[0137] GPS can help estimate the estimated distance and time of the journey and provide passengers with a quote.
[0138] 4. Security monitoring:
[0139] Ride-hailing companies can use GPS to track the location of their vehicles and ensure the safety of drivers and passengers.
[0140] In an emergency, the vehicle and passengers can be located quickly.
[0141] 5. Service area management:
[0142] GPS can help online ride-hailing companies manage their service areas and ensure that vehicles operate within specific service areas.
[0143] 6. Historical itinerary records:
[0144] The travel data recorded by GPS can be used to analyze drivers’ driving habits and optimize services.
[0145] 7. Compliance:
[0146] In some countries and regions, regulators may require ride-hailing services to use GPS to ensure compliance with regulations.
[0147] To ensure the accuracy and reliability of GPS data, ride-hailing service providers usually need to consider the following factors:
[0148] Signal coverage: Ensure that vehicles and mobile phones can receive GPS signals in as many places as possible.
[0149] Signal Interference: In urban environments, tall buildings may interfere with GPS signals and steps need to be taken to reduce interference.
[0150] Positioning accuracy: Choose high-quality GPS modules and software to improve positioning accuracy.
[0151] Battery consumption: Continuous use of GPS will consume the phone battery, the application needs to be optimized to reduce battery consumption.
[0152] GPS is an indispensable technology in online car-hailing services. It not only improves the efficiency and convenience of the service, but also enhances the safety of drivers and passengers. With the development of technology, the function and accuracy of GPS will be further improved, bringing more possibilities to online car-hailing services.
[0153] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for displaying driver and passenger information simultaneously based on SaaS-based online car-hailing service, characterized in that: The following steps are involved: S1. Obtain geographic information, real-time location information of passengers and drivers through the map in the application, and collect geographic data; S2. Based on the real-time location information of passengers and drivers, a matching algorithm is designed to achieve fast matching between passengers and the nearest available driver.
2. The method for displaying driver and passenger information simultaneously based on SaaS-based online car-hailing service according to claim 1 is characterized by: The specific steps in S1 are as follows: S11. Map data acquisition: obtaining real-time map data through the API interface of the map application; S12. Driver and passenger location information collection: The location information of the passengers and the driver is obtained through the positioning function of the smart phone, and the location information of the passengers and the driver is uploaded to the backend server in real time; S13. Obtaining real-time traffic conditions and navigation information: Obtain real-time traffic information through the map API, and use navigation services to obtain the best driving route and estimated arrival time information.
3. The method for displaying driver and passenger information simultaneously based on SaaS-based online car-hailing service according to claim 1 is characterized by: The specific steps in S2 are as follows: S21. Obtaining the passenger's location information P: The passenger uses a map application to obtain his / her own geographic location coordinates through the global positioning system; S22, traversing the location information D of all drivers; S23. Calculate the distance between each driver and passenger: Assume the position of the passenger is (P(x1,y1)), the position of the driver is (D(x2,y2)), and use the Euclidean distance formula to calculate the distance between the passenger and the driver.
4. The method for displaying driver and passenger information simultaneously based on SaaS-based online car-hailing service according to claim 2 is characterized by: In the S11 , the real-time map data includes road information, traffic conditions and points of interest.
5. The method for displaying driver and passenger information simultaneously based on SaaS-based online car-hailing service according to claim 2 is characterized by: In S13, the real-time traffic information includes congestion and traffic accidents.
6. The method for displaying driver and passenger information simultaneously based on SaaS-based online car-hailing service according to claim 1 is characterized by: In S1, the real-time location information of the passenger and the driver includes the location coordinates of the driver and the passenger, real-time road conditions and navigation information.
7. The method for displaying driver and passenger information simultaneously based on SaaS-based online car-hailing service according to claim 3 is characterized by: In S23, the specific Euclidean distance formula is as follows: sqrt((x1-x2)^2+(y1-y2)^2).