CN114136330A - Navigation method and computer equipment - Google Patents

Navigation method and computer equipment Download PDF

Info

Publication number
CN114136330A
CN114136330A CN202111194341.3A CN202111194341A CN114136330A CN 114136330 A CN114136330 A CN 114136330A CN 202111194341 A CN202111194341 A CN 202111194341A CN 114136330 A CN114136330 A CN 114136330A
Authority
CN
China
Prior art keywords
navigation
prompt
target
feature
template
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.)
Pending
Application number
CN202111194341.3A
Other languages
Chinese (zh)
Inventor
刘飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Innovation Co
Original Assignee
Alibaba Singapore Holdings Pte 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 Alibaba Singapore Holdings Pte Ltd filed Critical Alibaba Singapore Holdings Pte Ltd
Priority to CN202111194341.3A priority Critical patent/CN114136330A/en
Publication of CN114136330A publication Critical patent/CN114136330A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • G01C21/343Calculating itineraries, i.e. routes leading from a starting point to a series of categorical destinations using a global route restraint, round trips, touristic trips
    • 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/3605Destination input or retrieval
    • G01C21/3608Destination input or retrieval using speech input, e.g. using speech recognition
    • 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
    • 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/3641Personalized guidance, e.g. limited guidance on previously travelled routes

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the application provides a navigation method and computer equipment. The embodiment of the application can provide a multi-language navigation function and maintain the corresponding relation between the navigation prompt template identification corresponding to each language and the navigation prompt template expressed by the language. Aiming at the selected target language, the navigation prompt characteristics can be determined according to the real-time positioning position of the navigated object and the pre-planned navigation route; determining a target navigation prompt template identification according to the navigation prompt characteristics, and then determining a target navigation prompt template from the corresponding relation between the navigation prompt template identification and the navigation prompt template expressed in the target language based on the target navigation prompt template identification; and then, organizing the navigation prompt characteristics according to the target navigation prompt template to obtain navigation guide information prompted by the target language, so that the navigation of the target language is realized, and the requirement of a user on the navigation language is met.

Description

Navigation method and computer equipment
Technical Field
The present application relates to the field of navigation technologies, and in particular, to a navigation method and a computer device.
Background
With the popularization of intelligent terminals, travel application software (programs) with a navigation function is widely used, and the application software can plan a navigation route from a starting place to a destination according to the starting place and the destination provided by a user, and guide the user to reach the destination from the starting place along the navigation route in a voice guidance and/or picture guidance mode based on the navigation route.
At present, most of trip application software is single-language navigation and cannot meet the requirement of multi-language navigation of a user. Therefore, how to realize multi-language navigation becomes a technical problem to be solved urgently.
Disclosure of Invention
Aspects of the present application provide a navigation method and computer device for implementing multi-language navigation.
The embodiment of the application provides a navigation method, which comprises the following steps:
responding to a language selection event, and determining a target language;
determining navigation prompt characteristics according to the real-time positioning position of the navigated object and a pre-planned navigation route;
determining a target navigation prompt template identifier according to the navigation prompt characteristics;
determining a target navigation prompt template from the corresponding relation between the navigation prompt template prompted in the target language and the navigation prompt template identifier based on the target navigation prompt template identifier;
and organizing the navigation prompt characteristics according to the target navigation prompt template so as to obtain navigation guide information prompted by the target language.
An embodiment of the present application further provides a navigation system, including: the system comprises a navigation terminal and server equipment; the navigation terminal is carried on a navigated object;
the navigation terminal is used for responding to the language selection event and determining a target language; providing the target language to the server-side equipment;
the server side equipment is used for determining navigation prompt characteristics according to the real-time positioning position of the navigated object and a pre-planned navigation route; determining a target navigation prompt template identifier according to the navigation prompt characteristics; determining a target navigation prompt template from the corresponding relation between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the target navigation prompt template identification; organizing the navigation prompt features according to the target navigation prompt template to obtain navigation guide information prompted by the target language; and providing the navigation guidance information prompted by the target language to the navigation terminal for the navigation terminal to output.
An embodiment of the present application further provides a computer device, including: a memory and a processor; wherein the memory is used for storing a computer program;
the processor is coupled to the memory for executing the computer program for performing the steps in the navigation method described above.
Embodiments of the present application also provide a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the above-mentioned navigation method.
The embodiment of the application can provide a multi-language navigation function and maintain the corresponding relation between the navigation prompt template identification corresponding to each language and the navigation prompt template expressed by the language. Aiming at the selected target language, the navigation prompt characteristics can be determined according to the real-time positioning position of the navigated object and the pre-planned navigation route; determining a target navigation prompt template identification according to the navigation prompt characteristics, and then determining a target navigation prompt template from the corresponding relation between the navigation prompt template identification and the navigation prompt template expressed in the target language based on the target navigation prompt template identification; and then, organizing the navigation prompt characteristics according to the target navigation prompt template to obtain the navigation guide information prompted by the target language, so that the navigation by the target language is realized, and the requirement of the user on the navigation language is met.
On the other hand, the embodiment of the application adopts the corresponding relation between the navigation prompt identifier corresponding to each language and the navigation prompt template expressed by the language to flexibly manage the multi-language navigation prompt file, and different languages do not influence each other, so that the rapid expansion of the navigation language is facilitated, and the use of other languages is not influenced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1a is a schematic structural diagram of a navigation system according to an embodiment of the present application;
fig. 1b is a schematic structural diagram of a navigation prompt template management file according to an embodiment of the present application;
FIG. 1c is a flowchart illustrating a language directory mapping process according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a navigation method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, most of trip application software is single-language navigation and cannot meet the requirement of multi-language navigation of a user. Therefore, how to realize multi-language navigation becomes a technical problem to be solved urgently. In order to solve the technical problem, some embodiments of the present application may provide a multi-language navigation function, and maintain a correspondence between a navigation prompt template identifier corresponding to each language and a navigation prompt template expressed in the language. Aiming at the selected target language, the navigation prompt characteristics can be determined according to the real-time positioning position of the navigated object and the pre-planned navigation route; determining a target navigation prompt template identification according to the navigation prompt characteristics, and then determining a target navigation prompt template from the corresponding relation between the navigation prompt template identification and the navigation prompt template expressed in the target language based on the target navigation prompt template identification; and then, organizing the navigation prompt characteristics according to the target navigation prompt template to obtain the navigation guide information prompted by the target language, so that the navigation by the target language is realized, and the requirement of the user on the navigation language is met.
On the other hand, the embodiment of the application adopts the corresponding relation between the navigation prompt template identification corresponding to each language and the navigation prompt template expressed by the language to flexibly manage the multi-language navigation prompt file, and different languages do not influence each other, so that the navigation language expansion is favorably and quickly realized, and the use of other languages is not influenced.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
It should be noted that: like reference numerals refer to like objects in the following figures and embodiments, and thus, once an object is defined in one figure or embodiment, further discussion thereof is not required in subsequent figures and embodiments.
Fig. 1a is a schematic structural diagram of a navigation system according to an embodiment of the present application. As shown in fig. 1a, the system comprises, as shown in fig. 1 a: the method comprises the following steps: a navigation terminal 11 and a server device 12. In this embodiment, the navigation terminal 11 may be mounted on the navigated object and move along with the movement of the navigated object. The navigated object can be any object that can move. For example, the navigated object may be a person or a bicycle, or the like, or may be a motor vehicle, such as a car, a taxi, a van, a motorcycle, an electric car, or the like, or an autonomous mobile device, such as a robot, an unmanned vehicle, or the like.
Wherein, the server device 12 and the navigation terminal 11 can be connected wirelessly or by wire. Alternatively, the navigation terminal 11 may be communicatively connected to the server device 12 through a mobile network, and accordingly, the network format of the mobile network may be any one of 2G (gsm), 2.5G (gprs), 3G (WCDMA, TD-SCDMA, CDMA2000, UTMS), 4G (LTE), 4G + (LTE +), 5G, WiMax, and the like. Alternatively, the navigation terminal 11 may also be communicatively connected to the server device 12 by bluetooth, WiFi, infrared, or the like.
In this embodiment, the server device 12 refers to a computer device capable of responding to a service request of the navigation terminal 11 and providing a navigation-related service for a user, and generally has the capability of undertaking and securing the service. The server device 12 may be a single server device, a cloud server array, or a Virtual Machine (VM) running in the cloud server array. The server device 12 may also refer to other computing devices having corresponding service capabilities, such as a terminal device (running a service program) such as a computer.
In the present embodiment, the navigation terminal 11 refers to an electronic device that can provide a navigation function for a navigated object. For example, the system can be a smart phone, a tablet computer, a personal computer, an intelligent wearable device and the like, and can also be a special navigation device. For example, an in-vehicle navigation apparatus, and the like. In the present embodiment, the navigation terminal 11 may run a navigation-related application. The application may provide an electronic map to the user. In the embodiment of the present application, the application may be an application that needs to be installed, such as a navigation APP; and the application program can also be an installation-free application program, such as a webpage, an applet and the like.
In the embodiment, the navigation terminal 11 and the server device 12 cooperate to provide a multi-language navigation function. The multiple languages mean multiple languages, and the multiple languages mean 2 or more than 2. In the embodiment of the present application, the number and the language type of the plurality of languages are not limited. For example, the multiple languages may be Chinese, Japanese, English, Korean, German, Russian, and so on.
In order to implement multi-language navigation, a navigation prompt template in a navigation scenario may be preset for the server device 12. The navigation scene is a navigation scene type in which the navigation terminal 11 is in the navigation mode and the object to be navigated is located. For example, a scene in which the navigated object needs to be guided to perform navigation guidance actions. Such as a turn (left or right) scenario, a straight-ahead scenario, a U-turn scenario. As another example, a scene in which the user needs to be reminded of some attention, i.e., an Alert (Alert) scene. For example, a camera shooting scene is arranged in the front, a road congestion scene in the front, a tachometer zone scene is arranged in the front, a frequently accident scene is arranged in the front, and the like.
The navigation prompt template, which may also be referred to as an instruction (instruction), is mainly used to provide a prompt of a navigation guidance service for a user in a corresponding navigation scenario. The navigation prompting characteristics corresponding to different navigation scenes are different, the provided navigation guiding information is different, and the navigation prompting templates are different. For example, the turning scene needs to provide the user with navigation guidance information related to performing the turning action, and the navigation prompt template also needs to include content for guiding the user to perform the turning action, such as "turn left", "turn left enter a certain road and drive towards a certain guideboard", or "turn left a few meters ahead", and so on. For another example, in a camera shooting scene, it is necessary to provide the user with relevant information of the camera, the navigation prompt template also needs to include relevant information of the camera, such as a distance between the camera and a navigated object, and the navigation prompt template may be "how many meters ahead the camera takes a picture", and the like.
The navigation prompt feature mainly refers to information that can reflect characteristics of a navigation scene where the navigated object is located. The navigation scene where the navigated object is located may be understood as a navigation scene category where the navigated object is located, and may also include. Wherein the navigation scene categories may include: the scene in which the navigation action is performed includes a scene in which a steering action (such as a left turn, a right turn, or a U-turn) is performed, a scene in which a straight-ahead action is performed, and the like. Navigating the scene categories may further include: the user's scene is alerted or prompted, i.e., a warning scene. Such as a camera, a speed bump or a speed measuring tape in front.
For scenarios in which a navigation action is performed, the navigation prompt feature may be a navigation action feature. E.g., left turn, straight run, right turn, etc. In some embodiments, for scenarios in which a navigation action is performed, the navigation prompt feature may further include: navigation action features and route element features, etc. The route element feature mainly refers to a road network element as a reference object for performing a navigation operation. The route elements are elements constituting a road network, and include: roads, road intersections, road infrastructure, etc. Wherein the road infrastructure may comprise: electronic eyes, traffic lights, tachometry tape, and the like. The road network element information may include: name, identification, geographical location information, etc., of the routing element, but is not limited thereto.
For example, for a driving environment with a road name for reference in executing a navigation action, the corresponding route element feature is the presence of the road name; for another example, in a driving environment in which a road name and road sign information are referred to for executing a navigation operation, the corresponding route element characteristics include the presence of a road sign and a road name.
For another example, for a warning scenario, the navigation prompt feature may be a navigation warning feature and a route element feature corresponding to the navigation warning feature. For a driving environment with a camera for shooting, the route element characteristic corresponding to the navigation warning characteristic can be the camera and the like. For another example, for an alert scene, the navigation prompt feature may be a navigation warning feature and a road event feature corresponding to the navigation warning feature. For a driving environment where a road ahead is a place with a high number of accidents, the road event characteristic may be a place with a high number of accidents; as another example, for a congested driving environment, the navigation event characteristic may be road congestion, and the like.
In this embodiment, a corresponding identifier may be set for the navigation prompt template, and a corresponding relationship between the navigation prompt template identifier and the navigation prompt template may be established. Because the navigation prompt characteristics corresponding to different navigation prompt templates are different, different navigation prompt template identifications can be set for the navigation prompt templates with different navigation prompt characteristics, and each navigation prompt template identification can correspond to the corresponding navigation prompt characteristic one by one, namely, different navigation prompt template identifications correspond to different navigation prompt characteristics. In the embodiment of the present application, the navigation prompt template identifier refers to information that can uniquely identify one navigation prompt template, and does not limit the specific implementation form of the navigation prompt template identifier. In some embodiments, the navigation prompt template identifier may be a character string, a number, or the like that uniquely identifies one navigation prompt template, or may be a code of navigation prompt information prompted by the navigation prompt template, or the like, but is not limited thereto.
Each language can correspond to the corresponding relation between the navigation prompt template mark and the navigation prompt template, so that different languages can be used without mutual influence, and the use logics of other languages can be unaffected when the navigation language is expanded, thereby being beneficial to improving the navigation stability.
And in the corresponding relation between the navigation prompt template identification and the navigation prompt template which are respectively corresponding to each language, the navigation prompt template is expressed by the language. For example, for Chinese, in the corresponding relationship between the navigation prompt template identifier and the navigation prompt template, the navigation prompt template is expressed in Chinese; for another example, in the correspondence between the navigation prompt template identifier and the navigation prompt template corresponding to english, the navigation prompt template is expressed in english. In this embodiment, the navigation prompt template may be expressed in a certain language by voice, or may be expressed in a text in the language.
Alternatively, as shown in FIG. 1b, the server device 12 may store multiple language directories. Plural means 2 or more. Fig. 1b illustrates only the language categories of chinese (cn), english (en), and korean (korean), and is not limited thereto. Optionally, one language corresponds to one language catalog, and a correspondence between the navigation prompt template identifier and the navigation prompt template expressed in the language is recorded in each language catalog. For example, for a chinese directory, there is a correspondence between the prompt identifier and the navigation prompt template expressed in chinese.
Alternatively, as shown in FIG. 1b, one or more files may be stored under each language category. The files under the language directory may represent navigation modes or announcement information of the navigated object. Wherein the navigation mode may be walking navigation, driving navigation, riding navigation, etc. Fig. 1b illustrates only the navigation mode as walking navigation and driving navigation, and the corresponding files are "walking. The announcement information is shown in the file "advisory. Alternatively, the file names may be kept consistent under each language category.
Optionally, the navigation prompt template identifiers in the correspondence between the navigation prompt template identifiers and the navigation prompt templates in the different language directories may be different or the same. Preferably, the navigation prompt template identifiers in the correspondence between the navigation prompt template identifiers in the different language directories and the navigation prompt template identifiers are the same. Specifically, for the same navigation scene, the navigation prompt templates in different languages have the same identification, so that the unified processing logic is kept among different languages in the subsequent navigation use process. For example, for a Left Turn scenario, the navigation prompt template identifiers adopted by different languages may be "Left _ Turn" and the like, but are not limited thereto. On the other hand, when the subsequent languages are expanded or increased, the identifiers corresponding to the navigation prompt templates for expressing the same navigation guidance prompt information do not need to be reorganized or designed, so that the language expansion efficiency is improved, and the language expansion cost is saved.
In this embodiment, a specific implementation form of the correspondence between the navigation prompt template identifier corresponding to each language and the navigation prompt template expressed in the language is not limited. Optionally, a corresponding relationship between the navigation prompt template identifier and the navigation prompt template expressed in the language may be recorded in each language directory, and the corresponding relationship may be implemented in a Key-Value pair (KV) form; alternatively, the method can be implemented in the form of an index table, but is not limited thereto.
For the case of storing the corresponding relation between the navigation prompt template identification and the navigation prompt template in a K-V form, the content of each line of text is divided into two parts: keys and instructions. Wherein, the key is a navigation prompt template mark; the instruction is specific display/broadcast content, and is a navigation prompt template. The composition structure of the two is as follows:
key: navigation scene type identification, navigation scene enhancement attribute and prompt suffix attribute;
establishment: basic prompt + token (can be null), the basic prompt is a fixed part set according to language type, namely a fixed part expressed in a corresponding language; the token is a variable part in the navigation prompt template, and replaces corresponding content according to different conditions to form complete navigation guide information.
In this embodiment of the present application, the navigation prompt template identifier may be expressed as: navigation scene class identification + navigation scene enhancement attribute + prompt suffix attribute. The navigation scene category identification + the navigation scene enhancement attribute can be understood as a navigation prompt feature. The navigation scene enhancement attribute can be understood as: scene attribute information of navigation guidance information to be expressed for assisting completion of the navigation scene category, such as route element information. Wherein the route element information may be a name of the route element, geographical location information, relative location information between the route element and the navigated object, or distance information between the route element and the navigated object, etc. The prompt suffix attribute may be information describing an attribute of the navigation guide information to be output. For example, the length attribute (short or long) of the navigation guidance information to be output, the output type (display or voice broadcast). The length attribute of the navigation guidance information to be output can be represented as short or long, and the output type can be represented as visual or spoken.
For the navigation prompt template identifier (key), the navigation scene category identifier may be a necessary option, and the navigation scene enhancement attribute and the prompt suffix attribute may be selectable items, which are specifically determined by the navigation prompt feature. Aiming at different conditions under the same navigation prompting characteristics, such as left turn display content and broadcast content, or other warning and prompting contents, the navigation scene type of the navigation prompting template mark can be kept consistent with the navigation scene enhancement attribute, and the navigation scene type and the navigation scene enhancement attribute are distinguished only through a navigation prompting template mark suffix, so that in practical application, the prompt mark splicing logic reuse is facilitated, and the navigation prompting template mark splicing for the same navigation prompting characteristics for multiple times is avoided.
Based on the correspondence between the navigation prompt template identifier and the navigation prompt template corresponding to each of the plurality of languages, the embodiment of the present application can provide multi-language navigation, and the specific implementation process is as follows:
the navigation terminal 11 may provide a plurality of navigation languages for the user to select. Accordingly, the user can autonomously select a target language from a plurality of navigation languages provided by the navigation terminal 11 while using navigation. For the navigation terminal 11, the target language may be determined in response to the language selection event. In the embodiment of the present application, the implementation form of the language selection event is not limited. Several specific embodiments are exemplified below.
Embodiment 1: the navigation terminal 11 may display a plurality of language selection controls, one for each language. Optionally, the language selection control may display its corresponding language. For example, a Chinese control may display "Chinese"; the English control can display "English"; korean control can display
Figure BDA0003302446490000061
And the like, but are not limited thereto. For the user, the corresponding control may be triggered to select the navigation language. Accordingly, the navigation terminal 11 may determine the language corresponding to the triggered language selection control as the target language in response to the language selection event generated by the triggering operation for the language selection control.
Embodiment 2: the travel-class application may provide voice interaction functionality and language recognition functionality. The user can send a voice instruction to the navigation terminal 11 in the language desired to be used. Such as "Chinese", "English", etc. Accordingly, the navigation terminal 11 may receive the voice command, and perform language identification on the received voice command to determine the language selected by the user; and in response to a language selection event generated by recognizing the language selected by the user from the voice instruction, determining the language expressed by the voice instruction as the target language.
Further, the navigation terminal 11 may provide the target language to the server device 12. For the server device 12, the corresponding relationship between the navigation prompt template identifier corresponding to the target language and the navigation prompt template, that is, the corresponding relationship between the navigation prompt template expressed in the target language and the navigation prompt template identifier may be obtained. In the corresponding relation, the navigation prompt template is expressed in the target language.
In order to implement navigation based on the target language, the server device 12 may obtain the target navigation prompt template identifier based on the corresponding relationship between the navigation prompt template expressed in the target language and the navigation prompt template identifier, index the navigation prompt template corresponding to the target navigation prompt template identifier from the corresponding relationship between the navigation prompt template identifier and the navigation prompt template expressed in the target language based on the navigation prompt template identifier, and generate navigation guidance information prompted in the target language based on the navigation prompt template, thereby implementing navigation based on the target language.
Based on the analysis, how to obtain the target navigation prompt template mark is a key step for realizing the target language based navigation. In this embodiment, because the navigation prompt template identifiers corresponding to different navigation prompt features are different, before determining the target navigation prompt template identifier, the current navigation prompt feature needs to be determined.
In this embodiment, to determine the navigation prompt feature, the server device 12 may obtain a real-time positioning location of the navigated object. In the embodiment of the present application, a specific implementation manner of the server device 12 acquiring the real-time positioning position of the navigated object is not limited. Alternatively, the real-time positioning position of the navigated object may be obtained by the navigation terminal 11 by performing real-time positioning on the navigated object. The following is an exemplary description of a specific embodiment of the navigation terminal 11 for real-time positioning of the navigated object.
Alternatively, the navigation terminal 11 may acquire the real-time positioning position of the navigated object through a satellite positioning technology, a base station positioning technology, a WiFi positioning technology, or the like. The positioning accuracy of the satellite positioning technology, the base station positioning technology or the WiFi positioning technology is considered to be low.
In this embodiment, in order to improve the navigation positioning accuracy, an image capturing device may be used to capture an environment image of an environment in which the navigated object is currently located during the movement of the navigated object along the navigation path. The image acquisition device is mounted on the navigated object. In the present embodiment, the number and implementation form of the image capturing apparatuses are not limited. For example, in an application scenario in which the user walks or rides, the image capturing device may be a camera deployed on the navigation terminal 11 (such as a smartphone); for another example, the image capturing device may be an in-vehicle camera or a camera on the navigation terminal 11 during driving of the motor vehicle. The number of the cameras can be 1 or more. Plural means 2 or more. For example, the object to be navigated is a motor vehicle, and the cameras are 1 or more cameras mounted on the motor vehicle. For multiple cameras, the cameras can be deployed at different locations of the motor vehicle, for example, at the head, tail, left and right sides, and so on of the motor vehicle.
Further, the image pickup device may provide the picked-up environment image to the navigation terminal 11. The communication mode between the image capturing device and the navigation terminal 11 may refer to the communication mode between the navigation terminal 11 and the server device 12, which is not described herein again. Further, the navigation terminal 11 may determine a real-time location position of the navigated object based on the environmental image and the electronic map data. Optionally, the navigation terminal 11 obtains a feature descriptor of a pixel point in the environment image; and determining the real-time positioning position of the navigated object according to the feature descriptors of the pixel points in the environment image and the feature descriptors of the position points recorded in the electronic map data.
Optionally, when determining the position coordinates of the pixel points in the environment image in the environment map, the navigation terminal 11 may calculate similarities between the feature descriptors of the pixel points in the environment image and the feature descriptors of the respective position points in the electronic map data, and use the position points with the similarities greater than or equal to the set similarity threshold as the corresponding position points of the pixel points in the environment image in the electronic map data, that is, the position coordinates of the position points with the similarities greater than or equal to the set similarity threshold in the electronic map data as the position coordinates of the pixel points in the corresponding environment image in the electronic map data. Then, the navigation terminal 11 can calculate the real-time positioning position of the navigated object in the electronic map, that is, the real-time positioning position of the navigated object, according to the position coordinates of the pixel points in the environment image in the electronic map data. Further, the navigation terminal 11 provides the real-time location position of the navigated object to the server device 12. The server device 12 receives the real-time location position of the navigated object.
In the actual navigation process, the server device 12 may plan a navigation route for the navigated object in advance according to the start and end point position information provided by the navigation terminal 11, so as to guide the navigated object to move from the start position to the end point position. The pre-planned navigation route may carry a route file and a navigation prompt file. The route file is used for storing navigation point information passed by a navigation route; the navigation prompt file is used for storing navigation prompt information required in the navigation process. Such as turning left or right at a certain navigation point, etc. The server-side device 12 may also obtain a pre-planned navigation route.
Further, the server device 12 may determine the navigation prompt feature according to the real-time positioning position of the navigated object and the pre-planned navigation route. Optionally, the server device 12 may determine a target navigation point located in front of the real-time positioning position in the navigation route according to the real-time positioning position of the navigated object and the pre-planned navigation route; and acquiring the navigation prompt characteristics of the target navigation point from the navigation prompt file carried by the navigation route.
Further, the server device 12 may determine the target navigation prompt template identifier according to the navigation prompt feature. Because the navigation prompt template mark corresponds to the navigation prompt characteristic one by one, the navigation prompt template mark for prompting the navigation prompt characteristic can be obtained from the navigation prompt template mark and used as the target navigation prompt template mark.
In some embodiments, a navigation prompt template identifier for prompting the navigation prompt feature may be determined directly according to the navigation prompt feature, and may be used as the target navigation prompt template identifier. In other embodiments, a target prompt suffix attribute may also be determined based on the navigation prompt feature.
For example, the target output type of the navigation terminal 11 for the navigation guidance information may be determined according to the navigation prompt feature; and the target output type is taken as the target prompt suffix attribute. Alternatively, the type of the navigation terminal 11 outputting the navigation guidance information may include: and displaying the navigation guide information on a screen, and/or broadcasting the navigation guide information in voice. Optionally, a corresponding relationship between the navigation prompt feature and the output type may be preset, and the server device 12 may match the determined corresponding relationship between the navigation prompt feature and the output type, so as to determine the target output type of the navigation terminal 11 for the navigation guidance information. Wherein the same navigation prompt feature may correspond to one or more output types. For example, if the navigation prompt feature includes a navigation action feature or a navigation warning feature, it may be determined that the target output type of the navigation terminal 11 for the navigation guidance information may be displaying the navigation guidance information on a screen and broadcasting the navigation guidance information in a voice.
In other embodiments, server device 12 may also determine a target navigation point associated with the navigation prompt feature; and calculating the distance between the navigated object and the target navigation point associated with the navigation prompt feature. In this embodiment, the navigation prompt features are different, and the target navigation points associated with the navigation prompt features are different. For a scenario in which the navigation prompt feature includes a navigation action feature, the target navigation point associated with the navigation prompt feature may be a navigation point for performing a navigation action, such as a turning position. For embodiments in which the navigation prompt feature includes a navigation alert feature, the target navigation point associated with the navigation prompt feature may be a location of the second route element, such as a location of a camera, a location of a traffic light, and so on; but also the place of occurrence of the road event, etc.
Further, the server device 12 may determine the length attribute of the navigation guidance information to be used at least according to the distance between the navigated object and the target navigation point; and the length attribute of the navigation guide information to be used is used as a prompt identification suffix. Optionally, if the distance between the navigated object and the target navigation point is less than or equal to the set distance threshold, determining that the length attribute of the navigation guidance information to be used is a short attribute; and if the distance between the navigated object and the target navigation point is greater than the set distance threshold, determining the length attribute of the navigation guide information to be used as the long attribute. Aiming at the prompt marks with the same navigation scene characteristics, the text length of the navigation guide information corresponding to the short attribute is smaller than that of the navigation guide information corresponding to the long attribute.
Optionally, the server device 12 may further calculate a time period required for the navigated object to reach the target navigation point according to the distance between the navigated object and the target navigation point and the moving speed of the navigated object; if the duration is less than or equal to the set duration threshold, determining the length attribute of the navigation guidance information to be used as a short attribute; if the time length required by the navigated object to reach the target navigation point is greater than a set time length threshold, determining the length attribute of the navigation guidance information to be used as a long attribute; and so on.
Further, a length attribute of the navigation guidance information to be used may be determined as a target prompt suffix attribute.
Of course, in some embodiments, the navigation terminal 11 may also be used as a target prompt suffix attribute for the target output type of the navigation guide information and the length attribute of the navigation guide information to be used.
For the case that the target prompt suffix attribute exists, the server-side device 12 may further obtain, from the navigation prompt template identifier prompting the navigation prompt feature, the navigation prompt template identifier whose prompt suffix attribute is the target prompt suffix attribute, as the target navigation prompt template identifier. For example, if the navigation scene type is left turn, the enhanced attribute of the navigation scene is a guideboard, the length attribute of the navigation guidance information to be used is a short attribute, and the output type is display, the target navigation prompt template identifier may prompt that the guideboard is left turn, and the target prompt suffix attribute is a navigation prompt template identifier of display and segment attributes, which may be, for example: left _ Turn _ Signpost1_ Visual _ short, etc.
After determining the target navigation prompt template identifier, the server device 12 may determine the target navigation prompt template from the correspondence between the navigation prompt template expressed in the target language and the navigation prompt template identifier based on the navigation prompt template identifier. The target navigation prompt template is expressed in the target language. Optionally, the server device 12 may determine a language category corresponding to the target language from the language categories; each language directory records the corresponding relation between the navigation prompt template mark and the navigation prompt template expressed by the language; further, the target navigation prompt template identifier may be matched in the correspondence between the navigation prompt template identifier and the navigation prompt template in the language category corresponding to the target language, so as to determine the target navigation prompt template.
Optionally, a default language may also be preset. Accordingly, if there is no language directory corresponding to the target language in the language directories stored in the server device 12, the navigation service is provided in the default language. That is, the target navigation prompt template identifier is matched in the corresponding relationship between the navigation prompt template identifier and the navigation prompt template in the default language directory to determine the target navigation prompt template. The target navigation prompt template is expressed in a default language.
The process of determining language category by the server device 12 is described in conjunction with fig. 1 c. As shown in fig. 1c, the main steps include:
and S1, determining the target language provided by the navigation terminal.
And S2, searching in a plurality of pre-stored language catalogues by using the target language.
S3, whether the catalog corresponding to the target language is found in the plurality of language catalogues or not is judged; if the search result is found, executing the step S5; if not, go to step S4.
And S4, selecting the default language directory as the language directory corresponding to the target language.
S5, based on the target navigation prompt template identification, determining the target navigation prompt template from the corresponding relation between the navigation prompt template identification and the navigation prompt template in the language directory corresponding to the target language.
After determining the target navigation prompt template, the server device 12 may organize the navigation prompt features according to the target navigation prompt template to obtain the navigation guidance information prompted in the target language. The navigation prompt features are different, the information of the target navigation prompt template is different, and the implementation mode for organizing the navigation prompt features is different. In the following, the manner of acquiring navigation guidance information corresponding to different navigation prompt features is exemplarily described in combination with the determination manner of different navigation prompt features.
Embodiment A: in some embodiments, the navigation prompt file carried by the navigation route records that the target navigation point executes the navigation action. Accordingly, the navigation prompt feature of the target navigation point may be determined to be a navigation action feature, such as a left turn, a right turn, a straight line, and the like. In embodiment a, the navigation guidance point navigation guidance feature is a navigation action feature.
Accordingly, the navigation prompt template mark for prompting the navigation action characteristics can be obtained from the navigation prompt template mark as the target navigation prompt template mark. For example, for the embodiment that the navigation prompt feature is a left turn, the navigation prompt template identifier prompting the left turn may be obtained from the navigation prompt template identifiers as the target navigation prompt template identifier.
Further, the target navigation prompt template may be determined from a correspondence between the navigation prompt template expressed in the target language and the navigation prompt template identifier based on the navigation prompt template identifier prompting the navigation action feature. For the target navigation prompt template corresponding to the navigation prompt template identification prompting the navigation action characteristics, the target navigation prompt template may include inherent parts corresponding to the navigation action, such as "turn left", "turn right", and the like, so that the navigation action characteristics expressed in the target language in the target navigation prompt template may be determined as the navigation guide information prompted in the target language. Accordingly, the navigation guidance information may be a navigation action feature expressed in the target language. For example, for the case that the target language is Chinese and the navigation action characteristic is left turn, the navigation guidance information may be "left turn"; for the case that the target language is English and the navigation action feature is left Turn, the navigation guidance information may be "Turn left" or the like.
Embodiment B: in some embodiments, the navigation prompt file carried by the navigation route records that the navigation action is executed at the target navigation point, and the target navigation point is associated with the specified route element. These route elements may be used as references for performing navigational guidance actions, such as turning left into the XXX route, where XXX is the name of the route; for another example, "turn left to S lane to XXX lane". And S is the name of the guideboard. In embodiment B, the navigation guidance point navigation guidance features are a navigation action feature and a route element feature. Wherein the route element characteristics may be implemented as guideboards and/or road names, etc.
Correspondingly, the navigation prompt template mark for prompting the navigation action characteristic and the route element characteristic can be obtained from the navigation prompt template mark as a target navigation prompt template mark. For example, for the embodiment where the navigation prompt feature is a Left Turn and a Road name exists, the navigation prompt template identifier prompting the Left Turn and the Road name exists may be obtained from the navigation prompt template identifiers as the target navigation prompt template identifier, such as "Left _ Turn _ Road".
Further, the target navigation prompt template may be determined from a correspondence between the navigation prompt template expressed in the target language and the navigation prompt template identifier based on the navigation prompt template identifier prompting the navigation action feature and the route element feature. For the navigation prompt template identification of the prompt navigation action characteristic and the route element characteristic, the corresponding target navigation prompt template can comprise an inherent part and a variable part. Wherein, the inherent part can comprise an identification and a connecting word corresponding to the navigation action characteristic; as left turn into { road }, "left turn" and "enter" are intrinsic parts; { road } is a variable moiety; and so on.
Accordingly, server device 12 may determine a prompt feature of the route element feature based on the target navigation prompt template. The prompting feature of the route element feature refers to a feature of the route element that needs to be prompted in the target navigation prompting template. The prompt feature for the route element feature may include: but is not limited to, one or more of the name of the route element, the distance between the route element and the real-time location position of the navigated object, and the geographic location information of the route element.
Further, the server device 12 may obtain a feature value of a prompt feature of the route element feature expressed in the target language. For example, if the target navigation prompt template is "turn left into { road }", the prompt feature of the route element is the name of the road, and the feature value of the prompt feature may be the name of the road, such as "XXX road"; for another example, if the target navigation prompt template is "distance from the front to the road", the prompt feature of the route element is the name of the road and the distance between the target navigation point and the real-time location position of the navigated object, and the feature value of the prompt feature may be the name of the road (e.g., "XXX way") and the distance between the target navigation point and the real-time location position of the navigated object (e.g., 100 meters). Then, the server device 12 may fill the feature value of the prompt feature of the route element feature expressed in the target language to the position corresponding to the prompt feature of the route element feature in the target navigation prompt template, so as to obtain the navigation guidance information expressed in the target language. Alternatively, the navigation guidance information may be "XX m forward left turn into XXX lane", "left turn into XXX lane", or the like, prompted in the target language.
Embodiment C: in some embodiments, a navigation prompt file carried by the navigation route records that specified route element characteristics exist at the target navigation point, and the corresponding navigation scene characteristics are navigation warning characteristics. In the present embodiment, in order to distinguish from the route element feature in embodiment B, the route element feature in embodiment B is defined as a first route element feature; the route element feature in embodiment C is defined as a second route element feature. In embodiment C, the second route element feature mainly refers to a route element that needs to be alerted by navigation. Such as an electronic eye (or called a camera), a traffic light, a tachometer belt, etc.
Accordingly, the navigation prompt feature of the target navigation point can be determined to be a navigation warning feature and a second route element feature, such as illegal photographing by a front camera. In embodiment C, the navigation guidance point has the navigation prompt feature of a navigation warning feature and a second route element feature.
In embodiment C, the server device 12 may determine, according to the navigation alert feature and the second route element feature, a navigation prompt template identifier that prompts the navigation alert feature and the second route element feature as a target navigation prompt template identifier. For example, in some embodiments where the navigation Alert feature is an Alert and the second route element feature is a Camera, the target navigation prompt template identification may be determined to be a navigation prompt template identification that alerts the Camera, such as "Alert _ Camera," or the like.
Further, the target navigation prompt template can be determined from the corresponding relation between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the target navigation prompt template identification of the prompt navigation warning feature and the second route element feature.
In some embodiments, for the navigation prompt template identification of the prompt navigation alert feature and the second route element feature, their corresponding target navigation prompt template may include an inherent portion. Wherein, the inherent part can comprise a name corresponding to the second route element feature; for example, "there is a camera in the front to take a picture", "there is a tachometer zone in the front", or "there is a traffic light in the front", etc. Accordingly, a target navigation prompt template expressed in the target language can be determined as the navigation guide information.
In other embodiments, for the navigation prompt template identification of the prompt navigation alert feature and the second route element feature, the corresponding target navigation prompt template may include an inherent portion and a variable portion. Wherein, the inherent part can comprise inherent prompt information and corresponding connection words. For example, "XX m in front is photographed by a camera", and "front" and "photographing by a camera" are inherent parts; the distance is a variable portion; and so on.
Accordingly, the server device 12 may determine a prompt feature of the second route element feature according to the target navigation prompt template. Wherein the hinting features of the second route element features can include: but is not limited to, one or more of the name of the route element, the distance between the route element and the real-time location position of the navigated object, and the geographic location information of the route element. Further, the server device 12 may obtain a feature value of a prompt feature of the second route element feature expressed in the target language. For example, if the target navigation prompt template is "shot by a camera in front { distance }", the prompt feature of the route element is a distance between the camera and the real-time positioning position of the navigated object, and the feature value of the prompt feature may be a distance (e.g., 100m, etc.) between the route element and the real-time positioning position of the navigated object. Then, the server device 12 may fill the feature value of the prompt feature of the second route element feature expressed in the target language to the position corresponding to the prompt feature of the second route element feature in the target navigation prompt template, so as to obtain the navigation guidance information expressed in the target language. Alternatively, the navigation guidance information may be "XX m ahead has a camera to take a picture" or "XX m ahead enters a deceleration strip, please slow down" or the like, which is prompted in the target language.
Embodiment D: in other embodiments, a navigation prompt file carried by the navigation route records that a specified road event exists at the target navigation point, and the corresponding navigation scene characteristic is a navigation warning characteristic. The road event mainly refers to a road event needing navigation warning, such as a road closing event, a road congestion event, a road slippery event or an event that a road is frequently used as an accident.
Accordingly, the navigation prompt feature of the target navigation point can be determined to be a navigation warning feature and a road event feature, such as a place with a lot of accidents ahead, a road jam ahead and the like. In embodiment D, the navigation prompt feature of the navigation guidance point is a navigation warning feature and a road event feature.
In embodiment D, the server device 12 may determine, according to the navigation alert feature and the road event feature, a navigation prompt template identifier that prompts the navigation alert feature and the road event feature as a target navigation prompt template identifier. For example, in some embodiments where the navigation Alert feature is an Alert and the second route element feature is a Closed route, the target navigation prompt template identification may be determined to be a navigation prompt template identification that prompts the Alert for a Closed route, such as "Alert _ Closed," or the like.
Further, the target navigation prompt template can be determined from the corresponding relation between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the target navigation prompt template identification prompting the navigation warning characteristic and the road event characteristic.
In some embodiments, for the navigation prompt template identification of the prompt navigation alert feature and the road event feature, their corresponding target navigation prompt template may include an inherent portion. The inherent part can comprise a name corresponding to the road event and can also comprise corresponding prompt template information; for example, "go slowly at a slow speed when there are many accidents ahead", "go around on the road ahead, turn around in time", etc. Accordingly, a target navigation prompt template expressed in the target language can be determined as the navigation guide information.
In other embodiments, for the navigation prompt template identification of the prompt navigation alert feature and the road event feature, the corresponding target navigation prompt template may include an inherent portion and a variable portion. For example, "XX m ahead is a place where accidents occur frequently, please slow down, and" ahead "," place where accidents occur frequently "and" please slow down "are inherent parts; the distance is a variable portion; and so on.
Accordingly, the server device 12 may determine the prompt feature of the road event feature according to the target navigation prompt template. The prompt feature of the road event refers to a feature of the road event that needs to be prompted in the target navigation prompt template. The prompt feature for the road event feature may include: one or more of the name of the road event, the distance between the place of the road event and the real-time positioning position of the navigated object, and the geographical location information of the place of the road event.
Further, the server-side device 12 may obtain a feature value of a prompt feature of the road event feature expressed in the target language. For example, if the target navigation prompt template is "distance ahead" is a place where an accident occurs frequently and please slow down ", the prompt feature of the road event feature is the distance between the place where the road event occurs and the real-time location position of the navigated object. Accordingly, the feature value of the prompt feature of the road event feature is the distance (e.g. 200m, 1km, etc.) between the place of the road event and the real-time positioning position of the navigated object. Furthermore, the feature value of the prompt feature of the road event feature expressed in the target language can be filled into the position corresponding to the prompt feature in the target navigation prompt template, so as to obtain the navigation guidance information expressed in the target language. Alternatively, the navigation guidance information may be "XX m ahead is a place where accidents frequently occur, please slow down" or "XX m ahead road construction, please turn around in time" prompted by the target language.
The manner and content of acquiring the navigation guidance information provided in the above embodiments are merely exemplary, and are not limited. In the present embodiment, the server device 12 may provide the navigation guidance information prompted in the target language to the navigation terminal 11 after determining the navigation guidance information prompted in the target language. The navigation terminal 11 may receive the navigation guidance information and output the navigation guidance information in the target language.
Optionally, for a case that the target prompt identifier includes a prompt identifier suffix of the navigation terminal for a target output type of the navigation guidance information, the server device 12 may further instruct the navigation terminal 11 to output the navigation guidance information in the target language according to the target output type, thereby implementing the target language navigation. If the prompt suffix attribute is display (_ Visual), the server device 12 may instruct the navigation terminal 11 to display the navigation guidance information in the target language on the screen; if the prompt suffix attribute is broadcast _ Spoken, the server device 12 may instruct the navigation terminal 11 to broadcast the navigation guidance information in the target language.
For the navigation terminal 11, the navigation guidance information can be received and output in the target language, so that the navigation using the target language is realized, and the requirement of the user on the navigation language is met.
Alternatively, the navigation terminal 11 may display the navigation guidance information in the target language; and/or broadcasting the navigation guidance information in the target language.
The navigation system provided by the embodiment can provide a multi-language navigation function. In the navigation system provided in this embodiment, the server device maintains a correspondence between the navigation prompt template identifier corresponding to each language and the navigation prompt template identified by the language. Aiming at the selected target language, determining a navigation prompt characteristic according to the real-time positioning position of the navigated object and a pre-planned navigation route; determining a target navigation prompt template identification according to the navigation prompt characteristics, and then determining a target navigation prompt template from the corresponding relation between the navigation prompt template identification and the navigation prompt template expressed in the target language based on the template navigation prompt template identification; and then, organizing the navigation prompt characteristics according to the target navigation prompt template to obtain the navigation guide information prompted by the target language, so that the navigation by the target language is realized, and the requirement of the user on the navigation language is met.
On the other hand, the server side equipment flexibly manages the multilingual prompt file by adopting the corresponding relation between the prompt identifier corresponding to each language and the navigation prompt template identified by the language, and different languages are not influenced mutually, so that the language expansion is favorably and quickly realized, and the use of other languages is not influenced.
In order to more clearly describe the above-mentioned determination method of the navigation guidance information, the following description will exemplarily describe the determination method of the navigation guidance information by taking a left turn scene as an example. Aiming at a left turn scene, the navigation prompt template mark for setting the prompt navigation action characteristic comprises the following steps: "Left _ Turn", it will be different contents that the content of display/broadcast will be output according to whether there is a road name and guideboard information in the following road to presume at the same time, choose these two attributes as the route element characteristic in the navigation prompt characteristic, namely the navigation enhanced attribute, the navigation enhanced attribute will have corresponding token in the instruction part under normal circumstances, here presume the corresponding relation as follows:
road name: { road };
the guideboard information is as follows: { signpost1}, { signpost2}.
In summary, the left turn scene can be implemented in the following way (the following display is taken as an example-visual, the broadcast content can be distinguished by replacing the suffix "-spoke"):
(1) aiming at no road name and no guideboard information (_ Visual is a scene suffix and represents display):
chinese: left Turn Visual;
english: "Left _ Turn _ Visual": Turn Left ";
(2) there is a Road name, there is no signpost information (_ Road is the expression form of the Road name enhancement attribute):
chinese: "Left _ Turn _ Road _ Visual": Left Turn into { Road } ";
english: "Left _ Turn _ Road _ Visual": Turn Left onto { Road } ";
(3) there is a road name, there is a guideboard information (_ Signpost1 is a manifestation of the enhanced attribute of the guideboard information):
chinese: "Left _ Turn _ Road _ Signpost1_ Visual": to Turn Left, travel towards { Signpost1} and enter { Road } ";
english: "Left _ Turn _ Road _ Signpost1_ Visual": Turn Left onto { Road } aware { Signpost1} ";
(4) there are road names and two pieces of guideboard information:
chinese: "Left _ Turn _ Road _ Signpost1_ Signpost2_ Visual": Left Turn, travel toward { Signpost1}, { Signpost2}, and enter { Road } ".
English: "Left _ Turn _ Road _ Signpost1_ Signpost2_ Visual", and "Turn Left onto { Road } forward { Signpost1}, { Signpost2 }";
(5) there is no road name, there are 1 guideboard information:
chinese: "Left _ Turn _ Signpost1_ Visual": Left Turn, drive toward { Signpost1 };
english: "Left _ Turn _ Signpost1_ Visual": Turn Left forward { Signpost1} ";
(6) without the road name, there are two signpost messages:
chinese: "Left _ Turn _ Signpost1_ Signpost2_ Visual": Left Turn, travel toward { Signpost1}, { Signpost2 };
english: "Left _ Turn _ Signpost1_ Signpost2_ Visual": Turn Left forward { Signpost1}, { Signpost2} ".
Alternatively, for navigation guide information requiring a plurality of length versions, the length attribute of the navigation guide information may be distinguished as the suffix cue attribute. If the length attribute of the navigation guide information is a short attribute, the short can be used as a prompt suffix attribute; if the length attribute of the navigation guidance information is a long attribute, "long" may be used as the suffix attribute. The length attribute of the navigation guidance information is taken as a short attribute, the navigation action characteristic is taken as a left turn scene, and the route element characteristic is taken as a guideboard to show corresponding navigation prompt template marks and navigation prompt templates:
(7) having road name and one guideboard information
Chinese: "Left _ Turn _ Signpost1_ Visual _ long": "turn left, drive toward { signpost1 };
“Left_Turn_Signpost1_Visual_short”:“signpost1”;
english: "Left _ Turn _ Signpost1_ Visual" _ long "Turn Left forward { Signpost1 }";
“Left_Turn_Signpost1_Visual_short”:“signpost1”。
based on the navigation prompt template identifier in the corresponding relationship between the navigation prompt template identifier and the navigation prompt template, the navigation prompt template identifier is only exemplified by the output type of displaying "_ Visual", of course, the output type may also be voice playing, and correspondingly, the prompt suffix attribute is "_ Spoken".
Based on the correspondence between the navigation prompt template identifier and the navigation prompt template, in this embodiment, it is assumed that the target language is english, and the navigation prompt feature includes: for embodiments in which the navigation action feature and the route element feature are the presence of a signpost "phoenix," the server device 12 may determine that the navigation prompt template identifier for prompting a left turn and the presence of a signpost is the navigation prompt template identifier shown in (5) and (7) above; and determining the attribute of the target prompt suffix according to the navigation prompt characteristics. Assuming that the determined target prompt suffix attribute is: the output type is display, and the length attribute is long attribute; then the "Left _ Turn _ Signpost1_ Visual _ long" shown in (7) can be determined as the target navigation prompt template identification from the navigation prompt template identifications shown in (5) and (7) above. Further, the target navigation prompt template may be determined as "Turn Left forward { Signpost1}" according to the target navigation prompt template identifier "Left _ Turn _ Signpost1_ Visual _ long" shown in (7). Furthermore, the name of the signpost "Phoenix" can be expressed in English and filled into the position corresponding to the prompt feature (namely the signpost name) in the target navigation prompt template, so as to obtain navigation guide information, namely "Turn left ware Phoenix".
Further, the server apparatus 12 may provide the navigation guidance information expressed in the target language to the navigation terminal 11. The navigation terminal 11 can receive the navigation guidance information and output the navigation guidance information in the target language to realize the navigation guidance in the target language.
It should be noted that, the above system embodiment only takes the determination of the navigation guidance information by the server device as an example, and the navigation method provided by the embodiment of the present application is exemplarily described. Of course, the navigation method provided by the embodiment of the application is also suitable for the navigation terminal. The following is an exemplary explanation of the navigation method.
Fig. 2 is a schematic flow chart of a navigation method according to an embodiment of the present application. As shown in fig. 2, the method includes:
201. in response to a language selection event, a target language is determined.
202. And determining the navigation prompt characteristics according to the real-time positioning position of the navigated object and the pre-planned navigation route.
203. And determining the target navigation prompt template identification according to the navigation prompt characteristics.
204. And determining the target navigation prompt template from the corresponding relation between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the target navigation prompt template identification.
205. And organizing the navigation prompt characteristics according to the target navigation prompt template to obtain the navigation guide information prompted by the target language.
The navigation method provided by the embodiment can be suitable for a navigation terminal and also can be suitable for server equipment for providing navigation service. For a description of implementation forms of the navigation terminal and the server device, reference may be made to relevant contents of the above system embodiment, and details are not described herein again.
In this embodiment, in order to implement multi-language navigation, a navigation prompt template in a navigation scenario may be preset. For the description of the navigation scene and the navigation prompt template, reference may be made to the related contents of the above system embodiment, and details are not repeated here.
In this embodiment, a corresponding identifier may be set for the navigation prompt template, and a corresponding relationship between the navigation prompt template identifier and the navigation prompt template may be established. For a description of the corresponding relationship between the navigation prompt template identifier and the navigation prompt template, reference may be made to the related contents of the above system embodiment, which is not described herein again.
Each language can correspond to the corresponding relation between the navigation prompt template mark and the navigation prompt template, so that different languages can be used without mutual influence, and the use logics of other languages can be unaffected when the navigation language is expanded, thereby being beneficial to improving the navigation stability.
And in the corresponding relation between the navigation prompt template identification and the navigation prompt template which are respectively corresponding to each language, the navigation prompt template is expressed by the language.
The navigation prompt template identifiers in the corresponding relation between the navigation prompt template identifiers and the navigation prompt template identifiers in the different language directories can be different or the same. Preferably, the navigation prompt template identifiers in the correspondence between the navigation prompt template identifiers in the different language directories and the navigation prompt template identifiers are the same. Specifically, for the same navigation scene, the navigation prompt templates in different languages have the same identification, so that the unified processing logic is kept among different languages in the subsequent navigation use process. On the other hand, when the subsequent languages are expanded or increased, the identifiers corresponding to the navigation prompt templates for expressing the same navigation guidance prompt information do not need to be reorganized or designed, so that the language expansion efficiency is improved, and the language expansion cost is saved.
Based on the correspondence between the navigation prompt template identifier and the navigation prompt template corresponding to each of the plurality of languages, the embodiment of the present application can provide multi-language navigation, and the specific implementation process is as follows:
multiple navigation languages may be provided for user selection. Accordingly, when using navigation, the user can autonomously select a target language from a plurality of navigation languages provided by the navigation terminal. Accordingly, in step 201, a target language may be determined in response to a language selection event. For the implementation form of the language selection event, reference may be made to the relevant contents of the above system embodiments, and details are not described herein again.
In order to realize navigation based on the target language, the target navigation prompting template identification is obtained based on the corresponding relation between the navigation prompting template expressed by the target language and the navigation prompting template identification, the navigation prompting template corresponding to the target navigation prompting template identification is indexed out from the corresponding relation between the navigation prompting template identification and the navigation prompting template expressed by the target language based on the navigation prompting template identification, and navigation guide information prompted by the target language is generated based on the navigation prompting template, so that the navigation based on the target language is realized.
Based on the analysis, how to obtain the target navigation prompt template mark is a key step for realizing the target language based navigation. In this embodiment, because the navigation prompt template identifiers corresponding to different navigation prompt features are different, before determining the target navigation prompt template identifier, the current navigation prompt feature needs to be determined.
In this embodiment, in order to determine the navigation prompt feature, the real-time positioning position of the navigated object may be obtained. For a specific implementation of obtaining the real-time positioning position of the navigated object, reference may be made to the related contents of the above system embodiments, and details are not described herein again. In the actual navigation process, a navigation route can be planned for the navigated object in advance according to the start-end position information provided by the navigation terminal, and the navigation route is used for guiding the navigated object to move from the start position to the end position. The pre-planned navigation route may carry a route file and a navigation prompt file. The route file is used for storing navigation point information passed by a navigation route; the navigation prompt file is used for storing navigation prompt information required in the navigation process. Such as turning left or right at a certain navigation point, etc. A pre-planned navigation route may also be obtained.
Accordingly, in step 202, the navigation prompt feature may be determined based on the real-time location of the navigated object and the pre-planned navigation route. Optionally, a target navigation point located in front of the real-time positioning position in the navigation route may be determined according to the real-time positioning position of the navigated object and a pre-planned navigation route; and acquiring the navigation prompt characteristics of the target navigation point from the navigation prompt file carried by the navigation route.
Further, in step 203, a target navigation prompt template identifier may be determined according to the navigation prompt characteristics. Because the navigation prompt template mark corresponds to the navigation prompt characteristic one by one, the navigation prompt template mark for prompting the navigation prompt characteristic can be obtained from the navigation prompt template mark and used as the target navigation prompt template mark.
In some embodiments, a navigation prompt template identifier for prompting the navigation prompt feature may be determined directly according to the navigation prompt feature, and may be used as the target navigation prompt template identifier. In other embodiments, a target prompt suffix attribute may also be determined based on the navigation prompt feature.
For example, the target output type of the navigation terminal for the navigation guidance information can be determined according to the navigation prompt characteristics; and the target output type is taken as the target prompt suffix attribute.
In other embodiments, a target navigation point associated with the navigation prompt feature may also be determined; and calculating the distance between the navigated object and the target navigation point associated with the navigation prompt feature. Further, the length attribute of the navigation guidance information to be used can be determined at least according to the distance between the navigated object and the target navigation point; and the length attribute of the navigation guide information to be used is used as a target prompt suffix attribute.
Of course, in some embodiments, the target output type of the navigation guidance information and the length attribute of the navigation guidance information to be used by the navigation terminal may also be used together as the target prompt suffix attribute.
And for the condition that the target prompt suffix attribute exists, acquiring the navigation prompt template identifier with the prompt suffix attribute as the target prompt suffix attribute from the navigation prompt template identifier of the prompt navigation prompt feature as the target navigation prompt template identifier.
After determining the target navigation prompt template identification, in step 204, a target navigation prompt template may be determined from the correspondence between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the navigation prompt template identification. The target navigation prompt template is expressed in the target language. Optionally, a language category corresponding to the target language may be determined from a plurality of language categories; each language directory records the corresponding relation between the navigation prompt template mark and the navigation prompt template expressed by the language; further, the target navigation prompt template identifier may be matched in the correspondence between the navigation prompt template identifier and the navigation prompt template in the language category corresponding to the target language, so as to determine the target navigation prompt template.
Optionally, a default language may also be preset. Correspondingly, if the language directory corresponding to the target language does not exist in the stored language directories, the navigation service is provided in the default language. That is, the target navigation prompt template identifier is matched in the corresponding relationship between the navigation prompt template identifier and the navigation prompt template in the default language directory to determine the target navigation prompt template. The target navigation prompt template is expressed in a default language.
After the target navigation prompt template is determined, in step 205, the navigation prompt features may be organized according to the target navigation prompt template to obtain navigation guidance information prompted in the target language. The navigation prompt features are different, the information of the target navigation prompt template is different, and the implementation mode for organizing the navigation prompt features is different. In the following, the manner of acquiring navigation guidance information corresponding to different navigation prompt features is exemplarily described in combination with the determination manner of different navigation prompt features.
Embodiment A: in some embodiments, the navigation prompt file carried by the navigation route records that the target navigation point executes the navigation action. Accordingly, the navigation prompt template mark for prompting the navigation action characteristics can be obtained from the navigation prompt template mark as the target navigation prompt template mark.
Further, the target navigation prompt template may be determined from a correspondence between the navigation prompt template expressed in the target language and the navigation prompt template identifier based on the navigation prompt template identifier prompting the navigation action feature. For the target navigation prompt template corresponding to the navigation prompt template identification for prompting the navigation action characteristics, the target navigation prompt template may include an inherent part corresponding to the navigation action and the like, so that the navigation action characteristics expressed in the target language in the target navigation prompt template may be determined as the navigation guide information prompted in the target language. Accordingly, the navigation guidance information may be a navigation action feature expressed in the target language.
Embodiment B: in some embodiments, the navigation prompt file carried by the navigation route records that the navigation action is executed at the target navigation point, and the target navigation point is associated with the specified route element. Wherein the route element characteristics may be implemented as guideboards and/or road names, etc.
Correspondingly, the navigation prompt template mark for prompting the navigation action characteristic and the route element characteristic can be obtained from the navigation prompt template mark as a target navigation prompt template mark.
Further, the target navigation prompt template may be determined from a correspondence between the navigation prompt template expressed in the target language and the navigation prompt template identifier based on the navigation prompt template identifier prompting the navigation action feature and the route element feature. For the navigation prompt template identification of the prompt navigation action characteristic and the route element characteristic, the corresponding target navigation prompt template can comprise an inherent part and a variable part. Wherein, the inherent part can comprise an identification and a connecting word corresponding to the navigation action characteristic; as left turn into { road }, "left turn" and "enter" are intrinsic parts; { road } is a variable moiety; and so on.
Correspondingly, the prompt characteristics of the route element characteristics can be determined according to the target navigation prompt template; acquiring a characteristic value of a prompt characteristic of the route element characteristic expressed in the target language; and then, filling the feature value of the prompt feature of the route element feature expressed in the target language into the position corresponding to the prompt feature in the target navigation prompt template to obtain the navigation guide information expressed in the target language. Wherein, the prompting feature of the route element feature can comprise: but is not limited to, one or more of the name of the route element, the distance between the route element and the real-time location position of the navigated object, and the geographic location information of the route element.
Embodiment C: in some embodiments, a navigation prompt file carried by the navigation route records that specified route element characteristics exist at the target navigation point, and the corresponding navigation scene characteristics are navigation warning characteristics. In the present embodiment, in order to distinguish from the route element feature in embodiment B, the route element feature in embodiment B is defined as a first route element feature; the route element feature in embodiment C is defined as a second route element feature. In embodiment C, the second route element feature mainly refers to a route element that needs to be alerted by navigation. Such as an electronic eye (or called a camera), a traffic light, a tachometer belt, etc.
Accordingly, the navigation prompt feature of the target navigation point can be determined to be a navigation warning feature and a second route element feature, such as illegal photographing by a front camera. In embodiment C, the navigation guidance point has the navigation prompt feature of a navigation warning feature and a second route element feature.
In embodiment C, the navigation prompting template identifier for prompting the navigation warning feature and the second route element feature may be determined as the target navigation prompting template identifier according to the navigation warning feature and the second route element feature. For example, in some embodiments, the navigation alert feature is an alert, the second route element feature is a camera, the target navigation prompt template identifier may be determined to be a navigation prompt template identifier that prompts for the camera, and so on.
Further, the target navigation prompt template can be determined from the corresponding relation between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the target navigation prompt template identification of the prompt navigation warning feature and the second route element feature.
In some embodiments, for the navigation prompt template identification of the prompt navigation alert feature and the second route element feature, their corresponding target navigation prompt template may include an inherent portion. Accordingly, a target navigation prompt template expressed in the target language can be determined as the navigation guide information.
In other embodiments, for the navigation prompt template identification of the prompt navigation alert feature and the second route element feature, the corresponding target navigation prompt template may include an inherent portion and a variable portion. Correspondingly, the prompt characteristics of the second route element characteristics can be determined according to the target navigation prompt template; acquiring a characteristic value of a prompt characteristic expressing the characteristic of the second route element in a target language; and then, filling the feature value of the prompt feature of the second route element feature expressed in the target language to the position corresponding to the prompt feature in the target navigation prompt template to obtain the navigation guide information expressed in the target language. Wherein the hinting features of the second route element features can include: but is not limited to, one or more of the name of the route element, the distance between the route element and the real-time location position of the navigated object, and the geographic location information of the route element.
Embodiment D: in other embodiments, a navigation prompt file carried by the navigation route records that a specified road event exists at the target navigation point, and the corresponding navigation scene characteristic is a navigation warning characteristic. The road event mainly refers to a road event needing navigation warning, such as a road closing event, a road congestion event, a road slippery event or an event that a road is frequently used as an accident.
Accordingly, the navigation prompt feature of the target navigation point can be determined to be a navigation warning feature and a road event feature, such as a place with a lot of accidents ahead, a road jam ahead and the like. In embodiment D, the navigation prompt feature of the navigation guidance point is a navigation warning feature and a road event feature.
In embodiment D, a navigation prompting template identifier for prompting the navigation warning feature and the road event feature may be determined as the target navigation prompting template identifier according to the navigation warning feature and the road event feature. Further, the target navigation prompt template can be determined from the corresponding relation between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the target navigation prompt template identification prompting the navigation warning characteristic and the road event characteristic.
In some embodiments, for the navigation prompt template identification of the prompt navigation alert feature and the road event feature, their corresponding target navigation prompt template may include an inherent portion. The inherent part may include a name corresponding to the road event, and may further include corresponding prompt template information and the like.
In other embodiments, for the navigation prompt template identification of the prompt navigation alert feature and the road event feature, the corresponding target navigation prompt template may include an inherent portion and a variable portion. Correspondingly, the prompt characteristics of the road event characteristics can be determined according to the target navigation prompt template; acquiring a characteristic value of a prompt characteristic of the road event characteristic expressed in the target language; and then, filling the feature value of the prompt feature of the road event feature expressed in the target language into the position corresponding to the prompt feature of the road event in the target navigation prompt template to obtain the navigation guide information expressed in the target language. Wherein, the prompting characteristic of the road event characteristic can comprise: one or more of the name of the road event, the distance between the place of the road event and the real-time location position of the navigated object, and the geographical location information of the place of the road event, etc., but is not limited thereto.
The manner and content of acquiring the navigation guidance information provided in the above embodiments are merely exemplary, and are not limited. In this embodiment, for the embodiment in which the execution subject is the server device, after the navigation guidance information prompted in the target language is determined, the navigation guidance information prompted in the target language may be provided to the navigation terminal. The navigation terminal can receive the navigation guidance information and output the navigation guidance information in the target language.
Optionally, for a case that the target prompt identifier includes a prompt identifier suffix of the navigation terminal for a target output type of the navigation guidance information, the server device may instruct the navigation terminal to output the navigation guidance information in the target language according to the target output type, thereby implementing the target language navigation.
For the navigation terminal, the navigation guidance information can be received and output in the target language, so that the navigation using the target language is realized, and the requirement of the user on the navigation language is met.
For the embodiment in which the execution subject is the navigation terminal, after the navigation guidance information prompted in the target language is determined, the navigation guidance information may be directly output. Optionally, the navigation terminal may display the navigation guidance information in the target language; and/or broadcasting the navigation guidance information in the target language.
The embodiment of the application provides a multi-language navigation function. In this embodiment, a corresponding relationship between a prompt identifier corresponding to each language and a navigation prompt template identified by the language is maintained in advance. Aiming at the selected target language, determining a target prompt identifier at least according to the navigation scene characteristics of the navigated object, and determining a target navigation prompt template according to the corresponding relation between the prompt identifier corresponding to the target language and the navigation prompt template expressed by the target language; and then, according to the navigation scene characteristics of the navigated object and the target navigation prompt template, determining the navigation guide information expressed in the target language, realizing navigation by using the target language and meeting the requirement of the user on the navigation language.
On the other hand, the corresponding relation between the navigation prompt template mark corresponding to each language and the navigation prompt template expressed by the language is adopted to flexibly manage the multilingual prompt file, and different languages do not influence each other, so that the language expansion is favorably and quickly realized, and the use of other languages is not influenced.
It should be noted that the execution subjects of the steps of the methods provided in the above embodiments may be the same device, or different devices may be used as the execution subjects of the methods. For example, the execution subjects of steps 201 and 202 may be device a; for another example, the execution subject of step 201 may be device a, and the execution subject of step 202 may be device B; and so on.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 201, 202, etc., are merely used for distinguishing different operations, and the sequence numbers do not represent any execution order per se. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel.
Accordingly, embodiments of the present application also provide a computer-readable storage medium storing computer instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the navigation method described above.
An embodiment of the present application further provides a computer program product, including: a computer program. The steps in the navigation method described above may be implemented when the computer program is executed by a processor. In the embodiments of the present application, a specific implementation form of the computer program product is not limited. In some embodiments, the computer program product is deployed on a terminal and may be implemented as a navigation application, such as a navigation APP; the method can also be implemented as other application products with navigation functions, such as life service applications (e.g. car booking APP, take-away APP, etc.). In other embodiments, the computer program product may be deployed at a server and may be implemented as a plug-in, a functional module, or service system software providing navigation services, such as a software as a service (SaaS) product.
Fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 3, the computer apparatus includes: a memory 30a and a processor 30 b; the memory 30a is used for storing computer programs.
The processor 30b is coupled to the memory 30a for executing a computer program for: responding to a language selection event, and determining a target language; determining navigation prompt characteristics according to the real-time positioning position of the navigated object and a pre-planned navigation route; determining a target navigation prompt template identifier according to the navigation prompt characteristics; determining a target navigation prompt template from the corresponding relation between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the target navigation prompt template identification; and organizing the navigation prompt characteristics according to the target navigation prompt template to obtain the navigation guide information prompted by the target language.
In some embodiments, the processor 30b is further configured to: and determining a language catalogue corresponding to the target language from pre-stored language catalogues, wherein the language catalogue records the corresponding relation between the navigation prompt template identification and the navigation prompt template expressed by the language.
In some embodiments, the processor 30b, when determining the navigation prompt feature, is specifically configured to: determining a target navigation point positioned in front of the real-time positioning position in the navigation route according to the real-time positioning position of the navigated object and the pre-planned navigation route; and acquiring the navigation prompt characteristics of the target navigation point from the navigation prompt file carried by the navigation route.
Optionally, the navigation prompt feature comprises: and (5) navigation action characteristics. Accordingly, when determining the target navigation prompt template identifier, the processor 30b is specifically configured to: and determining a navigation prompt template mark for prompting the navigation action characteristics as a target navigation prompt template mark according to the navigation action characteristics.
Accordingly, the processor 30b, when organizing the navigation prompt feature, is specifically configured to: and determining the navigation action characteristics expressed in the target language in the target navigation prompt template as navigation guide information prompted in the target language.
Optionally, the navigation prompt feature comprises: the navigation action characteristic and the first route element characteristic. When determining the target navigation prompt template identifier, the processor 30b is specifically configured to: and determining a navigation prompt template mark for prompting the navigation action characteristic and the first route element characteristic as a target navigation prompt template mark according to the navigation action characteristic and the first route element characteristic.
Optionally, the navigation prompt feature comprises: a navigation warning feature and a second route element feature. When determining the target navigation prompt template identifier, the processor 30b is specifically configured to: and determining a navigation prompt template mark for prompting the navigation warning characteristic and the second route element characteristic as a target navigation prompt template mark according to the navigation warning characteristic and the second route element characteristic.
The method for the navigation prompt feature comprises the following steps: in the embodiment of the route element feature, when the processor 30b organizes the navigation prompt feature, it is specifically configured to: determining prompt characteristics of the route element characteristics according to the target navigation prompt template; acquiring a characteristic value of a prompt characteristic of a route element characteristic expressed in a target language; and filling the feature value of the prompt feature of the route element feature expressed in the target language to the position corresponding to the prompt feature of the route element feature in the target navigation prompt template so as to obtain the navigation guide information prompted by the target language.
Optionally, the navigation prompt feature comprises: navigation warning features and road event features. When determining the target navigation prompt template identifier, the processor 30b is specifically configured to: and determining a navigation prompt template identifier for prompting the navigation warning characteristics and the road event characteristics as a target navigation prompt template identifier according to the navigation warning characteristics and the road event characteristics.
Accordingly, the processor 30b, when organizing the navigation prompt feature, is specifically configured to: determining the information to be acquired as the prompt feature of the road event feature according to the target navigation prompt template; expressing the feature value of the prompt feature of the road event feature in a target language; and filling the feature value of the prompt feature of the road event feature expressed in the target language to the position corresponding to the prompt feature of the road event in the target navigation prompt template so as to obtain the navigation guide information prompted by the target language.
In some embodiments, the processor 30b, when determining the target navigation prompt template identifier, is specifically configured to: determining the attribute of a target prompt suffix according to the navigation prompt characteristics; and acquiring the navigation prompting template identifier with the attribute of the prompting suffix as the attribute of the target prompting suffix from the navigation prompting template identifier of the prompting navigation prompting feature as the target navigation prompting template identifier.
Optionally, when the processor 30b determines the target prompt suffix attribute, it is specifically configured to: according to the navigation prompt characteristics, determining a target output type of the navigation terminal aiming at the navigation guide information as a target prompt suffix attribute; and/or, calculating the distance between the navigated object and the target navigation point; and determining the length attribute of the navigation guide information to be used as a target prompt suffix attribute at least according to the distance between the navigated object and the target navigation point.
Optionally, the processor 30b is further configured to: the navigation guidance information expressed in the target language is provided to the navigation terminal corresponding to the navigated object through the communication component 30c to instruct the navigation terminal to output the navigation guidance information in the target language according to the target output type.
In some optional embodiments, as shown in fig. 3, the computer device may further include: power supply assembly 30d, etc. If the computer equipment is a computer, a mobile phone and other navigation terminals, the method can also comprise the following steps: screen 30e and audio component 30 f. Only some of the components shown in fig. 3 are schematically depicted, and it is not meant that the computer device must include all of the components shown in fig. 3, nor that the computer device only includes the components shown in fig. 3.
In embodiments of the present application, the memory is used to store computer programs and may be configured to store other various data to support operations on the device on which it is located. Wherein the processor may execute a computer program stored in the memory to implement the corresponding control logic. The memory may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
In the embodiments of the present application, the processor may be any hardware processing device that can execute the above described method logic. Alternatively, the processor may be a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), or a Micro Controller Unit (MCU); programmable devices such as Field-Programmable Gate arrays (FPGAs), Programmable Array Logic devices (PALs), General Array Logic devices (GAL), Complex Programmable Logic Devices (CPLDs), etc. may also be used; or Advanced Reduced Instruction Set (RISC) processors (ARM), or System On Chips (SOC), etc., but is not limited thereto.
In embodiments of the present application, the communication component is configured to facilitate wired or wireless communication between the device in which it is located and other devices. The device in which the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G, 5G or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component may also be implemented based on Near Field Communication (NFC) technology, Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, or other technologies.
In the embodiment of the present application, the display assembly may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the display assembly includes a touch panel, the display assembly may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
In embodiments of the present application, a power supply component is configured to provide power to various components of the device in which it is located. The power components may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device in which the power component is located.
In embodiments of the present application, the audio component may be configured to output and/or input audio signals. For example, the audio component includes a Microphone (MIC) configured to receive an external audio signal when the device in which the audio component is located is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in a memory or transmitted via a communication component. In some embodiments, the audio assembly further comprises a speaker for outputting audio signals. For example, for devices with language interaction functionality, voice interaction with a user may be enabled through an audio component, and so forth.
The computer device provided in this embodiment can provide a multi-language navigation function, and maintain a correspondence between a navigation prompt template identifier corresponding to each language and a navigation prompt template expressed in the language. Aiming at the selected target language, the navigation prompt characteristics can be determined according to the real-time positioning position of the navigated object and the pre-planned navigation route; determining a target navigation prompt template identification according to the navigation prompt characteristics, and then determining a target navigation prompt template from the corresponding relation between the navigation prompt template identification and the navigation prompt template expressed in the target language based on the target navigation prompt template identification; and then, organizing the navigation prompt characteristics according to the target navigation prompt template to obtain navigation guide information prompted by the target language, so that the navigation of the target language is realized, and the requirement of a user on the navigation language is met.
On the other hand, the corresponding relation between the navigation prompt template mark corresponding to each language and the navigation prompt template expressed by the language is adopted to flexibly manage the multilingual prompt file, and different languages do not influence each other, so that the rapid expansion of the languages is facilitated, and the use of other languages is not influenced.
It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. A navigation method, comprising:
responding to a language selection event, and determining a target language;
determining navigation prompt characteristics according to the real-time positioning position of the navigated object and a pre-planned navigation route;
determining a target navigation prompt template identifier according to the navigation prompt characteristics;
determining a target navigation prompt template from the corresponding relation between the navigation prompt template expressed in the target language and the navigation prompt template identification based on the target navigation prompt template identification;
and organizing the navigation prompt characteristics according to the target navigation prompt template so as to obtain navigation guide information prompted by the target language.
2. The method of claim 1, wherein the method further comprises:
and determining a language category corresponding to the target language from pre-stored language categories, wherein the language category records the corresponding relation between the navigation prompt template identification and the navigation prompt template expressed by the language.
3. The method of claim 1, wherein determining navigation prompt features based on the real-time located position of the navigated object and the pre-planned navigation route comprises:
determining a target navigation point positioned in front of the real-time positioning position in a navigation route according to the real-time positioning position of a navigated object and the pre-planned navigation route;
and acquiring the navigation prompt characteristics of the target navigation point from a navigation prompt file carried by the navigation route.
4. The method of claim 3, wherein the navigation prompt feature comprises: a navigation action feature; the determining the target navigation prompt template identifier according to the navigation prompt feature includes:
determining a navigation prompt template mark for prompting the navigation action characteristics as the target navigation prompt template mark according to the navigation action characteristics;
the organizing the navigation prompt features according to the target navigation prompt template to obtain the navigation guide information prompted by the target language specifically includes:
and determining the navigation action characteristics expressed in the target language in the target navigation prompt template as the navigation guide information prompted in the target language.
5. The method of claim 3, wherein the navigation prompt feature comprises: the navigation action characteristic and the first route element characteristic; the determining the target navigation prompt template identifier according to the navigation prompt feature includes:
and determining a navigation prompt template mark for prompting the navigation action characteristic and the first route element characteristic as the target navigation prompt template mark according to the navigation action characteristic and the first route element characteristic.
6. The method of claim 3, wherein the navigation prompt feature comprises: the navigation warning feature and the second route element feature; the determining the target navigation prompt template identifier according to the navigation prompt feature includes:
and determining a navigation prompt template mark for prompting the navigation alarm characteristic and the second route element characteristic as the target navigation prompt template mark according to the navigation alarm characteristic and the second route element characteristic.
7. The method according to claim 5 or 6, wherein the organizing the navigation prompt features according to the target navigation prompt template to obtain the navigation guidance information prompted in the target language specifically includes:
determining prompt characteristics of route element characteristics according to the target navigation prompt template;
acquiring a feature value of a prompt feature of the route element feature expressed in the target language;
and filling the feature value of the prompt feature of the route element feature to the position corresponding to the prompt feature of the route element in the target navigation prompt template so as to obtain the navigation guide information expressed by the target language.
8. The method of claim 3, wherein the navigation prompt feature comprises: navigation warning features and road event features; the determining the target navigation prompt template identifier according to the navigation prompt feature includes:
according to the navigation warning features and the road event features, determining navigation prompt template identifications prompting the navigation warning features and the road event features as the target navigation prompt template identifications;
the organizing the navigation prompt features according to the target navigation prompt template to obtain the navigation guide information prompted by the target language specifically includes:
determining a prompt characteristic of the road event characteristic according to the target navigation prompt template;
acquiring a characteristic value of a prompt characteristic of the road event characteristic expressed in the target language;
and filling the feature value of the prompt feature of the road event feature to a position corresponding to the prompt feature of the road event feature in the target navigation prompt template so as to obtain the navigation guide information prompted by the target language.
9. The method of claim 8, wherein the determining a target navigation prompt template identification according to the navigation prompt feature comprises:
determining the attribute of a target prompt suffix according to the navigation prompt feature;
and acquiring a navigation prompt template identifier with a prompt suffix attribute as the target prompt suffix attribute from the navigation prompt template identifier prompting the navigation prompt characteristics, and taking the navigation prompt template identifier as the target navigation prompt template identifier.
10. The method of claim 9, wherein the determining a target prompt suffix attribute based on the navigation prompt feature comprises:
according to the navigation prompt feature, determining a target output type of the navigation terminal aiming at navigation guide information as the target prompt suffix attribute;
and/or the presence of a gas in the gas,
calculating a distance between the navigated object and the target navigation point; and determining the length attribute of the navigation guide information to be used as the target prompt suffix attribute at least according to the distance between the navigated object and the target navigation point.
11. A computer device, comprising: a memory and a processor; wherein the memory is used for storing a computer program;
the processor is coupled to the memory for executing the computer program for performing the steps of the method of any of claims 1-10.
CN202111194341.3A 2021-10-13 2021-10-13 Navigation method and computer equipment Pending CN114136330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111194341.3A CN114136330A (en) 2021-10-13 2021-10-13 Navigation method and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111194341.3A CN114136330A (en) 2021-10-13 2021-10-13 Navigation method and computer equipment

Publications (1)

Publication Number Publication Date
CN114136330A true CN114136330A (en) 2022-03-04

Family

ID=80394979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111194341.3A Pending CN114136330A (en) 2021-10-13 2021-10-13 Navigation method and computer equipment

Country Status (1)

Country Link
CN (1) CN114136330A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09126803A (en) * 1995-10-31 1997-05-16 Mitsubishi Electric Corp Navigation device
CN101046384A (en) * 2007-04-27 2007-10-03 江苏新科数字技术有限公司 Phonetic prompt method of navigation instrument
US20110184639A1 (en) * 2010-01-27 2011-07-28 Holsinger David J Method of Operating a Navigation System to Provide Route Guidance
CN104061927A (en) * 2014-07-02 2014-09-24 百度在线网络技术(北京)有限公司 Method and device for walking navigation
CN104197946A (en) * 2014-09-04 2014-12-10 百度在线网络技术(北京)有限公司 Voice navigation method, device and system
CN104978015A (en) * 2014-04-14 2015-10-14 博世汽车部件(苏州)有限公司 Navigation system having language auto-adaptive function and control method thereof
CN105890615A (en) * 2016-04-11 2016-08-24 深圳市轱辘软件开发有限公司 Navigation method and device
CN106441323A (en) * 2015-08-12 2017-02-22 高德软件有限公司 Route navigation prompting method and device
CN106598931A (en) * 2016-12-29 2017-04-26 江西博瑞彤芸科技有限公司 Method for generating informative template
CN110138485A (en) * 2019-05-17 2019-08-16 爱驰汽车有限公司 On-vehicle information broadcast system, method, equipment and storage medium
CN110781657A (en) * 2019-10-14 2020-02-11 百度在线网络技术(北京)有限公司 Management method, device and equipment for navigation broadcasting
CN111256725A (en) * 2018-11-30 2020-06-09 阿里巴巴集团控股有限公司 Indication information display method and device, navigation equipment and storage medium
CN112026519A (en) * 2020-08-21 2020-12-04 杭州金通科技集团股份有限公司 Vehicle-mounted terminal for point-by-point and subsection speed limit reminding based on map engine

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09126803A (en) * 1995-10-31 1997-05-16 Mitsubishi Electric Corp Navigation device
CN101046384A (en) * 2007-04-27 2007-10-03 江苏新科数字技术有限公司 Phonetic prompt method of navigation instrument
US20110184639A1 (en) * 2010-01-27 2011-07-28 Holsinger David J Method of Operating a Navigation System to Provide Route Guidance
CN104978015A (en) * 2014-04-14 2015-10-14 博世汽车部件(苏州)有限公司 Navigation system having language auto-adaptive function and control method thereof
CN104061927A (en) * 2014-07-02 2014-09-24 百度在线网络技术(北京)有限公司 Method and device for walking navigation
CN104197946A (en) * 2014-09-04 2014-12-10 百度在线网络技术(北京)有限公司 Voice navigation method, device and system
CN106441323A (en) * 2015-08-12 2017-02-22 高德软件有限公司 Route navigation prompting method and device
CN105890615A (en) * 2016-04-11 2016-08-24 深圳市轱辘软件开发有限公司 Navigation method and device
CN106598931A (en) * 2016-12-29 2017-04-26 江西博瑞彤芸科技有限公司 Method for generating informative template
CN111256725A (en) * 2018-11-30 2020-06-09 阿里巴巴集团控股有限公司 Indication information display method and device, navigation equipment and storage medium
CN110138485A (en) * 2019-05-17 2019-08-16 爱驰汽车有限公司 On-vehicle information broadcast system, method, equipment and storage medium
CN110781657A (en) * 2019-10-14 2020-02-11 百度在线网络技术(北京)有限公司 Management method, device and equipment for navigation broadcasting
CN112026519A (en) * 2020-08-21 2020-12-04 杭州金通科技集团股份有限公司 Vehicle-mounted terminal for point-by-point and subsection speed limit reminding based on map engine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张东;胡文学;刘爱龙;杨学伟;: "嵌入式车载语音导航仪设计与实现", 西安工程科技学院学报, vol. 20, no. 02, 30 July 2006 (2006-07-30), pages 199 - 202 *

Similar Documents

Publication Publication Date Title
US12117311B2 (en) System and method for presenting autonomy-switching directions
US20230213345A1 (en) Localizing transportation requests utilizing an image based transportation request interface
JP6488594B2 (en) Automatic driving support system, automatic driving support method, and computer program
US10126141B2 (en) Systems and methods for using real-time imagery in navigation
EP3049892B1 (en) Systems and methods for providing navigation data to a vehicle
WO2016035485A1 (en) Automatic driving assistance system, automatic driving assistance method, and computer program
US9482547B2 (en) Method and device for computer-based navigation
CN111311902B (en) Data processing method, device, equipment and machine readable medium
JP6305650B2 (en) Automatic driving device and automatic driving method
JP6558129B2 (en) Driving support system, driving support method, and computer program
CN113465610B (en) Information processing device, route guidance device, information processing method, and computer-readable storage medium
US20170276497A1 (en) Multi modal annotation of maps
US11885634B2 (en) Display system and display program
JP2009237945A (en) Moving image information collection system and vehicle-mounted device
CN114061598A (en) Navigation method, device, system and storage medium
CN110836674A (en) Method, device, machine equipment and storage medium for prompting intersection in route navigation
JP2017032440A (en) Driving assistance system, driving assistance method, and computer program
JP2015162019A (en) Vehicle display controller
CN114136330A (en) Navigation method and computer equipment
CN109115233B (en) Method, device, system and computer readable medium for non-destination navigation
CN113739800A (en) Navigation guiding method and computer program product
CN114061600A (en) Navigation method, device, system and storage medium
CN113096427A (en) Information display method and device
CN116704472B (en) Image processing method, device, apparatus, medium, and program product
JP2019061328A (en) Guidance system and guidance program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20240305

Address after: # 03-06, Lai Zan Da Building 1, 51 Belarusian Road, Singapore

Applicant after: Alibaba Innovation Co.

Country or region after: Singapore

Address before: Room 01, 45th Floor, AXA Building, 8 Shanton Road, Singapore

Applicant before: Alibaba Singapore Holdings Ltd.

Country or region before: Singapore

TA01 Transfer of patent application right