Taxi taking method and device, terminal, storage medium and product
Receive user voice commands through voice recognition technology, and automatically determine the starting point, destination and vehicle type of taxi-hailing, solving the problem of inconvenient taxi-hailing operation in the existing technology, and achieving more efficient, accurate and convenient taxi-hailing services.
Patent Information
- Application Number
- CN202411388459.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-02-11
AI Technical Summary
In the prior art, the taxi-hailing process requires the user to manually enter the starting point, destination and select the vehicle type, which is inconvenient to operate.
By receiving user voice data, using voice recognition technology to determine the destination and vehicle type, generating taxi order information, and achieving voice commands to quickly complete the taxi-hailing process.
It improves the convenience of taxi rides, shortens the operation time, reduces the possibility of input errors, and improves the efficiency and accuracy of taxi rides.
Smart Images

Figure CN119417681A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of voice signal processing technology, and in particular to a taxi-hailing method, device, terminal, storage medium and product. Background Art
[0002] With the development of Internet technology, taking a taxi has gradually evolved from hailing a taxi on the street to hailing a taxi through a mobile phone. Before hailing a taxi through a mobile phone, you need to install a taxi application on your mobile phone, and then hail a taxi based on the taxi application.
[0003] In the related art, the process of hailing a taxi based on a taxi application can be: starting the taxi application, displaying the main interface of the taxi application, and the user can enter the starting point (or the taxi software locates the starting point), destination and select the vehicle type through the main interface of the taxi application. The taxi application calls the corresponding vehicle for the user based on the starting point, destination and vehicle type.
[0004] In the related art, the user is required to manually input the starting point, the destination and select the vehicle type, which makes the operation inconvenient. Summary of the invention
[0005] The embodiments of the present application provide a taxi-hailing method, device, terminal, storage medium and product, which can improve the convenience of taxi-hailing. The technical solution is as follows:
[0006] In one aspect, a taxi-hailing method is provided, the method comprising:
[0007] receiving first voice data of a user, and determining a destination based on the first voice data;
[0008] Based on the starting point and the destination, determining resource values corresponding to a plurality of vehicle types, respectively, wherein the resource value corresponding to any vehicle type is used to represent the resource value required for the user to travel from the starting point to the destination by taking the vehicle corresponding to the vehicle type;
[0009] Playing vehicle type selection information, the vehicle type selection information including the multiple vehicle types and resource values corresponding to the multiple vehicle types respectively;
[0010] receiving second voice data of the user, and determining a selected vehicle type based on the second voice data;
[0011] Based on the starting point, the destination and the selected vehicle type, first taxi order information is generated.
[0012] In a possible implementation manner, determining a destination based on the first voice data includes:
[0013] Recognize the first voice data through a voice recognition model to obtain a first voice instruction;
[0014] In a case where the first voice instruction includes a location keyword, the destination is determined based on the location keyword.
[0015] In another possible implementation, determining the destination based on the location keyword includes:
[0016] In the case where the location keyword corresponds to an address and the address corresponding to the location keyword is the only address in the area where the starting point is located, determining the only address corresponding to the location keyword as the destination;
[0017] In the case where the location keyword corresponds to an address but the address corresponding to the location keyword is not the only address in the area where the starting point is located, location confirmation information is played, the location confirmation information includes multiple locations corresponding to the location keyword, the user's third voice data is received, the selected address is determined based on the third voice data, and the selected address is determined as the destination.
[0018] In another possible implementation, determining the destination based on the location keyword includes:
[0019] When the location keyword has no corresponding address, based on the location keyword and tag information of multiple locations, the location whose tag information matches the location keyword is matched from the multiple locations, and the matched location is determined as the destination. The tag information of the multiple locations is determined based on the user's historical taxi record.
[0020] In another possible implementation, the method further includes:
[0021] Determine the starting point, destination and taxi time of multiple historical taxi records of the user;
[0022] Based on the starting point, destination and taxi time of the multiple historical taxi records, label information of multiple locations is determined, and the multiple locations include multiple starting points and destinations of the multiple historical taxi records, and the label information of any location is used to represent the abbreviation of the location.
[0023] In another possible implementation, determining the destination based on the location keyword includes:
[0024] In the case that the location keyword has no corresponding address, the location keyword is converted into the destination based on the speech recognition model.
[0025] In another possible implementation, the method further includes:
[0026] Based on the user's multiple historical taxi-hailing records, the speech recognition model is optimized so that the optimized speech recognition model has the ability to convert the location keyword into the destination.
[0027] In another possible implementation, the method further includes:
[0028] In the case where the first voice instruction does not include a location keyword, determining the taxi information corresponding to the first voice instruction from a correspondence between the voice instruction and the taxi information, the taxi information including a destination and a vehicle type, and the correspondence between the voice instruction and the taxi information is set in advance by the user;
[0029] Based on the starting point and the taxi order information, second taxi order information is generated.
[0030] In another possible implementation, determining resource values corresponding to a plurality of vehicle types respectively based on the starting point and the destination includes:
[0031] Determining road condition information of a plurality of driving routes, wherein the plurality of driving routes are a plurality of driving routes from the starting point to the destination;
[0032] Determining a target driving route based on the road condition information of the multiple driving routes;
[0033] Determine resource values for vehicles corresponding to the multiple vehicle types to travel from the starting point to the destination based on the target driving route.
[0034] On the other hand, a taxi-hailing device is provided, the device comprising:
[0035] A receiving module, used for receiving first voice data of a user;
[0036] A first determining module, configured to determine a destination based on the first voice data;
[0037] A second determination module is used to determine resource values corresponding to a plurality of vehicle types based on a starting point and the destination, wherein the resource value corresponding to any vehicle type is used to represent the resource value required for the user to travel from the starting point to the destination by taking the vehicle corresponding to the vehicle type;
[0038] A playing module, used for playing vehicle type selection information, wherein the vehicle type selection information includes the plurality of vehicle types and resource values corresponding to the plurality of vehicle types respectively;
[0039] The receiving module is further used to receive second voice data of the user, and determine the selected vehicle type based on the second voice data;
[0040] A generation module is used to generate first taxi order information based on the starting point, the destination and the selected vehicle type.
[0041] In a possible implementation, the first determination module is configured to obtain a first voice instruction by recognizing the first voice data through a voice recognition model; and when the first voice instruction includes a location keyword, determine the destination based on the location keyword.
[0042] In another possible implementation, the first determining module is configured to determine the unique address corresponding to the location keyword as the destination when the location keyword corresponds to an address and the address corresponding to the location keyword is the only address in the area where the starting point is located;
[0043] The first determination module is used to play location confirmation information when the location keyword corresponds to an address but the address corresponding to the location keyword is not the only address in the area where the starting point is located, the location confirmation information includes multiple locations corresponding to the location keyword, receives the user's third voice data, determines the selected address based on the third voice data, and determines the selected address as the destination.
[0044] In another possible implementation, the first determination module is used to match a place whose tag information matches the place keyword from among the multiple places, based on the place keyword and tag information of multiple places, when there is no corresponding address for the place keyword, and determine the matched place as the destination, wherein the tag information of the multiple places is determined based on the user's historical taxi record.
[0045] In another possible implementation, the device further includes:
[0046] A third determination module is used to determine the starting point, destination and taxi time of multiple historical taxi records of the user;
[0047] The fourth determination module is used to determine the label information of multiple locations based on the starting point, destination and taxi time of the multiple historical taxi records. The multiple locations include multiple starting points and destinations of the multiple historical taxi records, and the label information of any location is used to represent the abbreviation of the location.
[0048] In another possible implementation, the first determination module is configured to convert the location keyword into the destination based on the speech recognition model when the location keyword has no corresponding address.
[0049] In another possible implementation, the device further includes:
[0050] The optimization module is used to optimize the speech recognition model based on the user's multiple historical taxi records, so that the optimized speech recognition model has the ability to convert the location keyword into the destination.
[0051] In another possible implementation, the device further includes:
[0052] a fifth determining module, configured to determine the taxi information corresponding to the first voice instruction from a correspondence between the voice instruction and the taxi information when the first voice instruction does not include a location keyword, the taxi information including a destination and a vehicle type, the correspondence between the voice instruction and the taxi information being set in advance by the user;
[0053] The generating module is further used to generate second taxi order information based on the starting point and the taxi information.
[0054] In another possible implementation, the second determination module is used to determine the road condition information of multiple driving routes, where the multiple driving routes are multiple driving routes from the starting point to the destination; determine the target driving route based on the road condition information of the multiple driving routes; and determine the resource values of vehicles corresponding to the multiple vehicle types traveling from the starting point to the destination based on the target driving route.
[0055] On the other hand, a terminal is provided, which includes one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the taxi-hailing method described in any of the above-mentioned implementation methods.
[0056] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the taxi-hailing method described in any of the above-mentioned implementation modes.
[0057] On the other hand, a computer program product is provided, which includes a computer program code, and the computer program code is stored in a computer-readable storage medium. A processor of a terminal reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the terminal executes the taxi-hailing method described in any of the above-mentioned implementation methods.
[0058] The taxi-hailing method provided in the embodiment of the present application is a voice-based taxi-hailing method, that is, using voice recognition technology, allowing users to quickly complete the taxi-hailing process through voice commands. That is, when a user wants to take a taxi, the user can complete the taxi-hailing process by saying the destination and vehicle type through voice, thereby improving the convenience of taxi services. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] 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.
[0060] Figure 1 It is a schematic diagram of an implementation environment of a taxi-hailing method provided in an embodiment of the present application;
[0061] Figure 2 is a flow chart of a taxi-hailing method provided in an embodiment of the present application;
[0062] Figure 3 is a flow chart of another taxi-hailing method provided in an embodiment of the present application;
[0063] Figure 4 is a block diagram of a taxi-hailing device provided in an embodiment of the present application;
[0064] Figure 5 It is a structural block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0066] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the voice data involved in this application (including but not limited to the first voice data, the second voice data and the third voice data) are all obtained with full authorization.
[0067] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "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 limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0068] Figure 1 The implementation environment of a taxi-hailing method provided in the embodiment of the present application includes a terminal 101 and a server 102. The taxi-hailing application is installed in the terminal 101, and the terminal 101 implements functions such as data transmission and information interaction with the server 102 through the taxi-hailing application. The taxi-hailing application can be an independent application, or a small program or public account hosted in the main application; in the embodiment of the present application, the specific form of the taxi-hailing application is not specifically limited.
[0069] Terminal 101 is any device with voice data collection function, such as a smart phone, tablet computer, laptop computer or smart wearable device (smart watch or smart bracelet), but is not limited thereto. Server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0070] Figure 2 is a flow chart of a taxi-hailing method provided in an embodiment of the present application, wherein the execution subject of the method is a terminal; see Figure 2 , the method comprising:
[0071] Step 201: Receive first voice data of a user, and determine a destination based on the first voice data.
[0072] A taxi-hailing application is installed on the terminal. After the user starts the taxi-hailing application in the terminal, the taxi-hailing process is completed through voice data; accordingly, this step can be: receiving the user's first voice data, determining whether the first voice data is used for hailing a taxi; when the first voice data is used for hailing a taxi, determining the destination based on the first voice data; when the first voice data is not used for hailing a taxi, executing the control instruction corresponding to the first voice data.
[0073] In one possible implementation, the step of determining the destination based on the first voice data may include: converting the first voice data into text information, and extracting the destination from the text information. In another possible implementation, the first voice data is input into a voice recognition model, and the destination is output.
[0074] One point that needs to be explained is that before obtaining the user's first voice data, the user's authorization must be obtained first, and the first voice data is obtained only after obtaining the user's authorization, so as to avoid infringing the user's privacy. In addition, the terminal can ask the user whether to allow the user's voice data to be obtained before obtaining the user's voice data each time, so as to obtain the user's authorization; or, when the user uses the taxi application for the first time, a prompt interface is displayed, and the prompt interface is used to prompt whether to allow the user's voice data to be obtained. If the user triggers the confirmation operation, the terminal obtains the user's authorization; if the user triggers the cancellation operation, the terminal does not obtain the user's authorization, that is, the voice data can be obtained subsequently through one authorization.
[0075] Step 202: Based on the starting point and the destination, determine the resource values corresponding to multiple vehicle types respectively, and the resource value corresponding to any vehicle type is used to represent the resource value required for the user to travel from the starting point to the destination by the vehicle corresponding to the vehicle type.
[0076] The resource value may be the value of a virtual resource or the value of a physical resource; the virtual resource may be a coupon or a gold coin, etc.; the physical resource may be money, etc. The starting point may be a location point located by the terminal, or may be a location point input by the user through voice; in the case where the starting point is a location point input by the user through voice, the user may input the starting point together with the destination input through voice, or may input the starting point before or after inputting the destination. In the case where the user inputs the starting point together with the destination input through voice, the terminal may determine not only the destination but also the starting point based on the first voice data; in the case where the user inputs the starting point before or after inputting the destination, the terminal receives the sixth voice data and determines the starting point based on the sixth voice data.
[0077] The step of determining the starting point based on the sixth voice data may include: converting the sixth voice data into text information, and extracting the starting point from the text information. In another possible implementation, the sixth voice data is input into a voice recognition model, and the starting point is output.
[0078] When determining the resource values corresponding to the multiple vehicle types, the driving route is first determined, and then the resource values of the vehicles corresponding to the multiple vehicle types when driving along the driving route are determined. In a possible implementation, when determining the driving route, road condition information can be combined; accordingly, this step can be implemented by the following steps (1) to (3), including:
[0079] (1) Determine road condition information of a plurality of driving routes, where the plurality of driving routes are a plurality of driving routes from a starting point to a destination.
[0080] The terminal sends an acquisition request to the server, and the acquisition request carries a starting point and a destination; the server receives the acquisition request, determines multiple driving routes from the starting point to the destination based on the starting point and the destination carried in the acquisition request, obtains road condition information of the multiple driving routes, and sends the road condition information of the multiple driving routes to the terminal; the terminal receives the road condition information of the multiple driving routes sent by the server.
[0081] (2) Determine a first target driving route based on road condition information of multiple driving routes.
[0082] Based on the traffic information of the plurality of driving routes, a first target driving route having the best traffic information is determined from the plurality of driving routes.
[0083] (3) Determine resource values for vehicles corresponding to multiple vehicle types to travel from a starting point to a destination based on a first target driving route.
[0084] In the embodiment of the present application, real-time traffic analysis is supported, that is, real-time traffic information is integrated and the best route is recommended to the user in combination with the user's destination, thereby improving the efficiency of riding.
[0085] In another possible implementation, when determining the driving route, it may also be combined with whether the user indicates a waypoint; accordingly, step 202 may be: determining whether the user indicates a waypoint; in the case where the user indicates a waypoint, determining a second target driving route based on the starting point, the waypoint and the destination, wherein the starting point and the destination of the second target driving route are the starting point and the destination, respectively, and the second target driving route passes through the waypoint; determining the resource values of vehicles corresponding to multiple vehicle types traveling from the starting point to the destination based on the second target driving route. Wherein, the waypoint may be indicated in the first voice data or in the user's subsequent fourth voice data. In an embodiment of the present application, the user voice completes the taxi-hailing process, and also supports indicating the waypoint, thereby improving the flexibility of taxi-hailing.
[0086] In another possible implementation, the user's historical taxi record may be combined when determining the driving route; accordingly, step 202 may be: based on the starting point and the destination, determine the target historical taxi record from the user's historical taxi record, the historical driving route of the target historical taxi record includes the starting point and the destination, determine a third target driving route based on the starting point, the destination and the target historical taxi record, and determine the resource values of vehicles corresponding to multiple vehicle types traveling from the starting point to the destination based on the third target driving route.
[0087] The target historical taxi record includes a target historical driving route, and the target historical driving route includes the starting point and the destination; accordingly, the step of determining the third target driving route based on the starting point, the destination and the target historical taxi record may be: determining the driving route from the starting point to the destination from the historical driving routes included in the target historical taxi record, and determining the determined driving route as the third target driving route. In the embodiment of the present application, the driving route is determined based on the user's historical taxi record, so as to recommend a familiar driving route to the user.
[0088] Step 203: Play vehicle type selection information, where the vehicle type selection information includes multiple vehicle types and resource values corresponding to the multiple vehicle types.
[0089] The vehicle type selection information includes all vehicle types supported by the taxi-hailing application; or the vehicle type selection information includes some vehicle types supported by the taxi-hailing application; in the case where the vehicle type selection information includes some vehicle types supported by the taxi-hailing application, the process of selecting some vehicle types from all vehicle types supported by the taxi-hailing application may be:
[0090] The first implementation method: based on the resource values corresponding to all vehicle types supported by the taxi application, determine the vehicle type whose resource value does not exceed the preset resource value from all vehicle types supported by the taxi application. In the embodiment of the present application, the user is given priority to recommending a relatively cheap vehicle type, thereby saving the taxi cost.
[0091] For the first implementation method, after determining multiple vehicle types, the terminal sorts the multiple vehicle types in ascending order based on the resource values corresponding to the multiple vehicle types; therefore, the played vehicle type selection information includes the vehicle types sorted in ascending order according to the resource values and the resource values corresponding to the vehicle types.
[0092] The second implementation method: based on the waiting times corresponding to all vehicle types supported by the taxi application, determine the vehicle type whose waiting time is less than the preset time from all vehicle types supported by the taxi application. In the embodiment of the present application, the vehicle type that arrives faster is recommended to the user first, thereby saving the waiting time for the taxi.
[0093] For the second implementation method, after determining multiple vehicle types, the terminal sorts the multiple vehicle types in ascending order of waiting time based on the waiting times corresponding to the multiple vehicle types; therefore, the played vehicle type selection information includes the vehicle types sorted in ascending order of waiting time and the resource values corresponding to the vehicle types.
[0094] A third implementation method may comprehensively combine resource values and waiting times; accordingly, this step may be: weighted summing up the resource values and waiting times corresponding to all vehicle types supported by the taxi application, to obtain a comprehensive score for all vehicle types supported by the taxi application, where the comprehensive score of any vehicle type is used to represent the comprehensive quality of the vehicle type, and the higher the comprehensive score of the vehicle type, the higher the comprehensive quality of the vehicle type; based on the comprehensive scores of all vehicle types supported by the taxi application, determine the vehicle type whose comprehensive score is greater than the preset score from among all vehicle types supported by the taxi application.
[0095] For the third implementation method, after determining multiple vehicle types, the terminal sorts the multiple vehicle types in ascending order based on the comprehensive scores of the multiple vehicle types; therefore, the played vehicle type selection information includes the vehicle types sorted in ascending order according to the comprehensive scores and the resource values corresponding to the vehicle types.
[0096] In the related art, users are required to manually input the destination and select the type of vehicle. This process may be time-consuming and may result in errors. In other words, the related art not only leads to low efficiency in hailing a taxi, but also reduces the accuracy of hailing a taxi. Moreover, for some users, text input may not be convenient enough, such as when the user is driving or walking, which means that the related art reduces the convenience of hailing a taxi. In the embodiment of the present application, the user can quickly complete the taxi-hailing process through voice commands, that is, when the user wants to take a taxi, the user can complete the taxi-hailing process by speaking the destination and vehicle type; and this process is not only time-consuming, but also not prone to errors and is relatively convenient; therefore, the taxi-hailing method provided in the embodiment of the present application can improve the efficiency of hailing a taxi, and improve the accuracy and convenience of hailing a taxi.
[0097] One point that needs to be explained is that the vehicle type selection information may not include multiple vehicle types and resource values corresponding to the multiple vehicle types. Instead, the terminal selects the target vehicle type from the resource values corresponding to the multiple vehicle types based on the resource values corresponding to the multiple vehicle types, and then plays the vehicle type selection information. The vehicle type selection information includes the target vehicle type and the resource values corresponding to the target vehicle type, so that the user can directly reply to confirm or deny to select the vehicle type.
[0098] Step 204: Receive second voice data of the user, and determine the selected vehicle type based on the second voice data.
[0099] The selected vehicle type may be one or more. In some embodiments, after receiving the second voice data, it is determined whether the second voice data includes the selected vehicle type; if the second voice data includes the selected vehicle type, the selected vehicle type is determined based on the second voice data; if the second voice data does not include the selected vehicle type, the control instruction corresponding to the second voice data is executed; for example, if the second voice data is to cancel the taxi, the terminal cancels the taxi operation; for another example, if the second voice data is to change the destination, the terminal determines the destination from the second voice data, changes the destination determined from the first voice data to the destination determined from the second voice data, and then executes step 202.
[0100] One thing that needs to be explained is that in step 203, the vehicle type selection information includes the target vehicle type and the resource value corresponding to the target vehicle type, so that the user can directly reply to confirm or deny to select the vehicle type. For example, when the user is sure to select the target vehicle type, the user replies "yes" or "confirm", etc.; for another example, when the user does not select the target vehicle type, the user replies "no" or "switch vehicle type", etc.; accordingly, the step of determining the selected vehicle type based on the second voice data can be: when the second voice data is a confirmation instruction ("yes" or "confirm"), determine that the selected vehicle type is the target vehicle type; when the second voice data is a denial instruction ("no" or "switch vehicle type"), reselect the vehicle type.
[0101] In one possible implementation, the second voice data indicates the reselected vehicle type; accordingly, the step of reselecting the vehicle type may be: re-determining the selected vehicle type from the second voice data; in another possible implementation, the second voice data does not indicate the reselected vehicle type; accordingly, the step of reselecting the vehicle type may be: the terminal reselects the target vehicle type from multiple vehicle types based on the resource values corresponding to the multiple vehicle types, and then plays the vehicle type selection information here, the vehicle type selection information includes the reselected target vehicle type and the resource values corresponding to the target vehicle type, and then continues to let the user choose whether to confirm the selection of the reselected target vehicle type until the selected vehicle type is re-determined.
[0102] Step 205: Generate the first taxi order information based on the starting point, the destination and the selected vehicle type.
[0103] The first taxi order information includes a starting point, a destination and a selected vehicle type; after the terminal generates the first taxi order information, it sends the first taxi order information to the server; the server receives the first taxi order information, and based on the selected vehicle type, sends the first taxi order information to the terminal corresponding to the vehicle of the selected vehicle type, and the terminal corresponding to the vehicle of the selected vehicle type receives the first taxi order information, and provides taxi service to the user based on the first taxi order information.
[0104] The taxi-hailing method provided in the embodiment of the present application is a voice-based taxi-hailing method, that is, using voice recognition technology, allowing users to quickly complete the taxi-hailing process through voice commands. That is, when a user wants to take a taxi, the user can complete the taxi-hailing process by saying the destination and vehicle type through voice, thereby improving the convenience of taxi services.
[0105] Figure 3is a flow chart of a taxi-hailing method provided in an embodiment of the present application, wherein the execution subject of the method is a terminal; see Figure 3 , the method comprising:
[0106] Step 301: The terminal receives first voice data of a user, and recognizes the first voice data through a voice recognition model to obtain a first voice instruction.
[0107] In one possible implementation, a speech recognition model is stored in the terminal. In this step, the terminal uses the locally stored speech recognition model to recognize the first speech data to obtain the first speech instruction; the speech recognition model stored in the terminal can be trained by the terminal or by the server. In another possible implementation, the speech recognition model is not stored in the terminal, and the speech recognition model is stored in the server; accordingly, the step of the terminal recognizing the first speech data to obtain the first speech instruction through the speech recognition model can be: the terminal sends the first speech data to the server; the server receives the first speech data, recognizes the first speech data through the speech recognition model to obtain the first speech instruction, and sends the first speech instruction to the terminal; the terminal receives the first speech instruction sent by the server.
[0108] After the terminal determines the first voice instruction, it determines whether the first voice instruction contains a location keyword. If the first voice instruction contains the location keyword, step 302 is executed; if the first voice instruction does not contain the location keyword, step 307 is executed.
[0109] Step 302: When the first voice instruction includes a location keyword, the terminal determines a destination based on the location keyword.
[0110] A location keyword is a keyword used to indicate a location; and a location keyword can be a specific location (for example, a location keyword is a certain shopping mall or a certain office building), that is, the location keyword corresponds to an address; a location keyword can also be a synonym for a certain location (for example, home or company, etc.), that is, the location keyword has no corresponding address.
[0111] The first implementation method: when the location keyword corresponds to an address and the address corresponding to the location keyword is the only address in the area where the starting point is located, the unique address corresponding to the location keyword is determined as the destination.
[0112] The region where the starting point is located can be the region divided by the city where the starting point is located, or the region where the starting point is located can be the city where the starting point is located, or the region where the starting point is located can be the province where the starting point is located. For example, if the user wants to go to "AA Mall", and "AA Mall" is unique in the region where the starting point is located, then the address corresponding to "AA Mall" is the destination.
[0113] The second implementation method: when the location keyword corresponds to an address but the address corresponding to the location keyword is not the only address in the area where the starting point is located, the terminal plays location confirmation information, the location confirmation information includes multiple locations corresponding to the location keyword, receives the user's third voice data, determines the selected address based on the third voice data, and determines the selected address as the destination.
[0114] The third voice data includes the selected address; or, the third voice data includes the serial number of the selected address; accordingly, the step for the terminal to determine the selected address based on the third voice data may be: the terminal determines the serial number of the selected address from the third voice data, and determines the selected address based on the serial number of the selected address.
[0115] The third implementation method: when there is no corresponding address for the location keyword, based on the location keyword and the label information of multiple locations, the location whose label information matches the location keyword is matched from multiple locations, and the matched location is determined as the destination. The label information of multiple locations is determined based on the user's historical taxi record.
[0116] For example, if the location keyword is "home" or "company", the label information corresponding to address A is determined to be "home" and the label information corresponding to address B is "company" based on the user's historical taxi records; in this step, when the location keyword is "home", the destination is determined to be address A; when the location keyword is "company", the destination is determined to be address B.
[0117] Before this step, the terminal needs to determine the label information of multiple locations. The process can be: the terminal determines the starting point, destination and taxi time of multiple historical taxi records of the user; based on the starting point, destination and taxi time of multiple historical taxi records, the label information of multiple locations is determined, and the multiple locations include multiple starting points and destinations of multiple historical taxi records, and the label information of any location is used to represent the abbreviation of the location.
[0118] For example, the user often takes a taxi from location A to location B between 8:00 and 9:00 in the morning, and from location B to location A between 6:00 and 7:00 in the evening. The terminal determines that the tag information of location A is "home" and the tag information of location B is "company".
[0119] The fourth implementation method: When the location keyword does not have a corresponding address, the terminal converts the location keyword into a destination based on the voice recognition model. The voice recognition model has the ability to understand and can convert the keyword into a destination when there is no corresponding address for the location keyword, thereby improving the user experience and the accuracy of the service.
[0120] Before this step, the terminal needs to optimize the speech recognition model. The process may be: the terminal optimizes the speech recognition model based on multiple historical taxi-hailing records of the user, so that the optimized speech recognition model has the ability to convert location keywords into destinations.
[0121] One point that needs to be explained is that the process of optimizing the speech recognition model can be executed by the server; accordingly, the server stores the user's historical taxi records, and based on the user's historical taxi records, optimizes the speech recognition model so that the optimized speech recognition model has the ability to convert location keywords into destinations. In one possible implementation, after the server optimizes the speech recognition model, the optimized speech recognition model can be deployed to the terminal, and the terminal converts location keywords into destinations based on the optimized speech recognition model. In another possible implementation, after the server optimizes the speech recognition model, the optimized speech recognition model can be deployed to the server, and the server converts location keywords into destinations based on the optimized speech recognition model, and sends the destination to the terminal.
[0122] Another point that needs to be explained is that when the server stores the user's historical taxi records, it encrypts and anonymizes the user's historical taxi records to ensure the user's privacy and security.
[0123] Step 303: The terminal determines resource values corresponding to multiple vehicle types based on the starting point and the destination. The resource value corresponding to any vehicle type is used to represent the resource value required for the user to take the vehicle corresponding to the vehicle type from the starting point to the destination.
[0124] In some embodiments, this step is the same as step 202 and will not be repeated here.
[0125] Step 304: Play vehicle type selection information, where the vehicle type selection information includes multiple vehicle types and resource values corresponding to the multiple vehicle types.
[0126] In some embodiments, this step is the same as step 203 and will not be repeated here.
[0127] Step 305: The terminal receives the second voice data of the user, and determines the selected vehicle type based on the second voice data.
[0128] In some embodiments, this step is the same as step 204 and will not be repeated here.
[0129] Step 306: The terminal generates the first taxi order information based on the starting point, the destination and the selected vehicle type.
[0130] In some embodiments, this step is the same as step 205 and will not be repeated here.
[0131] Step 307: When the first voice instruction does not include the location keyword, the terminal determines the taxi information corresponding to the first voice instruction from the corresponding relationship between the voice instruction and the taxi information.
[0132] The taxi information includes the destination and the vehicle type, and the corresponding relationship between the voice command and the taxi information is set in advance by the user. For example, the voice command is "take a taxi", and the taxi information corresponding to "take a taxi" is: destination: location A, and the vehicle type is vehicle A.
[0133] In an embodiment of the present application, the user can set the taxi information corresponding to the voice command in advance, so that when hailing a taxi, the user can directly say the voice command to trigger the terminal to carry out the taxi process, without having to repeat the destination and vehicle type, thereby improving the efficiency of hailing a taxi.
[0134] In one possible implementation, the taxi information may also include the destination but not the vehicle type; accordingly, after the terminal obtains the destination, it determines the resource values corresponding to the multiple vehicle types based on the starting point and the destination, the resource value corresponding to any vehicle type is used to represent the resource value required for the user to take the vehicle corresponding to the vehicle type from the starting point to the destination, plays the vehicle type selection information, the vehicle type selection information includes multiple vehicle types and the resource values corresponding to the multiple vehicle types, receives the user's fifth voice data, determines the selected vehicle type based on the fifth voice data, and generates third taxi order information based on the starting point, the destination and the selected vehicle type.
[0135] Step 308: The terminal generates second taxi order information based on the starting point and the taxi information.
[0136] The taxi order information includes the destination and the selected vehicle type. In this step, the terminal generates the second taxi order information based on the starting point, the destination and the selected vehicle type. This process is similar to step 205 and will not be repeated here.
[0137] The taxi-hailing method provided in the embodiment of the present application is a voice-based taxi-hailing method, that is, using voice recognition technology, allowing users to quickly complete the taxi-hailing process through voice commands. That is, when a user wants to take a taxi, the user can complete the taxi-hailing process by saying the destination and vehicle type through voice, thereby improving the convenience of taxi services.
[0138] Figure 4 is a block diagram of a taxi-hailing device provided in an embodiment of the present application; see Figure 4 , the device comprises:
[0139] The receiving module 401 is used to receive the first voice data of the user;
[0140] A first determination module 402, configured to determine a destination based on the first voice data;
[0141] The second determination module 403 is used to determine the resource values corresponding to the multiple vehicle types based on the starting point and the destination, and the resource value corresponding to any vehicle type is used to represent the resource value required for the user to travel from the starting point to the destination by the vehicle corresponding to the vehicle type;
[0142] A playing module 404 is used to play vehicle type selection information, where the vehicle type selection information includes multiple vehicle types and resource values corresponding to the multiple vehicle types;
[0143] The receiving module 401 is further used to receive second voice data of the user, and determine the selected vehicle type based on the second voice data;
[0144] The generation module 405 is used to generate the first taxi order information based on the starting point, the destination and the selected vehicle type.
[0145] In a possible implementation, the first determination module 402 is configured to recognize the first voice data through a voice recognition model to obtain a first voice instruction; and when the first voice instruction includes a location keyword, determine the destination based on the location keyword.
[0146] In another possible implementation, the first determining module 402 is configured to determine the unique address corresponding to the location keyword as the destination when the location keyword corresponds to an address and the address corresponding to the location keyword is the only address in the area where the starting point is located;
[0147] The first determination module 402 is used to play location confirmation information when a location keyword corresponds to an address but the address corresponding to the location keyword is not the only address in the area where the starting point is located, the location confirmation information includes multiple locations corresponding to the location keyword, receives the user's third voice data, determines the selected address based on the third voice data, and determines the selected address as the destination.
[0148] In another possible implementation, the first determination module 402 is used to match a location whose tag information matches the location keyword from multiple locations based on the location keyword and tag information of multiple locations when there is no corresponding address for the location keyword, and determine the matched location as the destination, and the tag information of the multiple locations is determined based on the user's historical taxi record.
[0149] In another possible implementation, the device further includes:
[0150] The third determination module is used to determine the starting point, destination and taxi time of multiple historical taxi records of the user;
[0151] The fourth determination module is used to determine the label information of multiple locations based on the starting point, destination and taxi time of multiple historical taxi records. The multiple locations include multiple starting points and destinations of multiple historical taxi records, and the label information of any location is used to represent the abbreviation of the location.
[0152] In another possible implementation, the first determination module 402 is configured to convert the location keyword into a destination based on a speech recognition model when the location keyword has no corresponding address.
[0153] In another possible implementation, the device further includes:
[0154] The optimization module is used to optimize the speech recognition model based on multiple historical taxi-hailing records of the user, so that the optimized speech recognition model has the ability to convert location keywords into destinations.
[0155] In another possible implementation, the device further includes:
[0156] a fifth determining module, configured to determine the taxi information corresponding to the first voice command from a correspondence between the voice command and the taxi information when the first voice command does not include a location keyword, the taxi information including a destination and a vehicle type, and the correspondence between the voice command and the taxi information is set in advance by the user;
[0157] The generation module 405 is further used to generate second taxi order information based on the starting point and the taxi order information.
[0158] In another possible implementation, the second determination module 403 is used to determine the road condition information of multiple driving routes, where the multiple driving routes are multiple driving routes from a starting point to a destination; determine a target driving route based on the road condition information of the multiple driving routes; and determine resource values of vehicles corresponding to multiple vehicle types traveling from the starting point to the destination based on the target driving route.
[0159] The taxi-hailing method provided in the embodiment of the present application is a voice-based taxi-hailing method, that is, using voice recognition technology, allowing users to quickly complete the taxi-hailing process through voice commands. That is, when a user wants to take a taxi, the user can complete the taxi-hailing process by saying the destination and vehicle type through voice, thereby improving the convenience of taxi services.
[0160] It should be noted that: the taxi-hailing device provided in the above embodiment is only illustrated by the division of the above functional modules when hailing a taxi. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the taxi-hailing device provided in the above embodiment and the taxi-hailing method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0161] Figure 5 1 is a block diagram of a terminal 500 provided in an embodiment of the present application. The terminal 500 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 500 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0162] Typically, the terminal 500 includes a processor 501 and a memory 502 .
[0163] The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0164] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 502 is used to store at least one program code, which is used to be executed by the processor 501 to implement the taxi-hailing method provided by the method embodiment of the present application.
[0165] In some embodiments, the terminal 500 may further optionally include: a peripheral device interface 503 and at least one peripheral device. The processor 501, the memory 502 and the peripheral device interface 503 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 503 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 504, a display screen 505, a camera assembly 506, an audio circuit 507 and a power supply 508.
[0166] The peripheral device interface 503 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, the memory 502, and the peripheral device interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral device interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0167] The radio frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 504 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 504 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 504 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0168] The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to collect touch signals on the surface or above the surface of the display screen 505. The touch signal can be input to the processor 501 as a control signal for processing. At this time, the display screen 505 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 505 can be one, set on the front panel of the terminal 500; in other embodiments, the display screen 505 can be at least two, respectively set on different surfaces of the terminal 500 or in a folding design; in other embodiments, the display screen 505 can be a flexible display screen, set on a curved surface or a folding surface of the terminal 500. Even, the display screen 505 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 505 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
[0169] The camera assembly 506 is used to capture images or videos. Optionally, the camera assembly 506 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 506 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0170] The audio circuit 507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 501 for processing, or input them into the radio frequency circuit 504 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 500. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 501 or the radio frequency circuit 504 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 507 may also include a headphone jack.
[0171] The power supply 508 is used to power various components in the terminal 500. The power supply 508 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 508 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0172] In some embodiments, the terminal 500 further includes one or more sensors 509 , including but not limited to: an acceleration sensor 510 , a gyroscope sensor 511 , a pressure sensor 512 , an optical sensor 513 , and a proximity sensor 514 .
[0173] The acceleration sensor 510 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 500. For example, the acceleration sensor 510 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 501 can control the display screen 505 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 510. The acceleration sensor 510 can also be used to collect game or user motion data.
[0174] The gyro sensor 511 can detect the body direction and rotation angle of the terminal 500, and the gyro sensor 511 can cooperate with the acceleration sensor 510 to collect the user's 3D actions on the terminal 500. The processor 501 can implement the following functions based on the data collected by the gyro sensor 511: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0175] The pressure sensor 512 can be set on the side frame of the terminal 500 and / or the lower layer of the display screen 505. When the pressure sensor 512 is set on the side frame of the terminal 500, it can detect the user's holding signal of the terminal 500, and the processor 501 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 512. When the pressure sensor 512 is set on the lower layer of the display screen 505, the processor 501 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 505. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0176] The optical sensor 513 is used to collect the ambient light intensity. In one embodiment, the processor 501 can control the display brightness of the display screen 505 according to the ambient light intensity collected by the optical sensor 513. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is reduced. In another embodiment, the processor 501 can also dynamically adjust the shooting parameters of the camera component 506 according to the ambient light intensity collected by the optical sensor 513.
[0177] The proximity sensor 514, also called a distance sensor, is usually arranged on the front panel of the terminal 500. The proximity sensor 514 is used to collect the distance between the user and the front of the terminal 500. In one embodiment, when the proximity sensor 514 detects that the distance between the user and the front of the terminal 500 is gradually decreasing, the processor 501 controls the display screen 505 to switch from the screen-on state to the screen-off state; when the proximity sensor 514 detects that the distance between the user and the front of the terminal 500 is gradually increasing, the processor 501 controls the display screen 505 to switch from the screen-off state to the screen-on state.
[0178] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the terminal 500, and the terminal 500 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0179] The embodiment of the present application also provides a computer-readable storage medium, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement the taxi-hailing method described in any of the above implementations. Optionally, the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, optical data storage device, etc.
[0180] An embodiment of the present application also provides a computer program product, which includes a computer program code. The computer program code is stored in a computer-readable storage medium. The processor of the terminal reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the terminal executes the taxi-hailing method of any of the above-mentioned implementations.
[0181] In some embodiments, the computer program product involved in the embodiments of the present application may be deployed and executed on one terminal, or on multiple terminals located at one location, or on multiple terminals distributed at multiple locations and interconnected by a communication network. Multiple terminals distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.
[0182] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A taxi-hailing method, characterized in that: The method comprises: receiving first voice data of a user, and determining a destination based on the first voice data; Based on the starting point and the destination, determining resource values corresponding to a plurality of vehicle types, respectively, wherein the resource value corresponding to any vehicle type is used to represent the resource value required for the user to travel from the starting point to the destination by taking the vehicle corresponding to the vehicle type; Playing vehicle type selection information, the vehicle type selection information including the multiple vehicle types and resource values corresponding to the multiple vehicle types respectively; receiving second voice data of the user, and determining a selected vehicle type based on the second voice data; Based on the starting point, the destination and the selected vehicle type, first taxi order information is generated.
2. The method according to claim 1, characterized in that The determining a destination based on the first voice data comprises: Recognize the first voice data through a voice recognition model to obtain a first voice instruction; In a case where the first voice instruction includes a location keyword, the destination is determined based on the location keyword.
3. The method according to claim 2, characterized in that The determining the destination based on the location keyword includes: In the case where the location keyword corresponds to an address and the address corresponding to the location keyword is the only address in the area where the starting point is located, determining the only address corresponding to the location keyword as the destination; In the case where the location keyword corresponds to an address but the address corresponding to the location keyword is not the only address in the area where the starting point is located, location confirmation information is played, the location confirmation information includes multiple locations corresponding to the location keyword, the user's third voice data is received, the selected address is determined based on the third voice data, and the selected address is determined as the destination.
4. The method according to claim 2, characterized in that: The determining the destination based on the location keyword includes: When the location keyword has no corresponding address, based on the location keyword and tag information of multiple locations, the location whose tag information matches the location keyword is matched from the multiple locations, and the matched location is determined as the destination. The tag information of the multiple locations is determined based on the user's historical taxi record.
5. The method according to claim 4, characterized in that The method further comprises: Determine the starting point, destination and taxi time of multiple historical taxi records of the user; Based on the starting point, destination and taxi time of the multiple historical taxi records, label information of multiple locations is determined, and the multiple locations include multiple starting points and destinations of the multiple historical taxi records, and the label information of any location is used to represent the abbreviation of the location.
6. The method according to claim 2, characterized in that The determining the destination based on the location keyword includes: In the case that the location keyword has no corresponding address, the location keyword is converted into the destination based on the speech recognition model.
7. The method according to claim 6, characterized in that The method further comprises: Based on the user's multiple historical taxi-hailing records, the speech recognition model is optimized so that the optimized speech recognition model has the ability to convert the location keyword into the destination.
8. The method according to claim 2, characterized in that: The method further comprises: In the case where the first voice instruction does not include a location keyword, determining the taxi information corresponding to the first voice instruction from a correspondence between the voice instruction and the taxi information, the taxi information including a destination and a vehicle type, and the correspondence between the voice instruction and the taxi information is set in advance by the user; Based on the starting point and the taxi order information, second taxi order information is generated.
9. The method according to claim 1, characterized in that: The determining of resource values corresponding to a plurality of vehicle types based on the starting point and the destination includes: Determining road condition information of a plurality of driving routes, wherein the plurality of driving routes are a plurality of driving routes from the starting point to the destination; Determining a target driving route based on the road condition information of the multiple driving routes; Determine resource values for vehicles corresponding to the multiple vehicle types to travel from the starting point to the destination based on the target driving route.
10. A taxi-hailing device, characterized in that: The device comprises: A receiving module, used for receiving first voice data of a user; A first determining module, configured to determine a destination based on the first voice data; A second determination module is used to determine resource values corresponding to a plurality of vehicle types based on a starting point and the destination, wherein the resource value corresponding to any vehicle type is used to represent the resource value required for the user to travel from the starting point to the destination by taking the vehicle corresponding to the vehicle type; A playing module, used for playing vehicle type selection information, wherein the vehicle type selection information includes the plurality of vehicle types and resource values corresponding to the plurality of vehicle types respectively; The receiving module is further used to receive second voice data of the user, and determine the selected vehicle type based on the second voice data; A generation module is used to generate first taxi order information based on the starting point, the destination and the selected vehicle type.
11. A terminal, characterized in that: The terminal includes one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the taxi-hailing method as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the taxi-hailing method as described in any one of claims 1 to 9.
13. A computer program product, characterized in that The computer program product includes a computer program code, which is stored in a computer-readable storage medium. The processor of the terminal reads the computer program code from the computer-readable storage medium, and the processor executes the computer program code, so that the terminal executes the taxi-hailing method as described in any one of claims 1 to 9.