CN107289964B - Navigation voice broadcasting method and device - Google Patents

Navigation voice broadcasting method and device Download PDF

Info

Publication number
CN107289964B
CN107289964B CN201610197134.6A CN201610197134A CN107289964B CN 107289964 B CN107289964 B CN 107289964B CN 201610197134 A CN201610197134 A CN 201610197134A CN 107289964 B CN107289964 B CN 107289964B
Authority
CN
China
Prior art keywords
voice
broadcasting
broadcast
audio file
text 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
Application number
CN201610197134.6A
Other languages
Chinese (zh)
Other versions
CN107289964A (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.)
Alibaba China Co Ltd
Original Assignee
Autonavi Information 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 Autonavi Information Technology Co Ltd filed Critical Autonavi Information Technology Co Ltd
Priority to CN201610197134.6A priority Critical patent/CN107289964B/en
Publication of CN107289964A publication Critical patent/CN107289964A/en
Application granted granted Critical
Publication of CN107289964B publication Critical patent/CN107289964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3626Details of the output of route guidance instructions
    • G01C21/3629Guidance using speech or audio output, e.g. text-to-speech

Abstract

The invention relates to a navigation voice broadcasting method and a navigation voice broadcasting device, wherein the method provided by the embodiment of the invention comprises the following steps: receiving a navigation voice broadcast instruction, judging whether a voice audio file which is pre-recorded by a user and corresponds to a command type in the navigation voice broadcast instruction is stored, and if so, acquiring the voice audio file which is pre-recorded by the user and corresponds to the command type; and acquiring a specific broadcasting mode of the navigation voice according to the navigation voice broadcasting instruction, and broadcasting text data and/or voice audio files according to the broadcasting mode. The navigation voice broadcasting method and the navigation voice broadcasting device provided by the embodiment of the invention use the own voice of the user as the navigation voice in the voice navigation process, meet the customized requirements of the user on the voice navigation, and improve the individuation and entertainment of the voice navigation.

Description

Navigation voice broadcasting method and device
Technical Field
The invention relates to the field of navigation, in particular to a navigation voice broadcasting method and device.
Background
In the prior art, voice navigation is widely applied to various navigation software, navigation voices are more and more diversified along with the development of the technology, and the navigation voices are various, so that a user can select different alternative navigation voices to perform voice navigation.
Disclosure of Invention
In a first aspect, an embodiment of the present invention provides a navigation voice broadcasting method, where the method includes: receiving a navigation voice broadcast instruction, wherein the instruction at least carries a command type and text data; judging whether a voice audio file corresponding to the command type and pre-recorded by the user is stored or not, and if so, acquiring the voice audio file corresponding to the command type and pre-recorded by the user; and judging whether the command type is a command type for only broadcasting the voice recorded by the user, and if so, broadcasting the voice audio file.
In a second aspect, an embodiment of the present invention provides another navigation voice broadcasting method, where the method includes: receiving a navigation voice broadcast instruction, wherein the instruction at least carries a command type, text data and a voice broadcast priority identifier; judging whether a voice audio file corresponding to the command type and pre-recorded by the user is stored or not, and if so, acquiring the voice audio file corresponding to the command type and pre-recorded by the user; and broadcasting the text data and/or the voice audio file according to the priority represented by the voice broadcasting priority identifier.
In a third aspect, an embodiment of the present invention provides a navigation voice broadcasting device, where the navigation voice broadcasting device includes: the instruction acquisition module is used for receiving a navigation voice broadcast instruction, wherein the instruction at least carries a command type and text data; the audio acquisition module is used for judging whether a voice audio file which is pre-recorded by the user and corresponds to the command type exists in a voice audio library, and if so, acquiring the voice audio file which is pre-recorded by the user and corresponds to the command type; and the first voice broadcasting module is used for broadcasting the voice audio file if the command type is the command type only broadcasting the user recorded voice.
In a fourth aspect, an embodiment of the present invention provides another navigation voice broadcasting device, where the navigation voice broadcasting device includes: the instruction acquisition module is used for receiving a navigation voice broadcast instruction, wherein the instruction at least carries a command type, text data and a voice broadcast priority identifier; the audio acquisition module is used for judging whether a voice audio file which is pre-recorded by the user and corresponds to the command type exists in a voice audio library, and if so, acquiring the voice audio file which is pre-recorded by the user and corresponds to the command type; and the voice broadcasting module is used for broadcasting the text data and/or the voice audio file according to the priority represented by the voice broadcasting priority identifier.
The navigation voice broadcasting method and the navigation voice broadcasting device provided by the embodiment of the invention use the voice audio file pre-recorded by the user in the voice navigation process, meet the customized requirements of the user on the voice navigation, and improve the individuation and entertainment of the voice navigation.
Drawings
Fig. 1 is an application environment of a navigation voice broadcast device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a navigation voice broadcasting method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for recording voice by a user according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of another navigation voice broadcasting method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a navigation voice broadcasting device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another navigation voice broadcasting device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a broadcast flow of a voice broadcast queue according to an embodiment of the present invention.
Detailed Description
With the progress of scientific technology, navigation devices (such as intelligent terminals with navigation software) are more and more diversified, and in order to better meet the use requirements of users, the embodiment of the invention provides a navigation voice broadcasting method and a navigation voice broadcasting device, so that users can record own voice audio files and broadcast the voice audio files in the navigation process, voice navigation is more interesting, and the personalized requirements of the users on the voice navigation are met to the greatest extent.
Fig. 1 is an application environment of a navigation voice broadcasting device according to an embodiment of the present invention, as shown in fig. 1, a final implementation form of the navigation device may be a navigation software, the navigation software is installed on an intelligent terminal having a voice playing tool (capable of playing a voice audio file) and a text playing tool (capable of reading text data and converting the text data into voice for playing), a user uses the navigation software to perform voice navigation, the software provides a real-time route planning for the user according to real-time information and a navigation route of the user, generates a voice navigation broadcasting instruction, obtains a voice audio file corresponding to a command type in the voice navigation broadcasting instruction, and then broadcasts the text data in the voice navigation broadcasting instruction and/or the obtained voice audio file to the user according to the voice navigation broadcasting instruction. The navigation voice that the user finally hears as in FIG. 1 can be "make a sharp turn 100 meters ahead, make a sharp turn, take care again! It is time to rest in the service area. ", where" make a sharp turn, caution! And is a voice audio file when the service area has a break, and the voice played according to the text data is a sharp turn in front of 100 meters.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Fig. 2 is a schematic flow chart of a navigation voice broadcasting method according to an embodiment of the present invention, and as shown in fig. 2, the method according to the embodiment of the present invention includes steps S101 to S107:
step S101, receiving a voice navigation broadcasting instruction, wherein the voice navigation broadcasting instruction comprises but is not limited to a command type and text data;
it should be noted that the command type/text data is determined according to the navigation route of the user and the real-time information (such as real-time position, traveling speed, traveling direction) of the user, wherein the specific content included in the text data may be the specific travel route prompting content (such as XX meters for straight walking, left turn ahead) of the user or the road accessory facility prompting content (such as service area, railway crossing, speed limit lamp, traffic light).
The specific process of this step is illustrated by way of example:
as in example 1: in user A's a voice navigation in-process, the navigation head at a certain moment analysis goes out, has sharp turn in user the place ahead 100m, has the service area in user the place ahead 200m, and at this moment, the voice navigation who generates reports the instruction and can be:
voice navigation broadcasts the instruction: text data "there is a sharp turn 100m ahead", command type "sharp turn";
voice navigation broadcasts the instruction: text data "200 m ahead there is a service area", command type "service area".
Example 2: user B has a railway crossing in the 100m place in front of the user in the course of a voice navigation, and therefore, the generated voice navigation broadcast instruction may be:
voice navigation broadcasts the instruction: text data "there is a railroad crossing in front of 100 m", command type "railroad crossing".
The above examples are only for explaining information carried by the voice navigation broadcast instruction, and should not be regarded as a limitation on the implementation format of the voice navigation broadcast instruction, and the implementation format of the voice navigation broadcast instruction may be determined by a technician according to a programming language/communication protocol selected by the technician. Those skilled in the art will also appreciate that a voice navigation broadcast command may carry more than one text data or command type.
Step S102, judging whether a preset voice audio library has a voice audio file corresponding to the command type in the voice navigation broadcast instruction, if not, executing step S103, otherwise, executing step S104; the voice audio library is used for storing voice audio files pre-recorded by a user, each voice audio file corresponds to a unique command type, and the specific process of pre-recording the voice audio files by the user is shown in figure 3 and related text descriptions;
step S103, broadcasting text data;
specifically, text data is added into a voice broadcast queue, and a character playing tool is called to broadcast the text data to a user; for example, in example 1 shown in step S102, if there is no voice audio file of the "service area" in the voice audio library, according to the received navigation voice broadcast instruction, the text data in the navigation voice broadcast instruction is added to the voice broadcast queue (the related description of the voice broadcast queue is detailed in step S105), and when the text data is broadcasted, the text data is broadcasted to the user by calling the text broadcasting tool, and in this step, as in example 1, the voice content broadcasted to the user is "there is a service area 200m ahead" finally.
Step S104, acquiring a voice audio file corresponding to the command type of the voice navigation broadcasting command from a voice audio library;
step S105, judging a specific broadcasting mode corresponding to a command type in the voice navigation broadcasting instruction, and executing step S106 when the broadcasting mode corresponding to the command type is the voice recorded by the user; when the broadcast mode corresponding to the command type is not only to broadcast the voice recorded by the user, executing step S107;
step S106, broadcasting the voice audio file corresponding to the command type of the voice navigation broadcasting instruction obtained in the step S104;
and step S107, broadcasting the text data in the voice navigation broadcasting instruction, and then broadcasting the voice audio file corresponding to the command type of the voice navigation broadcasting instruction.
It should be noted that the broadcast mode corresponding to the command type involved in this step is not unique, and the broadcast mode may be set by the navigation system or may be set by the user according to the needs of the user. The broadcast mode that this embodiment adopted specifically includes: only the voice recorded by the user and the voice recorded by the user are broadcasted, wherein when the text data and the voice recorded by the user both need to be broadcasted, the priority can be set to the priority broadcast of the text data, and also can be set to the priority broadcast of the voice (voice audio file) recorded by the user. And, the specific broadcast modes of different command types are different (or the same). The broadcast mode of the specific command type can be set by a user or provided by navigation software by default. The step S107 is only a preferred technical means provided by the present invention.
In specific practice, in order to ensure that voice broadcast is normally performed, no matter the broadcast text data or voice (voice audio file) recorded by a user, the text data and/or the voice audio file to be broadcast can be added into a preset voice broadcast queue, and a corresponding text broadcast tool or a corresponding voice broadcast tool is called according to the sequence of the text data or the voice audio file entering the voice broadcast queue for broadcast, meanwhile, the broadcast conditions of the text broadcast tool and the voice broadcast tool are monitored, when the broadcast is completed, the text data broadcast completion callback notification of the text broadcast tool is obtained, the audio file broadcast completion callback notification of the voice broadcast tool is obtained, so that the completion of the broadcast is confirmed, the corresponding broadcast tool is called again for broadcast, and the normal operation of navigation voice broadcast is ensured.
When navigating the voice broadcast to the user for the first time, establish the voice broadcast queue, the voice broadcast queue is used for the text data and/or the voice audio file that the buffer memory needs to report, and the sequencing principle of text data and/or voice audio file in the voice broadcast queue includes:
1. for a plurality of different navigation voice broadcast instructions, if the command type priorities carried by the plurality of navigation voice broadcast instructions are the same, sorting according to the generation time of the navigation voice broadcast instructions, for example, the instruction generation time is early, and the corresponding text data and/or voice audio files needing to be broadcast are sorted in the front; the priority level of the command type is determined according to the importance degree of specific contents which need to be broadcasted by a user and correspond to the command type, the navigation software can set the priority level of the command type, the user can set the priority level of the command type according to the requirement of the user, and if the command type 'sharp turn' is more important to the user than the command type 'service area', the priority level of the 'sharp turn' is greater than the 'service area';
2. for a plurality of different navigation voice broadcast instructions, if the command type priorities carried by the plurality of navigation voice broadcast instructions are different, sorting according to the command type priorities, for example, sorting text data and/or voice audio files which are required to be broadcasted and have high priorities in the front;
3. for the same navigation voice broadcasting instruction, the broadcasting sequence of the text data and the voice audio file is sorted according to a set priority sequence, for example, the priority is high and the priority is high.
It should be noted that, when text data is broadcasted, the voice heard by the user can select different navigation voices to perform voice navigation according to the requirements of the user, and the navigation voices specifically include: mandarin (male, female), dialect (Sichuan, northeast, Shanghai, Taiwan), and star.
Fig. 3 is a schematic flow chart of a method for recording voice by a user according to an embodiment of the present invention, and as shown in fig. 3, the method for generating the voice recorded by the user includes:
step S201, acquiring a voice audio file of a user;
the specific implementation mode of acquiring the voice audio file of the user comprises the following steps: obtaining the voice of the user by directly recording to obtain the voice audio file, wherein the duration of the voice audio file has certain limitation, such as: the longest time is 5s, and the shortest time is 1 s; the audio file with certain specification can be uploaded as the voice audio file, and the specification is preferably: the audio files with the formats of MP3, WAV and amr have the playing time of 1s-5 s. Obviously, the specification selection for the voice audio file is not unique, and the specification provided in this embodiment is only an example and should not be construed as a limitation to the present invention.
Step S202, determining the command type of the voice audio file;
the user provides command types for the voice audio file before or after completing the recording (uploading) of the voice audio file, including but not limited to: the method comprises the steps of navigation starting, navigation ending, yawing, frequent accident places, speed measuring and photographing, service areas, sharp turning, railway crossing and vehicle speed attention. Obviously, the above specific division of the command types is only one division manner of the command types, and does not limit the technical solution of the present invention.
Step S203, storing the voice audio files and the command types corresponding to the voice audio files in a voice audio library, where each voice audio file corresponds to a unique command type.
Obviously, each voice audio file corresponds to a unique command type, but each command type can correspond to a plurality of voice audio files, that is, a user can record a plurality of voice audio files under the same command type according to the requirement of the user, and normal acquisition and broadcasting of the voice audio files are ensured by presetting the broadcasting conditions of each voice audio file. The voice audio library is stored locally in the intelligent terminal, cloud backup can be performed through a user account, the complex process of repeatedly recording audio files is omitted, the user can modify the voice audio files at any time according to the needs of the user, and the customization requirements of the user on voice navigation are further met. Table 1 is a specific example of a speech audio library provided in an embodiment of the present invention, and the table records partial contents of the speech audio library.
TABLE 1 Voice Audio library (part)
Type of command Voice audio file content
Navigation initiation The safety belt is tied. We start to La!
Navigation end Get back to the place, get things and get out of the bus!
Speed measuring and shooting And (4) paying attention to speed limit, entering a speed-measuring photographing area of a speed-limiting road section.
Service area It is time to rest in the service area.
Sharp turn Make sharp turns, take care and take care.
Place with multiple accidents The total accident in this vicinity, caution is in the upper!
Railway crossing There is a railroad crossing in front of it, which is coming slowly.
Yaw Go wrong!
Fig. 4 is a schematic flow chart of another navigation voice broadcasting method according to an embodiment of the present invention, and as shown in fig. 4, the method according to the embodiment of the present invention includes steps S301 to S307:
step S301, receiving a navigation voice broadcast instruction, wherein the navigation voice broadcast instruction includes but is not limited to: text data, command type, voice broadcast priority identification;
it should be noted that the command type/text data is determined according to the user navigation route and the real-time information (such as real-time position, traveling speed, traveling direction) of the user, and the voice broadcast priority identifier is determined according to the command type; the specific content contained in the text data can be specific travel route prompt content (such as XX meters for straight walking and left turn ahead) of the user or road accessory facility prompt content (such as service areas, railway crossings, speed limit and traffic lights); the voice broadcast priority identification corresponding to the command type is set by navigation software or a user, different command types correspond to different (or same) voice broadcast priority identifications, and the specific broadcast modes of navigation voice broadcast indicated by the different voice broadcast priority identifications are different.
The above description is only for explaining the information carried by the voice navigation broadcast instruction, and should not be regarded as a limitation on the implementation format of the voice navigation broadcast instruction, and the implementation format of the voice navigation broadcast instruction may be determined by a technician according to the programming language/communication protocol selected by the technician. Those skilled in the art will also appreciate that a voice navigation broadcast command may carry more than one text data, command type, or voice broadcast priority identifier.
Step S302, judging whether a voice audio library has a voice audio file which is pre-recorded by a user and corresponds to the command type in the voice navigation broadcast instruction, if not, executing step S303, otherwise, executing step S304; the voice audio library is used for storing voice audio files pre-recorded by the user, each voice audio file corresponds to a unique command type, and the specific process of pre-recording the voice audio files by the user is the same as the recording process described in fig. 3, which is not repeated herein;
step S303, broadcasting text data;
specifically, text data is added into a voice broadcast queue so as to facilitate a text playing tool to broadcast the text data to a user;
step S404, acquiring a voice audio file corresponding to the command type of the voice navigation broadcasting command from a voice audio library;
step S305, determining a specific broadcasting mode of the navigation voice according to the priority indicated by the voice broadcasting priority identification in the navigation voice broadcasting instruction, and broadcasting text data and/or voice audio files according to the broadcasting mode;
it should be noted that, different voice broadcast priority identifications correspond different broadcast modes, specifically: if the voice broadcast priority identification is only broadcast text data voice identification, then correspond and broadcast mode one: broadcasting the text data; if the voice broadcast priority identification is an identification which only broadcasts the user to record voice, a second corresponding broadcast mode is adopted: broadcasting a voice audio file; if the voice broadcast priority identification is a text data priority broadcast identification, corresponding broadcast mode three: firstly broadcasting text data and then broadcasting voice audio files; if the voice broadcast priority identification is that the user records the voice priority broadcast identification, then correspond and report mode four: firstly broadcasting the voice audio file and then broadcasting the message data.
Specifically, when the navigation voice broadcast instruction received at step S301 further includes a special voice identifier, at step S305,
when the voice broadcast priority identification is a text data priority broadcast identification, judging the navigation voice broadcast of the user in the previous time, judging whether the navigation voice broadcast of the previous time broadcasts special voice, and broadcasting the user in a third broadcast mode if the special voice broadcast of the previous time is carried out; if special pronunciation is not broadcast to the previous time, then need obtain the special pronunciation that special voice identification corresponds from the pronunciation audio database, then this time adopts broadcasting five to broadcast the user of mode, and broadcasting five is of the mode: firstly broadcasting text data, and then broadcasting special voice corresponding to the special voice identification;
when the voice broadcast priority identifier is a voice broadcast priority identifier recorded by a user, judging whether special voice is broadcast or not in the previous broadcast, and if so, performing navigation voice broadcast on the user in a broadcast mode IV; if no, then this time adopt the six voice broadcast that navigate to the user of broadcasting the mode, broadcast the six modes of doing: and broadcasting the special voice corresponding to the special voice identifier, and then broadcasting the message data. The special voice is provided for the navigation system, the specific storage form of the special voice is text data or an audio file, and the special voice storage method has the advantage of increasing the interestingness of navigation.
In specific practice, in order to ensure that voice broadcast is normally carried out, no matter broadcast text data, special voice or voice (voice audio file) recorded by a user, text data to be broadcast, special voice and/or voice audio file can be added into a preset voice broadcast queue, and corresponding text broadcast tools or voice broadcast tools are called to broadcast according to the sequence of entering the text data, special voice or voice audio file into the voice broadcast queue, meanwhile, the broadcast conditions of the text broadcast tools and the voice broadcast tools are monitored, when the broadcast is completed, the text data broadcast completion callback notification of the text broadcast tools is obtained, the voice file broadcast completion callback notification of the voice broadcast tools is obtained, so that the corresponding broadcast tools are called again to broadcast again, and the normal operation of navigation voice broadcast is ensured.
When navigating the voice broadcast to the user for the first time, establish the voice broadcast queue, the voice broadcast queue is used for text data, special pronunciation and/or the voice audio file that the buffer memory needs to report, and text data, special pronunciation and/or the sequencing principle of voice audio file in the voice broadcast queue include:
1. different navigation voice broadcast instructions are ordered according to the generation time of the navigation voice broadcast instructions if the command types carried by the navigation voice broadcast instructions have the same priority, for example, the instruction generation time is early, and the corresponding text data, special voice and/or voice audio files needing to be broadcast are ordered in the front; the priority level of the command type is determined according to the importance degree of specific contents which need to be broadcasted by a user and correspond to the command type, the navigation software can set the priority level of the command type, and the user can set the priority level of the command type according to the self requirement, if the command type 'sharp turn' is more important than the command type 'service area' for the user, the priority level of the sharp turn is greater than the service area;
2. different navigation voice broadcast instructions, if the command type priorities carried by the navigation voice broadcast instructions are different, sorting according to the command type priorities, for example, the text data, the special voice and/or the voice audio files which are corresponding to the navigation voice broadcast instructions and need to be broadcast are sorted in the front when the priority is high;
3. and the broadcasting sequence of the text data, the special voice and the voice audio file according to the same navigation voice broadcasting instruction is sorted according to the priority level represented by the set navigation voice broadcasting identifier, for example, the priority level is sorted in the front.
It should be noted that, when text data is broadcasted, the voice heard by the user can select different navigation voices to perform voice navigation according to the requirements of the user, and the navigation voices specifically include: mandarin (male, female), dialect (Sichuan, northeast, Shanghai, Taiwan), and star.
Fig. 5 is a schematic structural diagram of a navigation voice broadcast device according to an embodiment of the present invention, and as shown in fig. 5, according to the method shown in fig. 2, a navigation voice broadcast device according to an embodiment of the present invention includes: the voice broadcasting system comprises an instruction acquisition module 11, an audio acquisition module 12, a first voice broadcasting module 13, a second voice broadcasting module 14, a voice recording module 15 and a voice audio library 16;
before starting voice navigation, the voice recording module 15 obtains a voice audio file voice of the user 17 (the user directly speaks to record voice or the user uploads an audio file, but the voice playing time of the two is between 1S and 5S), and obtains a command type S to which the voice audio file voice belongs from the user 17, finally generates a voice audio file v (S) marked with the command type S, and stores the voice audio file v (S) into the voice audio library 16, wherein the specific working process of the voice recording module 15 is detailed in fig. 3 and related text descriptions. It should be noted that the voice audio library 16 is locally stored in the device, and may also be stored in a cloud disk of a user account related to the device, so that the advantage of storage is that a user may obtain a backup voice audio library through the user account, and when the voice audio library locally stored is lost due to a user error operation or the like, the voice audio library only needs to be restored from the cloud disk backup, and does not need to be recorded again.
The instruction obtaining module 11 is configured to receive a navigation voice broadcast instruction OR, where the navigation voice broadcast instruction OR includes text data W and a command type S, send the command type S in the navigation voice broadcast instruction OR to the audio obtaining module 12, and send the navigation voice broadcast instruction OR to the first voice broadcast module 13 and the second voice broadcast module 14 (not shown in fig. 5);
it should be noted that the command type/text data included in the navigation voice broadcast command is determined according to the navigation route of the user and the real-time information (such as real-time position, traveling speed, and traveling direction) of the user, where the specific content included in the text data may be the specific travel route prompt content of the user (such as XX meters for straight walking, left turn ahead) or the road accessory facility prompt content (such as service area, railroad crossing, speed limit, traffic lights).
The audio obtaining module 12 is configured to determine whether a voice audio file v (S) corresponding to the command type S exists in the voice audio library 16, and if so, obtain a voice audio file v (S) corresponding to the command type S, and determine a navigation voice broadcast mode corresponding to the command type S: when the broadcast mode corresponding to the command type S is "broadcast only user recorded voice", the voice audio file v (S) corresponding to the command type S is sent to the first voice broadcast module 13; when the broadcast mode corresponding to the command type S is "not only broadcasting the user recorded voice", the voice audio file v (S) corresponding to the command type S is sent to the second voice broadcast module 14;
the first voice broadcasting module 13 is configured to receive a navigation voice broadcasting instruction OR, and when receiving a voice audio file v(s), broadcast the voice audio file v(s) to the user 17, otherwise broadcast text data W in the navigation voice broadcasting instruction OR to the user 17;
the second voice broadcast module 14 is configured to receive the navigation voice broadcast instruction OR, and after receiving the voice audio file v(s), broadcast the text data W in the navigation voice broadcast instruction OR to the user 17, and then broadcast the voice audio file v(s) to the user 17.
In specific practice, in order to ensure normal operation of voice broadcast, when a navigation voice broadcast is performed on a user for the first time, the first voice broadcast module 13 or the second voice broadcast module 14 establishes a voice broadcast queue, and in a specific navigation voice broadcast process, the first voice broadcast module 13 or the second voice broadcast module 14 can add text data and/or voice audio files to be broadcast into a preset voice broadcast queue, and call corresponding text broadcast tools or voice broadcast tools for broadcast according to the sequence of the text data or the voice audio files entering the voice broadcast queue; meanwhile, the first voice broadcasting module 13 or the second voice broadcasting module 14 monitors the broadcasting conditions of the text broadcasting tool and the voice broadcasting tool, and when the broadcasting is completed, the text data broadcasting completion callback notification of the text broadcasting tool and the audio file broadcasting completion callback notification of the voice broadcasting tool are acquired, so that the completion of the broadcasting is confirmed, the corresponding broadcasting tool is called again to broadcast again, and the normal broadcasting of the navigation voice broadcasting is ensured.
Fig. 6 is a schematic structural view of another navigation voice broadcast device according to an embodiment of the present invention, and as shown in fig. 6, according to the method shown in fig. 4, another navigation voice broadcast device according to an embodiment of the present invention includes: the voice broadcasting system comprises an instruction acquisition module 21, an audio acquisition module 22, a voice broadcasting module 23, a voice recording module 24 and a voice audio library 25; wherein, voice broadcast module 23 specifically includes: the voice broadcasting device comprises a first voice broadcasting submodule, a second voice broadcasting submodule, a third voice broadcasting submodule, a fourth voice broadcasting submodule, a fifth voice broadcasting submodule and a sixth voice broadcasting submodule;
before starting voice navigation, the voice recording module 24 obtains the voice audio file voice of the user 26, and the specific working process thereof is the same as that of the voice recording module 15, which is not described herein again. It should be noted that the voice audio library 25 is used to store voice audio files and special voices (see step S305 for details about the relevant description of the special voices), and the voice audio library 25 is stored locally in the device, and may also be stored in a cloud disk of a user account associated with the device, so that the advantage of storage is that a user may obtain a voice audio library for backup through the user account, and when the voice audio library stored locally is lost due to a user error operation or the like, the voice audio library only needs to be restored from the cloud disk backup without being recorded again.
The instruction obtaining module 21 is configured to receive a navigation voice broadcast instruction OR, where the navigation voice broadcast instruction OR includes text data W, a command type S, and a voice broadcast priority identifier (and may also include a special voice identifier), send the navigation voice broadcast instruction OR to the audio obtaining module 22, and send the navigation voice broadcast instruction OR to the voice broadcast module 23;
it should be noted that the command type/text data included in the navigation voice broadcast command is determined according to the navigation route of the user and the real-time information (such as real-time position, traveling speed, and traveling direction) of the user, where the specific content included in the text data may be the specific travel route prompt content of the user (such as XX meters for straight walking, left turn ahead) or the road accessory facility prompt content (such as service area, railroad crossing, speed limit, traffic lights).
The audio acquiring module 22 is configured to determine whether a voice audio file v (S) corresponding to the command type S exists in the voice audio library 25, and if so, acquire the voice audio file v (S) corresponding to the command type S; when the navigation voice broadcast instruction comprises the special voice identifier, judging whether special voice corresponding to the special voice identifier exists in the voice audio library 25 or not, and if so, acquiring the special voice corresponding to the special voice identifier; acquiring a broadcasting mode of the navigation voice according to the navigation voice broadcasting instruction OR (determining a specific broadcasting mode from the first, second, third, fourth, fifth and sixth broadcasting modes described in step S305), and sending the acquired voice audio file V (S) OR the special voice V' to the voice broadcasting module 23 according to the broadcasting mode; if the voice audio library 25 does not have the voice audio file v (S) corresponding to the command type S, the voice broadcast module 23 is not sent a message;
and the voice broadcast module 23 is configured to perform navigation voice broadcast on the user 26 according to the specific information sent by the audio acquisition module 22.
The specific working principle and process between the audio acquisition module 22 and the voice broadcast module 23 are as follows:
when the audio acquisition module 22 does not acquire the voice audio file v (S) corresponding to the command type S from the voice audio library 25, sending a text broadcast signal to the first semantic broadcast submodule, so that the first semantic broadcast submodule receives the text broadcast signal and then performs navigation voice broadcast on the user 26 in a broadcast mode;
when the audio acquisition module 22 acquires the audio file v (S) corresponding to the command type S from the audio library 25, it determines the voice broadcast priority identifier in the navigation voice broadcast instruction OR:
when the voice broadcast priority identifier is a voice identifier for only broadcasting text data, the audio acquisition module 22 sends a text broadcast signal to the first semantic broadcast submodule so that the first semantic broadcast submodule performs navigation voice broadcast on the user 26 in a broadcast mode after receiving the text broadcast signal;
when the voice broadcast priority identifier is an identifier for only broadcasting the voice recorded by the user, the audio acquisition module 22 sends a voice audio file v(s) to the second voice broadcast submodule, so that the second voice broadcast submodule performs navigation voice broadcast on the user 26 in a broadcast mode;
when the voice broadcast priority identifier is a text data priority broadcast identifier, the audio acquisition module 22 sends a voice audio file v(s) to the third voice broadcast submodule, so that the third voice broadcast submodule performs navigation voice broadcast on the user 26 in a broadcast mode;
when the voice broadcast priority identifier is a user recorded voice priority broadcast identifier, the audio acquisition module 22 sends a voice audio file v(s) to the fourth voice broadcast submodule, so that the fourth voice broadcast submodule performs navigation voice broadcast on the user 26 in a broadcast mode four;
when a special voice identifier exists in the navigation voice broadcast instruction OR and the voice broadcast priority identifier is a text data priority broadcast identifier, judging whether special voice is broadcast OR not in the previous navigation voice broadcast, if so, sending a voice audio file v(s) to the third voice broadcast submodule by the audio acquisition module 22 so that the third voice broadcast submodule performs navigation voice broadcast on the user 26 in a broadcast mode; if not, the audio acquisition module 22 sends a special voice V' to the fifth voice broadcast sub-module, so that the fifth voice broadcast sub-module performs navigation voice broadcast on the user 26 in a broadcast mode;
when a special voice identifier exists in the navigation voice broadcast instruction OR and the voice broadcast priority identifier is a voice broadcast priority identifier recorded by a user, judging whether special voice is broadcast OR not in the previous navigation voice broadcast, if so, sending a voice audio file v(s) to the fourth voice broadcast submodule by the audio acquisition module 22 so that the fourth voice broadcast submodule performs navigation voice broadcast on the user 26 in a broadcast mode; if not, the audio acquisition module 22 sends a special voice V' to the sixth voice broadcast sub-module, so that the sixth voice broadcast sub-module performs navigation voice broadcast on the user 26 in a broadcast mode six;
in specific practice, in order to ensure normal operation of voice broadcast, when a navigation voice broadcast is performed on a user for the first time, the voice broadcast module 23 establishes a voice broadcast queue, and in a specific navigation voice broadcast process, the voice broadcast module 23 can add text data, special voice and/or voice audio files to be broadcast to a preset voice broadcast queue, and call a corresponding text broadcast tool or voice broadcast tool to broadcast according to the sequence of the text data, the special voice or the voice audio files entering the voice broadcast queue; meanwhile, the voice broadcasting module 23 monitors the broadcasting conditions of the text broadcasting tool and the voice broadcasting tool, and when the broadcasting is completed, the text data broadcasting completion callback notification of the text broadcasting tool and the audio file broadcasting completion callback notification of the voice broadcasting tool are acquired, so that the completion of the broadcasting and the re-calling of the corresponding broadcasting tool are confirmed to perform the broadcasting again, and the normal operation of the navigation voice broadcasting is ensured.
Fig. 7 is a schematic diagram of a broadcast flow of a voice broadcast queue according to an embodiment of the present invention, and as shown in fig. 7, a certain voice broadcast queue: voice audio file 2 and text data 3, and the specific broadcasting process of the voice broadcasting module 23 in the navigation voice broadcasting device shown in fig. 6 includes step S401 to step S407:
step S401, the voice broadcast module 23 acquires a voice broadcast queue: according to the arrangement sequence of the voice broadcast queue, firstly starting voice audio and broadcasting the file;
step S402, the voice broadcast module 23 sends the voice audio file 2 to the voice playing tool;
step S404, the voice playing tool broadcasts the voice audio file 2 to the user 16, and sends a voice broadcast completion callback notification 2 to the voice broadcast module 23 after the broadcast is completed;
step S404, the voice broadcasting module 23 determines that the broadcasting of the voice audio file 2 by the voice broadcasting tool is completed according to the voice broadcasting completion callback notification 2, and then continues to broadcast the text data 3 according to the voice broadcasting queue;
step S405, sending text data 3 to a character playing tool;
step S406, the text playing tool broadcasts the received text data 3 to the user 26, and after the text data broadcasting is completed, sends a text broadcasting completion callback notification 3 to the voice broadcasting module 23;
in step S407, the voice broadcast module 23 determines that the broadcast of the text data 3 by the text broadcast tool is completed according to the text broadcast completion callback notification 3, and stops the navigation voice broadcast.
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 steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A navigation voice broadcasting method is characterized by comprising the following steps:
receiving a navigation voice broadcast instruction, wherein the instruction at least carries a command type and text data;
judging whether a voice audio file corresponding to the command type and pre-recorded by the user is stored or not, and if so, acquiring the voice audio file corresponding to the command type and pre-recorded by the user;
judging whether the command type is a command type for only broadcasting the voice recorded by the user, and if so, broadcasting the voice audio file;
and if the command type is not the command type for only broadcasting the voice recorded by the user, firstly broadcasting the text data and then broadcasting the voice audio file.
2. The method of claim 1, further comprising:
recording a voice audio file;
and correspondingly storing the voice audio file and the corresponding command type, wherein the command type corresponding to the voice audio file is unique and is not repeated.
3. A navigation voice broadcasting method is characterized by comprising the following steps:
receiving a navigation voice broadcast instruction, wherein the instruction at least carries a command type, text data and a voice broadcast priority identifier;
judging whether a voice audio file corresponding to the command type and pre-recorded by the user is stored or not, and if so, acquiring the voice audio file corresponding to the command type and pre-recorded by the user;
and broadcasting the text data and/or the voice audio file according to the priority represented by the voice broadcasting priority identifier.
4. The method according to claim 3, wherein the broadcasting of the text data and/or the voice audio file according to the priority indicated by the voice broadcasting priority flag specifically comprises:
if the voice broadcast priority identification is a voice identification only broadcasting text data, broadcasting the text data;
if the voice broadcasting priority identification is an identification which only broadcasts the voice recorded by the user, broadcasting the voice audio file;
if the voice broadcast priority identification is a text data priority broadcast identification, the text data is broadcast first, and then the voice audio file is broadcast;
if the voice broadcast priority identification is a user recorded voice priority broadcast identification, the voice audio file is broadcast firstly, and then the text data is broadcast.
5. The method of claim 4, wherein the instructions further carry: a special voice identification, the method further comprising:
if the voice broadcast priority identification is a text data priority broadcast identification, judging whether special voice is broadcast or not in the previous broadcast, if so, firstly broadcasting the text data and then broadcasting a voice audio file, if not, firstly broadcasting the text data, and then acquiring and broadcasting the special voice corresponding to the special voice identification;
if the voice broadcast priority identification is a user recorded voice priority broadcast identification, judging whether special voice is broadcast or not in the previous broadcast, if so, broadcasting the voice audio file first, and then broadcasting the text data; if not, the special voice corresponding to the special voice identification is obtained and broadcasted, and then the text data is broadcasted.
6. The method according to any of claims 3-5, further comprising:
recording a voice audio file;
and correspondingly storing the voice audio file and the corresponding command type, wherein the command type corresponding to the voice audio file is unique and is not repeated.
7. A navigation voice broadcasting device, characterized in that the device comprises:
the instruction acquisition module is used for receiving a navigation voice broadcast instruction, wherein the instruction at least carries a command type and text data;
the audio acquisition module is used for judging whether a voice audio file which is pre-recorded by the user and corresponds to the command type exists in a voice audio library, and if so, acquiring the voice audio file which is pre-recorded by the user and corresponds to the command type;
the first voice broadcasting module is used for broadcasting the voice audio file when the command type is a command type only broadcasting the voice recorded by the user;
and the second voice broadcasting module is used for broadcasting the text data first and then broadcasting the voice audio file when the command type is not the command type for only broadcasting the voice recorded by the user.
8. The apparatus of claim 7, further comprising:
and the voice recording module is used for recording a voice audio file and correspondingly storing the voice audio file and the corresponding command type in the voice audio library, wherein the command type corresponding to the voice audio file is unique and is not repeated.
9. A navigation voice broadcasting device, characterized in that the device comprises:
the instruction acquisition module is used for receiving a navigation voice broadcast instruction, wherein the instruction at least carries a command type, text data and a voice broadcast priority identifier;
the audio acquisition module is used for judging whether a voice audio file which is pre-recorded by the user and corresponds to the command type exists in a voice audio library, and if so, acquiring the voice audio file which is pre-recorded by the user and corresponds to the command type;
and the voice broadcasting module is used for broadcasting the text data and/or the voice audio file according to the priority represented by the voice broadcasting priority identifier.
10. The device of claim 9, wherein the voice broadcast module specifically comprises:
the first voice broadcasting submodule is used for broadcasting the text data if the voice broadcasting priority identification is a voice identification for only broadcasting the text data;
the second voice broadcasting submodule is used for broadcasting the voice audio file if the voice broadcasting priority identification is an identification which only broadcasts the voice recorded by the user;
the third voice broadcasting submodule is used for broadcasting the text data first and then broadcasting the voice audio file if the voice broadcasting priority identification is a text data priority broadcasting identification;
and the fourth voice broadcasting submodule is used for broadcasting the voice audio file first and then broadcasting the text data if the voice broadcasting priority identification is a user recorded voice priority broadcasting identification.
11. The apparatus of claim 9, wherein the instruction further carries a special voice identifier, and the voice broadcasting module further comprises:
a fifth voice broadcasting submodule, configured to determine whether special voice is broadcasted in a previous broadcast if the voice broadcasting priority identifier is a text data priority broadcast identifier, broadcast the text data first and then broadcast a voice audio file if the text data priority identifier is a text data priority broadcast identifier, and broadcast the text data first and then broadcast special voice corresponding to the special voice identifier if the text data priority identifier is not a text data priority broadcast identifier;
a sixth voice broadcast sub-module, configured to, if the voice broadcast priority identifier is a user recorded voice priority broadcast identifier, determine whether a previous broadcast has broadcast a special voice, and if so, broadcast the voice audio file first and then broadcast the text data; if not, broadcasting the special voice corresponding to the special voice identification, and then broadcasting the text data.
12. The apparatus of any of claims 9-11, further comprising:
and the voice recording module is used for recording a voice audio file and correspondingly storing the voice audio file and the corresponding command type in the voice audio library, wherein the command type corresponding to the voice audio file is unique and is not repeated.
CN201610197134.6A 2016-03-31 2016-03-31 Navigation voice broadcasting method and device Active CN107289964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610197134.6A CN107289964B (en) 2016-03-31 2016-03-31 Navigation voice broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610197134.6A CN107289964B (en) 2016-03-31 2016-03-31 Navigation voice broadcasting method and device

Publications (2)

Publication Number Publication Date
CN107289964A CN107289964A (en) 2017-10-24
CN107289964B true CN107289964B (en) 2020-04-14

Family

ID=60087627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610197134.6A Active CN107289964B (en) 2016-03-31 2016-03-31 Navigation voice broadcasting method and device

Country Status (1)

Country Link
CN (1) CN107289964B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109725798B (en) * 2017-10-25 2021-07-27 腾讯科技(北京)有限公司 Intelligent role switching method and related device
CN109981448B (en) * 2019-03-28 2022-03-25 联想(北京)有限公司 Information processing method and electronic device
CN110148404A (en) * 2019-04-04 2019-08-20 上海鑫森淼网络技术有限公司 A kind of speech recognition management system based on digital map navigation
CN111312213A (en) * 2020-03-31 2020-06-19 广东美的制冷设备有限公司 Voice processing method and device of air conditioner, air conditioner and readable storage medium
CN111578965B (en) * 2020-04-30 2022-07-08 百度在线网络技术(北京)有限公司 Navigation broadcast information processing method and device, electronic equipment and storage medium
CN111681640B (en) * 2020-05-29 2023-09-15 阿波罗智联(北京)科技有限公司 Method, device, equipment and medium for determining broadcast text
CN112133281A (en) * 2020-09-15 2020-12-25 北京百度网讯科技有限公司 Voice broadcasting method and device, electronic equipment and storage medium
CN112767620A (en) * 2020-12-24 2021-05-07 交控科技股份有限公司 Mixed voice alarm method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731093A (en) * 2004-08-06 2006-02-08 乐金电子(惠州)有限公司 Vehicle information service system apparatus and route navigation method for its terminal unit
CN101102374A (en) * 2006-07-06 2008-01-09 环达电脑(上海)有限公司 Voice prompt recording system and its method
CN101319904A (en) * 2008-07-15 2008-12-10 凯立德欣技术(深圳)有限公司 Energy-saving vehicle mounted navigation device and energy-saving navigation method
CN101701829A (en) * 2009-10-28 2010-05-05 深圳市凯立德计算机系统技术有限公司 Navigation apparatus and voice broadcast method thereof
CN105438184A (en) * 2015-12-22 2016-03-30 上海卓易科技股份有限公司 Vehicle and method and system for recognizing traffic signs to assist in driving

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9218052B2 (en) * 2013-03-14 2015-12-22 Samsung Electronics Co., Ltd. Framework for voice controlling applications

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731093A (en) * 2004-08-06 2006-02-08 乐金电子(惠州)有限公司 Vehicle information service system apparatus and route navigation method for its terminal unit
CN101102374A (en) * 2006-07-06 2008-01-09 环达电脑(上海)有限公司 Voice prompt recording system and its method
CN101319904A (en) * 2008-07-15 2008-12-10 凯立德欣技术(深圳)有限公司 Energy-saving vehicle mounted navigation device and energy-saving navigation method
CN101701829A (en) * 2009-10-28 2010-05-05 深圳市凯立德计算机系统技术有限公司 Navigation apparatus and voice broadcast method thereof
CN105438184A (en) * 2015-12-22 2016-03-30 上海卓易科技股份有限公司 Vehicle and method and system for recognizing traffic signs to assist in driving

Also Published As

Publication number Publication date
CN107289964A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN107289964B (en) Navigation voice broadcasting method and device
EP2447926B1 (en) Systems and methods for off-board voice automated vehicle navigation
CN107850455B (en) Providing a navigation system with navigable routes
CN108896061A (en) A kind of man-machine interaction method and onboard navigation system based on onboard navigation system
CA2378757C (en) System and method for reducing the amount of repetitive data sent by a server to a client for vehicle navigation
JP3704925B2 (en) Mobile terminal device and medium recording voice output program thereof
JP2011191335A (en) Link string conversion method, road information providing device, and road information providing system
CN102324995B (en) Speech broadcasting method and system
CN106797257B (en) Audio processing apparatus and method of providing information
CN105022777A (en) Driver behavior based vehicle application recommendation
JP6846617B2 (en) Information provision method, server, information terminal device, system and voice dialogue system
US20100036666A1 (en) Method and system for providing meta data for a work
CN107782329A (en) A kind of the determination method, apparatus and system of the voice that navigates
CN109981448B (en) Information processing method and electronic device
CN102435202A (en) Cloud speech navigation method and device
JP2009527774A (en) Navigation device and method for receiving and playing sound samples
CN110567476A (en) Navigation method and device
JP5056401B2 (en) OBE, output enable / disable determination method, road communication system, and program
JP3693326B2 (en) Map display system, voice guidance support device, map display device
CN111402879A (en) Vehicle navigation prompt voice control method, device, equipment and medium
JPH09128690A (en) Vehicle allocating system
US9406294B2 (en) Information-sharing system
US9714839B2 (en) Apparatus and method for use with a navigation system
CN103137124A (en) Voice synthesis method
CN101149270A (en) Speed limiting road voice navigation 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200416

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: Daheng Technology Building No. three Beijing 100080 Haidian District Suzhou Street 16 layer 2.

Patentee before: AUTONAVI INFORMATION TECHNOLOGY Co.,Ltd.