CN109299359B - Road condition query method, device, terminal and storage medium - Google Patents

Road condition query method, device, terminal and storage medium Download PDF

Info

Publication number
CN109299359B
CN109299359B CN201811094669.6A CN201811094669A CN109299359B CN 109299359 B CN109299359 B CN 109299359B CN 201811094669 A CN201811094669 A CN 201811094669A CN 109299359 B CN109299359 B CN 109299359B
Authority
CN
China
Prior art keywords
road
road condition
query
target
condition query
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811094669.6A
Other languages
Chinese (zh)
Other versions
CN109299359A (en
Inventor
罗远浩
高含
揭宗昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Dadi Tongtu Beijing Technology Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Tencent Dadi Tongtu Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd, Tencent Dadi Tongtu Beijing Technology Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201811094669.6A priority Critical patent/CN109299359B/en
Publication of CN109299359A publication Critical patent/CN109299359A/en
Application granted granted Critical
Publication of CN109299359B publication Critical patent/CN109299359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a road condition query method, a road condition query device, a terminal and a storage medium, wherein the method comprises the following steps: receiving road condition query voice information; performing voice recognition on the voice information to generate a road condition query instruction, wherein the road condition query instruction comprises the name of a road to be queried; acquiring a road set to be inquired according to the name of the road to be inquired; acquiring a target road from the road set to be inquired; sending a road condition query request of the target road to a server; and receiving a road condition query result of the target road, and informing a user of the query result in a preset mode according to the current driving state. According to the invention, the query of the road condition can be realized through voice interaction without manual operation, and the road condition query result can be displayed in different modes such as voice or popup window, so that the driving safety is greatly improved, and the user experience is improved.

Description

Road condition query method, device, terminal and storage medium
Technical Field
The present invention relates to the field of navigation technologies, and in particular, to a road condition query method, apparatus, terminal, and storage medium.
Background
The existing technical scheme for inquiring road conditions is generally realized by a base map, and different colors in a base map network represent different congestion states. For example: green for clear, yellow for slow, red for congestion, etc. When the road condition of a certain road needs to be inquired, the base map needs to be manually dragged to the relevant area of the road or the road name needs to be manually input in the search box, the display scale of the base map needs to be manually adjusted, and then the road condition is obtained through the color displayed by the route.
According to the prior art, on one hand, a user needs to understand road conditions represented by different colors, and on the other hand, a navigation product needs to be manually operated, so that the user experience of the product is not facilitated. The sight is away from the front of driving, and the navigation is operated by driving with one hand and operating with the other hand, which can bring great potential safety hazard to users. Therefore, the invention provides a road condition query method, a road condition query device, a road condition query terminal and a storage medium.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a road condition query method, device, terminal and storage medium, which can realize query of road conditions through voice interaction without manual operation, and can display the road condition query result in different modes such as voice or pop-up window, etc., thereby greatly improving driving safety and improving user experience.
In order to solve the above technical problem, in a first aspect, the present invention provides a road condition query method, including:
receiving road condition query voice information;
performing voice recognition on the voice information to generate a road condition query instruction, wherein the road condition query instruction comprises the name of a road to be queried;
acquiring a road set to be inquired according to the name of the road to be inquired;
acquiring a target road from the road set to be inquired;
sending a road condition query request of the target road to a server;
and receiving a road condition query result of the target road, detecting the current driving state, and informing a user of the query result in a voice broadcast and/or popup display mode according to the driving state.
In a second aspect, the present invention provides a road condition query device, including:
the voice receiving module is used for receiving the road condition query voice information;
the voice recognition module is used for carrying out voice recognition on the voice information and generating a road condition query instruction, and the road condition query instruction comprises the name of a road to be queried;
the road set acquisition module is used for acquiring a road set to be inquired according to the name of the road to be inquired;
the target road acquisition module is used for acquiring a target road from the road to be inquired in a centralized manner;
the request sending module is used for sending a road condition query request of the target road to a server;
and the result informing module is used for receiving the road condition inquiry result of the target road, detecting the current driving state and informing the inquiry result to a user in a voice broadcasting and/or popup window display mode according to the driving state.
In a third aspect, the present invention provides a terminal, including:
the processor is configured to call and execute a program stored in the memory, and the memory is configured to store a program, where the program is configured to implement the road condition query method according to the first aspect.
In a fourth aspect, the present invention provides a computer storage medium, where computer-executable instructions are stored, and the computer-executable instructions are loaded by a processor and execute the road condition query method according to the first aspect.
The embodiment of the invention has the following beneficial effects:
the method comprises the steps of carrying out voice recognition on received road condition query voice information to generate a road condition query instruction; acquiring a road set to be inquired according to the name of the road to be inquired in the road condition inquiry command, and determining a target road from the road set; sending a road condition query request of a target road to a server; and receiving a road condition query result of the target road, and informing a user of the query result in a preset mode according to the current driving state. According to the invention, the query of the road condition can be realized through voice interaction without manual operation, and the road condition query result can be displayed in different modes such as voice or popup window, so that the driving safety is greatly improved, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 2 is a flow chart of a road condition query method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a speech recognition method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of target road determination provided by an embodiment of the invention;
FIG. 5 is a schematic diagram of voice feedback provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of a display interface for roads of the same name provided by an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a road condition query result notification method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a road condition query result according to an embodiment of the present invention;
fig. 9 is a schematic diagram of another road condition query result according to the embodiment of the present invention;
FIG. 10 is a flowchart of a method for displaying query results in a popup window according to an embodiment of the present invention;
fig. 11 is a flowchart of another road condition query method according to an embodiment of the present invention;
fig. 12 is a schematic view of a road condition query device according to an embodiment of the present invention;
fig. 13 is a schematic view of another traffic query device according to an embodiment of the present invention;
FIG. 14 is a schematic diagram of a target road acquisition module provided by an embodiment of the invention;
FIG. 15 is a schematic diagram of a second determination module provided by embodiments of the invention;
FIG. 16 is a schematic diagram of a result notification module according to an embodiment of the invention;
FIG. 17 is a schematic view of a pop-up display module according to an embodiment of the invention;
fig. 18 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. Moreover, the terms "first," "second," and the like, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
First, the terms referred to in the embodiments of the present invention are explained as follows:
navigation state: similar to driving navigation in conventional navigation products.
The light navigation state: similar to the navigation state, the starting point and the ending point are commonly used places such as homes and companies set by users, and in addition, compared with the navigation state, some guidance information such as turning broadcasting is also lacked.
And (3) cruising state: an upcoming route for the vehicle is predicted based on the current position and heading of the vehicle. Compared with the navigation state, only the guidance information such as road conditions, electronic eyes, speed limit cameras and the like exists, and the predicted route is not displayed on the navigation interface.
Referring to fig. 1, a schematic diagram of an application scenario provided by an embodiment of the present invention is shown, which includes a user 110, a terminal device 120, and at least one server 130; the terminal device may be a vehicle-mounted terminal or a mobile terminal, the mobile terminal may be but is not limited to a terminal device such as a smart phone or a tablet computer, the server 130 may be a server, a server cluster composed of a plurality of servers, or a cloud computing center. The terminal device 120 communicates with the server 130 through a wireless network. The hardware for the terminal device 120 may support microphone recording, WiFi or 3G/4G network, GPS positioning function, sound output, and the like.
In the specific implementation process, the user 110 sends voice information to the terminal device 120; the terminal device 120 receives the voice information sent by the user 110, performs voice recognition on the voice information to generate a voice instruction, and the terminal device 120 sends a query request to the server 130 according to the content of the voice instruction; the server 130 receives the query request sent by the terminal device 120, obtains a corresponding query result according to the query request, and sends the query result to the terminal device 120.
Please refer to fig. 2, which shows a flow chart of a road condition query method, which can be applied to a terminal side, the method includes:
s210, receiving road condition query voice information.
The user sends voice information to the terminal equipment according to the search requirement of the user, for example, similar voice information such as 'inquiry of the road condition of the southeast road', 'blockage and blockage of the southeast road' and the like is sent out, and the terminal equipment receives the voice information sent out by the user through the voice receiving module.
And S220, carrying out voice recognition on the voice information to generate a road condition query instruction, wherein the road condition query instruction comprises the name of the road to be queried.
For the terminal device, the terminal device cannot directly understand the meaning of the voice information received from the user, and voice recognition is required. The speech recognition process can be performed locally or online. For the condition of local identification, a voice identification library can be stored locally, and after voice information is received, voice identification can be directly carried out locally to generate a road condition query instruction; and for the condition of online recognition, the terminal receives voice information sent by the user and sends the voice information to the voice recognition server, and after the online voice recognition, the voice recognition server returns a recognized road condition query instruction to the terminal equipment.
The specific speech recognition process may include:
and S310, converting the voice information into text information.
S320, performing semantic analysis on the text information to obtain a query instruction.
The semantics can be determined through the keywords, the specified keywords are received in the text message and are regarded as corresponding functional instructions, and the place name/road name is analyzed from the text message and then further inquired. That is, the road condition query instruction obtained after the voice recognition includes the name of the target road to be queried, and certainly, the target road may be only one road or a plurality of roads, and the user may send out corresponding voice information according to the actual query requirement of the user.
In the case that the road condition is queried through voice information, the road name is homophone, and in this case, when a road condition query instruction is returned after voice recognition, all roads with homophone names can be returned and provided for the user to select, and the name of the road to be queried is determined.
And S230, acquiring a road set to be inquired according to the name of the road to be inquired.
Here, a search for roads in the current city may be performed by default based on the current location. The specific search process may be performed locally or online.
For local searching, a road information database needs to be stored locally in advance, the name of a target road needing to be inquired is matched with information in the road information database, and when the matching is successful, the target road is found; when the matching is not successful, the target road is not searched.
For on-line searching, the name of the target road can be sent to a server storing road information data, the name of the target road is matched with the road information in the server, and when the matching is successful, the target road is found; when the matching is not successful, the target road is not searched.
The road set refers to a set of roads found according to the names of the roads to be queried.
And S240, acquiring the target road from the road set to be inquired.
And S250, sending a road condition query request of the target road to a server.
The number of the above-mentioned road set elements to be queried may be 0, 1 or more (at least 2).
Specifically, there are three cases, please refer to fig. 4, which includes:
and S410, when the number of the road concentration elements is 0, the target road is subjected to voice broadcast and does not exist.
And according to the name of the road to be inquired, finding out no corresponding road, wherein the target road does not exist, and when the target road does not exist, voice broadcasting and result feedback are carried out through an illustration. For example: i do not find the great avenue of Vanilla in the current city; meanwhile, the result can be fed back through the graphic representation, the dialog box information of the voice interaction can be seen in fig. 5, and the text information of the voice information sent by the user and the text information of the voice information broadcasted by the terminal can be seen in the dialog box.
S420, when the road set has one element, determining the element in the road set as a target road.
And when only one piece of road information is inquired according to the name of the road to be inquired, determining that the road is the target road. And at the moment, a road with the same name as the target road does not exist, and a road condition query request is sent to the server, wherein the request comprises the name of the target road.
S430, when at least two elements exist in the road set, acquiring a name list of all the elements.
When two or more pieces of road information are inquired according to the name of the road to be inquired, namely, when the road with the same name as the target road exists, one of the roads needs to be determined as the target road from the name list.
The same-name road refers to the condition that the name of the target road is the same as that of the same-name road, but the geographic position of the target road is different; or, the name of the same-name road includes the name of the target road. Roads with the same name may appear in the same city, but are located in different geographical positions; it is also possible that the other roads include the full name of the target road.
Referring to fig. 6, a schematic diagram of a display interface of the same-name road is shown, for example, the voice information input by the user is: according to the road condition of the southeast road, after voice recognition and target road query are carried out by a terminal, two roads, namely a southeast road and a southeast road auxiliary road, are found out, as can be seen from the figure, the two roads are different in geographic position, and the road name of the southeast road auxiliary road comprises the full name of the target road, in the actual situation, the two roads can be regarded as the same-name road as long as one road appears.
After finding the same-name roads, displaying all the roads in a list form for the user to select.
S440, receiving a road selection request, and selecting the target road from the name list according to the road selection request.
The road selection request received here comes from the user, and the user may select the road by voice information or manually select the target road. Taking the selection of voice information as an example, since it is displayed in the form of a list and each road is numbered, the user only needs to send out the similar: a few, such voice messages can be selected, as in fig. 6, the first one.
S450, acquiring additional information of the target road.
The additional information is used to distinguish the target road from the remaining roads in the name list.
The additional information may be location information, for example, two roads with the same name are found, and which road the target road to be found is to be. Of course, the additional information may also be other information, and as long as the additional information is information that can distinguish the target road from other roads with the same name, the additional information may be applied to the present embodiment, and the present embodiment is not particularly limited thereto.
And S460, sending the target road name and the additional information to a server.
In this embodiment, the location information in step S450 may be sent to a server to identify the target road and determine the target road for which the road condition needs to be queried.
And S260, receiving the road condition query result of the target road, detecting the current driving state, and informing a user of the query result in a voice broadcast and/or popup display mode according to the driving state.
After receiving the query result of the server for the target road, the user needs to be informed, and the specific process may include:
and S710, detecting the current driving state.
The driving state in this embodiment may include a navigation state, a light navigation state, a cruise state, and a non-navigation state, where the light navigation state and the navigation state are similar, and for specific meanings of the respective states, reference may be made to the above explanation of the respective states in this embodiment.
And S720, informing the user of the query result in a voice broadcasting and/or popup window display mode according to the driving state.
1. And when the driving state is a non-navigation state or a cruising state, informing the user of the inquiry result in a voice broadcasting and popup window display mode.
A non-navigational state is understood here to mean that the vehicle is not currently in a driving state.
Please refer to fig. 8, which shows a schematic diagram of a traffic query result, for example, the current query time of the traffic of the great roads in the deep south, and the voice broadcast of the congestion condition of the road, for example, the voice broadcast: the running is smooth on the large roads in the deep south; the some section appears blocking up, and voice broadcast: and a certain section of the great roads in the deep south is congested. Meanwhile, the popup window can automatically display the road condition of the whole road, highlight the road condition in the popup window and automatically adjust the scale. Meanwhile, the user can be supported to manually move the base map and change the scale, so that the query of the specific road condition of a certain road section of the current road is supported. If the pop-up window base map is not operated, the pop-up window automatically disappears after a preset time period during the countdown, and the pop-up window can be manually closed through a closing button on the pop-up window. For example, when the base map in the pop-up window is not operated for 10s, the pop-up window automatically disappears.
2. And when the driving state is a navigation state or a light navigation state, informing the user of the query result in a voice broadcasting mode or informing the user in a voice broadcasting and popup window display mode.
When the driving state is the navigation state or the light navigation state, the navigation interface displays the relevant navigation information, and at the moment, the road condition information of other roads can be directly inquired through the voice command sent by the user under the condition of not exiting the current navigation. After the road condition information of the target road is queried, the specific display modes of the query result can be two types:
the first is to inform the user of the road condition information of the target road to be searched only by means of voice broadcasting. In this way, it is considered that, when the vehicle is currently in a navigation state, the navigation interface displays relevant navigation information, such as road condition information of a current driving road, and guidance information such as an electronic eye and a speed limit camera, and a user needs to assist driving through the information. The interface display at this time can be seen in fig. 9.
The second is to inform the user of the road condition information of the target road to be inquired in a voice broadcast and popup window display mode. The method considers that a user searches the road condition information of other roads in a navigation state, and may have an intention of planning to switch the route, at this time, after the approximate road condition of a target road is known through voice broadcasting, when the road condition information of the whole road displayed in a pop-up window, the specific road condition of a certain road section of the road is inquired through manually moving a base map and changing a scale, whether to switch the current driving route to the target road or not is determined, and congestion can be avoided when the road section is switched to the specific road section, so that the driving time is shortened.
Specifically, the display of the query result is carried out through which mode, and the setting can be carried out according to the requirements of the user.
The operation of speech recognition in this embodiment may be implemented by speech recognition software capable of recognizing speech related to various functions such as navigation, music, vehicle control, etc., for example: voice-initiated navigation, music play, vehicle air conditioning control, and the like.
Referring to fig. 10, a method for popup display of query results is shown, including:
and S1010, establishing a window for displaying the road condition information of the target road.
And S1020, acquiring a query result of the road condition information of the target road.
S1030, displaying the query result in the window in a highlighted mode.
Of course, there may be other implementation methods for the specific generation manner of the pop-up window, and this embodiment is not limited in particular, and all the methods for generating the pop-up window that can be implemented in this embodiment may be applied to this embodiment.
Please refer to fig. 11, which shows another schematic diagram of a road condition query method, which can be applied to a terminal device side, and specifically includes:
s1110, receiving a request for awakening the road condition query function.
The request for waking up the traffic query function herein includes: and awakening the road condition query instruction through voice information and awakening the road condition query instruction through a touch screen key or a physical key.
And S1120, when the request for awakening the road condition query function meets a preset condition, awakening the road condition query function and receiving the road condition query voice message.
Taking the function of awakening the road condition query through the voice information as an example, the awakening voice information is matched with a preset keyword, and when the matching is successful, the awakening is successful; when the matching is unsuccessful, the matching fails. The successful matching here means that the same word as the preset keyword exists in the wake-up information input by voice.
Step S1130 to step S1180 can refer to step S210 to step S260, which is not described herein again.
The embodiment also provides a device, which can be implemented by means of hardware and/or software, and can be generally integrated in a client and used together with a server for providing resources. Referring to fig. 12, a traffic query device is shown, which includes:
the voice receiving module 1210 is configured to receive the road condition query voice information.
The voice recognition module 1220 is configured to perform voice recognition on the voice information, and generate a road condition query instruction, where the road condition query instruction includes a name of a road to be queried. The voice recognition module 1220 includes a homophone selection module 1221, configured to, when the road name in the road condition query instruction is homophone, return all the road names so that the user determines the road name to be queried from all the homophone road names.
A road set obtaining module 1230, configured to obtain a road set to be queried according to the name of the road to be queried.
And the target road obtaining module 1240 is used for obtaining the target road from the road set to be queried.
The request sending module 1250 is configured to send the road condition query request of the target road to the server.
And the result informing module 1260 is used for receiving the road condition inquiry result of the target road, detecting the current driving state, and informing the inquiry result to the user in a voice broadcasting and/or popup window display mode according to the driving state.
Referring to fig. 13, another traffic query device is shown, which includes the device in fig. 12, and further includes:
a wake-up request receiving module 1310 configured to receive a request for waking up the road condition query function.
A waking module 1320, configured to wake up the road condition query function and receive the road condition query voice message when the request for waking up the road condition query function meets a preset condition.
Referring to fig. 14, a schematic diagram of the target road obtaining module 1240 is shown, which includes:
a first determining module 1410, configured to determine an element in the road set as the target road when there is one and only one element in the road set.
A second determining module 1420, configured to determine that one element in the road set is the target road when there are at least two elements in the road set.
The third determining module 1430 is configured to, when the number of the elements in the road set is 0, determine that the voice broadcast target road does not exist.
Referring to fig. 15, a schematic diagram of the second determining module 1420 is shown, which includes:
a name list obtaining module 1510, configured to obtain a name list of all elements when there are at least two elements in the road set.
A selection request receiving module 1520, configured to receive a road selection request, and select the target road from the name list according to the road selection request.
An additional information obtaining module 1530, configured to obtain additional information of the target road, where the additional information is used to distinguish the target road from the rest of the same-name roads in the name list. When the server is further desired to send a query request of the road condition of the target road, the name of the target road and the additional information need to be sent to the server.
Referring to fig. 16, a schematic diagram of the result notification module 1250 is shown, which includes:
the detecting module 1610 is configured to detect a current driving state.
And the voice broadcasting module 1620 is configured to notify the user of the query result in a voice broadcasting manner.
A popup display module 1630, configured to notify the user of the query result in a popup display manner.
Please refer to fig. 17, which shows a schematic diagram of the pop-up display module 1630, including:
a window establishing module 1710, configured to establish a window for displaying the road condition information of the target road.
The query result obtaining module 1720 is configured to obtain a query result of the road condition information of the target road.
A display module 1730, configured to display the query result in the window in a highlighted form.
The device provided in the above embodiments can execute the method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. Technical details that have not been elaborated upon in the above-described embodiments may be referred to a method provided in any embodiment of the invention.
The embodiment also provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are loaded by the processor and execute the traffic condition query method of the embodiment.
Referring to fig. 18, which shows a schematic diagram of a terminal, in particular, the terminal 1800 may include an RF (Radio Frequency) circuit 1810, a memory 1820 including one or more computer-readable storage media, an input unit 1830, a display unit 1840, a sensor 1850, an audio circuit 1860, a WiFi (wireless fidelity) module 1870, a processor 1880 including one or more processing cores, and a power supply 1890. Those skilled in the art will appreciate that the terminal structure shown in fig. 18 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 1810 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink information from a base station and then processing the received downlink information by one or more processors 1880; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 1810 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, RF circuit 1810 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
The memory 1820 may be used for storing software programs and modules, and the processor 1880 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1820. The memory 1820 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, application programs required by the functions (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 1800, and the like. Further, the memory 1820 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 1820 may also include a memory controller to provide access to the memory 1820 by the processor 1880 and the input unit 1830.
The input unit 1830 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, input unit 1830 may include a touch-sensitive surface 1831 as well as other input devices 1832. The touch-sensitive surface 1831, also referred to as a touch-sensitive display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface 1831 using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, touch-sensitive surface 1831 may comprise two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1880, and can receive and execute commands sent by the processor 1880. Additionally, the touch-sensitive surface 1831 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to touch-sensitive surface 1831, input unit 1830 may also include other input devices 1832. In particular, other input devices 1832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1840 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 1800, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 1840 may include a Display panel 1841, and optionally, the Display panel 1841 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 1831 may overlay the display panel 1841, and when a touch operation is detected on or near the touch-sensitive surface 1831, the touch operation is transmitted to the processor 1880 to determine the type of touch event, and the processor 1880 then provides a corresponding visual output on the display panel 1841 according to the type of touch event. Although in FIG. 18, touch-sensitive surface 1831 and display panel 1841 are implemented as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 1831 and display panel 1841 may be integrated to implement input and output functions.
The terminal 1800 can also include at least one sensor 1850, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1841 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1841 and/or backlight when the terminal 1800 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the terminal is stationary, and can be used for applications of recognizing terminal gestures (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the terminal 1800, they are not described herein again.
Audio circuitry 1860, speakers 1861, and microphone 1862 may provide an audio interface between a user and terminal 1800. The audio circuit 1860 may transmit the electrical signal converted from the received audio data to the speaker 1861, and convert the electrical signal into an audio signal by the speaker 1861 for output; on the other hand, the microphone 1862 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1860 and converted into audio data, which is then processed by the audio data output processor 1880 and then transmitted to, for example, another terminal via the RF circuit 1810, or output to the memory 1820 for further processing. The audio circuit 1860 may also include an earbud jack to provide peripheral headphones for communication with the terminal 1800.
WiFi belongs to short distance wireless transmission technology, and the terminal 1800 can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1870, and it provides wireless broadband internet access for the user.
The processor 1880 is a control center of the terminal 1800, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal 1800 and processes data by operating or executing software programs and/or modules stored in the memory 1820 and calling data stored in the memory 1820, thereby monitoring the terminal as a whole. Optionally, processor 1880 may include one or more processing cores; preferably, the processor 1880 may integrate an application processor, which handles primarily operating systems, user interfaces, and applications, etc., and a modem processor, which handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1880.
The terminal 1800 also includes a power supply 1890 (e.g., a battery) that provides power to various components, and preferably is logically coupled to the processor 1880 via a power management system that provides management of charging, discharging, and power consumption. Power supply 1890 may also include any component or components of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal 1800 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the terminal is a touch screen display, the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing the above-mentioned traffic query operation in this embodiment.
The present specification provides method steps as described in the examples or flowcharts, but may include more or fewer steps based on routine or non-inventive labor. The steps and sequences recited in the embodiments are but one manner of performing the steps in a multitude of sequences and do not represent a unique order of performance. In the actual system or interrupted product execution, it may be performed sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The configurations shown in the present embodiment are only partial configurations related to the present application, and do not constitute a limitation on the devices to which the present application is applied, and a specific device may include more or less components than those shown, or combine some components, or have an arrangement of different components. It should be understood that the methods, apparatuses, and the like disclosed in the embodiments may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a division of one logic function, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or unit modules.
Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A road condition query method is characterized by comprising the following steps:
receiving road condition query voice information;
performing voice recognition on the voice information to generate a road condition query instruction, wherein the road condition query instruction comprises the name of a road to be queried; when the road name in the road condition query instruction is homophone, returning all road names so that a user determines the name of the road to be queried from all homophone road names;
acquiring a road set to be inquired according to the name of the road to be inquired;
acquiring a target road from the road set to be inquired;
sending a road condition query request of the target road to a server;
receiving a road condition query result of the target road, detecting a current driving state, and informing a user of the query result in a voice broadcast and popup display mode when the driving state is a non-navigation state or a cruise state; and when the driving state is a navigation state or a light navigation state, informing the user of the query result in a voice broadcasting mode or informing the user in a voice broadcasting and popup window display mode.
2. The road condition query method according to claim 1, wherein the informing the user of the query result in a pop-up window display manner comprises:
establishing a window for displaying the road condition information of the target road;
acquiring a query result of the road condition information of the target road;
displaying the query result in the window in a highlighted form.
3. The traffic query method according to claim 1, wherein before receiving the traffic query voice message, the method further comprises:
receiving a request for awakening a road condition query function;
and when the request for awakening the road condition query function meets a preset condition, awakening the road condition query function and receiving the road condition query voice information.
4. The road condition query method according to claim 1, wherein the step of obtaining the target roads from the set of roads to be queried comprises:
and when the road set to be queried has only one element, determining the element in the road set to be queried as the target road.
5. The road condition query method according to claim 1, wherein the step of obtaining the target roads from the set of roads to be queried comprises:
when the road set to be inquired has at least two elements, acquiring a name list of all the elements;
receiving a road selection request, and selecting the target road from the name list according to the road selection request;
acquiring additional information of the target road, wherein the additional information is used for distinguishing the target road from other roads in the name list;
the sending the road condition query request of the target road to the server comprises:
and sending the target road name and the additional information to a server.
6. A road condition query device, comprising:
the voice receiving module is used for receiving the road condition query voice information;
the voice recognition module is used for carrying out voice recognition on the voice information and generating a road condition query instruction, and the road condition query instruction comprises the name of a road to be queried; the voice recognition module comprises a homophone word selection module, and is used for returning all road names when the road names in the road condition query instruction are homophones so that a user can determine the names of the roads to be queried from all homophone road names;
the road set acquisition module is used for acquiring a road set to be inquired according to the name of the road to be inquired;
the target road acquisition module is used for acquiring a target road from the road to be inquired in a centralized manner;
the request sending module is used for sending a road condition query request of the target road to a server;
the result informing module is used for receiving the road condition inquiring result of the target road, detecting the current driving state, and informing the inquiring result to a user in a voice broadcasting and popup window display mode when the driving state is a non-navigation state or a cruising state; and when the driving state is a navigation state or a light navigation state, informing the user of the query result in a voice broadcasting mode or informing the user in a voice broadcasting and popup window display mode.
7. The traffic query device of claim 6, further comprising:
a wake-up request receiving module for receiving a request for waking up a road condition query function;
and the awakening module is used for awakening the road condition query function and receiving the road condition query voice information when the request for awakening the road condition query function meets the preset condition.
8. The traffic query device of claim 6, wherein the target road obtaining module comprises:
the first determining module is used for determining the elements in the road set to be inquired as the target road when the road set to be inquired has one and only one element.
9. The traffic query device of claim 6, wherein the target road obtaining module comprises:
and the second determination module is used for determining that one element in the road set to be inquired is the target road when at least two elements exist in the road set to be inquired.
10. The traffic query device of claim 9, wherein the second determining module comprises:
the name list acquisition module is used for acquiring a name list of all elements when at least two elements are concentrated on the road to be inquired;
the selection request receiving module is used for receiving a road selection request and selecting the target road from the name list according to the road selection request;
an additional information acquisition module, configured to acquire additional information of the target road, where the additional information is used to distinguish the target road from other roads in the name list;
the request sending module comprises:
and the information sending module is used for sending the target road name and the additional information to a server.
11. A terminal, comprising:
a processor and a memory, wherein the processor is used for calling and executing the program stored in the memory, and the memory is used for storing the program, and the program is used for implementing the road condition query method according to any one of claims 1 to 5.
12. A computer storage medium, wherein the storage medium stores computer-executable instructions, and the computer-executable instructions are loaded by a processor and execute the road condition query method according to any one of claims 1 to 5.
CN201811094669.6A 2018-09-19 2018-09-19 Road condition query method, device, terminal and storage medium Active CN109299359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811094669.6A CN109299359B (en) 2018-09-19 2018-09-19 Road condition query method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811094669.6A CN109299359B (en) 2018-09-19 2018-09-19 Road condition query method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109299359A CN109299359A (en) 2019-02-01
CN109299359B true CN109299359B (en) 2020-10-27

Family

ID=65163435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811094669.6A Active CN109299359B (en) 2018-09-19 2018-09-19 Road condition query method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109299359B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110509931B (en) * 2019-08-28 2021-02-19 广州小鹏汽车科技有限公司 Information display method, device and system for voice question answering
CN111599202A (en) * 2020-05-27 2020-08-28 四川邮电职业技术学院 Vehicle-mounted communication terminal and vehicle-mounted communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777253A (en) * 2009-12-24 2010-07-14 戴磊 Real-time road condition acquiring, analyzing and back-feeding and intelligent transportation integrated service system
CN105489039A (en) * 2016-01-18 2016-04-13 腾讯科技(深圳)有限公司 Road condition information service realization method and system
CN106504556A (en) * 2015-09-07 2017-03-15 深圳市京华信息技术有限公司 A kind of speech polling and the method and system of report real-time road

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751624A (en) * 2013-12-25 2015-07-01 富泰华工业(深圳)有限公司 Roadblock device, road condition management device, road condition management system, and road condition management method
CN104021695B (en) * 2014-06-23 2016-05-04 福州瑞芯微电子股份有限公司 The air navigation aid of onboard navigation system, real-time road and querying method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101777253A (en) * 2009-12-24 2010-07-14 戴磊 Real-time road condition acquiring, analyzing and back-feeding and intelligent transportation integrated service system
CN106504556A (en) * 2015-09-07 2017-03-15 深圳市京华信息技术有限公司 A kind of speech polling and the method and system of report real-time road
CN105489039A (en) * 2016-01-18 2016-04-13 腾讯科技(深圳)有限公司 Road condition information service realization method and system

Also Published As

Publication number Publication date
CN109299359A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
US20180268460A1 (en) Method and apparatus for information recommendation
CN109556621B (en) Route planning method and related equipment
KR101978590B1 (en) Message updating method, device and terminal
CN105208056B (en) Information interaction method and terminal
CN105740291B (en) Map interface display method and device
CN109556612B (en) Navigation information processing method, device, server, terminal and storage medium
CN109059955B (en) Method and device for drawing indication mark in electronic map navigation
KR20170132240A (en) Communication message transmission method and device
CN106643772B (en) Navigation path planning method and device and navigation terminal
CN108519080B (en) Navigation route planning method and terminal
JP2013242763A (en) Dialogue apparatus, dialogue system and dialogue control method
CN108702661B (en) Method and device for adjusting network selection parameters of mobile phone
CN109032491B (en) Data processing method and device and mobile terminal
CN108540815B (en) Multimedia content playing method, device and system
CN109489674B (en) Method, device and storage medium for determining road section based on position
CN107766548B (en) Information display method and device, mobile terminal and readable storage medium
CN105606117A (en) Navigation prompting method and navigation prompting apparatus
CN107766455B (en) Lyric pickup method, device and computer readable storage medium
CN105526944B (en) Information cuing method and device
CN108151716A (en) Flight instruments mapping operating area planing method, device and terminal
CN105303591B (en) Method, terminal and server for superimposing location information on jigsaw puzzle
CN109299359B (en) Road condition query method, device, terminal and storage medium
CN105091894A (en) Navigation method, intelligent terminal device and wearable device
KR20130038723A (en) Method and system for searching using keyword
CN109147371B (en) Driving route determining method and device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant