Online car-hailing method and device, electronic equipment and storage medium
By determining the target navigation map in the online car-hailing taxi system and generating an order identification number and associated with the navigation route, the problems of high server load and poor compatibility in the prior art are solved, and more efficient data processing and compatibility are achieved.
Patent Information
- Application Number
- CN202310772367.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2024-12-31
AI Technical Summary
The existing online taxi-hailing application web application needs to synchronize data on the map server when creating an order, resulting in an increase in server load and easy crash. Moreover, because the route identification numbers of different navigation maps are not interoperable, compatibility is difficult to achieve.
By obtaining user location on the web side of the taxi app, determining the target navigation map, and generating navigation routes on the target map server, generating an order identification number and associated with the navigation route, and sending it directly to the dispatch server for processing, avoiding creating orders on the map server and reducing the server's ability to reduce the server's ability to do so. Load and improve compatibility.
It effectively reduces the data processing load of the map server, avoids server crashes, and improves the compatibility of taxi-hailing applications on the web, and supports the interoperability of multiple navigation maps.
Smart Images

Figure CN119228462A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of online car-hailing, and in particular to an online car-hailing method, device, electronic device and storage medium. Background Art
[0002] With the development of Internet technology, online ride-hailing has gradually become part of people's daily lives. The web version of a taxi-hailing application can be in the form of a mini-program or an H5 web page. In the prior art, before the web version of a taxi-hailing application associates the route identification number with the order identification number, it must first create a taxi order on the map server to synchronize the order, which will increase the data processing load on the map server and easily cause problems such as server crashes. In addition, since the web version of the taxi-hailing application is configured with navigation maps from multiple manufacturers, the solutions for the driver-passenger route display function implemented by each manufacturer's navigation map are different. Therefore, it becomes difficult and complicated for the web version of the taxi-hailing application to be compatible with all manufacturers' navigation maps. For example, the route identification numbers of Amap and Tencent Map are both custom numbers and are not interoperable, which will make the obtained Amap route identification number must restore the navigation route on Amap, and the same is true for Tencent Map. Therefore, how to reduce the server data processing volume and improve the compatibility of the web version of the taxi-hailing application has become an urgent problem to be solved. Summary of the invention
[0003] The present application provides a method, device, electronic device and storage medium for hailing a taxi online, which can reduce the data processing load of the map server, avoid problems such as server crashes, and improve the compatibility of the taxi application web terminal.
[0004] In a first aspect, the present application provides an online taxi-hailing method, which is applied to an online taxi-hailing system, wherein the online taxi-hailing system includes a taxi-hailing application web terminal, multiple map servers and a dispatch server, wherein the taxi-hailing application web terminal is configured with navigation maps of multiple manufacturers, each navigation map corresponds to a map server of a respective manufacturer, and the taxi-hailing application web terminal is respectively connected to the multiple map servers and the dispatch server; the method includes:
[0005] The taxi-hailing application web terminal obtains the first positioning information of the user in response to the triggering operation of the taxi-hailing function; determines a target navigation map providing navigation services for the user from the multiple navigation maps according to the first positioning information; and receives the address information input by the user and sends the address information to a target map server corresponding to the target navigation map;
[0006] The target map server generates a taxi navigation route according to the address information, and sends the taxi navigation route to the taxi application web terminal;
[0007] The taxi application web terminal generates an order identification number for the taxi order, associates the order identification number with the taxi navigation route to obtain taxi association information, and sends the taxi association information to the dispatch server, so that the dispatch server processes the user's taxi task based on the taxi association information.
[0008] The embodiment of the present application provides a method for taking a taxi online. The web end of the taxi application of the present application is configured with navigation maps of multiple manufacturers. The web end of the taxi application reasonably allocates a target navigation map to the user according to the number of first users who are using the web end of the taxi application to take a taxi at the user's location and the load of the map server corresponding to the multiple navigation maps; the web end of the taxi application generates an order identification number of the taxi order when the receiving user confirms the order operation, and after receiving the taxi navigation route occurring in the target navigation map, the order identification number is associated with the taxi navigation route, so as to avoid creating a taxi order on the map server, without the need for order synchronization, and can reduce the data processing load of the map server, and avoid problems such as server crashes. Since the route identification numbers of navigation maps of different manufacturers are all customized numbers and are not interoperable, the advantage of associating the order identification number with the taxi navigation route is that the compatibility of the web end of the taxi application can be improved.
[0009] Furthermore, the method of determining a target navigation map for providing navigation service to the user from the multiple navigation maps based on the first positioning information includes: the taxi-hailing application web terminal determining the number of first users in the user's location based on the first positioning information; determining a proportional relationship among the number of first users who use the multiple navigation maps; determining the operating status of map servers corresponding to each of the multiple navigation maps; and determining a target navigation map for providing navigation service to the user from the multiple navigation maps based on the proportional relationship, the operating status and a preset expected navigation map; wherein the first user is a user who is currently using the taxi-hailing application web terminal to hail a taxi, the expected navigation map is determined by at least one of the manufacturer's service fee of the navigation map and the navigation capability of the navigation map, the number of the expected navigation maps is less than the number of the multiple navigation maps, the number of the expected navigation maps is zero or at least one, and when the number of the expected navigation maps is at least one, the expected navigation map is included in the multiple navigation maps.
[0010] Furthermore, the online taxi-hailing system also includes a driver side, which is connected to the dispatch server; the dispatch server processes the user's taxi task based on the taxi-hailing related information, including: the driver side sends an order acceptance request to the dispatch server, and the order acceptance request includes the order identification number; the dispatch server searches for the taxi navigation route associated with the order identification number from the taxi-hailing related information, and sends the taxi navigation route to the driver side; the driver side draws a corresponding navigation route map based on the taxi navigation route, and displays the navigation route map in the display interface of the driver side.
[0011] Furthermore, the method also includes: the driver side obtains second positioning information of the vehicle, and determines whether the second positioning information is the starting point of the navigation route map; if not, determining the target navigation starting point closest to the second positioning information in the navigation route map according to the second positioning information; generating a pick-up route for the vehicle according to the second positioning information, the target navigation starting point and the navigation route map, and displaying the pick-up route in the display interface of the driver side.
[0012] Furthermore, the method also includes: the driver side sends the pick-up route and the second positioning information to the dispatch server; the taxi application web side sends a route display request to the dispatch server, and the route display request includes the order identification number; the dispatch server responds to the route display request, determines the real-time driving route according to the pick-up route and the second positioning information, and sends the real-time driving route to the taxi application web side, so that the taxi application web side displays the real-time driving route in the display interface of the taxi application web side.
[0013] Furthermore, the taxi navigation route includes at least two candidate routes; after the navigation route map is displayed in the display interface of the driver side, it also includes: the driver side receives the driver's selection operation for the at least two candidate routes, and determines the target route from the at least two candidate routes.
[0014] Furthermore, the taxi navigation route includes at least two candidate routes; after the navigation route map is displayed in the display interface of the driver side, it also includes: the driver side receives the route selection result sent by the dispatch server, and determines the target route from the at least two candidate routes based on the route selection result, the route selection result is the user's selection result of the at least two candidate routes in the taxi application web side, and the taxi application web side sends the route selection result to the dispatch server.
[0015] In a second aspect, the present application provides an online car-hailing device, which is configured in an online car-hailing system, wherein the online car-hailing system includes a car-hailing application web terminal, multiple map servers and a dispatch server, wherein the car-hailing application web terminal is configured with navigation maps of multiple manufacturers, each navigation map corresponds to a map server of a respective manufacturer, and the car-hailing application web terminal is respectively connected to the multiple map servers and the dispatch server; the device includes:
[0016] A navigation map determination module is used to obtain the first positioning information of the user in response to the triggering operation of the taxi-hailing function through the taxi-hailing application web terminal; determine a target navigation map providing navigation services for the user from the multiple navigation maps according to the first positioning information; when receiving the address information input by the user, send the address information to the target map server corresponding to the target navigation map;
[0017] A navigation route generation module, used to generate a taxi navigation route according to the address information through the target map server, and send the taxi navigation route to the taxi application web end;
[0018] The taxi task processing module is used to generate an order identification number for a taxi order through the taxi application web terminal, associate the order identification number with the taxi navigation route to obtain taxi association information, and send the taxi association information to the dispatch server so that the dispatch server processes the user's taxi task based on the taxi association information.
[0019] In a third aspect, the present application provides an electronic device, the electronic device comprising:
[0020] at least one processor; and
[0021] a memory communicatively connected to the at least one processor; wherein,
[0022] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the online car-hailing method described in any embodiment of the present application.
[0023] In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the online car-hailing method described in any embodiment of the present application when executed.
[0024] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the online car-hailing device, or may be packaged separately from the processor of the online car-hailing device, and this application does not limit this.
[0025] The description of the second, third and fourth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third and fourth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0026] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
[0027] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, and usage scenarios of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments 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 creative work.
[0029] Figure 1 A schematic diagram of a first process of a method for hailing an online car-hailing vehicle provided in an embodiment of the present application;
[0030] Figure 2 A second flow diagram of a method for hailing an online car-hailing vehicle provided in an embodiment of the present application;
[0031] Figure 3 A schematic diagram of the structure of a device for hailing a taxi online provided in an embodiment of the present application;
[0032] Figure 4 It is a block diagram of an electronic device used to implement an online car-hailing method of an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0034] It should be noted that the terms "first", "second", "target", and "original" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having", and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0035] Figure 1 The first flow chart of a method for hailing a taxi through an online car-hailing service provided in an embodiment of the present application, and the present embodiment is applicable to the case where a user uses a taxi-hailing application web terminal to hail a taxi. The method for hailing a taxi through an online car-hailing service provided in this embodiment can be executed by an online car-hailing device provided in an embodiment of the present application, and the device can be implemented by software and / or hardware, and integrated in an electronic device that executes the present method. The present method is applied to an online car-hailing system, which includes a taxi-hailing application web terminal, multiple map servers, and a dispatch server. The taxi-hailing application web terminal is configured with navigation maps of multiple manufacturers, and each navigation map corresponds to the map server of each manufacturer. The taxi-hailing application web terminal is respectively connected to multiple map servers and dispatch servers.
[0036] See also Figure 1 The method of this embodiment includes but is not limited to the following steps:
[0037] S110. The taxi-hailing application web terminal obtains the user's first positioning information in response to the triggering operation of the taxi-hailing function; determines a target navigation map that provides navigation services to the user from multiple navigation maps based on the first positioning information; and receives the address information input by the user and sends the address information to a target map server corresponding to the target navigation map.
[0038] In the embodiment of the present application, the form of the taxi-hailing application web terminal can be a small program in an application software on a mobile terminal or an H5 web page in a browser on a mobile terminal, and the mobile terminal can be a mobile phone, a tablet or a computer. The user enters the taxi-hailing page of the taxi-hailing application web terminal, and the taxi-hailing application web terminal turns on the taxi-hailing function. The taxi-hailing application web terminal obtains the location of the mobile terminal (i.e., the user) through the positioning component on the mobile terminal, which is recorded as the first positioning information.
[0039] Furthermore, a target navigation map for providing navigation services to the user is determined from multiple navigation maps based on the first positioning information, including: the taxi application web determines the number of first users in the user's location based on the first positioning information; determines the proportional relationship between the use of multiple navigation maps among the number of first users; determines the operating status of the map servers corresponding to the multiple navigation maps; and determines the target navigation map for providing navigation services to the user from the multiple navigation maps by comprehensively considering the proportional relationship, the operating status and the preset expected navigation map factors; wherein the first user is a user who is currently using the taxi application web to hail a taxi, the expected navigation map is determined by at least one of the manufacturer's service fee of the navigation map and the navigation capability of the navigation map, the number of the expected navigation maps is less than the number of the multiple navigation maps, the number of the expected navigation maps is zero or at least one, and when the number of the expected navigation maps is at least one, the expected navigation map is included in the multiple navigation maps, and the operating status may include stable server operation or server operation crash.
[0040] The specific process of determining the target navigation map may be: priorities may be set in advance among the three factors of proportional relationship, operating status and preset expected navigation map. The present application does not limit the specific setting of the priorities. Optionally, the operating status factor may be set as the first priority, the proportional relationship factor may be set as the second priority, and the expected navigation map factor may be set as the third priority; for example: first exclude the navigation map corresponding to the server operation crash from multiple navigation maps to obtain the first navigation map, and then determine the navigation map with the smallest proportional relationship (that is, the lightest data processing load on the map server) from the first navigation map based on the proportional relationship to obtain the second navigation map; at this time, determine whether the expected navigation map is the number At least one, if the number of expected navigation maps is zero, the second navigation map is used as the target navigation map; if the number of expected navigation maps is at least one, it is determined whether the second navigation map belongs to one of the expected navigation maps; if the second navigation map belongs to one of the expected navigation maps, the second navigation map is used as the target navigation map; if the second navigation map does not belong to the expected navigation map, it is determined whether the proportional relationship of the second navigation map is less than a preset proportional number; if it is less than the preset proportional number, the second navigation map is used as the target navigation map; if it is not less than the preset proportional number, a navigation map with the smallest proportional relationship is determined from the expected navigation maps, recorded as a third navigation map, and the third navigation map is used as the target navigation map.
[0041] For example, the proportion of first users using multiple navigation maps can be determined as follows: Assume that there are three navigation maps, namely navigation map a, navigation map b, and navigation map c. There are 100 users who are using the taxi-hailing application web terminal to hail a taxi in the location of the user (i.e., the number of first users is 100). If there are 40 first users using navigation map a, then the proportion of first users using navigation map a is If there are 35 first users using navigation map b, then the proportion of using navigation map b is If there are 25 first users using navigation map c, then the proportion of using navigation map c is
[0042] Optionally, an option box for the navigation map can be configured in the settings of the taxi-hailing application web terminal. The user can also manually switch the navigation map he wants to use in the settings of the taxi-hailing application web terminal.
[0043] In the embodiment of the present application, the address information includes a starting point and an end point, and the address information may also include at least one waypoint. The user enters the address information in the taxi-hailing page, manually triggers the physical key or virtual key of the address information confirmation function, or the user selects the target address from multiple candidate addresses fed back by the taxi-hailing application web terminal; the taxi-hailing application web terminal detects the user's address information confirmation operation or address information selection operation, and then sends the address information to the target map server.
[0044] S120. The target map server generates a taxi navigation route according to the address information, and sends the taxi navigation route to the taxi application web terminal.
[0045] In the embodiment of the present application, the taxi navigation route can be in the form of a route coordinate point string. After receiving the address information sent by the taxi application web terminal, the target map server generates a route coordinate point string passing through a starting point, an end point, and at least one passing point according to the address information. Then, the target map server sends the generated route coordinate point string to the taxi application web terminal through an interface.
[0046] S130. The taxi application web terminal generates an order identification number for the taxi order, associates the order identification number with the taxi navigation route to obtain taxi association information, and sends the taxi association information to the dispatch server, so that the dispatch server processes the user's taxi task based on the taxi association information.
[0047] In the embodiment of the present application, the user triggers the order confirmation operation in the taxi page of the taxi application web terminal, and the taxi application web terminal generates an order identification number for the user's taxi order. After receiving the taxi navigation route sent by the target map server, the order identification number and the taxi navigation route are associated to obtain taxi association information, and the taxi association information is sent to the dispatch server through the interface, so that the dispatch server processes the user's taxi task based on the taxi association information.
[0048] The existing online taxi-hailing method is to obtain the route identification number from the map server, and then associate the route identification number with the order identification number; while this application associates the order identification number with the taxi navigation route, which can avoid creating a taxi order on the map server, eliminating the need for order synchronization, reducing the data processing load of the map server, and avoiding problems such as server crashes. Since the route identification numbers of navigation maps from different manufacturers are all customized numbers and are not interoperable, the benefit of associating the order identification number with the taxi navigation route is that it can improve the compatibility of the taxi application web end.
[0049] Preferably, considering the large amount of data in the taxi-hailing related information and the need to protect user privacy, the taxi-hailing related information may be compressed and encrypted, thereby reducing the pressure of data transmission and protecting user privacy.
[0050] In an optional embodiment, the online car-hailing system also includes a driver side, which is connected to a dispatch server; the dispatch server processes the user's taxi task based on the taxi-hailing related information, including: the dispatch server publishes the user's taxi task on the taxi-hailing platform, and if a driver wants to accept this taxi task, he sends an order acceptance request to the dispatch server through the driver side, and the order acceptance request includes an order identification number; after receiving the order acceptance request, the dispatch server searches for a taxi navigation route associated with the order identification number from the taxi-hailing related information, and sends the taxi navigation route to the driver side; the driver side draws a corresponding navigation route map based on the taxi navigation route, and displays the navigation route map in the display interface of the driver side.
[0051] The existing online taxi-hailing method is to associate the route identification number with the order identification number. After the driver receives the route identification number, it obtains the route identification number from the dispatch server according to the order identification number, and then obtains the taxi navigation route from the map server of the manufacturer corresponding to the route identification number according to the route identification number, and then restores the taxi navigation route; because the present application associates the order identification number with the taxi navigation route, after the driver receives the taxi navigation route sent by the dispatch server, the driver can directly restore the taxi navigation route on the driver side without restoring the taxi navigation route through the map server, thus avoiding the disadvantage of the existing online taxi-hailing method that the navigation route can only be restored in the map server, and can reduce the data processing load of the map server.
[0052] In another optional embodiment, the taxi navigation route includes at least two candidate routes; after displaying the navigation route map in the display interface of the driver, it also includes: the driver receives the driver's selection operation for at least two candidate routes, and determines the target route from at least two candidate routes; or, the driver receives the route selection result sent by the dispatch server, and determines the target route from at least two candidate routes based on the route selection result, and the route selection result is the user's selection result for at least two candidate routes in the taxi application web terminal, and the taxi application web terminal sends the route selection result to the dispatch server. The advantage of this setting is that it can support users or drivers to select the best target route from the candidate routes from the perspective of traffic jam risk or personal preference.
[0053] The technical solution provided by this embodiment is that the taxi application web end obtains the user's first positioning information in response to the triggering operation of the taxi function; determines a target navigation map that provides navigation services to the user from multiple navigation maps based on the first positioning information; receives the address information input by the user, and sends the address information to the target map server corresponding to the target navigation map; the target map server generates a taxi navigation route based on the address information, and sends the taxi navigation route to the taxi application web end; the taxi application web end generates an order identification number for the taxi order, associates the order identification number with the taxi navigation route to obtain taxi association information, and sends the taxi association information to the dispatch server, so that the dispatch server processes the user's taxi task based on the taxi association information. The taxi application web terminal of the present application is configured with navigation maps of multiple manufacturers. The taxi application web terminal reasonably allocates the target navigation map to the user according to the number of first users who are using the taxi application web terminal to take a taxi at the user's location and the load of the map server corresponding to the multiple navigation maps; the taxi application web terminal generates an order identification number for the taxi order when the receiving user confirms the order operation, and after receiving the taxi navigation route occurring in the target navigation map, the order identification number is associated with the taxi navigation route, so as to avoid creating a taxi order on the map server, and there is no need to synchronize the order, which can reduce the data processing load of the map server and avoid problems such as server crashes. Since the route identification numbers of navigation maps of different manufacturers are all customized numbers and are not interoperable, the benefit of associating the order identification number with the taxi navigation route is that it can improve the compatibility of the taxi application web terminal.
[0054] The following further describes the online taxi-hailing method provided by the embodiment of the present application. Figure 2 The second flow diagram of a method for booking a ride-hailing car online provided in the embodiment of the present application is shown in Figure 1. The embodiment of the present application is optimized on the basis of the above embodiment, and the specific optimization is as follows: the present embodiment provides a detailed explanation of the process of displaying the routes of the driver and the passenger simultaneously.
[0055] See also Figure 2 The method of this embodiment includes but is not limited to the following steps:
[0056] S210, the driver side obtains the second positioning information of the vehicle, and determines whether the second positioning information is the starting point of the navigation route map; if not, the target navigation starting point closest to the second positioning information is determined in the navigation route map according to the second positioning information; a pick-up route is generated for the vehicle according to the second positioning information, the target navigation starting point and the navigation route map, and the pick-up route is displayed in the display interface of the driver side.
[0057] In an embodiment of the present application, the driver side can be in the form of an APP, a mini-program, or an H5 webpage on a mobile terminal. The driver side obtains the location of the mobile terminal (ie, the driver) through the positioning component on the mobile terminal, which is recorded as the second positioning information. After the driver picks up the user, when sending the user, it may happen that the second positioning information of the vehicle is not the starting point of the navigation route map. The reason for this may be that the user's position has moved, or the user's position positioning (ie, the first positioning information) is inaccurate. At this time, the driver side needs to re-determine the navigation starting point of the taxi navigation route, determine the position closest to the second positioning information in the taxi navigation route according to the second positioning information, and use this position as the target navigation starting point.
[0058] The driver first uses the second positioning information as the first starting point and the target navigation starting point as the first end point, and then draws a first route connecting the first starting point and the first end point; then deletes the route between the starting point and the target navigation starting point from the navigation route map, and uses the remaining route as the second route; finally, the first route and the second route are spliced to obtain the pick-up route. This application does not limit the display method and form of the pick-up route in the display interface of the driver.
[0059] S220: The driver sends the pick-up route and the second positioning information to the dispatch server.
[0060] In an embodiment of the present application, the driver sends the pick-up and drop-off route and the second positioning information to the dispatch server through an interface.
[0061] S230. The taxi-hailing application web terminal sends a route display request to the dispatch server.
[0062] The route display request includes the order identification number. Route display means that the current real-time driving route is displayed on both the user's taxi application web terminal and the driver's driver terminal.
[0063] S240. The dispatch server responds to the route display request, determines the real-time driving route according to the pick-up and drop-off driving route and the second positioning information, and sends the real-time driving route to the taxi-hailing application web terminal, so that the taxi-hailing application web terminal displays the real-time driving route in the display interface of the taxi-hailing application web terminal.
[0064] In the embodiment of the present application, after receiving the route display request, the dispatch server generates a real-time driving route according to the pick-up and drop-off driving route and the second positioning information, and sends the real-time driving route to the taxi-hailing application web terminal, so that the taxi-hailing application web terminal displays the real-time driving route in the display interface of the taxi-hailing application web terminal. The present application does not limit the display method and form of the real-time driving route in the display interface of the taxi-hailing application web terminal.
[0065] The technical solution provided by this embodiment is that the driver side obtains the second positioning information of the vehicle and determines whether the second positioning information is the starting point of the navigation route map; if not, the target navigation starting point closest to the second positioning information is determined in the navigation route map according to the second positioning information; a pick-up and ride route is generated for the vehicle according to the second positioning information, the target navigation starting point and the navigation route map, and the pick-up and ride route is displayed in the display interface of the driver side; the driver side sends the pick-up and ride route and the second positioning information to the dispatch server; the taxi application web side sends a route display request to the dispatch server; the dispatch server responds to the route display request, determines the real-time driving route according to the pick-up and ride route and the second positioning information, and sends the real-time driving route to the taxi application web side, so that the taxi application web side displays the real-time driving route in the display interface of the taxi application web side. When the second positioning information of the vehicle is determined to be not the starting point of the navigation route map, the present application corrects the taxi navigation route and supports displaying the current real-time driving route in both the taxi application web side and the driver side. The method of the present application can reduce the data processing load of the map server, avoid server crashes and other problems, and improve the compatibility of the taxi application web side.
[0066] Figure 3 A schematic diagram of the structure of an online taxi-hailing device provided in an embodiment of the present application, which is configured in an online taxi-hailing system, wherein the online taxi-hailing system includes a taxi-hailing application web terminal, multiple map servers and a dispatch server, wherein the taxi-hailing application web terminal is configured with navigation maps of multiple manufacturers, each navigation map corresponds to a map server of a respective manufacturer, and the taxi-hailing application web terminal is connected to the multiple map servers and the dispatch server respectively; Figure 3 As shown, the device 300 may include:
[0067] The navigation map determination module 310 is used to obtain the first positioning information of the user in response to the triggering operation of the taxi-hailing function through the taxi-hailing application web terminal; determine the target navigation map providing navigation service for the user from the multiple navigation maps according to the first positioning information; when receiving the address information input by the user, send the address information to the target map server corresponding to the target navigation map;
[0068] A navigation route generating module 320 is used to generate a taxi navigation route according to the address information through the target map server, and send the taxi navigation route to the taxi application web terminal;
[0069] The taxi task processing module 330 is used to generate an order identification number for a taxi order through the taxi application web terminal, associate the order identification number with the taxi navigation route to obtain taxi association information, and send the taxi association information to the dispatch server so that the dispatch server processes the user's taxi task based on the taxi association information.
[0070] Furthermore, the above-mentioned navigation map determination module 310 can be specifically used for: the taxi application web end determines the number of first users in the user's location according to the first positioning information; determines the proportional relationship among the number of first users using the multiple navigation maps; determines the operating status of the map servers corresponding to the multiple navigation maps; based on the proportional relationship, the operating status and the preset expected navigation map, determines the target navigation map that provides navigation service for the user from the multiple navigation maps; wherein, the first user is a user who is currently using the taxi application web end to take a taxi, the expected navigation map is determined by at least one of the manufacturer service fee of the navigation map and the navigation capability of the navigation map, the number of the expected navigation maps is less than the number of the multiple navigation maps, the number of the expected navigation maps is zero or at least one, and when the number of the expected navigation maps is at least one, the expected navigation map is included in the multiple navigation maps.
[0071] Optionally, the online car-hailing system further includes a driver terminal, and the driver terminal is connected to the dispatch server;
[0072] Furthermore, the above-mentioned taxi task processing module 330 can be specifically used for: sending an order acceptance request to the dispatch server through the driver end, wherein the order acceptance request includes the order identification number; searching the taxi navigation route associated with the order identification number from the taxi-related information through the dispatch server, and sending the taxi navigation route to the driver end; drawing a corresponding navigation route map based on the taxi navigation route through the driver end, and displaying the navigation route map in the display interface of the driver end.
[0073] Furthermore, the above-mentioned online car-hailing device may also include: a pick-up and drop-off route determination module;
[0074] The pick-up route determination module is used to obtain the second positioning information of the vehicle through the driver end, and determine whether the second positioning information is the starting point of the navigation route map; if not, determine the target navigation starting point closest to the second positioning information in the navigation route map according to the second positioning information; generate a pick-up route for the vehicle according to the second positioning information, the target navigation starting point and the navigation route map, and display the pick-up route in the display interface of the driver end.
[0075] Furthermore, the above-mentioned online car-hailing device may also include: a driving route display module;
[0076] The driving route display module is used to send the pick-up driving route and the second positioning information to the dispatch server through the driver end; send a route display request to the dispatch server through the taxi application web end, and the route display request includes the order identification number; respond to the route display request through the dispatch server, determine the real-time driving route according to the pick-up driving route and the second positioning information, and send the real-time driving route to the taxi application web end, so that the taxi application web end displays the real-time driving route in the display interface of the taxi application web end.
[0077] Optionally, the taxi navigation route includes at least two candidate routes;
[0078] Furthermore, the above-mentioned online car-hailing device may also include: a target route selection module;
[0079] The target route selection module is used to receive the driver's selection operation for the at least two candidate routes through the driver's end after the navigation route map is displayed in the display interface of the driver's end, and determine the target route from the at least two candidate routes.
[0080] The target route selection module is also used to receive the route selection result sent by the dispatch server through the driver side after displaying the navigation route map in the display interface of the driver side, and determine the target route from the at least two candidate routes based on the route selection result. The route selection result is the user's selection result of the at least two candidate routes in the taxi application web side, and the taxi application web side sends the route selection result to the dispatch server.
[0081] The online car-hailing device provided in this embodiment can be applied to the online car-hailing method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0082] Figure 4It is a block diagram of an electronic device for implementing a method of taking a ride-hailing car on a network of an embodiment of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0083] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0084] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0085] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the online car-hailing method.
[0086] In some embodiments, the online car-hailing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the online car-hailing method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the online car-hailing method in any other appropriate manner (for example, by means of firmware).
[0087] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0088] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0089] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0090] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0091] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0092] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0093] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. For example, those skilled in the art can use the various forms of processes shown above to reorder, add, or delete steps; the steps recorded in the present application can be performed in parallel, sequentially, or in different orders, as long as the desired results of the technical solution of the present application can be achieved, and this document does not limit them here.
[0094] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A method for hailing a taxi through an online car-hailing service, characterized in that: Applied to an online taxi-hailing system, the online taxi-hailing system includes a taxi-hailing application web terminal, multiple map servers and a dispatch server, the taxi-hailing application web terminal is configured with navigation maps of multiple manufacturers, each navigation map corresponds to the map server of each manufacturer, and the taxi-hailing application web terminal is connected to the multiple map servers and the dispatch server respectively; the method includes: The taxi-hailing application web terminal obtains the first positioning information of the user in response to the triggering operation of the taxi-hailing function; determines a target navigation map providing navigation services for the user from multiple navigation maps based on the first positioning information; and receives the address information input by the user and sends the address information to a target map server corresponding to the target navigation map; The target map server generates a taxi navigation route according to the address information, and sends the taxi navigation route to the taxi application web terminal; The taxi application web terminal generates an order identification number for the taxi order, associates the order identification number with the taxi navigation route to obtain taxi association information, and sends the taxi association information to the dispatch server, so that the dispatch server processes the user's taxi task based on the taxi association information.
2. The method for hailing a taxi through an online car-hailing service according to claim 1, characterized in that: The determining, according to the first positioning information, from the plurality of navigation maps, a target navigation map for providing navigation service to the user, comprises: The taxi-hailing application web terminal determines the number of first users in the location of the user according to the first positioning information; determines the proportion of the first users using the multiple navigation maps; determines the operating status of the map servers corresponding to the multiple navigation maps; and determines a target navigation map for providing navigation services to the user from the multiple navigation maps based on the proportion, the operating status and a preset desired navigation map; Among them, the first user is a user who is currently using the taxi application web version to take a taxi, the expected navigation map is determined by at least one of the manufacturer's service fee of the navigation map and the navigation capability of the navigation map, the number of the expected navigation maps is less than the number of the multiple navigation maps, the number of the expected navigation maps is zero or at least one, and when the number of the expected navigation maps is at least one, the expected navigation map is included in the multiple navigation maps.
3. The method for hailing a taxi through an online car-hailing service according to claim 1, characterized in that: The online car-hailing system also includes a driver terminal, which is connected to the dispatch server; The dispatch server processes the user's taxi-hailing task based on the taxi-hailing associated information, including: The driver sends an order acceptance request to the dispatch server, wherein the order acceptance request includes the order identification number; The dispatch server searches for the taxi navigation route associated with the order identification number from the taxi-related information, and sends the taxi navigation route to the driver terminal; The driver side draws a corresponding navigation route map based on the taxi navigation route, and displays the navigation route map in the display interface of the driver side.
4. The method for hailing a taxi through an online car-hailing service according to claim 3, characterized in that: The method further comprises: The driver end obtains the second positioning information of the vehicle and determines whether the second positioning information is the starting point of the navigation route map; if not, a target navigation starting point closest to the second positioning information is determined in the navigation route map based on the second positioning information; a pick-up route is generated for the vehicle based on the second positioning information, the target navigation starting point and the navigation route map, and the pick-up route is displayed in a display interface of the driver end.
5. The method for hailing a taxi through an online car-hailing service according to claim 4, characterized in that: The method further comprises: The driver sends the pick-up and drop-off route and the second positioning information to the dispatch server; The taxi-hailing application web terminal sends a route display request to the dispatch server, wherein the route display request includes the order identification number; The dispatch server responds to the route display request, determines the real-time driving route based on the pick-up and drop-off driving route and the second positioning information, and sends the real-time driving route to the taxi-hailing application web terminal, so that the taxi-hailing application web terminal displays the real-time driving route in the display interface of the taxi-hailing application web terminal.
6. The method for hailing a taxi through an online car-hailing service according to claim 3, characterized in that: The taxi navigation route includes at least two candidate routes; after displaying the navigation route map in the display interface of the driver terminal, the method further includes: The driver terminal receives a selection operation of the driver for the at least two candidate routes, and determines a target route from the at least two candidate routes.
7. The method for hailing a taxi through an online car-hailing service according to claim 3, characterized in that: The taxi navigation route includes at least two candidate routes; after displaying the navigation route map in the display interface of the driver terminal, the method further includes: The driver side receives the route selection result sent by the dispatch server, and determines the target route from the at least two candidate routes based on the route selection result. The route selection result is the user's selection result of the at least two candidate routes in the taxi application web side. The taxi application web side sends the route selection result to the dispatch server.
8. A device for booking a taxi online, characterized in that: The device is configured in an online taxi-hailing system, wherein the online taxi-hailing system includes a taxi-hailing application web terminal, multiple map servers and a dispatch server, wherein the taxi-hailing application web terminal is configured with navigation maps of multiple manufacturers, each navigation map corresponds to a map server of a respective manufacturer, and the taxi-hailing application web terminal is connected to the multiple map servers and the dispatch server respectively; the device includes: A navigation map determination module is used to obtain the first positioning information of the user in response to the triggering operation of the taxi-hailing function through the taxi-hailing application web terminal; determine a target navigation map that provides navigation services for the user from multiple navigation maps based on the first positioning information; when receiving the address information input by the user, send the address information to the target map server corresponding to the target navigation map; A navigation route generation module, used to generate a taxi navigation route according to the address information through the target map server, and send the taxi navigation route to the taxi application web end; The taxi task processing module is used to generate an order identification number for a taxi order through the taxi application web terminal, associate the order identification number with the taxi navigation route to obtain taxi association information, and send the taxi association information to the dispatch server so that the dispatch server processes the user's taxi task based on the taxi association information.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the online car-hailing method described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the online car-hailing method described in any one of claims 1 to 7 when executed.
