[go: up one dir, main page]

CN108375376B - Rotation angle detection method and device - Google Patents

Rotation angle detection method and device Download PDF

Info

Publication number
CN108375376B
CN108375376B CN201810190651.XA CN201810190651A CN108375376B CN 108375376 B CN108375376 B CN 108375376B CN 201810190651 A CN201810190651 A CN 201810190651A CN 108375376 B CN108375376 B CN 108375376B
Authority
CN
China
Prior art keywords
walking
user
walking direction
moment
angle difference
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
CN201810190651.XA
Other languages
Chinese (zh)
Other versions
CN108375376A (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.)
Zhejiang Normal University CJNU
Original Assignee
Zhejiang Normal University CJNU
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 Zhejiang Normal University CJNU filed Critical Zhejiang Normal University CJNU
Priority to CN201810190651.XA priority Critical patent/CN108375376B/en
Publication of CN108375376A publication Critical patent/CN108375376A/en
Application granted granted Critical
Publication of CN108375376B publication Critical patent/CN108375376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • G01C21/165Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation combined with non-inertial navigation instruments

Landscapes

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

Abstract

本发明实施例提供一种转角检测方法及装置,属于数据处理领域,所述方法应用于移动终端设备,所述方法包括:在第一时刻,且所述移动终端被携带在一用户身上时,获取所述用户的第一行走方向;在第一时刻之后的第二时刻,获取所述用户的第二行走方向;基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果。通过本发明实施例能够实现室内导航中的用户转弯检测,提高室内导航精度。

Figure 201810190651

Embodiments of the present invention provide a method and device for detecting a turning angle, which belong to the field of data processing. The method is applied to a mobile terminal device, and the method includes: at a first moment, when the mobile terminal is carried on a user's body, Obtain the first walking direction of the user; at a second moment after the first moment, obtain the second walking direction of the user; based on the first walking direction and the second walking direction, obtain a The judgment result of whether the user turns or not. The embodiment of the present invention can realize user turn detection in indoor navigation, and improve indoor navigation accuracy.

Figure 201810190651

Description

转角检测方法及装置Rotation angle detection method and device

技术领域technical field

本发明涉及数据处理领域,具体而言,涉及一种转角检测方法及装置。The invention relates to the field of data processing, and in particular, to a method and device for detecting a rotation angle.

背景技术Background technique

伴随着交通、物流、机械制造、人工智能技术以及建筑行业的发展,人们的生活水平不断提高,工作及休闲娱乐等活动越来越趋向于室内,因此室内的位置服务和定位需求成为了一个新的研究热点。由于基于位置服务的前提是对用户或者服务对象的准确定位,室内定位的技术基础理论选择显得尤其重要,其直接关系到对服务对象的定位准确程度,进而影响到用户的体验。With the development of transportation, logistics, machinery manufacturing, artificial intelligence technology and construction industry, people's living standards continue to improve, and activities such as work, leisure and entertainment tend to be more and more indoors. Therefore, indoor location services and positioning requirements have become a new trend. research hotspot. Since the premise of location-based services is the accurate positioning of users or service objects, the choice of the basic theory of indoor positioning technology is particularly important, which is directly related to the accuracy of the positioning of service objects, which in turn affects the user experience.

移动互联技术和计算机硬件的发展,使得传感器及智能设备终端的大众化,陀螺仪、重力传感器、地磁传感器已经嵌入到诸多移动设备终端中去,这些传感器能够检测到携带者的运动状态和室内的环境特征,可以用来实现或者辅助定位,利用智能手机上内嵌的地磁传感器可以实现基于室内地磁场信息分布特征的定位方案。对地磁场定位理论的研究可以看出,这种方案的在实际应用的突破取决于高精度测量仪器的发展、各项干扰的消除性研究以及导航匹配算法的选择。The development of mobile Internet technology and computer hardware has made sensors and smart device terminals popular. Gyroscopes, gravity sensors, and geomagnetic sensors have been embedded in many mobile device terminals. These sensors can detect the movement state of the carrier and the indoor environment. The feature can be used to realize or assist positioning, and the positioning scheme based on the distribution characteristics of indoor geomagnetic field information can be realized by using the geomagnetic sensor embedded in the smartphone. From the study of geomagnetic field positioning theory, it can be seen that the breakthrough of this scheme in practical application depends on the development of high-precision measuring instruments, the research on the elimination of various interferences, and the selection of navigation matching algorithms.

尽管手机内嵌的地磁传感器可以实现基于室内的磁场信息分布特征的定位,室内导航的过程当中,对于用户转弯的检测是很重要的,导航的过程当中不可能总是直线行走的,对于经常在室内行走的我们,包括在大型商场特别是地下商城中,迫切的需要室内导航来为我们带来方便,室内转弯的检测极其重要。Although the geomagnetic sensor embedded in the mobile phone can realize the positioning based on the distribution characteristics of the indoor magnetic field information, it is very important to detect the user's turning during the indoor navigation process. It is impossible to always walk in a straight line during the navigation process. We who walk indoors, including in large shopping malls, especially underground shopping malls, urgently need indoor navigation to bring us convenience, and the detection of indoor turns is extremely important.

发明内容SUMMARY OF THE INVENTION

鉴于此,本发明实施例的目的在于提供一种转角检测方法及装置,用于室内导航中的用户转弯检测,提高导航精度。In view of this, the purpose of the embodiments of the present invention is to provide a method and a device for detecting a turning angle, which are used for detecting a user's turn in indoor navigation, so as to improve the navigation accuracy.

第一方面,本发明实施例提供一种转角检测方法,所述方法应用于移动终端设备,所述方法包括:在第一时刻,且所述移动终端被携带在一用户身上时,获取所述用户的第一行走方向;在第一时刻之后的第二时刻,获取所述用户的第二行走方向;基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果。In a first aspect, an embodiment of the present invention provides a method for detecting a turning angle. The method is applied to a mobile terminal device. The method includes: at a first moment when the mobile terminal is carried on a user, acquiring the The first walking direction of the user; at the second moment after the first moment, the second walking direction of the user is obtained; based on the first walking direction and the second walking direction, a The judgment result of whether to turn or not.

进一步地,在第一时刻之后的第二时刻,获取所述用户的第二行走方向之前,所述方法还包括:在所述第一时刻至所述第二时刻之间,获取所述用户的多个行走方向。Further, before acquiring the second walking direction of the user at a second moment after the first moment, the method further includes: between the first moment and the second moment, acquiring the user's second walking direction. Multiple walking directions.

进一步地,所述基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果,包括:基于所述第一行走方向、所述第二行走方向以及所述多个行走方向,获取所述第一行走方向与在所述第一时刻之后的第三时刻的行走方向之间的第一行走角度差值;基于所述第一行走角度差值和第一预设条件,获取一用于表征所述用户是否转弯的判断结果。Further, the obtaining a judgment result representing whether the user turns or not based on the first walking direction and the second walking direction includes: based on the first walking direction and the second walking direction and the plurality of walking directions, obtaining a first walking angle difference between the first walking direction and a walking direction at a third moment after the first moment; based on the first walking angle difference and The first preset condition is to acquire a judgment result used to represent whether the user is turning.

进一步地,在基于所述第一行走角度差值和第一预设条件,获取一用于表征所述用户是否转弯的判断结果之后,所述方法还包括:在所述判断结果为否时,获取所述第一行走方向与在所述第三时刻之后的第四时刻的行走方向之间的第二行走角度差值;基于所述第一预设条件与所述第二行走角度差值,获取一用于表征所述用户是否转弯的判断结果。Further, after obtaining a judgment result representing whether the user turns or not based on the first walking angle difference and the first preset condition, the method further includes: when the judgment result is no, acquiring a second walking angle difference between the first walking direction and the walking direction at a fourth moment after the third moment; based on the first preset condition and the second walking angle difference, A judgment result for characterizing whether the user turns or not is acquired.

进一步地,在基于所述第一行走角度差值和第一预设条件,获取一用于表征所述用户是否转弯的判断结果之后,所述方法还包括:在所述判断结果为是时,基于第二预设条件判断所述用户是否左转弯。Further, after obtaining a judgment result representing whether the user turns or not based on the first walking angle difference and the first preset condition, the method further includes: when the judgment result is yes, Whether the user turns left is determined based on the second preset condition.

第二方面,本发明实施例提供一种转角检测装置,所述装置应用于移动终端设备,所述装置包括:第一获取模块,用于在第一时刻,且所述移动终端被携带在一用户身上时,获取所述用户的第一行走方向;第二获取模块,用于在第一时刻之后的第二时刻,获取所述用户的第二行走方向;第三获取模块,用于基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果。In a second aspect, an embodiment of the present invention provides a rotation angle detection apparatus, the apparatus is applied to a mobile terminal device, and the apparatus includes: a first acquisition module, configured to be carried at a first moment when the mobile terminal is carried in a When the user is on the body, the first walking direction of the user is obtained; the second obtaining module is used to obtain the second walking direction of the user at the second time after the first time; the third obtaining module is used to obtain the user's second walking direction based on the The first walking direction and the second walking direction are obtained, and a judgment result used to represent whether the user turns or not is obtained.

进一步地,所述装置还包括:第四获取模块,用于在所述第一时刻至所述第二时刻之间,获取所述用户的多个行走方向。Further, the apparatus further includes: a fourth acquiring module, configured to acquire multiple walking directions of the user between the first moment and the second moment.

进一步地,所述第三获取模块包括:第一角度差获取模块,用于基于所述第一行走方向、所述第二行走方向以及所述多个行走方向,获取所述第一行走方向与在所述第一时刻之后的第三时刻的行走方向之间的第一行走角度差值;第一判断结果获取模块,用于基于所述第一行走角度差值和第一预设条件,获取一用于表征所述待用户是否转弯的判断结果。Further, the third obtaining module includes: a first angle difference obtaining module, configured to obtain the first travel direction and the plurality of travel directions based on the first travel direction, the second travel direction and the plurality of travel directions. The first walking angle difference between the walking directions at the third moment after the first moment; the first judgment result obtaining module is configured to obtain the first walking angle difference based on the first walking angle difference and the first preset condition A judgment result used to represent whether the user to be turned is turned.

进一步地,所述装置还包括:第二角度差获取模块,用于在所述判断结果为否时,获取所述第一行走方向与在所述第三时刻之后的第四时刻的行走方向之间的第二行走角度差值;第二判断结果获取模块,用于基于所述第一预设条件与所述第二行走角度差值,获取一用于表征所述用户是否转弯的判断结果。Further, the device further includes: a second angle difference obtaining module, configured to obtain the difference between the first walking direction and the walking direction at the fourth moment after the third moment when the judgment result is no. The second walking angle difference between the two; the second judgment result obtaining module is configured to obtain a judgment result representing whether the user turns or not based on the first preset condition and the second walking angle difference.

进一步地,所述装置包括:判断模块,用于在所述判断结果为是时,基于第二预设条件判断所述用户是否左转弯。Further, the apparatus includes: a judgment module, configured to judge whether the user turns left based on a second preset condition when the judgment result is yes.

本发明实施例提供的转角检测方法及装置,所述方法应用于移动终端设备,所述方法包括:在第一时刻,且所述移动终端被携带在一用户身上时,获取所述用户的第一行走方向;在第一时刻之后的第二时刻,获取所述用户的第二行走方向;基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果。通过本发明实施例能够实现室内导航中的用户转弯检测,提高室内导航精度。The method and device for detecting a turning angle provided by the embodiments of the present invention are applied to a mobile terminal device, and the method includes: at a first moment, when the mobile terminal is carried on a user, acquiring the first time of the user. a walking direction; at a second moment after the first moment, obtain the second walking direction of the user; based on the first walking direction and the second walking direction, obtain a critical result. The embodiment of the present invention can realize user turn detection in indoor navigation, and improve indoor navigation accuracy.

本发明的其他特征和优点将在随后的说明书阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明实施例了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Other features and advantages of the present invention will be set forth in the description which follows, and, in part, will be apparent from the description, or may be learned by practice of embodiments of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description, claims, and drawings.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.

图1为本发明实施例提供的一种转角检测方法流程图;1 is a flowchart of a method for detecting a turning angle provided by an embodiment of the present invention;

图2为本发明实施例提供的一种转角检测方法的详细流程图;2 is a detailed flowchart of a method for detecting a turning angle provided by an embodiment of the present invention;

图3为本发明实施例提供的一种转角检测装置的模块示意图;FIG. 3 is a schematic block diagram of a rotation angle detection device according to an embodiment of the present invention;

图4本发明实施例还提供一种实现转角检测装置的结构示意图。FIG. 4 also provides a schematic structural diagram of a device for implementing rotation angle detection according to an embodiment of the present invention.

图标:200-转角检测装置;210-第一获取模块;220-第二获取模块;230-第三获取模块;401-处理器;402-存储器;403-通信接口。Icons: 200-rotation angle detection device; 210-first acquisition module; 220-second acquisition module; 230-third acquisition module; 401-processor; 402-memory; 403-communication interface.

具体实施方式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 only a part of the embodiments of the present invention, but not all of the embodiments. The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present invention.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

请参照图1,图1为本发明实施例提供的一种转角检测方法的流程图,所述方法应用于移动终端设备,所述转角检测方法具体包括如下步骤:Please refer to FIG. 1. FIG. 1 is a flowchart of a method for detecting a corner according to an embodiment of the present invention. The method is applied to a mobile terminal device, and the method for detecting a corner specifically includes the following steps:

步骤S100:在第一时刻,且所述移动终端被携带在一用户身上时,获取所述用户的第一行走方向。Step S100: At the first moment, when the mobile terminal is carried by a user, obtain a first walking direction of the user.

例如:在上午8点20分14秒,且所述移动终端被携带在一用户身上时,具体而言,所述用户手持所述移动终端,其中,在本实施例中,所述移动终端可以为个人电脑(personalcomputer,PC)、平板电脑、智能手机、个人数字助理(personal digital assistant,PDA)、可穿戴设备等终端设备,在其他实施例中,所述移动终端也可以为其他设备,携带在所述用户身上的移动终端内嵌入有加速度传感器和磁力传感器,在本实施例中,所述加速度传感器可以为三轴加速度传感器,所述磁力传感器可以为三轴磁力传感器,在其他实施例中,所述加速度传感器和所述磁力传感器也可以为其他传感器设备。由于地磁场是一个矢量,对于一个固定的地点来说,这个矢量可以被分解为两个与当地水平面平行的分量和一个与当地水平面垂直的分量,如果保持所述移动终端和当地的水平面平行,那么所述已送终端中的磁力传感器的三个轴就和这三个分量对应起来,实际上对水平方向的两个分量来说,它们的矢量和总是指向磁北的,所述移动终端中的航向角就是当前方向和磁北的夹角,如果所述移动终端保持水平,只需要用磁力传感器水平方向两轴(通常为X轴和Y轴)的检测数据就可以计算出航向角,继而通过计算出的航向角获取到所述用户在8点20分14秒的第一行走方向。For example: when the mobile terminal is carried by a user at 8:20:14 in the morning, specifically, the user holds the mobile terminal, wherein, in this embodiment, the mobile terminal may It is a terminal device such as a personal computer (PC), a tablet computer, a smart phone, a personal digital assistant (PDA), a wearable device, etc. In other embodiments, the mobile terminal may also be other devices that carry An acceleration sensor and a magnetic sensor are embedded in the mobile terminal on the user. In this embodiment, the acceleration sensor may be a three-axis acceleration sensor, and the magnetic sensor may be a three-axis magnetic sensor. In other embodiments , the acceleration sensor and the magnetic sensor can also be other sensor devices. Since the geomagnetic field is a vector, for a fixed location, this vector can be decomposed into two components parallel to the local horizontal plane and one component perpendicular to the local horizontal plane, if the mobile terminal is kept parallel to the local horizontal plane, Then the three axes of the magnetic sensor in the sent terminal correspond to these three components. In fact, for the two components in the horizontal direction, their vector sum always points to magnetic north. The heading angle is the angle between the current direction and the magnetic north. If the mobile terminal is kept horizontal, the heading angle can be calculated only by the detection data of the two horizontal axes (usually the X and Y axes) of the magnetic sensor, and then pass The calculated heading angle obtains the first walking direction of the user at 8:20:14.

然而,在实际应用中,携带在所述用户手上的移动终端并不是始终与地面保持水平,通常它和地面存在一定的夹角,然而这个夹角会影响航向角的精度,因此,需要通过加速度传感器进行倾斜补偿。对于一个物体在空中的姿态,定义角度φ定义为x轴和水平面的夹角,定义角度θ为y轴和水平面的夹角,通过三轴加速度传感器检测出三个轴上重力加速度的分量,继而计算出φ和θ,接着将三轴磁力传感器测得的三轴数据(XM,YM,ZM)和之前获取的φ和θ带入等式1中,计算当前方向和磁北的夹角α需要的Hy和HxHowever, in practical applications, the mobile terminal carried on the user's hand is not always level with the ground. Usually, there is a certain angle between it and the ground. However, this angle will affect the accuracy of the heading angle. Therefore, it is necessary to pass Accelerometer for tilt compensation. For the attitude of an object in the air, define the angle φ as the angle between the x-axis and the horizontal plane, define the angle θ as the angle between the y-axis and the horizontal plane, and detect the components of the gravitational acceleration on the three axes through the three-axis acceleration sensor, and then Calculate φ and θ, and then bring the three-axis data (X M , Y M , Z M ) measured by the three-axis magnetic sensor and the previously acquired φ and θ into Equation 1 to calculate the angle between the current direction and magnetic north Hy and Hx required for α.

Hy=YMcos(θ)+XMsin(θ)cos(φ)-ZMcos(φ)sin(θ)H y =Y M cos(θ)+X M sin(θ)cos(φ)−Z M cos(φ)sin(θ)

Hx=XMcos(φ)+ZMsin(φ) (1)H x =X M cos(φ)+Z M sin(φ) (1)

接着通过将Hy和Hx带入等式2中,计算出α。α is then calculated by substituting Hy and Hx into Equation 2.

Figure BDA0001591582580000061
Figure BDA0001591582580000061

步骤S200:在第一时刻之后的第二时刻,获取所述用户的第二行走方向。Step S200: At a second time after the first time, acquire the second walking direction of the user.

在上午8点20分18秒,且所述移动终端被携带在一用户身上时,具体而言,所述用户手持所述移动终端,基于上述原理获取所述用户的第二行走方向,即当前行走方向和磁北方向的夹角。At 8:20:18 a.m. and the mobile terminal is carried by a user, specifically, the user holds the mobile terminal and obtains the user's second walking direction based on the above principles, that is, the current The angle between the walking direction and the magnetic north direction.

步骤S300:基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果。Step S300: Based on the first walking direction and the second walking direction, obtain a judgment result for characterizing whether the user turns or not.

基于所述第一行走方向和所述第二行走方向,计算出所述用户在上午8点20分14秒的第一行走方向与所述用户在上午8点20分18秒的行走方向间的角度差值绝对值,继而基于两个方向的角度差值绝对值和预设条件判断所述用户是否转弯,在所述第一行走方向和所述第二行走方向的角度差值绝对值满足预设条件时,判定所述用户在上午8点20分14秒到上午8点20分18秒之间进行了转弯。在本实施例中,所述预设条件为大于等于90度,在其他实施例中,所述预设条件也可以为其他,即,所述第一行走方向和所述第二行走方向的角度差大于等于90度,才判定所述用户进行了转弯。Based on the first walking direction and the second walking direction, calculate the difference between the first walking direction of the user at 8:20:14 am and the walking direction of the user at 8:20:18 am The absolute value of the angle difference, and then based on the absolute value of the angle difference between the two directions and the preset condition to determine whether the user turns, the absolute value of the angle difference in the first walking direction and the second walking direction satisfies the predetermined value. When the conditions are set, it is determined that the user has made a turn between 8:20:14 am and 8:20:18 am. In this embodiment, the preset condition is greater than or equal to 90 degrees, and in other embodiments, the preset condition may also be other, that is, the angle between the first travel direction and the second travel direction When the difference is greater than or equal to 90 degrees, it is determined that the user has made a turn.

请参照图2,作为一种实施方式,在第一时刻之后的第二时刻,获取所述用户的第二行走方向之前,所述方法还包括:Referring to FIG. 2 , as an implementation manner, before acquiring the second walking direction of the user at a second moment after the first moment, the method further includes:

S400:在所述第一时刻至所述第二时刻之间,获取所述用户的多个行走方向。S400: Acquire multiple walking directions of the user between the first moment and the second moment.

具体地,在上午8点20分14秒至上午8点20分18秒之间,且所述移动终端被携带在一用户身上时,所述用户手持所述移动终端,基于上述原理获取所述用户在这段时间内的多个行走方向,在本实施例中,所述多个行走方向可为3个行走方向、4个行走方向、5个行走方向、6个行走方向等,在这段时间内获取的行走方向越多,越能精确地判断所述用户在某个时刻是否转弯。Specifically, between 8:20:14 a.m. and 8:20:18 a.m. and the mobile terminal is carried by a user, the user holds the mobile terminal and obtains the The multiple walking directions of the user during this period, in this embodiment, the multiple walking directions may be 3 walking directions, 4 walking directions, 5 walking directions, 6 walking directions, etc. The more walking directions are acquired in time, the more accurately it can be determined whether the user turns at a certain moment.

作为一种实施方式,所述基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果,包括:As an implementation manner, the obtaining a judgment result for characterizing whether the user turns or not based on the first walking direction and the second walking direction includes:

S500:基于所述第一行走方向、所述第二行走方向以及所述多个行走方向,获取所述第一行走方向与在所述第一时刻之后的第三时刻的行走方向之间的第一行走角度差值。S500: Based on the first travel direction, the second travel direction, and the plurality of travel directions, obtain a first travel direction between the first travel direction and a travel direction at a third time point after the first time point A travel angle difference.

具体地,基于所述用户在上午8点20分14秒的第一行走方向与所述用户在上午8点20分14秒之后的上午8点20分14秒500毫秒的第三行走方向,计算第一行走方向与所述第三行走方向之间的角度差值绝对值,其中,所述第三行走方向为所述第一时刻之后的第三时刻的行走方向。Specifically, based on the user's first walking direction at 8:20:14 am and the user's third walking direction at 8:20:14 am 500 milliseconds after 8:20:14 am, calculate The absolute value of the angle difference between the first travel direction and the third travel direction, wherein the third travel direction is the travel direction at a third time point after the first time point.

S600:基于所述第一行走角度差值和第一预设条件,获取一用于表征所述用户是否转弯的判断结果。S600: Based on the first walking angle difference and the first preset condition, obtain a judgment result for characterizing whether the user turns or not.

具体地,基于所述第一行走角度差值绝对值和第一预设条件,判断所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内是否转弯,以及所述用户是否在上午8点20分14秒500毫秒这一时刻转弯,在所述第一行走角度差值绝对值满足所述第一预设条件时,判定所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内进行了转弯,在本实施例中,所述第一预设条件为大于等于90度,在其他实施例中,所述第一预设条件也可以为其他,即所述第一行走方向和所述第三行走方向的角度差值绝对值大于等于90度,才判定所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内进行了转弯,否则,判定所述用户在这段时间内没有进行转弯。Specifically, based on the absolute value of the first walking angle difference and the first preset condition, it is determined whether the user turns during the period from 8:20:14 am to 8:20:14:500 milliseconds in the morning, and whether the user turns at 8:20:14:500 in the morning, when the absolute value of the first walking angle difference satisfies the first preset condition, determine that the user is at 8:20 in the morning The turn is performed during the period from minutes 14 seconds to 8:20:14:500 milliseconds. In this embodiment, the first preset condition is greater than or equal to 90 degrees. In other embodiments, the first The preset condition may also be other, that is, the absolute value of the angle difference between the first walking direction and the third walking direction is greater than or equal to 90 degrees, and it is determined that the user is between 8:20:14 and 8:00 am A turn is performed within a period of 20 minutes, 14 seconds and 500 milliseconds, otherwise, it is determined that the user has not performed a turn within this period.

作为一种实施方式,在基于所述第一行走角度差值和第一预设条件,获取一用于表征所述用户是否转弯的判断结果之后,所述方法还包括:As an embodiment, after obtaining a judgment result for characterizing whether the user turns or not based on the first walking angle difference and the first preset condition, the method further includes:

在所述判断结果为否时,获取所述第一行走方向与在所述第三时刻之后的第四时刻的行走方向之间的第二行走角度差值。When the determination result is no, a second travel angle difference between the first travel direction and the travel direction at a fourth time after the third time is acquired.

具体地,在基于所述第一行走角度差值绝对值和所述第一预设条件,判断所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内没有进行转弯时,计算所述用户的第一行走方向与在上午8点20分14秒500毫秒之后的8点20分15秒的第四行走方向之间的第二行走角度差值绝对值,其中,所述第四行走方向为所述第三时刻之后的第四时刻的行走方向。Specifically, based on the absolute value of the first walking angle difference and the first preset condition, it is determined that the user is in the period from 8:20:14 am to 8:20:14 am and 500 milliseconds When no turn is made, calculate the absolute value of the second walking angle difference between the user's first walking direction and the fourth walking direction at 8:20:15 a.m. after 8:20:14:500 milliseconds, Wherein, the fourth travel direction is the travel direction at a fourth time after the third time.

基于所述第一预设条件与所述第二行走角度差值,获取一用于表征所述用户是否转弯的判断结果。Based on the difference between the first preset condition and the second walking angle, a judgment result for representing whether the user turns or not is obtained.

具体地,基于所述第二行走角度差值绝对值和第一预设条件,判断所述用户在上午8点20分14秒至上午8点20分15秒这段时间内是否转弯,以及所述用户是否在上午8点20分15秒这一时刻转弯,在所述第二行走角度差值绝对值满足所述第一预设条件时,判定所述用户在上午8点20分14秒至上午8点20分15秒这段时间内进行了转弯,在本实施例中,所述第一预设条件为大于等于90度,在其他实施例中,所述第一预设条件也可以为其他,即所述第一行走方向和所述第三行走方向的角度差绝对值大于等于90度,才判定所述用户在上午8点20分14秒至上午8点20分15秒这段时间内进行了转弯,否则,判定所述用户在这段时间内没有进行转弯。Specifically, based on the absolute value of the second walking angle difference and the first preset condition, it is determined whether the user turns during the period from 8:20:14 am to 8:20:15 am, and the Whether the user turns at the time of 8:20:15 am, when the absolute value of the second walking angle difference meets the first preset condition, it is determined that the user is between 8:20:14 am and 8:20:14 am. The turn is performed during the period of 8:20:15 in the morning. In this embodiment, the first preset condition is greater than or equal to 90 degrees. In other embodiments, the first preset condition may also be Others, that is, the absolute value of the angle difference between the first walking direction and the third walking direction is greater than or equal to 90 degrees. A turn is performed within the period, otherwise, it is determined that the user has not performed a turn within this period of time.

作为一种实施方式,在所述判断结果为是时,即在所述第一行走角度差值满足第一预设条件时,判定所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内进行了转弯,并将第一次转弯的时间进行记录,接着获取所述第三时刻行走方向与在所述第三时刻之后的第四时刻的行走方向之间的第三行走角度差值,在所述第三角度差值满足第一预设条件时,判定并记录所述用户在上午8点20分14秒500毫秒至上午8点20分15秒这段时间内进行了第二次转弯。As an embodiment, when the determination result is yes, that is, when the first walking angle difference satisfies the first preset condition, it is determined that the user is between 8:20:14 am and 8:20 am The turn is performed during the period of minutes, 14 seconds, 500 milliseconds, and the time of the first turn is recorded, and then the distance between the walking direction at the third moment and the walking direction at the fourth moment after the third moment is obtained. The third walking angle difference of A second turn was made in time.

作为一种实施方式,在基于所述第一行走角度差值和第一预设条件,获取一用于表征所述用户是否转弯的判断结果之后,所述方法还包括:As an embodiment, after obtaining a judgment result for characterizing whether the user turns or not based on the first walking angle difference and the first preset condition, the method further includes:

在所述判断结果为是时,基于第二预设条件判断所述用户是否左转弯。When the determination result is yes, it is determined whether the user turns left based on a second preset condition.

具体地,在基于所述第一行走角度差值绝对值和第一预设条件,判定所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内进行了转弯时,接着判定所述第一行走角度差值是否满足第二预设条件,其中,第一行走角度差为所述用户在上午8点20分14秒500毫秒的行走方向减去所述用户在上午8点20分14秒行走方向的差值,在所述第一行走角度差值满足第二预设条件时,判定所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内进行了左转弯,并进行记录,反之,在所述第一行走角度差值不满足第二预设条件时,判定所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内进行了右转弯,并进行记录,其中,在本实施例中,所述第二预设条件为整数,即判定所述第一行走角度差值是否为正数,在所述第一行走角度差值为正数时,判定所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内进行了左转弯,否则判定所述用户在上午8点20分14秒至上午8点20分14秒500毫秒这段时间内进行了右转弯。Specifically, based on the absolute value of the first walking angle difference and the first preset condition, it is determined that the user has performed the operation during the period from 8:20:14 am to 8:20:14 am and 500 milliseconds. When turning, then determine whether the first walking angle difference satisfies the second preset condition, where the first walking angle difference is the walking direction of the user at 8:20:14, 500 milliseconds minus the user's walking direction The difference between the walking directions at 8:20:14 am and when the first walking angle difference satisfies the second preset condition, it is determined that the user is between 8:20:14 am and 8:20:14 am 500 milliseconds to make a left turn, and record it. On the contrary, when the first walking angle difference does not meet the second preset condition, it is determined that the user is between 8:20:14 a.m. and 12:00 a.m. During the period of 8:20:14, 500 milliseconds, a right turn is made and recorded, wherein, in this embodiment, the second preset condition is an integer, that is, it is determined whether the first walking angle difference is is a positive number, when the first walking angle difference is a positive number, it is determined that the user made a left turn during the period from 8:20:14 a.m. to 8:20:14 a.m. 500 milliseconds, otherwise It is determined that the user made a right turn during the period from 8:20:14 am to 8:20:14:500 milliseconds.

为实现上述转角检测方法,本发明实施例提供一种转角检测装置,请参照图3,图3为本发明实施例提供的一种转角检测装置的模块示意图,所述转角检测装置包括:第一获取模块210、第二获取模块220以及第三获取模块230。In order to realize the above-mentioned rotation angle detection method, an embodiment of the present invention provides a rotation angle detection device. Please refer to FIG. 3 . FIG. 3 is a schematic block diagram of a rotation angle detection device provided by an embodiment of the present invention. The rotation angle detection device includes: a first An acquisition module 210 , a second acquisition module 220 and a third acquisition module 230 .

第一获取模块210,用于在第一时刻,且所述移动终端被携带在一用户身上时,获取所述用户的第一行走方向。The first obtaining module 210 is configured to obtain the first walking direction of the user at a first moment when the mobile terminal is carried on a user.

第二获取模块220,用于在第一时刻之后的第二时刻,获取所述用户的第二行走方向。The second obtaining module 220 is configured to obtain the second walking direction of the user at a second time after the first time.

第三获取模块230,用于基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果。The third obtaining module 230 is configured to obtain, based on the first walking direction and the second walking direction, a judgment result representing whether the user turns or not.

作为一种实施方式,所述装置还包括:第四获取模块,用于在所述第一时刻至所述第二时刻之间,获取所述用户的多个行走方向。As an embodiment, the apparatus further includes: a fourth acquiring module, configured to acquire multiple walking directions of the user between the first moment and the second moment.

作为一种实施方式,所述第三获取模块230包括:第一角度差获取模块和第一判断结果获取模块。As an embodiment, the third obtaining module 230 includes: a first angle difference obtaining module and a first judgment result obtaining module.

第一角度差获取模块,用于基于所述第一行走方向、所述第二行走方向以及所述多个行走方向,获取所述第一行走方向与在所述第一时刻之后的第三时刻的行走方向之间的第一行走角度差值。a first angle difference obtaining module, configured to obtain the first travel direction and a third time after the first time based on the first travel direction, the second travel direction and the plurality of travel directions The first walking angle difference between the walking directions of .

第一判断结果获取模块,用于基于所述第一行走角度差值和第一预设条件,获取一用于表征所述待用户是否转弯的判断结果。The first judgment result obtaining module is configured to obtain a judgment result representing whether the user to be turned is turned based on the first walking angle difference and the first preset condition.

作为一种实施方式,所述装置还包括:第二角度差获取模块和第二判断结果获取模块。As an embodiment, the apparatus further includes: a second angle difference obtaining module and a second judgment result obtaining module.

第二角度差获取模块,用于在所述判断结果为否时,获取所述第一行走方向与在所述第三时刻之后的第四时刻的行走方向之间的第二行走角度差值。A second angle difference obtaining module, configured to obtain a second travel angle difference between the first travel direction and the travel direction at a fourth time after the third time when the determination result is no.

第二判断结果获取模块,用于基于所述第一预设条件与所述第二行走角度差值,获取一用于表征所述用户是否转弯的判断结果。The second judgment result obtaining module is configured to obtain a judgment result representing whether the user turns or not based on the difference between the first preset condition and the second walking angle.

作为一种实施方式,所述装置还包括:判断模块,用于在所述判断结果为是时,基于第二预设条件判断所述用户是否左转弯。As an embodiment, the apparatus further includes: a judgment module, configured to judge whether the user turns left based on a second preset condition when the judgment result is yes.

请参照图4,图4为本发明实施例还提供一种实现转角检测装置的结构示意图,其采用通用计算机系统结构,包括总线、处理器401、存储器402和通信接口403,执行本发明方案的程序代码保存在存储器402中,并由处理器401来控制执行。Please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of an implementation of a rotation angle detection device according to an embodiment of the present invention. The program code is stored in the memory 402 and controlled by the processor 401 for execution.

总线可包括一通路,在计算机各个部件之间传送信息。A bus may include a path to transfer information between various components of a computer.

存储器402可以存储各种软件程序以及单元,如本申请实施例提供的转角检测方法及装置对应的程序指令/单元。处理器401通过运行存储在存储器402中的软件程序以及单元,从而执行各种功能应用以及数据处理,即实现本申请实施例中的转角检测方法。存储器402可以包括但不限于随机存取存储器(Random Access Memory,RAM),只读存储器(ReadOnly Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。The memory 402 may store various software programs and units, such as program instructions/units corresponding to the rotation angle detection method and apparatus provided in the embodiments of the present application. The processor 401 executes various functional applications and data processing by running the software programs and units stored in the memory 402, that is, implements the rotation angle detection method in the embodiment of the present application. The memory 402 may include, but is not limited to, random access memory (Random Access Memory, RAM), read-only memory (ReadOnly Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electrical Erasable Programmable Read-Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.

处理器401可以是一种集成电路芯片,具有信号处理能力。上述处理器401可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(NetworkProcessor,NP)、微处理器、特定应用集成电路(Application-Specific IntegratedCircuit,ASIC)、或一个或多个用于控制本发明方案程序执行的集成电路。计算机系统中包括的一个或多个存储器402,可以是只读存储器(Read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(Random Access Memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是磁盘存储器。这些存储器402通过总线与处理器401相连接。The processor 401 may be an integrated circuit chip with signal processing capability. The above-mentioned processor 401 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (NetworkProcessor, NP), a microprocessor, an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), or a or multiple integrated circuits for controlling the execution of the programs of the present invention. One or more memories 402 included in the computer system can be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (Random Access Memory, RAM) ) or other types of dynamic storage devices that can store information and instructions, also disk storage. These memories 402 are connected to the processor 401 via a bus.

通信接口403,可以使用任何收发器一类的装置,以便与其他设备或通信网络,如以太网、无线接入网(RAN)、无线局域网(WLAN)等。The communication interface 403 may use any transceiver-like device to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), and the like.

本发明实施例还提供了一种计算机可读取存储介质,用于存储上述图3或图4所用的计算机软件指令,其包括用于执行上述方法实施例所涉及的程序。通过执行存储程序,室内导航中的用户转弯检测,提高室内导航精度。An embodiment of the present invention further provides a computer-readable storage medium for storing the computer software instructions used in the above-mentioned FIG. 3 or FIG. 4 , which includes a program for executing the above-mentioned method embodiments. By executing a stored program, user turn detection in indoor navigation improves indoor navigation accuracy.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的转角检测装置的具体工作过程,可以参考前述转角检测方法中的对应过程,在此不再过多赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the rotation angle detection device described above can refer to the corresponding process in the aforementioned rotation angle detection method, which will not be repeated here.

综上所述,本发明实施例提供的转角检测方法及装置,所述方法应用于移动终端设备,所述方法包括:在第一时刻,且所述移动终端被携带在一用户身上时,获取所述用户的第一行走方向;在第一时刻之后的第二时刻,获取所述用户的第二行走方向;基于所述第一行走方向和所述第二行走方向,获取一用于表征所述用户是否转弯的判断结果。通过本发明实施例能够实现室内导航中的用户转弯检测,提高室内导航精度。To sum up, the method and device for detecting a turning angle provided by the embodiments of the present invention are applied to a mobile terminal device, and the method includes: at a first moment, when the mobile terminal is carried on a user, obtaining The first walking direction of the user; at a second moment after the first moment, the second walking direction of the user is acquired; based on the first walking direction and the second walking direction, a Describe the judgment result of whether the user turns or not. The embodiment of the present invention can realize user turn detection in indoor navigation, and improve indoor navigation accuracy.

在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。Each functional module in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention. It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

Claims (4)

1. A rotation angle detection method is applied to mobile terminal equipment, and is characterized by comprising the following steps:
at a first moment, when the mobile terminal is carried on a user, acquiring a first walking direction of the user;
acquiring a second walking direction of the user at a second moment after the first moment;
acquiring a plurality of walking directions of the user between the first time and the second time;
acquiring a judgment result for representing whether the user turns or not based on the first walking direction and the second walking direction;
wherein the obtaining a determination result indicating whether the user turns or not based on the first walking direction and the second walking direction includes:
acquiring a first walking angle difference value between the first walking direction and a walking direction at a third moment after the first moment on the basis of the first walking direction, the second walking direction and the plurality of walking directions;
acquiring a judgment result for representing whether the user turns or not based on the first walking angle difference value and a first preset condition;
when the judgment result is negative, acquiring a second walking angle difference value between the first walking direction and the walking direction at a fourth moment after the third moment;
and acquiring a judgment result for representing whether the user turns or not based on the first preset condition and the second walking angle difference value.
2. The rotation angle detection method according to claim 1, wherein after obtaining a determination result indicating whether the user turns based on the first travel angle difference value and a first preset condition, the method further comprises:
and when the judgment result is yes, judging whether the user turns left or not based on a second preset condition.
3. A rotation angle detection device, characterized in that, the device is applied to mobile terminal equipment, the device includes:
the first acquisition module is used for acquiring a first walking direction of a user at a first moment when the mobile terminal is carried on the body of the user;
a second obtaining module, configured to obtain a second walking direction of the user at a second time after the first time;
a fourth obtaining module, configured to obtain multiple walking directions of the user between the first time and the second time;
the third obtaining module is used for obtaining a judgment result used for representing whether the user turns or not based on the first walking direction and the second walking direction;
wherein the third obtaining module comprises: a first angle difference obtaining module, configured to obtain a first walking angle difference between the first walking direction and a walking direction at a third time after the first time based on the first walking direction, the second walking direction, and the multiple walking directions; the first judgment result acquisition module is used for acquiring a judgment result for representing whether the user turns or not based on the first walking angle difference value and a first preset condition;
a second angle difference obtaining module, configured to obtain, when the determination result is negative, a second walking angle difference between the first walking direction and a walking direction at a fourth time after the third time;
and the second judgment result acquisition module is used for acquiring a judgment result for representing whether the user turns or not based on the first preset condition and the second walking angle difference value.
4. The rotation angle detecting device according to claim 3, characterized by further comprising:
and the judging module is used for judging whether the user turns left or not based on a second preset condition when the judging result is yes.
CN201810190651.XA 2018-03-08 2018-03-08 Rotation angle detection method and device Active CN108375376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810190651.XA CN108375376B (en) 2018-03-08 2018-03-08 Rotation angle detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810190651.XA CN108375376B (en) 2018-03-08 2018-03-08 Rotation angle detection method and device

Publications (2)

Publication Number Publication Date
CN108375376A CN108375376A (en) 2018-08-07
CN108375376B true CN108375376B (en) 2020-11-24

Family

ID=63018578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810190651.XA Active CN108375376B (en) 2018-03-08 2018-03-08 Rotation angle detection method and device

Country Status (1)

Country Link
CN (1) CN108375376B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104180805A (en) * 2014-08-29 2014-12-03 中国海洋大学 Smart phone-based indoor pedestrian positioning and tracking method
JP2016122022A (en) * 2016-04-07 2016-07-07 パイオニア株式会社 Determination device, determination method, determination program, and recording medium
CN105866729A (en) * 2016-03-25 2016-08-17 北京智慧图科技有限责任公司 Method and apparatus for indoor positioning based on user behavior features
CN107580294A (en) * 2017-09-07 2018-01-12 深圳市易景空间智能科技有限公司 A kind of indoor hybrid locating method
CN107830862A (en) * 2017-10-13 2018-03-23 桂林电子科技大学 A kind of method of the indoor positioning pedestrian tracking based on smart mobile phone

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7113866B2 (en) * 2004-06-15 2006-09-26 Daimlerchrysler Ag Method and device for determining vehicle lane changes using a vehicle heading and a road heading
US8660581B2 (en) * 2011-02-23 2014-02-25 Digimarc Corporation Mobile device indoor navigation
CN102419180B (en) * 2011-09-02 2014-01-01 无锡智感星际科技有限公司 Indoor positioning method based on inertial navigation system and WIFI (wireless fidelity)
CN103454657B (en) * 2012-05-30 2016-08-31 南京中兴新软件有限责任公司 Intelligent terminal's synthesized positioning method and positioner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104180805A (en) * 2014-08-29 2014-12-03 中国海洋大学 Smart phone-based indoor pedestrian positioning and tracking method
CN105866729A (en) * 2016-03-25 2016-08-17 北京智慧图科技有限责任公司 Method and apparatus for indoor positioning based on user behavior features
JP2016122022A (en) * 2016-04-07 2016-07-07 パイオニア株式会社 Determination device, determination method, determination program, and recording medium
CN107580294A (en) * 2017-09-07 2018-01-12 深圳市易景空间智能科技有限公司 A kind of indoor hybrid locating method
CN107830862A (en) * 2017-10-13 2018-03-23 桂林电子科技大学 A kind of method of the indoor positioning pedestrian tracking based on smart mobile phone

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"An on-line method to detect incipient failure of turn insulation in random-wound motors";Sottile, Joseph Jr等;《IEEE Transactions on Energy Conversion》;19931231;第8卷;762-768 *
"Turn-taking cues in task-oriented dialogue";Agustín Gravano等;《Computer Speech and Language》;20111231;第25卷(第3期);601-634 *
"单目视觉的仓储机器人转弯点识别与定位算法";黄思盛等;《北京信息科技大学学报》;20151031;第30卷(第5期);79-82,86 *
"无线传感器网络节点定位与漂移检测";毕烨等;《小型微型计算机系统》;20180131(第1期);156-160 *

Also Published As

Publication number Publication date
CN108375376A (en) 2018-08-07

Similar Documents

Publication Publication Date Title
Zou et al. Accurate indoor localization and tracking using mobile phone inertial sensors, WiFi and iBeacon
Ban et al. Indoor positioning method integrating pedestrian Dead Reckoning with magnetic field and WiFi fingerprints
Chen et al. Indoor localization using smartphone sensors and iBeacons
CN105783917B (en) Mobile terminal locating method and its device based on earth magnetism
CN107084717B (en) Mobile terminal and method for positioning system based on magnetic field map
CN108036793B (en) Point cloud-based positioning method, device and electronic device
CN104950284B (en) Method for determining relative position of device and electronic device
CN105674984B (en) A method for obtaining the direction of pedestrians using mobile terminals without constraints
WO2006035505A1 (en) Magnetic sensor control method, magnetic sensor controller and portable terminal device
US9151622B2 (en) Method and apparatus for estimating moving direction of user and computer-readable storage medium having recorded thereon the method
US20160097788A1 (en) Pedestrian direction of motion determination system and method
US9052203B2 (en) Methods and apparatus for low-cost inertial dead-reckoning using context detection
CN107941211B (en) Multi-element fusion positioning method and device based on second-order cascade and electronic equipment
US10533874B2 (en) Inertial positioning and navigation device featuring a novel walk detection method
CN106767828A (en) A kind of mobile phone indoor positioning solution
WO2016150312A1 (en) Geomagnetic sensor calibration method and apparatus, and intelligent device
CN104380043B (en) Information in the portable electric appts that user carries is determined
CN108020813A (en) Localization method, positioner and electronic equipment
CN108398132A (en) Indoor navigation method and system, electronic equipment, computer read/write memory medium
CN114631365A (en) Electronic device for detecting position and method thereof
JP2017166895A (en) Electronic device, sensor calibration method, and sensor calibration program
KR101576424B1 (en) Automatic calibration method of magnetometer for indoor positioning
Fan et al. Accurate and low-cost mobile indoor localization with 2-D magnetic fingerprints
CN112762915B (en) Compass precision optimization method and device, storage medium and electronic equipment
US20180274931A1 (en) Position determination device and method

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180807

Assignee: Zhejiang Fengshou e-commerce Co.,Ltd.

Assignor: ZHEJIANG NORMAL University

Contract record no.: X2022980008017

Denomination of invention: Corner detection method and device

Granted publication date: 20201124

License type: Common License

Record date: 20220623

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180807

Assignee: Zhejiang zhidu Intelligent System Co.,Ltd.

Assignor: ZHEJIANG NORMAL University

Contract record no.: X2023980045422

Denomination of invention: Corner detection method and device

Granted publication date: 20201124

License type: Common License

Record date: 20231101

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20180807

Assignee: Ningbo waterlong RV Co.,Ltd.

Assignor: ZHEJIANG NORMAL University

Contract record no.: X2024980000671

Denomination of invention: Corner detection method and device

Granted publication date: 20201124

License type: Common License

Record date: 20240115