CN109813298B - Navigation method and terminal equipment - Google Patents
Navigation method and terminal equipment Download PDFInfo
- Publication number
- CN109813298B CN109813298B CN201910101379.8A CN201910101379A CN109813298B CN 109813298 B CN109813298 B CN 109813298B CN 201910101379 A CN201910101379 A CN 201910101379A CN 109813298 B CN109813298 B CN 109813298B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- route
- target
- location
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Navigation (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a navigation method and terminal equipment, which are applied to the technical field of communication and can solve the problem that navigation application cannot provide more detailed route navigation. The method comprises the following steps: under the condition that a target terminal device is located in a first area, acquiring a first position where the first terminal device is located and a second position where the second terminal device is located, wherein the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first place is located, the first place is a destination place in a first navigation route in the first terminal device or a place input by a user of the first terminal device, and the first place is a place appointed by the user of the first terminal device and the user of the second terminal device; and outputting target prompt information for indicating the target distance when the target distance is within the target range, wherein the target prompt information changes along with the change of the target distance. The method is applied to the scene that users of two terminal devices can be combined.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a navigation method and terminal equipment.
Background
With the popularization of terminal technology, the application of terminal equipment is more and more extensive.
For the situation that two people meet at a certain destination point, the two people can respectively adopt the navigation application installed in the terminal equipment to perform route navigation or inquire a riding route, and in the process of guiding the two people to the destination point by adopting the traditional navigation mode, because the navigation application in the terminal equipment can finish route navigation after the user reaches the position close to the destination point, under the condition that the two people both reach the position close to the destination point and are at a distance, the two people can not determine the route between the two people and the other party by means of the navigation application, and only can find the position of the other party by the two people to meet the route. Therefore, existing navigation applications cannot provide high-detail route navigation, so that two people cannot find each other or determine a meeting and a place.
Disclosure of Invention
The embodiment of the invention provides a navigation method and terminal equipment, which are used for solving the problem that navigation application in the prior art cannot provide more detailed route navigation, so that two people cannot find each other or determine a meeting and a place.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a navigation method is provided, which is applied to a terminal device, and includes: under the condition that a target terminal device is located in a first area, acquiring a first position where the first terminal device is located and a second position where the second terminal device is located, wherein the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first place is located, the first place is a destination place in a first navigation route in the first terminal device or a place input by a user of the first terminal device, and the first place is a place appointed by the user of the first terminal device and the user of the second terminal device; and under the condition that the target distance is within the target range, outputting target prompt information, wherein the target prompt information is used for indicating the target distance, the target distance is the distance between the first position and the second position, and the target prompt information changes along with the change of the target distance.
In a second aspect, a terminal device is provided, which includes: the device comprises an acquisition module and an output module; the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring a first position of a first terminal device and a second position of a second terminal device under the condition that a target terminal device is in a first area, the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first place is located, the first place is a destination place in a first navigation route in the first terminal device or a place input by a user of the first terminal device, and the first place is a place appointed by the user of the first terminal device and the user of the second terminal device; and the output module is used for outputting target prompt information under the condition that the target distance is within the target range, the target prompt information is used for indicating the target distance, the target distance is the distance between the first position and the second position, and the target prompt information changes along with the change of the target distance.
In a third aspect, a terminal device is provided, the terminal device comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of the navigation method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the navigation method according to the first aspect.
In the embodiment of the present invention, when a target terminal device is in a first area, a first location where the first terminal device is located and a second location where the second terminal device is located are obtained, where the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first location is located, the first location is a destination location in a first navigation route in the first terminal device, or is a location input by a user of the first terminal device, and the first location is a location appointed by the user of the first terminal device and the user of the second terminal device; and under the condition that the target distance is within the target range, outputting target prompt information, wherein the target prompt information is used for indicating the target distance, the target distance is the distance between the first position and the second position, and the target prompt information changes along with the change of the target distance. According to the scheme, after the target terminal device reaches the first area where the user of the first terminal device and the user of the second terminal device agree, the positions of the two terminal devices can be obtained, and the target prompt information which changes along with the change of the target distance is output under the condition that the distance between the two terminal devices is within the target range.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a first schematic view of a navigation method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a navigation method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of location information of a second terminal device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first terminal device and the second terminal device, etc. are for distinguishing different terminal devices, and are not for describing a specific order of the terminal devices.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment to which the navigation method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the navigation method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the navigation method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the navigation method provided by the embodiment of the invention by running the software program in the android operating system.
The embodiment of the invention provides a navigation method and terminal equipment, wherein under the condition that target terminal equipment is in a first area, a first position where the first terminal equipment is located and a second position where the second terminal equipment is located are obtained, the target terminal equipment is at least one of the first terminal equipment and the second terminal equipment, the first area is an area where a first place is located, the first place is a destination place in a first navigation route in the first terminal equipment or a place input by a user of the first terminal equipment, and the first place is a place appointed by the user of the first terminal equipment and the user of the second terminal equipment; and under the condition that the target distance is within the target range, outputting target prompt information, wherein the target prompt information is used for indicating the target distance, the target distance is the distance between the first position and the second position, and the target prompt information changes along with the change of the target distance. According to the scheme, after the target terminal device reaches the first area where the user of the first terminal device and the user of the second terminal device agree, the positions of the two terminal devices can be obtained, and the target prompt information which changes along with the change of the target distance is output under the condition that the distance between the two terminal devices is within the target range.
The terminal device in the embodiment of the invention can be a mobile terminal device and can also be a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution subject of the navigation method provided by the embodiment of the present invention may be the terminal device (including a mobile terminal device and a non-mobile terminal device), or may also be a functional module and/or a functional entity capable of implementing the navigation method in the terminal device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited. The following takes a terminal device as an example to exemplarily explain the navigation method provided by the embodiment of the present invention.
As shown in fig. 2, an embodiment of the present invention provides a navigation method, which includes the following S11 and S12.
S11, when the target terminal device is in the first area, the first terminal device obtains a first location where the first terminal device is located and a second location where the second terminal device is located.
The target terminal device is at least one of a first terminal device and a second terminal device, the first area is an area where a first place is located, and the first place is a destination place in a first navigation route in the first terminal device or a place input by a user of the first terminal device.
Optionally, in this embodiment of the present invention, the first location is a location appointed by a user of the first terminal device and a user of the second terminal device.
Optionally, the first location may specifically be a location determined by a user of the first terminal device and a user of the second terminal device through oral agreement, or may specifically be a location determined by a user of the second terminal device of the user of the first terminal device through information interaction agreement between the first terminal device and the second terminal device.
In the embodiment of the present invention, under the condition that the first terminal device and/or the second terminal device are/is located in the first area, the first terminal device may obtain a first location where the first terminal device is located and a second location where the second terminal device is located.
And S12, the first terminal equipment outputs the target prompt information when the target distance is within the target range.
The target prompt information is used for indicating a target distance, the target distance is a distance between the first position and the second position, and the target prompt information changes along with the change of the target distance.
Optionally, the first terminal device may output the target prompt information in at least one of the following manners:
the method comprises the steps that the first terminal device vibrates, the screen of the first terminal device displays colors, distance information and the first terminal device rings are displayed in the screen of the first terminal device, and the like.
For example, taking the first terminal device outputting the target prompt information as the vibration of the first terminal device, the first terminal device may change the vibration frequency with the change of the target distance. Specifically, the first terminal device may gradually increase the vibration frequency when the target distance becomes larger, and may gradually decrease the vibration frequency when the target distance decreases. Therefore, under the condition that the vibration frequency of the first terminal device is higher and higher, the user of the first terminal device can know that the distance between the user of the first terminal device and the user of the second terminal device is closer and closer, and on the contrary, under the condition that the vibration frequency of the first terminal device is lower and lower, the user of the first terminal device can know that the distance between the user of the first terminal device and the user of the second terminal device is farther and farther.
For example, taking the first terminal device outputting the target prompt information as the screen display color of the first terminal device, the first terminal device may change the screen color with the change of the target distance.
For example, taking the example that the first terminal device outputs the target prompt information as the display distance information in the screen of the first terminal device, the first terminal device may change the color of the screen display of the first terminal device with the change of the target distance.
For example, taking the first terminal device outputting the target prompt information as the first terminal device ringing as an example, the first terminal device may change the sound and/or frequency of the first terminal device ringing with the change of the target distance.
Optionally, the navigation method provided by the embodiment of the invention can be used in a scene where users of two terminal devices meet.
The embodiment of the invention provides a navigation method, which includes the steps that under the condition that target terminal equipment is located in a first area, a first position where the first terminal equipment is located and a second position where the second terminal equipment is located are obtained, the target terminal equipment is at least one of the first terminal equipment and the second terminal equipment, the first area is an area where a first place is located, the first place is a destination place in a first navigation route in the first terminal equipment or a place input by a user of the first terminal equipment, and the first place is a place appointed by the user of the first terminal equipment and the user of the second terminal equipment; and under the condition that the target distance is within the target range, outputting target prompt information, wherein the target prompt information is used for indicating the target distance, the target distance is the distance between the first position and the second position, and the target prompt information changes along with the change of the target distance. According to the scheme, after the target terminal device reaches the first area where the user of the first terminal device and the user of the second terminal device agree, the positions of the two terminal devices can be obtained, and the target prompt information which changes along with the change of the target distance is output under the condition that the distance between the two terminal devices is within the target range.
Optionally, before obtaining the first location where the first terminal device is located and the second location where the second terminal device is located, the navigation method provided in the embodiment of the present invention further includes: acquiring a first route and a second route, and determining a meeting point of the first route and the second route; and outputting third prompt information, wherein the third prompt information is used for indicating the information of the meeting place.
The first route is the route of the first terminal device, the second route is the route of the second terminal device, and the destination points of the first route and the second route are the same.
For example, referring to fig. 2, as shown in fig. 3, before the above step S11, the navigation method provided by the embodiment of the present invention may further include the following steps S13 to S15.
And S13, the first terminal equipment acquires the first route and the second route.
The first route is the route of the first terminal device, the second route is the route of the second terminal device, and the destination points of the first route and the second route are the same.
Optionally, acquiring the first route includes the following two cases, case 1 and case 2.
Case 1: the first terminal device acquires a second navigation route in the first terminal device.
The second navigation route may be the first navigation route described above in the embodiments of the present invention.
And 2, the first terminal device acquires the position information of the first terminal device at different moments, and estimates a first route according to the position information, wherein the position information is the positioning information of the first terminal device.
Optionally, acquiring the second route includes the following two cases, case 3 and case 4.
Case 3: and the first terminal equipment receives the second route sent by the second terminal equipment.
Wherein the second route in this case may be a third navigation route in the second terminal device.
Case 4: and the first terminal equipment receives the position information of the second terminal equipment at different moments, and estimates a second route according to the position information.
And the position information is the positioning information of the second terminal equipment.
In the embodiment of the present invention, in cases 2 and 4, the first route is estimated according to the location information of the first terminal device at different times, in a similar manner to the second route is estimated according to the location information of the second terminal device at different times, and the estimation of the second route according to the location information of the second terminal device at different times is taken as an example below, and an exemplary description is given.
Optionally, the first terminal device may obtain the location information of the second terminal device once every interval time T, then may obtain the travel distance of the user within the interval time T through the location information of two adjacent times, and then may calculate the moving speed of the second terminal device according to the travel distance and the interval time. Illustratively, as shown in fig. 4, 4 times of position information acquired at intervals of T, in fig. 4, the acquired 4 position information of the second terminal device are respectively denoted as G1, G2, G3 and G4, resulting in three distances S1, S2 and S3.
Alternatively, the speeds corresponding to the distances S1, S2, and S3 may be calculated by the interval time T and the acquired distances S1, S2, and S3, as shown in table 1 below.
TABLE 1
Time interval | T | T | T |
Distance between two adjacent plates | S1 | S2 | S3 |
Speed of rotation | L1 | L2 | L3 |
Alternatively, the average of the three speeds L0 of L1, L2, and L3 may be calculated. The speed of various means of transport is known under normal conditions: assuming that the walking/bicycle/motorcycle speed is N1 (the traffic route can be classified into one type because the three are traveling at a short distance), the bus speed is N2, the car speed is N3, and the subway speed is N4, the traffic mode adopted by the user of the second mobile terminal is estimated by comparing the speed of L0 with the speeds of the four vehicles, and the estimation mode can be shown in table 2 below.
TABLE 2
Speed comparison results | User trip mode |
L0<=N1 | Walking/bicycle/motorcycle |
N1<L0<=N2 | Public transport |
N2<L0<=N3 | Automobile |
N3<L0<=N4 | Subway |
After the travel mode of the user of the second terminal device is estimated according to the mode shown in table 2, a route of the second terminal device to the appointed destination point may be estimated according to the travel mode.
And S14, the first terminal equipment determines the intersection point of the first route and the second route.
And S15, the first terminal equipment outputs third prompt information, and the third prompt information is used for indicating information of the meeting place.
Optionally, the first terminal device may prompt the user for the meeting location information in advance before reaching the meeting location.
Optionally, the meeting location may include a first location;
optionally, the meeting place may be a destination place appointed by the first terminal device and the second terminal device.
Alternatively, the meeting location may be a first location.
Optionally, the meeting place is a first place, and after the first location where the first terminal device is located and the second location where the second terminal device is located are obtained, before the first terminal device outputs the target prompt information, in the navigation method provided in the embodiment of the present invention, the terminal device may further determine the target distance.
In the embodiment of the present invention, the navigation methods shown in the above drawings are all exemplarily described with reference to one drawing in the embodiment of the present invention. In specific implementation, the navigation method shown in each of the above drawings may also be implemented by combining any other drawings that may be combined, which are illustrated in the above embodiments, and details are not described here again.
As shown in fig. 5, an embodiment of the present invention provides a terminal device, where the terminal device is a first terminal device 130, and the first terminal device 130 includes an obtaining module 131 and an output module 132.
The obtaining module 131 is configured to obtain a first location where the first terminal device is located and a second location where the second terminal device is located when the target terminal device is located in a first area, where the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first location is located, the first location is a destination point in a first navigation route in the first terminal device or a location input by a user of the first terminal device, and the first location is a location appointed by the user of the first terminal device and the user of the second terminal device.
And the output module 132 is configured to output target prompt information when the target distance is within the target range, where the target prompt information is used to indicate the target distance, the target distance is a distance between the first location and the second location, and the target prompt information changes with a change in the target distance.
Optionally, the obtaining module 131 is further configured to obtain a first route and a second route before obtaining a first location where the first terminal device is located and a second location where the second terminal device is located, where the first route is a route of the first terminal device, the second route is a route of the second terminal device, and destination points of the first route and the second route are the same; determining a meeting place of the first route and the second route; and outputting third prompt information, wherein the third prompt information is used for indicating the information of the meeting place, and the meeting place can comprise the first place.
Optionally, the meeting place is a first place; the obtaining module 131 is further configured to determine the target distance after obtaining the first location where the first terminal device is located and the second location where the second terminal device is located, and before the first terminal device outputs the target prompt information.
Optionally, the obtaining module 131 is specifically configured to obtain a second navigation route in the first terminal device; or acquiring the position information of the first terminal device at different moments, and estimating a first route according to the position information, wherein the position information is the positioning information of the first terminal device.
Optionally, the obtaining module 131 is specifically configured to receive a second route sent by a second terminal device, where the second route is a third navigation route in the second terminal device; or receiving the position information of the second terminal device at different moments, and estimating a second route according to the position information, wherein the position information is the positioning information of the second terminal device.
The terminal device provided by the embodiment of the present invention can implement each process shown in the above method embodiments, and is not described herein again to avoid repetition.
The embodiment of the invention provides a terminal device, which is characterized in that under the condition that a target terminal device is located in a first area, a first position where the first terminal device is located and a second position where the second terminal device is located are obtained, the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first place is located, the first place is a destination place in a first navigation route in the first terminal device or a place input by a user of the first terminal device, and the first place is a place appointed by the user of the first terminal device and the user of the second terminal device; and under the condition that the target distance is within the target range, outputting target prompt information, wherein the target prompt information is used for indicating the target distance, the target distance is the distance between the first position and the second position, and the target prompt information changes along with the change of the target distance. According to the scheme, after the target terminal device reaches the first area where the user of the first terminal device and the user of the second terminal device agree, the positions of the two terminal devices can be obtained, and the target prompt information which changes along with the change of the target distance is output under the condition that the distance between the two terminal devices is within the target range.
Fig. 6 is a hardware schematic diagram of a terminal device for implementing various embodiments of the present invention, where the terminal device 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 6 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The processor 110 is configured to, when a target terminal device is in a first area, obtain a first location where the first terminal device is located and a second location where the second terminal device is located, where the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first location is located, the first location is a destination point in a first navigation route in the first terminal device or a location input by a user of the first terminal device, the first location is a location appointed by the user of the first terminal device and the user of the second terminal device, and output target prompt information when the target distance is in a target range, where the target prompt information is used to indicate a target distance, the target distance is a distance between the first location and the second location, and the target prompt information changes with a change in the target distance.
The embodiment of the invention provides a terminal device, which is characterized in that under the condition that a target terminal device is located in a first area, a first position where the first terminal device is located and a second position where the second terminal device is located are obtained, the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first place is located, the first place is a destination place in a first navigation route in the first terminal device or a place input by a user of the first terminal device, and the first place is a place appointed by the user of the first terminal device and the user of the second terminal device; and under the condition that the target distance is within the target range, outputting target prompt information, wherein the target prompt information is used for indicating the target distance, the target distance is the distance between the first position and the second position, and the target prompt information changes along with the change of the target distance. According to the scheme, after the target terminal device reaches the first area where the user of the first terminal device and the user of the second terminal device agree, the positions of the two terminal devices can be obtained, and the target prompt information which changes along with the change of the target distance is output under the condition that the distance between the two terminal devices is within the target range.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 6, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 100 or may be used to transmit data between the terminal apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device 100 may further include a power supply 111 (such as a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. In addition, the terminal device 100 includes some functional modules that are not shown, and are not described in detail here.
The embodiment of the present invention further provides a terminal device, where the terminal device may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, each process executed by the terminal device in the foregoing method embodiments may be implemented, and the same technical effect may be achieved, and details are not repeated here to avoid repetition.
An embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process executed by a terminal device in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (7)
1. A navigation method is applied to a first terminal device, and is characterized in that the method comprises the following steps:
under the condition that a target terminal device is located in a first area, acquiring a first position where the first terminal device is located and a second position where a second terminal device is located, wherein the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first place is located, and the first place is a destination place in a first navigation route in the first terminal device;
outputting target prompt information under the condition that the target distance is within a target range, wherein the target prompt information is used for indicating the target distance, the target distance is the distance between the first position and the second position, and the target prompt information changes along with the change of the target distance;
before the obtaining of the first location where the first terminal device is located and the second location where the second terminal device is located, the method further includes: acquiring a first route and a second route, wherein the first route is the route of the first terminal equipment, the second route is the route of the second terminal equipment, and the destination points of the first route and the second route are the same;
the acquiring of the first route includes: acquiring position information of the first terminal device at different moments, acquiring a travel distance of a user within an interval time through position information of two adjacent times, calculating a moving speed of the first terminal device according to the travel distance and the interval time, predicting a travel mode of the user of the first terminal device according to the moving speed of the first terminal device, and estimating the first route according to the travel mode of the user of the first terminal device, wherein the position information of the first terminal device is positioning information of the first terminal device;
the obtaining the second route includes: receiving the position information of the second terminal device at different moments, acquiring the travelling distance of the user within the interval time through the position information of two adjacent times, calculating the moving speed of the second terminal device according to the travelling distance and the interval time, predicting the travel mode of the user of the second terminal device according to the moving speed of the second terminal device, and estimating the second route according to the travel mode of the user of the second terminal device, wherein the position information of the second terminal device is the positioning information of the second terminal device.
2. The method of claim 1,
determining a location of intersection of the first route and the second route, the location of intersection comprising the first location;
and outputting third prompt information, wherein the third prompt information is used for indicating the information of the meeting place.
3. The method of claim 2, wherein the meeting location is the first location;
after the first location where the first terminal device is located and the second location where the second terminal device is located are obtained, and before the first terminal device outputs the target prompt information, the method further includes:
determining the target distance.
4. A terminal device, which is a first terminal device, comprising: the device comprises an acquisition module and an output module;
the obtaining module is configured to obtain a first location where a first terminal device is located and a second location where a second terminal device is located when a target terminal device is located in a first area, where the target terminal device is at least one of the first terminal device and the second terminal device, the first area is an area where a first location is located, and the first location is a destination location in a first navigation route in the first terminal device;
the output module is configured to output target prompt information when a target distance is within a target range, where the target prompt information is used to indicate the target distance, the target distance is a distance between the first location and the second location, and the target prompt information changes with a change in the target distance;
the obtaining module is further configured to obtain a first route and a second route before the obtaining of the first location where the first terminal device is located and the second location where the second terminal device is located, where the first route is a route of the first terminal device, the second route is a route of the second terminal device, and destination points of the first route and the second route are the same;
the obtaining module is specifically configured to obtain position information of the first terminal device at different times, obtain a travel distance of a user within an interval time through position information of two adjacent times, calculate a moving speed of the first terminal device according to the travel distance and the interval time, estimate a trip mode of the user of the first terminal device according to the moving speed of the first terminal device, and estimate the first route according to the trip mode of the user of the first terminal device, where the position information of the first terminal device is positioning information of the first terminal device;
the obtaining module is specifically configured to receive position information of the second terminal device at different times, obtain a travel distance of a user within an interval time through position information of two adjacent times, calculate a moving speed of the second terminal device according to the travel distance and the interval time, estimate a travel mode of the user of the second terminal device according to the moving speed of the second terminal device, estimate the second route according to the travel mode of the user of the second terminal device, and use the position information of the second terminal device as positioning information of the second terminal device.
5. The terminal device of claim 4, wherein a meeting location of the first route and the second route is determined, the meeting location comprising the first location; and outputting third prompt information, wherein the third prompt information is used for indicating the information of the meeting place.
6. The terminal device of claim 5, wherein the point of intersection is the first point; the obtaining module is further configured to determine the target distance after obtaining the first location where the first terminal device is located and the second location where the second terminal device is located, and before the first terminal device outputs the target prompt information.
7. A terminal device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the navigation method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910101379.8A CN109813298B (en) | 2019-01-31 | 2019-01-31 | Navigation method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910101379.8A CN109813298B (en) | 2019-01-31 | 2019-01-31 | Navigation method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109813298A CN109813298A (en) | 2019-05-28 |
CN109813298B true CN109813298B (en) | 2021-07-20 |
Family
ID=66606498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910101379.8A Active CN109813298B (en) | 2019-01-31 | 2019-01-31 | Navigation method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109813298B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111947675B (en) * | 2020-07-31 | 2022-06-24 | 新石器慧通(北京)科技有限公司 | Man-vehicle mutual searching method and device based on unmanned tour guide vehicle and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103063207A (en) * | 2012-12-21 | 2013-04-24 | 天闻数媒科技(北京)有限公司 | Method for quick navigation, device for quick navigation and system for quick navigation |
CN105466416A (en) * | 2015-11-17 | 2016-04-06 | 广东欧珀移动通信有限公司 | A route recommending method and a user terminal |
CN107071192A (en) * | 2017-04-18 | 2017-08-18 | 北京小米移动软件有限公司 | Localization method and device in communication process |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPWO2008114369A1 (en) * | 2007-03-19 | 2010-06-24 | 富士通株式会社 | Route search system, mobile terminal, route providing server, and route providing program |
US9068837B2 (en) * | 2010-01-29 | 2015-06-30 | Here Global B.V. | Method of operating a navigation system |
CN106412238B (en) * | 2016-08-30 | 2019-08-23 | Oppo广东移动通信有限公司 | A kind of acquisition methods and mobile terminal of relative information |
CN107063277B (en) * | 2016-12-12 | 2020-04-03 | 四川九洲电器集团有限责任公司 | Navigation method and server for multi-member travel |
-
2019
- 2019-01-31 CN CN201910101379.8A patent/CN109813298B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103063207A (en) * | 2012-12-21 | 2013-04-24 | 天闻数媒科技(北京)有限公司 | Method for quick navigation, device for quick navigation and system for quick navigation |
CN105466416A (en) * | 2015-11-17 | 2016-04-06 | 广东欧珀移动通信有限公司 | A route recommending method and a user terminal |
CN107071192A (en) * | 2017-04-18 | 2017-08-18 | 北京小米移动软件有限公司 | Localization method and device in communication process |
Also Published As
Publication number | Publication date |
---|---|
CN109813298A (en) | 2019-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110995923B (en) | Screen projection control method and electronic equipment | |
CN109041148B (en) | Mobile terminal operation method and mobile terminal | |
CN110062105B (en) | Interface display method and terminal equipment | |
CN110221737B (en) | Icon display method and terminal equipment | |
CN109862504B (en) | Display method and terminal equipment | |
CN110058754B (en) | Option display method and terminal device | |
CN110058836B (en) | Audio signal output method and terminal equipment | |
CN109828705B (en) | Icon display method and terminal equipment | |
CN109979045B (en) | Information output method and terminal equipment | |
CN111142723B (en) | Icon moving method and electronic equipment | |
CN109600297B (en) | Identification clearing method and terminal equipment | |
CN108917766B (en) | Navigation method and mobile terminal | |
CN110753155A (en) | Proximity detection method and terminal equipment | |
CN111343710A (en) | Power adjustment method and electronic equipment | |
CN109257504B (en) | Audio processing method and terminal equipment | |
CN111093289A (en) | Service transmission method and electronic equipment | |
CN110940339A (en) | Navigation method and electronic equipment | |
CN109005297B (en) | Display method of navigation application and mobile terminal | |
CN110769162B (en) | Electronic equipment and focusing method | |
CN111158556B (en) | Display control method and electronic equipment | |
CN109813298B (en) | Navigation method and terminal equipment | |
CN110148167B (en) | Distance measuring method and terminal equipment | |
CN110035379B (en) | Positioning method and terminal equipment | |
CN109582264B (en) | Image display method and mobile terminal | |
CN109618278B (en) | Positioning method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |