CN110017848B - Voice navigation method and device, electronic equipment and storage medium - Google Patents

Voice navigation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110017848B
CN110017848B CN201910290569.9A CN201910290569A CN110017848B CN 110017848 B CN110017848 B CN 110017848B CN 201910290569 A CN201910290569 A CN 201910290569A CN 110017848 B CN110017848 B CN 110017848B
Authority
CN
China
Prior art keywords
broadcast
voice
voice guide
voice guidance
guidance information
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
CN201910290569.9A
Other languages
Chinese (zh)
Other versions
CN110017848A (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201910290569.9A priority Critical patent/CN110017848B/en
Publication of CN110017848A publication Critical patent/CN110017848A/en
Application granted granted Critical
Publication of CN110017848B publication Critical patent/CN110017848B/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
    • 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/3697Output of additional, non-guidance related information, e.g. low fuel level

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)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application discloses a voice navigation method, a voice navigation device, electronic equipment and a storage medium, and belongs to the technical field of navigation. The method comprises the following steps: the method comprises the steps of obtaining at least two broadcast elements, wherein each broadcast element comprises at least one broadcast component and a broadcast sequence of the at least one broadcast component; generating at least two voice guide messages according to the at least two broadcast elements; determining the playing time of at least two pieces of voice guidance information according to the current position and the current moving speed; if the playing time of any two voice guide information in the at least two voice guide information is overlapped, adjusting any two voice guide information so that the adjusted playing time of any two voice guide information is not overlapped; and playing according to the adjusted playing time of the voice guide information so as to realize voice navigation. The method and the device can improve the flexibility of the navigation system.

Description

Voice navigation method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of navigation technologies, and in particular, to a voice navigation method and apparatus, an electronic device, and a storage medium.
Background
The voice navigation is a process of performing voice prompt on a guidance point on a navigation path by playing voice guidance information. The guidance point can be a turning point on the navigation path, a position point for installing a camera, a position point of a traffic light, a position point of a danger sign and the like.
In the related art, the server may generate different voice guidance information according to different types of the guidance points, and issue the generated voice guidance information to the mobile device. During the navigation of the mobile device, at least one induced point on the navigation path can be determined, wherein the at least one induced point refers to an induced point with a distance smaller than a reference distance from the mobile device. And then playing the corresponding voice guidance information based on the type of the at least one induction point according to the sequence of the at least one induction point from near to far from the mobile equipment.
Because each piece of voice guidance information needs a certain playing time, when navigating according to the method, a playing conflict of the voice guidance information may occur, that is, there may be an overlap of the playing time of two pieces of voice guidance information, and in this case, one piece of voice guidance information may be discarded. However, this way of discarding voice guidance information may result in less flexibility of the navigation system.
Disclosure of Invention
The application provides a voice navigation method, a voice navigation device, electronic equipment and a storage medium, which can solve the problem of low flexibility of a navigation system in the related art. The technical scheme is as follows:
in a first aspect, a voice navigation method is provided, the method including:
the method comprises the steps that at least two broadcast elements are obtained, each broadcast element comprises at least one broadcast component and a broadcast sequence of the at least one broadcast component, and the at least two broadcast elements are used for prompting an induction point, with the distance between the navigation path and the current position smaller than a reference distance, through the included broadcast components;
generating at least two voice guide messages according to the at least two broadcast elements;
determining the playing time of the at least two voice guide messages according to the current position and the current moving speed;
if the playing time of any two voice guide information in the at least two voice guide information is overlapped, adjusting the any two voice guide information so that the adjusted playing time of the any two voice guide information is not overlapped;
and playing according to the adjusted playing time of the voice guide information so as to realize voice navigation.
Optionally, the playing time includes a playing start time and a playing end time, and the adjusting any two pieces of voice guidance information includes:
determining the overlapping duration of the playing time of any two voice guide messages;
and if the overlapping duration is less than or equal to the reference duration, adjusting the play starting time of at least one voice guidance information in the two arbitrary voice guidance information.
Optionally, after determining the overlapping duration of the playing time of any two pieces of voice guidance information, the method further includes:
and if the overlapping duration is greater than the reference duration, adjusting the content of at least one voice guidance information in the any two voice guidance information.
Optionally, the adjusting any two pieces of voice guidance information includes:
and adjusting the content of at least one of the any two voice guide messages.
Optionally, the adjusting the content of at least one of the two pieces of voice guidance information includes:
selecting one voice guidance message from the any two voice guidance messages;
selecting the selected voice guide information as first voice guide information, and screening out part of broadcast components from broadcast elements corresponding to the first voice guide information;
according to the broadcast order of the broadcast components that screen out, first voice guidance information is regenerated according to the broadcast components that screen out.
Optionally, according to the broadcast order of the broadcast subassembly of screening, after regenerating first voice guidance information according to the broadcast subassembly of screening, still include:
determining the playing time of the regenerated first voice guidance information according to the current position and the current moving speed;
using the unselected voice guide information as second voice guide information, if the playing time of the regenerated first voice guide information and the playing time of the second voice guide information are overlapped, screening out part of broadcast components from broadcast elements corresponding to the second voice guide information;
and according to the broadcasting sequence of the screened broadcasting components, regenerating second voice guide information according to the screened broadcasting components.
Optionally, each broadcast element further comprises a priority of the at least one broadcast component;
follow in the broadcast element that first voice guidance information corresponds, screen out the part and broadcast the subassembly, include:
screening out broadcast components with the priority greater than the reference priority from broadcast elements corresponding to the first voice guidance information; alternatively, the first and second electrodes may be,
screening out the broadcast component with the highest priority from the broadcast elements corresponding to the first voice guide information, wherein the highest priority means that the corresponding broadcast component cannot be deleted.
Optionally, the generating, according to the at least two broadcast elements, corresponding at least two pieces of voice guidance information includes:
for a first broadcast element of the at least two broadcast elements, screening a part of broadcast components from the first broadcast element according to user characteristics, wherein the first broadcast element is any one of the at least two broadcast elements;
according to the broadcast order of the broadcast components that screen out, according to the broadcast components that screen out generate voice guidance information.
Optionally, the broadcast component in each broadcast element is determined according to the type of the induction point and navigation feedback information, wherein the navigation feedback information comprises historical violation rate and yaw rate at the induction point.
In a second aspect, there is provided a voice navigation device, the device comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring at least two broadcast elements, each broadcast element comprises at least one broadcast component and a broadcast sequence of the at least one broadcast component, and the at least two broadcast elements are used for prompting an induction point, the distance between the induction point and the current position on a navigation path is smaller than a reference distance, through the included broadcast components;
the generating module is used for generating at least two pieces of voice guide information according to the at least two broadcasting elements;
the determining module is used for determining the playing time of the at least two voice guide messages according to the current position and the current moving speed;
the adjusting module is used for adjusting any two voice guide messages if the playing time of any two voice guide messages in the at least two voice guide messages is overlapped, so that the adjusted playing time of any two voice guide messages is not overlapped;
and the playing module is used for playing according to the adjusted playing time of the voice guide information so as to realize voice navigation.
Optionally, the playing time includes a playing start time and a playing end time, and the adjusting module includes:
the determining unit is used for determining the overlapping duration of the playing time of any two voice guide messages;
and the first adjusting unit is used for adjusting the play starting moment of at least one voice guidance information in the any two voice guidance information if the overlapping duration is less than or equal to the reference duration.
Optionally, the adjusting module further comprises:
and the second adjusting unit is used for adjusting the content of at least one voice guidance information in the any two voice guidance information if the overlapping duration is greater than the reference duration.
Optionally, the adjusting module includes:
and the third adjusting unit is used for adjusting the content of at least one voice guide information in the arbitrary two voice guide information.
Optionally, the second adjusting unit or the third adjusting unit includes:
a selecting subunit, configured to select one piece of voice guidance information from the two pieces of voice guidance information;
the first screening subunit is used for screening out part of broadcast components from broadcast elements corresponding to the first voice guide information by taking the selected voice guide information as the first voice guide information;
the first generating subunit is used for regenerating first voice guide information according to the screened broadcasting sequence of the broadcasting components and the screened broadcasting components.
Optionally, the second adjusting unit or the third adjusting unit further includes:
the second generating subunit is used for determining the playing time of the regenerated first voice guidance information according to the current position and the current moving speed;
the second screening subunit is used for taking the unselected voice guide information as second voice guide information, and screening out part of broadcast components from broadcast elements corresponding to the second voice guide information if the playing time of the regenerated first voice guide information and the playing time of the second voice guide information are overlapped;
and the third generation subunit is used for regenerating second voice guide information according to the screened broadcasting sequence of the broadcasting components and the screened broadcasting components.
Optionally, each broadcast element further comprises a priority of the at least one broadcast component;
the first screening subunit is mainly used for:
screening out broadcast components with the priority greater than the reference priority from broadcast elements corresponding to the first voice guidance information; alternatively, the first and second electrodes may be,
screening out the broadcast component with the highest priority from the broadcast elements corresponding to the first voice guide information, wherein the highest priority means that the corresponding broadcast component cannot be deleted.
Optionally, the generating module includes:
the screening unit is used for screening part of broadcast components from first broadcast elements in the at least two broadcast elements according to user characteristics, wherein the first broadcast elements are any broadcast elements in the at least two broadcast elements;
the generating unit is used for generating voice guide information according to the screened broadcasting sequence of the broadcasting components and the screened broadcasting components.
Optionally, the broadcast component in each broadcast element is determined according to the type of the induction point and navigation feedback information, wherein the navigation feedback information comprises historical violation rate and yaw rate at the induction point.
In a third aspect, an electronic device is provided, where the electronic device includes a processor and a memory, and the memory stores at least one instruction, where the instruction is loaded by the processor and executes the voice navigation method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, which has instructions stored therein, and when the instructions are executed on a computer, the instructions cause the computer to execute the voice navigation method of the first aspect.
In a fifth aspect, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the voice navigation method of the first aspect.
The technical scheme provided by the application can at least bring the following beneficial effects:
in the application, because the at least two broadcast elements are used for prompting the guidance points, which are on the navigation path and have the distance with the current position smaller than the reference distance, through the broadcast components, if the guidance points, which have the distance with the current position smaller than the reference distance, include two or more than two guidance points, in order to avoid the problem that the playing time is overlapped and one piece of voice guidance information is discarded, and a certain guidance point is not prompted, the mobile device can locally and dynamically generate or adjust the voice guidance information according to the at least two broadcast elements, so that the playing time of any two pieces of voice guidance information after adjustment is not overlapped. Therefore, the voice guidance information corresponding to at least two broadcast elements can be played, the function of prompting two or more than two induction points is achieved, the starting broadcast time or content of the voice guidance information can be flexibly adjusted by the processing mode, and the high flexibility of the navigation system can be guaranteed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an implementation environment of a voice navigation method according to an embodiment of the present application;
FIG. 2 is a flowchart of a voice navigation method provided in an embodiment of the present application;
FIG. 3 is a flow chart of another voice navigation method provided by the embodiments of the present application;
FIG. 4 is a schematic structural diagram of a voice navigation apparatus according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of another voice guidance apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of an implementation environment of a voice navigation method according to an example embodiment. As shown in fig. 1, the implementation environment includes: a mobile device 101 and a server 102, the mobile device 101 can communicate with the server 102 to enable voice navigation of the mobile device.
As an example, the mobile device 101 may be any electronic product capable of performing man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction, or a handwriting device, such as a PC (Personal Computer), a mobile phone, a PDA (Personal Digital Assistant), a wearable device, a tablet Computer, a vehicle-mounted Computer, and the like. The server 102 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
It should be understood that the mobile device 101 and the server 102 are described above by way of example only, and other existing or future mobile devices or servers may be suitable for use in the present application and are also included within the scope of the present application and are hereby incorporated by reference.
Fig. 2 is a flowchart of a voice navigation method applied to a mobile device according to an exemplary embodiment. Referring to fig. 2, the method includes:
step 201: the method comprises the steps of obtaining at least two broadcast elements, wherein each broadcast element comprises at least one broadcast component and at least one broadcast sequence of the broadcast components, and the at least two broadcast elements are used for prompting induced points, including the broadcast components, of which the distance between the navigation path and the current position is smaller than a reference distance.
In some embodiments, when the mobile device performs voice navigation, the location information of each location on the navigation path, the location information of each guidance point, and the announcement element for prompting each guidance point may be acquired from the server. In this way, during the navigation process of the mobile device, according to the current moving direction, a plurality of induction points on the navigation path are obtained from the current position, the distance between the current position and each obtained induction point is determined, and according to the determined distance, an induction point, the distance between which and the current position is less than the reference distance, is selected from the obtained plurality of induction points. And determining the broadcast elements corresponding to the selected induction points as the at least two broadcast elements.
In general, the mobile device needs to perform voice navigation in a moving state, that is, the mobile device has a certain moving speed when performing navigation, so that the mobile device can acquire at least two broadcast elements in real time in order to prompt a guidance point in time. However, when the mobile device moves slowly, or the mobile device switches from a moving state to a stopped state for some reason, the manner of acquiring at least two broadcast elements in real time may cause some waste of resources. In this case, the moving speed of the mobile device may be determined, and if the moving speed is less than the speed threshold, it indicates that the current moving speed of the mobile device is slow, and at this time, at least two broadcast elements may be periodically acquired.
In general, a certain distance exists between two adjacent induction points, so that the distance between every two adjacent induction points on the navigation path can be counted, and the cycle length of the acquisition cycle of at least two broadcast elements is obtained by dividing the minimum distance in the counted distances by the moving speed of the mobile device. Or, dividing the minimum distance in the statistical distances by the speed threshold to obtain the cycle length of the acquisition cycle of at least two broadcast elements. Of course, the period length of the acquisition period of at least two broadcast elements may also be set in other manners, which is not limited in this application embodiment.
In some embodiments, one induction point may be prompted once or multiple times based on a number of factors. Illustratively, non-important induction points may be prompted once, and more important induction points may be prompted multiple times. Or the induction points with lower historical violation rate and/or yaw rate can be prompted once, and the induction points with higher historical violation rate and/or yaw rate can be prompted for multiple times. In this way, the obtained at least two broadcast elements may include one or more broadcast elements corresponding to the same guidance point. For example, assume that there are 3 guidance points on the navigation path, which are located at a distance smaller than the reference distance from the current position, and are guidance point 1, guidance point 2, and guidance point 3. The induction point 2 is more important, and the induction point 1 and the induction point 3 are not important, and at this time, 4 broadcast elements, namely the broadcast element of the induction point 1, the broadcast element of the induction point 2, and the broadcast element of the induction point 3, may be obtained. That is, the obtained at least two broadcast elements include the induction point 2 corresponding to the two broadcast elements.
In addition, regarding the induction points with high historical violation rate and/or yaw rate, the induction points can be prompted for multiple times, key broadcast components can be highlighted in each prompting, and illustratively, the key broadcast components are played continuously for multiple times. Thus, the broadcast element can mark the key broadcast component besides the broadcast sequence comprising at least one broadcast component and at least one broadcast component.
It should be understood that the speed threshold and the reference distance may be preset and fixed in the mobile device, and of course, the speed threshold and the reference distance may be set during voice navigation, and in different cases, different values may be set.
It should be noted that, the broadcast component in each broadcast element may be determined according to the type of the induction point, for example, for a turning intersection, the broadcast element of the induction point may include 5 broadcast components, which are respectively a distance, a position, a turning, an assistance, and a lane, and the broadcast sequence is sequentially a distance, a position, a turning, an assistance, and a lane. Wherein, these 5 contents of broadcasting the subassembly can be as follows:
distance: value d ahead
Position: traffic light intersection
Turning: right turn
Auxiliary: value entering the Guangzhou road
Lane: please drive on the rightmost lane
In the above broadcast assembly, a star represents a distance placeholder.
In some embodiments, the advisory components in each advisory element may also be determined according to the type of induction point and navigational feedback information, which may include historical violation rates and yaw rates at the induction point. That is, when the historical violation rate and/or yaw rate is high, the content of the broadcast component can be refined. Continuing with the above-mentioned turn-to-road junction as an example, the content of these 5 broadcast components can be as follows:
distance: value d ahead
Position: value-arrival traffic light intersection
Turning: please turn right after value
Auxiliary: value entering the Guangzhou road
Lane: please drive in advance on the rightmost lane
Step 202: and generating at least two voice guide messages according to the at least two broadcast elements.
One broadcast element is used for prompting one induction point, so that after at least two broadcast elements are acquired, at least two voice guide messages can be generated according to the at least two broadcast elements. In some embodiments, for a first broadcast element of the at least two broadcast elements, the voice guidance information may be generated according to a broadcast order of at least one broadcast component included in the first broadcast element and according to the at least one broadcast component included in the first broadcast element, and the first broadcast element is any broadcast element of the at least two broadcast elements. For other broadcast elements in the at least two broadcast elements, corresponding voice guidance information can be generated according to the method. For the above-mentioned steering intersection, the generated voice guidance information may be: the vehicle turns right at the intersection of the traffic lights at the front of 300 meters, enters a wide road and is asked to run by the rightmost lane.
For different users, voice guidance information with different contents can be generated, for example, when voice guidance of a vehicle is performed, a new driver may be less familiar with the conditions on the road, so that voice guidance information with more complete contents can be generated, and an old driver may be more familiar with the conditions on the road, so that voice guidance information with less complete contents can be generated. Therefore, for a first broadcast element of the at least two broadcast elements, a part of broadcast components can be screened out from the first broadcast element according to the user characteristics. According to the broadcast order of the broadcast components that screen out, according to the broadcast components that screen out generate voice guidance information. For example, for the above-mentioned steering intersection, the generated voice guidance information may be: the vehicle turns right at the intersection of the traffic lights at the front of 300 meters, enters a wide road and is asked to run by the rightmost lane. For an old driver, the generated voice guidance information may be: the front is 300 meters, the traffic light turns right at the intersection, please lean on the rightmost lane to drive.
Different users correspond to different user characteristics, so that different prompts can be given to different users if different voice guide information is generated according to different user characteristics, namely, voice navigation can be performed in a targeted manner, and further user viscosity can be further improved.
In some embodiments, a user may set user features through a mobile device. For example, the user may trigger a setting option in the mobile device, at this time, the mobile device may receive the setting instruction and display a setting page, where the setting page includes a complete broadcast option and a condensed broadcast option. When the mobile device detects the selection operation of the complete broadcast option, it indicates that the voice guidance information with complete content needs to be generated for the current user, and at this time, the user characteristics can be set as the complete broadcast characteristics. When the mobile device detects the selection operation of the simplified broadcast option, it indicates that voice guidance information with relatively simple content needs to be generated for the current user, and at this time, the user characteristic can be set to be the simplified broadcast characteristic.
In other embodiments, the mobile device may set user characteristics by learning historical navigation conditions. For example, the mobile device may obtain, from the server, a historical navigation frequency corresponding to a currently logged-in user account, where the historical navigation frequency is a ratio of the historical navigation frequency to the historical trip frequency. If the historical navigation frequency is greater than the frequency threshold value, it indicates that the voice guidance information with complete content needs to be generated for the current user, and at this time, the user characteristic can be set as a complete broadcast characteristic. If the historical navigation frequency is not greater than the frequency threshold value, it indicates that voice guidance information with relatively brief content needs to be generated for the current user, and at this time, the user characteristic can be set to be a simplified broadcast characteristic. For example, the historical travel times of the mobile device are 1000 times, and the voice navigation is performed on 900 of the 1000 times, that is, the historical navigation times are 900, so the historical navigation frequency is 0.9. Assuming that the frequency threshold is 0.8, it may indicate that the current user needs to generate the voice guidance information with complete content, and at this time, the user feature may be set to be a complete broadcast feature.
It should be understood that, each time the mobile device navigates, some navigation data needs to be acquired from the server, and the mobile device may also send a notification message to the server each time the mobile device travels, so that the server may determine the historical navigation times and the historical travel times of the mobile device, and may further determine the historical navigation frequency. In addition, the frequency threshold may be preset and fixed in the mobile device, and of course, the frequency threshold may also be set when voice navigation is performed, and in different cases, different values may be set.
In other embodiments, the mobile device may also set the user feature by determining whether the area currently located is a resident area. For example, the mobile device may determine the current location area, and if the current location area is not the resident area, it indicates that the voice guidance information with complete content needs to be generated for the current user, and at this time, the user feature may be set to be the complete broadcast feature. If the historical navigation frequency is not greater than the frequency threshold value, it indicates that voice guidance information with relatively brief content needs to be generated for the current user, and at this time, the user characteristic can be set to be a simplified broadcast characteristic. For example, the area where the mobile device is currently located is tianjin, the resident area of the mobile device is beijing, and at this time, it can be determined that the mobile device is not located in the resident area, which may indicate that the current user needs to generate voice guidance information with relatively complete content, and at this time, the user feature may be set to be a complete broadcast feature.
As an example, the user may set the permanent area through the mobile device, for example, the user may trigger a setting option in the mobile device, at which time, the mobile device may receive a setting instruction and display a setting page, which includes a permanent area edit box. The mobile device can acquire the resident area set by the user from the resident area edit box. In another example, the mobile device may also obtain the resident area of the currently logged-in user account from the server. For example, the server may count the areas of historical navigation of the currently logged-in user account and the historical navigation frequency of each area, and set the area with the highest historical navigation frequency as the resident area.
Step 203: and determining the playing time of at least two pieces of voice guidance information according to the current position and the current moving speed.
The playing time may generally include a start playing time and an end playing time. And when the playing time of the voice guidance information is different, the playing time of the voice guidance information is also different. For example, one playing timing is to play the voice guidance information when the distance between the mobile device and the guidance point is a first distance threshold, and another playing timing is to play the voice guidance information after the playing of the voice guidance information is finished, and the distance between the mobile device and the guidance point is a second distance threshold. The second distance threshold is generally less than the first distance threshold.
When the playing time of the voice guidance information is different, the playing time of at least two voice guidance information is determined in different modes according to the current position and the current moving speed. In addition, the determination method of the playing time of each piece of voice guidance information is the same, and for convenience of understanding, any one of at least two pieces of voice guidance information is referred to as first voice guidance information, and the guidance point corresponding to the first voice guidance information is referred to as a first guidance point, and then, the determination method of the playing time of the first voice guidance information is described.
In some embodiments, for the first play opportunity, a play duration of the first voice guidance information may be determined, and a distance between the current position and the first guidance point may be determined, and the distance is referred to as a first distance. And dividing the distance difference between the first distance and the first distance threshold value by the current moving speed to obtain a first moving time length. And taking the moment obtained after the current moment is increased by the first moving time length as the playing starting moment of the first voice guidance information, and taking the moment obtained after the playing starting moment of the first voice guidance information is increased by the playing time length as the playing ending moment of the first voice guidance information.
For example, the playing time of the first voice guidance message is 5 seconds, and the distance between the current position and the first guidance point is 300 meters, that is, the first distance is 300 meters. Assuming that the first distance threshold is 150 meters, the current moving speed is 15 meters/second, and the current time is 9 points, the distance difference between the first distance and the first distance threshold is divided by the current moving speed, so that the obtained first moving time duration is 10 seconds. And taking the moment obtained after the current moment is increased by the first moving time length as the playing starting moment of the first voice guidance information, and taking the moment obtained after the playing starting moment of the first voice guidance information is increased by the playing time length as the playing ending moment of the first voice guidance information. That is, the play start time of the first voice guidance information is 9 o 'clock 0 min 10 sec, and the play end time of the first voice guidance information is 9 o' clock 0 min 15 sec.
For the second playing opportunity, the playing duration of the first voice guidance information may be determined, and the distance between the current position and the first guidance point may be determined, and the distance is referred to as a first distance. And dividing the distance difference between the first distance and the second distance threshold by the current moving speed to obtain a second moving duration. And taking the moment obtained after the second moving time length is added to the current moment as the playing ending moment of the first voice guidance information, and taking the moment obtained after the playing time length is subtracted from the playing ending moment of the first voice guidance information as the playing starting moment of the first voice guidance information.
For example, the playing time of the first voice guidance message is 5 seconds, and the distance between the current position and the first guidance point is 300 meters, that is, the first distance is 300 meters. Assuming that the second distance threshold is 60 meters, the current moving speed is 15 meters/second, and the current time is 9 points, the distance difference between the first distance and the second distance threshold is divided by the current moving speed, so that the second moving time duration is 16 seconds. And taking the moment obtained after the second moving time length is added to the current moment as the playing ending moment of the first voice guidance information, and taking the moment obtained after the playing time length is subtracted from the playing ending moment of the first voice guidance information as the playing starting moment of the first voice guidance information. That is, the play start time of the first voice guidance information is 9 o 'clock 0 min 11 sec, and the play end time of the first voice guidance information is 9 o' clock 0 min 16 sec.
Step 204: if the playing time of any two voice guide information in the at least two voice guide information is overlapped, adjusting the any two voice guide information so that the adjusted playing time of the any two voice guide information is not overlapped.
Since the playing time may generally include a starting playing time and an ending playing time, that is, the playing time is a time period, the playing times of any two voice guidance messages of the at least two voice guidance messages may be compared to determine whether there is an overlap between the playing times of the any two voice guidance messages. If there is an overlap between the playing time of any two pieces of voice guidance information, then the voice guidance information needs to be adjusted.
For example, the at least two pieces of voice guidance information are voice guidance information 1, voice guidance information 2, and voice guidance information 3, respectively, the playing time of voice guidance information 1 is 9 o 'clock 0 min 10 sec to 9 o' clock 0 min 15 sec, the playing time of voice guidance information 2 is 9 o 'clock 0 min 13 sec to 9 o' clock 0 min 20 sec, and the playing time of voice guidance information 3 is 9 o 'clock 0 min 19 sec to 9 o' clock 0 min 26 sec. Then, there is an overlap between the playing time of the voice guidance information 1 and the playing time of the voice guidance information 2, and there is an overlap between the playing time of the voice guidance information 2 and the playing time of the voice guidance information 3, and at this time, it is necessary to adjust all the three voice guidance information so that there is no overlap between the adjusted playing time of the three voice guidance information.
In some embodiments, the playing time may include a starting playing time and an ending playing time, and the operation of adjusting any two pieces of voice guidance information may be: and determining the overlapping duration of the playing time of any two voice guide messages. And if the overlapping time length is less than or equal to the reference time length, adjusting the play starting time of at least one voice guidance information in the any two voice guidance information.
As an example, a first interval duration between a play start time of a first voice guidance message and a play end time of a previous voice guidance message of the first voice guidance message may be determined, and a second interval duration between a play end time of a second voice guidance message and a play start time of a next voice guidance message of the second voice guidance message may be determined, where the first voice guidance message is a voice guidance message with an early play start time in any two voice guidance messages, and the second voice guidance message is a voice guidance message with a late play start time in any two voice guidance messages. If the first interval duration and the second interval duration are both greater than or equal to the overlap duration, the play starting time of the first voice guidance information is adjusted to be the first time, the first time is earlier than the original play starting time of the first voice guidance information, and the duration between the first voice guidance information and the play starting time of the first voice guidance information is the overlap duration. Or adjusting the playing start time of the second voice guidance information to be a second time, wherein the second time is later than the original playing start time of the second voice guidance information, and the time length between the playing start time and the original playing start time of the second voice guidance information is the overlapping time length. And if the first interval duration is greater than or equal to the overlapping duration and the second interval duration is less than the overlapping duration, adjusting the play starting time of the first voice guidance information to be the first time. And if the first interval duration is less than the overlapping duration and the second interval duration is greater than or equal to the overlapping duration, adjusting the play starting time of the second voice guidance information to be the second time. If the first interval duration and the second interval duration are both smaller than the overlap duration, and the sum of the first interval duration and the second interval duration is greater than or equal to the overlap duration, the play starting time of the first voice guidance information is adjusted to be the third time, the play starting time of the second voice guidance information is adjusted to be the fourth time, the sum of the first adjustment duration and the second adjustment duration is the overlap duration, the first adjustment duration is the duration between the third time and the original play starting time of the first voice guidance information, and the second adjustment duration is the duration between the fourth time and the original play starting time of the second voice guidance information. If the first interval duration and the second interval duration are both smaller than the overlapping duration, and the sum of the first interval duration and the second interval duration is smaller than the overlapping duration, the playing start time of the first voice guidance information is adjusted to be a fifth time, the playing start time of the second voice guidance information is adjusted to be a sixth time, the fifth time is earlier than the original playing start time of the first voice guidance information, the duration between the playing start time of the first voice guidance information and the playing start time of the first voice guidance information is the first interval duration, the sixth time is later than the original playing start time of the second voice guidance information, and the duration between the playing start time of the second voice guidance information and the original playing start time of the second voice guidance information is the second interval duration. However, in this case, after the adjustment of the playing time, there is an overlap between the playing times of the first voice guidance information and the second voice guidance information, so that the content of at least one of the two voice guidance information can be adjusted in a subsequent manner. The adjustment mode can refer to the subsequent content.
It should be noted that if there is no previous voice guidance information of the first voice guidance information, the first interval duration may be considered to be greater than the overlap duration. Similarly, if there is no subsequent voice guidance information of the second voice guidance information, the second interval duration may be considered to be greater than the overlap duration.
For convenience of description, two pieces of voice guidance information having overlapping play times may be referred to as a set of voice guidance information. In this way, there may be multiple sets of voice guidance information with overlapping playing time in the at least two voice guidance information, and the multiple sets of voice guidance information may be adjusted in the above manner.
Since the reference time duration is usually set to be relatively small, if the overlapping time duration is less than or equal to the reference time duration, after the play start time of at least one of the two pieces of voice guidance information is adjusted in the above manner, the user may not feel the start time, and the voice navigation effect is not affected. However, if the overlap duration is longer than the reference duration, the user may perceive the overlap duration and the voice navigation effect may be affected by the overlap duration adjusted in the above manner. In this case, the arbitrary two pieces of voice guidance information may be adjusted in other ways.
As an example, if the overlapping duration is greater than the reference duration, the play start time of at least one of the two pieces of voice guidance information may be adjusted, and then the content of at least one of the two pieces of voice guidance information may be adjusted. As another example, if the overlapping duration is greater than the reference duration, the content of at least one of the two pieces of voice guidance information is adjusted.
When the overlap duration is longer than the reference duration, after the play start time of at least one of the two pieces of voice guidance information is adjusted, the play time of the two pieces of voice guidance information may overlap, and at this time, the content of the at least one of the two pieces of voice guidance information may be adjusted. However, in some cases, after directly adjusting the content of at least one of the two voice guidance messages, there may be no overlap between the playing times of the two voice guidance messages, and in this case, there may be no need to adjust the playing start time.
The operation of adjusting the play start time of at least one of the two pieces of voice guidance information is similar to the above manner when the overlap duration is longer than the reference duration, except that if the first interval duration and the second interval duration are both longer than or equal to the overlap duration, or the first interval duration is longer than or equal to the overlap duration and the second interval duration is shorter than the overlap duration, or the first interval duration is shorter than the overlap duration and the second interval duration is longer than or equal to the overlap duration, then the adjusted durations are both the reference duration. If the first interval duration and the second interval duration are both smaller than the overlap duration and the sum of the first interval duration and the second interval duration is greater than or equal to the overlap duration, then the sum of the adjusted durations is the reference duration. However, if both the first interval duration and the second interval duration are less than the overlap duration, and the sum of the first interval duration and the second interval duration is less than the overlap duration, it is necessary to determine whether the sum of the first interval duration and the second interval duration is greater than or equal to the reference duration. If the time length is greater than or equal to the reference time length, the sum of the adjusted time lengths is also the reference time length, and if the time length is not greater than the reference time length, the adjusted time lengths are the first interval time length and the second interval time length respectively.
In general, after adjusting the content of one of any two pieces of voice guidance information, the problem of overlapping playing time can be solved, and in this case, the operation of adjusting the content of at least one of any two pieces of voice guidance information may be: one voice guidance information is selected from any two voice guidance information. And taking the selected voice guide information as first voice guide information, and screening out part of the broadcast components from the broadcast elements corresponding to the first voice guide information. According to the broadcast order of the broadcast components that screen out, first voice guidance information is regenerated according to the broadcast components that screen out.
However, in some cases, there may be a problem that the playing time overlaps after adjusting one voice guidance message, and in this case, the playing time of the regenerated first voice guidance message may also be determined according to the current position and the current moving speed. And taking the unselected voice guide information as second voice guide information, if the playing time of the regenerated first voice guide information and the playing time of the second voice guide information are overlapped, screening out part of the broadcast components from broadcast elements corresponding to the second voice guide information. And according to the broadcasting sequence of the screened broadcasting components, regenerating second voice guide information according to the screened broadcasting components.
The mode of screening the part from the broadcast element that first voice guide information corresponds and broadcasting the subassembly is the same with the mode of screening the part from the broadcast element that second voice guide information corresponds and broadcasting the subassembly. Moreover, the manner of regenerating the first voice guidance information is the same as the manner of regenerating the second voice guidance information, and the manner of regenerating the first voice guidance information and the manner of regenerating the voice guidance information are the same as the manner of generating the voice guidance information in step 202, and will not be described herein again. Next, a manner of screening a portion of the broadcast components will be described, taking the first voice guidance information as an example.
Each broadcast element can also comprise the priority of at least one broadcast component besides at least one broadcast component and the broadcast sequence of at least one broadcast component. At this moment, from the broadcast element that first voice guidance information corresponds, the operation of screening out the part and broadcasting the subassembly can be for: screening out the broadcast components with the priority greater than the reference priority from the broadcast elements corresponding to the first voice guide information. Or screening the broadcast component with the highest priority from the broadcast elements corresponding to the first voice guidance information, wherein the highest priority means that the corresponding broadcast component cannot be deleted.
For example, to turning to the crossing, this induction point's report element can include 5 report subassemblies, be distance, position respectively, turn to, supplementary and lane, and report the order and be distance, position in proper order, turn to, supplementary, lane, but also include the priority of every report subassembly:
distance: value is d, level max
Position: value is traffic light intersection, level is 8
Turning: value is right turn, level is max
Auxiliary: enter the wide road with value of 5
Lane: please drive on the rightmost lane, and level 7
Among the broadcast components described above, 8, 5, and 7 are priorities of the broadcast components of position, assistance, and lane, respectively, and max indicates that deletion is not possible, that is, max indicates the highest priority.
Under a general condition, the content of the broadcast components screened according to the reference priority is more than the content of the broadcast components screened according to the highest priority, so that the broadcast components can be screened according to the reference priority, and then whether the playing time of the two regenerated voice guide messages is overlapped or not is determined, and if the two regenerated voice guide messages are not overlapped, the content of the two voice guide messages can be ensured to be complete. If the overlap exists, the first voice guide information can be screened according to the reference priority, and the second voice guide information can be screened according to the highest priority, or the first voice guide information can be screened according to the highest priority, and the second voice guide information can be screened according to the reference priority, and then whether the playing time of the two regenerated voice guide information is overlapped or not is determined, if the overlap does not exist, the content of one voice guide information can be ensured to be complete. However, if there is an overlap, the two voice guidance information need to be screened according to the highest priority, so that it can be ensured that there is no overlap between the playing times of the two voice guidance information, and a voice navigation function can be performed.
It should be noted that the above-mentioned method is only an example, and the content of the voice guidance information may be adjusted by other methods. For example, the broadcast component with the lowest priority in the first voice guidance information may be screened first, and the first voice guidance information may be regenerated according to the broadcast sequence of the remaining broadcast components after screening and the remaining broadcast components after screening. And determining the playing time of the regenerated first voice guidance information according to the current position and the current moving speed. If the playing time of the regenerated first voice guide information and the playing time of the second voice guide information are overlapped, the broadcast component with the lowest priority in the regenerated first voice guide information is continuously screened, and the circulation is repeated until the playing time of the regenerated first voice guide information is not overlapped with the playing time of the second voice guide information, or the playing time of the regenerated first voice guide information is overlapped with the playing time of the second voice guide information, but only the broadcast component with the highest priority in the regenerated first voice guide information exists. In the latter case, since the playing time of the regenerated first voice guidance information is also overlapped with the playing time of the second voice guidance information, the broadcast component in the second voice guidance information may be filtered according to the above method until the playing times of the two voice guidance information are not overlapped, or the playing times of the two voice guidance information are overlapped, but only the broadcast component with the highest priority exists in the regenerated second voice guidance information.
For another example, the broadcast component with the lowest priority in the first voice guidance information may be screened first, and the first voice guidance information may be regenerated according to the broadcast sequence of the remaining broadcast components after screening and the remaining broadcast components after screening. And determining the playing time of the regenerated first voice guidance information according to the current position and the current moving speed. If the playing time of the regenerated first voice guide information and the playing time of the second voice guide information are overlapped, the broadcast component with the lowest priority in the second voice guide information can be screened out, and the second voice guide information is regenerated according to the remaining broadcast components after screening and the remaining broadcast components after screening. And determining the playing time of the regenerated second voice guidance information according to the current position and the current moving speed. If there is an overlap between the playing time of the regenerated first voice guidance information and the playing time of the regenerated second voice guidance information, the above loop may be repeated until there is no overlap between the playing time of the regenerated first voice guidance information and the playing time of the regenerated second voice guidance information, or until there is an overlap between the playing time of the regenerated first voice guidance information and the playing time of the second voice guidance information but only the broadcast component with the highest priority exists in both the regenerated first voice guidance information and the regenerated second voice guidance information.
It should be noted that, in both cases, the description is given by taking an example of first screening the broadcast component in the first voice guidance information and then screening the broadcast component in the second voice guidance information. The first voice guidance information may be any one of the two voice guidance information, and the second voice guidance information may be the other one of the two voice guidance information. Of course, the first voice guidance information may also be the voice guidance information with a lower priority in the two voice guidance information, and the second voice guidance information may also be the voice guidance information with a higher priority in the two voice guidance information, which is not limited in this embodiment of the present application.
Normally, after the adjustment according to the above method, there will be no two voice guidance information with overlapped playing time, but after the adjustment according to the above method, if there is a problem of playing conflict, at this time, one voice guidance information with lower priority may be discarded. The mobile device can also obtain the priority of each broadcast element when obtaining the broadcast element of each guidance point on the navigation path from the server, and the priority of each broadcast element is also the priority of the voice guidance information because the voice guidance information is generated through the broadcast element.
In addition to adjusting the play start time of at least one of any two pieces of voice guidance information, in other embodiments, the content of at least one of any two pieces of voice guidance information may be directly adjusted. The manner of adjusting the content of at least one of any two pieces of voice guidance information has been described above, and is not described again here.
It should be noted that, if there are only two voice guidance messages with overlapping playing times in at least two voice guidance messages, the adjustment may be performed according to the above method. If there are two or more sets of two voice guidance information with overlapped playing time in at least two voice guidance information, at this time, it can be determined whether there is overlap between any two sets, if there is no overlap, then each set can be adjusted according to the above method. If the overlap exists, one group needs to be adjusted first, and then the next group is adjusted according to the adjusted playing time of the group of voice guidance information, so that the adjusted playing time of any two voice guidance information is not overlapped.
In addition, after the at least two pieces of voice guidance information are generated in step 202, the at least two pieces of voice guidance information may be added to the broadcast queue and arranged in the order from the morning to the evening at the broadcast start time. In this case, step 204 may directly determine whether there is an overlap between the playing times of two adjacent pieces of voice guidance information in the broadcast queue, instead of determining whether there is an overlap between the playing times of any two pieces of voice guidance information, which may save a part of resources and improve the efficiency of voice navigation. Furthermore, in this way, if there are two sets of at least two voice guidance information, or two or more sets of voice guidance information, which have overlapping playing times, then it can be determined whether there are two adjacent sets, and if not, each set can be adjusted according to the above method. If the voice guidance information exists, the former group can be adjusted, and then the latter group is adjusted according to the adjusted playing time of the voice guidance information of the former group, so that the playing time of any two voice guidance information after adjustment is not overlapped.
Step 205: and playing according to the adjusted playing time of the voice guide information so as to realize voice navigation.
After the adjustment is carried out according to the method, the playing time of the at least two pieces of voice guide information after the adjustment is not overlapped, and at the moment, the playing time of the voice guide information after the adjustment can be played to realize voice navigation.
Because at least two broadcast elements are used for prompting the guidance points on the navigation path, the distance between the guidance points and the current position of which is less than the reference distance, if the guidance points, the distance between which and the current position of which is less than the reference distance, include two or more than two, in order to avoid the problem that the playing time is overlapped and one piece of voice guidance information is discarded, and a certain guidance point is not prompted, the mobile device can locally and dynamically generate or adjust the voice guidance information according to the at least two broadcast elements, so that the playing time of any two pieces of voice guidance information after adjustment is not overlapped. Therefore, the voice guidance information corresponding to at least two broadcast elements can be played, the function of prompting two or more than two induction points is achieved, the starting broadcast time or content of the voice guidance information can be flexibly adjusted by the processing mode, and the high flexibility of the navigation system can be guaranteed.
Fig. 3 is a flowchart of a voice navigation method applied to a mobile device according to an exemplary embodiment. Referring to fig. 3, the method includes:
step 301: and acquiring at least two groups of voice guide information, wherein each group of voice guide information comprises at least one voice guide information with different content integrity, and the at least two groups of voice guide information are used for prompting the guidance points, the distance between the guidance points and the current position of the guidance path is less than the reference distance.
In some embodiments, the mobile device may determine a distance between the current location and each of the inductive points on the navigation path and select an inductive point on the navigation path having a distance from the current location that is less than a reference distance according to the determined distance. And then, acquiring the voice guidance information corresponding to the selected guidance point from the server to obtain at least two groups of voice guidance information.
Similar to step 201, at least two sets of voice guidance information may be acquired in real time in step 301, or at least two sets of voice guidance information may be acquired periodically, and the period length of the acquisition period of at least two sets of voice guidance information may be determined in the same manner as in step 201. Moreover, one induction point can be prompted once or multiple times. Therefore, at least two groups of voice guidance information may include one or more groups of voice guidance information corresponding to the same guidance point.
Based on the above description, the mobile device needs to obtain at least two sets of voice guidance information from the server, and therefore, the server needs to generate a set of voice guidance information for each guidance point in advance, and the set of voice guidance information may include at least one voice guidance information with different content integrity.
In some embodiments, the server may generate a voice guidance message with the most complete content first, that is, according to a broadcast sequence of at least one broadcast component included in a broadcast element corresponding to the guidance point, generate a voice guidance message according to at least one broadcast component included in the broadcast element. Then, the server can also screen out part from this broadcast element according to multiple screening methods and broadcast the subassembly, according to the broadcast order of the broadcast subassembly of screening, according to the broadcast subassembly of screening and generate a plurality of voice guide information.
It should be noted that the multiple screening manners may be the same as the manner of screening part of the broadcast components in step 204, that is, screening the broadcast components with priority higher than the reference priority. Or screening the broadcast component with the highest priority. Or only one broadcast component with the lowest priority in the broadcast elements is screened out each time, and the rest broadcast components are reserved.
For example, to turning to the crossing, this induction point's report element can include 5 report subassemblies, be distance, position respectively, turn to, supplementary and lane, and report the order and be distance, position in proper order, turn to, supplementary, lane, but also include the priority of every report subassembly:
distance: value is d, level max
Position: value is traffic light intersection, level is 8
Turning: value is right turn, level is max
Auxiliary: enter the wide road with value of 5
Lane: please drive on the rightmost lane, and level 7
Among the broadcast components described above, 8, 5, and 7 are priorities of the broadcast components of position, assistance, and lane, respectively, and max indicates that deletion is not possible, that is, max indicates the highest priority.
If the screening is performed in such a way that only one broadcast component is screened at a time, a wide variety of screening results may be obtained. For example, the screening results obtained after screening are respectively: distance, position, turn, lane, [ distance, position, turn ], distance, turn, [ turn, lane ], [ distance, position, turn, assist ], [ distance, turn, assist ], and the like.
Step 302: and determining the playing time of each voice guidance information included in each group of voice guidance information according to the current position and the current moving speed.
The manner of determining the playing time of each piece of voice guidance information included in each set of voice guidance information according to the current position and the current moving speed is the same as the manner of determining the playing time of each piece of voice guidance information in at least two pieces of voice guidance information in step 203, and is not described herein again.
Step 303: and respectively selecting one voice guide message from at least two groups of voice guide messages according to the playing time of each voice guide message included in each group of voice guide messages to obtain at least two voice guide messages, wherein the playing time of the at least two voice guide messages is not overlapped.
In some embodiments, the playing order of the at least two sets of voice guidance information may be determined, and then one voice guidance information is selected from the at least two sets of voice guidance information according to the playing order, and it is ensured that there is no overlapping between the playing times of two selected voice guidance information from two adjacent sets of voice guidance information, so that at least two voice guidance information may be obtained.
For example, 3 sets of voice guidance information are acquired, the first set of voice guidance information includes 3 pieces of voice guidance information, which are respectively voice guidance information 11, voice guidance information 12, and voice guidance information 13, and the playing time of the 3 pieces of voice guidance information is respectively 9 o 'clock 0 min 10 sec-9 o' clock 0 min 15 sec, 9 o 'clock 0 min 8 sec-9 o' clock 0 min 12 sec, 9 o 'clock 0 min 12 sec-9 o' clock 0 min 15 sec. The second group of voice guidance information includes 2 voice guidance information, which are respectively voice guidance information 21 and voice guidance information 22, and the playing time of the 2 voice guidance information is 9 o 'clock 0 min 14 sec-9 o' clock 0 min 20 sec, 9 o 'clock 0 min 16 sec-9 o' clock 0 min 21 sec. The third group of voice guidance information includes 2 voice guidance information, which are respectively voice guidance information 31 and voice guidance information 32, and the playing time of the 2 voice guidance information is 9 o 'clock 0 min 18 s-9 o' clock 0 min 25 s, 9 o 'clock 0 min 22 s-9 o' clock 0 min 26 s. At this time, the voice guidance information selected from the three sets of voice guidance information is: voice guidance information 11, voice guidance information 22, and voice guidance information 32. Or the following steps: voice guidance information 12, voice guidance information 21, and voice guidance information 32. Or voice guidance information 13, voice guidance information 22, and voice guidance information 32.
For different users, voice guidance information with different content completeness can be played, for example, when voice guidance of a vehicle is carried out, a new driver may be less familiar with the conditions on the road, so that voice guidance information with complete content can be played, and an old driver may be more familiar with the conditions on the road, so that voice guidance information with simpler content can be played. Therefore, according to the playing time of each voice guidance information included in each group of voice guidance information, the operation of selecting one voice guidance information from at least two groups of voice guidance information may be: and respectively selecting one voice guide message from at least two groups of voice guide messages according to the playing time and the user characteristics of each voice guide message included in each group of voice guide messages.
As an example, one voice guidance information may be selected from at least two groups of voice guidance information according to a playing time of each voice guidance information included in each group of voice guidance information. Since the selected result may include a plurality of kinds, in this case, one of the plurality of kinds of results that has the highest degree of matching with the user feature may be selected. In some embodiments, the integrity of each result may be determined, and if the user characteristic is a complete announced characteristic, the highest integrity result of the plurality of results may be determined as the highest matching result with the user characteristic. If the user characteristic is the condensed broadcast characteristic, the result with the lowest integrity in the multiple results can be determined as the result with the highest matching degree with the user characteristic.
As an example, the integrity of a result may be the sum of the integrity of each voice guidance information included in such a result. In some embodiments, the integrity of a voice guidance message may be determined by the number of broadcast components it includes. For example, the number of broadcast components included in the voice guidance information with the most complete content in a group of voice guidance information to which the voice guidance information belongs is determined, and then the number of broadcast components included in the voice guidance information is divided by the number of broadcast components included in the voice guidance information with the most complete content, so as to obtain the integrity of the voice guidance information. In other embodiments, the integrity of a voice guidance message may be determined by the weight of the announcement component it includes. For example, the sum of the weights of each broadcast component in the voice guidance information may be determined, and the sum of the weights is divided by the sum of the weights of each broadcast component in the voice guidance information with the most complete content in a group of voice guidance information to which the voice guidance information belongs, so as to obtain the integrity of the voice guidance information. The sum of the weights of the broadcast components in the voice guidance information with the most complete content in one group of voice guidance information is usually 1.
Taking the turning intersection in step 301 as an example, the number of broadcast components included in the voice guidance information with the highest content integrity corresponding to the turning intersection is 5, and if the number of broadcast components included in the current voice guidance information is 3, the integrity of the voice guidance information is 60%. Or, the sum of the weights of each broadcast component in the voice guidance information with the highest content integrity corresponding to the turning intersection is 1, and if the current voice guidance information includes 2 components, the weights are 0.5 and 0.3, respectively, then the integrity of the voice guidance information is 80%.
Step 304: and playing according to the playing time of at least two pieces of voice guide information to realize voice navigation.
This step is the same as step 205, and is not described herein again.
Because at least two groups of voice guide information are used for prompting the guidance point, the distance between the guidance point and the current position is smaller than the reference distance, each group of voice guide information comprises at least one voice guide information with different content integrity, and the playing time is different when the content integrity is different, therefore, one voice guide information can be respectively selected from at least two groups of voice guide information according to the playing time of each voice guide information included in each group of voice guide information, thereby ensuring that the playing time of at least two voice guide information obtained after selection is not overlapped. Therefore, the problem that one induction point is not prompted due to the fact that playing time is overlapped and one voice guide message is discarded can be avoided, the effect of prompting two or more induction points is achieved, the voice guide messages with different content integrity degrees can be flexibly selected through the processing mode, and the navigation system can be guaranteed to be high in flexibility.
Fig. 4 is a schematic structural diagram of a voice navigation apparatus provided according to an exemplary embodiment, which may be implemented by software, hardware or a combination of the two as part or all of an electronic device. Referring to fig. 4, the apparatus includes:
the acquisition module 401 is configured to acquire at least two broadcast elements, each broadcast element includes at least one broadcast component and a broadcast order of the at least one broadcast component, and the at least two broadcast elements are configured to prompt, through the included broadcast components, a guidance point on the navigation path where a distance between the navigation path and the current position is smaller than a reference distance;
a generating module 402, configured to generate at least two pieces of voice guidance information according to at least two broadcast elements;
a determining module 403, configured to determine playing time of at least two pieces of voice guidance information according to the current position and the current moving speed;
an adjusting module 404, configured to adjust any two pieces of voice guidance information if there is an overlap between the playing times of any two pieces of voice guidance information in the at least two pieces of voice guidance information, so that there is no overlap between the adjusted playing times of any two pieces of voice guidance information;
and a playing module 405, configured to play according to the adjusted playing time of the voice guidance information, so as to implement voice navigation.
Optionally, the playing time includes a starting playing time and an ending playing time, and the adjusting module 404 includes:
the determining unit is used for determining the overlapping duration of the playing time of any two voice guide messages;
and the first adjusting unit is used for adjusting the play starting time of at least one voice guidance information in any two voice guidance information if the overlapping time length is less than or equal to the reference time length.
Optionally, the adjusting module 404 further comprises:
and the second adjusting unit is used for adjusting the content of at least one voice guide message in any two voice guide messages if the overlapping duration is greater than the reference duration.
Optionally, the adjusting module 404 includes:
and the third adjusting unit is used for adjusting the content of at least one voice guide information in any two voice guide information.
Optionally, the second adjusting unit or the third adjusting unit includes:
the selection subunit is used for selecting one voice guidance information from any two voice guidance information;
the first screening subunit is used for screening out part of the broadcast components from broadcast elements corresponding to the first voice guide information by taking the selected voice guide information as the first voice guide information;
the first generating subunit is used for regenerating first voice guide information according to the screened broadcasting sequence of the broadcasting components and the screened broadcasting components.
Optionally, the second adjusting unit or the third adjusting unit further includes:
the second generating subunit is used for determining the playing time of the regenerated first voice guidance information according to the current position and the current moving speed;
the second screening subunit is used for taking the unselected voice guide information as second voice guide information, and screening out part of broadcast components from broadcast elements corresponding to the second voice guide information if the playing time of the regenerated first voice guide information and the playing time of the second voice guide information are overlapped;
and the third generation subunit is used for regenerating second voice guide information according to the screened broadcasting sequence of the broadcasting components and the screened broadcasting components.
Optionally, each broadcast element further comprises a priority of at least one broadcast component;
the first screening subunit is mainly used for:
screening broadcast components with the priority greater than the reference priority from broadcast elements corresponding to the first voice guidance information; alternatively, the first and second electrodes may be,
screening the broadcast components with the highest priority from the broadcast elements corresponding to the first voice guide information, wherein the highest priority means that the corresponding broadcast components cannot be deleted.
Optionally, the generating module 402 includes:
the screening unit is used for screening part of the broadcast components from the first broadcast elements according to user characteristics for the first broadcast elements in the at least two broadcast elements, wherein the first broadcast elements are any broadcast elements in the at least two broadcast elements;
the generating unit is used for generating voice guide information according to the screened broadcasting sequence of the broadcasting components and the screened broadcasting components.
Optionally, the broadcast component in each broadcast element is determined according to the type of the induction point and navigation feedback information, wherein the navigation feedback information comprises historical violation rate and yaw rate at the induction point.
In the embodiment of the application, because the at least two broadcast elements are used for prompting the guidance points, which are on the navigation path and have a distance with the current position smaller than the reference distance, through the broadcast components, if the guidance points, which have a distance with the current position smaller than the reference distance, include two or more than two guidance points, in order to avoid the problem that a certain guidance point is not prompted because one piece of voice guidance information is discarded due to overlapping of the broadcast times, the mobile device may locally and dynamically generate or adjust the voice guidance information according to the at least two broadcast elements, so that there is no overlapping of the adjusted broadcast times of any two pieces of voice guidance information. Therefore, the voice guidance information corresponding to at least two broadcast elements can be played, the function of prompting two or more than two induction points is achieved, the starting broadcast time or content of the voice guidance information can be flexibly adjusted by the processing mode, and the high flexibility of the navigation system can be guaranteed.
Fig. 5 is a schematic structural diagram of a voice navigation apparatus provided according to an exemplary embodiment, which may be implemented by software, hardware or a combination of the two as part or all of an electronic device. Referring to fig. 5, the apparatus includes:
an obtaining module 501, configured to obtain at least two sets of voice guidance information, where each set of voice guidance information includes at least one piece of voice guidance information with different content integrity, and the at least two sets of voice guidance information are used to prompt an induction point on a navigation path, where a distance between the current position and the induction point is smaller than a reference distance;
a determining module 502, configured to determine, according to the current position and the current moving speed, a playing time of each voice guidance information included in each group of voice guidance information;
a selecting module 503, configured to select a piece of voice guidance information from at least two sets of voice guidance information according to the playing time of each piece of voice guidance information included in each set of voice guidance information, so as to obtain at least two pieces of voice guidance information, where there is no overlap between the playing times of the at least two pieces of voice guidance information;
the playing module 504 is configured to play according to the playing time of at least two pieces of voice guidance information, so as to implement voice navigation.
Optionally, the selecting module 503 comprises:
and the selection unit is used for respectively selecting one voice guide message from at least two groups of voice guide messages according to the playing time and the user characteristics of each voice guide message included in each group of voice guide messages.
In the embodiment of the application, because at least two groups of voice guidance information are used for prompting the guidance point, where the distance between the navigation path and the current position is smaller than the reference distance, each group of voice guidance information includes at least one voice guidance information with different content integrity, and when the content integrity is different, the playing time is also different, therefore, one voice guidance information can be respectively selected from at least two groups of voice guidance information according to the playing time of each voice guidance information included in each group of voice guidance information, thereby ensuring that the playing time of at least two voice guidance information obtained after selection does not overlap. Therefore, the problem that one induction point is not prompted due to the fact that playing time is overlapped and one voice guide message is discarded can be avoided, the effect of prompting two or more induction points is achieved, the voice guide messages with different content integrity degrees can be flexibly selected through the processing mode, and the navigation system can be guaranteed to be high in flexibility.
It should be noted that: in the voice navigation apparatus provided in the above embodiment, only the division of the above functional modules is used for illustration when performing voice navigation, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the above described functions. In addition, the voice navigation apparatus and the voice navigation method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an exemplary embodiment, where the electronic device 600 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 601 and one or more memories 602, where the memory 602 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 601 to implement the voice navigation method in the foregoing embodiment. Of course, the electronic device 600 may further have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the electronic device 600 may further include other components for implementing device functions, which are not described herein again.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, including instructions executable by a processor in an electronic device to perform the method of fig. 2 or 3 in the above embodiments is also provided. For example, the computer-readable storage medium may be a ROM (Read-Only Memory), a RAM (random access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is noted that the computer-readable storage medium referred to herein may be a non-volatile storage medium, in other words a non-transitory storage medium.
It should be understood that all or part of the steps for implementing the above embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The computer instructions may be stored in the computer-readable storage medium described above.
In an exemplary embodiment, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the voice navigation method described in fig. 2 or fig. 3 in the above embodiments.
The above-mentioned embodiments are provided not to limit the present application, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
"and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two. In addition, in order to facilitate clear description of technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.

Claims (7)

1. A voice navigation method, the method comprising:
the method comprises the steps that at least two broadcast elements are obtained, each broadcast element comprises at least one broadcast component and a broadcast sequence of the at least one broadcast component, and the at least two broadcast elements are used for prompting an induction point, with the distance between the navigation path and the current position smaller than a reference distance, through the included broadcast components;
generating at least two voice guide messages according to the at least two broadcast elements; determining the playing time of the at least two voice guide messages according to the current position and the current moving speed;
if the playing time of any two voice guide information in the at least two voice guide information is overlapped, adjusting the any two voice guide information so that the adjusted playing time of the any two voice guide information is not overlapped;
playing according to the adjusted playing time of the voice guide information to realize voice navigation;
the adjusting any two pieces of voice guidance information includes:
selecting one voice guide message from any two voice guide messages, taking the selected voice guide message as a first voice guide message, screening out part of broadcast components from broadcast elements corresponding to the first voice guide message, and regenerating the first voice guide message according to the screened broadcast components according to the broadcast sequence of the screened broadcast components;
determining the playing time of the regenerated first voice guide information according to the current position and the current moving speed, taking the unselected voice guide information as second voice guide information, screening out part of broadcast components from broadcast elements corresponding to the second voice guide information if the playing time of the regenerated first voice guide information and the playing time of the second voice guide information are overlapped, and regenerating the second voice guide information according to the screened broadcast components according to the broadcasting sequence of the screened broadcast components.
2. The method of claim 1, wherein each cast element further comprises a priority of the at least one cast component;
follow in the broadcast element that first voice guidance information corresponds, screen out the part and broadcast the subassembly, include:
screening out broadcast components with the priority greater than the reference priority from broadcast elements corresponding to the first voice guidance information; alternatively, the first and second electrodes may be,
screening out the broadcast component with the highest priority from the broadcast elements corresponding to the first voice guide information, wherein the highest priority means that the corresponding broadcast component cannot be deleted.
3. The method of claim 1, wherein the generating at least two corresponding voice guidance information according to the at least two announcement elements comprises:
for a first broadcast element of the at least two broadcast elements, screening a part of broadcast components from the first broadcast element according to user characteristics, wherein the first broadcast element is any one of the at least two broadcast elements;
according to the broadcast order of the broadcast components that screen out, according to the broadcast components that screen out generate voice guidance information.
4. The method of claim 1, wherein the on-air components in each on-air element are determined based on the type of induction point and navigation feedback information including historical violation rate and yaw rate at the induction point.
5. A voice navigation device, the device comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring at least two broadcast elements, each broadcast element comprises at least one broadcast component and a broadcast sequence of the at least one broadcast component, and the at least two broadcast elements are used for prompting an induction point, the distance between the induction point and the current position on a navigation path is smaller than a reference distance, through the included broadcast components;
the generating module is used for generating at least two pieces of voice guide information according to the at least two broadcasting elements;
the determining module is used for determining the playing time of the at least two voice guide messages according to the current position and the current moving speed;
the adjusting module is used for adjusting any two voice guide messages if the playing time of any two voice guide messages in the at least two voice guide messages is overlapped, so that the adjusted playing time of any two voice guide messages is not overlapped;
the playing module is used for playing according to the adjusted playing time of the voice guide information so as to realize voice navigation;
the adjusting module is configured to:
selecting one voice guide message from any two voice guide messages, taking the selected voice guide message as a first voice guide message, screening out part of broadcast components from broadcast elements corresponding to the first voice guide message, and regenerating the first voice guide message according to the screened broadcast components according to the broadcast sequence of the screened broadcast components;
determining the playing time of the regenerated first voice guide information according to the current position and the current moving speed, taking the unselected voice guide information as second voice guide information, screening out part of broadcast components from broadcast elements corresponding to the second voice guide information if the playing time of the regenerated first voice guide information and the playing time of the second voice guide information are overlapped, and regenerating the second voice guide information according to the screened broadcast components according to the broadcasting sequence of the screened broadcast components.
6. An electronic device comprising a processor and a memory, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement the voice navigation method of any one of claims 1-4.
7. A computer-readable storage medium having stored therein instructions which, when run on a computer, cause the computer to perform the voice guidance method of any one of claims 1-4.
CN201910290569.9A 2019-04-11 2019-04-11 Voice navigation method and device, electronic equipment and storage medium Active CN110017848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910290569.9A CN110017848B (en) 2019-04-11 2019-04-11 Voice navigation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910290569.9A CN110017848B (en) 2019-04-11 2019-04-11 Voice navigation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110017848A CN110017848A (en) 2019-07-16
CN110017848B true CN110017848B (en) 2020-09-29

Family

ID=67191192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910290569.9A Active CN110017848B (en) 2019-04-11 2019-04-11 Voice navigation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110017848B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112735167A (en) * 2019-10-14 2021-04-30 阿里巴巴集团控股有限公司 Voice broadcasting method and device and electronic equipment
CN111462744B (en) * 2020-04-02 2024-01-30 深圳创维-Rgb电子有限公司 Voice interaction method and device, electronic equipment and storage medium
CN112071313A (en) * 2020-07-22 2020-12-11 特斯联科技集团有限公司 Voice broadcasting method and device, electronic equipment and medium
CN112880703B (en) * 2021-02-19 2022-03-01 腾讯科技(深圳)有限公司 Navigation voice broadcast data generation method, device, medium and electronic equipment
CN114038224B (en) * 2021-10-18 2022-08-16 中国科学院软件研究所 Intelligent voice broadcasting method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004309269A (en) * 2003-04-04 2004-11-04 Nissan Motor Co Ltd Information presentation device for vehicle
CN101046384A (en) * 2007-04-27 2007-10-03 江苏新科数字技术有限公司 Phonetic prompt method of navigation instrument
CN101335796A (en) * 2008-07-25 2008-12-31 华为技术有限公司 Decoding scheduling method and device
CN101349569A (en) * 2008-08-29 2009-01-21 凯立德欣技术(深圳)有限公司 Method and apparatus for playing navigation information
CN104697518A (en) * 2015-03-31 2015-06-10 百度在线网络技术(北京)有限公司 Method and device for playing guidance voice in navigation process
CN105828100A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Audio and video files simultaneous playing method, device and system
CN106468559A (en) * 2015-08-20 2017-03-01 高德信息技术有限公司 A kind of navigation voice broadcast method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101246020B (en) * 2008-03-14 2011-05-25 深圳市凯立德科技股份有限公司 Voice broadcasting device and navigation system using the same and its method
CN102384751B (en) * 2010-09-01 2015-06-03 北京四维图新科技股份有限公司 Method for realizing voice navigation of navigation terminal and navigation terminal
CN103776460B (en) * 2014-01-27 2017-01-04 上海安吉星信息服务有限公司 A kind of voice broadcast method of navigation system
CN113029186A (en) * 2015-08-12 2021-06-25 阿里巴巴(中国)有限公司 Navigation method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004309269A (en) * 2003-04-04 2004-11-04 Nissan Motor Co Ltd Information presentation device for vehicle
CN101046384A (en) * 2007-04-27 2007-10-03 江苏新科数字技术有限公司 Phonetic prompt method of navigation instrument
CN101335796A (en) * 2008-07-25 2008-12-31 华为技术有限公司 Decoding scheduling method and device
CN101349569A (en) * 2008-08-29 2009-01-21 凯立德欣技术(深圳)有限公司 Method and apparatus for playing navigation information
CN104697518A (en) * 2015-03-31 2015-06-10 百度在线网络技术(北京)有限公司 Method and device for playing guidance voice in navigation process
CN106468559A (en) * 2015-08-20 2017-03-01 高德信息技术有限公司 A kind of navigation voice broadcast method and device
CN105828100A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Audio and video files simultaneous playing method, device and system

Also Published As

Publication number Publication date
CN110017848A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN110017848B (en) Voice navigation method and device, electronic equipment and storage medium
CN112798003B (en) Navigation prompt information generation method, prompting method, device and equipment
CN108984157B (en) Skill configuration and calling method and system for voice conversation platform
KR20210129205A (en) Message pushing method, storage medium and server
CN112141102A (en) Cruise control method, cruise control device, cruise control apparatus, vehicle, and cruise control medium
US10900802B2 (en) Map based navigation method, apparatus, storage medium and equipment
CN111735472A (en) Navigation audio playing method, device, equipment and computer storage medium
CN113419547B (en) Multi-vehicle cooperative control method and device
US10546493B2 (en) Cognitive traffic signal cycle timer
JP2018523126A (en) Map-based navigation method, apparatus, and storage medium
CN110277092A (en) A kind of voice broadcast method, device, electronic equipment and readable storage medium storing program for executing
CN113421451B (en) Navigation processing method, navigation processing device, electronic equipment and computer readable storage medium
JP2022084929A (en) Vehicle travel control method and device
CN110264760B (en) Navigation voice playing method and device and electronic equipment
CN109808689B (en) Unmanned vehicle control method, device and equipment
CN115848377A (en) Lane changing control method, system, equipment and medium under different traffic environments
CN112880703B (en) Navigation voice broadcast data generation method, device, medium and electronic equipment
JP7224421B1 (en) Route prediction device, route prediction method, and vehicle control system
CN115366919A (en) Trajectory prediction method, system, electronic device and storage medium
CN114758515A (en) Method, device, equipment and storage medium for determining traffic light timing
CN110995572B (en) Information publishing method, device, system and computer storage medium
CN114154711A (en) Traffic information recommendation method and device, electronic equipment and computer storage medium
CN112734810A (en) Obstacle tracking method and device
CN114863673B (en) Voice broadcasting method, device and system and position-based service providing method
CN116545561B (en) Method, apparatus and readable storage medium for configuring channels of car radio

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