CN107990908B - Voice navigation method and device based on Bluetooth communication - Google Patents
Voice navigation method and device based on Bluetooth communication Download PDFInfo
- Publication number
- CN107990908B CN107990908B CN201711155592.4A CN201711155592A CN107990908B CN 107990908 B CN107990908 B CN 107990908B CN 201711155592 A CN201711155592 A CN 201711155592A CN 107990908 B CN107990908 B CN 107990908B
- Authority
- CN
- China
- Prior art keywords
- navigation
- voice
- bluetooth
- equipment
- data
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3626—Details of the output of route guidance instructions
- G01C21/3629—Guidance using speech or audio output, e.g. text-to-speech
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
- Navigation (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention is suitable for the technical field of communication, and provides a voice navigation method and a device based on Bluetooth communication, wherein the method comprises the following steps: establishing Bluetooth connection between navigation equipment and Bluetooth voice equipment, wherein the navigation equipment is used for generating voice navigation data and sending the voice navigation data to the Bluetooth voice equipment through the Bluetooth connection; in the navigation process, the navigation equipment detects whether the voice navigation data has abnormal playing in real time; and if the abnormal playing is detected, sending a prompt to the user. The problem of wrong navigation caused by unstable Bluetooth data transmission is avoided.
Description
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a voice navigation method and device based on Bluetooth communication.
Background
With the development of society, people go out more and more frequently, so the navigation function of the mobile terminal is increasingly important. In the process of using the mobile terminal to navigate, the user is often connected with the mobile terminal through the bluetooth device, and then broadcasts the voice navigation information through the bluetooth device. In practical application, the bluetooth communication is delayed or lost, which causes the broadcast voice not to accord with the actual road condition. Thereby causing inconvenience to the trip of the user.
Disclosure of Invention
In view of this, embodiments of the present invention provide a voice navigation method and apparatus based on bluetooth communication, so as to solve the problem of navigation errors caused by bluetooth communication errors in the navigation process in the prior art.
The first aspect of the embodiments of the present invention provides a voice navigation method based on bluetooth communication, including:
establishing Bluetooth connection between navigation equipment and Bluetooth voice equipment, wherein the navigation equipment is used for generating voice navigation data and sending the voice navigation data to the Bluetooth voice equipment through the Bluetooth connection;
in the navigation process, the navigation equipment detects whether the voice navigation data has abnormal playing in real time;
and if the abnormal playing is detected, sending a prompt to the user.
A second aspect of an embodiment of the present invention provides a voice navigation apparatus based on bluetooth communication, including:
the connection unit is used for establishing Bluetooth connection between the navigation equipment and the Bluetooth voice equipment, wherein the navigation equipment is used for generating voice navigation data and sending the voice navigation data to the Bluetooth voice equipment through the Bluetooth connection;
the detection unit is used for detecting whether the voice navigation data has abnormal playing in real time by the navigation equipment in the navigation process;
and the reminding unit is used for sending a reminder to the user if the playing abnormity is detected.
A third aspect of embodiments of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the voice navigation method based on bluetooth communication mentioned in the foregoing first aspect or any possible implementation manner of the foregoing first aspect.
A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program which, when executed by a processor, implements the method for voice navigation based on bluetooth communication as mentioned in the first aspect above or any possible implementation manner of the first aspect above.
A fifth aspect of embodiments of the present application provides a computer program product comprising a computer program that, when executed by one or more processors, performs the steps of the voice navigation method based on bluetooth communication provided by the first aspect of the present application.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the method comprises the steps that a navigation device is connected with a Bluetooth voice device through Bluetooth, wherein the navigation device is used for generating voice navigation data and sending the voice navigation data to the Bluetooth voice device through Bluetooth connection; in the navigation process, the navigation equipment detects whether the voice navigation data has abnormal playing in real time; and if the abnormal playing is detected, sending a prompt to the user. The problem of wrong navigation caused by unstable Bluetooth data transmission is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation of a voice navigation method based on bluetooth communication according to an embodiment of the present invention;
fig. 2 is an interaction flow diagram of a voice navigation method based on bluetooth communication according to a second embodiment of the present invention;
fig. 3 is an interaction flow diagram of a voice navigation method based on bluetooth communication according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a voice navigation apparatus based on Bluetooth communication according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1 is a schematic flow chart of an implementation of a voice navigation method based on bluetooth communication according to an embodiment of the present invention, as shown in the figure, the method may include the following steps:
and step S101, establishing Bluetooth connection between the navigation equipment and the Bluetooth voice equipment.
In this embodiment, the navigation device may be an electronic device with a navigation function, for example, a vehicle-mounted navigator, or a portable mobile device such as a mobile phone, a tablet computer, and an electronic watch. The navigation device can be used for navigation in the process of driving, and also can be used for navigation in the processes of walking, running, riding a bicycle, a motorcycle and the like. The user inputs parameters of departure place, destination, departure time and the like on the navigation equipment. The navigation equipment sends the parameters to a server through a network, an optimal navigation path is obtained through calculation of the server and is issued to the navigation equipment, and the navigation equipment generates voice navigation data according to the navigation path. The bluetooth voice device can be, for example, a bluetooth headset, a bluetooth speaker, or a vehicle-mounted system with a bluetooth module and a voice playing module, the bluetooth headset and the bluetooth speaker can be used for receiving a voice navigation signal of the navigation device, and the vehicle-mounted system can receive the voice navigation signal of the navigation device and GPS positioning information, and then displays the positioning of the user on a map interface of the vehicle-mounted system.
Step S102, in the navigation process, the navigation equipment detects whether the voice navigation data has abnormal playing in real time.
In this embodiment, a user needs to use a navigation function during driving, first sets a destination through a mobile phone, then plans a driving route, and plays a navigation voice through a bluetooth voice device during driving, for example, "turn right 200 meters ahead", "go straight", "turn around", and the like. And in the navigation process, detecting whether the voice navigation data has abnormal playing in real time. Because the navigation equipment and the Bluetooth voice equipment are communicated through Bluetooth, certain data loss or delay exists when data transmission is carried out through Bluetooth. For example, the voice that should be broadcasted is: "200 meters ahead turn", because appear losing the phenomenon through bluetooth transmission for the data of several words in the front are lost, and the pronunciation of reporting on bluetooth speech equipment as a result is: "turn". Thereby possibly causing the user to drive wrongly or to be overwhelmed when there is no intersection to turn. Certain driving safety hidden dangers are brought to users. Therefore, in the navigation process, whether the navigation data has abnormal playing can be judged by detecting the data transmission between the navigation equipment and the Bluetooth voice equipment. The details of how to determine whether the navigation data has the playback abnormality through data transmission will be described later.
And step S103, if the abnormal playing is detected, sending a prompt to the user.
In this embodiment, if it is determined that the voice navigation data is abnormally played by detecting data transmission between the navigation device and the bluetooth voice device, a prompt is sent to the user. For example, the reminding text containing abnormal types, such as 'delayed current navigation voice' and 'lost current navigation voice', is output on the display screen of the navigation device.
Optionally, the navigation device may vibrate the navigation device when performing the text alert, and set the background color of the display screen of the navigation device to red, or flash at a certain frequency after setting the background color to red, so as to prompt the user that the current navigation voice is incorrect. Thereby drawing the attention of the user. In the embodiment, whether the voice navigation data is abnormally played or not is detected in real time in the navigation process, and a prompt is sent to the user when the voice navigation data is detected to be abnormally played, so that the situation that the user runs according to wrong voice broadcast and unnecessary loss is caused to the user is avoided.
Example two
Fig. 2 is a schematic flow chart illustrating an implementation of a voice navigation method based on bluetooth communication according to a second embodiment of the present invention, which is based on the first embodiment. The real-time detection of whether the voice navigation data has abnormal playing specifically comprises:
step S201, the navigation equipment divides voice navigation data into a plurality of data packets;
step S202, adding serial numbers to the data packets according to a time sequence and then sending the data packets to the Bluetooth voice equipment through Bluetooth;
in this embodiment, in the navigation process, in the current position of the user, when the navigation device detects that a voice prompt, for example, "turn right 200 meters ahead", needs to be sent to the user, the navigation device splits a voice signal for outputting "turn right 200 meters ahead" into a plurality of data packets suitable for bluetooth communication. And then adding sequence numbers to the split data packets according to the time sequence. So that the Bluetooth voice device can check the integrity of the data packet after receiving the Bluetooth data packet of the voice navigation data.
Step S203, checking the continuity of the serial numbers of the received multiple data packets, and determining whether the voice navigation data is lost.
In this embodiment, when the bluetooth voice device receives a data packet sent by the navigation device, the bluetooth voice device may check the sequence number of the data packet, and when the sequence number of the received data packet is discontinuous, it is considered that a packet loss event occurs in the process of transmitting data through bluetooth. For example, the complete packet sequence number should be 1, 2, 3, 4 … … N, where N is a natural number greater than 1. If the serial numbers of the data packets received by the bluetooth voice module are 1, 2 and 4 … … N, since no 3 exists in the serial numbers, it is determined that a packet loss event occurs in data transmission. Since bluetooth can transmit hundreds of thousands of data packets when transmitting data, the occurrence of individual packet loss events does not affect the understanding of the user on the voice signal. Therefore, optionally, the number of times of the packet loss event occurring when a certain number of data packets are transmitted may be calculated, and when the number of times of the packet loss event occurring is greater than the threshold, the data is considered to be lost. If the times of the packet loss events are smaller than the threshold value, the data are not considered to be lost, and the voice navigation can be played to the user normally.
And step S204, if the voice navigation data is judged to be lost, sending a reminding signal to the navigation equipment.
In this embodiment, when it is determined that the voice navigation data is lost, the voice navigation apparatus sends a reminding signal for reminding that the data is lost to the navigation apparatus. And sending a prompt to the user after the navigation equipment receives and analyzes the prompt signal. For example, "there is a loss of current speech".
Optionally, after detecting that the voice navigation data is lost, the method further includes: and stopping sending the voice navigation data to the Bluetooth voice equipment within preset time.
In this embodiment, as described above, the voice that should be broadcasted is: "200 meters ahead turn", because appear losing the packet phenomenon through bluetooth transmission for the data of several preceding words are lost, and the pronunciation of reporting on bluetooth speech equipment is as a result: "turn". Therefore, a user may make a driving error, and since the lost data is difficult to recover, in this embodiment, if it is detected that the voice navigation data is lost, the navigation device stops sending the data packet within a preset time, so as to completely shield the incomplete voice, or the bluetooth voice device may pause playing within the preset time when it is detected that the voice signal is lost, for example, the volume of the bluetooth voice device is reduced to mute. Thereby avoiding the error of the user caused by the wrong navigation voice driving. The preset time is set by a system, and may be 5 seconds, for example. Since the playing frequency of the voice is not high during the voice navigation, and the time length of each voice segment does not exceed 5 seconds, the preset time is preferably set to 5 seconds. Thereby effectively masking the missing speech. Preventing the user from being misled by the wrong speech signal.
EXAMPLE III
Fig. 3 is a schematic flow chart illustrating an implementation of a voice navigation method based on bluetooth communication according to a third embodiment of the present invention, which is based on the first embodiment. The real-time detection of whether the voice navigation data has abnormal playing specifically comprises:
step S301, the navigation device splits the voice navigation data into a plurality of data packets.
In this embodiment, step S301 is the same as step S201 in the second embodiment, and specifically, refer to step S201.
Step S302, recording a transmission time for transmitting a first data packet of the plurality of data packets.
Step S303, after the bluetooth voice device receives the first data packet, sending a receipt signal of successful reception to the navigation device.
And step S304, recording the receipt signal receiving time when the navigation equipment receives the receipt signal.
In this embodiment, the navigation device may utilize a timing module to record the transmission time for transmitting the first data packet when the navigation device transmits the first data packet. And the Bluetooth voice equipment sends a receipt signal of successful receiving to the navigation equipment while receiving the first data packet. And when the navigation equipment receives the receipt signal, the timing module records the receipt signal receiving time. Thereby completing the recording of the signal transmission time length.
Step S305, calculating whether a time difference between the receipt signal receiving time and the sending time is greater than a preset value, and if so, determining that the voice navigation is delayed.
In this embodiment, when the time difference between the receipt signal receiving time and the sending time is small, it can be determined that the data transmission time is short, and the user can be correctly navigated. If the time difference between the receipt signal receiving time and the receipt signal sending time is large, the data transmission time is long, and voice navigation delay is likely to occur. Navigation errors may occur. Therefore, in this embodiment, by calculating the time difference between the receipt signal receiving time and the receipt signal sending time, when the time difference is greater than the preset value, it is determined that the voice navigation is delayed, and a prompt is sent to the user.
Optionally, after detecting that the voice navigation data has a delay, initiating an inquiry request for whether to reconnect the bluetooth voice device.
In this embodiment, when it is detected that the voice navigation data is delayed, a prompt may be sent to the user through the navigation device, and the user is asked whether to restart the bluetooth connection between the navigation device and the bluetooth device. The navigation device may receive voice commands from a user using a voice-controlled interface. For example, the user sends "good", "restart", etc., the navigation device automatically restarts the bluetooth connection with the bluetooth voice device. Connection of the Bluetooth equipment is restarted in a voice control mode, manual operation of a user is not needed, so that the delayed Bluetooth connection can be conveniently restarted when the user drives, and user experience of the navigation equipment is improved.
Optionally, after the initiating the inquiry request of whether to reconnect the bluetooth voice device, the method includes: if a user sends a Bluetooth connection instruction between the navigation equipment and the Bluetooth voice equipment, the navigation equipment records a current navigation task; ending the current navigation task and disconnecting the Bluetooth connection between the navigation equipment and the Bluetooth voice equipment; after the Bluetooth module is restarted, Bluetooth connection is reestablished with the Bluetooth voice equipment; and starting navigation and continuing to execute the recorded current navigation task.
In this embodiment, after the navigation device receives a voice command to restart the bluetooth connection from the user, the navigation device records the current navigation task, such as the destination, the departure point, the initial recommended route, and the like of the navigation. Then ending the current navigation task and Bluetooth connection with the Bluetooth voice equipment, and reestablishing Bluetooth connection with the Bluetooth voice equipment after the navigation equipment restarts the Bluetooth module; and then starting navigation and continuously executing the recorded current navigation task, so that after the Bluetooth connection is restarted, a user does not need to set the navigation task again, and the navigation equipment is more intelligent.
Optionally, the method further includes obtaining a position where the voice navigation data is abnormally played and a type of the abnormality; transmitting the location and the type of the anomaly to a navigation server.
In the embodiment, in order to facilitate the navigation device provider to accurately investigate the reason of the abnormal voice navigation playing. And sending the position where the abnormal playing of the voice navigation data occurs and the type of the abnormal playing to a navigation server so that a navigation equipment provider can search the position where the abnormal playing of the navigation is easy to occur according to the data provided by the user, thereby being capable of solving the problem of the abnormal navigation in a targeted manner.
Example four
Fig. 4 shows a constituent structure of a voice navigation apparatus based on bluetooth communication according to the fourth embodiment of the present application, and for convenience of description, only the relevant parts related to the embodiment of the present application are shown.
In this embodiment of the present application, the apparatus is used to implement the voice navigation method based on bluetooth communication in the embodiment of fig. 1, and may be a software unit, a hardware unit or a unit combining software and hardware that is built in a mobile terminal. The mobile terminal is provided with an audio output unit and a Bluetooth module, and comprises but is not limited to a smart phone, a tablet computer, a learning machine or smart vehicle-mounted equipment and the like.
As shown in fig. 4, the apparatus includes:
the connection unit 401 is configured to establish a bluetooth connection between a navigation device and a bluetooth voice device, where the navigation device is configured to generate voice navigation data and send the voice navigation data to the bluetooth voice device through the bluetooth connection;
a detecting unit 402, configured to detect, in a navigation process, whether the voice navigation data is played abnormally in real time by the navigation device;
a reminding unit 403, configured to send a reminder to the user if it is detected that there is an abnormal playing.
According to the embodiment, whether playing of the voice navigation data is abnormal or not is detected in real time in the navigation process, and when the fact that playing of the voice navigation data is abnormal is detected, a prompt is sent to a user, so that the situation that the user runs according to wrong voice broadcasting and unnecessary loss is caused to the user is avoided.
Optionally, the apparatus further comprises a control unit, configured to: the playing abnormality is voice navigation data loss, and if the voice navigation data loss is detected, the method further comprises the following steps:
and stopping sending the voice navigation data to the Bluetooth voice equipment within preset time.
Optionally, the detection unit is further configured to:
splitting voice navigation data into a plurality of data packets;
recording the sending time of the first data packet in the plurality of data packets;
after the Bluetooth voice equipment receives the first data packet, sending a receipt signal with successful receiving to the navigation equipment;
when the navigation equipment receives the receipt signal, recording the receipt signal receiving time;
and calculating whether the time difference between the receipt signal receiving time and the sending time is greater than a preset value, and if so, judging that the voice navigation is delayed.
Optionally, the apparatus further comprises:
the restart inquiry unit is used for delaying the voice navigation data when the abnormal playing is abnormal, and if the voice navigation data is detected to have delay;
an inquiry request is initiated whether to reconnect the bluetooth voice device.
Optionally, the apparatus further comprises:
the navigation device comprises a restarting unit, a starting unit and a control unit, wherein the restarting unit is used for recording a current navigation task if a user sends a Bluetooth connection instruction between the restarting navigation device and the Bluetooth voice device;
ending the current navigation task and disconnecting the Bluetooth connection between the navigation equipment and the Bluetooth voice equipment;
after the Bluetooth module is restarted, Bluetooth connection is reestablished with the Bluetooth voice equipment;
and starting navigation and continuing to execute the recorded current navigation task.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps of the above-described embodiments of the voice navigation method, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of each module/unit in the above-mentioned device embodiments, for example, the functions of the modules 401 to 403 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into a synchronization module, a summarization module, an acquisition module, and a return module, and each module has the following specific functions:
the connection module is used for establishing Bluetooth connection between the navigation equipment and the Bluetooth voice equipment, wherein the navigation equipment is used for generating voice navigation data and sending the voice navigation data to the Bluetooth voice equipment through the Bluetooth connection;
the detection module is used for detecting whether the voice navigation data has abnormal playing in real time by the navigation equipment in the navigation process;
and the reminding module is used for sending a reminder to the user if the abnormal playing is detected.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the apparatus/terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. 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.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or 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 units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (6)
1. A voice navigation method based on Bluetooth communication is characterized by comprising the following steps:
step S101, establishing Bluetooth connection between navigation equipment and Bluetooth voice equipment, wherein the navigation equipment is used for generating voice navigation data and sending the voice navigation data to the Bluetooth voice equipment through the Bluetooth connection;
step S102, in the navigation process, the navigation device detects whether the voice navigation data has abnormal playing in real time, and the method comprises the following steps:
splitting voice navigation data into a plurality of data packets;
recording the sending time of the first data packet in the plurality of data packets;
after the Bluetooth voice equipment receives the first data packet, sending a receipt signal with successful receiving to the navigation equipment;
when the navigation equipment receives the receipt signal, recording the receipt signal receiving time;
calculating whether the time difference between the receipt signal receiving time and the sending time is greater than a preset value or not, and if so, judging that the voice navigation is delayed and the voice navigation data has abnormal playing;
step S103, if the abnormal playing is detected, a prompt is sent to a user, and a prompt character containing an abnormal type is output on a display screen of the navigation equipment, so that the navigation equipment vibrates;
acquiring the position and the abnormal type of the abnormal playing of the voice navigation data; transmitting the location and the type of the anomaly to a navigation server.
2. The voice guidance method of claim 1, wherein the playback anomaly is a voice guidance data delay,
if the voice navigation data is detected to have time delay;
an inquiry request is initiated whether to reconnect the bluetooth voice device.
3. The voice guidance method of claim 2, wherein after the navigation device initiates an inquiry request whether to reconnect a bluetooth voice device, comprising:
if a user sends a Bluetooth connection instruction between the navigation equipment and the Bluetooth voice equipment, the navigation equipment records a current navigation task;
ending the current navigation task and disconnecting the Bluetooth connection between the navigation equipment and the Bluetooth voice equipment;
after the Bluetooth module is restarted, Bluetooth connection is reestablished with the Bluetooth voice equipment;
and starting navigation and continuing to execute the recorded current navigation task.
4. A voice navigation device based on bluetooth communication, comprising:
the connection unit is used for establishing Bluetooth connection between the navigation equipment and the Bluetooth voice equipment, wherein the navigation equipment is used for generating voice navigation data and sending the voice navigation data to the Bluetooth voice equipment through the Bluetooth connection;
the detecting unit is used for detecting whether the voice navigation data has abnormal playing in real time by the navigation equipment in the navigation process, and comprises the following steps:
splitting voice navigation data into a plurality of data packets;
recording the sending time of the first data packet in the plurality of data packets;
after the Bluetooth voice equipment receives the first data packet, sending a receipt signal with successful receiving to the navigation equipment;
when the navigation equipment receives the receipt signal, recording the receipt signal receiving time;
calculating whether the time difference between the receipt signal receiving time and the sending time is greater than a preset value or not, and if so, judging that the voice navigation is delayed and the voice navigation data has abnormal playing;
the reminding unit is used for sending a reminder to a user if the abnormal playing is detected, outputting a reminding character containing an abnormal type on a display screen of the navigation equipment, and enabling the navigation equipment to vibrate; acquiring the position and the abnormal type of the abnormal playing of the voice navigation data; transmitting the location and the type of the anomaly to a navigation server.
5. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
6. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711155592.4A CN107990908B (en) | 2017-11-20 | 2017-11-20 | Voice navigation method and device based on Bluetooth communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711155592.4A CN107990908B (en) | 2017-11-20 | 2017-11-20 | Voice navigation method and device based on Bluetooth communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107990908A CN107990908A (en) | 2018-05-04 |
CN107990908B true CN107990908B (en) | 2020-08-14 |
Family
ID=62031633
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711155592.4A Active CN107990908B (en) | 2017-11-20 | 2017-11-20 | Voice navigation method and device based on Bluetooth communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107990908B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112344955B (en) * | 2020-10-20 | 2021-09-03 | 乐清市路航电气有限公司 | Bluetooth navigation method based on big data |
CN113450794B (en) * | 2021-06-25 | 2023-09-05 | 北京百度网讯科技有限公司 | Navigation broadcasting detection method and device, electronic equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103826252A (en) * | 2014-01-16 | 2014-05-28 | 京信通信系统(中国)有限公司 | Method of acquiring and sending sequence numbers among main and slave devices and system |
CN104535074A (en) * | 2014-12-05 | 2015-04-22 | 惠州Tcl移动通信有限公司 | Bluetooth earphone-based voice navigation method, system and terminal |
CN106488289A (en) * | 2016-10-08 | 2017-03-08 | 广东欧珀移动通信有限公司 | Audio sync player method, apparatus and system |
CN106483978A (en) * | 2016-12-09 | 2017-03-08 | 佛山科学技术学院 | A kind of unmanned machine operation voice guide devices and methods therefor |
CN106949902A (en) * | 2017-03-24 | 2017-07-14 | 百度在线网络技术(北京)有限公司 | Navigation sound fault solution, device, equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103795792B (en) * | 2014-01-22 | 2018-07-10 | 百度在线网络技术(北京)有限公司 | A kind of phonetic navigation method and system |
CN106464747B (en) * | 2014-06-22 | 2020-09-08 | 萨维罗纳2014有限公司 | Vehicle safety system and method for operating driver's mobile phone |
US10235996B2 (en) * | 2014-10-01 | 2019-03-19 | XBrain, Inc. | Voice and connection platform |
CN105845138A (en) * | 2016-03-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Voice signal processing method and apparatus |
CN106209204A (en) * | 2016-06-30 | 2016-12-07 | 广州润芯信息技术有限公司 | It is applied to voice transmission method and the system of Big Dipper generation satellite navigation system |
-
2017
- 2017-11-20 CN CN201711155592.4A patent/CN107990908B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103826252A (en) * | 2014-01-16 | 2014-05-28 | 京信通信系统(中国)有限公司 | Method of acquiring and sending sequence numbers among main and slave devices and system |
CN104535074A (en) * | 2014-12-05 | 2015-04-22 | 惠州Tcl移动通信有限公司 | Bluetooth earphone-based voice navigation method, system and terminal |
CN106488289A (en) * | 2016-10-08 | 2017-03-08 | 广东欧珀移动通信有限公司 | Audio sync player method, apparatus and system |
CN106483978A (en) * | 2016-12-09 | 2017-03-08 | 佛山科学技术学院 | A kind of unmanned machine operation voice guide devices and methods therefor |
CN106949902A (en) * | 2017-03-24 | 2017-07-14 | 百度在线网络技术(北京)有限公司 | Navigation sound fault solution, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107990908A (en) | 2018-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017201935A1 (en) | Video playing method and apparatus | |
CN110120989B (en) | Method and system for realizing automatic address allocation and matching among devices | |
CN108364152A (en) | Distribution method and device | |
US11936605B2 (en) | Message processing method, apparatus and electronic device | |
JP6665200B2 (en) | Multimedia information processing method, apparatus and system, and computer storage medium | |
CN106488270B (en) | Live broadcast room switching method and device | |
CN107990908B (en) | Voice navigation method and device based on Bluetooth communication | |
CN103517143A (en) | Method, device and terminal device for playing network video | |
US20230352012A1 (en) | Speech skill jumping method for man machine dialogue, electronic device and storage medium | |
WO2016136207A1 (en) | Voice interaction device, voice interaction system, control method of voice interaction device, and program | |
WO2016010646A1 (en) | Controlling media output during consecutive navigation interruptions | |
EP4123497A1 (en) | Method and apparatus for determining skill domain of dialogue text | |
CN110855626B (en) | Electronic whiteboard packet loss processing method, system, medium and electronic equipment | |
CN108401168B (en) | Conflict resolution method, device, equipment and storage medium | |
CN111613232A (en) | Voice interaction method and system for multi-terminal equipment | |
US20220215839A1 (en) | Method for determining voice response speed, related device and computer program product | |
CN113676761B (en) | Multimedia resource playing method and device and main control equipment | |
CN108668011B (en) | Output method, output device and electronic device | |
CN109413455B (en) | User information display method and device for voice microphone interaction | |
CN111521174A (en) | Method, device, medium and electronic equipment for generating synchronization signal of combined inertial navigation system | |
CN110286776A (en) | Input method, device, electronic equipment and the storage medium of character combination information | |
CN111578965B (en) | Navigation broadcast information processing method and device, electronic equipment and storage medium | |
CN116939283A (en) | Equipment control method, device, electronic equipment and storage medium | |
WO2022194025A1 (en) | Interactive video connection method and apparatus, and electronic device and storage medium | |
WO2019141162A1 (en) | Terminal device searching method, apparatus and related device |
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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |