CN111176338A - Navigation method, electronic device and storage medium - Google Patents

Navigation method, electronic device and storage medium Download PDF

Info

Publication number
CN111176338A
CN111176338A CN201911420011.4A CN201911420011A CN111176338A CN 111176338 A CN111176338 A CN 111176338A CN 201911420011 A CN201911420011 A CN 201911420011A CN 111176338 A CN111176338 A CN 111176338A
Authority
CN
China
Prior art keywords
navigation
camera
user
information
electronic device
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.)
Granted
Application number
CN201911420011.4A
Other languages
Chinese (zh)
Other versions
CN111176338B (en
Inventor
周绍杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911420011.4A priority Critical patent/CN111176338B/en
Publication of CN111176338A publication Critical patent/CN111176338A/en
Application granted granted Critical
Publication of CN111176338B publication Critical patent/CN111176338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • G05D3/12Control of position or direction using feedback
    • 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

Abstract

The embodiment of the invention discloses a navigation method, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring navigation information; based on the navigation information, the camera is controlled to rotate by a first angle, so that the camera faces a first direction, and the first direction comprises a traveling direction in the navigation information. The problem that a navigation mode is not applicable in some scenes due to the limitation of the size of a screen when the electronic equipment with a smaller screen is used for navigation can be solved.

Description

Navigation method, electronic device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a navigation method, electronic equipment and a storage medium.
Background
With the development of electronic devices and mobile internet, electronic devices become an indispensable part of life of people. More and more users are used to navigate through electronic devices while traveling.
Currently, the main navigation method is to calibrate the current position and the destination position of the user on a map, and display the routes of the two positions to the user through an electronic device. However, when navigating with an electronic device (e.g., a wearable device) having a small screen, the displayed navigation content is limited due to the limitation of the size of the screen, and the navigation effect is poor. Thus, the existing navigation methods are not applicable in some scenarios.
Disclosure of Invention
Embodiments of the present invention provide a navigation method, an electronic device, and a storage medium, which can solve the problem in the prior art that when an electronic device with a smaller screen is used for navigation, a navigation mode is not applicable in some scenes due to the limitation of the screen size.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a navigation method applied to an electronic device, where the electronic device includes a rotatable camera, and the method may include:
acquiring navigation information;
based on the navigation information, the camera is controlled to rotate by a first angle, so that the camera faces a first direction, and the first direction comprises a traveling direction in the navigation information.
In a second aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a rotatable camera, and the electronic device may include:
the acquisition module is used for acquiring navigation information;
and the regulation and control module is used for controlling the camera to rotate by a first angle based on the navigation information, so that the camera faces a first direction, and the first direction comprises the advancing direction in the navigation information.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps in 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, carries out the steps of the navigation method as indicated in the first aspect.
In the embodiment of the invention, the rotatable camera of the electronic device is controlled to rotate by a first angle through the acquired navigation information, so that the rotatable camera faces to the traveling direction in the navigation information, namely the first direction. Therefore, the mode that the rotatable camera is consistent with the advancing direction is combined, the advancing direction of the user can be prompted by the orientation of the rotatable camera in an obvious prompting mode, and the more effective prompting of the advancing direction can be realized through a visual navigation mode.
Drawings
Fig. 1 is a schematic view of an application scenario of a navigation method according to an embodiment of the present invention;
fig. 2 is a schematic view of another application scenario of a navigation method according to an embodiment of the present invention;
fig. 3 is a schematic view of another application scenario of a navigation method according to an embodiment of the present invention;
fig. 4 is a schematic view of another application scenario of a navigation method according to an embodiment of the present invention;
FIG. 5 is a flowchart of a navigation method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a wearable device according to an embodiment of the present invention;
fig. 7 is a flowchart of a navigation method based on a wearable device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another wearable device provided in the embodiment of the present invention;
fig. 9 is a flowchart of another navigation method based on a wearable device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another wearable device provided in the embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a hardware structure of an electronic 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.
For solving the problems in the related art, embodiments of the present invention provide a navigation method, an electronic device, and a storage medium, so as to solve the problem that the navigation method in the related art is not applicable in some scenarios.
The navigation method provided by the embodiment of the invention can be applied to at least the following 2 application scenarios, which are respectively explained as follows:
scene 1: based on the navigation method of the wearable device (for example: a smart watch), the wearable device can comprise a rotatable camera 10:
as shown in fig. 1, receiving a second input of the user determining the driving route; wherein the driving route comprises a starting position and an ending position of the driving route; then, responding to a second input, starting a target navigation mode, acquiring navigation information according to a driving route under the condition that the starting of the target navigation mode is detected, and controlling a rotatable camera on the wearable device to rotate by a first angle based on the navigation information so that the camera faces a first direction, wherein the first direction is a traveling direction in the navigation information. At this time, a first image 20 may be acquired according to the camera, the first image including a live-action image in the traveling direction; navigation marks generated according to the navigation information can be displayed on the first image so as to instruct a user to travel according to the first image on which the navigation marks are displayed. Here, when the travel route is changed, the navigation information is also updated, and thus the direction of the camera is also updated according to the change of the navigation information.
It should be noted that, as shown in fig. 1, the rotatable camera in the embodiment of the present invention is rotated in a plane on the plane where the dial is located, and the viewing range of the camera may include a viewing range of 0 to 360 degrees on the side of the dial. In addition, the camera can be driven to rotate by the regulating and controlling component in the navigation process, and can also be manually adjusted by a user. Optionally, the camera may rotate in a track on the side of the dial during navigation.
Therefore, the rotatable camera of the intelligent watch and the application of the navigation method can be combined, the rotatable camera is utilized to obtain a real-time scene intelligent navigation mode from the angle of a user, the defects of the traditional digital model navigation mode are overcome, and the advancing direction can be judged more intuitively through the orientation of the rotatable camera. In addition, a real-time image in the traveling direction is provided from the perspective of a user by utilizing the rotatable camera, and the route identification is displayed on the real-time image based on the traveling route, so that the defects that the traditional common navigation mode is single in navigation and only navigates according to a map are overcome. Therefore, the navigation mode provided by the embodiment of the invention ensures the navigation effect and is convenient for the user to identify the advancing direction.
It should be noted that, in the embodiment of the present invention, the function of the rotatable camera of the electronic device is not fixed at a certain position as in a conventional embedded camera, but changes along with the change of the direction of the watch body, for example, the function may change according to the change of the movement direction of the wrist of the person, and it may be understood that a direction may be always locked as in a compass.
Scene 2: the electronic device may include a device having a video recording or shooting function, a wearable device is taken as an example in the embodiment of the present invention to describe, and first multimedia information related to a user is acquired while navigating based on the electronic device, where the multimedia information may include an image of a face of the user, audio/video information, or a live-action image in a traveling direction, and the embodiment of the present invention is not limited in any way.
As shown in fig. 2-4, receiving a second input from the user to determine the driving route; wherein the travel route may include a start position and an end position of the travel route; then, in response to the second input, starting a target navigation mode, acquiring navigation information according to the driving route when the starting of the target navigation mode is detected, and controlling the rotatable camera 10 on the wearable device to rotate by a first angle based on the navigation information so that the camera faces a first direction, wherein the first direction is a traveling direction in the navigation information. At this time, the first multimedia information 40 of the driving route in the traveling direction, which may include the first image, may be acquired through the camera. Here, the electronic apparatus may further include a front camera 30 based on which first multimedia information related to the user in the traveling direction, such as roads, buildings, plants, and the like in the traveling direction, is acquired. In this way, the user can share the first multimedia information in the traveling direction and the first multimedia information related to the face of the user to the target user.
Therefore, the orientation of the rotatable camera on the electronic equipment is controlled to be consistent with the advancing direction in the navigation information, so that the problem that the user cannot know which direction to go at the beginning of navigation and the user needs to go where to go for complex road conditions can be effectively solved.
In addition, in the scene, when the user goes out of a certain place to travel or travel, the user can take pictures through the electronic device provided by the embodiment of the invention for memorial in the process of traveling, so that a plurality of captured images can be obtained in the navigation method provided by the embodiment of the invention, or video information (namely first multimedia information in the traveling direction) shot in the navigation process can be selected to be stored or shared to be a good memory. In addition, personal safety of the user can be recorded, for example, when the user carries a taxi, the user can shoot the building information or the road sign with the obvious A position through the rotatable camera, so that the multimedia information of the building information or the road sign with the obvious A position in the advancing direction can be reserved or shared to other people, the position information can be shared to other people, and the traveling safety of the user can be guaranteed.
Here, the method provided by the embodiment of the present invention may be applied to any scene in which a user holding an electronic device needs to navigate or navigate and acquire multimedia information such as a captured image or video, in addition to the 2 scenes. The method provided by the embodiment of the invention can effectively prompt the user holding the electronic equipment to pay attention to the surrounding environment and avoid timely under the condition of road congestion or traffic accidents, so as to solve the problems that in the related technology, electronic equipment with a smaller screen is utilized, such as: when the wearable device is used for navigation, the navigation mode is not applicable in some scenes due to the limitation of the size of the screen.
It should be noted that the electronic device in the embodiment of the present invention may include at least one of the following: wearable equipment, cell-phone, panel computer etc. have rotatable camera and the equipment that can navigate.
Based on the application scenario, the navigation method provided by the embodiment of the invention is described in detail below.
Fig. 5 is a flowchart of a navigation method according to an embodiment of the present invention.
As shown in fig. 5, the navigation method may specifically include steps 510 to 520, which are specifically as follows:
first, in step 510, navigation information is obtained. Next, step 520, based on the navigation information, the camera is controlled to rotate by a first angle, so that the camera faces a first direction, and the first direction includes a traveling direction in the navigation information.
Therefore, the rotatable camera of the electronic equipment is controlled to rotate by a first angle through the acquired navigation information, so that the rotatable camera faces to the traveling direction, namely the first direction, in the navigation information. Therefore, the mode that the rotatable camera is consistent with the advancing direction is combined, the advancing direction of the user is obviously prompted by the orientation of the rotatable camera, and the more effective prompting of the advancing direction can be realized through a visual navigation mode.
The above steps are described in detail below:
step 510, navigation information is obtained.
Here, in a possible embodiment, the method first determines how to start the target navigation mode, and the method may specifically include:
receiving a second input of the user for determining the driving route; wherein the driving route comprises a starting position and an ending position of the driving route;
in response to the second input, a target navigation mode is initiated.
For example: receiving a second input of the user input from the position A to the position B, and starting a target navigation mode in response to the second input, wherein the target navigation mode can be a navigation mode towards the traveling direction through a rotatable camera in the embodiment of the invention; or receiving a second input of the address of the position B input by the user, where the target navigation mode may be started according to the position B and the automatically acquired position a currently located by the user. Here, before the target navigation mode is started, an operation of selecting the target navigation mode from a plurality of navigation modes by a user may be received, where the plurality of navigation modes may include a general navigation mode by displaying navigation information only on the interface, a navigation mode by pointing to a traveling direction through a rotatable camera in an embodiment of the present invention, and the like. The related common mode may be a mode in which a three-dimensional model map or a two-dimensional plane map is displayed on the electronic device according to the map and the positioning of the electronic device, and then the user is navigated.
Based thereon, navigation information is determined based on the first input and the target navigation mode to perform step 520.
And step 520, controlling the camera to rotate by a first angle according to the navigation information so as to enable the camera to face a first direction, wherein the first direction is a direction indicating the traveling direction of the user in the navigation information. For example, when the orientation of the rotatable camera is an angle a, the rotatable camera is controlled according to the first navigation information, so that the camera performs plane rotation from the angle a to the angle B at a first angle on the plane where the dial is located, and at this time, the orientation of the rotatable camera is a first direction at the angle B. Additionally, in one possible embodiment, it may occur that the direction in which the user is traveling changes, such as: the south walking mode is changed into the south walking mode, and the direction of the walking is changed into the east walking mode, wherein the direction of the walking is changed into 500 meters. Thus, it can be realized by the following steps:
and in the case that the navigation information indicates that the traveling direction is updated from the first direction to the second direction, controlling the camera to rotate by a second angle so that the camera faces the second direction. The second direction here is a direction in the navigation information indicating that the user is traveling.
Like this, through having combined rotatable camera and the unanimous mode of direction of advance, when the direction of advance appears changing in navigation information, can be according to the direction that the rotatable camera of navigation information control was marchd the user all the time, effectively solved to complicated road conditions, the problem of where should go, need not the user and opens electronic equipment's screen, can look over the direction of advance directly perceivedly through looking over the orientation of camera.
In another possible embodiment, after the step of controlling the camera to rotate by the first angle, the method may further include:
acquiring a first image through a camera, wherein the first image comprises a live-action image in the advancing direction; and displaying the identifier generated according to the navigation information on the first image.
Here, two cases may occur, the first case is that some landmark objects, such as traffic lights, intersections, signs, etc., may be recognized in the first image so as to confirm the current position of the user, and then, the landmark objects are identified according to the navigation information on the first image. In the second case, the identifying object cannot be identified, and at this time, the first image may be identified directly according to the navigation information and displayed to the user.
Wherein the logo displayed on the first image may include at least one of: real-time road conditions, travel distance, travel speed, and travel direction. As shown in fig. 6, according to the real-time road condition in the navigation route, the real-time road condition may be represented by colors of the indicator lights 60, for example, green light indicates clear, red light indicates congestion, yellow light indicates congestion, the travel distance is 200 meters, the travel speed is limited as the speed of the road section, at least one of the safety of the vehicle, and the travel direction is displayed on the first image, for example, 200 meters ahead.
What needs to be reminded is that when the driving direction changes, the vehicle goes forward for 100 meters to turn left, and at this moment, the direction of the rotatable camera needs to be regulated and controlled to be consistent with the left-turning direction of the forward vehicle, so as to remind the user of the need of turning left. In the embodiment of the invention, the change of the driving direction of the user can be prompted in the modes of color change of the indicator lamp, voice prompt, vibration prompt, advance rotation of the rotatable camera or picture display and the like.
Under such an embodiment, the user may be instructed to travel according to the navigation route indicator displayed on the first image and the direction indicated by the rotatable camera; or according to the first image, a user is instructed to travel according to the voice broadcast navigation route and the direction indicated by the rotatable camera in a voice broadcast mode.
Therefore, the rotatable camera is used for providing a real-time image in the advancing direction from the angle of the user, and the route identification is displayed on the real-time image based on the driving route, so that the defects that the traditional common navigation mode is single in navigation and only navigates according to a map are overcome. Therefore, the navigation mode provided by the embodiment of the invention ensures the navigation effect and is convenient for the user to identify the advancing direction.
In another possible embodiment, in order to facilitate the user to share the image in the process of traveling, after the camera is controlled to rotate by the first angle in the embodiment of the present invention, the following steps may be further performed:
controlling a camera to acquire first multimedia information; receiving a first input of a user; and responding to the first input, and sharing the first multimedia information to the target user.
Further, in response to the first input, the first multimedia information and the geographic location information corresponding to the first multimedia information are shared to the target user.
The first multimedia information involved in the embodiment of the present invention may include at least one of the following information: images in the direction of travel, images related to the user, or audiovisual information.
The electronic equipment can further comprise a front camera, and images or audio and video information related to the user, such as facial images of the user, are acquired based on the front camera. Therefore, when the electronic equipment is used for travelling or traveling outside a certain place, the electronic equipment provided by the embodiment of the invention can be used for carrying out memorial in the traveling process.
In addition, two cameras, for example rotatable camera and leading camera, can acquire first multimedia information simultaneously or successively, for example: if a target user needs to share the position information with the user, the operation of double-clicking the screen can be received, the first multimedia information determined to be shared by the user is shared, or the first multimedia information and the geographic position information corresponding to the first multimedia information are shared to the target user, so that the user does not need to stop the current running process to self-shoot or shoot other multimedia information when needing to share the position, and in addition, the user does not need to shoot twice, namely shooting the multimedia information in the running process and the multimedia information related to the user in the running process. Therefore, the method can also be applied to scenes that the current anchor travels and live broadcasts.
Thus, many captured images obtained in the navigation method provided by the embodiment of the invention or video information (i.e. first multimedia information in the traveling direction) shot in the navigation process can be selected to be stored or shared as a good recall. In addition, the geographic position information is shared to the target user, the travelling route can be recorded, personal safety of the user (for example, carrying a network appointment car) is guaranteed, and therefore the multimedia information in all travelling directions can be reserved or shared to other people, and the travelling safety of people is guaranteed.
Finally, in yet another possible embodiment, after step 520, the method may further include:
receiving a third input that the user stops the target navigation mode and starts the common navigation mode;
in response to a third input, the rotatable camera is adjusted to return to a preset position, such as an initial position of the rotatable camera before rotation, and the driving route is displayed in the first navigation mode.
For example: and under the condition that the destination is reached or the user stops the target navigation mode, regulating and controlling the rotatable camera to recover to a preset position, and displaying the driving route in the common navigation mode.
In summary, in the embodiment of the present invention, the rotatable camera of the electronic device is controlled to rotate by the first angle through the acquired navigation information, so that the rotatable camera faces the traveling direction in the navigation information, that is, the first direction. Therefore, the mode that the rotatable camera is consistent with the advancing direction is combined, the advancing direction of the user is obviously prompted by the orientation of the rotatable camera, and the more effective prompting of the advancing direction can be realized through a visual navigation mode. In addition, a real-time image in the traveling direction is provided from the perspective of a user by utilizing the rotatable camera, and the route identification is displayed on the real-time image based on the traveling route, so that the defects that the traditional common navigation mode is single in navigation and only navigates according to a map are overcome. Therefore, the navigation mode provided by the embodiment of the invention ensures the navigation effect and is convenient for the user to identify the advancing direction.
In order to facilitate understanding of the method provided by the embodiment of the present invention, based on the above contents, the following takes the above scenario 1 and scenario 2 as an example to illustrate the navigation method provided by the embodiment of the present invention.
Example 1: explanation is made based on the application scenario shown in fig. 1
Fig. 7 is a flowchart of a navigation method based on a wearable device according to an embodiment of the present invention.
It should be noted that, the wearable device in the embodiment of the present invention includes a rotatable camera, and the following method is performed based on the wearable device.
As shown in fig. 7, the method may include steps 710-760, which are specifically as follows:
and step 710, receiving a second input of the user for determining the driving route, and determining the driving route.
The driving route comprises a starting position, an ending position and a route from the starting position to the ending position of the driving route.
In response to the second input, a plurality of navigation modes are displayed to prompt the user to select a target navigation mode, step 720.
Here, the plurality of navigation modes may include a live view navigation mode, a general navigation mode, and the like.
Step 730, receiving a preset operation that the user determines that the live-action navigation mode is the target navigation mode among the plurality of navigation modes, and starting the target navigation mode in response to the preset operation.
And 740, under the condition that the starting of the target navigation mode is detected, acquiring navigation information based on the navigation mode, and controlling the rotatable camera to rotate by a first angle, so that the camera faces a first direction, wherein the first direction comprises a traveling direction in the navigation information.
Therefore, the user can know the traveling direction of the user only by looking at the orientation of the rotatable camera without looking at the display screen of the electronic equipment.
And step 750, acquiring a first image in the traveling direction through the rotatable camera, and displaying the identifier determined according to the navigation information on the first image.
And displaying at least one identifier of real-time road conditions, traveling distance, traveling speed and traveling direction determined according to the navigation information on the first image.
Here, by shooting the live-action image, the problem that the navigation does not know which direction to go to at first and where to go to the complicated road condition can be solved, and the problem that the live-action navigation in the wearable device needs the user to aim at the road condition and shoot by himself/herself is also solved.
Step 760, displaying the identifier generated according to the navigation information on the first image to instruct the user to travel according to the first image with the navigation route identifier.
Here, the user may travel according to the first image with the navigation route identifier displayed by the wearable device, or may travel according to the navigation route in the first image broadcasted by voice and the direction indicated by the rotatable camera.
For example: the wearable device will alert the user before the user walks to the place to turn. If the user is unfamiliar with the road condition, the screen can be double-clicked again, the target navigation mode is switched, the rotatable camera can capture a clear first image, and navigation route identification is carried out on the first image so as to indicate where the user should go; if the road condition is familiar, the direction indicated by the arrow is always followed without switching, namely the road condition is processed according to the orientation of the rotatable camera.
It should be noted that, if an input that the user switches different navigation modes or wants to save power is received, the target navigation mode is triggered to be suspended, and the common navigation mode is started.
For example: as shown in fig. 8, when the user has confirmed the travel route, double-clicking the first image starts the general navigation mode, and the first image is not displayed, but the non-live view image 80, or an image related to the general navigation mode, is displayed. Here, in a possible embodiment, the power saving mode may be entered while the normal navigation mode is turned on, so as to save power.
Therefore, the method provided by the embodiment of the invention can effectively solve the problem that the current wearable equipment has poor navigation effect due to undersize of a screen, such as: since the screen of the wearable device only displays specific text and arrow directions, it is not convenient to preview the whole situation if the screen is too small, and there is a problem that it is often unclear which direction to go when navigation starts. In addition, the rotatable camera can provide a real-time image in the traveling direction from the perspective of a user, and the real-time image is subjected to route identification based on a traveling route, so that the defects that the traditional common navigation mode is single in navigation and only navigates according to a map are overcome. Therefore, the navigation mode provided by the embodiment of the invention can improve the accuracy and efficiency of navigation while ensuring the navigation effect, and the navigation mode can be applied in most scenes.
Example 2: explanation is made based on the application scenario shown in fig. 2
It should be noted that, unlike embodiment 1 described above, the wearable device in the embodiment of the present invention may include a rotatable camera and a front camera, and the following method is performed based on the wearable device.
Fig. 9 is a flowchart of another navigation method based on a wearable device according to an embodiment of the present invention.
Based on the method shown in embodiment 1, the method provided in embodiment 2 may be as shown in fig. 9, and the method may include steps 910 to 980, specifically as follows:
and step 910, receiving a second input of the user for determining the driving route, and determining the driving route.
In response to the second input, a plurality of navigation modes are displayed to prompt the user to select a target navigation mode, step 920. Here, the plurality of navigation modes may include a target navigation mode, a general navigation mode, and the like.
Step 930, receiving a preset operation of the user to determine the target navigation mode among the plurality of navigation modes, and starting the target navigation mode in response to the preset operation.
And 940, under the condition that the starting of the target navigation mode is detected, acquiring navigation information based on the navigation mode, and controlling the rotatable camera to rotate by a first angle to enable the camera to face a first mode, wherein the first direction comprises a traveling direction in the navigation information.
Step 950, acquiring a first image in the traveling direction through the rotatable camera, and displaying the identifier determined according to the navigation information on the first image.
Step 960, displaying the identifier generated according to the navigation information on the first image to instruct the user to travel according to the first image with the navigation route identifier.
It should be noted that the contents of steps 910 to 960 are the same as the contents of steps 710 to 760 in embodiment 1, and thus, the details of steps 510 to 560 are referred to for details, and are not described herein again.
Step 970, when detecting that the user travels according to the navigation route displayed by the first image, acquiring first multimedia information related to the user through the front camera.
It should be noted that, as shown in fig. 10, the rotatable camera may also be triggered to acquire the first multimedia information during the traveling process.
Step 980, responding to a first input of the user for sharing the first multimedia information, and sharing the first multimedia information to the target user.
For example: if a friend needs to send position information, the friend can shoot by double-clicking the screen and click to share the position information and send the position information to the friend.
Here, the target information may include at least one of first multimedia information that the user determines to share, geographical location information corresponding to the first multimedia information, and sharing of the first multimedia information related to the user to the target user.
Here, step 970 and step 980 may be understood as that, during the traveling of the user, the rotatable camera acquires first multimedia information such as a first image, a video and the like during the traveling, and the front camera acquires first multimedia information such as an image, an audio and video and the like related to the user towards the face direction of the user. Therefore, a user can obtain the first multimedia information while navigating through the electronic equipment, so that when the user travels out of a certain place or travels, the method and the electronic equipment provided by the embodiment of the invention can be used for memorializing in the traveling process, and a plurality of captured images can be obtained by using the navigation method provided by the embodiment of the invention, or video information shot in the navigation process, such as the first multimedia information in the traveling direction or the first multimedia information related to the user, can be selected to be stored or shared to be a good memory.
In addition, the driving route can be expanded and recorded, for example, a network car booking is carried, so that multimedia information in all the advancing directions can be reserved or shared to other people, and the traveling safety of people is guaranteed.
Based on the above method, an embodiment of the present invention further provides an electronic device, and the electronic device in the embodiment of the present invention is specifically described in detail with reference to fig. 11.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 11, the electronic device 11 may be applied to an electronic device, and the electronic device 11 may include:
an obtaining module 1101, configured to obtain navigation information;
the control module 1102 is configured to control the camera to rotate by a first angle based on the navigation information, so that the camera faces a first direction, where the first direction includes a traveling direction in the navigation information.
In a possible embodiment, the control module 1102 is specifically configured to, in a case that the navigation information indicates that the traveling direction is updated from the first direction to the second direction, control the camera to rotate by a second angle, so that the camera faces the second direction.
Like this, through having combined rotatable camera and the unanimous mode of direction of advance to the direction of advance that makes rotatable camera obvious suggestion user has effectively solved to complicated road conditions, the problem of where should go, need not that the user opens electronic equipment's screen can audio-visual look around the direction of advance.
In addition, in another possible embodiment, the electronic device further includes an acquisition module and a generation module; wherein the content of the first and second substances,
the acquisition module is used for acquiring a first image through the camera, wherein the first image comprises a live-action image in the advancing direction;
and the generating module is used for displaying the identifier generated according to the navigation information on the first image.
Here, a rotatable camera is used for providing a real-time image in the traveling direction from the perspective of a user, and a route mark is displayed on the real-time image based on the traveling route, so that the defect that the traditional common navigation mode is single in navigation and only navigates according to a map is overcome. Therefore, the navigation mode provided by the embodiment of the invention ensures the navigation effect and is convenient for the user to identify the advancing direction.
In yet another possible embodiment, the electronic device further comprises a receiving module and a processing module; wherein the content of the first and second substances,
the regulation and control module is used for controlling the camera to acquire first multimedia information;
the receiving module is used for receiving a first input of a user;
and the processing module is used for responding to the first input and sharing the first multimedia information to the target user.
Based on this, the processing module in the embodiment of the present invention is specifically configured to, in response to the first input, share the first multimedia information and the geographic location information corresponding to the first multimedia information to the target user.
Here, many captured images obtained in the navigation method provided by the embodiment of the present invention, or video information (i.e., first multimedia information in the traveling direction) captured in the navigation process may be selected to be saved or shared as a good recall. In addition, the geographic position information is shared to the target user, the travelling route can be recorded, personal safety of the user (for example, carrying a network appointment car) is guaranteed, and therefore the multimedia information in all travelling directions can be reserved or shared to other people, and the travelling safety of people is guaranteed.
In the embodiment of the invention, the rotatable camera of the electronic device is controlled to rotate by a first angle through the acquired navigation information, and the rotatable camera faces to the traveling direction in the navigation information, namely the first direction. Therefore, the mode that the rotatable camera is consistent with the advancing direction is combined, the advancing direction of the user is obviously prompted by the orientation of the rotatable camera, and the more effective prompting of the advancing direction can be realized through a visual navigation mode.
Fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
The electronic device 1200 includes, but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, a processor 1210, a power source 1211, and a camera 1212. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 1210 is configured to obtain navigation information;
and a processor 1210 configured to control the camera 1212 to rotate by a first angle based on the navigation information, so that the camera faces a first direction, where the first direction includes a traveling direction in the navigation information. Therefore, the rotatable camera of the electronic equipment is controlled to rotate by a first angle through the acquired navigation information, and the rotatable camera faces to the traveling direction in the navigation information, namely the first direction. Therefore, the mode that the rotatable camera is consistent with the advancing direction is combined, the advancing direction of the user is obviously prompted by the orientation of the rotatable camera, and the more effective prompting of the advancing direction can be realized through a visual navigation mode.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1201 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink resources from a base station and then processes the received downlink resources to the processor 1210; in addition, the uplink resource is transmitted to the base station. Typically, the radio frequency unit 1201 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 1201 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 1202, such as to assist the user in emailing, browsing web pages, and accessing streaming media.
The audio output unit 1203 may convert an audio resource received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into an audio signal and output as sound. Also, the audio output unit 1203 may also provide audio output related to a specific function performed by the electronic apparatus 1200 (e.g., a call signal reception sound, a message reception sound, and the like). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1204 is used to receive audio or video signals. The input Unit 1204 may include a Graphics Processing Unit (GPU) 12041 and a microphone 12042, and the Graphics processor 12041 processes an image resource of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1207. The image frames processed by the graphics processor 12041 may be stored in the memory 1209 (or other storage medium) or transmitted via the radio frequency unit 1201 or the network module 1202. The microphone 12042 can receive sound and can process such sound into an audio asset. The processed audio resources may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1201 in case of the phone call mode.
The electronic device 1200 also includes at least one sensor 1205, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 12061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 12061 or backlight when the electronic device 1200 moves to the ear. As one type of motion sensor, an 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 posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., and will not be described further herein.
The display unit 1206 is used to display information input by the user or information provided to the user. The Display unit 1206 may include a Display panel 12061, and the Display panel 12061 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 1207 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 12071 (e.g., operations by a user on or near the touch panel 12071 using a finger, a stylus, or any suitable object or attachment). The touch panel 12071 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 1210, receives a command from the processor 1210, and executes the command. In addition, the touch panel 12071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1207 may include other input devices 12072 in addition to the touch panel 12071. In particular, the other input devices 12072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 12071 may be overlaid on the display panel 12061, and when the touch panel 12071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1210 to determine the type of the touch event, and then the processor 1210 provides a corresponding visual output on the display panel 12061 according to the type of the touch event. Although the touch panel 12071 and the display panel 12061 are shown as two separate components in fig. 12 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 12071 and the display panel 12061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 1208 is an interface for connecting an external device to the electronic apparatus 1200. 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 resource 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 1208 may be used to receive input from an external device (e.g., resource information, power, etc.) and transmit the received input to one or more elements within the electronic apparatus 1200 or may be used to transmit resources between the electronic apparatus 1200 and the external device.
The memory 1209 may be used to store software programs and various resources. The memory 1209 may mainly include a storage program area and a storage resource area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage resource area may store resources (such as audio resources, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1209 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 1210 is a control center of the electronic device, connects various parts of the whole electronic device using various interfaces and lines, and performs various functions and processing resources of the electronic device by running or executing software programs and/or modules stored in the memory 1209 and calling resources stored in the memory 1209, thereby performing overall monitoring of the electronic device. Processor 1210 may include one or more processing units; preferably, the processor 1210 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 is to be appreciated that the modem processor described above may not be integrated into processor 1210.
The electronic device 1200 may further include a power source 1211 (e.g., a battery) for supplying power to various components, and preferably, the power source 1211 may be logically connected to the processor 1210 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
The electronic device 1200 may further include a camera 1212, where the camera 1212 in the embodiment of the present invention may include a rotatable camera and a front camera. The rotatable camera and the front camera may be configured to perform at least one step of the navigation method, and as shown in the foregoing, the details are not repeated herein.
In addition, the electronic device 1200 includes some functional modules that are not shown, and are not described in detail herein.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed in a computer, the computer is caused to execute the steps of the navigation method of the embodiments of the present invention.
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 an electronic 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 (10)

1. A navigation method is applied to an electronic device, the electronic device comprises a rotatable camera, and the navigation method is characterized by comprising the following steps:
acquiring navigation information;
based on the navigation information, controlling the camera to rotate by a first angle so that the camera faces a first direction, wherein the first direction comprises a traveling direction in the navigation information.
2. The method of claim 1, further comprising:
and controlling the camera to rotate by a second angle so that the camera faces to a second direction when the navigation information indicates that the traveling direction is updated from the first direction to the second direction.
3. The method of claim 1, wherein after controlling the camera to turn a first angle based on the navigation information, the method further comprises:
acquiring a first image by the camera, wherein the first image comprises a live-action image in the travelling direction;
and displaying the identifier generated according to the navigation information on the first image.
4. The method of claim 1, wherein after controlling the camera to turn a first angle based on the navigation information, the method further comprises:
controlling the camera to acquire first multimedia information;
receiving a first input of a user;
and responding to the first input, and sharing the first multimedia information to a target user.
5. The method of claim 4, wherein the sharing the first multimedia information to a target user in response to the first input comprises:
responding to the first input, and sharing the first multimedia information and the geographical position information corresponding to the first multimedia information to a target user.
6. An electronic device, the electronic device including a rotatable camera, comprising:
the acquisition module is used for acquiring navigation information;
and the regulation and control module is used for controlling the camera to rotate by a first angle based on the navigation information so that the camera faces a first direction, and the first direction comprises a traveling direction in the navigation information.
7. The electronic device according to claim 6, wherein the control module is specifically configured to, in a case that the navigation information indicates that the traveling direction is updated from the first direction to a second direction, control the camera to rotate by a second angle so that the camera faces the second direction.
8. The electronic device of claim 6, further comprising an acquisition module and a generation module; wherein the content of the first and second substances,
the acquisition module is used for acquiring a first image through the camera, wherein the first image comprises a live-action image in the advancing direction;
the generating module is used for displaying the identifier generated according to the navigation information on the first image.
9. The electronic device of claim 6, further comprising a receiving module and a processing module; wherein the content of the first and second substances,
the regulation and control module is used for controlling the camera to acquire first multimedia information;
the receiving module is used for receiving a first input of a user;
the processing module is used for responding to the first input and sharing the first multimedia information to a target user.
10. The electronic device of claim 9, wherein the processing module is specifically configured to, in response to the first input, share the first multimedia information and geographic location information corresponding to the first multimedia information to a target user.
CN201911420011.4A 2019-12-31 2019-12-31 Navigation method, electronic device and storage medium Active CN111176338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911420011.4A CN111176338B (en) 2019-12-31 2019-12-31 Navigation method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911420011.4A CN111176338B (en) 2019-12-31 2019-12-31 Navigation method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111176338A true CN111176338A (en) 2020-05-19
CN111176338B CN111176338B (en) 2024-03-22

Family

ID=70649130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911420011.4A Active CN111176338B (en) 2019-12-31 2019-12-31 Navigation method, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111176338B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705273A (en) * 2020-05-20 2021-11-26 上海高德威智能交通系统有限公司 Traffic sign identification method and device and electronic equipment
CN113916237A (en) * 2021-08-30 2022-01-11 读书郎教育科技有限公司 Intelligent watch navigation system and method capable of achieving energy-saving navigation

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013165398A (en) * 2012-02-10 2013-08-22 Canon Inc Imaging apparatus, receiving device and control method thereof
CN206049494U (en) * 2016-08-17 2017-03-29 江苏卡威汽车研究院有限公司 A kind of intelligent vehicle-carried AFS control system
CN206270672U (en) * 2016-10-27 2017-06-20 深圳市健云互联科技有限公司 It is a kind of with can 360 degree of intelligent watch of rotating camera
CN108491485A (en) * 2018-03-13 2018-09-04 北京小米移动软件有限公司 Information cuing method, device and electronic equipment
CN207924392U (en) * 2018-03-26 2018-09-28 广东小天才科技有限公司 A kind of smartwatch
CN108900770A (en) * 2018-07-17 2018-11-27 广东小天才科技有限公司 A kind of method, apparatus, smartwatch and the mobile terminal of the rotation of control camera
CN109059901A (en) * 2018-09-06 2018-12-21 深圳大学 A kind of AR air navigation aid, storage medium and mobile terminal based on social application

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013165398A (en) * 2012-02-10 2013-08-22 Canon Inc Imaging apparatus, receiving device and control method thereof
CN206049494U (en) * 2016-08-17 2017-03-29 江苏卡威汽车研究院有限公司 A kind of intelligent vehicle-carried AFS control system
CN206270672U (en) * 2016-10-27 2017-06-20 深圳市健云互联科技有限公司 It is a kind of with can 360 degree of intelligent watch of rotating camera
CN108491485A (en) * 2018-03-13 2018-09-04 北京小米移动软件有限公司 Information cuing method, device and electronic equipment
CN207924392U (en) * 2018-03-26 2018-09-28 广东小天才科技有限公司 A kind of smartwatch
CN108900770A (en) * 2018-07-17 2018-11-27 广东小天才科技有限公司 A kind of method, apparatus, smartwatch and the mobile terminal of the rotation of control camera
CN109059901A (en) * 2018-09-06 2018-12-21 深圳大学 A kind of AR air navigation aid, storage medium and mobile terminal based on social application

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705273A (en) * 2020-05-20 2021-11-26 上海高德威智能交通系统有限公司 Traffic sign identification method and device and electronic equipment
CN113916237A (en) * 2021-08-30 2022-01-11 读书郎教育科技有限公司 Intelligent watch navigation system and method capable of achieving energy-saving navigation

Also Published As

Publication number Publication date
CN111176338B (en) 2024-03-22

Similar Documents

Publication Publication Date Title
CN110618800B (en) Interface display method, device, equipment and storage medium
CN108174103B (en) Shooting prompting method and mobile terminal
CN109040968B (en) Road condition reminding method, mobile terminal and computer readable storage medium
JP2017538948A (en) Navigation, navigation video generation method and apparatus
CN111400610B (en) Vehicle-mounted social method and device and computer storage medium
CN110986930A (en) Equipment positioning method and device, electronic equipment and storage medium
CN109684277B (en) Image display method and terminal
CN110751854A (en) Parking guidance method and device for automobile and storage medium
KR20160100188A (en) Mobile terminal and method of controlling the same
CN111854780A (en) Vehicle navigation method, device, vehicle, electronic equipment and storage medium
CN111176338B (en) Navigation method, electronic device and storage medium
CN111752450A (en) Display method and device and electronic equipment
JP6145563B2 (en) Information display device
CN110942023A (en) Indication method, device and equipment for vehicle vision blind area and storage medium
CN110470293B (en) Navigation method and mobile terminal
CN111754564B (en) Video display method, device, equipment and storage medium
CN111383243B (en) Method, device, equipment and storage medium for tracking target object
CN110891122A (en) Wallpaper pushing method and electronic equipment
JP2004125446A (en) Navigation device and navigation program
CN107730030B (en) Path planning method and mobile terminal
CN115904188A (en) Method and device for editing house-type graph, electronic equipment and storage medium
CN112699906B (en) Method, device and storage medium for acquiring training data
JP5527005B2 (en) POSITION ESTIMATION DEVICE, POSITION ESTIMATION METHOD, AND POSITION ESTIMATION PROGRAM
CN112863168A (en) Traffic grooming method and device, electronic equipment and medium
CN110944294B (en) Movement track recording method, device, system, computer equipment and storage medium

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