Traffic restriction information determination method and device, and terminal

By receiving and converting voice commands into text commands for searching traffic restriction information, the problem of excessive user operations in existing technologies is solved, improving the convenience and accuracy of the query.

CN120853569APending Publication Date: 2025-10-28BEIJING XIAOMI INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511247885.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2019-03-11
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

In existing technologies, querying traffic restriction information requires users to perform numerous input operations on the terminal, resulting in a poor user experience.

Method used

By receiving users' voice commands, converting them into text commands, and searching for traffic restriction information based on key information, the search results are output.

Benefits of technology

It simplifies the process for users to query traffic restriction information, improving the accuracy of queries and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120853569A_ABST
    Figure CN120853569A_ABST
Patent Text Reader

Abstract

The invention relates to a traffic restriction information determination method and device and a terminal, and the method comprises the steps: receiving an input voice instruction which is used for querying traffic restriction information; performing traffic control information search according to key information contained in the voice instruction to obtain a search result; and outputting the search result. According to the method, the terminal can inquire the traffic control information according to the voice instruction of the user as long as the user says the voice instruction for inquiring the traffic control information, so that the inquiry process of the user is greatly simplified.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of application number 201910180366.4, filed on March 11, 2019, entitled "Method, Apparatus and Terminal for Determining Traffic Restriction Information". Technical Field

[0002] This disclosure relates to the field of computers, and in particular to a method, apparatus and terminal for determining traffic restriction information. Background Technology

[0003] With the continuous development of mobile phones and other terminals, these terminals support more and more functions. Users can use these terminals to query all kinds of information, thereby achieving various purposes. For example, users can use mobile phones and other terminals to check the traffic restrictions in their city.

[0004] In related technologies, if a user wants to check traffic restriction information, the user needs to open a page of some application on the terminal, such as a browser page, and enter query information such as whether a certain city has traffic restrictions on a certain day or whether a certain license plate number in a certain city has traffic restrictions. The terminal performs the query based on the information entered by the user and displays the query results to the user. Summary of the Invention

[0005] This disclosure provides a method, apparatus, and terminal for determining traffic restriction information, and the technical solution is as follows.

[0006] According to a first aspect of the present disclosure, a method for determining traffic restriction information is provided, comprising:

[0007] Receive input voice commands, which are used to query traffic restriction information;

[0008] Based on the key information contained in the voice command, a traffic restriction information search is performed to obtain the search results;

[0009] Output the search results.

[0010] The technical solutions provided in this disclosure may have the following beneficial effects:

[0011] Users only need to speak a voice command to query traffic restriction information, and the terminal can retrieve the information based on the user's voice command, thus greatly simplifying the query process.

[0012] Furthermore, the step of searching for traffic restriction information based on the key information contained in the voice command to obtain search results includes:

[0013] Convert the voice command into a text command;

[0014] The traffic restriction information is obtained by searching based on the keywords parsed from the text instructions.

[0015] The technical solutions provided in this disclosure may have the following beneficial effects:

[0016] By converting voice commands into text commands, the terminal can query traffic restriction information based on the text commands, thus improving the accuracy of the retrieved traffic restriction information.

[0017] Furthermore, in cases where the voice command does not contain the time information targeted by the traffic restriction, a traffic restriction information search is performed based on the key information contained in the voice command to obtain search results, including:

[0018] Determine the preset default time information, or call the corresponding application to obtain the current time information;

[0019] Using the determined time information as at least one key piece of information, a search for traffic restriction information is conducted to obtain search results.

[0020] In cases where the voice command contains time information related to traffic restrictions, a traffic restriction information search is performed based on the key information contained in the voice command to obtain search results, including:

[0021] The time information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search, and the search results are obtained.

[0022] The technical solutions provided in this disclosure may have the following beneficial effects:

[0023] The terminal searches for traffic restriction information within a specific time period based on the time information indicated by the user or the time information obtained by the terminal, thereby enabling users to know the traffic restriction information at a specific time and improving the user experience.

[0024] Furthermore, in cases where the voice command does not contain location information targeted by the traffic restriction, a traffic restriction information search is performed based on the key information contained in the voice command to obtain search results, including:

[0025] Determine the pre-set default location information, or call the corresponding application to obtain the current location information;

[0026] Using the identified location information as at least one key piece of information, a search for traffic restriction information is performed to obtain search results.

[0027] In cases where the voice command contains location information related to traffic restrictions, a traffic restriction information search is performed based on the key information contained in the voice command to obtain search results, including:

[0028] The location information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search, and the search results are obtained.

[0029] The technical solutions provided in this disclosure may have the following beneficial effects:

[0030] The terminal searches for traffic restriction information for a specific location based on the location information indicated by the user or the location information obtained by the terminal, thereby enabling users to know the traffic restriction information for a specific location, such as their own city, thus improving the user experience.

[0031] Furthermore, in cases where the voice command does not contain information about the vehicle targeted by the traffic restriction, a search for traffic restriction information is performed based on the key information contained in the voice command to obtain search results, including:

[0032] Determine the pre-set default vehicle information;

[0033] Using the identified vehicle information as at least one key piece of information, a search for traffic restriction information is conducted to obtain search results;

[0034] If the voice command contains information about the vehicle subject to traffic restrictions, a search for traffic restriction information is performed based on the key information contained in the voice command, and the search results are obtained, including:

[0035] Using the vehicle information contained in the voice command as at least one key piece of information, a search for traffic restriction information is performed to obtain search results.

[0036] The technical solutions provided in this disclosure may have the following beneficial effects:

[0037] The terminal searches for the traffic restriction information of a specific vehicle based on the vehicle information indicated by the user or the vehicle information obtained by the terminal, thereby enabling the user to know the traffic restriction information of a specific vehicle and improving the user experience.

[0038] Furthermore, for situations where the default vehicle information cannot be determined, the method also includes:

[0039] Receive vehicle information through a preset interface;

[0040] The received vehicle information is identified as the default vehicle information and saved.

[0041] According to a second aspect of the present disclosure, a traffic restriction information determination device is provided, comprising:

[0042] The first receiving module is configured to receive input voice commands, which are used to query traffic restriction information;

[0043] The search module is configured to perform a traffic restriction information search based on the key information contained in the voice command, and obtain the search results.

[0044] The output module is configured to output the search results.

[0045] Furthermore, the search module is configured as follows:

[0046] Convert the voice command into a text command;

[0047] The traffic restriction information is obtained by searching based on the keywords parsed from the text instructions.

[0048] Furthermore, the search module includes:

[0049] The first search submodule is configured to, when the voice command does not contain the time information targeted by the traffic restriction, determine a pre-set default time information, or call the corresponding application to obtain the current time information, and use the determined time information as at least one key piece of information to perform a traffic restriction information search to obtain search results; and

[0050] If the voice command contains time information related to the traffic restriction, the time information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

[0051] Furthermore, the search module also includes:

[0052] The second search submodule is configured to, when the voice command does not contain location information targeted by the traffic restriction, determine pre-set default location information, or call the corresponding application to obtain the current location information, and use the determined location information as at least one key piece of information to perform a traffic restriction information search to obtain search results; and

[0053] If the voice command contains location information targeted by the traffic restriction, the location information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

[0054] Furthermore, the search module also includes:

[0055] The third search submodule is configured to, when the voice command does not contain information about the vehicle targeted by the traffic restriction, determine pre-set default vehicle information, use the determined vehicle information as at least one key piece of information, perform a traffic restriction information search, and obtain search results; and,

[0056] If the voice command contains information about the vehicle subject to the traffic restriction, the vehicle information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

[0057] Furthermore, the device also includes:

[0058] The second receiving module is configured to receive vehicle information through a preset interface when the default vehicle information cannot be determined.

[0059] The determination module is configured to determine the received vehicle information as the default vehicle information and save it.

[0060] According to a third aspect of the present disclosure, a terminal is provided, the terminal comprising:

[0061] processor;

[0062] Memory for storing the executable instructions of the processor;

[0063] The processor is configured to perform the method described in the first aspect above.

[0064] According to a fourth aspect of the present disclosure, a terminal is provided, the terminal comprising:

[0065] The memory, the processor, and the computer program, wherein the processor runs the computer program to perform the method described in the first aspect above.

[0066] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided, the medium storing a computer program that, when executed by a processor, implements the method described in the first aspect above.

[0067] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0068] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0069] Figure 1 This is a flowchart illustrating a method for determining traffic restriction information according to an exemplary embodiment;

[0070] Figure 2 This is a flowchart illustrating a method for determining traffic restriction information according to an exemplary embodiment;

[0071] Figure 3 This is a flowchart illustrating a method for determining traffic restriction information according to an exemplary embodiment;

[0072] Figure 4 This is a flowchart illustrating a method for determining traffic restriction information according to an exemplary embodiment;

[0073] Figure 5 This is a module structure diagram illustrating a traffic restriction information determination device according to an exemplary embodiment;

[0074] Figure 6 This is a module structure diagram illustrating a traffic restriction information determination device according to an exemplary embodiment;

[0075] Figure 7 This is a module structure diagram illustrating a traffic restriction information determination device according to an exemplary embodiment;

[0076] Figure 8 This is a module structure diagram illustrating a traffic restriction information determination device according to an exemplary embodiment;

[0077] Figure 9 This is a module structure diagram illustrating traffic restriction information determination according to an exemplary embodiment;

[0078] Figure 10 This is a block diagram illustrating an entity of a terminal according to an exemplary embodiment;

[0079] Figure 11 This is a block diagram illustrating a terminal 1500 according to an exemplary embodiment.

[0080] The accompanying drawings have illustrated specific embodiments of this disclosure, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this disclosure to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0081] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0082] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein. For details not disclosed in the apparatus embodiments of this disclosure, please refer to the embodiments of the method disclosed herein.

[0083] In related technologies, if a user wants to check traffic restriction information, the user needs to open a page of some application on the terminal, such as a browser page, and enter query information such as whether a certain city has traffic restrictions on a certain day or whether a certain license plate number in a certain city has traffic restrictions. The terminal performs the query based on the information entered by the user and displays the query results to the user.

[0084] When using this technology to check traffic restrictions, users need to perform many operations and input a lot of information, resulting in a poor user experience.

[0085] Based on the above problems, this disclosure proposes a method for determining traffic restriction information. The user only needs to speak a voice command to query traffic restriction information, and the terminal can search for the traffic restriction information based on the user's voice command, thereby greatly simplifying the user's query process.

[0086] Figure 1 This is a flowchart illustrating a method for determining traffic restriction information according to an exemplary embodiment. The subject executing this method can be a terminal, such as a mobile phone or tablet computer. Figure 1 As shown, the method includes:

[0087] In step S101, an input voice command is received, which is used to query traffic restriction information.

[0088] Optionally, the terminal can have a built-in voice input component, such as a microphone. Users can speak voice commands to the terminal's voice input component, such as "Is there a traffic restriction in city A today?" or "Is my car restricted from driving today?" After receiving the voice command, the voice input component sends it to the terminal's processing module (such as a processor) for subsequent query processing.

[0089] In one alternative approach, the user can first wake up the built-in voice input device by voice, so that the built-in voice input device begins to receive the user's voice command to query traffic restriction information.

[0090] Alternatively, users can activate the built-in voice input component via a shortcut key on the terminal. For example, after pressing the Home button on the terminal, the built-in voice input component will begin receiving voice commands from the user to inquire about traffic restriction information.

[0091] In step S102, traffic restriction information is searched based on the key information contained in the above voice command to obtain search results.

[0092] Optionally, the terminal can recognize the user's voice commands to determine the key information contained therein.

[0093] Optionally, the terminal can search based on at least one of the following information: time information (e.g., restricted hours), location information (e.g., restricted cities), and vehicle information (e.g., restricted vehicles).

[0094] Alternatively, this step can be performed on the terminal, or it can be transmitted to a preset server for the server to search for traffic restriction information. The server can even parse the voice command to obtain key information before searching for traffic restriction information and then receive the search results sent by the preset server. These details will not be elaborated here.

[0095] In step S103, the search results are output.

[0096] In one alternative approach, the terminal can output the search results to the user in the form of voice. Specifically, the terminal can play the audio of the search results to the user.

[0097] Alternatively, the terminal can output the search results to the user in text form. Specifically, the terminal can display a search results page to the user, showing the text results of the traffic restriction information.

[0098] In this embodiment, the user only needs to speak a voice command to query traffic restriction information, and the terminal can search for the traffic restriction information based on the user's voice command, thereby greatly simplifying the user's query process.

[0099] Based on the above embodiments, this embodiment involves the process by which a terminal searches for traffic restriction information based on key information contained in a voice command and obtains search results.

[0100] Figure 2 This is a flowchart illustrating a method for determining traffic restriction information according to an exemplary embodiment, such as... Figure 2 As shown, step S102 above includes:

[0101] In step S201, the above voice command is converted into a text command.

[0102] Optionally, after the built-in voice input component sends the received voice command to the terminal's processing module, the terminal's processing module can convert the voice command into a text command corresponding to the voice command.

[0103] Optionally, the terminal can use a language model for conversion, which is pre-trained with a large amount of labeled data. Then, after the processing module receives the voice command, it inputs the voice command into the language model to obtain the corresponding text command.

[0104] In step S202, the traffic restriction information is obtained by searching based on the keywords parsed from the above text instructions.

[0105] Optionally, the terminal can perform keyword recognition on the text command and search based on the recognition results to obtain the traffic restriction information.

[0106] In this embodiment, by converting voice commands into text commands, the terminal can perform traffic restriction information searches based on the text commands, thereby improving the accuracy of the retrieved traffic restriction information.

[0107] As mentioned earlier, the terminal can search based on time information, location information, and vehicle information. The following explains the process of searching for traffic restriction information from the perspectives of these three types of information. It should be noted that the following information can be used individually or in combination; this disclosure does not impose specific limitations on this. For example, the terminal can determine traffic restriction information based on time information and location information, or it can determine traffic restriction information based on time information and location information.

[0108] First, time information.

[0109] In one scenario, where the voice command does not contain the time information targeted by the traffic restriction—meaning the traffic restriction time information cannot be parsed from the voice command—the terminal can first determine a pre-set default time or call the corresponding application to obtain the current time information. Then, using the determined time information as at least one key piece of information, a traffic restriction information search is performed to obtain the search results.

[0110] Optionally, the preset default time information can be the time information set by the user on the terminal.

[0111] Optionally, the terminal can call applications such as a clock to directly obtain the current time information.

[0112] For example, if the voice command is "Help me check if there are any traffic restrictions", and the terminal parses the voice command and finds that it does not contain traffic restriction time information, it can determine the default time information based on the user's query habits or user settings, or determine the current time information and use that time information as the traffic restriction time information for the search.

[0113] In another scenario, if the voice command contains time information related to the traffic restriction, meaning that the time information of the traffic restriction is parsed from the voice command, the terminal can use the time information contained in the voice command as at least one key piece of information to search for traffic restriction information and obtain search results.

[0114] For example, if the voice command is "Is there a traffic restriction tomorrow?", the terminal will determine the specific time information corresponding to "tomorrow" based on the key information "tomorrow" and the current time information, and then query the traffic restriction information within that specific time.

[0115] Optionally, if the voice command contains time information and a default time information is set, the time information contained in the voice command shall be given priority.

[0116] In this embodiment, the terminal searches for traffic restriction information within a specific time period based on the time information indicated by the user or the time information obtained by the terminal, thereby enabling the user to know the traffic restriction information for a specific time period and improving the user experience.

[0117] Second, location information.

[0118] Optionally, the location information can refer to city information, such as "Beijing".

[0119] Figure 3 This is a flowchart illustrating a method for determining traffic restriction information according to an exemplary embodiment, such as... Figure 3 As shown, if the voice command does not contain location information targeted by the traffic restriction, step S202 above includes:

[0120] In step S301, the preset default location information is determined, or the corresponding application is called to obtain the current location information.

[0121] In step S302, the determined location information is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

[0122] Optionally, the pre-set default location information can be the location information set by the user on the terminal.

[0123] Optionally, the terminal can call a location application to directly obtain the current location information.

[0124] Optionally, if the voice command does not contain city information, it indicates that the user wants to check the traffic restrictions in their current city. Therefore, the terminal can obtain the current location information and then filter out the city information from that location. This city information is then used as the city indicated by the user.

[0125] In another scenario, if the voice command contains location information targeted by the traffic restriction, the terminal can use the location information contained in the voice command as at least one key piece of information to search for traffic restriction information and obtain search results.

[0126] Optionally, if the voice command contains location information and a default location information is set, the location information contained in the voice command shall be given priority.

[0127] In one example, if the voice contains a city name, it can be determined that the user wants to query traffic restriction information for that city. For example, "Are there traffic restrictions in Beijing tomorrow?"

[0128] In another example, if the voice command only contains time information and keywords related to traffic restrictions, it can be determined that the user wants to query traffic restriction information for their current city. For example, "Are there traffic restrictions tomorrow?"

[0129] Optionally, the terminal first obtains the city and time information indicated by the user. For example, if the text instruction contains the city name "Beijing" and the time information "tomorrow," the terminal first obtains the current time and adds 1 to the current time to obtain the time indicated by the user. Then, the terminal uses the city name "Beijing" and the determined time as key information to search in a preset database (e.g., a website) to retrieve the traffic restriction information for the city indicated by the user.

[0130] In this embodiment, the terminal searches for traffic restriction information at a specific location based on the location information indicated by the user or the location information obtained by the terminal, thereby enabling the user to know the traffic restriction information of a specific location, such as the city where they live, thus improving the user experience.

[0131] Third, vehicle information.

[0132] Figure 4 This is a flowchart illustrating a method for determining traffic restriction information according to an exemplary embodiment, such as... Figure 4 As shown, if the voice command does not include information about the vehicle targeted by the traffic restriction, step S202 above includes:

[0133] In step S401, the pre-set default vehicle information is determined.

[0134] Optionally, users can save their vehicle information, such as license plate number and last digits of the license plate, on the terminal in advance.

[0135] When the terminal recognizes that the voice command does not contain vehicle information, it can read the pre-saved vehicle information.

[0136] In step S402, the determined vehicle information is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

[0137] In another scenario, if the voice command contains information about the vehicle targeted by the traffic restriction, the terminal can use the vehicle information contained in the voice command as at least one key piece of information to search for traffic restriction information and obtain search results.

[0138] Optionally, if the voice command contains vehicle information and a default vehicle information is set, the vehicle information contained in the voice command shall be given priority.

[0139] Optionally, the terminal can analyze the user's language habits based on their historical voice information and generate a set of vehicle query keywords corresponding to that user. For example, if the user says "I," then "I" represents the user's vehicle. Or, if the user says "my car," then "my car" represents the user's vehicle.

[0140] Furthermore, if the voice command includes keywords from the aforementioned vehicle query keyword set, the terminal can determine that the user wishes to query the traffic restriction information for the vehicle indicated by the user.

[0141] In one example, assuming the voice command is "Am I subject to traffic restrictions tomorrow?", the terminal can determine that the user wants to query the traffic restriction information for the vehicle specified by the user based on the keyword "I" in the command.

[0142] In another example, assuming the voice command is "Is my car restricted from driving tomorrow?", the terminal can determine that the user wants to query the restriction information of the vehicle indicated by the user based on the keyword "my car" in the command.

[0143] Optionally, the terminal can obtain the vehicle information indicated by the user, specifically the last digit of the license plate, and use it as a key piece of information to search for traffic restriction information.

[0144] Optionally, the terminal can first use the identified city information as key information to search from preset websites to obtain the traffic restriction information for the city indicated by the user. For example, the traffic restriction numbers for that city during a specific time period. Then, the terminal can compare the traffic restriction numbers for that city during that time period with the vehicle information indicated by the user to obtain the traffic restriction information for the indicated vehicle. Specifically, the vehicle's traffic restriction information can be a conclusion of "restricted" or "not restricted".

[0145] For example, assuming the terminal queries and determines that the vehicle indicated by the user is not subject to traffic restrictions, the terminal can output the vehicle restriction information to the user in the form of voice: "Your vehicle is not subject to traffic restrictions tomorrow and you can travel normally."

[0146] In one alternative approach, users can directly speak their license plate number or the last digit of their license plate. For example, a user could issue a voice command such as "Is license plate ending in 8 restricted tomorrow?" or "Is license plate number 123 restricted tomorrow?" The terminal retrieves vehicle information by recognizing numeric keywords or keywords such as "last digit" or "license plate number" in the voice command. For instance, if the voice command contains the keyword "last digit 8," then "8" can be used as the vehicle information to search for restricted vehicle information.

[0147] As an optional implementation, if the terminal does not record the user's vehicle information, i.e., in cases where the default vehicle information cannot be confirmed, the terminal can receive vehicle information through a preset interface, determine the received vehicle information as the default vehicle information, and save it.

[0148] Specifically, the terminal can prompt the user to enter vehicle information and save the entered information as the default vehicle information. When the user issues a voice command to inquire about traffic restriction information the next time, the user can search based on the saved vehicle information.

[0149] In this method, after the user issues a voice instruction such as "Am I subject to traffic restrictions tomorrow?", the terminal determines that the user wants to check vehicle restriction information. The terminal first checks whether the user's vehicle information has been saved. If the user's vehicle information has not been saved, the terminal can issue a prompt such as "Please say the last digit of your license plate number". After the user enters the last digit of the license plate number by voice, the terminal uses the entered license plate number as the vehicle information indicated by the user.

[0150] Furthermore, in this method, after the user enters vehicle information, the terminal records the entered information. When the user enters questions such as "Is my car subject to traffic restrictions?" again, the terminal can directly use the recorded vehicle information as the vehicle information indicated by the user.

[0151] Furthermore, after the terminal saves the vehicle information entered by the user, the terminal can send a prompt message to the user, such as "I have recorded the last digit of your license plate number. Next time, I can directly answer your traffic restriction information." This allows the user to know that the last digit of the license plate number has been recorded, and when the user needs to query the vehicle traffic restriction information again, they can directly obtain the traffic restriction information about their vehicle.

[0152] It is evident that this disclosure does not restrict the form of reference for vehicle information in speech, as long as the vehicle information corresponding to the reference can be determined.

[0153] In this embodiment, the terminal searches for the traffic restriction information of a specific vehicle based on the vehicle information indicated by the user or the vehicle information obtained by the terminal, thereby enabling the user to know the traffic restriction information of the specific vehicle and improving the user experience.

[0154] Figure 5 This is a module structure diagram of a traffic restriction information determination device according to an exemplary embodiment, such as... Figure 5 As shown, the device includes:

[0155] The receiving module 501 is configured to receive input voice commands, which are used to query traffic restriction information.

[0156] The search module 502 is configured to perform a traffic restriction information search based on the key information contained in the voice command, and obtain the search results.

[0157] Output module 503 is configured to output the search results.

[0158] In another embodiment, the search module is configured 502 as follows:

[0159] Convert the voice command into a text command;

[0160] The traffic restriction information is obtained by searching based on the keywords parsed from the text instructions.

[0161] Figure 6 This is a module structure diagram of a traffic restriction information determination device according to an exemplary embodiment, such as... Figure 6 As shown, the search module 502 includes:

[0162] The first search submodule 5021 is configured to, when the voice command does not contain the time information targeted by the traffic restriction, determine a pre-set default time information, or call the corresponding application to obtain the current time information, use the determined time information as at least one key piece of information, perform a traffic restriction information search, and obtain the search results; and

[0163] If the voice command contains time information related to the traffic restriction, the time information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

[0164] Figure 7 This is a module structure diagram of a traffic restriction information determination device according to an exemplary embodiment, such as... Figure 7 As shown, the search module 502 also includes:

[0165] The second search submodule 5022 is configured to, when the voice command does not contain location information targeted by the traffic restriction, determine pre-set default location information, or call the corresponding application to obtain the current location information, and use the determined location information as at least one key piece of information to perform a traffic restriction information search to obtain search results; and

[0166] If the voice command contains location information targeted by the traffic restriction, the location information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

[0167] Figure 8 This is a module structure diagram of a traffic restriction information determination device according to an exemplary embodiment, such as... Figure 8 As shown, the search module 502 also includes:

[0168] The third search submodule 5023 is configured to, when the voice command does not contain information about the vehicle targeted by the traffic restriction, determine pre-set default vehicle information, use the determined vehicle information as at least one key piece of information, perform a traffic restriction information search, and obtain search results; and,

[0169] If the voice command contains information about the vehicle subject to the traffic restriction, the vehicle information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

[0170] Figure 9 This is a module structure diagram of a traffic restriction information determination device according to an exemplary embodiment, such as... Figure 9 As shown, the device also includes:

[0171] The second receiving module 504 is configured to receive vehicle information through a preset interface when the default vehicle information cannot be determined.

[0172] The determination module 505 is configured to determine the received vehicle information as the default vehicle information and save it.

[0173] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0174] Figure 10 This is a block diagram illustrating an entity of a terminal according to an exemplary embodiment, such as... Figure 10 As shown, the terminal includes:

[0175] Memory 1001 and processor 1002.

[0176] The memory 1001 is used to store the executable instructions of the processor 1002.

[0177] The processor 1002 is configured to execute the method steps in the above method embodiments.

[0178] In the above-described terminal embodiments, it should be understood that the processor 1002 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor, and the aforementioned memory can be read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or solid-state drive. A SIM card, also known as a user identification card or smart card, is required for the use of a digital mobile phone. It stores the digital mobile phone customer's information, encrypted keys, and the user's phonebook on a computer chip. The steps of the method disclosed in this embodiment can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.

[0179] Figure 11 This is a block diagram illustrating a terminal 1100 according to an exemplary embodiment. The terminal 1100 may be a mobile phone, computer, tablet device, personal digital assistant, etc.

[0180] Reference Figure 11 Terminal 1100 may include one or more of the following components: processing component 1102, memory 1104, power supply component 1006, multimedia component 1108, audio component 1110, input / output (I / O) interface 1112, sensor component 1114, and communication component 1116.

[0181] Processing component 1102 typically controls the overall operation of terminal 1100, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 1102 may include one or more processors 1120 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 1102 may include one or more modules to facilitate interaction between processing component 1102 and other components. For example, processing component 1102 may include a multimedia module to facilitate interaction between multimedia component 1108 and processing component 1102.

[0182] Memory 1104 is configured to store various types of data to support operation on terminal 1100. Examples of this data include instructions for any application or method operating on terminal 1100, contact data, phonebook data, messages, pictures, videos, etc. Memory 1104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0183] Power supply component 1106 provides power to various components of terminal 1100. Power supply component 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 1100.

[0184] Multimedia component 1108 includes a touch display screen that provides an output interface between the terminal 1100 and the user. In some embodiments, the touch display screen may include a liquid crystal display (LCD) and a touch panel (TP). The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of a touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 1108 includes a front-facing camera and / or a rear-facing camera. When the terminal 1100 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0185] Audio component 1110 is configured to output and / or input audio signals. For example, audio component 1110 includes a microphone (MIC) configured to receive external audio signals when terminal 1100 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1104 or transmitted via communication component 1116. In some embodiments, audio component 1110 also includes a speaker for outputting audio signals.

[0186] I / O interface 1112 provides an interface between processing component 1102 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0187] Sensor assembly 1114 includes one or more sensors for providing state assessments of various aspects of terminal 1100. For example, sensor assembly 1114 can detect the on / off state of terminal 1100, the relative positioning of components such as the display and keypad of terminal 1100, changes in the position of terminal 1100 or a component of terminal 1100, the presence or absence of user contact with terminal 1100, the orientation or acceleration / deceleration of terminal 1100, and temperature changes of terminal 1100. Sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1114 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0188] Communication component 1116 is configured to facilitate wired or wireless communication between terminal 1100 and other devices. Terminal 1100 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 1116 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1116 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0189] In an exemplary embodiment, terminal 1100 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-described ranging method based on the binocular camera in the terminal.

[0190] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 1104 including instructions, which can be executed by a processor 1120 of a terminal 1100 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0191] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by the processor of terminal 1100, enables terminal 1100 to execute a method for determining traffic restriction information. The method includes:

[0192] Receives voice commands input by the user, which are used to query traffic restriction information;

[0193] Based on the key information contained in the voice command, a traffic restriction information search is performed to obtain the search results;

[0194] Output the search results.

[0195] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0196] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for determining traffic restriction information, characterized in that, include: Receive input voice commands; Based on the voice command, key information is determined, which is used to query traffic restriction information; Based on the key information, a search for the traffic restriction information is performed to obtain search results; Output the search results.

2. The method according to claim 1, characterized in that, The key information includes at least one of time information, location information, and vehicle information; The step of searching for the traffic restriction information based on the key information to obtain search results includes: Based on at least one of the time information, the location information, and the vehicle information, a search is performed to obtain the traffic restriction information.

3. The method according to claim 2, characterized in that, In cases where the voice command does not include the time information targeted by the traffic restriction, key information is determined based on the voice command, including: Determine the preset default time information, or call the corresponding application to obtain the current time information; The determined time information shall be used as at least one of the key information items; In cases where the voice command contains time information corresponding to a limited number of lines, key information is determined based on the voice command, including: The time contained in the voice command shall be used as at least one of the key pieces of information.

4. The method according to claim 2, characterized in that, In cases where the voice command does not include location information targeted by the traffic restriction, key information is determined based on the voice command, including: Determine the pre-set default location information, or call the corresponding application to obtain the current location information; The determined location information shall be used as at least one of the key information items; In cases where the voice command contains location information corresponding to a limited number of lines, key information is determined based on the voice command, including: The location information contained in the voice command shall be used as at least one of the key information items.

5. The method according to claim 2, characterized in that, In cases where the voice command does not include information about the vehicles targeted by the traffic restriction, key information is determined based on the voice command, including: Determine the pre-set default vehicle information; The identified vehicle information shall be used as at least one of the key information items; In cases where the voice command contains limited vehicle information, key information is determined based on the voice command, including: The vehicle information contained in the voice command shall be used as at least one of the key information items.

6. The method according to claim 5, characterized in that, For situations where the default vehicle information cannot be determined, the method further includes: Receive vehicle information through a preset interface; The received vehicle information is identified as the default vehicle information and saved.

7. The method according to any one of claims 2-6, characterized in that, The location information includes cities with traffic restrictions; The time information includes the restricted hours, and the vehicle information includes the restricted vehicles. The step of searching for traffic restriction information based on at least one of the time information, the location information, and the vehicle information to obtain the traffic restriction information includes: Based on the identified cities with traffic restrictions, determine the traffic restriction information for those cities; The restricted number for the restricted time in the time information is determined based on the traffic restriction information of the restricted city. The restricted vehicle number is compared with the restricted vehicle number in the vehicle information to determine the restricted vehicle's restricted vehicle information.

8. The method according to claim 7, characterized in that, The traffic restriction information includes whether the restricted vehicles are restricted from driving or whether the restricted vehicles are not restricted from driving.

9. The method according to claim 1, characterized in that, The key information includes keywords; The step of determining key information based on the voice command includes: Convert the language instructions into text instructions; The keywords are parsed from the text instructions.

10. A device for determining traffic restriction information, characterized in that, include: The first receiving module receives input voice commands; The determination module is configured to determine key information based on the voice command, the key information being used to query traffic restriction information; The search module searches for the traffic restriction information based on the key information and obtains the search results. The output module is configured to output the search results.

11. The traffic restriction information determination device according to claim 10, characterized in that, The key information includes at least one of time information, location information, and vehicle information; the search module is configured to: Based on at least one of the time information, the location information, and the vehicle information, a search is performed to obtain the traffic restriction information.

12. The traffic restriction information determination device according to claim 11, characterized in that, The search module includes: The first search submodule is configured to, if the voice command does not contain the time information targeted by the traffic restriction, determine a pre-set default time information, or call the corresponding application to obtain the current time information, and use the determined time information as at least one key piece of information to perform a traffic restriction information search to obtain search results; or... If the voice command contains time information related to the traffic restriction, the time information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

13. The traffic restriction information determination device according to claim 11, characterized in that, The search module includes: The second search submodule is configured to, if the voice command does not contain location information targeted by the traffic restriction, determine a pre-set default location, or call the corresponding application to obtain the current location information, and use the determined location information as at least one key piece of information to perform a traffic restriction information search to obtain search results; or If the voice command contains location information targeted by the traffic restriction, the location information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

14. The traffic restriction information determination device according to claim 11, characterized in that, The search module includes: The third search submodule is configured to, if the voice command does not contain information about the vehicle targeted by the traffic restriction, determine pre-set default vehicle information, use the determined vehicle information as at least one key piece of information, perform a traffic restriction information search, and obtain search results; or If the voice command contains information about the vehicle subject to the traffic restriction, the vehicle information contained in the voice command is used as at least one key piece of information to perform a traffic restriction information search and obtain the search results.

15. A traffic restriction information determination device according to claim 11, characterized in that, The traffic restriction information determination device also includes: The second receiving module is configured to receive vehicle information through a preset interface when the default vehicle information cannot be determined; and to determine the received vehicle information as the default vehicle information and save it.

16. A traffic restriction information determination device according to any one of claims 11-15, characterized in that, The location information includes cities with traffic restrictions; The time information includes the restricted hours, and the vehicle information includes the restricted vehicles. The search module is configured as follows: Based on the identified cities with traffic restrictions, determine the traffic restriction information for those cities; The restricted number for the restricted time in the time information is determined based on the traffic restriction information of the restricted city. The restricted vehicle number is compared with the restricted vehicle number in the vehicle information to determine the restricted vehicle's restricted vehicle information.

17. A terminal, characterized in that, The terminal includes: processor; Memory for storing the executable instructions of the processor; The processor is configured to perform the method according to any one of claims 1-9.

18. A computer-readable storage medium storing a computer program thereon, characterized in that, When the program is executed by the processor, it implements the method described in any one of claims 1-9.

19. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium; a processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the electronic device to perform the method as described in any one of claims 1-9.