[go: up one dir, main page]

CN113514075B - Voice playback method, device, terminal and storage medium - Google Patents

Voice playback method, device, terminal and storage medium Download PDF

Info

Publication number
CN113514075B
CN113514075B CN202110785699.7A CN202110785699A CN113514075B CN 113514075 B CN113514075 B CN 113514075B CN 202110785699 A CN202110785699 A CN 202110785699A CN 113514075 B CN113514075 B CN 113514075B
Authority
CN
China
Prior art keywords
voice
navigation
terminal
road section
target
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
CN202110785699.7A
Other languages
Chinese (zh)
Other versions
CN113514075A (en
Inventor
周志桐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110785699.7A priority Critical patent/CN113514075B/en
Publication of CN113514075A publication Critical patent/CN113514075A/en
Application granted granted Critical
Publication of CN113514075B publication Critical patent/CN113514075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/3679Retrieval, searching and output of POI information, e.g. hotels, restaurants, shops, filling stations, parking facilities

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)

Abstract

The embodiment of the application discloses a voice playing method, a voice playing device, a voice playing terminal and a voice playing storage medium, and belongs to the technical field of computers. The method comprises the steps of obtaining a navigation route, wherein the navigation route comprises an idle road section, the idle road section is a road section without navigation voice or a road section with the set navigation voice not meeting a target condition, playing non-navigation voice under the condition that the current position of a terminal is in the idle road section, and the navigation voice is voice for indicating the terminal to move and is voice except the navigation voice. The embodiment of the application can be applied to the field of the Internet of vehicles, and can play the non-navigation voice which does not need to instruct the terminal to move under the condition that the current position of the terminal is in the idle road section in consideration of the fact that the road section where the navigation voice is not set or the road section where the set navigation voice does not meet the target condition is idle, enrich the voice playing mode in the navigation process under the condition that the navigation is not influenced, and improve the information quantity of voice playing and the flexibility of voice playing.

Description

Voice playing method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a voice playing method, a voice playing device, a voice playing terminal and a voice playing storage medium.
Background
With the rapid development of internet technology and the increasing complexity of traffic conditions in daily life, navigation functions are increasingly widely applied to daily trips of people. In order to facilitate the travel of the user, a voice playing service can be provided for the user in the navigation process.
In the related art, a navigation route is planned for a user based on a start position and an end position, and a voice is played to the user according to the navigation route and the current position of the user, so as to guide the user to move according to the navigation route. However, the voice playing mode is single and not flexible enough.
Disclosure of Invention
The embodiment of the application provides a voice playing method, a voice playing device, a voice playing terminal and a voice playing storage medium, which can improve the flexibility of voice playing. The technical scheme is as follows:
in one aspect, a method for playing voice is provided, the method comprising:
acquiring a navigation route, wherein the navigation route comprises an idle road section, and the idle road section is a road section without navigation voice or a road section with the set navigation voice not meeting a target condition;
playing non-navigation voice under the condition that the current position of the terminal is in the idle road section;
the navigation voice is voice for indicating the terminal to move, and the non-navigation voice is voice except the navigation voice.
In another aspect, a voice playing device is provided, the device including:
The route acquisition module is used for acquiring a navigation route, wherein the navigation route comprises an idle road section, and the idle road section is a road section without navigation voice or a road section with the set navigation voice not meeting a target condition;
the first playing module is used for playing non-navigation voice under the condition that the current position of the terminal is in the idle road section;
the navigation voice is voice for indicating the terminal to move, and the non-navigation voice is voice except the navigation voice.
Optionally, the apparatus further comprises:
And the idle road section determining module is used for determining any road section as the idle road section in the navigation route under the condition that the priority of the navigation voice set by the any road section in the navigation route is not higher than the target priority.
Optionally, the apparatus further comprises:
the idle road section determining module is used for determining any road section in the navigation route as the idle road section in the navigation route when the navigation voice is not set or the set navigation voice does not meet the target condition and the length of the any road section is not smaller than a first length.
Optionally, the apparatus further comprises:
The idle road section determining module is used for determining any road section in the navigation route as the idle road section in the navigation route when the navigation voice is not set between the road sections or the set navigation voice does not meet the target condition and the time required for passing through the road section is not less than a first time length.
Optionally, the apparatus further comprises:
The configuration information acquisition module is used for acquiring voice configuration information, wherein the voice configuration information comprises at least one of user identity information, characteristic information of the navigation route, current date information or current equipment type, and the user identity information is identity information corresponding to a user identifier logged in by the terminal;
And the non-navigation voice generating module is used for generating the non-navigation voice with the content related to the voice configuration information.
Optionally, the apparatus further comprises:
the voice acquisition module is used for acquiring a plurality of non-navigation voices distributed for the navigation route and corresponding priorities;
The voice distribution module is used for distributing different non-navigation voices corresponding to the highest priority to at least one idle road section in the navigation route;
the voice distribution module is further used for distributing the rest of the non-navigation voices to the rest of the idle road sections.
Optionally, the first playing module is configured to perform at least one of the following:
The road sections in the navigation route have corresponding grades, and the non-navigation voice is broadcasted when the current position of the terminal is in the idle road section and the grade of the idle road section belongs to a target grade;
broadcasting the non-navigation voice when the current position of the terminal is in the idle road section and the current moment belongs to a target time section;
broadcasting the non-navigation voice when the initial position of the navigation route is in a first target area and the current position of the terminal is in the idle road section;
broadcasting the non-navigation voice when the termination position of the navigation route is in a second target area and the current position of the terminal is in the idle road section;
And broadcasting the non-navigation voice under the condition that the current position of the terminal is in the idle road section and the number of times of playing the non-navigation voice by the terminal is not more than the target number of times.
Optionally, the navigation route includes a target road segment, the target road segment including a second target location, the apparatus further includes:
A third playing module for playing the non-navigation voice with the content related to the second target position under the condition that the current position of the terminal is in the target road section, or
And the third playing module is further configured to play the non-navigation voice whose content is related to the second target location when the current location of the terminal is in the geographic area corresponding to the target road section.
Optionally, the apparatus further comprises:
A location determination module for determining the second target location among a plurality of locations in the navigation route;
and the target road section determining module is used for determining a route which is positioned in the geographical area to which the second target position belongs in the navigation route as the target road section.
Optionally, the non-navigation voices which are not played are stored in a voice list and are arranged according to the playing sequence, and the device further comprises:
the second playing module is used for responding to a playing request of the first target voice and playing the first target voice;
And the voice deleting module is used for deleting the first non-navigation voice from the voice list under the condition that the priority of the first non-navigation voice in the voice list is lower than that of the first target voice.
Optionally, the apparatus further comprises:
And the operation execution module is used for responding to the non-navigation voice as the interactive voice, detecting the voice and executing the control operation based on the voice.
Optionally, the operation execution module includes:
And the voice playing unit is used for responding to the voice instruction to play the next non-navigation voice, but receiving a playing request of a second target voice, and playing the next non-navigation voice after playing the second target voice.
Optionally, the operation execution module includes:
And a route determining unit for the voice of the man to instruct to move to a first target position outside the navigation route, adding a road section moving from the current position of the terminal to the first target position in the navigation route, or changing the navigation route to a route moving from the current position of the terminal to the first target position.
Optionally, the apparatus further comprises:
And the idle road section determining module is used for determining the idle road section in the navigation route under the condition that the length of the navigation route is larger than the second length.
Optionally, the apparatus further comprises:
The congestion road section determining module is used for determining the congestion road section in the navigation route;
a fourth playing module, configured to broadcast the non-navigation voice when the current position of the terminal is at the congested road segment and the length of the congested road segment is greater than the third length, or
And the fourth playing module is used for playing the non-navigation voice when the current position of the terminal is located at the congestion road section and the time required by the terminal to pass through the congestion road section is longer than the second time.
In another aspect, there is provided a terminal comprising a processor and a memory, the memory having stored therein at least one computer program loaded and executed by the processor to perform the operations performed in the voice playing method as described in the above aspect.
In another aspect, there is provided a computer readable storage medium having stored therein at least one computer program loaded and executed by a processor to implement the operations performed in the voice playing method as described in the above aspect.
In another aspect, there is provided a computer program product or computer program comprising computer program code stored in a computer readable storage medium, the computer program code being read from the computer readable storage medium by a processor of a terminal, the computer program code being executed by the processor such that the terminal implements the operations performed in the voice playing method as described in the above aspect.
According to the method, the device, the terminal and the storage medium provided by the embodiment of the application, the reason that the road section where the navigation voice is not set or the road section where the set navigation voice does not meet the target condition is idle is considered, so that the non-navigation voice which does not need to instruct the terminal to move is played under the condition that the current position of the terminal is in the idle road section, the voice playing mode in the navigation process is enriched under the condition that the navigation is not influenced, and the information quantity of the voice playing and the flexibility of the voice playing are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application.
Fig. 2 is a flowchart of a voice playing method according to an embodiment of the present application.
Fig. 3 is a flowchart of a voice playing method according to an embodiment of the present application.
Fig. 4 is a schematic diagram of an interactive window according to an embodiment of the present application.
Fig. 5 is a flowchart of a voice playing method according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a playing interval according to an embodiment of the present application.
Fig. 7 is a schematic diagram of another interactive window according to an embodiment of the present application.
Fig. 8 is a schematic diagram of another interactive window according to an embodiment of the present application.
Fig. 9 is a flowchart of a voice playing method according to an embodiment of the present application.
Fig. 10 is a system architecture diagram of a voice playing method according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of a voice playing device according to an embodiment of the present application.
Fig. 12 is a schematic structural diagram of another voice playing device according to an embodiment of the present application.
Fig. 13 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
It is to be understood that the terms "first," "second," and the like, as used herein, may be used to describe various concepts, but are not limited by these terms unless otherwise specified. These terms are only used to distinguish one concept from another. For example, a first target voice may be referred to as a second target voice, and similarly, a second target voice may be referred to as a first target voice, without departing from the scope of the application.
Wherein, at least one refers to one or more than one, for example, at least one idle road section can be any one of an integer number of idle road sections greater than or equal to one, two idle road sections, three idle road sections and the like. The plurality means two or more, and for example, the plurality of positions may be any integer number of two or more such as two positions, three positions, and the like. Each refers to each of at least one, for example, each location refers to each of a plurality of locations, and if the plurality of locations is 3 locations, each location refers to each of the 3 locations.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application, and referring to fig. 1, the implementation environment includes a terminal 101 and a server 102. The terminal 101 may be a mobile phone, a vehicle-mounted terminal, an intelligent voice interaction device, an intelligent home appliance, a tablet computer, a notebook computer, a desktop computer, an intelligent sound box, an intelligent watch, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) player, and other devices, and the server 102 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network, content distribution network), and big data and an artificial intelligent platform. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
The terminal 101 and the server 102 are directly or indirectly connected through a wired or wireless communication mode, and through interaction between the terminal 101 and the server 102, multiple functions such as real-time positioning, position inquiry, route matching, route navigation, voice navigation and the like can be realized.
In one possible implementation, a target client served by the server 102 is installed on the terminal 101, and the terminal 101 can implement functions such as route navigation and voice navigation through the target client. Optionally, the target client is a target client in an operating system of the terminal 101 or a target client provided by a third party. For example, the target client is an electronic map client having a navigation function, but of course, the navigation client can also have other functions, such as a data recommendation function, a comment function, a voice play function, a voice interaction function, or a game function. Optionally, the server 102 is a background server of the target client or is a cloud server that provides services such as cloud computing and cloud storage.
The terminal 101 is configured to log in to a target client based on a user identifier, report POI information (Point of Information, information points) to the server 102 through the target client, and the server 102 is configured to receive the POI information reported by the terminal 101, and provide location services for the terminal 101 according to the POI information reported by the terminal 101. The server 102 is further configured to identify POI information reported by the terminal 101, and identify abnormal POI information therein.
The voice playing method provided by the embodiment of the application can be applied to any navigation scene.
For example, a user uses a vehicle-mounted terminal to navigate during driving, and the vehicle-mounted terminal is internally provided with an electronic map client. When the user wants to go out, the vehicle-mounted terminal plans a navigation route for the user, plays navigation voice and non-navigation voice in the navigation process, wherein the navigation voice can instruct the user to move, such as left turn or speed reduction, and the like, and the non-navigation voice is voice except the navigation voice, such as recommending data for the user or introducing a passing point for the user, and the like. The vehicle-mounted terminal plays the non-navigation voice in an idle road section where the navigation voice is not set or the set navigation voice does not meet the target condition, so that the voice playing form in the navigation process is enriched and the information quantity of voice playing is improved under the condition that the navigation function is not influenced.
Fig. 2 is a flowchart of a voice playing method according to an embodiment of the present application. The method according to the embodiment of the present application is performed by the terminal in the embodiment of fig. 1, and referring to fig. 1, the method includes:
201. the terminal acquires the navigation route.
When the user needs to go out, the terminal plans a navigation route for the user according to the starting position and the ending position set by the user, wherein the navigation route is a route from the starting position to the ending position. The navigation route comprises a plurality of road sections, and the road sections have a sequence to represent the direction of the route. For example, the end point of the previous road segment is the start point of the next road segment, thereby connecting the plurality of road segments to constitute a route.
In the navigation process, the terminal also provides voice playing service for the user, for example, the navigation voice is played in the navigation process, the navigation voice is voice for indicating the terminal to move, and the user carrying the terminal moves along the navigation route under the indication of the navigation voice. Wherein, different navigation voices are respectively arranged in different road sections of the navigation route. For example, the navigation voice indicates a moving direction of the terminal, or indicates a moving speed of the terminal, or the like.
The navigation route includes an idle road segment, which is a road segment where no navigation voice is set, that is, in the idle road segment, the navigation voice does not need to be played. Or the idle road section is a road section of which the set navigation voice does not meet the target condition. That is, in the idle road section, there is no need to play the navigation voice satisfying the target condition.
202. And playing the non-navigation voice by the terminal under the condition that the current position of the terminal is in an idle road section.
In the embodiment of the application, besides playing the navigation voice, the non-navigation voice can be played in the navigation process, wherein the navigation voice is the voice for indicating the terminal to move, and the non-navigation voice is the voice except the navigation voice. The function of indicating the terminal to move is a navigation function, the navigation voice is a voice with the navigation function, the non-navigation voice is a voice without the navigation function, for example, the non-navigation voice is news or weather forecast recommended to the user, etc.
The user carries the terminal to move according to the navigation route, and the current position of the terminal is changed continuously in the moving process. And the terminal determines the current position through positioning, and plays the non-navigation voice distributed for the idle road section under the condition that the current position is in the idle road section.
According to the method provided by the embodiment of the application, the idle road sections where the navigation voice is not set or the road sections where the set navigation voice does not meet the target condition are considered, so that the non-navigation voice which does not need to instruct the terminal to move is played under the condition that the current position of the terminal is in the idle road sections, the voice playing form in the navigation process is enriched under the condition that the navigation is not influenced, and the information quantity of the voice playing and the flexibility of the voice playing are improved.
Fig. 3 is a flowchart of a voice playing method provided in an embodiment of the present application, illustrating a process of playing non-navigation voice in an idle section of a navigation route, where the method in the embodiment of the present application is performed by the terminal in the embodiment of fig. 1, and referring to fig. 3, the method includes:
301. The terminal acquires the navigation route.
The terminal stores an electronic map, which is a map stored digitally using computer technology. The electronic map includes location information of each location point in any one or more geographic areas, for example, each location point is a POI (Point of Interest ), and the location information of the location point includes longitude and latitude coordinates of the location point, address information of the location point, or name of the location point. For example, the location information of a certain museum includes latitude and longitude coordinates of the museum, address information "XX city XX street XX number", and name of the museum "astronomical museum".
And the terminal plans a navigation route for the user according to the starting position and the ending position set by the user, wherein the navigation route is a route from the starting position to the ending position. Wherein the navigation route includes a plurality of road segments.
In one possible implementation, the terminal displays an application interface of the electronic map, where the application interface includes an input box for a start position, an input box for a stop position, and a navigation option. The user inputs the starting position in the input box of the starting position, or defaults to the current position of the terminal in the input box of the starting position, the user inputs the ending position in the input box of the ending position, and then the navigation option is triggered. When the terminal detects the triggering operation of the navigation options, the terminal acquires the input starting position and the input ending position, and sends the navigation request carrying the starting position and the ending position to the server.
The server receives the navigation request, plans a navigation route according to the starting position, the ending position and the position point in the electronic map, sends the navigation route to the terminal, and the terminal displays the navigation route on the application interface.
Or the terminal downloads the electronic map from the server, and when the terminal acquires the input starting position and the input ending position, the terminal plans a navigation route according to the starting position, the ending position and the position point in the electronic map, and the navigation route is displayed on the application interface.
In one possible implementation, the electronic map is an electronic map that the terminal is on its own or is a third party electronic map that the terminal is installed on.
302. The terminal acquires the navigation voice and the non-navigation voice.
In the navigation process, the terminal can also provide voice playing service for the user, so that the terminal also acquires the navigation voice and the non-navigation voice corresponding to the navigation route. The navigation voice is voice for indicating the terminal to move, and the non-navigation voice is voice except the navigation voice. The navigation voice and the non-navigation voice corresponding to the navigation route refer to the navigation voice and the non-navigation voice which need to be played in the navigation route.
The function of indicating the terminal to move is a navigation function, the navigation voice is a voice with the navigation function, and the non-navigation voice is a voice without the navigation function. For example, the navigation voice is a voice indicating a moving direction of the terminal, such as "front Fang Shimi left turn" or "front left twenty meters right turn", and the like. For example, the navigation voice is a voice indicating the moving speed of the terminal, such as "speed limit 40km/h (kilometer per hour) in front" or "500 meters forward with a camera shooting intersection, please slow down" and so on. In addition, the navigation voice also comprises voice related to navigation, such as an internal road prompt, a service area prompt, a warning sign prompt or a road condition prompt. For example, the non-navigation voice is a news report, a weather report, a land report, a story report, or a music play, etc. recommended to the user, and the non-navigation voice may also be a voice recommended to the user in relation to a position in the navigation route.
The navigation voice acquired by the terminal is a navigation voice set for the navigation route, and the corresponding navigation voice is set according to the road condition of the road section in the navigation route, the road driving rule and other information. For example, a navigation voice of "forward crosswalk, please slow down" is set in a road section having crosswalk, and a navigation voice of "forward speed limit 40km/h" is set in a road section having speed limit.
In one possible implementation manner, the server stores the navigation voice and the non-navigation voice, and after planning the navigation route, the server obtains the navigation voice and the non-navigation voice corresponding to the navigation route and sends the navigation route, the navigation voice and the non-navigation voice to the terminal. In another possible implementation manner, the terminal stores the navigation voice and the non-navigation voice, and after the terminal acquires the navigation route, the terminal determines the navigation voice and the non-navigation voice corresponding to the navigation route from the stored navigation voice and non-navigation voice.
In one possible implementation, the terminal obtains voice configuration information and generates non-navigational voice whose content is related to the voice configuration information. The voice configuration information is used for configuring non-navigation voice, and comprises at least one of user identity information, characteristic information of a navigation route, current date information or current equipment type, wherein the user identity information is identity information corresponding to a user identifier of a terminal login. That is, the terminal generates non-navigation voice whose content is related to at least one of user identification information, feature information of a navigation route, current date information, or a type of current device, according to the voice configuration information.
For example, if the user's birthday is determined to be 6 months 22 days according to the user's identity information and is determined to be 6 months 22 days today according to the current date information, the content of the generated non-navigation voice may be "your birthday today, you are happy with you's birthday". For example, if it is determined that the current navigation route includes a mountain road according to the feature information of the navigation route, the content of the generated non-navigation voice may be "travel 1.8 km mountain road, please check the vehicle condition".
303. The terminal determines an idle road segment in the navigation route.
The navigation route comprises an idle road section, wherein the idle road section is a road section without navigation voice or a road section with the set navigation voice not meeting the target condition. The navigation voice is not set in a certain road section, that is, the navigation voice is not required to be played in the road section. The navigation voice set in a certain road section does not meet the target condition, namely the navigation voice meeting the target condition is not required to be played in the road section. The number of free road segments in the navigation route is 1 or more, and in the case where the navigation route includes a plurality of free road segments, there is no intersection between the respective free road segments.
In the embodiment of the application, two modes of determining the idle road sections by the terminal are adopted, wherein the first mode is to determine the road sections without the set navigation voice as the idle road sections, and the second mode is to determine the road sections with the set navigation voice which do not meet the target conditions as the idle road sections. Wherein the terminal determines free road segments in the navigation route according to at least one of the two ways. For example, if the terminal selects only the first mode to determine the free road section, the terminal determines only the road section where the navigation voice is not set as the free road section. For example, if the terminal selects only the second mode to determine the idle road section, the terminal determines only the road section where the set navigation voice does not satisfy the target condition as the idle road section. For example, if the terminal selects the mode combining the first mode and the second mode to determine the idle road section, the terminal determines the road section where the navigation voice is not set as the idle road section, and determines the road section where the set navigation voice does not meet the target condition as the idle road section.
In one possible implementation manner, the terminal determines any road section in the navigation route as an idle road section in the navigation route when the navigation voice is not set or the set navigation voice does not meet the target condition and the length of the any road section is not less than the first length.
The terminal determines a road section without setting navigation voice among a plurality of road sections of the navigation route, determines the length of the road section, and determines the road section as an idle road section in the navigation route when the length of the road section is not less than a first length. Or the terminal determines a road section of which the set navigation voice does not meet the target condition from a plurality of road sections of the navigation route, determines the length of the road section, and determines the road section as an idle road section in the navigation route under the condition that the length of the road section is not less than the first length.
In the embodiment of the application, the non-navigation voice is played in the determined idle road section later, and in order to ensure that the non-navigation voice can be successfully played in the idle road section, the length of the idle road section is required to be long enough so as to avoid the situation that the non-navigation voice is not played when the terminal moves out of the idle road section. Therefore, the terminal selects a road segment with a length greater than the first length as an idle road segment among road segments where no navigation voice is set or where the set navigation voice does not satisfy the target condition. Optionally, the first length is configured by the terminal or is configured by the server and then issued to the terminal, for example, the first length is 300 meters or the like.
In another possible implementation manner, the terminal determines any one of the road segments as an idle road segment in the navigation route when no navigation voice is set between the any one of the road segments or the set navigation voice does not meet the target condition and the time required for passing through the any one of the road segments is not less than the first time.
The terminal determines a road section without setting navigation voice in a plurality of road sections of the navigation route, determines a time length required for passing through the road section, and determines the road section as an idle road section in the navigation route under the condition that the time length is not less than a first time length. Or the terminal determines a road section of which the set navigation voice does not meet the target condition from a plurality of road sections of the navigation route, determines the time length required for passing through the road section, and determines the road section as an idle road section in the navigation route under the condition that the time length is not less than the first time length.
For example, the terminal determines a time period required for the terminal to pass through the road segment according to the current moving speed and the length of the road segment. Or the terminal requests the duration required by the road section to the server, and the server inquires the average duration required by other terminals to pass the road section according to the history record and returns the average duration to the terminal.
In the embodiment of the application, the non-navigation voice is played in the determined idle road section later, and in order to ensure that the non-navigation voice can be successfully played in the idle road section, the time required for passing through the idle road section is required to be long enough so as to avoid the situation that the non-navigation voice is not played when the terminal moves out of the idle road section. Therefore, the terminal selects the road section with the corresponding duration longer than the first duration as the idle road section in the road section without the navigation voice or the set navigation voice not meeting the target condition. Optionally, the first length is configured by the terminal or is configured by the server and then issued to the terminal, for example, the first duration is 9 seconds or the like. Alternatively, the first duration is determined according to the duration required to play the non-navigation voice, for example, the shortest duration required to play one non-navigation voice is 9 seconds, and then the first duration is set to 9 seconds.
In another possible implementation manner, the navigation route is formed by connecting a plurality of position points arranged in sequence in series, and the navigation voice is arranged at the position points in the navigation route. The terminal determines a position point without setting navigation voice in the navigation route, and determines the position point as a first position point. The terminal determines a first position point which is behind the first position point and is provided with navigation voice, determines the position point as a second position point, and determines a road section between the first position point and the second position point as an idle road section. Or the terminal determines a position point of the set navigation voice which does not meet the target condition in the navigation route, and the position point is determined as a first position point. The terminal determines a first position point, which is behind the first position point and is used for setting navigation voice to meet the target condition, determines the position point as a second position point, and determines a road section between the first position point and the second position point as an idle road section.
For example, in a case where the length of the link between the first location point and the second location point is not less than the first length, the terminal determines the link as an idle link in the navigation route. Or the terminal determines the road section as an idle road section in the navigation route when the time length required for passing the road section between the first position point and the second position point is not less than the first time length.
In another possible implementation, the navigation voices correspond to a priority, and the target condition is that the priority of the navigation voices is higher than the target priority. And the terminal determines any road section as an idle road section in the navigation route under the condition that the priority of the navigation voice set by the any road section in the navigation route is not higher than the target priority. That is, the idle road section determined by the terminal is only provided with the navigation voice with the priority no higher than the target priority, and is the navigation voice with the priority higher than the target priority.
The priority of the navigation voice can represent the importance degree of the navigation voice, and the higher the priority of the navigation voice is, the more important the navigation voice is. Considering that the navigation voice with the priority higher than the target priority is relatively important, and the navigation voice with the priority not higher than the target priority is relatively unimportant, therefore, the terminal determines the road section with the priority not higher than the target priority in the navigation route, determines the road section as an idle road section, and plays the non-navigation voice in the idle road section later, thereby improving the selection space of the idle road section, increasing the times of playing the non-navigation voice and further improving the information quantity of playing the voice in the navigation process under the condition of ensuring that the important navigation voice is not influenced.
For example, if the navigation voice includes a voice with a high priority and a voice with a medium priority, the terminal determines any one of the route sections as an idle route section in the navigation route if the priority of the navigation voice set by the any one of the route sections is not higher than the high priority.
It should be noted that, in the embodiment of the present application, only the navigation route is acquired, and the determination of the free road section in the navigation route is described as an example. In another embodiment, the terminal determines a free road segment in the navigation route in case the length of the navigation route is greater than the second length.
After the terminal acquires the navigation route, determining the length of the navigation route, so as to avoid the situation that the navigation route is too short, and the terminal does not play the navigation voice or the non-navigation voice when reaching the end position, the navigation route needs to be ensured to be long enough. The terminal determines a free road section in the navigation route in case the length of the navigation route is not less than the second length. Optionally, the second length is configured by the terminal or is configured by the server and then sent to the terminal, for example, the second length is 1 km or the like.
Accordingly, in another embodiment, the terminal need not determine an idle road segment in case the length of the navigation route is not greater than the second length, and thus need not perform the following steps 304-305 either.
304. And playing the non-navigation voice under the condition that the current position of the terminal is in an idle road section.
The user carries the terminal to move according to the navigation route, and the current position of the terminal is changed continuously in the moving process. And the terminal determines the current position through positioning, and plays the non-navigation voice distributed for the idle road section under the condition that the current position is in the idle road section.
In one possible implementation manner, in a case that the current position of the terminal is in an idle road section, broadcasting non-navigation voice includes at least one of the following:
(1) And broadcasting non-navigation voice when the current position of the terminal is in an idle road section and the grade of the idle road section belongs to a target grade.
The navigation route comprises a plurality of road sections, each road section corresponds to a respective grade, and the grades corresponding to different road sections can be the same or different. Optionally, each road in the electronic map is assigned with a respective grade, and the terminal determines the grade corresponding to the road where the road segment in the navigation route is located as the grade of the road segment. For example, roads in an electronic map are divided according to administrative areas or traffic tasks, etc. For example, roads in an electronic map may be classified into 9 ranks, and target ranks may be set to 5 ranks therein.
The terminal judges whether the grade of the idle road section is a target grade, and if the grade of the idle road section is the target grade and the current position of the terminal is in the idle road section, non-navigation voice is played. In the case that the class of the idle link is not the target class, the terminal does not play the non-navigation voice even if the current position of the terminal is in the idle link. That is, the level of the idle link is the target level, which is a precondition for playing the non-navigation voice on the idle link. By setting the target level, the terminal can control which road sections can play the non-navigation voice and which road sections cannot play the non-navigation voice, so that the flexibility of the place where the non-navigation voice is played is improved.
(2) And broadcasting non-navigation voice under the condition that the current position of the terminal is in an idle road section and the current moment belongs to a target time section.
And the terminal judges whether the current moment belongs to the target time period, and if the current moment belongs to the target time period and the current position of the terminal is in an idle road section, the non-navigation voice is played. And under the condition that the current moment does not belong to the target time period, the terminal does not play the non-navigation voice even if the current position of the terminal is in an idle road section. That is, the current time belongs to the target time period, which is a precondition for playing the non-navigation voice in the idle road section. For example, if the target time period is 14:00-18:00 and the current time is 15:00, if the current time belongs to the target time period, playing the non-navigation voice under the condition that the current position of the terminal is in an idle road section. If the current time is 9:00, the current time does not belong to the target time period, and even if the current position of the terminal is in an idle road section, the terminal does not play non-navigation voice.
By setting the target time periods, the terminal can control which time periods can play the non-navigation voice and which time periods can not play the non-navigation voice, so that the flexibility of playing the time periods of the non-navigation voice is improved.
(3) And broadcasting non-navigation voice under the condition that the initial position of the navigation route is in the first target area and the current position of the terminal is in the idle road section.
The terminal judges whether the initial position of the navigation route is in a first target area, and if the initial position of the navigation route is in the first target area and the current position of the terminal is in an idle road section, non-navigation voice is played. In the case that the starting position of the navigation route is not in the first target area, the terminal does not play the non-navigation voice even if the current position of the terminal is in the idle section. That is, the starting position of the navigation route is in the first target area, which is a precondition for playing the non-navigation voice on the idle road section.
Optionally, the first target area is configured by the terminal, or is configured by the server and then issued to the terminal. Alternatively, the first target area is configured in terms of administrative areas, e.g., the first target area is a first target city or a first target province, etc.
By setting the first target area, the terminal can control which areas of navigation routes the initial position is in to play non-navigation voice, and which areas of navigation routes the initial position is in to play non-navigation voice, so that flexibility of playing navigation routes of non-navigation voice is improved.
(4) And broadcasting non-navigation voice under the condition that the termination position of the navigation route is in the second target area and the current position of the terminal is in the idle road section.
And the terminal judges whether the termination position of the navigation route is in the second target area, and plays the non-navigation voice when the termination position of the navigation route is in the second target area and the current position of the terminal is in the idle road section. In the case where the termination position of the navigation route is not in the second target area, the terminal does not play the non-navigation voice even if the current position of the terminal is in the idle section. That is, the termination position of the navigation route is in the second target area, which is a precondition for playing the non-navigation voice on the idle road section.
Optionally, the second target area is configured by the terminal, or is configured by the server and then issued to the terminal. Optionally, the second target area is configured according to administrative areas, e.g. the second target area is a second target city or a second target province, etc.
By setting the second target area, the terminal can control which areas of the navigation route the termination position is in to play non-navigation voice, and which areas of the navigation route the termination position is in to play non-navigation voice, so that the flexibility of playing the navigation route of the non-navigation voice is improved.
(5) And broadcasting the non-navigation voice under the condition that the current position of the terminal is in an idle road section and the number of times of playing the non-navigation voice by the terminal is not more than the target number of times.
The terminal judges whether the number of times of playing the non-navigation voice is larger than the target number of times, and if the number of times of playing the non-navigation voice is not larger than the target number of times and the current position of the terminal is in an idle road section, the non-navigation voice is played. Under the condition that the number of times of playing the non-navigation voice is larger than the target number of times, the terminal does not play the non-navigation voice even if the current position of the terminal is in an idle road section. That is, the total number of times the terminal plays the non-navigation voice is not greater than the target number of times.
Optionally, the number of times that the terminal plays the non-navigation voice is the number of times that a certain non-navigation voice is played, for example, the number of times that a certain non-navigation voice is played is not greater than 1 time, and after the terminal plays the non-navigation voice for 1 time, the non-navigation voice is not played. Optionally, the number of times the terminal plays the non-navigation voice is the historical total number of times the terminal plays the non-navigation voice, the single-day historical total number of times the terminal plays the non-navigation voice, the historical total number of times the terminal plays the non-navigation voice on the navigation route, and the like.
By setting the target times, the terminal can control the times of playing the non-navigation voice, so that the flexibility of controlling the times of playing the non-navigation voice is improved, and the situation that the navigation effect is influenced due to too many times of playing the non-navigation voice in the same navigation process is avoided.
In another possible implementation, non-navigation voices that have not yet been played are stored in a voice list and arranged in order of play. The terminal responds to a playing request of the first target voice to play the first target voice, and the first non-navigation voice is deleted from the voice list under the condition that the priority of the first non-navigation voice in the voice list is lower than that of the first target voice.
The navigation voice and the non-navigation voice played in the navigation process are provided with priorities, and after the navigation route is determined, the acquired navigation voice and the non-navigation voice can be respectively arranged on different road sections in the navigation route. In the navigation process, a play request for a first target voice can be newly inserted, wherein the first target voice can be any voice, and the first target voice also has priority. The terminal responds to a playing request of the first target voice, plays the first target voice, compares the priority of the first target voice with the priority of a first non-navigation voice in a voice list, and discards the first non-navigation voice in consideration of the fact that the priority of the first non-navigation voice is lower under the condition that the priority of the first non-navigation voice is lower than the priority of the first target voice, which is equivalent to replacing the first non-navigation voice with the newly inserted first target voice, so as to control the quantity of the voice played in the navigation process.
Optionally, the terminal generates a play request for the first target voice according to the current moving condition, the road condition of the current position and the like. For example, if the current position of the terminal is in a road section with a speed limit of 40km/h and the terminal detects that the current moving speed is greater than 40km/h, a play request for a first target voice is generated, wherein the first target voice is a voice indicating that the terminal reduces the moving speed.
In another possible implementation manner, before the step 304, the terminal obtains a plurality of non-navigation voices allocated to the navigation route and the corresponding priorities, allocates different non-navigation voices corresponding to the highest priorities to at least one idle road section in the navigation route, and allocates the rest of non-navigation voices to the rest of idle road sections. That is, only the non-navigation voice corresponding to the highest priority or only the non-navigation voice corresponding to the other priorities except the highest priority is set in one free link. For the idle link with the non-navigation voice corresponding to the highest priority, no matter the play request of the voice with any priority is detected in the condition that the current position of the terminal is in the idle link, the non-navigation voice in the voice list of the idle link is not deleted, that is, the non-navigation voice set in the idle link is not replaced by any newly inserted voice.
For example, the terminal selects some idle road segments from a plurality of idle road segments in the navigation route to be configured as high-level idle road segments, and configures the rest of idle road segments as low-level idle road segments. The terminal sets only the non-navigation voice corresponding to the highest priority in the high-level idle road section, and sets only the non-navigation voice corresponding to the rest priorities except the highest priority in the low-level idle road section.
305. And the terminal responds to the non-navigation voice as the interactive voice, detects the voice and executes control operation based on the voice.
And under the condition that the non-navigation voice is interactive voice, after the terminal plays the non-navigation voice, responding to the detected voice, and executing control operation based on the voice, wherein the voice instructs the terminal to execute the control operation. Optionally, after the terminal plays the non-navigation voice, the voice detection is started, and after the voice detection is detected, the voice detection is stopped. Or after the terminal plays the non-navigation voice, starting voice detection, and closing the voice detection in response to the fact that the voice detection starting time length reaches the third time length and no voice is detected.
In one possible implementation, the terminal plays the next non-navigation voice in response to the voice command, but receives a play request for the second target voice, and plays the next non-navigation voice after playing the second target voice.
Since the next non-navigation voice is a non-navigation voice that the voice indicates to play, that is, the non-navigation voice is a non-navigation voice that the user desires to play, in this case, if a newly inserted play request for the second target voice is received, the terminal plays the second target voice and then plays the next non-navigation voice, regardless of who the priority of the second target voice is high or low with respect to the priority of the next non-navigation voice, the terminal will not delete the next non-navigation voice. That is, the home actively selects the played non-navigation voice, which is not replaced by the newly inserted voice, so as to avoid the influence of the newly inserted voice on the man-machine interaction effect.
For example, the voice is "play music", the voice indicates that the non-navigation voice is the music, and after the terminal detects the voice and before the voice is played, the terminal detects the play request for the second target voice "overspeed, please slow down", the terminal plays the second target voice "overspeed, please slow down", and then plays the music.
In another possible implementation, the voice of the person indicates to move to a first target location outside the navigation route, the terminal adds a road segment in the navigation route that moves from the current location of the terminal to the first target location, or changes the navigation route to a route that moves from the current location of the terminal to the first target location.
If the voice of the person indicates to move to the first target position and the first target position is located outside the navigation route, the navigation route is indicated to be a road section which does not move to the first target position, the terminal determines the road section of which the current position moves to the first target position, and then the road section is added in the navigation route to guide the user to move to the first target position.
For example, if the terminal detects that the first target position outside the navigation route is a gas station and the distance between the gas station and the navigation route is not greater than the target distance, the terminal may play non-navigation voice "whether to add oil along the road", and if the terminal detects that the voice of the person is "yes" or "add oil along the road" or the like indicating that the voice is moved to the gas station, the terminal adds a road section moving from the current position to the gas station in the navigation route to guide the user to move to the gas station.
For example, the first target location is a stone house, the user needs to change the ending location from Beijing to the stone house during driving, the voice of the user can be voice indicating to move to the stone house such as 'change ending point to stone house' or 'go to stone house', and the terminal changes the current navigation route to a route from the current location of the terminal to stone house.
In another possible implementation manner, the terminal runs an electronic map client, and the steps 301 to 305 are executed by the terminal based on the electronic map client, wherein a non-intelligent voice playing module and an intelligent voice playing module are embedded in the electronic map client, the non-intelligent voice playing module cannot interact with human voice, the intelligent voice playing module can interact with human voice, the navigation voice played in the embodiment of the application is played by the non-intelligent voice playing module, and the non-navigation voice played in the embodiment of the application is played by the intelligent voice playing module.
The voice interaction between the intelligent voice playing module and the user can be actively initiated by the intelligent voice playing module or by the user. Optionally, in the process that the intelligent voice playing module performs voice interaction with the user, the terminal displays an interaction window on an application interface of the electronic map. As shown in fig. 4, the nickname of the intelligent voice playing module is "jingle", the terminal displays the navigation route in the application interface 401, and when the intelligent voice playing module performs voice interaction with the user, the terminal displays an interaction window 411 in the application interface 401, and the "jingle is speaking.
It should be noted that, in the step 304, the non-navigation voice is taken as an example of the interactive voice, and the process of executing the control operation by the terminal according to the voice of the person is described. In another embodiment, where the non-navigational speech is not of the unintelligible type, the terminal does not perform step 304 described above.
In another possible implementation, the terminal runs an electronic map client, and the navigation modes of the electronic map client include a three-dimensional navigation mode, a two-dimensional navigation mode and a cruising mode. And in the cruising mode, no navigation route is set, and the current position of the terminal and the position point and the road section in the electronic map are only displayed on the application interface of the electronic map client. The voice playing method provided by the embodiment of the application is applied to a three-dimensional navigation mode and a two-dimensional navigation mode.
Taking a driving navigation scene of a user as an example, in the driving navigation process of the user, more idle road sections without playing navigation voice or playing important navigation voice appear, and the terminal can play non-navigation voice in the idle road sections according to operation configuration or automatic configuration. The content of the non-navigation voice is shown in table 1.
TABLE 1
For example, the content of non-interactive type non-navigation voice is "jingle supporting playing music", to remind the user of the new function of the electronic map client. The interactive type of non-navigation voice is "whether the latest voice package needs to be downloaded" to recommend the latest voice package to the user. For a user, the navigation experience of the user can be improved by utilizing the non-navigation voice played by the idle road section listening terminal, the interestingness in the navigation process is increased, and the use viscosity of the user is increased.
According to the method provided by the embodiment of the application, the idle road sections where the navigation voice is not set or the road sections where the set navigation voice does not meet the target condition are considered, so that the non-navigation voice which does not need to instruct the terminal to move is played under the condition that the current position of the terminal is in the idle road sections, the voice playing form in the navigation process is enriched under the condition that the navigation is not influenced, and the information quantity of the voice playing and the flexibility of the voice playing are improved.
And the length of the idle road section is not less than the first length, or the time required for passing through the idle road section is not less than the first time, so that the situation that the non-navigation voice is not played when the terminal moves out of the idle road section is avoided, and the successful playing of the complete non-navigation voice in the idle road section can be ensured.
And determining the road section which is not provided with the navigation voice with the priority higher than the target priority as an idle road section so as to play the non-navigation voice in the idle road section later, thereby improving the selection space of the idle road section, increasing the times of playing the non-navigation voice and further improving the information quantity of playing the voice in the navigation process under the condition of ensuring that playing of important navigation voice is not influenced.
The embodiment of fig. 3 described above provides a process for playing non-navigation speech on an idle road segment. In addition, it is also possible to determine where to play non-navigation voice according to a specific location, and referring to fig. 5, fig. 5 is a flowchart of a voice playing method according to an embodiment of the present application, where the method according to the embodiment of the present application is performed by the terminal in the embodiment of fig. 1, and the method includes:
501. The terminal acquires the navigation route.
The step 501 is the same as the step 301, and will not be described in detail here.
502. The terminal determines a second target location among the plurality of locations in the navigation route.
The navigation route is formed by sequentially connecting a plurality of positions in series, and the terminal determines a second target position in the plurality of positions. Any one of the plurality of positions can be determined as the second target position, and in particular, which position is determined as the second target position, can be configured by the terminal itself or by a server providing services for the terminal, and then the configured second target position is issued to the terminal by the server.
For example, the second target location is a starting location, an ending location, a location of a store, or a location of a gas station in the navigation route, which is not limited in the embodiment of the present application.
503. And the terminal determines the route which is positioned in the geographical area to which the second target position belongs in the navigation route as a target road section.
And the terminal determines the geographical area to which the second target position belongs, and determines the route in the geographical area in the navigation route as a target road section.
The terminal may determine the geographic area to which the second target location belongs in any manner. Optionally, the terminal determines a circular area with the second target position as a center and the third length as a radius, determines the circular area as a geographical area to which the second target position belongs, or determines an area with a distance from the second target position in the navigation route not greater than the third length as a geographical area to which the second target position belongs. For example, the third length is 5 meters, etc. Optionally, the terminal determines the street to which the second target location belongs as the geographic area, or determines the community to which the second target location belongs as the geographic area.
504. And the terminal plays the non-navigation voice related to the second target position according to the target road section in the navigation route.
After the terminal determines the target road section in the navigation route, playing the non-navigation voice related to the second target position according to the target road section in the navigation route.
Wherein, the non-navigation voice related to the second target position means that the content of the non-navigation voice is related to the second target position. For example, the second target location is a gas station and the non-navigational speech is "whether to add oil along the road" thereby alerting the user to refuel. For example, the second target location is a store, the non-navigational speech is "there is a full 50-element activity in front of the store, inviting you to join" to remind the user to go to store for shopping. For example, the second target location is Guangzhou, and the non-navigational speech is "Guangzhou traffic police reminds you, please tie a seat belt" to alert the user to reach Guangzhou.
According to the target road section in the navigation route, playing the non-navigation voice related to the second target position, which comprises the following two modes.
In the first way, non-navigation voice with content related to the second target position is played under the condition that the current position of the terminal is in the target road section.
The user carries the terminal to move according to the navigation route, and the current position of the terminal is changed continuously in the moving process. And the terminal determines the current position through positioning, and plays non-navigation voice of which the content is related to the second target position under the condition that the current position is positioned on the target road section.
In the second way, when the current position of the terminal is in the geographic area corresponding to the target road section, non-navigation voice with the content related to the second target position is played.
The user carries the terminal to move according to the navigation route, and the current position of the terminal is changed continuously in the moving process. And the terminal determines the current position through positioning, and plays non-navigation voice of which the content is related to the second target position under the condition that the current position is in a geographic area corresponding to the target road section.
The terminal can determine the geographic area corresponding to the target road section in any mode. Optionally, the terminal determines a third location point before the target road segment in the navigation route, where the distance between the third location point and the start point of the target road segment is the first distance, and a fourth location point, where the distance between the third location point and the fourth location point is the second distance, and determines the road segment between the third location point and the fourth location point as the geographic area corresponding to the determined target road segment. The geographical area may be referred to as a playing interval of non-navigation voice, for example, the playing interval is [50 meters, 2 kilometers ], as shown in fig. 6, a road segment between a point C and a point D in the navigation route is a target road segment, a point B, which is located before the point C and is 50 meters away from the point C, in the navigation route is determined, a point a, which is located before the point C and is located 2 kilometers away from the point C, in the navigation route is determined, and the road segment between the point a and the point B is the geographical area corresponding to the target road segment. In addition, the playing interval may be set to be [50 meters, 800 meters ] or [0 meters, 300 meters ], which is not limited in the embodiment of the present application. Optionally, the terminal may further determine a street to which the target road segment belongs as a geographic area corresponding to the target road segment, or determine a community to which the target road segment belongs as a geographic area corresponding to the target road segment.
Taking a scene of driving navigation of a user as an example, configuring a plurality of target road sections in the driving navigation process of the user, and playing corresponding non-navigation voice in a geographic area corresponding to the target road sections by the terminal according to operation configuration or automatic configuration. The content of the non-navigation voice is shown in table 2.
TABLE 2
For example, the second target location is Guangzhou and the corresponding non-navigational speech is "Guangzhou traffic police reminds you, please tie the seat belt. For example, the second target location is a store and the corresponding non-navigational speech is "store with full 50-member activity inviting you to a couple". For example, the second target location is a gas station, the corresponding non-navigation voice is "500 meters ahead passes through the gas station, the electronic map client is used to add oil to the shared vertical minus 200 yuan activity, as shown in fig. 7, during the process of playing the non-navigation voice, the terminal displays" you can say, "add oil to the direct road" in the interaction window 711 of the application interface 701, so as to guide the user to perform voice interaction. For example, the second target location is the scenic spot west Bei You area village, the corresponding non-navigation voice is "the front 500 m road is passing the west Bei You area village, whether the user needs to go to the west Bei You area village", as shown in fig. 8, in the process of playing the non-navigation voice, the terminal displays "you can say to go to the west Bei You area village" in the interaction window 811 of the application interface 801, so as to guide the user to perform voice interaction.
According to the method provided by the embodiment of the application, aiming at the target road section where the second target position is located, under the condition that the current position of the terminal is located in the geographic area corresponding to the target road section, the non-navigation voice related to the second target position is played, so that customized non-navigation voice is set for certain positions in the navigation route, the accurate delivery of the non-navigation voice is realized, the voice playing mode in the navigation process is enriched, and the information quantity of voice playing and the flexibility of voice playing are improved.
The embodiment of fig. 5 described above provides a process for playing non-navigational speech according to a specific location. In addition, non-navigation voice can be played on the congested road section, and referring to fig. 9, fig. 9 is a flowchart of a voice playing method according to an embodiment of the present application. The method according to the embodiment of the present application is performed by the terminal in the embodiment of fig. 1, and includes:
901. the terminal acquires the navigation route.
The step 901 is the same as the step 301, and will not be described in detail here.
902. The terminal determines a congested road segment in the navigation route.
The terminal determines a congested link in the navigation links. The congested link refers to a link with a large traffic flow. Optionally, during driving navigation, the terminal determines a traffic flow in a certain road section, and in case the traffic flow is greater than the target traffic flow, the road section is determined as a congested road section. Or the terminal determines the average vehicle speed in a certain road section, and determines the road section as a congestion road section under the condition that the average vehicle speed is smaller than the target vehicle speed.
903. And broadcasting non-navigation voice at the congested road section by the terminal.
The user carries the terminal to move according to the navigation route, and the current position of the terminal is changed continuously in the moving process. The terminal determines the current position through positioning, and plays non-navigation voice under the condition that the current position is in a congestion road section.
Wherein, playing non-navigation voice on the congested road section includes the following two cases.
In the first case, when the current position of the terminal is in a congested road section and the length of the congested road section is greater than the third length, non-navigation voice is broadcasted.
In order to ensure that the non-navigation voice can be successfully played in the congested road section, the length of the congested road section is required to be long enough to avoid the situation that the non-navigation voice is not played when the terminal moves out of the congested road section. Therefore, when the current position of the terminal is in the congested road section and the length of the congested road section is greater than the third length, the non-navigation voice is broadcasted.
In the second case, when the current position of the terminal is in the congested road section and the time required for the terminal to pass through the congested road section is longer than the second time, non-navigation voice is broadcasted.
For example, the terminal determines a time period required for the terminal to pass through the congested road segment according to an average moving speed in the congested road segment and a length of the congested road segment. In the embodiment of the application, in order to ensure that the non-navigation voice can be successfully played in the congested road section, the time required for passing through the congested road section is required to be long enough so as to avoid the situation that the non-navigation voice is not played when the terminal moves out of the congested road section. Therefore, when the current position of the terminal is in the congested road section and the time required for the terminal to pass through the congested road section is longer than the second time, non-navigation voice is broadcasted.
According to the method provided by the embodiment of the application, aiming at the congestion road section with the length longer than the third length or the congestion road section with the required length longer than the second length, non-navigation voice is played under the condition that the current position of the terminal is in the congestion road section, the playing scene of the non-navigation voice is further expanded, the voice playing mode in the navigation process is enriched, and the information quantity of voice playing and the flexibility of voice playing are improved.
In some embodiments, in the embodiments corresponding to fig. 3, fig. 5, and fig. 9, the configuration files required for playing the voice in the navigation process may be configured in the configuration device and then sent to the terminal. Fig. 10 is a system architecture diagram provided in an embodiment of the present application, as shown in fig. 10, a configuration device includes a target link storage module 1001, a configuration module 1002, and a playing opportunity determining module 1003, an operator generates a configuration file by using the configuration module 1002, the configuration device stores a target link in the configuration file in the target link storage module 1001, the playing opportunity determining module 1003 is used for determining playing opportunities of navigation voice and non-navigation voice, and the configuration device notifies the terminal of the playing opportunity. The terminal includes a navigation route planning module 1004, a navigation module 1005, a navigation route display module 1006, and a voice playback module 1007. The navigation route planning module 1004 is used for planning a navigation route, the navigation module 1005 is used for navigating according to the navigation route, the navigation route display module 1006 is used for displaying the navigation route, and the voice playing module 1007 is used for playing the navigation voice and the non-navigation voice.
For example, the configuration file includes at least one of:
(1) Name of non-navigation voice;
(2) A description of non-navigational speech;
(3) Whether the non-navigational speech is in effect;
(4) Equipment in which non-navigation voice is effective, such as a client, an open platform, a vehicle-mounted terminal and the like in a mobile phone;
(5) A client version in which the non-navigational speech is validated;
(6) An inducer version in which non-navigation speech is validated, the inducer being an engine for determining playback opportunities;
(7) The downloading channel which is validated by the non-navigation voice is the downloading channel of the client;
(8) The effective date of the non-navigation voice refers to the date of starting to take effect;
(9) The gray scale of non-navigation voice effect is the proportion occupied by the user hitting the voice playing strategy;
(10) Validation Imei of non-navigational speech (International Mobile Equipment Identity );
(11) A starting point city for non-navigation voice to take effect, wherein the starting point city is a city where the starting position of the navigation route is;
(12) A destination city in which non-navigation voice is effective, the destination city being a city in which a termination position of a guidance route is located;
(13) The method comprises the steps that target times of non-navigation voice effectiveness are achieved, each terminal corresponds to an order table, the order table comprises historical times of playing the non-navigation voice by the terminal and target times allowed by playing the non-navigation voice, and after each terminal is successfully played, the order table is updated;
(14) A target period of non-navigational speech validation;
(15) And determining the second target position and the geographic area of the second target position in the electronic map as the target road section. Wherein the target road section is updated according to the target period;
(16) The priorities corresponding to the navigation voice and the non-navigation voice comprise a high priority, a medium priority and a low priority, the navigation voice is set to be the high priority or the medium priority, and the non-navigation voice is set to be the low priority;
(17) Priority of voice playback. For example, the priority of voice playing is high priority, only voice with high priority is played in the navigation process, for example, the priority of voice playing is medium priority, voice with no lower than medium priority is played in the navigation process, for example, the priority of voice playing is low priority, voice with no lower than low priority is played in the navigation process;
(18) A playing interval of non-navigation voice;
(19) And the grade corresponding to the road section with non-navigation voice effective.
In the embodiments corresponding to fig. 3, 5 and 9, the procedure of playing the non-navigation voice is described in the case of the idle road segment, the geographical area corresponding to the target road segment and the congested road segment. In the above three cases, the scenes for playing the non-navigation voice include a plurality of types. In different scenarios, the content of the non-navigation voice is also different, and in one possible implementation manner, the content of the non-navigation voice is related to at least one of user identity information, characteristic information of a navigation route, current date information or type of current equipment, wherein the user identity information is identity information corresponding to a user identifier of a terminal login.
For example, the scene of the non-navigation voice is played, and the content of the non-navigation voice includes at least one of:
(1) In the case that the current position of the terminal is in the city where the starting position is, for example, the played non-navigation voice is "Guangdong traffic police prompts you, please tie up a safety belt";
(2) In the case where the navigation route includes a mountain road, for example, the played non-navigation voice is "travel 1.8 km mountain road, please check the vehicle condition";
(3) In the case that the end position of the navigation route is determined to be the address of the user according to the navigation route and the user identity information, for example, the played non-navigation voice is "quick home bar";
(4) In the case where the second target location in the navigation route is a store, for example, the played non-navigation voice is "the store in front currently has 50-member-to-50-member activity;
(5) In the case that the current date information and the user identity information are used for determining that the current date information is the birthday of the user, for example, the played non-navigation voice is' your birthday today, you are happy;
(6) In the case of determining that today is a weekend and the ending location of the navigation route is the user's company, for example, the played non-navigation voice is "week end still on duty, hard";
(7) In case the current location of the terminal is in a certain city, for example, the played non-navigation voice is "welcome to the city of north sea";
(8) In the case where there is a school in the front target section, for example, the non-navigation voice played is "front school is under college entrance, do not whistle";
(9) In the case that a bifurcation exists in a front target road section, for example, the played non-navigation voice is a front bifurcation, and both sides can pass;
(10) In the case that the current location is in a congested road section, for example, the played non-navigation voice is "congestion ahead 5.8 km, the traffic is expected to be 15 minutes, and the user needs to be bitten when speaking a joke;
(11) In the case where the current position is in an idle road section, for example, the played non-navigation voice is "continue to travel 15 km along the current road, need to be jingled with you speaking a joke";
(12) In the case where a scenic spot exists on a target road section in front, for example, the played non-navigation voice is "the right side in front will pass through the temple scenic spot";
(13) In the case where the current location is in the geographical area to which the end location belongs, for example, the played non-navigation voice is "to home, is hard for one day";
(14) In the case where the termination location belongs to a attraction, for example, the played non-navigation voice is "can attempt to view a attraction guide in the map".
Fig. 11 is a schematic structural diagram of a voice playing device according to an embodiment of the present application, referring to fig. 11, the device includes:
The route obtaining module 1101 is configured to obtain a navigation route, where the navigation route includes an idle road segment, and the idle road segment is a road segment where no navigation voice is set or a road segment where the set navigation voice does not meet a target condition;
the first playing module 1102 is configured to play non-navigation voice when the current position of the terminal is in an idle road section;
the navigation voice is voice for indicating the terminal to move, and the non-navigation voice is voice except the navigation voice.
According to the voice playing device provided by the embodiment of the application, the idle road sections where the navigation voice is not set or the road sections where the set navigation voice does not meet the target conditions are considered, so that the non-navigation voice which does not need to instruct the terminal to move is played under the condition that the current position of the terminal is in the idle road sections, the voice playing mode in the navigation process is enriched under the condition that the navigation is not influenced, and the information quantity of voice playing and the flexibility of voice playing are improved.
Optionally, referring to fig. 12, the apparatus further includes:
The idle road section determining module 1103 is configured to determine any road section as an idle road section in the navigation route if the priority of the navigation voice set by any road section in the navigation route is not higher than the target priority.
Optionally, referring to fig. 12, the apparatus further includes:
The idle road section determining module 1103 is configured to determine any road section as an idle road section in the navigation route when no navigation voice is set on any road section in the navigation route or the set navigation voice does not meet the target condition, and the length of any road section is not less than the first length.
Optionally, referring to fig. 12, the apparatus further includes:
the idle road section determining module 1103 is configured to determine any road section as an idle road section in the navigation route when no navigation voice is set between any road section in the navigation route or the set navigation voice does not meet the target condition, and the time required for passing through any road section is not less than the first time.
Optionally, the apparatus further comprises:
A configuration information obtaining module 1104, configured to obtain voice configuration information, where the voice configuration information includes at least one of user identity information, feature information of the navigation route, current date information, or a type of current device, and the user identity information is identity information corresponding to a user identifier logged in by the terminal;
a non-navigation voice generating module 1105, configured to generate the non-navigation voice whose content is related to the voice configuration information.
Optionally, referring to fig. 12, the apparatus further includes:
A voice acquisition module 1106, configured to acquire a plurality of non-navigation voices allocated to the navigation route and corresponding priorities;
a voice allocation module 1107, configured to allocate different non-navigation voices corresponding to the highest priority to at least one free road section in the navigation route;
the voice allocation module 1107 is further configured to allocate the rest of the non-navigation voice to the rest of the idle road segments.
Optionally, referring to fig. 12, the first playing module 1102 is configured to perform at least one of the following:
The road sections in the navigation route have corresponding grades, and when the current position of the terminal is in an idle road section and the grade of the idle road section belongs to a target grade, non-navigation voice is broadcasted;
broadcasting non-navigation voice under the condition that the current position of the terminal is in an idle road section and the current moment belongs to a target time section;
Broadcasting non-navigation voice under the condition that the initial position of the navigation route is in a first target area and the current position of the terminal is in an idle road section;
broadcasting non-navigation voice under the condition that the termination position of the navigation route is in a second target area and the current position of the terminal is in an idle road section;
And broadcasting the non-navigation voice under the condition that the current position of the terminal is in an idle road section and the number of times of playing the non-navigation voice by the terminal is not more than the target number of times.
Optionally, referring to fig. 12, the navigation route includes a target road segment, the target road segment includes a second target location, and the apparatus further includes:
A second playing module 1108 for playing non-navigation voice with content related to the second target position under the condition that the current position of the terminal is in the target road section, or
The second playing module 1108 is further configured to play non-navigation voice related to the second target location when the current location of the terminal is in the geographic area corresponding to the target road segment.
Optionally, referring to fig. 12, the apparatus further includes:
A position determination module 1109 for determining a second target position among a plurality of positions in the navigation route;
the target road segment determining module 1110 is configured to determine, as the target road segment, a route located in the geographic area to which the second target location belongs in the navigation route.
Optionally, referring to fig. 12, non-navigation voices which are not yet played are stored in a voice list and arranged according to the playing order, the device further comprises:
A third playing module 1111, configured to respond to a playing request for the first target voice, and play the first target voice;
the voice deleting module 1112 is configured to delete the first non-navigation voice from the voice list if the first non-navigation voice in the voice list has a priority lower than the first target voice.
Optionally, referring to fig. 12, the apparatus further includes:
The operation execution module 1113 is configured to detect voice of a human voice in response to the non-navigation voice being an interactive type voice, and execute a control operation based on the voice of the human voice.
Alternatively, referring to fig. 12, the operation execution module 1113 includes:
The voice playing unit 11131 is configured to play the next non-navigation voice in response to the voice command, but receive a play request for the second target voice, and play the next non-navigation voice after playing the second target voice.
Alternatively, referring to fig. 12, the operation execution module 1113 includes:
The route determination unit 11132 is configured to instruct movement to a first target position located outside the navigation route by voice of a person, add a link to the navigation route that moves from the current position of the terminal to the first target position, or change the navigation route to a route that moves from the current position of the terminal to the first target position.
Optionally, referring to fig. 12, the apparatus further includes:
The free road segment determining module 1103 is configured to determine a free road segment in the navigation route if the length of the navigation route is greater than the second length.
Optionally, referring to fig. 12, the apparatus further includes:
a congestion segment determination module 1114 for determining a congestion segment in the navigation route;
A fourth playing module 1115, configured to play a non-navigation voice when the current position of the terminal is at a congested road segment and the length of the congested road segment is greater than the third length, or
And a fourth playing module 1115, configured to play a non-navigation voice when the current position of the terminal is at the congested road section and the time required for the terminal to pass through the congested road section is longer than the second time.
It should be noted that, when playing the voice, the voice playing device provided in the above embodiment only uses the division of the above functional modules to illustrate, in practical application, the above functional allocation may be completed by different functional modules according to the need, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the voice playing device and the voice playing method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
The embodiment of the application also provides a terminal, which comprises a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to realize the operations executed in the voice playing method of the embodiment.
Fig. 13 illustrates a schematic structure of a terminal 1300 according to an exemplary embodiment of the present application.
Terminal 1300 includes a processor 1301 and a memory 1302.
Processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. Processor 1301 may be implemented in at least one hardware form of DSP (DIGITAL SIGNAL Processing), FPGA (Field Programmable GATE ARRAY ), PLA (Programmable Logic Array, programmable logic array). Processor 1301 may also include a main processor, which is a processor for processing data in a wake-up state, also referred to as a CPU (Central Processing Unit ), and a coprocessor, which is a low-power processor for processing data in a standby state. In some embodiments, processor 1301 may integrate a GPU (Graphics Processing Unit, an image processing interactor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, processor 1301 may also include an AI (ARTIFICIAL INTELLIGENCE ) processor for processing computing operations related to machine learning.
Memory 1302 may include one or more computer-readable storage media, which may be non-transitory. Memory 1302 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1302 is used to store at least one computer program for execution by processor 1301 to implement the voice playback method provided by the method embodiments of the present application.
In some embodiments, terminal 1300 may also optionally include a peripheral interface 1303 and at least one peripheral. The processor 1301, the memory 1302, and the peripheral interface 1303 may be connected by a bus or signal lines. The respective peripheral devices may be connected to the peripheral device interface 1303 through a bus, a signal line, or a circuit board. Optionally, the peripheral devices include at least one of radio frequency circuitry 1304, a display screen 1305, a camera assembly 1306, and audio circuitry 1307.
A peripheral interface 1303 may be used to connect I/O (Input/Output) related at least one peripheral to the processor 1301 and the memory 1302. In some embodiments, processor 1301, memory 1302, and peripheral interface 1303 are integrated on the same chip or circuit board, and in some other embodiments, either or both of processor 1301, memory 1302, and peripheral interface 1303 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1304 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1304 converts an electrical signal to an electromagnetic signal for transmission, or converts a received electromagnetic signal to an electrical signal. Optionally, the radio frequency circuit 1304 includes an antenna system, an RF transceiver, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuit 1304 may communicate with other devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to, metropolitan area networks, generation-by-generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (WIRELESS FIDELITY ) networks. In some embodiments, the radio frequency circuit 1304 may further include NFC (NEAR FIELD Communication) related circuits, which is not limited by the present application.
The display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 1305 is a touch display, the display 1305 also has the ability to capture touch signals at or above the surface of the display 1305. The touch signal may be input to the processor 1301 as a control signal for processing. At this point, the display 1305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1305 may be one and disposed on the front panel of the terminal 1300, in other embodiments, the display 1305 may be at least two and disposed on different surfaces or in a folded configuration of the terminal 1300, respectively, and in other embodiments, the display 1305 may be a flexible display disposed on a curved surface or a folded surface of the terminal 1300. Even more, the display screen 1305 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The display screen 1305 may be made of LCD (Liquid CRYSTAL DISPLAY), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 1306 is used to capture images or video. Optionally, camera assembly 1306 includes a front camera and a rear camera. The front camera is disposed on the front panel of the terminal 1300, and the rear camera is disposed on the rear surface of the terminal 1300. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 1306 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuit 1307 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 1301 for processing, or inputting the electric signals to the radio frequency circuit 1304 for voice communication. For purposes of stereo acquisition or noise reduction, a plurality of microphones may be provided at different portions of the terminal 1300, respectively. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is then used to convert electrical signals from the processor 1301 or the radio frequency circuit 1304 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuit 1307 may also comprise a headphone jack.
In some embodiments, terminal 1300 also includes one or more sensors 1309. The one or more sensors 1309 include, but are not limited to, an acceleration sensor 1310 and a gyro sensor 1311.
The acceleration sensor 1310 may detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 1300. For example, the acceleration sensor 1310 may be used to detect components of gravitational acceleration in three coordinate axes. Processor 1301 may control display screen 1305 to display a user interface in either a landscape view or a portrait view based on the gravitational acceleration signal acquired by acceleration sensor 1310. Acceleration sensor 1310 may also be used for the acquisition of motion data for games or users.
The gyro sensor 1311 may detect a body direction and a rotation angle of the terminal 1300, and the gyro sensor 1311 may collect a 3D motion of the user to the terminal 1300 in cooperation with the acceleration sensor 1310. Based on the data collected by gyro sensor 1311, processor 1301 can realize functions such as motion sensing (e.g., changing a UI according to a tilting operation by a user), image stabilization at photographing, game control, and inertial navigation.
Those skilled in the art will appreciate that the structure shown in fig. 13 is not limiting of terminal 1300 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
The embodiment of the application also provides a computer readable storage medium, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor, so as to implement the operations performed in the voice playing method of the above embodiment.
The embodiment of the present application also provides a computer program product or a computer program, where the computer program product or the computer program includes computer program code, the computer program code is stored in a computer readable storage medium, and a processor of the terminal reads the computer program code from the computer readable storage medium, and the processor executes the computer program code, so that the terminal implements the operations performed in the voice playing method of the above embodiment. In some embodiments, the computer program according to the embodiments of the present application may be deployed to be executed on one terminal, or executed on multiple terminals located at one site, or executed on multiple terminals distributed at multiple sites and interconnected by a communication network, where the multiple terminals distributed at multiple sites and interconnected by a communication network may constitute a blockchain system.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the embodiments of the application is merely illustrative of the principles of the embodiments of the present application, and various modifications, equivalents, improvements, etc. may be made without departing from the spirit and principles of the embodiments of the application.

Claims (31)

1. A method of playing speech, the method comprising:
acquiring a navigation route, wherein the navigation route comprises an idle road section, and the idle road section is a road section without navigation voice or a road section with the set navigation voice not meeting a target condition;
acquiring a plurality of non-navigation voices distributed for the navigation route and corresponding priorities;
The non-navigation voices corresponding to the highest priority are distributed to at least one idle road section in the navigation route, and the rest non-navigation voices are distributed to the rest idle road sections;
playing the non-navigation voice under the condition that the current position of the terminal is in the idle road section;
the navigation voice is voice for indicating the terminal to move, and the non-navigation voice is voice except the navigation voice.
2. The method of claim 1, wherein the navigation voices correspond to priorities, and wherein the method further comprises, before playing the non-navigation voices if the current location of the terminal is in the idle road segment:
And determining any road section as the idle road section in the navigation route under the condition that the priority of the navigation voice set by the any road section in the navigation route is not higher than the target priority.
3. The method of claim 1, wherein the method further comprises, prior to playing the non-navigational speech if the current location of the terminal is in the idle segment:
And determining any road section as the idle road section in the navigation route under the condition that the navigation voice is not set or the set navigation voice does not meet the target condition and the length of the any road section is not smaller than a first length.
4. The method of claim 1, wherein the method further comprises, prior to playing the non-navigational speech if the current location of the terminal is in the idle segment:
And determining any road section as the idle road section in the navigation route under the condition that the navigation voice is not set between any road section in the navigation route or the set navigation voice does not meet the target condition and the time required for passing through any road section is not less than a first time length.
5. The method of claim 1, wherein the method further comprises, prior to playing the non-navigational speech if the current location of the terminal is in the idle segment:
acquiring voice configuration information, wherein the voice configuration information comprises at least one of user identity information, characteristic information of the navigation route, current date information or current equipment type, and the user identity information is identity information corresponding to a user identifier logged in by the terminal;
Generating the non-navigation voice with content related to the voice configuration information.
6. The method of claim 1, wherein the non-navigational speech is reported if the current location of the terminal is in the idle segment, comprising at least one of:
The road sections in the navigation route have corresponding grades, and the non-navigation voice is broadcasted when the current position of the terminal is in the idle road section and the grade of the idle road section belongs to a target grade;
broadcasting the non-navigation voice when the current position of the terminal is in the idle road section and the current moment belongs to a target time section;
broadcasting the non-navigation voice when the initial position of the navigation route is in a first target area and the current position of the terminal is in the idle road section;
broadcasting the non-navigation voice when the termination position of the navigation route is in a second target area and the current position of the terminal is in the idle road section;
And broadcasting the non-navigation voice under the condition that the current position of the terminal is in the idle road section and the number of times of playing the non-navigation voice by the terminal is not more than the target number of times.
7. The method of claim 1, wherein the navigation route comprises a target segment, the target segment comprising a second target location, the method further comprising:
Playing the non-navigation voice with content related to the second target position under the condition that the current position of the terminal is in the target road section, or
And playing the non-navigation voice with the content related to the second target position under the condition that the current position of the terminal is in the geographical area corresponding to the target road section.
8. The method of claim 7, wherein prior to playing the non-navigational speech associated with the second target location, the method further comprises:
determining the second target location among a plurality of locations in the navigation route;
And determining a route which is positioned in the geographical area to which the second target position belongs in the navigation route as the target road section.
9. The method of claim 1, wherein the non-navigational voices that have not been played are stored in a voice list and are arranged in a play order, the method further comprising:
responding to a playing request of a first target voice, and playing the first target voice;
And deleting the first non-navigation voice from the voice list under the condition that the priority of the first non-navigation voice in the voice list is lower than that of the first target voice.
10. The method of claim 1, wherein after broadcasting the non-navigation voice if the current location of the terminal is in the idle segment, the method further comprises:
and responding to the non-navigation voice as the interactive voice, detecting the voice, and executing control operation based on the voice.
11. The method of claim 10, wherein the performing a control operation based on the human voice comprises:
and responding to the voice instruction to play the next non-navigation voice, but receiving a play request of a second target voice, and playing the next non-navigation voice after playing the second target voice.
12. The method of claim 10, wherein the performing a control operation based on the human voice comprises:
The voice of man indicates to move to a first target position outside the navigation route, adds a road section moving from the current position of the terminal to the first target position in the navigation route, or changes the navigation route to a route moving from the current position to the first target position.
13. The method of claim 1, wherein the method further comprises, prior to playing the non-navigational speech if the current location of the terminal is in the idle segment:
And determining the idle road section in the navigation route in the case that the length of the navigation route is greater than a second length.
14. The method according to claim 1, wherein the method further comprises:
Determining a congested road segment in the navigation route;
Broadcasting the non-navigation voice when the current position of the terminal is at the congestion road section and the length of the congestion road section is greater than a third length, or
And broadcasting the non-navigation voice when the current position of the terminal is in the congestion road section and the time required by the terminal to pass through the congestion road section is longer than the second time.
15. A voice playing device, the device comprising:
The route acquisition module is used for acquiring a navigation route, wherein the navigation route comprises an idle road section, and the idle road section is a road section without navigation voice or a road section with the set navigation voice not meeting a target condition;
the voice acquisition module is used for acquiring a plurality of non-navigation voices distributed for the navigation route and corresponding priorities;
The voice distribution module is used for distributing different non-navigation voices corresponding to the highest priority to at least one idle road section in the navigation route, and distributing the rest non-navigation voices to the rest idle road sections;
the first playing module is used for playing the non-navigation voice under the condition that the current position of the terminal is in the idle road section;
the navigation voice is voice for indicating the terminal to move, and the non-navigation voice is voice except the navigation voice.
16. The apparatus of claim 15, wherein the navigation voices correspond to priorities, and wherein the apparatus further comprises, prior to playing the non-navigation voices if a current location of the terminal is in the idle road segment:
And determining any road section as the idle road section in the navigation route under the condition that the priority of the navigation voice set by the any road section in the navigation route is not higher than the target priority.
17. The apparatus of claim 15, wherein the apparatus further comprises, prior to playing the non-navigational speech if the current location of the terminal is in the idle segment:
And determining any road section as the idle road section in the navigation route under the condition that the navigation voice is not set or the set navigation voice does not meet the target condition and the length of the any road section is not smaller than a first length.
18. The apparatus of claim 15, wherein the apparatus further comprises, prior to playing the non-navigational speech if the current location of the terminal is in the idle segment:
And determining any road section as the idle road section in the navigation route under the condition that the navigation voice is not set between any road section in the navigation route or the set navigation voice does not meet the target condition and the time required for passing through any road section is not less than a first time length.
19. The apparatus of claim 15, wherein the apparatus further comprises, prior to playing the non-navigational speech if the current location of the terminal is in the idle segment:
acquiring voice configuration information, wherein the voice configuration information comprises at least one of user identity information, characteristic information of the navigation route, current date information or current equipment type, and the user identity information is identity information corresponding to a user identifier logged in by the terminal;
Generating the non-navigation voice with content related to the voice configuration information.
20. The apparatus of claim 15, wherein the non-navigational speech is reported if the current location of the terminal is in the idle segment, comprising at least one of:
The road sections in the navigation route have corresponding grades, and the non-navigation voice is broadcasted when the current position of the terminal is in the idle road section and the grade of the idle road section belongs to a target grade;
broadcasting the non-navigation voice when the current position of the terminal is in the idle road section and the current moment belongs to a target time section;
broadcasting the non-navigation voice when the initial position of the navigation route is in a first target area and the current position of the terminal is in the idle road section;
broadcasting the non-navigation voice when the termination position of the navigation route is in a second target area and the current position of the terminal is in the idle road section;
And broadcasting the non-navigation voice under the condition that the current position of the terminal is in the idle road section and the number of times of playing the non-navigation voice by the terminal is not more than the target number of times.
21. The apparatus of claim 15, wherein the navigation route comprises a target segment, the target segment comprising a second target location, the apparatus further comprising:
Playing the non-navigation voice with content related to the second target position under the condition that the current position of the terminal is in the target road section, or
And playing the non-navigation voice with the content related to the second target position under the condition that the current position of the terminal is in the geographical area corresponding to the target road section.
22. The apparatus of claim 21, wherein prior to the non-navigational speech associated with the second target location by the play content, the apparatus further comprises:
determining the second target location among a plurality of locations in the navigation route;
And determining a route which is positioned in the geographical area to which the second target position belongs in the navigation route as the target road section.
23. The apparatus of claim 15, wherein the non-navigational voices that have not been played are stored in a voice list and are arranged in a play order, the apparatus further comprising:
responding to a playing request of a first target voice, and playing the first target voice;
And deleting the first non-navigation voice from the voice list under the condition that the priority of the first non-navigation voice in the voice list is lower than that of the first target voice.
24. The apparatus of claim 15, wherein the apparatus further comprises, after broadcasting the non-navigational speech if the current location of the terminal is in the idle segment:
and responding to the non-navigation voice as the interactive voice, detecting the voice, and executing control operation based on the voice.
25. The apparatus of claim 24, wherein the performing a control operation based on the human voice comprises:
and responding to the voice instruction to play the next non-navigation voice, but receiving a play request of a second target voice, and playing the next non-navigation voice after playing the second target voice.
26. The apparatus of claim 24, wherein the performing a control operation based on the human voice comprises:
The voice of man indicates to move to a first target position outside the navigation route, adds a road section moving from the current position of the terminal to the first target position in the navigation route, or changes the navigation route to a route moving from the current position to the first target position.
27. The apparatus of claim 15, wherein the apparatus further comprises, prior to playing the non-navigational speech if the current location of the terminal is in the idle segment:
And determining the idle road section in the navigation route in the case that the length of the navigation route is greater than a second length.
28. The apparatus of claim 15, wherein the apparatus further comprises:
Determining a congested road segment in the navigation route;
Broadcasting the non-navigation voice when the current position of the terminal is at the congestion road section and the length of the congestion road section is greater than a third length, or
And broadcasting the non-navigation voice when the current position of the terminal is in the congestion road section and the time required by the terminal to pass through the congestion road section is longer than the second time.
29. A terminal comprising a processor and a memory, wherein the memory stores at least one computer program that is loaded and executed by the processor to implement the operations performed in the voice playback method of any one of claims 1 to 14.
30. A computer readable storage medium having stored therein at least one computer program loaded and executed by a processor to implement the operations performed in the voice playback method of any one of claims 1 to 14.
31. A computer program product, characterized in that the computer program product comprises a computer program code, which is stored in a computer readable storage medium, from which computer program code a processor of a terminal reads, which processor executes the computer program code such that the terminal realizes the operations performed in the speech playing method according to any one of claims 1 to 14.
CN202110785699.7A 2021-07-12 2021-07-12 Voice playback method, device, terminal and storage medium Active CN113514075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110785699.7A CN113514075B (en) 2021-07-12 2021-07-12 Voice playback method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110785699.7A CN113514075B (en) 2021-07-12 2021-07-12 Voice playback method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113514075A CN113514075A (en) 2021-10-19
CN113514075B true CN113514075B (en) 2025-03-21

Family

ID=78067445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110785699.7A Active CN113514075B (en) 2021-07-12 2021-07-12 Voice playback method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113514075B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756195A (en) * 2022-04-07 2022-07-15 摩拜(北京)信息技术有限公司 Voice navigation broadcasting method and device based on vehicle, electronic equipment and vehicle
CN114838730A (en) * 2022-04-28 2022-08-02 北京百度网讯科技有限公司 Navigation processing method and device and electronic equipment
CN115635927A (en) * 2022-10-27 2023-01-24 长城汽车股份有限公司 A voice broadcast method, system, equipment, vehicle and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107170472A (en) * 2016-03-08 2017-09-15 阿里巴巴集团控股有限公司 A kind of onboard audio data playing method and equipment
CN111578965A (en) * 2020-04-30 2020-08-25 百度在线网络技术(北京)有限公司 Navigation broadcast information processing method and device, electronic equipment and storage medium
CN111735472A (en) * 2020-05-22 2020-10-02 百度在线网络技术(北京)有限公司 Navigation audio playing method, device, equipment and computer storage medium
CN112857392A (en) * 2021-02-25 2021-05-28 北京百度网讯科技有限公司 Navigation voice broadcasting method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9109918B2 (en) * 2008-02-25 2015-08-18 At&T Intellectual Property Ii, L.P. Method and system for managing delivery of content in a navigational environment
DE102016202966A1 (en) * 2016-02-25 2017-08-31 Bayerische Motoren Werke Aktiengesellschaft Acoustic reproduction of a digital audio medium in a motor vehicle

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107170472A (en) * 2016-03-08 2017-09-15 阿里巴巴集团控股有限公司 A kind of onboard audio data playing method and equipment
CN111578965A (en) * 2020-04-30 2020-08-25 百度在线网络技术(北京)有限公司 Navigation broadcast information processing method and device, electronic equipment and storage medium
CN111735472A (en) * 2020-05-22 2020-10-02 百度在线网络技术(北京)有限公司 Navigation audio playing method, device, equipment and computer storage medium
CN112857392A (en) * 2021-02-25 2021-05-28 北京百度网讯科技有限公司 Navigation voice broadcasting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113514075A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
KR101502013B1 (en) Mobile terminal and method for providing location based service thereof
US8874366B2 (en) First waypoint distance
EP2097717B1 (en) Local caching of map data based on carrier coverage data
CN105606100B (en) Apparatus, system and method for clustering points of interest in a navigation system
CN113514075B (en) Voice playback method, device, terminal and storage medium
CN103162699B (en) For setting up the method and system in the path of indoor and outdoors link
CN110274611B (en) Information display method, device, terminal and storage medium
EP2995908A1 (en) Apparatus, system and method for clustering points of interest in a navigation system
US20110102637A1 (en) Travel videos
CN109120653B (en) Method and device for recommending multimedia data
JP7275556B2 (en) Information processing system, program, and information processing method
JP2018503116A (en) Method and apparatus for providing attention point information
CN102457570A (en) Intelligent vehicle-mounted communication informatization system and communication method based on 3G technology and cloud system
TW201017125A (en) Validating map data corrections
CN113701743B (en) Map data processing method and device, computer equipment and storage medium
US9341498B2 (en) Navigation system with route guidance mechanism and method of operation thereof
CN107305573A (en) A kind of navigation control method, device and electronic equipment
CN107306345A (en) Traveling record processing method, device, equipment, operating system and the vehicles
CN103063221A (en) Navigation system with non-native dynamic navigator mechanism and method of operation thereof
CN116972873A (en) Navigation information display method, apparatus, device, storage medium and program product
CN108540815A (en) Multimedia content playback method, apparatus and system
CN115357311A (en) Travel information sharing method and device, computer equipment and storage medium
US9644988B2 (en) Navigation system with data gathering mechanism and method of operation thereof
CN112885142A (en) Whistling method and vehicle-mounted equipment
WO2019009039A1 (en) List creation program, list creation method, list creation device, list creation system, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40053588

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant