[go: up one dir, main page]

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

Navigation method, electronic device and storage medium Download PDF

Info

Publication number
CN111176338B
CN111176338B CN201911420011.4A CN201911420011A CN111176338B CN 111176338 B CN111176338 B CN 111176338B CN 201911420011 A CN201911420011 A CN 201911420011A CN 111176338 B CN111176338 B CN 111176338B
Authority
CN
China
Prior art keywords
navigation
camera
information
user
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.)
Active
Application number
CN201911420011.4A
Other languages
Chinese (zh)
Other versions
CN111176338A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

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 a first angle so that the camera faces a first direction, and the first direction comprises a travelling direction in the navigation information. The navigation method can solve the problem that when the electronic equipment with a smaller screen is used for navigation, the navigation mode is not applicable in some scenes due to the limitation of the screen size.

Description

导航方法、电子设备及存储介质Navigation methods, electronic devices and storage media

技术领域Technical field

本发明实施例涉及通信技术领域,尤其涉及一种导航方法、电子设备及存储介质。Embodiments of the present invention relate to the field of communication technology, and in particular, to a navigation method, electronic device and storage medium.

背景技术Background technique

随着电子设备以及移动互联网的发展,电子设备成为人们生活中不可缺少的一部分。越来越多的用户在出行时习惯通过电子设备进行导航。With the development of electronic devices and mobile Internet, electronic devices have become an indispensable part of people's lives. More and more users are accustomed to navigating through electronic devices when traveling.

目前,主要的导航方式是通过在地图上标定用户当前的位置和目的地的位置,并将两个位置的路线通过电子设备显示给用户。然而,在利用屏幕较小的电子设备(例如:可穿戴设备)进行导航时,由于屏幕尺寸的限制,导致显示的导航内容受到局限,导航效果差。由此,现有的导航方式在一些场景中并不适用。Currently, the main navigation method is to mark the user's current location and the location of the destination on a map, and display the routes to the two locations to the user through an electronic device. However, when using electronic devices with smaller screens (such as wearable devices) for navigation, due to the limitation of screen size, the displayed navigation content is limited and the navigation effect is poor. Therefore, existing navigation methods are not suitable in some scenarios.

发明内容Contents of the invention

本发明实施例提供一种导航方法、电子设备及存储介质,能够解决现有技术中,在利用屏幕较小的电子设备进行导航时,由于屏幕尺寸的限制,导航方式在一些场景中并不适用的问题。Embodiments of the present invention provide a navigation method, electronic device and storage medium, which can solve the problem in the existing technology that when using electronic devices with smaller screens for navigation, the navigation method is not suitable in some scenarios due to the limitation of the screen size. The problem.

为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:

第一方面,本发明实施例提供了一种导航方法,应用于电子设备,电子设备包括可转动的摄像头,该方法可以包括:In a first aspect, an embodiment of the present invention provides a navigation method applied to an electronic device. The electronic device includes a rotatable camera. The method may include:

获取导航信息;Get navigation information;

基于导航信息,控制摄像头转动第一角度,使得摄像头朝向第一方向,第一方向包括所述导航信息中的行进方向。Based on the navigation information, the camera is controlled to rotate at a first angle so that the camera faces a first direction, and the first direction includes the traveling direction in the navigation information.

第二方面,本发明实施例提供了一种电子设备,电子设备包括可转动的摄像头,该电子设备可以包括:In a second aspect, embodiments of the present invention provide an electronic device. The electronic device includes a rotatable camera. The electronic device may include:

获取模块,用于获取导航信息;Obtain module, used to obtain navigation information;

调控模块,用于基于导航信息,控制摄像头转动第一角度,使得摄像头朝向第一方向,第一方向包括所述导航信息中的行进方向。The control module is configured to control the camera to rotate a first angle based on the navigation information so that the camera faces a first direction, and the first direction includes the traveling direction in the navigation information.

第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现如第一方面所示的导航方法中的步骤。In a third aspect, embodiments of the present invention provide an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the implementation is as shown in the first aspect. The steps in the navigation method.

第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面所示的导航方法中的步骤。In a fourth aspect, a computer-readable storage medium is provided. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps in the navigation method shown in the first aspect are implemented.

在本发明实施例中,通过获取到的导航信息,控制电子设备的可转动的摄像头转动第一角度,使得可转动的摄像头朝向导航信息中的行进方向即第一方向。这样,通过结合了可转动摄像头与行进方向相一致的方式,以使用明显的提示方式即可转动摄像头的朝向提示用户的行进方向,通过可视化的导航方式,能够实现更有效的行进方向的提示。In the embodiment of the present invention, through the acquired navigation information, the rotatable camera of the electronic device is controlled to rotate at a first angle, so that the rotatable camera faces the traveling direction in the navigation information, that is, the first direction. In this way, by combining the method that the rotatable camera is consistent with the direction of travel, the direction of the camera can be rotated to remind the user of the direction of travel using an obvious prompt. Through the visual navigation method, more effective prompts of the direction of travel can be achieved.

附图说明Description of drawings

图1为本发明实施例提供的一种导航方法的一种应用场景示意图;Figure 1 is a schematic diagram of an application scenario of a navigation method provided by an embodiment of the present invention;

图2为本发明实施例提供的一种导航方法的另一种应用场景示意图;Figure 2 is a schematic diagram of another application scenario of a navigation method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种导航方法的另一种应用场景示意图;Figure 3 is a schematic diagram of another application scenario of a navigation method provided by an embodiment of the present invention;

图4为本发明实施例提供的一种导航方法的另一种应用场景示意图;Figure 4 is a schematic diagram of another application scenario of a navigation method provided by an embodiment of the present invention;

图5为本发明实施例提供的一种导航方法的流程图;Figure 5 is a flow chart of a navigation method provided by an embodiment of the present invention;

图6为本发明实施例提供的一种可穿戴设备的结构示意图;FIG6 is a schematic diagram of the structure of a wearable device provided by an embodiment of the present invention;

图7为本发明实施例提供的一种基于可穿戴设备的导航方法的流程图;Figure 7 is a flow chart of a wearable device-based navigation method provided by an embodiment of the present invention;

图8为本发明实施例提供的另一种可穿戴设备的结构示意图;Figure 8 is a schematic structural diagram of another wearable device provided by an embodiment of the present invention;

图9为本发明实施例提供的一种基于可穿戴设备的另一种导航方法的流程图;Figure 9 is a flow chart of another navigation method based on a wearable device provided by an embodiment of the present invention;

图10为本发明实施例提供的又一种可穿戴设备的结构示意图;Figure 10 is a schematic structural diagram of another wearable device provided by an embodiment of the present invention;

图11为本发明实施例提供的一种电子设备结构示意图;Figure 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;

图12为本发明实施例提供的一种电子设备的硬件结构示意图。FIG. 12 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.

针对相关技术出现的问题,本发明实施例提供一种导航方法、电子设备及存储介质,以解决相关技术的导航方式在一些场景中并不适用的问题。In response to problems that arise in related technologies, embodiments of the present invention provide a navigation method, electronic device, and storage medium to solve the problem that the navigation methods of related technologies are not applicable in some scenarios.

本发明实施例提供的导航方法至少可以应用于下述2种应用场景中,下面分别进行说明:The navigation method provided by the embodiment of the present invention can be applied to at least the following two application scenarios, which are explained below:

场景1:基于可穿戴设备(例如:智能手表)的导航方法,可穿戴设备可以包括可转动的摄像头10:Scenario 1: Navigation method based on wearable devices (such as smart watches). The wearable device may include a rotatable camera 10:

如图1所示,接收用户确定行驶路线的第二输入;其中,行驶路线包括行驶路线的起始位置和终止位置;接着,响应于第二输入,启动目标导航模式,在检测到启动目标导航模式的情况下,根据行驶路线获取导航信息,且基于导航信息控制可穿戴设备上可转动摄像头转动第一角度,使得摄像头朝向第一方向,其中,第一方向为导航信息中的行进方向。此时,可以根据摄像头采集第一图像20,第一图像包括行进方向上的实景图像;在第一图像上可以显示根据导航信息生成的导航标识,以指示用户根据显示有导航标识的第一图像行进。这里,当行驶路线发生变化时,导航信息也随之更新,由此,摄像头也会根据导航信息的变化更新方向,然而,在使用摄像头进行导航时,摄像头的朝向始终与用户的行进方向一致。As shown in Figure 1, a second input is received from the user to determine the driving route; wherein the driving route includes the starting position and the ending position of the driving route; then, in response to the second input, the target navigation mode is started, and the target navigation is started after detecting In the case of mode, the navigation information is obtained according to the driving route, and based on the navigation information, the rotatable camera on the wearable device is controlled to rotate at a first angle so that the camera faces a first direction, where the first direction is the traveling direction in the navigation information. At this time, the first image 20 can be collected according to the camera, and the first image includes a real scene image in the direction of travel; a navigation logo generated according to the navigation information can be displayed on the first image to instruct the user to follow the first image with the navigation logo displayed. march. Here, when the driving route changes, the navigation information is also updated. Therefore, the camera will also update the direction according to the change of navigation information. However, when using the camera for navigation, the direction of the camera is always consistent with the user's traveling direction.

需要提示的是,如图1所示,本发明实施例中的可转动的摄像头为在表盘所在的平面上平面旋转,该摄像头的取景范围可以包括表盘侧面0-360度的取景范围。另外,该摄像头在导航过程中可以是通过调控组件带动旋转,也可以是通过用户手动调整。可选地,该摄像头在导航过程中可以在表盘侧面的轨道内转动。It should be noted that, as shown in Figure 1, the rotatable camera in the embodiment of the present invention rotates on the plane where the dial is located, and the viewing range of the camera can include a viewing range of 0-360 degrees from the side of the dial. In addition, the camera can be rotated through the control component during the navigation process, or can be manually adjusted by the user. Optionally, the camera can rotate within a track on the side of the dial during navigation.

这样,可以结合智能手表的可转动的摄像头与导航方法的应用,利用可转动的摄像头从用户角度获取实时的场景智能导航方式,弥补了传统的数字模型导航方式的缺点,可以更直观地通过可转动摄像头的朝向判断行进方向。另外,利用可转动摄像头从用户角度提供行进方向上的实时图像,在基于行驶路线在实时图像上显示路线标识,弥补了传统的普通导航方式导航单一且仅根据地图导航的缺点。由此,本发明实施例提供的导航方式在保证导航效果的同时,方便用户识别行进方向。In this way, the rotatable camera of the smart watch can be combined with the application of the navigation method, and the rotatable camera can be used to obtain real-time scene intelligent navigation from the user's perspective, which makes up for the shortcomings of the traditional digital model navigation method and allows more intuitive navigation through the Turn the camera to determine the direction of travel. In addition, the rotatable camera is used to provide real-time images in the direction of travel from the user's perspective, and route signs are displayed on the real-time images based on the driving route, which makes up for the shortcomings of traditional ordinary navigation methods that are single and only based on map navigation. Therefore, the navigation method provided by the embodiment of the present invention ensures the navigation effect and facilitates the user to identify the traveling direction.

需要提示的是,本发明实施例中电子设备的可旋转摄像头的功能,不是像传统的嵌入式摄像头一样是固定在某个位置的,而是跟随表体的方向的改变而改变,如可以根据人的手腕运动方向的改变而改变,可以理解为是可以像指南针一样一直锁定一个方位。It should be noted that the function of the rotatable camera of the electronic device in the embodiment of the present invention is not fixed at a certain position like the traditional embedded camera, but changes with the change of the direction of the surface body. For example, it can be changed according to The movement direction of a person's wrist changes, which can be understood as being able to always lock in one direction like a compass.

场景2:电子设备可以包括具有录像或者拍摄功能的设备,本发明实施例以可穿戴设备为例进行说明,基于电子设备在导航的同时获取与用户相关的第一多媒体信息,其中,多媒体信息可以包括用户的面部的图像、或音视频信息或行进方向上的实景图像等,本发明实施例对此不做任何限定。Scenario 2: The electronic device may include a device with a video or photography function. The embodiment of the present invention takes a wearable device as an example to illustrate that the electronic device obtains the first multimedia information related to the user while navigating, wherein the multimedia The information may include an image of the user's face, audio and video information, or a real scene image in the direction of travel, etc. This embodiment of the present invention does not limit this in any way.

如图2-图4所示,接收用户确定行驶路线的第二输入;其中,行驶路线可以包括行驶路线的起始位置和终止位置;接着,响应于第二输入,启动目标导航模式,在检测到启动目标导航模式的情况下,根据行驶路线获取导航信息,且基于导航信息控制可穿戴设备上可转动摄像头10转动第一角度,使得摄像头朝向第一方向,其中,第一方向为导航信息中的行进方向。此时,可以通过摄像头获取行驶路线在行进方向上的第一多媒体信息40,该第一多媒体信息可以包括第一图像。这里,电子设备还可以包括前置摄像头30,基于前置摄像头获取在行进方向上与用户相关的第一多媒体信息,如行进方向上的道路、建筑物、植物等。这样,用户可以将上述行进方向上的第一多媒体信息和与用户面部相关的第一多媒信息分享至目标用户。As shown in Figures 2 to 4, a second input is received from the user to determine the driving route; wherein the driving route may include the starting position and the ending position of the driving route; then, in response to the second input, the target navigation mode is started, and after detecting When the target navigation mode is activated, navigation information is obtained according to the driving route, and based on the navigation information, the rotatable camera 10 on the wearable device is controlled to rotate at a first angle so that the camera faces a first direction, where the first direction is in the navigation information. direction of travel. At this time, the first multimedia information 40 of the traveling route in the traveling direction can be obtained through the camera, and the first multimedia information can include the first image. Here, the electronic device may also include a front camera 30 to obtain first multimedia information related to the user in the direction of travel based on the front camera, such as roads, buildings, plants, etc. in the direction of travel. In this way, the user can share the first multimedia information in the traveling direction and the first multimedia information related to the user's face to the target user.

由此,控制电子设备上可转动的摄像头的朝向与导航信息中的行进方向一致,这样,可以有效解决导航一开始不知道往哪个方向走,以及对于复杂的路况,该往哪里走的问题。Thus, the direction of the rotatable camera on the electronic device is controlled to be consistent with the direction of travel in the navigation information. This can effectively solve the problem of not knowing which direction to go in the beginning of navigation, and where to go in complex road conditions.

另外,该场景下,当外出某个地方旅游或者出行时,可以在行进过程中通过本发明实施例提供的电子设备拍照进行留念,这样,在本发明实施例提供的导航方法中可以获得许多抓拍的图像,或者导航过程中所拍摄的视频信息(即行进方向上的第一多媒体信息),都可以选择保存或者分享成为某个美好的回忆。另外还可以记录自己的人身安全,例如,在搭载网约车时,可以通过可转动的摄像头拍摄A位置明显的建筑物信息或者道路指示牌,这样行进方向上这些明显的建筑物信息或者道路指示牌的多媒体信息可以被留存或者分享给他人,还可以将位置信息分享给他人,能够保障人们的出行安全。In addition, in this scenario, when traveling or traveling somewhere, you can use the electronic device provided by the embodiment of the present invention to take pictures while traveling. In this way, many snapshots can be obtained in the navigation method provided by the embodiment of the present invention. Images or video information captured during navigation (i.e., the first multimedia information in the direction of travel) can be saved or shared as a beautiful memory. In addition, you can also record your own personal safety. For example, when riding an online car-hailing service, you can use the rotatable camera to capture obvious building information or road signs at position A, so that these obvious building information or road signs in the direction of travel can be captured. The multimedia information of the card can be retained or shared with others, and the location information can also be shared with others, which can ensure people's travel safety.

这里,本发明实施例提供的方法,除了可以应用到上述2种场景之外,还可以应用到任何持有电子设备的用户需要导航或者导航并获取拍摄图像或视频等多媒体信息的场景中。通过本发明实施例提供的方法,可以有效提示持有电子设备的用户注意周围环境并在道路拥挤或者出现车祸的情况下及时避让,以解决相关技术中,在利用屏幕较小的电子设备例如:可穿戴设备进行导航时,由于屏幕尺寸的限制,导航方式在一些场景中并不适用的问题。Here, in addition to the above two scenarios, the method provided by the embodiment of the present invention can also be applied to any scenario where a user holding an electronic device needs to navigate or navigate and obtain multimedia information such as captured images or videos. Through the methods provided by the embodiments of the present invention, users holding electronic devices can be effectively prompted to pay attention to the surrounding environment and promptly avoid situations when roads are congested or car accidents occur, so as to solve the problem in related technologies of using electronic devices with smaller screens, such as: When using wearable devices for navigation, due to screen size limitations, the navigation method is not applicable in some scenarios.

需要说明的是,本发明实施例中的电子设备可以包括下述中的至少一种:可穿戴设备、手机、平板电脑等具有可旋转摄像头且可以导航的设备。It should be noted that the electronic device in the embodiment of the present invention may include at least one of the following: a wearable device, a mobile phone, a tablet computer, and other devices that have a rotatable camera and can navigate.

基于上述应用场景,下面对本发明实施例提供的导航方法进行详细说明。Based on the above application scenarios, the navigation method provided by the embodiment of the present invention will be described in detail below.

图5为本发明实施例提供的一种导航方法的流程图。Figure 5 is a flow chart of a navigation method provided by an embodiment of the present invention.

如图5所示,该导航方法具体可以包括步骤510-步骤520,具体如下所示:As shown in Figure 5, the navigation method may specifically include steps 510 to 520, as follows:

首先,步骤510,获取导航信息。其次,步骤520,基于导航信息,控制摄像头转动第一角度,使得摄像头朝向第一方向,第一方向包括导航信息中的行进方向。First, step 510, obtain navigation information. Next, in step 520, based on the navigation information, control the camera to rotate a first angle so that the camera faces a first direction, and the first direction includes the traveling direction in the navigation information.

由此,通过获取到的导航信息,控制电子设备的可转动的摄像头转动第一角度,使得可转动的摄像头朝向导航信息中的行进方向即第一方向。这样,通过结合了可转动摄像头与行进方向相一致的方式,以使可转动摄像头的朝向明显提示用户的行进方向,通过可视化的导航方式,能够实现更有效的行进方向的提示。Thus, through the acquired navigation information, the rotatable camera of the electronic device is controlled to rotate at the first angle, so that the rotatable camera faces the traveling direction in the navigation information, that is, the first direction. In this way, by combining the method in which the rotatable camera is consistent with the direction of travel, the direction of the rotatable camera clearly reminds the user of the direction of travel. Through the visual navigation method, more effective prompts of the direction of travel can be achieved.

下面详细对上述步骤进行详细说明:The above steps are explained in detail below:

步骤510,获取导航信息。Step 510: Obtain navigation information.

这里,在一种可能的实施例中,该方法首先要确定如何启动目标导航模式,该方法具体可以包括:Here, in a possible embodiment, the method first determines how to start the target navigation mode. The method may specifically include:

接收用户确定行驶路线的第二输入;其中,行驶路线包括行驶路线的起始位置和终止位置;Receive a second input from the user to determine the driving route; wherein the driving route includes a starting position and an ending position of the driving route;

响应于第二输入,启动目标导航模式。In response to the second input, target navigation mode is initiated.

例如:接收用户输入从位置A到位置B的第二输入,响应于第二输入,启动目标导航模式,其中,目标导航模式可以是在本发明实施例中,通过可转动的摄像头朝向行进方向的导航模式;或者,接收用户输入到位置B地址的第二输入,这里,可以根据位置B和自动获取到的用户当前定位的位置A,启动目标导航模式。这里,还可以在启动目标导航模式之前,接收用户在多个导航模式中选择目标导航模式的操作,其中,多个导航模式可以包括普通的仅通过在界面显示导航信息的导航模式,和本发明实施例中通过可转动的摄像头朝向行进方向的导航模式等。其中,上述涉及的普通的模式具体可以为一种依据地图和电子设备的定位在电子设备上显示三维模型图或者二维平面图,进而为用户导航的模式。For example: receiving a second input from the user from position A to position B, and in response to the second input, starting a target navigation mode, where the target navigation mode may be, in an embodiment of the present invention, facing the direction of travel through a rotatable camera. Navigation mode; or, receive the second input from the user to the address of location B. Here, the target navigation mode can be started based on location B and the automatically obtained location A where the user is currently located. Here, before starting the target navigation mode, the user's operation of selecting the target navigation mode among multiple navigation modes can also be received, wherein the multiple navigation modes can include a common navigation mode that only displays navigation information on the interface, and the present invention In the embodiment, the navigation mode uses a rotatable camera to face the direction of travel, etc. Among them, the common mode mentioned above can be specifically a mode that displays a three-dimensional model diagram or a two-dimensional plan view on the electronic device based on the map and the positioning of the electronic device, and then provides navigation for the user.

基于此,根据第一输入以及目标导航模式确定了导航信息,以便执行步骤520。Based on this, navigation information is determined according to the first input and the target navigation mode, so that step 520 is performed.

步骤520,根据该导航信息,控制摄像头转动第一角度,以使摄像头朝向第一方向,其中第一方向为导航信息中指示用户行进的方向。例如,当可转动的摄像头朝向是A角度时,根据第一导航信息控制可转动的摄像头,以使摄像头在表盘所在的平面上以第一角度从A角度到B角度进行平面旋转,此时,可转动的摄像头是在B角度,且朝向为第一方向。另外,在一种可能的实施例中,可能会出现用户行进的方向发生变化的情况,例如:由向南走变更为向南走500米后转向东走1000米。这样,可以通过如下步骤实现:Step 520: According to the navigation information, control the camera to rotate at a first angle so that the camera faces a first direction, where the first direction is the direction indicated in the navigation information for the user to travel. For example, when the orientation of the rotatable camera is angle A, the rotatable camera is controlled according to the first navigation information so that the camera performs plane rotation from angle A to angle B at the first angle on the plane where the dial is located. At this time, The rotatable camera is at angle B and facing the first direction. In addition, in a possible embodiment, the user's traveling direction may change, for example, from walking south to walking 500 meters south and then turning east and walking 1,000 meters. This can be achieved through the following steps:

在导航信息指示行进方向由第一方向更新为第二方向的情况下,控制摄像头转动第二角度,使得摄像头朝向第二方向。这里的第二方向为导航信息中指示用户行进的方向。When the navigation information indicates that the traveling direction is updated from the first direction to the second direction, the camera is controlled to rotate at a second angle so that the camera faces the second direction. The second direction here is the direction indicated by the user in the navigation information.

这样,通过结合了可转动的摄像头与行进方向相一致的方式,在导航信息中出现行进方向发生变化时,可以根据导航信息控制可转动的摄像头始终朝向用户行进的方向,有效解决了对于复杂的路况,该往哪里走的问题,无需用户打开电子设备的屏幕,即可直观地通过查看摄像头的朝向查看到行进方向。In this way, by combining the rotatable camera with the direction of travel, when the direction of travel changes in the navigation information, the rotatable camera can be controlled to always face the direction of the user's travel according to the navigation information, effectively solving the problem of complex problems. For road conditions and questions about where to go, the user can intuitively check the direction of travel by checking the direction of the camera without opening the screen of the electronic device.

再者,在另一种可能的实施例中,基于上述可能,在控制摄像头转动第一角度的步骤之后,还可以包括:Furthermore, in another possible embodiment, based on the above possibility, after the step of controlling the camera to rotate the first angle, it may also include:

通过摄像头采集第一图像,第一图像包括行进方向上的实景图像;在第一图像上显示根据导航信息生成的标识。The first image is collected through the camera, and the first image includes a real scene image in the direction of travel; a logo generated based on the navigation information is displayed on the first image.

这里,可以出现两种情况,第一种情况是可以在第一图像中识别到一些标志性对象,例如,红绿灯、路口、指示牌等,以便确认用户当前的位置,然后,再根据导航信息在第一图像上的相关的标志性对象进行标识。第二种情况是无法识别到上述标识性对象,此时,可以直接根据导航信息对第一图像进行标识,显示给用户。Here, two situations can occur. The first situation is that some iconic objects can be recognized in the first image, such as traffic lights, intersections, signs, etc., in order to confirm the user's current location, and then, based on the navigation information, Relevant iconic objects on the first image are identified. The second situation is that the above-mentioned identifying object cannot be recognized. In this case, the first image can be directly identified according to the navigation information and displayed to the user.

其中,在第一图像上显示的标识可以包括下述中的至少一种:实时路况、行进距离、行驶速度、行驶方向。如图6所示,本发明实施例中可以根据导航路线中的实时路况,可以通过指示灯60的颜色表示实时路况,如绿灯表示畅通、红灯表示堵塞、黄灯表示拥挤、行进距离为200米、行驶速度如该路段限速,请注意行驶安全、行驶方向如前行200米中的至少一种在第一图像上显示。Wherein, the logo displayed on the first image may include at least one of the following: real-time road conditions, traveling distance, traveling speed, and traveling direction. As shown in Figure 6, in the embodiment of the present invention, the real-time traffic conditions can be represented by the color of the indicator light 60 according to the real-time traffic conditions in the navigation route. For example, a green light indicates smooth traffic, a red light indicates congestion, a yellow light indicates congestion, and the traveling distance is 200 At least one of meters, driving speed such as the speed limit on this road section, please pay attention to driving safety, and driving direction such as 200 meters ahead are displayed on the first image.

需要提示的是,当行驶方向出现变化时即前行100米左转,这时,需要调控可转动的摄像头的方向与前行左转的方向一致,以提醒用户需要左转。本发明实施例中,可以通过指示灯的颜色变化、语音提示、震动提示、提前旋转可旋转摄像头或画面显示等方式提示用户行驶方向出现变化。What needs to be reminded is that when the driving direction changes, that is, go 100 meters forward and turn left, at this time, the direction of the rotatable camera needs to be adjusted to be consistent with the direction of the forward left turn to remind the user that they need to turn left. In embodiments of the present invention, the user can be prompted for changes in the driving direction through color changes of indicator lights, voice prompts, vibration prompts, early rotation of the rotatable camera, or screen display.

在该种实施例下,可以指示用户根据在第一图像上显示的导航路线标识以及可转动的摄像头指示的方向行进;或者,根据第一图像利用语音播报的形式,指示用户根据语音播报的导航路线以及可转动的摄像头指示的方向行进。In this embodiment, the user can be instructed to travel according to the navigation route mark displayed on the first image and the direction indicated by the rotatable camera; or, according to the first image, the user can be instructed to proceed according to the voice broadcast in the form of voice broadcast. Route and direction indicated by the swiveling camera.

由此,利用可转动摄像头从用户角度提供行进方向上的实时图像,在基于行驶路线在实时图像上显示路线标识,弥补了传统的普通导航方式导航单一且仅根据地图导航的缺点。由此,本发明实施例提供的导航方式在保证导航效果的同时,方便用户识别行进方向。As a result, the rotatable camera is used to provide real-time images in the direction of travel from the user's perspective, and route signs are displayed on the real-time images based on the driving route, which makes up for the shortcomings of traditional ordinary navigation methods that are single and only based on map navigation. Therefore, the navigation method provided by the embodiment of the present invention ensures the navigation effect and facilitates the user to identify the traveling direction.

在又一种可能的实施例中,为了方便用户分享行进过程中的图像,本发明实施例在控制摄像头转动第一角度之后,还可以执行如下步骤:In another possible embodiment, in order to facilitate users to share images while traveling, after controlling the camera to rotate the first angle, the embodiment of the present invention may also perform the following steps:

控制摄像头采集第一多媒体信息;接收用户的第一输入;响应于第一输入,将第一多媒体信息分享至目标用户。Control the camera to collect the first multimedia information; receive the first input from the user; and share the first multimedia information to the target user in response to the first input.

进一步地,响应于第一输入,将第一多媒体信息和与第一多媒体信息对应的地理位置信息分享至目标用户。Further, in response to the first input, the first multimedia information and the geographical 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 audio and video information.

其中,该电子设备还可以包括前置摄像头,基于前置摄像头,获取与用户相关的图像或音视频信息,例如用户的面部图像。由此,当外出某个地方旅游或者出行时,可以在行进过程中通过本发明实施例提供的电子设备进行留念。The electronic device may also include a front-facing camera, and based on the front-facing camera, image or audio and video information related to the user, such as the user's facial image, is obtained. Therefore, when traveling or traveling somewhere, you can use the electronic device provided by the embodiment of the present invention to take photos while traveling.

另外,两个摄像头,如可转动的摄像头和前置摄像头,可以同时或者先后获取第一多媒信息,例如:如果有目标用户需要与该用户分享位置信息,就可以接收双击屏幕的操作,将该用户确定分享的第一多媒体信息,或者将第一多媒体信息以及与第一多媒体信息对应的地理位置信息分享至目标用户,这样,无需用户在需要分享位置时,停止当前的行进过程去自拍或者拍摄其他的多媒体信息,另外,无需用户拍摄两次,即拍摄行进过程中的多媒体信息和在行进过程中与用户相关的多媒体信息。由此,该方法还可以应用到目前主播边行进、边直播的场景中。In addition, two cameras, such as a rotatable camera and a front-facing camera, can obtain the first multimedia information at the same time or one after another. For example, if a target user needs to share location information with the user, the operation of double-clicking the screen can be received. The user determines the first multimedia information to share, or shares the first multimedia information and the geographical location information corresponding to the first multimedia information to the target user. In this way, the user does not need to stop the current process when he or she needs to share the location. You can take selfies or take other multimedia information during the journey. In addition, the user does not need to take two photos, that is, capture the multimedia information during the journey and the multimedia information related to the user during the journey. Therefore, this method can also be applied to current scenarios where anchors are traveling and live broadcasting.

这样,在本发明实施例提供的导航方法中获得许多抓拍的图像,或者导航过程中所拍摄的视频信息(即行进方向上的第一多媒体信息),都可以选择保存或者分享成为某个美好的回忆。另外,通过将地理位置信息分享至目标用户,可以记录行进路线,以保证自己的人身安全(例如,搭载网约车),这样所有的行进方向上的多媒体信息都可以被留存或者分享给他人,更加保障人们的出行安全。In this way, many captured images obtained in the navigation method provided by the embodiment of the present invention, or the video information captured during the navigation process (that is, the first multimedia information in the direction of travel) can be saved or shared as a certain Good memories. In addition, by sharing the geographical location information to the target users, the traveling route can be recorded to ensure their personal safety (for example, taking an online ride-hailing service), so that all multimedia information in the traveling direction can be retained or shared with others. To better protect people’s travel safety.

最后,在再一种可能的实施例中,在步骤520之后,还可以包括:Finally, in yet another possible embodiment, after step 520, it may also include:

接收用户停止目标导航模式,且启动普通的导航模式的第三输入;Receive a third input from the user to stop the target navigation mode and start the normal navigation mode;

响应于第三输入,调控可旋转摄像头恢复到预设位置,如即可转动的摄像头在旋转前初始的位置,且在第一导航模式下显示行驶路线。In response to the third input, the rotatable camera is controlled to return to a preset position, such as the original position of the rotatable camera before rotation, and the driving route is displayed in the first navigation mode.

例如:在到达目的地或者用户停止目标导航模式的情况下,调控可旋转摄像头恢复到预设位置,且在普通的导航模式下显示行驶路线。For example: when the destination is reached or the user stops the target navigation mode, the rotatable camera can be adjusted to return to the preset position and the driving route is displayed in the normal navigation mode.

综上,本发明实施例中,通过获取到的导航信息,控制电子设备的可转动的摄像头转动第一角度,使得可转动的摄像头朝向导航信息中的行进方向即第一方向。这样,通过结合了可转动摄像头与行进方向相一致的方式,以使可转动摄像头的朝向明显提示用户的行进方向,通过可视化的导航方式,能够实现更有效的行进方向的提示。另外,利用可转动摄像头从用户角度提供行进方向上的实时图像,在基于行驶路线在实时图像上显示路线标识,弥补了传统的普通导航方式导航单一且仅根据地图导航的缺点。由此,本发明实施例提供的导航方式在保证导航效果的同时,方便用户识别行进方向。In summary, in the embodiment of the present invention, the rotatable camera of the electronic device is controlled to rotate at a 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. In this way, by combining the method in which the rotatable camera is consistent with the direction of travel, the direction of the rotatable camera clearly reminds the user of the direction of travel. Through the visual navigation method, more effective prompts of the direction of travel can be achieved. In addition, the rotatable camera is used to provide real-time images in the direction of travel from the user's perspective, and route signs are displayed on the real-time images based on the driving route, which makes up for the shortcomings of traditional ordinary navigation methods that are single and only based on map navigation. Therefore, the navigation method provided by the embodiment of the present invention ensures the navigation effect and facilitates the user to identify the traveling direction.

为了便于理解本发明实施例提供的方法,基于上述内容,下面以上述场景1和场景2为例,对本发明实施例提供的导航方法进行举例说明。In order to facilitate understanding of the method provided by the embodiment of the present invention, based on the above content, the following takes the above-mentioned Scenario 1 and Scenario 2 as examples to illustrate the navigation method provided by the embodiment of the present invention.

实施例1:基于图1所示的应用场景进行说明Embodiment 1: Description based on the application scenario shown in Figure 1

图7为本发明实施例提供的一种基于可穿戴设备的导航方法的流程图。Figure 7 is a flow chart of a navigation method based on a wearable device provided by an embodiment of the present invention.

这里需要说明的是,本发明实施例中的可穿戴设备包括可转动的摄像头,基于可穿戴设备执行如下方法。It should be noted here 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.

如图7所示,该方法可以包括步骤710-步骤760,具体如下所示:As shown in Figure 7, the method may include steps 710 to 760, specifically as follows:

步骤710,接收用户确定行驶路线的第二输入,确定行驶路线。Step 710: Receive the second input from the user to determine the driving route, and determine the driving route.

其中,行驶路线包括行驶路线的起始位置、终止位置以及从起始位置到终止位置的路线。The driving route includes the starting position, the ending position of the driving route, and the route from the starting position to the ending position.

步骤720,响应于第二输入,显示多个导航模式,以提示用户选择目标导航模式。Step 720, in response to the second input, display multiple navigation modes to prompt the user to select a target navigation mode.

这里,多个导航模式可以包括实景导航模式、普通的导航模式等。Here, the multiple navigation modes may include a real-scene navigation mode, a normal navigation mode, etc.

步骤730,接收用户在多个导航模式中确定实景导航模式为目标导航模式的预设操作,响应于该预设操作,启动目标导航模式。Step 730: Receive a preset operation in which the user determines the real-scene navigation mode as the target navigation mode among multiple navigation modes, and activate the target navigation mode in response to the preset operation.

步骤740,在检测到启动目标导航模式的情况下,基于导航模式获取导航信息,且控制可转动的摄像头转动第一角度,使得摄像头朝向第一方向,其中第一方向包括导航信息中的行进方向。Step 740: When it is detected that the target navigation mode is started, the navigation information is obtained based on the navigation mode, and the rotatable camera is controlled to rotate at a first angle so that the camera faces a first direction, where the first direction includes the traveling direction in the navigation information. .

由此,用户无需查看电子设备的显示屏,只用查看可转动摄像头的朝向就可以知道自己的行进方向。As a result, the user does not need to check the display screen of the electronic device, but only needs to look at the direction of the rotatable camera to know the direction of travel.

步骤750,通过可旋转摄像头获取行进方向上的第一图像,且在第一图像上显示根据导航信息确定的标识。Step 750: Obtain the first image in the traveling direction through the rotatable camera, and display the logo determined based on the navigation information on the first image.

其中,在第一图像上显示根据导航信息确定的实时路况、行进距离、行驶速度、行驶方向中的至少一种标识。Wherein, at least one of the real-time road conditions, traveling distance, traveling speed, and traveling direction determined based on the navigation information is displayed on the first image.

这里,利用拍摄实景图像,可以解决导航一开始不知道往哪个方向走,以及对于复杂的路况,该往哪里走的问题,也解决了可穿戴设备中实景导航需要用户自己对准路况和拍摄的问题。Here, the use of shooting real-scene images can solve the problem of not knowing which direction to go at the beginning of navigation, and where to go in complex road conditions. It also solves the problem of real-scene navigation in wearable devices that requires users to align themselves with the road conditions and shoot. question.

步骤760,在第一图像上显示根据导航信息生成的标识,以指示用户根据具有导航路线标识的第一图像行进。Step 760: Display the logo 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 logo.

这里,用户可以根据可穿戴设备显示的具有导航路线标识的第一图像行进,也可以根据语音播报的第一图像中的导航路线以及可旋转摄像头指示的方向行进。Here, the user can travel according to the first image with the navigation route identification displayed by the wearable device, or according to the navigation route in the first image broadcast by voice and the direction indicated by the rotatable camera.

例如:当用户行走到要拐弯的地方之前,可穿戴设备将会提醒用户。如果用户对路况不熟悉,可再次双击屏幕,切换到目标导航模式,可旋转摄像头会捕获清晰的第一图像,并对第一图像进行导航路线标识,以指示用户该往哪里走;如果熟悉路况就可不用切换,一直跟着箭头所指方向,也就是根据可旋转摄像头朝向进行。For example, when the user reaches the place where he/she needs to turn, the wearable device will remind the user. If the user is not familiar with the road conditions, he/she can double-click the screen again to switch to the target navigation mode. The rotatable camera will capture a clear first image and mark the navigation route on the first image to indicate where the user should go. If the user is familiar with the road conditions, he/she does not need to switch and just follows the direction indicated by the arrow, that is, according to the direction of the rotatable camera.

需要提示的是,若接收到用户切换不同的导航模式或者想要节电的输入时,则触发暂停目标导航模式,启动普通的导航模式。It should be noted that if it receives input from the user to switch to different navigation modes or wants to save power, it will trigger the suspension of the target navigation mode and start the ordinary navigation mode.

例如:如图8所示,在用户已经确认了行进路线,双击第一图像开启普通的导航模式,这时不显示第一图像,而显示非实景图像80,或者与普通的导航模式相关的图像。这里,在一种可能的实施例中,在开启普通的导航模式的同时还可以进入省电模式,以节约电量。For example: as shown in Figure 8, after the user has confirmed the travel route, double-click the first image to open the ordinary navigation mode. At this time, the first image is not displayed, but a non-real scene image 80, or an image related to the ordinary navigation mode is displayed. . Here, in a possible embodiment, while turning on the normal navigation mode, you can also enter the power saving mode to save power.

由此,本发明实施例提供的方法可以有效解决目前的可穿戴设备由于屏幕尺寸过小,导航效果不好的问题,例如:由于可穿戴设备的屏幕只显示具体的文字和箭头方向,屏幕太小预览全局也不太方便,而且有经常出现在导航一开始的时候不清楚该往哪个方向走的问题。另外,利用可转动的摄像头可以从用户角度提供行进方向上的实时图像,在基于行驶路线对该实时图像进行路线标识,弥补了传统的普通导航方式导航单一且仅根据地图导航的缺点。由此,本发明实施例提供的导航方式在保证导航效果的同时,可以提高导航的准确度和效率,以及该导航方式可以在多数场景下应用。Therefore, the method provided by the embodiment of the present invention can effectively solve the problem of poor navigation effect of current wearable devices due to too small screen size. For example, because the screen of the wearable device only displays specific text and arrow directions, the screen is too small. The small preview of the overall situation is also inconvenient, and there is often a problem of not knowing which direction to go at the beginning of navigation. In addition, the rotatable camera can be used to provide real-time images in the direction of travel from the user's perspective, and the real-time images can be marked based on the driving route, which makes up for the shortcomings of traditional ordinary navigation methods that are single and only based on map navigation. Therefore, the navigation method provided by the embodiment of the present invention can improve the accuracy and efficiency of navigation while ensuring the navigation effect, and the navigation method can be applied in most scenarios.

实施例2:基于图2所示的应用场景进行说明Embodiment 2: Description based on the application scenario shown in Figure 2

需要提示的是,与上述实施例1不同的是本发明实施例中的可穿戴设备可以包括可旋转摄像头和前置摄像头,基于可穿戴设备执行如下方法。It should be noted that, different from the above-mentioned Embodiment 1, the wearable device in this embodiment of the present invention may include a rotatable camera and a front-facing camera, and the following method is performed based on the wearable device.

图9为本发明实施例提供的一种基于可穿戴设备的另一种导航方法的流程图。Figure 9 is a flow chart of another navigation method based on a wearable device provided by an embodiment of the present invention.

基于上述实施例1所示的方法,实施例2提供的方法可以如图9所示,该方法可以包括步骤910-步骤980,具体如下所示:Based on the method shown in the above embodiment 1, the method provided in embodiment 2 may be as shown in FIG. 9 . The method may include steps 910 to 980, which are specifically as follows:

步骤910,接收用户确定行驶路线的第二输入,确定行驶路线。Step 910: Receive the second input from the user to determine the driving route, and determine the driving route.

步骤920,响应于第二输入,显示多个导航模式,以提示用户选择目标导航模式。这里,多个导航模式可以包括目标导航模式、普通的导航模式等。Step 920, in response to the second input, display multiple navigation modes to prompt the user to select a target navigation mode. Here, the plurality of navigation modes may include a target navigation mode, a normal navigation mode, and the like.

步骤930,接收用户在多个导航模式中确定目标导航模式的预设操作,响应于该预设操作,启动目标导航模式。Step 930: Receive a user's preset operation to determine a target navigation mode among multiple navigation modes, and activate the target navigation mode in response to the preset operation.

步骤940,在检测到启动目标导航模式的情况下,基于导航模式获取导航信息,且控制可转动的摄像头转动第一角度,使得摄像头朝向第一方式,其中第一方向包括导航信息中的行进方向。Step 940: When it is detected that the target navigation mode is started, the navigation information is obtained based on the navigation mode, and the rotatable camera is controlled to rotate at a first angle so that the camera faces the first way, where the first direction includes the traveling direction in the navigation information. .

步骤950,通过可转动摄像头获取行进方向上的第一图像,且在第一图像上显示根据导航信息确定的标识。Step 950: Obtain the first image in the traveling direction through the rotatable camera, and display the logo determined based on the navigation information on the first image.

步骤960,在第一图像上显示根据导航信息生成的标识,以指示用户根据具有导航路线标识的第一图像行进。Step 960: Display the logo 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 logo.

需要提示的是,上述步骤910-步骤960的内容与实施例1中步骤710-步骤760的内容原理相同,由此,详情参照上述步骤510-步骤560中的内容,在此不再赘述。It should be noted that the content of the above-mentioned steps 910 to 960 is the same as the content of the steps 710 to 760 in Embodiment 1. Therefore, for details, refer to the content of the above-mentioned steps 510 to 560 and will not be repeated here.

步骤970,在检测到用户按照第一图像显示的导航路线行进时,通过前置摄像头获取与用户相关的第一多媒体信息。Step 970: When it is detected that the user is traveling along the navigation route displayed in the first image, obtain the first multimedia information related to the user through the front camera.

需要提示的是,如图10所示,也可以触发可转动的摄像头获取行进过程中的第一多媒体信息。It should be noted that, as shown in Figure 10, the rotatable camera can also be triggered to obtain the first multimedia information during travel.

步骤980,响应于用户分享第一多媒体信息的第一输入,将第一多媒体信息分享至目标用户。Step 980: In response to the user's first input of sharing the first multimedia information, share the first multimedia information to the target user.

例如:如果有朋友需要你发位置信息,可以同过双击屏幕进行拍摄且点击分享发送给朋友。For example: If a friend needs you to send location information, you can double-click the screen to take a photo and click Share to send it to your friend.

这里,目标信息可以包括用户确定分享的第一多媒体信息、与第一多媒体信息对应的地理位置信息,以及与用户相关的第一多媒体信息分享至目标用户中的至少一种。Here, the target information may include at least one of the first multimedia information that the user determines to share, the geographical location information corresponding to the first multimedia information, and the first multimedia information related to the user to share with the target user. .

这里,步骤970和步骤980可以理解为,在用户行进的过程中,由可转动的摄像头获取行进过程中的第一图像、视频等第一多媒体信息,并由前置摄像头朝向用户面部方向,获取与用户相关的图像、音视频等第一多媒体信息。这样,用户可以通过一个电子设备在进行导航的同时,获取第一多媒体信息,由此,在用户外出某个地方旅游或者出行时,可以在行进过程中基于本发明实施例提供的方法和电子设备进行留念,可以利用本发明实施例提供的导航方法中获得许多抓拍的图像,或者导航过程中所拍摄的视频信息如行进方向上的第一多媒体信息或与用户相关的第一多媒体信息,都可以选择保存或者分享成为某个美好的回忆。Here, steps 970 and 980 can be understood as: when the user is traveling, the first image, video and other first multimedia information during the traveling process are acquired by the rotatable camera, and the front camera is directed towards the user's face. , obtain the first multimedia information such as images, audio and video related to the user. In this way, the user can obtain the first multimedia information while navigating through an electronic device. Therefore, when the user goes out to travel or travel somewhere, he can use the method and method provided by the embodiment of the present invention during the travel process. Electronic devices can use the navigation method provided by the embodiment of the present invention to obtain many captured images, or video information captured during the navigation process, such as the first multimedia information in the direction of travel or the first multimedia information related to the user. Media information can be saved or shared to become a beautiful memory.

另外还可以拓展记录行驶路线,例如,搭载网约车,这样所有的行进方向上的多媒体信息都可以被留存或者分享给他人,更加保障人们的出行安全。In addition, it can also be expanded to record driving routes, for example, equipped with online car-hailing services, so that all multimedia information in the direction of travel can be retained or shared with others to better ensure people's travel safety.

基于上述方法,本发明实施例还提供了一种电子设备,本发明实施例中的电子设备具体结合图11进行详细说明。Based on the above method, an embodiment of the present invention also provides an electronic device. The electronic device in the embodiment of the present invention will be described in detail with reference to FIG. 11 .

图11为本发明实施例提供的一种电子设备结构示意图。Figure 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

如图11所示,该电子设备11可以应用于电子设备,该电子设备11可以包括:As shown in Figure 11, the electronic device 11 can be applied to electronic devices, and the electronic device 11 can include:

获取模块1101,用于获取导航信息;Obtain module 1101, used to obtain navigation information;

调控模块1102,用于基于导航信息,控制摄像头转动第一角度,使得摄像头朝向第一方向,第一方向包括导航信息中的行进方向。The control module 1102 is configured to control the camera to rotate a first angle based on the navigation information so that the camera faces a first direction, and the first direction includes the traveling direction in the navigation information.

在一种可能的实施例中,调控模块1102具体用于,在导航信息指示行进方向由第一方向更新为第二方向的情况下,控制摄像头转动第二角度,使得摄像头朝向第二方向。In a possible embodiment, the control module 1102 is specifically configured to control the camera to rotate at a second angle so that the camera faces the second direction when the navigation information indicates that the traveling direction is updated from the first direction to the second direction.

这样,通过结合了可转动的摄像头与行进方向相一致的方式,以使可转动的摄像头的朝向明显提示用户的行进方向,有效解决了对于复杂的路况,该往哪里走的问题,无需用户打开电子设备的屏幕即可直观的查看到行进方向。In this way, by combining the rotatable camera with the direction of travel, the direction of the rotatable camera clearly prompts the user's direction of travel, effectively solving the problem of where to go in complex road conditions without the user having to open the The direction of travel can be intuitively viewed on the screen of the electronic device.

另外,在另一种可能的实施例中,电子设备还包括采集模块和生成模块;其中,In addition, in another possible embodiment, the electronic device further includes a collection module and a generation module; wherein,

采集模块,用于通过摄像头采集第一图像,第一图像包括行进方向上的实景图像;An acquisition module, configured to acquire a first image through a camera, where the first image includes a real scene image in the direction of travel;

生成模块,用于在第一图像上显示根据导航信息生成的标识。A generating module, configured to display the logo generated according to the navigation information on the first image.

这里,利用可转动摄像头从用户角度提供行进方向上的实时图像,在基于行驶路线在实时图像上显示路线标识,弥补了传统的普通导航方式导航单一且仅根据地图导航的缺点。由此,本发明实施例提供的导航方式在保证导航效果的同时,方便用户识别行进方向。Here, a rotatable camera is used to provide real-time images in the direction of travel from the user's perspective, and route signs are displayed on the real-time images based on the driving route, which makes up for the shortcomings of traditional ordinary navigation methods that are single and only based on map navigation. Therefore, the navigation method provided by the embodiment of the present invention ensures the navigation effect and facilitates the user to identify the traveling direction.

在又一种可能的实施例中,电子设备还包括接收模块和处理模块;其中,In yet another possible embodiment, the electronic device further includes a receiving module and a processing module; wherein,

调控模块,用于控制摄像头采集第一多媒体信息;The control module is used to control the camera to collect the first multimedia information;

接收模块,用于接收用户的第一输入;A receiving module, used to receive the user's first input;

处理模块,用于响应于第一输入,将第一多媒体信息分享至目标用户。A processing module configured to share the first multimedia information to the target user in response to the first input.

基于此,本发明实施例中的处理模块具体用于,响应于第一输入,将第一多媒体信息和与第一多媒体信息对应的地理位置信息分享至目标用户。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 geographical 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 the video information captured during the navigation process (that is, the first multimedia information in the direction of travel) can be saved or shared as a certain Good memories. In addition, by sharing the geographical location information to the target users, the traveling route can be recorded to ensure their personal safety (for example, taking an online ride-hailing service), so that all multimedia information in the traveling direction can be retained or shared with others. To better protect people’s travel safety.

在本发明实施例中,通过获取到的导航信息,控制电子设备的可转动的摄像头转动第一角度,是的可转动的摄像头朝向导航信息中的行进方向即第一方向。这样,通过结合了可转动摄像头与行进方向相一致的方式,以使可转动摄像头的朝向明显提示用户的行进方向,通过可视化的导航方式,能够实现更有效的行进方向的提示。In the embodiment of the present invention, through the acquired navigation information, the rotatable camera of the electronic device is controlled to rotate at a first angle, so that the rotatable camera faces the traveling direction in the navigation information, that is, the first direction. In this way, by combining the method in which the rotatable camera is consistent with the direction of travel, the direction of the rotatable camera clearly reminds the user of the direction of travel. Through the visual navigation method, more effective prompts of the direction of travel can be achieved.

图12为本发明实施例提供的一种电子设备的硬件结构示意图。FIG. 12 is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention.

该电子设备1200包括但不限于:射频单元1201、网络模块1202、音频输出单元1203、输入单元1204、传感器1205、显示单元1206、用户输入单元1207、接口单元1208、存储器1209、处理器1210、电源1211以及摄像头1212等部件。本领域技术人员可以理解,图12中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The electronic device 1200 includes but is not limited to: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, processor 1210, power supply 1211 and camera 1212 and other components. Those skilled in the art can understand that the structure of the electronic device shown in Figure 12 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or different components. layout. In embodiments of the present invention, electronic devices include but are not limited to mobile phones, tablet computers, notebook computers, PDAs, vehicle-mounted terminals, wearable devices, and pedometers.

其中,处理器1210,用于获取导航信息;Among them, the processor 1210 is used to obtain navigation information;

处理器1210,用于基于导航信息,控制摄像头1212转动第一角度,使得摄像头朝向第一方向,第一方向包括导航信息中的行进方向。由此,通过获取到的导航信息,控制电子设备的可转动的摄像头转动第一角度,是的可转动的摄像头朝向导航信息中的行进方向即第一方向。这样,通过结合了可转动摄像头与行进方向相一致的方式,以使可转动摄像头的朝向明显提示用户的行进方向,通过可视化的导航方式,能够实现更有效的行进方向的提示。The processor 1210 is configured to control the camera 1212 to rotate a first angle based on the navigation information, so that the camera faces a first direction, and the first direction includes the traveling direction in the navigation information. Thus, through the acquired navigation information, the rotatable camera of the electronic device is controlled to rotate at the first angle, so that the rotatable camera faces the traveling direction in the navigation information, that is, the first direction. In this way, by combining the method in which the rotatable camera is consistent with the direction of travel, the direction of the rotatable camera clearly reminds the user of the direction of travel. Through the visual navigation method, more effective prompts of the direction of travel can be achieved.

应理解的是,本发明实施例中,射频单元1201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行资源接收后,给处理器1210处理;另外,将上行的资源发送给基站。通常,射频单元1201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1201还可以通过无线通信系统与网络和其他设备通信。It should be understood that in the embodiment of the present invention, the radio frequency unit 1201 can be used to receive and send information or signals during a call. Specifically, after receiving the downlink resources from the base station, they are processed by the processor 1210; in addition, The uplink resources are sent to the base station. Generally, the radio frequency unit 1201 includes, but is not limited to, an antenna, at least one amplifier, transceiver, coupler, low noise amplifier, duplexer, etc. In addition, the radio frequency unit 1201 can also communicate with networks and other devices through wireless communication systems.

电子设备通过网络模块1202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 1202, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元1203可以将射频单元1201或网络模块1202接收的或者在存储器1209中存储的音频资源转换成音频信号并且输出为声音。而且,音频输出单元1203还可以提供与电子设备1200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1203包括扬声器、蜂鸣器以及受话器等。The audio output unit 1203 may convert the audio resources received by the radio frequency unit 1201 or the network module 1202 or stored in the memory 1209 into audio signals and output them as sounds. Furthermore, the audio output unit 1203 may also provide audio output related to a specific function performed by the electronic device 1200 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 1203 includes a speaker, a buzzer, a receiver, and the like.

输入单元1204用于接收音频或视频信号。输入单元1204可以包括图形处理器(Graphics Processing Unit,GPU)12041和麦克风12042,图形处理器12041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像资源进行处理。处理后的图像帧可以显示在显示单元1207上。经图形处理器12041处理后的图像帧可以存储在存储器1209(或其它存储介质)中或者经由射频单元1201或网络模块1202进行发送。麦克风12042可以接收声音,并且能够将这样的声音处理为音频资源。处理后的音频资源可以在电话通话模式的情况下转换为可经由射频单元1201发送到移动通信基站的格式输出。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. The graphics processor 12041 processes still pictures or video images obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. resources are processed. 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 media) or sent via the radio frequency unit 1201 or the network module 1202. Microphone 12042 can receive sounds and can process such sounds into audio resources. The processed audio resources can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 1201 for output in the phone call mode.

电子设备1200还包括至少一种传感器1205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板12061的亮度,接近传感器可在电子设备1200移动到耳边时,关闭显示面板12061或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。Electronic device 1200 also includes at least one sensor 1205, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 12061 according to the brightness of the ambient light. The proximity sensor can close the display panel 12061 or close the display panel 12061 when the electronic device 1200 moves to the ear. Backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, knock), etc.; the sensor 1205 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc. will not be described in detail here.

显示单元1206用于显示由用户输入的信息或提供给用户的信息。显示单元1206可包括显示面板12061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板12061。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, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元1207可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1207包括触控面板12071以及其他输入设备12072。触控面板12071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板12071上或在触控面板12071附近的操作)。触控面板12071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1210,接收处理器1210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板12071。除了触控面板12071,用户输入单元1207还可以包括其他输入设备12072。具体地,其他输入设备12072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1207 may be used to receive input numeric or character information and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1207 includes a touch panel 12071 and other input devices 12072. The touch panel 12071, also known as the touch screen, can collect the user's touch operations on or near the touch panel 12071 (for example, the user uses any suitable object or accessory such as a finger, stylus, etc. on or near the touch panel 12071. operate). The touch panel 12071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the touch controller. To the processor 1210, receive the command sent by the processor 1210 and execute it. In addition, the touch panel 12071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 12071, the user input unit 1207 may also include other input devices 12072. Specifically, other input devices 12072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.

进一步的,触控面板12071可覆盖在显示面板12061上,当触控面板12071检测到在其上或附近的触摸操作后,传送给处理器1210以确定触摸事件的类型,随后处理器1210根据触摸事件的类型在显示面板12061上提供相应的视觉输出。虽然在图12中,触控面板12071与显示面板12061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板12071与显示面板12061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 12071 can be covered on the display panel 12061. When the touch panel 12071 detects a touch operation on or near it, it is sent to the processor 1210 to determine the type of touch event. Then the processor 1210 determines the type of touch event according to the touch. The type of event provides corresponding visual output on display panel 12061. Although in Figure 12, the touch panel 12071 and the display panel 12061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 12071 and the display panel 12061 can be integrated. The implementation of input and output functions of electronic equipment is not limited here.

接口单元1208为外部装置与电子设备1200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线资源端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1208可以用于接收来自外部装置的输入(例如,资源信息、电力等等)并且将接收到的输入传输到电子设备1200内的一个或多个元件或者可以用于在电子设备1200和外部装置之间传输资源。The interface unit 1208 is an interface for connecting external devices to the electronic device 1200 . For example, the external device may include a wired or wireless headphone port, an external power (or battery charger) port, a wired or wireless resource port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 1208 may be used to receive input from an external device (eg, resource information, power, etc.) and transmit the received input to one or more elements within the electronic device 1200 or may be used to communicate between the electronic device 1200 and the external device 1200 . Transfer resources between devices.

存储器1209可用于存储软件程序以及各种资源。存储器1209可主要包括存储程序区和存储资源区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储资源区可存储根据手机的使用所创建的资源(比如音频资源、电话本等)等。此外,存储器1209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 1209 may be used to store software programs as well as various resources. The memory 1209 may mainly include a stored program area and a storage resource area, wherein the stored program area may store the operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage resource area may store data based on Resources created by the use of mobile phones (such as audio resources, phone books, etc.), etc. In addition, 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.

处理器1210是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器1209内的软件程序和/或模块,以及调用存储在存储器1209内的资源,执行电子设备的各种功能和处理资源,从而对电子设备进行整体监控。处理器1210可包括一个或多个处理单元;优选的,处理器1210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1210中。The processor 1210 is the control center of the electronic device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 1209, and calling resources stored in the memory 1209 , perform various functions and processing resources of the electronic device, thereby overall monitoring the electronic device. The processor 1210 may include one or more processing units; preferably, the processor 1210 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor The processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 1210.

电子设备1200还可以包括给各个部件供电的电源1211(比如电池),优选的,电源1211可以通过电源管理系统与处理器1210逻辑连接,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 1200 may also include a power supply 1211 (such as a battery) that supplies power to various components. Preferably, the power supply 1211 may be logically connected to the processor 1210 through a power management system, thereby managing charging, discharging, and power consumption management through the power management system. and other functions.

电子设备1200还可以包括摄像头1212,其中,本发明实施例中的摄像头1212可以包括可转动摄像头和前置摄像头。其中,可转动摄像头和前置摄像头可以用于执行上述导航方法中的至少一个步骤,具体如上述内容所示,在此不再赘述。The electronic device 1200 may also include a camera 1212, where the camera 1212 in the embodiment of the present invention may include a rotatable camera and a front-facing camera. The rotatable camera and the front-facing camera can be used to perform at least one step in the above navigation method, as shown in the above content, which will not be described again here.

另外,电子设备1200包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 1200 includes some functional modules not shown, which will not be described here.

本发明实施例还提供一种计算机可读存储介质,其上存储有计算机程序,当计算机程序在计算机中执行时,令计算机执行本发明实施例的导航方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute the steps of the navigation method of the embodiment of the present invention.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause an electronic device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of the present invention, many forms can be made without departing from the spirit of the present invention and the scope protected by the claims, all of which fall within the protection of the present invention.

Claims (8)

1.一种导航方法,应用于电子设备,所述电子设备包括可转动的摄像头,其特征在于,所述电子设备为智能手表,所述可转动的摄像头为在所述智能手表的表盘所在的平面上平面旋转,所述可转动的摄像头的取景范围为所述表盘侧面0-360度的取景范围,所述可转动的摄像头在导航过程中在所述表盘侧面的轨道内转动,所述可转动的摄像头朝向行进方向;所述导航方法包括:1. A navigation method, applied to an electronic device. The electronic device includes a rotatable camera. It is characterized in that the electronic device is a smart watch, and the rotatable camera is located on the dial of the smart watch. Rotate on a plane, and the viewing range of the rotatable camera is the viewing range of 0-360 degrees on the side of the dial. The rotatable camera rotates in the track on the side of the dial during the navigation process. The rotating camera faces the direction of travel; the navigation method includes: 获取导航信息;Get navigation information; 基于所述导航信息,控制所述摄像头转动第一角度,使得所述摄像头朝向第一方向,所述第一方向包括所述导航信息中的行进方向;Based on the navigation information, control the camera to rotate at a first angle so that the camera faces a first direction, where the first direction includes the direction of travel in the navigation information; 在所述导航信息指示所述行进方向由所述第一方向更新为第二方向的情况下,控制所述摄像头转动第二角度,使得所述摄像头朝向所述第二方向,所述第二方向为所述导航信息中指示用户行进的方向;以及,控制所述摄像头采集第一多媒体信息,所述第一多媒体信息包括与用户相关的图像或音视频信息。When the navigation information indicates that the traveling direction is updated from the first direction to the second direction, the camera is controlled to rotate at a second angle so that the camera faces the second direction, and the second direction indicating the direction of travel of the user in the navigation information; and controlling the camera to collect first multimedia information, where the first multimedia information includes images or audio and video information related to the user. 2.根据权利要求1所述的方法,其特征在于,在基于所述导航信息,控制摄像头转动第一角度之后,所述方法还包括:2. The method according to claim 1, characterized in that, after controlling the camera to rotate the first angle based on the navigation information, the method further includes: 通过所述摄像头采集第一图像,所述第一图像包括所述行进方向上的实景图像;A first image is collected through the camera, and the first image includes a real scene image in the direction of travel; 在所述第一图像上显示根据所述导航信息生成的标识。A logo generated based on the navigation information is displayed on the first image. 3.根据权利要求1所述的方法,其特征在于,在基于所述导航信息,控制摄像头转动第一角度之后,所述方法还包括:3. The method according to claim 1, characterized in that, after controlling the camera to rotate at a first angle based on the navigation information, the method further includes: 接收用户的第一输入;Receive the user's first input; 响应于所述第一输入,将所述第一多媒体信息分享至目标用户。In response to the first input, the first multimedia information is shared to the target user. 4.根据权利要求3所述的方法,其特征在于,所述响应于所述第一输入,将所述第一多媒体信息分享至目标用户,包括:4. The method according to claim 3, characterized in that, in response to the first input, sharing the first multimedia information to a target user includes: 响应于所述第一输入,将所述第一多媒体信息和与所述第一多媒体信息对应的地理位置信息分享至目标用户。In response to the first input, the first multimedia information and the geographical location information corresponding to the first multimedia information are shared to the target user. 5.一种电子设备,所述电子设备包括可转动的摄像头,其特征在于,所述电子设备为智能手表,所述可转动的摄像头为在所述智能手表的表盘所在的平面上平面旋转,所述可转动的摄像头的取景范围为所述表盘侧面0-360度的取景范围,所述可转动的摄像头在导航过程中在所述表盘侧面的轨道内转动,所述可转动的摄像头朝向行进方向;所述导航方法包括:5. An electronic device, the electronic device includes a rotatable camera, characterized in that the electronic device is a smart watch, and the rotatable camera rotates in a plane on the plane where the dial of the smart watch is located, The viewing range of the rotatable camera is the viewing range of 0-360 degrees on the side of the dial. The rotatable camera rotates in the track on the side of the dial during the navigation process. The rotatable camera faces the direction of travel. Direction; the navigation method includes: 获取模块,用于获取导航信息;Obtain module, used to obtain navigation information; 调控模块,用于基于所述导航信息,控制所述摄像头转动第一角度,使得所述摄像头朝向第一方向,所述第一方向包括所述导航信息中的行进方向;A control module configured to control the camera to rotate a first angle based on the navigation information so that the camera faces a first direction, where the first direction includes the direction of travel in the navigation information; 所述调控模块具体用于,在所述导航信息指示所述行进方向由所述第一方向更新为第二方向的情况下,控制所述摄像头转动第二角度,使得所述摄像头朝向所述第二方向,所述第二方向为所述导航信息中指示用户行进的方向;以及,控制所述摄像头采集第一多媒体信息,所述第一多媒体信息包括与用户相关的图像或音视频信息。The control module is specifically configured to control the camera to rotate at a second angle so that the camera faces the third direction when the navigation information indicates that the traveling direction is updated from the first direction to the second direction. Two directions, the second direction being the direction indicated by the user in the navigation information; and controlling the camera to collect first multimedia information, where the first multimedia information includes images or sounds related to the user. Video information. 6.根据权利要求5所述的电子设备,其特征在于,所述电子设备还包括采集模块和生成模块;其中,6. The electronic device according to claim 5, characterized in that the electronic device further includes a collection module and a generation module; wherein, 所述采集模块,用于通过所述摄像头采集第一图像,所述第一图像包括所述行进方向上的实景图像;The collection module is configured to collect a first image through the camera, where the first image includes a real scene image in the direction of travel; 所述生成模块,用于在所述第一图像上显示根据所述导航信息生成的标识。The generating module is configured to display a logo generated according to the navigation information on the first image. 7.根据权利要求5所述的电子设备,其特征在于,所述电子设备还包括接收模块和处理模块;其中,7. The electronic device according to claim 5, wherein the electronic device further comprises a receiving module and a processing module; wherein, 所述接收模块,用于接收用户的第一输入;The receiving module is used to receive the user's first input; 所述处理模块,用于响应于所述第一输入,将所述第一多媒体信息分享至目标用户。The processing module is configured to share the first multimedia information to a target user in response to the first input. 8.根据权利要求7所述的电子设备,其特征在于,所述处理模块具体用于,响应于所述第一输入,将所述第一多媒体信息和与所述第一多媒体信息对应的地理位置信息分享至目标用户。8 . The electronic device according to claim 7 , 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 with 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 CN111176338A (en) 2020-05-19
CN111176338B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113705273B (en) * 2020-05-20 2024-07-26 上海高德威智能交通系统有限公司 Traffic sign recognition 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 广东小天才科技有限公司 Intelligent watch
CN108900770A (en) * 2018-07-17 2018-11-27 广东小天才科技有限公司 Method and device for controlling rotation of camera, smart watch and mobile terminal
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 广东小天才科技有限公司 Intelligent watch
CN108900770A (en) * 2018-07-17 2018-11-27 广东小天才科技有限公司 Method and device for controlling rotation of camera, smart watch and mobile terminal
CN109059901A (en) * 2018-09-06 2018-12-21 深圳大学 A kind of AR air navigation aid, storage medium and mobile terminal based on social application

Also Published As

Publication number Publication date
CN111176338A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN110618800A (en) Interface display method, device, equipment and storage medium
CN110095128B (en) Method, device, equipment and storage medium for acquiring missing road information
CN111400610B (en) Vehicle-mounted social method and device and computer storage medium
CN110022409A (en) A kind of terminal control method and mobile terminal
CN114299468B (en) Method, device, terminal, storage medium and product for detecting junction of lanes
CN109040968B (en) Road condition reminding method, mobile terminal and computer readable storage medium
WO2021197121A1 (en) Image photographing method and electronic device
CN110602389B (en) A display method and electronic device
CN108882142A (en) Reminder message sending method and mobile terminal
CN109684277B (en) Image display method and terminal
CN108022446A (en) A kind of parking spot acquisition methods, mobile terminal
CN110519699A (en) A kind of air navigation aid and electronic equipment
CN111126995A (en) A payment method and electronic device
CN110991260B (en) Scene marking method, device, equipment and storage medium
CN110839128A (en) Photographic behavior detection method, device and storage medium
CN110891122A (en) Wallpaper pushing method and electronic equipment
CN108551525A (en) A method for determining the state of a moving trajectory and a mobile terminal
CN111176338B (en) Navigation method, electronic device and storage medium
CN112269939A (en) Scene search method, device, terminal, server and medium for automatic driving
CN110532474B (en) Information recommendation method, server, system, and computer-readable storage medium
CN108924422A (en) A kind of panorama photographic method and mobile terminal
CN112804481B (en) Method and device for determining position of monitoring point and computer storage medium
CN113936240B (en) Method, device, equipment and storage medium for determining sample image
CN113920222B (en) Method, device, equipment and readable storage medium for obtaining map construction data
CN110470293A (en) A navigation 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
TG01 Patent term adjustment
TG01 Patent term adjustment