WO2018053969A1 - Azimuth calibration method and apparatus - Google Patents

Azimuth calibration method and apparatus Download PDF

Info

Publication number
WO2018053969A1
WO2018053969A1 PCT/CN2016/113144 CN2016113144W WO2018053969A1 WO 2018053969 A1 WO2018053969 A1 WO 2018053969A1 CN 2016113144 W CN2016113144 W CN 2016113144W WO 2018053969 A1 WO2018053969 A1 WO 2018053969A1
Authority
WO
WIPO (PCT)
Prior art keywords
calibration
orientation
orientation information
information
calibrated
Prior art date
Application number
PCT/CN2016/113144
Other languages
French (fr)
Chinese (zh)
Inventor
宋夏
汪航
Original Assignee
广州视源电子科技股份有限公司
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 广州视源电子科技股份有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2018053969A1 publication Critical patent/WO2018053969A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C1/00Measuring angles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass

Definitions

  • a relative orientation acquisition module configured to acquire a preset relative orientation with the second device
  • Figure 6 is a block diagram of an orientation calibration apparatus of an embodiment
  • an orientation calibration method of an embodiment is provided, which is applied to a first device, and includes the following steps:
  • the azimuth detecting device needs to be calibrated to obtain more accurate orientation information, then, Firstly, it is necessary to obtain the orientation information to be calibrated detected by the orientation detecting device installed on the traffic device.
  • the orientation detecting device is a magnetic field sensor, and the magnetic field sensor can sense the magnetic field strength in different directions to detect the orientation.
  • the relative orientation between the first device and the second device is preset, and can be set according to the user's needs, and the first device and the second device are placed according to the preset relative orientation. Since the first device and the second device may have a difference in orientation, that is, when the first device is calibrated, the orientations of the first device and the second device may be different, and the calibration directly using the orientation information of the first device may exist. The error, so that the preset relative orientation of the first device and the second device needs to be acquired. In the subsequent azimuth calibration of the first device, since the calibration orientation information is the calibration orientation information after the second device performs the calibration, it is relatively accurate, and the calibration orientation information can accurately know the orientation of the user, however, the first device The information to be calibrated may be less accurate.
  • S351 Acquire accurate orientation information of the first device according to the calibration orientation information and the preset relative orientation.
  • the first device and the second device Before the first device receives the calibration orientation information after the second device performs the azimuth calibration, the first device and the second device must first establish a connection, so that the second device requests to establish a connection by sending a connection request to the first device. In order to communicate, after the first device receives the connection request, it establishes a connection with the second device, and can perform information transmission.
  • an attitude calibration apparatus for application to a first device, including:
  • the orientation information acquisition module 610 to be calibrated is configured to acquire orientation information to be calibrated.
  • the first device When the first device is azimuthally calibrated by the azimuth calibration method, the first device does not need to start the back and forth movement in the field to achieve calibration, and only needs to receive the calibration orientation information after the second device performs the azimuth calibration, according to the calibration orientation information,
  • the orientation information of a device to be calibrated and the relative orientation can be azimuthally calibrated, simplifying the calibration process and improving calibration efficiency.
  • the orientation after the calibration of the first device is the same as the orientation after the calibration of the second device.
  • the relative orientation of the first device and the second device is that the first device is 20 degrees north of the second device, and the calibration orientation information after the second device performs the azimuth calibration is 50 degrees northeast, so that the first device can be acquired.
  • the exact position information is 70 degrees northeast.
  • the orientation information of the first device to be calibrated is 72 degrees in the northeast direction, and there is an orientation information error value of 2 degrees north to north between the orientation information to be calibrated and the accurate orientation information, and the information to be calibrated of the first device is calibrated east to north.
  • the attitude calibration apparatus further includes:

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Manufacturing & Machinery (AREA)
  • Navigation (AREA)

Abstract

The present invention relates to an azimuth calibration method and apparatus. The method comprises: obtaining information about an azimuth to be calibrated of a first device, and sending a calibration request to a second device; the second device performing azimuth calibration in response to the calibration request, and sending, to the first device, information about a calibrated azimuth obtained after the azimuth calibration; the first device receiving the information about the calibrated azimuth obtained by the second device after the azimuth calibration in response to the calibration request; and obtaining a preset relative azimuth between the first device and the second device, and then performing azimuth calibration according to the information about the azimuth to be calibrated, the information about the calibrated azimuth, and the preset relative azimuth. By means of the azimuth calibration method and apparatus, when azimuth calibration is performed on the first device, it is unnecessary to start the first device to move back and forth in the field. Information about the calibrated azimuth obtained by the second device after azimuth calibration is received, and azimuth calibration can be performed according to the information about the calibrated azimuth, the information about the azimuth to be calibrated of the first device, and the relative azimuth. The calibration process is simplified, and the calibration efficiency is improved.

Description

方位校准方法及装置Azimuth calibration method and device 技术领域Technical field
本发明涉及数据校准技术领域,特别涉及一种方位校准方法及装置。The present invention relates to the field of data calibration technologies, and in particular, to an azimuth calibration method and apparatus.
背景技术Background technique
随着互联网与智能产品的发展,汽车也变的越来越智能化。大多汽车都开始安装汽车中控或后视镜产品。而这些产品一般带有汽车方向定位及导航功能。方向定位的实现都是依赖于产品内的磁场传感器,通过磁场传感器来实现指南针功能,确定汽车当前的车头方向。再借助GPS功能,实现汽车导航功能。但后视镜产品在断电后或有强磁场干扰时,无法准确获取汽车当前所处的东南西北方向,即无法准确获取汽车的方位信息。With the development of the Internet and smart products, cars have become more and more intelligent. Most cars are starting to install automotive central control or rearview mirror products. These products generally have a car orientation and navigation function. The implementation of directional positioning relies on the magnetic field sensor in the product. The magnetic field sensor is used to realize the compass function to determine the current head direction of the car. Then use the GPS function to realize the car navigation function. However, after the power failure or the strong magnetic field interference, the rearview mirror product cannot accurately obtain the southeast-northwest direction in which the automobile is currently located, that is, the position information of the automobile cannot be accurately obtained.
磁场传感器必须要经过方位校准后,才能准确定位方向。传统的校准方法是将具有磁场传感器的后视镜产品画“8”字,从而使得磁场传感器能够获取各个方向的磁感应,相当于用户为实现校准,需要启动汽车并在一个比较宽的地方上来回绕“8”字,既繁琐又耗时,校准效率低。The magnetic field sensor must be azimuthally calibrated to accurately position the field. The traditional calibration method is to draw a “8” word for a rearview mirror product with a magnetic field sensor, so that the magnetic field sensor can acquire magnetic induction in all directions, which is equivalent to the user needing to start the car and wrap around in a relatively wide place for calibration. The "8" word is both cumbersome and time consuming, and the calibration efficiency is low.
发明内容Summary of the invention
基于此,有必要针对校准效率低的问题,提供一种提高校准效率的方位校准方法及装置。Based on this, it is necessary to provide an azimuth calibration method and apparatus for improving calibration efficiency for the problem of low calibration efficiency.
一种方位校准方法,应用于第一设备,包括以下步骤:A method of orientation calibration applied to a first device includes the following steps:
获取待校准方位信息;Obtaining the orientation information to be calibrated;
向第二设备发送校准请求;Sending a calibration request to the second device;
接收所述第二设备响应所述校准请求执行方位校准后的校准方位信息;Receiving calibration orientation information after the second device performs orientation calibration in response to the calibration request;
获取与所述第二设备的预设相对方位;Obtaining a preset relative orientation with the second device;
根据所述待校准方位信息、所述校准方位信息以及所述预设相对方位执行方位校准。Azimuth calibration is performed according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation.
本发明还提供一种姿态校准装置,应用于第一设备,包括:The present invention also provides an attitude calibration apparatus for use in a first device, comprising:
待校准方位信息获取模块,用于获取待校准方位信息;The orientation information acquiring module to be calibrated is used to obtain the orientation information to be calibrated;
校准请求发送模块,用于向所述第二设备发送校准请求; a calibration request sending module, configured to send a calibration request to the second device;
方位信息获取模块,用于接收第二设备响应所述校准请求执行方位校准后的校准方位信息;The orientation information acquiring module is configured to receive calibration orientation information after the second device performs orientation calibration in response to the calibration request;
相对方位获取模块,用于获取与所述第二设备的预设相对方位;a relative orientation acquisition module, configured to acquire a preset relative orientation with the second device;
校准模块,用于根据所述待校准方位信息、所述校准方位信息以及所述预设相对方位进行校准执行方位校准。And a calibration module, configured to perform calibration of the orientation according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation.
上述方位校准方法及装置,进行第一设备进行方位校准时,首先获取第一设备自身的待校准方位信息,并向第二设备发送校准请求,第二设备响应该校准请求执行方位校准并向第一设备发送其执行方位校准后的校准方位信息,第一设备接收第二设备响应所述校准请求执行方位校准后的校准方位信息,并获取第一设备与第二设备的预设相对方位,也就知道第一设备与第二设备之间的相对位置关系,再根据所述待校准方位信息、所述校准方位信息以及所述预设相对方位执行方位校准。通过上述方位校准方法及装置对第一设备进行方位校准时,无需启动第一设备在场地内进行来回移动实现校准,只需接收第二设备执行方位校准后的校准方位信息,根据该校准方位信息、第一设备的待校准方位信息以及相对方位进行方位校准即可,简化校准过程,提高校准效率。The azimuth calibration method and device, when performing the azimuth calibration of the first device, first acquire the orientation information of the first device itself to be calibrated, and send a calibration request to the second device, and the second device performs the azimuth calibration and responds to the calibration request. a device sends the calibration orientation information after performing the orientation calibration, the first device receives the calibration orientation information after the second device responds to the calibration request, and acquires the preset relative orientation of the first device and the second device, The relative positional relationship between the first device and the second device is known, and the orientation calibration is performed according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation. When the azimuth calibration method is performed on the first device by using the azimuth calibration method and the device, the first device does not need to start the back and forth movement in the field to achieve calibration, and only needs to receive the calibration orientation information after the second device performs the azimuth calibration, according to the calibration orientation information. The orientation information of the first device to be calibrated and the relative orientation are azimuth calibration, which simplifies the calibration process and improves the calibration efficiency.
附图说明DRAWINGS
图1为一种实施例的方位校准系统的交互原理图;1 is an interactive schematic diagram of an orientation calibration system of an embodiment;
图2为一种实施例的方位校准方法的流程图;2 is a flow chart of an orientation calibration method of an embodiment;
图3为另一种实施例的方位校准方法的流程图;3 is a flow chart of an orientation calibration method of another embodiment;
图4为另一种实施例的方位校准方法的流程图;4 is a flow chart of an orientation calibration method of another embodiment;
图5为一实施例的第一设备与第二设备的位置关系图;5 is a positional relationship diagram of a first device and a second device according to an embodiment;
图6为一种实施例的方位校准装置的模块图;Figure 6 is a block diagram of an orientation calibration apparatus of an embodiment;
图7为另一种实施例的方位校准装置的模块图;Figure 7 is a block diagram of an orientation calibration device of another embodiment;
图8为另一种实施例的方位校准装置的模块图。Figure 8 is a block diagram of an orientation calibration device of another embodiment.
具体实施例Specific embodiment
请参阅图1,提供了一种实施例的方位校准系统,包括第一设备以及第二设备,需要对第一设备进行方位校准时,首先第一设备需要获取的自身的待校准方位信息,第一设备 与第二设备需先建立连接,即第二设备向第一设备发送连接请求,第一设备接收连接请求并根据连接请求与第二设备建立连接,第一设备再向第二设备发送校准请求,第二设备接收校准请求并响应校准请求执行方位校准后可获得校准方位信息,并将执行方位校准后的校准方位信息发送给第一设备,第一设备接收该校准方位信息,第一设备还需获取与第二设备的预设相对方位,根据待校准方位信息、校准方位信息以及预设相对方位执行方位校准,从而实现第一设备的方位校准。Referring to FIG. 1 , an orientation calibration system of an embodiment is provided, including a first device and a second device. When a first device needs to perform orientation calibration, first, the first device needs to acquire its own to-be-calibrated orientation information. a device The second device needs to establish a connection first, that is, the second device sends a connection request to the first device, the first device receives the connection request, and establishes a connection with the second device according to the connection request, and the first device sends a calibration request to the second device, The second device receives the calibration request and performs the orientation calibration in response to the calibration request to obtain the calibration orientation information, and sends the calibration orientation information after performing the orientation calibration to the first device, where the first device receives the calibration orientation information, and the first device further needs to Obtaining a preset relative orientation with the second device, performing orientation calibration according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation, thereby implementing orientation calibration of the first device.
请参阅图2,提供一种实施例的方位校准方法,应用于第一设备,包括以下步骤:Referring to FIG. 2, an orientation calibration method of an embodiment is provided, which is applied to a first device, and includes the following steps:
S210:获取待校准方位信息。S210: Acquire the orientation information to be calibrated.
通过获取第一设备自身的待校准方位信息,即可知道第一设备目前定位的方位。在本实施例中,第一设备包括但不限于交通设备等。在实际应用中,为了满足人们对交通设备的智能化需求,越来越多的交通设备上会装有本地电子终端,例如,后视镜智能设备,在电子终端中设置有方位检测装置以及GPS定位装置,以便用户随时查看交通设备行进在哪个方位和位置。然而,方位检测装置在收到强烈的磁场干扰后进行方位检测时会出现较大偏差,以至于方位定位不准确,此时,需要对方位检测装置进行校准以便获取较为准确的方位信息,那么,首先需要获取交通设备上安装的方位检测装置检测的待校准方位信息。在本实施例中,方位检测装置为磁场传感器,通过磁场传感器可感应不同方向上的磁场强度,从而检测出所处的方位。By obtaining the orientation information of the first device itself to be calibrated, the orientation of the current positioning of the first device can be known. In this embodiment, the first device includes, but is not limited to, a traffic device or the like. In practical applications, in order to meet people's intelligent demand for traffic equipment, more and more traffic equipment will be equipped with local electronic terminals, for example, rearview mirror smart devices, with orientation detection devices and GPS installed in the electronic terminals. Position the device so that the user can see at any time where the location and location of the traffic device is traveling. However, the azimuth detecting device may have a large deviation when performing the azimuth detection after receiving a strong magnetic field interference, so that the azimuth positioning is inaccurate. At this time, the azimuth detecting device needs to be calibrated to obtain more accurate orientation information, then, Firstly, it is necessary to obtain the orientation information to be calibrated detected by the orientation detecting device installed on the traffic device. In this embodiment, the orientation detecting device is a magnetic field sensor, and the magnetic field sensor can sense the magnetic field strength in different directions to detect the orientation.
S220:向第二设备发送校准请求。S220: Send a calibration request to the second device.
第一设备需要进行方位校准时,向第二设备发送校准请求,以请求获取第二设备执行方位校准后的校准方位信息。第二设备接收该校准请求并响应,将其执行方位校准后的校准方位信息发送给第一设备。When the first device needs to perform orientation calibration, the calibration request is sent to the second device to request acquisition of the calibration orientation information after the second device performs the orientation calibration. The second device receives the calibration request and responds by transmitting the calibration orientation information after performing the azimuth calibration to the first device.
S230:接收第二设备响应校准请求执行方位校准后的校准方位信息。S230: Receive calibration direction information after the second device responds to the calibration request to perform the azimuth calibration.
向第二设备发送校准请求后,第二设备响应该校准请求执行方位校准,并向第一设备发送执行方位校准后的校准方位信息,第一设备即可接收第二设备执行方位校准后的校准方位信息。在本实施例中,第二设备包括但不限于手机和平板电脑等智能终端,在实际应用中,随着用户对智能终端产品的日益需求,一般的智能终端上也会安装方位检测装置和GPS定位装置,以便用户通过智能终端知道自己所在的方位和位置,同样地,智能终端中的方位检测装置不定时要进行矫正,即进行方位校准,以便方位检测准确,智能设备在 进行校准时,用户通过将智能手机在空间内画“8”字或通过智能终端内集成的校准程序即可实现方位校准,校准过程方便简单。传统的交通设备中的电子终端要进行校准时,需要启动交通设备并在场地内进行来回移动进行校准,太耗时,在本实施例中,无需再将交通设备进行移动校准,直接通过交通设备获取智能终端执行方位校准后的方位信息进行自身方位校准即可。After transmitting the calibration request to the second device, the second device performs the orientation calibration in response to the calibration request, and sends the calibration orientation information after performing the orientation calibration to the first device, and the first device can receive the calibration after the second device performs the orientation calibration. Bearing information. In this embodiment, the second device includes, but is not limited to, a smart terminal such as a mobile phone and a tablet computer. In actual applications, with the increasing demand of the user for the smart terminal product, the general intelligent terminal also installs the orientation detecting device and the GPS. Positioning device, so that the user knows the position and position of the user through the smart terminal. Similarly, the azimuth detecting device in the smart terminal needs to be corrected from time to time, that is, the azimuth calibration is performed, so that the position detection is accurate, and the smart device is When calibrating, the user can achieve azimuth calibration by drawing the “8” word in the space of the smartphone or through the integrated calibration program in the smart terminal. The calibration process is convenient and simple. When the electronic terminal in the traditional transportation equipment is to be calibrated, it is necessary to start the transportation equipment and move back and forth in the field for calibration, which is too time consuming. In this embodiment, it is no longer necessary to carry out mobile calibration of the transportation equipment and directly pass the traffic equipment. Obtain the orientation information after the smart terminal performs the azimuth calibration to perform its own azimuth calibration.
S240:获取与第二设备的预设相对方位。S240: Acquire a preset relative orientation with the second device.
S250:根据待校准方位信息、方位信息以及预设相对方位执行方位校准。S250: Perform azimuth calibration according to the orientation information to be calibrated, the orientation information, and the preset relative orientation.
第一设备与第二设备在放置时两者之间的相对方位是可预设的,可根据用户的需求进行设置,根据预设相对方位放置第一设备与第二设备。由于第一设备与第二设备可能存在方位差,也就是说,在对第一设备进行校准时,第一设备与第二设备的方位可能不同,直接利用第一设备的方位信息进行校准会存在误差,从而需要获取第一设备与第二设备的预设相对方位。在后续对第一设备进行方位校准时,由于校准方位信息是第二设备执行校准后的校准方位信息,比较准确,通过该校准方位信息,可准确地知道用户所在方位,然而,第一设备的待校准信息可能不太准确,这时候获取的待校准方位信息需要校准,可根据接收的校准方位信息以及相对方位,执行方位校准,校准后的第一设备可准确定位用户所在方位。例如,第一设备放置于第二设备东偏北20度,也就是说即两者之间的相对方位为东偏北20度,需要进行校准时,获取的第一设备的待校准方位信息为东北方向78度,第二设备执行校准后的校准方位信息为东北方向60度,第二设备是执行校准后获得的校准方位信息是准确的,从而根据该校准方位信息即东北方向60度进行校准,由于两者方位差20度,从而可根据第二设备的方位信息以及相对方位,可对第一设备的待校准方位78度进行校准,实现对第一设备的方位校准,也就是说通过第二设备的方位信息60度和相对方位东偏北20度可知第一设备的较为准确的方位信息为80度,而其自身获得的待校准方位为78度,是不同的,再执行方位校准使第一设备的方位更准确,也就是根据第二设备的校准方位信息和相对方位可快速实现对第一设备的准确校准。The relative orientation between the first device and the second device is preset, and can be set according to the user's needs, and the first device and the second device are placed according to the preset relative orientation. Since the first device and the second device may have a difference in orientation, that is, when the first device is calibrated, the orientations of the first device and the second device may be different, and the calibration directly using the orientation information of the first device may exist. The error, so that the preset relative orientation of the first device and the second device needs to be acquired. In the subsequent azimuth calibration of the first device, since the calibration orientation information is the calibration orientation information after the second device performs the calibration, it is relatively accurate, and the calibration orientation information can accurately know the orientation of the user, however, the first device The information to be calibrated may be less accurate. At this time, the acquired orientation information to be calibrated needs to be calibrated, and the orientation calibration may be performed according to the received calibration orientation information and the relative orientation, and the calibrated first device can accurately locate the orientation of the user. For example, the first device is placed 20 degrees north of the second device, that is, the relative orientation between the two devices is 20 degrees north and north. When calibration is required, the acquired orientation information of the first device is 78 degrees northeast, the calibration position information of the second device after calibration is 60 degrees in the northeast direction, and the calibration information obtained by the second device after performing calibration is accurate, thereby performing calibration according to the calibration orientation information, that is, 60 degrees northeast. Because the azimuth difference between the two devices is 20 degrees, according to the orientation information and the relative orientation of the second device, the orientation of the first device to be calibrated can be calibrated by 78 degrees to achieve the orientation calibration of the first device, that is, the first The orientation information of the two devices is 60 degrees and the relative azimuth is 20 degrees east. It can be seen that the more accurate orientation information of the first device is 80 degrees, and the self-acquired orientation to be calibrated is 78 degrees, which is different, and then the orientation calibration is performed. The orientation of the first device is more accurate, that is, the accurate calibration of the first device can be quickly achieved according to the calibration orientation information and relative orientation of the second device.
上述方位校准方法,进行第一设备进行方位校准时,首先获取第一设备自身的待校准方位信息,并向第二设备发送校准请求,第二设备响应该校准请求执行方位校准并向第一设备发送其执行方位校准后的校准方位信息,第一设备接收第二设备响应校准请求执行方位校准后的校准方位信息,并获取第一设备与第二设备的预设相对方位,也就知道第一设 备与第二设备之间的相对位置关系,再根据待校准方位信息、校准方位信息以及预设相对方位执行方位校准。通过上述方位校准方法对第一设备进行方位校准时,无需启动第一设备在场地内进行来回移动实现校准,只需接收第二设备执行方位校准后的校准方位信息,根据该校准方位信息、第一设备的待校准方位信息以及相对方位进行方位校准即可,简化校准过程,提高校准效率。The azimuth calibration method, when the first device performs the azimuth calibration, first acquires the orientation information of the first device itself to be calibrated, and sends a calibration request to the second device, and the second device performs the azimuth calibration and sends the orientation to the first device in response to the calibration request. Sending the calibration orientation information after performing the orientation calibration, the first device receives the calibration orientation information after the second device responds to the calibration request, and acquires the preset relative orientation of the first device and the second device, and thus knows the first Assume The relative positional relationship between the second device and the second device is performed, and then the orientation calibration is performed according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation. When the first device is azimuthally calibrated by the azimuth calibration method, the first device does not need to start the back and forth movement in the field to achieve calibration, and only needs to receive the calibration orientation information after the second device performs the azimuth calibration, according to the calibration orientation information, The orientation information of a device to be calibrated and the relative orientation can be azimuthally calibrated, simplifying the calibration process and improving calibration efficiency.
请参阅图3,在其中一个实施例中,根据待校准方位信息、校准方位信息以及预设相对方位,对第一设备执行方位校准的步骤S350包括:Referring to FIG. 3, in one embodiment, the step S350 of performing orientation calibration on the first device according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation includes:
S351:根据校准方位信息以及预设相对方位,获取第一设备的准确方位信息。S351: Acquire accurate orientation information of the first device according to the calibration orientation information and the preset relative orientation.
S353:根据待校准方位信息以及准确方位信息执行方位校准。S353: Perform azimuth calibration according to the orientation information to be calibrated and the accurate orientation information.
由于第一设备与第二设备的相位可能存在不同,在获得第二设备执行完方位校准后的校准方位信息后,不能直接利用校准方位信息对第一设备进行校准,还需根据相对方位对方位信息进行调整,这样可获得第一设备准确所在的方位,然后再根据该准确方位信息对第一设备进行校准,具体地,根据准确方位信息对待校准方位信息进行校准,将第一设备的待校准信息校准至准确方位信息。例如,如图4所示,第一设备与第二设备的相对方位为0度,也就表示两者之间没有方位差,第一设备所在方位与第二设备所在方位是相同的,第二设备所在的方位也就是第一设备所在的方位,第二设备执行方位校准后的校准方位信息为东南50度,然而,第一设备的待校准方位信息为东南49度,由于第二设备的校准方位信息是通过校准的,从而较为准确,通过获取第二设备的校准方位信息,对第一设备的待校准方位信息进行,校准第一设备的方位为东南50度,实现第一设备的方位校准,即第一设备校准后的方位和第二设备执行校准后的方位信息相同。又例如,第一设备与第二设备的相对方位为第一设备对于第二设备东偏北20度,第二设备执行方位校准后的校准方位信息为东北方向50度,从而可获取第一设备的准确方位信息为东北方向70度。然而,第一设备的待校准方位信息为东北方向72度,待校准方位信息与准确方位信息之间有东偏北2度的方位信息误差值,对第一设备的待校准信息东向北校准2度,调整待校准方位信息与准确方位信息相同,即校准第一设备后的方位为72度,实现方位校准。进一步地,根据待校准方位信息以及准确方位信息执行方位校准可包括获取待校准方位信息以及准确方位信息的方位误差值,根据方位误差值,将待校准方位信息校准至准确方位信息。Since the phases of the first device and the second device may be different, after obtaining the calibration orientation information after the second device performs the azimuth calibration, the first device may not be directly calibrated by using the calibration orientation information, and the relative orientation is also required. The information is adjusted so that the orientation of the first device can be obtained, and then the first device is calibrated according to the accurate orientation information. Specifically, the calibration orientation information is calibrated according to the accurate orientation information, and the first device is to be calibrated. The information is calibrated to accurate position information. For example, as shown in FIG. 4, the relative orientation of the first device and the second device is 0 degrees, that is, there is no azimuth difference between the two devices, and the orientation of the first device is the same as the orientation of the second device, and the second The orientation of the device is the orientation of the first device, and the calibration orientation information after the second device performs the azimuth calibration is 50 degrees southeast. However, the orientation information of the first device to be calibrated is 49 degrees southeast, due to the calibration of the second device. The orientation information is calibrated, so that it is more accurate. By obtaining the calibration orientation information of the second device, the orientation information of the first device to be calibrated is performed, and the orientation of the first device is calibrated to 50 degrees southeast to realize the orientation calibration of the first device. That is, the orientation after the calibration of the first device is the same as the orientation after the calibration of the second device. For another example, the relative orientation of the first device and the second device is that the first device is 20 degrees north of the second device, and the calibration orientation information after the second device performs the azimuth calibration is 50 degrees northeast, so that the first device can be acquired. The exact position information is 70 degrees northeast. However, the orientation information of the first device to be calibrated is 72 degrees in the northeast direction, and there is an orientation information error value of 2 degrees north to north between the orientation information to be calibrated and the accurate orientation information, and the information to be calibrated of the first device is calibrated east to north. 2 degrees, the adjustment of the orientation information to be calibrated is the same as the accurate orientation information, that is, the orientation after calibrating the first device is 72 degrees, and the orientation calibration is realized. Further, performing the azimuth calibration according to the orientation information to be calibrated and the accurate orientation information may include acquiring the azimuth error value of the azimuth information to be calibrated and the accurate azimuth information, and calibrating the azimuth information to be calibrated to the accurate azimuth information according to the azimuth error value.
在其中一个实施例中,预设相对方位为零度。 In one of the embodiments, the preset relative orientation is zero degrees.
为了进一步便于校准,提高校准效率,避免第一设备与第二设备由于方位不同导致校准时间长的问题,在获取第一设备的待校准方位信息之前,将第一设备与第二设备放置于相同方位,也就是说预设相对方位为零度,即第一设备与第二设备之间没有方位差,第一设备与第二设备处在相同方位的,即第一设备与第二设备处在相同方向,那么可直接利用第二设备执行方位校准后的校准方位信息对第一设备进行方位校准。In order to further facilitate the calibration, improve the calibration efficiency, and avoid the problem that the first device and the second device have long calibration time due to different orientations, the first device and the second device are placed in the same position before acquiring the orientation information of the first device to be calibrated. Orientation, that is, the preset relative orientation is zero degrees, that is, there is no azimuth difference between the first device and the second device, and the first device and the second device are in the same orientation, that is, the first device and the second device are in the same Direction, then the first device can be directly oriented using the calibration orientation information after the azimuth calibration is performed by the second device.
请参阅图5,在其中一个实施例中,向第二设备发送校准请求的步骤S520之前还包括:Referring to FIG. 5, in one embodiment, before the step S520 of sending a calibration request to the second device, the method further includes:
S511:接收第二设备发送的连接请求。S511: Receive a connection request sent by the second device.
S513:根据连接请求,与第二设备建立连接。S513: Establish a connection with the second device according to the connection request.
在第一设备接收第二设备执行方位校准后的校准方位信息之前,第一设备与第二设备之间须先建立连接,从而,第二设备通过发送连接请求给第一设备以请求建立连接,以便通信,第一设备接收连接请求后,与第二设备建立连接,即可进行信息传输。Before the first device receives the calibration orientation information after the second device performs the azimuth calibration, the first device and the second device must first establish a connection, so that the second device requests to establish a connection by sending a connection request to the first device. In order to communicate, after the first device receives the connection request, it establishes a connection with the second device, and can perform information transmission.
在其中一个实施例中,根据待校准方位信息、校准方位信息以及预设相对方位进行校准执行方位校准的步骤S550之后,还包括:In one embodiment, after step S550 of performing calibration of the orientation calibration according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation, the method further includes:
S561:获取目的位置。S561: Get the destination location.
S563:实时获取第一设备自身所在的当前方位信息以及当前地理位置。S563: Real-time information about the current location of the first device and the current geographic location.
S565:根据当前方位信息、当前地理位置以及目的位置进行导航。S565: Navigating according to current orientation information, current geographic location, and destination location.
交通设备上安装的电子终端上一般还设置有GPS(Global Positioning System,全球定位系统)定位装置,可用于实时定位交通设备所在的地理位置,从而,当用户需要进行导航时,首选,获取用户想要到达的目的位置,也就获知用户想要去的地方,可通过用户输入目的位置也可通过语音通知交通设备目的位置,并实时获取第一设备自身所在的当前方位信息以及当前地理位置,也就是获取交通设备自身当前所处的方位以及当前所在的位置,然后进行从当前地理位置到目的位置的导航过程。在本实施例中,可通过GPS定位装置实时定位交通设备当前位置获取当前地理位置。由于交通设备执行完方位校准后,可准确定位,准确知道用户当前所处方位信息,根据用户操作,获知用户需要导航到的目标位置,根据当前所处方位信息、当前地理位置以及目的位置可实现从当前地理位置到目标位置的准确导航。A GPS (Global Positioning System) positioning device is generally disposed on the electronic terminal installed on the transportation device, and can be used to locate the geographical location of the transportation device in real time, so that when the user needs to navigate, the user prefers to acquire the user. The destination location to be reached, and the location where the user wants to go, the user can input the destination location and also notify the destination location of the traffic device by voice, and obtain the current location information of the first device and the current geographic location in real time. It is to obtain the current location of the traffic device itself and the current location, and then perform the navigation process from the current geographic location to the destination location. In this embodiment, the current location of the traffic device can be located in real time by the GPS positioning device to obtain the current geographic location. After the traffic equipment performs the azimuth calibration, it can accurately locate, accurately know the current position information of the user, and according to the user operation, know the target position that the user needs to navigate, according to the current location information, the current geographic location and the destination location. Accurate navigation from the current geographic location to the target location.
请参阅图6,提供一种实施例的姿态校准装置,应用于第一设备,包括: Referring to FIG. 6, an attitude calibration apparatus according to an embodiment is provided for application to a first device, including:
待校准方位信息获取模块610,用于获取待校准方位信息。The orientation information acquisition module 610 to be calibrated is configured to acquire orientation information to be calibrated.
通过获取第一设备自身的待校准方位信息,即可知道第一设备目前定位的方位。在本实施例中,第一设备包括但不限于交通设备等。在实际应用中,为了满足人们对交通设备的智能化需求,越来越多的交通设备上会装有本地电子终端,例如,后视镜智能设备,在电子终端中设置有方位检测装置以及GPS定位装置,以便用户随时查看交通设备行进在哪个方位和位置。然而,方位检测装置在收到强烈的磁场干扰后进行方位检测时会出现较大偏差,以至于方位定位不准确,此时,需要对方位检测装置进行校准以便获取较为准确的方位信息,那么,首先需要获取交通设备上安装的方位检测装置检测的待校准方位信息。在本实施例中,方位检测装置为磁场传感器,通过磁场传感器可感应不同方向上的磁场强度,从而检测出所处的方位。By obtaining the orientation information of the first device itself to be calibrated, the orientation of the current positioning of the first device can be known. In this embodiment, the first device includes, but is not limited to, a traffic device or the like. In practical applications, in order to meet people's intelligent demand for traffic equipment, more and more traffic equipment will be equipped with local electronic terminals, for example, rearview mirror smart devices, with orientation detection devices and GPS installed in the electronic terminals. Position the device so that the user can see at any time where the location and location of the traffic device is traveling. However, the azimuth detecting device may have a large deviation when performing the azimuth detection after receiving a strong magnetic field interference, so that the azimuth positioning is inaccurate. At this time, the azimuth detecting device needs to be calibrated to obtain more accurate orientation information, then, Firstly, it is necessary to obtain the orientation information to be calibrated detected by the orientation detecting device installed on the traffic device. In this embodiment, the orientation detecting device is a magnetic field sensor, and the magnetic field sensor can sense the magnetic field strength in different directions to detect the orientation.
校准请求发送模块620,用于向第二设备发送校准请求。The calibration request sending module 620 is configured to send a calibration request to the second device.
第一设备需要进行方位校准时,向第二设备发送校准请求,以请求获取第二设备执行方位校准后的校准方位信息。第二设备接收该校准请求并响应,将其执行方位校准后的校准方位信息发送给第一设备。When the first device needs to perform orientation calibration, the calibration request is sent to the second device to request acquisition of the calibration orientation information after the second device performs the orientation calibration. The second device receives the calibration request and responds by transmitting the calibration orientation information after performing the azimuth calibration to the first device.
方位信息获取模块630,用于接收第二设备响应校准请求执行方位校准后的校准方位信息。The orientation information acquisition module 630 is configured to receive calibration orientation information after the second device performs the orientation calibration in response to the calibration request.
向第二设备发送校准请求后,第二设备响应该校准请求执行方位校准,并向第一设备发送执行方位校准后的校准方位信息,第一设备即可接收第二设备执行方位校准后的校准方位信息。在本实施例中,第二设备包括但不限于手机和平板电脑等智能终端,在实际应用中,随着用户对智能终端产品的日益需求,一般的智能终端上也会安装方位检测装置和GPS定位装置,以便用户通过智能终端知道自己所在的方位和位置,同样地,智能终端中的方位检测装置不定时要进行矫正,即进行方位校准,以便方位检测准确,智能设备在进行校准时,用户通过将智能手机在空间内画“8”字或通过智能终端内集成的校准程序即可实现方位校准,校准过程方便简单。传统的交通设备中的电子终端要进行校准时,需要启动交通设备并在场地内进行来回移动进行校准,太耗时,在本实施例中,无需再将交通设备进行移动校准,直接通过交通设备获取智能终端执行方位校准后的方位信息进行自身方位校准即可。After transmitting the calibration request to the second device, the second device performs the orientation calibration in response to the calibration request, and sends the calibration orientation information after performing the orientation calibration to the first device, and the first device can receive the calibration after the second device performs the orientation calibration. Bearing information. In this embodiment, the second device includes, but is not limited to, a smart terminal such as a mobile phone and a tablet computer. In actual applications, with the increasing demand of the user for the smart terminal product, the general intelligent terminal also installs the orientation detecting device and the GPS. Positioning device, so that the user knows the position and position of the user through the smart terminal. Similarly, the azimuth detecting device in the smart terminal does not need to perform correction, that is, azimuth calibration, so that the position detection is accurate, and the smart device is in calibration. Azimuth calibration can be achieved by drawing a "8" word in the space of the smartphone or through a calibration program integrated in the smart terminal. The calibration process is simple and convenient. When the electronic terminal in the traditional transportation equipment is to be calibrated, it is necessary to start the transportation equipment and move back and forth in the field for calibration, which is too time consuming. In this embodiment, it is no longer necessary to carry out mobile calibration of the transportation equipment and directly pass the traffic equipment. Obtain the orientation information after the smart terminal performs the azimuth calibration to perform its own azimuth calibration.
相对方位获取模块640,用于获取与第二设备的预设相对方位。 The relative orientation acquisition module 640 is configured to acquire a preset relative orientation with the second device.
校准模块650,用于根据待校准方位信息、方位信息以及相对方位进行校准执行方位校准。The calibration module 650 is configured to perform orientation calibration according to the calibration of the orientation information to be calibrated, the orientation information, and the relative orientation.
第一设备与第二设备在放置时两者之间的相对方位是可预设的,可根据用户的需求进行设置,根据预设相对方位放置第一设备与第二设备。由于第一设备与第二设备可能存在方位差,也就是说,在对第一设备进行校准时,第一设备与第二设备的方位可能不同,直接利用第一设备的方位信息进行校准会存在误差,从而需要获取第一设备与第二设备的预设相对方位。在后续对第一设备进行方位校准时,由于校准方位信息是第二设备执行校准后的校准方位信息,比较准确,通过该校准方位信息,可准确地知道用户所在方位,然而,第一设备的待校准信息可能不太准确,这时候获取的待校准方位信息需要校准,可根据接收的校准方位信息以及相对方位,执行方位校准,校准后的第一设备可准确定位用户所在方位。例如,第一设备放置于第二设备东偏北20度,也就是说即两者之间的相对方位为东偏北20度,需要进行校准时,获取的第一设备的待校准方位信息为东北方向78度,第二设备执行校准后的校准方位信息为东北方向60度,第二设备是执行校准后获得的校准方位信息是准确的,从而根据该校准方位信息即东北方向60度进行校准,由于两者方位差20度,从而可根据第二设备的方位信息以及相对方位,可对第一设备的待校准方位78度进行校准,实现对第一设备的方位校准,也就是说通过第二设备的方位信息60度和相对方位东偏北20度可知第一设备的较为准确的方位信息为80度,而其自身获得的待校准方位为78度,是不同的,再执行方位校准使第一设备的方位更准确,也就是根据第二设备的校准方位信息和相对方位可快速实现对第一设备的准确校准。The relative orientation between the first device and the second device is preset, and can be set according to the user's needs, and the first device and the second device are placed according to the preset relative orientation. Since the first device and the second device may have a difference in orientation, that is, when the first device is calibrated, the orientations of the first device and the second device may be different, and the calibration directly using the orientation information of the first device may exist. The error, so that the preset relative orientation of the first device and the second device needs to be acquired. In the subsequent azimuth calibration of the first device, since the calibration orientation information is the calibration orientation information after the second device performs the calibration, it is relatively accurate, and the calibration orientation information can accurately know the orientation of the user, however, the first device The information to be calibrated may be less accurate. At this time, the acquired orientation information to be calibrated needs to be calibrated, and the orientation calibration may be performed according to the received calibration orientation information and the relative orientation, and the calibrated first device can accurately locate the orientation of the user. For example, the first device is placed 20 degrees north of the second device, that is, the relative orientation between the two devices is 20 degrees north and north. When calibration is required, the acquired orientation information of the first device is 78 degrees northeast, the calibration position information of the second device after calibration is 60 degrees in the northeast direction, and the calibration information obtained by the second device after performing calibration is accurate, thereby performing calibration according to the calibration orientation information, that is, 60 degrees northeast. Because the azimuth difference between the two devices is 20 degrees, according to the orientation information and the relative orientation of the second device, the orientation of the first device to be calibrated can be calibrated by 78 degrees to achieve the orientation calibration of the first device, that is, the first The orientation information of the two devices is 60 degrees and the relative azimuth is 20 degrees east. It can be seen that the more accurate orientation information of the first device is 80 degrees, and the self-acquired orientation to be calibrated is 78 degrees, which is different, and then the orientation calibration is performed. The orientation of the first device is more accurate, that is, the accurate calibration of the first device can be quickly achieved according to the calibration orientation information and relative orientation of the second device.
上述方位校准装置,进行第一设备进行方位校准时,首先获取第一设备自身的待校准方位信息,并向第二设备发送校准请求,第二设备响应该校准请求执行方位校准并向第一设备发送其执行方位校准后的校准方位信息,第一设备接收第二设备响应校准请求执行方位校准后的校准方位信息,并获取第一设备与第二设备的预设相对方位,也就知道第一设备与第二设备之间的相对位置关系,再根据待校准方位信息、校准方位信息以及预设相对方位执行方位校准。通过上述方位校准方法对第一设备进行方位校准时,无需启动第一设备在场地内进行来回移动实现校准,只需接收第二设备执行方位校准后的校准方位信息,根据该校准方位信息、第一设备的待校准方位信息以及相对方位进行方位校准即可,简化校准过程,提高校准效率。 The orientation calibration device performs the orientation calibration of the first device, first acquires the orientation information of the first device itself to be calibrated, and sends a calibration request to the second device, and the second device performs orientation calibration and sends the calibration to the first device in response to the calibration request. Sending the calibration orientation information after performing the orientation calibration, the first device receives the calibration orientation information after the second device responds to the calibration request, and acquires the preset relative orientation of the first device and the second device, and thus knows the first The relative positional relationship between the device and the second device is performed, and then the orientation calibration is performed according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation. When the first device is azimuthally calibrated by the azimuth calibration method, the first device does not need to start the back and forth movement in the field to achieve calibration, and only needs to receive the calibration orientation information after the second device performs the azimuth calibration, according to the calibration orientation information, The orientation information of a device to be calibrated and the relative orientation can be azimuthally calibrated, simplifying the calibration process and improving calibration efficiency.
请参阅图7,在其中一个实施例中,校准模块750包括:Referring to FIG. 7, in one embodiment, the calibration module 750 includes:
准确方位信息获取模块751,用于根据校准方位信息以及预设相对方位,获取第一设备的准确方位信息。The accurate orientation information acquiring module 751 is configured to acquire accurate orientation information of the first device according to the calibration orientation information and the preset relative orientation.
方位校准模块753,用于根据待校准方位信息以及准确方位信息执行方位校准。The orientation calibration module 753 is configured to perform orientation calibration according to the orientation information to be calibrated and the accurate orientation information.
由于第一设备与第二设备的相位可能存在不同,在获得第二设备执行完方位校准后的校准方位信息后,不能直接利用校准方位信息对第一设备进行校准,还需根据相对方位对方位信息进行调整,这样可获得第一设备准确所在的方位,然后再根据该准确方位信息对第一设备进行校准,具体地,根据准确方位信息对待校准方位信息进行校准,将第一设备的待校准信息校准至准确方位信息。例如,如图4所示,第一设备与第二设备的相对方位为0度,也就表示两者之间没有方位差,第一设备所在方位与第二设备所在方位是相同的,第二设备所在的方位也就是第一设备所在的方位,第二设备执行方位校准后的校准方位信息为东南50度,然而,第一设备的待校准方位信息为东南49度,由于第二设备的校准方位信息是通过校准的,从而较为准确,通过获取第二设备的校准方位信息,对第一设备的待校准方位信息进行,校准第一设备的方位为东南50度,实现第一设备的方位校准,即第一设备校准后的方位和第二设备执行校准后的方位信息相同。又例如,第一设备与第二设备的相对方位为第一设备对于第二设备东偏北20度,第二设备执行方位校准后的校准方位信息为东北方向50度,从而可获取第一设备的准确方位信息为东北方向70度。然而,第一设备的待校准方位信息为东北方向72度,待校准方位信息与准确方位信息之间有东偏北2度的方位信息误差值,对第一设备的待校准信息东向北校准2度,调整待校准方位信息与准确方位信息相同,即校准第一设备后的方位为72度,实现方位校准。进一步地,根据待校准方位信息以及准确方位信息执行方位校准可包括获取待校准方位信息以及准确方位信息的方位误差值,根据方位误差值,将待校准方位信息校准至准确方位信息。Since the phases of the first device and the second device may be different, after obtaining the calibration orientation information after the second device performs the azimuth calibration, the first device may not be directly calibrated by using the calibration orientation information, and the relative orientation is also required. The information is adjusted so that the orientation of the first device can be obtained, and then the first device is calibrated according to the accurate orientation information. Specifically, the calibration orientation information is calibrated according to the accurate orientation information, and the first device is to be calibrated. The information is calibrated to accurate position information. For example, as shown in FIG. 4, the relative orientation of the first device and the second device is 0 degrees, that is, there is no azimuth difference between the two devices, and the orientation of the first device is the same as the orientation of the second device, and the second The orientation of the device is the orientation of the first device, and the calibration orientation information after the second device performs the azimuth calibration is 50 degrees southeast. However, the orientation information of the first device to be calibrated is 49 degrees southeast, due to the calibration of the second device. The orientation information is calibrated, so that it is more accurate. By obtaining the calibration orientation information of the second device, the orientation information of the first device to be calibrated is performed, and the orientation of the first device is calibrated to 50 degrees southeast to realize the orientation calibration of the first device. That is, the orientation after the calibration of the first device is the same as the orientation after the calibration of the second device. For another example, the relative orientation of the first device and the second device is that the first device is 20 degrees north of the second device, and the calibration orientation information after the second device performs the azimuth calibration is 50 degrees northeast, so that the first device can be acquired. The exact position information is 70 degrees northeast. However, the orientation information of the first device to be calibrated is 72 degrees in the northeast direction, and there is an orientation information error value of 2 degrees north to north between the orientation information to be calibrated and the accurate orientation information, and the information to be calibrated of the first device is calibrated east to north. 2 degrees, the adjustment of the orientation information to be calibrated is the same as the accurate orientation information, that is, the orientation after calibrating the first device is 72 degrees, and the orientation calibration is realized. Further, performing the azimuth calibration according to the orientation information to be calibrated and the accurate orientation information may include acquiring the azimuth error value of the azimuth information to be calibrated and the accurate azimuth information, and calibrating the azimuth information to be calibrated to the accurate azimuth information according to the azimuth error value.
在其中一个实施例中,预设相对方位为零度。In one of the embodiments, the preset relative orientation is zero degrees.
为了进一步便于校准,提高校准效率,避免第一设备与第二设备由于方位不同导致校准时间长的问题,在获取第一设备的待校准方位信息之前,将第一设备与第二设备放置于相同方位,也就是说预设相对方位为零度,即第一设备与第二设备之间没有方位差,第一设备与第二设备处在相同方位的,即第一设备与第二设备处在相同方向,那么可直接利用第二设备执行方位校准后的校准方位信息对第一设备进行方位校准。 In order to further facilitate the calibration, improve the calibration efficiency, and avoid the problem that the first device and the second device have long calibration time due to different orientations, the first device and the second device are placed in the same position before acquiring the orientation information of the first device to be calibrated. Orientation, that is, the preset relative orientation is zero degrees, that is, there is no azimuth difference between the first device and the second device, and the first device and the second device are in the same orientation, that is, the first device and the second device are in the same Direction, then the first device can be directly oriented using the calibration orientation information after the azimuth calibration is performed by the second device.
请参阅图8,在其中一个实施例中,上述姿态校准装置还包括:Referring to FIG. 8, in one embodiment, the attitude calibration apparatus further includes:
请求接收模块811,用于接收第二设备发送的连接请求;The request receiving module 811 is configured to receive a connection request sent by the second device.
连接模块813,用于根据连接请求,与第二设备建立连接。The connection module 813 is configured to establish a connection with the second device according to the connection request.
在第一设备接收第二设备执行方位校准后的校准方位信息之前,第一设备与第二设备之间须先建立连接,从而,第二设备通过发送连接请求给第一设备以请求建立连接,以便通信,第一设备接收连接请求后,与第二设备建立连接,即可进行信息传输。Before the first device receives the calibration orientation information after the second device performs the azimuth calibration, the first device and the second device must first establish a connection, so that the second device requests to establish a connection by sending a connection request to the first device. In order to communicate, after the first device receives the connection request, it establishes a connection with the second device, and can perform information transmission.
在其中一个实施例中,上述姿态校准装置,还包括:In one embodiment, the attitude calibration apparatus further includes:
目的位置获取模块861,用于获取目的位置。The destination location obtaining module 861 is configured to acquire a destination location.
实时信息获取模块863,用于实时获取第一设备自身所在的当前方位信息以及当前地理位置。The real-time information obtaining module 863 is configured to obtain the current orientation information of the first device and the current geographic location in real time.
导航模块865,用于根据当前方位信息、当前地理位置以及目的位置进行导航。The navigation module 865 is configured to navigate according to current orientation information, current geographic location, and destination location.
交通设备上安装的电子终端上一般还设置有GPS定位装置,可用于实时定位交通设备所在的地理位置,从而,当用户需要进行导航时,首选,获取用户想要到达的目的位置,也就获知用户想要去的地方,可通过用户输入目的位置也可通过语音通知交通设备目的位置,并实时获取第一设备自身所在的当前方位信息以及当前地理位置,也就是获取交通设备自身当前所处的方位以及当前所在的位置,然后进行从当前地理位置到目的位置的导航过程。在本实施例中,可通过GPS定位装置实时定位交通设备当前位置获取当前地理位置。由于交通设备执行完方位校准后,可准确定位,准确知道用户当前所处方位信息,根据用户操作,获知用户需要导航到的目标位置,根据当前所处方位信息、当前地理位置以及目的位置可实现从当前地理位置到目标位置的准确导航。The electronic terminal installed on the transportation device is generally provided with a GPS positioning device, which can be used for real-time positioning of the geographical location of the transportation device, so that when the user needs to navigate, the user prefers to obtain the destination location that the user wants to reach, and also knows. Where the user wants to go, the user can input the destination location or notify the destination location of the traffic device by voice, and obtain the current location information of the first device and the current geographic location in real time, that is, obtain the current location of the traffic device itself. The orientation and the current location, then the navigation process from the current location to the destination location. In this embodiment, the current location of the traffic device can be located in real time by the GPS positioning device to obtain the current geographic location. After the traffic equipment performs the azimuth calibration, it can accurately locate, accurately know the current position information of the user, and according to the user operation, know the target position that the user needs to navigate, according to the current location information, the current geographic location and the destination location. Accurate navigation from the current geographic location to the target location.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, It is considered to be the range described in this specification.
以上实施例仅表达了本发明的几种实施例,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。 The above embodiments are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (10)

  1. 一种方位校准方法,应用于第一设备,其特征在于,包括以下步骤:An orientation calibration method is applied to a first device, which comprises the following steps:
    获取待校准方位信息;Obtaining the orientation information to be calibrated;
    向第二设备发送校准请求;Sending a calibration request to the second device;
    接收所述第二设备响应所述校准请求执行方位校准后的校准方位信息;Receiving calibration orientation information after the second device performs orientation calibration in response to the calibration request;
    获取与所述第二设备的预设相对方位;Obtaining a preset relative orientation with the second device;
    根据所述待校准方位信息、所述校准方位信息以及所述预设相对方位执行方位校准。Azimuth calibration is performed according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation.
  2. 根据权利要求1所述的方位校准方法,其特征在于,所述根据所述待校准方位信息、所述校准方位信息以及所述预设相对方位执行方位校准的步骤包括:The azimuth calibration method according to claim 1, wherein the step of performing orientation calibration according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation comprises:
    根据所述校准方位信息以及所述预设相对方位,获取所述第一设备的准确方位信息;Obtaining accurate orientation information of the first device according to the calibration orientation information and the preset relative orientation;
    根据所述待校准方位信息以及所述准确方位信息执行方位校准。Azimuth calibration is performed according to the orientation information to be calibrated and the accurate orientation information.
  3. 根据权利要求1或2所述的方位校准方法,其特征在于,所述预设相对方位为零度。The orientation calibration method according to claim 1 or 2, wherein the preset relative orientation is zero degrees.
  4. 根据权利要求1所述的方位校准方法,其特征在于,所述向第二设备发送校准请求的步骤之前还包括:The azimuth calibration method according to claim 1, wherein the step of transmitting the calibration request to the second device further comprises:
    接收所述第二设备发送的连接请求;Receiving a connection request sent by the second device;
    根据所述连接请求,与所述第二设备建立连接。Establishing a connection with the second device according to the connection request.
  5. 根据权利要求1所述的方位校准方法,其特征在于,所述根据所述待校准方位信息、所述校准方位信息以及所述预设相对方位执行方位校准的步骤之后,还包括:The method of claim 1 , wherein the step of performing the orientation calibration according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation further comprises:
    获取目的位置;Get the destination location;
    实时获取所述第一设备自身所在的当前方位信息以及当前地理位置;Obtaining the current orientation information of the first device itself and the current geographic location in real time;
    根据所述当前方位信息、所述当前地理位置以及所述目的位置进行导航。Navigation is performed according to the current orientation information, the current geographic location, and the destination location.
  6. 一种姿态校准装置,应用于第一设备,其特征在于,包括:An attitude calibration device is applied to a first device, and includes:
    待校准方位信息获取模块,用于获取待校准方位信息;The orientation information acquiring module to be calibrated is used to obtain the orientation information to be calibrated;
    校准请求发送模块,用于向所述第二设备发送校准请求;a calibration request sending module, configured to send a calibration request to the second device;
    方位信息获取模块,用于接收第二设备响应所述校准请求执行方位校准后的校准方位信息;The orientation information acquiring module is configured to receive calibration orientation information after the second device performs orientation calibration in response to the calibration request;
    相对方位获取模块,用于获取与所述第二设备的预设相对方位; a relative orientation acquisition module, configured to acquire a preset relative orientation with the second device;
    校准模块,用于根据所述待校准方位信息、所述校准方位信息以及所述预设相对方位进行校准执行方位校准。And a calibration module, configured to perform calibration of the orientation according to the orientation information to be calibrated, the calibration orientation information, and the preset relative orientation.
  7. 根据权利要求6所述的姿态校准装置,其特征在于,所述校准模块包括:The attitude calibration apparatus according to claim 6, wherein the calibration module comprises:
    准确方位信息获取模块,用于根据所述校准方位信息以及所述预设相对方位,获取所述第一设备的准确方位信息;An accurate orientation information acquisition module, configured to acquire accurate orientation information of the first device according to the calibration orientation information and the preset relative orientation;
    方位校准模块,用于根据所述待校准方位信息以及所述准确方位信息执行方位校准。The orientation calibration module is configured to perform orientation calibration according to the orientation information to be calibrated and the accurate orientation information.
  8. 根据权利要求6或7所述的方位校准方法,其特征在于,所述预设相对方位为零度。The azimuth calibration method according to claim 6 or 7, wherein the preset relative azimuth is zero degrees.
  9. 根据权利要求6所述的姿态校准装置,其特征在于,还包括:The attitude calibration apparatus according to claim 6, further comprising:
    请求接收模块,用于接收所述第二设备连接请求;a request receiving module, configured to receive the second device connection request;
    连接模块,用于根据所述连接请求,与所述第二设备建立连接。And a connection module, configured to establish a connection with the second device according to the connection request.
  10. 根据权利要求6所述的姿态校准装置,其特征在于,还包括:The attitude calibration apparatus according to claim 6, further comprising:
    目的位置获取模块,用于获取目的位置;a destination location acquisition module for obtaining a destination location;
    实时信息获取模块,用于实时获取所述第一设备自身所在的当前方位信息以及当前地理位置;a real-time information obtaining module, configured to acquire, in real time, current orientation information of the first device and a current geographic location;
    导航模块,用于根据所述当前方位信息、所述当前地理位置以及所述目的标位置进行导航。 And a navigation module, configured to navigate according to the current orientation information, the current geographic location, and the target target location.
PCT/CN2016/113144 2016-09-21 2016-12-29 Azimuth calibration method and apparatus WO2018053969A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610843778.8A CN106441360B (en) 2016-09-21 2016-09-21 Bearing calibration method and device
CN201610843778.8 2016-09-21

Publications (1)

Publication Number Publication Date
WO2018053969A1 true WO2018053969A1 (en) 2018-03-29

Family

ID=58166363

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113144 WO2018053969A1 (en) 2016-09-21 2016-12-29 Azimuth calibration method and apparatus

Country Status (2)

Country Link
CN (1) CN106441360B (en)
WO (1) WO2018053969A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113002725A (en) * 2021-02-23 2021-06-22 江南造船(集团)有限责任公司 Installation and calibration method of azimuth reference mirror

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573530B (en) * 2018-03-29 2022-02-11 麒麟合盛网络技术股份有限公司 Augmented reality AR interaction method and system
CN110319830B (en) * 2018-03-30 2021-09-28 北京百度网讯科技有限公司 Positioning processing method, device and equipment based on geomagnetic data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102192742A (en) * 2010-03-09 2011-09-21 陈新伟 Navigation method and device
CN102289308A (en) * 2011-09-06 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Method and system for adjusting orientation of object by using mobile terminal, and mobile terminal
CN102645221A (en) * 2012-03-26 2012-08-22 北京华虎兄弟科技有限公司 Locating device and use method thereof
US20140057656A1 (en) * 2012-08-24 2014-02-27 Fujitsu Limited Method of positioning mobile terminal and mobile terminal
CN103900557A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Method, device and electronic device for obtaining position information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102589536A (en) * 2012-02-15 2012-07-18 安徽大学 Electronic compass with self-correcting function
US9194702B2 (en) * 2012-06-29 2015-11-24 Symbol Technologies, Llc Methods and apparatus for adjusting heading direction in a navigation system
CN103630125B (en) * 2013-12-12 2016-05-11 Tcl通讯(宁波)有限公司 A kind of based on gyrostatic digital compass correction system for prompting and its implementation
US20170136952A1 (en) * 2014-07-03 2017-05-18 Panasonic Intellectual Property Management Co. , Ltd. Electronic compass device for vehicle, portable electronic compass calibration device, control program for portable electronic compass calibration device, and electronic compass calibration system for vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102192742A (en) * 2010-03-09 2011-09-21 陈新伟 Navigation method and device
CN102289308A (en) * 2011-09-06 2011-12-21 宇龙计算机通信科技(深圳)有限公司 Method and system for adjusting orientation of object by using mobile terminal, and mobile terminal
CN102645221A (en) * 2012-03-26 2012-08-22 北京华虎兄弟科技有限公司 Locating device and use method thereof
US20140057656A1 (en) * 2012-08-24 2014-02-27 Fujitsu Limited Method of positioning mobile terminal and mobile terminal
CN103900557A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Method, device and electronic device for obtaining position information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113002725A (en) * 2021-02-23 2021-06-22 江南造船(集团)有限责任公司 Installation and calibration method of azimuth reference mirror

Also Published As

Publication number Publication date
CN106441360A (en) 2017-02-22
CN106441360B (en) 2019-08-13

Similar Documents

Publication Publication Date Title
US11323847B2 (en) Systems and methods for determining a position of a terminal device using a hidden Markov model
US8589070B2 (en) Apparatus and method for compensating position information in portable terminal
US9418549B2 (en) Apparatus and method for recognizing position of vehicle
KR101913535B1 (en) Positioning method and system using accompanying devices
JP2018529084A5 (en)
EP3001707B1 (en) Systems and methods for sharing location data within a vehicle
CN104950284B (en) The determination method and electronic device of device relative position
US9746331B1 (en) Method and apparatus for map matching
TW201118345A (en) Methods and apparatuses for correcting location measurements for a navigable feature
CN108061875B (en) Vehicle positioning based on wireless local area network nodes
WO2018053969A1 (en) Azimuth calibration method and apparatus
US20110213550A1 (en) Navigation system
US20190208493A1 (en) Positioning system and method
US9674668B2 (en) Method, electronic apparatus and computer readable medium for determining relative position of apparatus
KR102159349B1 (en) Parking location notification device in a outdoor parking lot, and the method of thereof
WO2004081496A1 (en) Navigation device, navigation system, navigation method, and program
US20140358426A1 (en) Mobile terminal and operating method thereof
CN107027169B (en) Method and device for determining user position information
JP2010276411A (en) Mobile terminal device
CN105589081B (en) A kind of air navigation aid, terminal and system
JP2012202750A (en) Navigation device and navigation system
JP6511890B2 (en) Direction estimation system and direction estimation apparatus
WO2017185739A1 (en) Wifi hotspot pushing method and device
TWI536859B (en) Method, electronic apparatus and computer program product for determining relative position of apparatus
JP2011508192A (en) Improved navigation apparatus and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16916708

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16916708

Country of ref document: EP

Kind code of ref document: A1