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
acquiring
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

Abstract

The embodiment of the invention provides a corner detection method and a device, belonging to the field of data processing, wherein the method is applied to mobile terminal equipment and comprises 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; and acquiring a judgment result for representing whether the user turns or not based on the first walking direction and the second walking direction. The embodiment of the invention can realize the user turning detection in the indoor navigation and improve the indoor navigation precision.

Description

Rotation angle detection method and device
Technical Field
The invention relates to the field of data processing, in particular to a corner detection method and device.
Background
Along with the development of transportation, logistics, machinery manufacturing, artificial intelligence technology and building industry, the living standard of people is continuously improved, activities such as work, leisure and entertainment tend to be more and more indoor, and therefore the indoor position service and positioning requirements become a new research hotspot. Since the premise of location-based service is to accurately locate a user or a service object, the technical basic theory selection of indoor location is particularly important, and the technical basic theory selection is directly related to the accuracy of location of the service object, so that the user experience is influenced.
The development of mobile interconnection technology and computer hardware makes sensors and intelligent device terminals popular, gyroscopes, gravity sensors and geomagnetic sensors are embedded into a plurality of mobile device terminals, the sensors can detect the motion state and indoor environmental characteristics of a carrier and can be used for realizing or assisting positioning, and positioning schemes based on indoor geomagnetic field information distribution characteristics can be realized by using the geomagnetic sensors embedded in the smart phone. Research on the geomagnetic field positioning theory shows that the breakthrough of the scheme in practical application depends on the development of high-precision measuring instruments, the elimination research of various interferences and the selection of navigation matching algorithms.
Although the geomagnetic sensor embedded in the mobile phone can realize positioning based on indoor magnetic field information distribution characteristics, in the process of indoor navigation, the indoor navigation method is very important for detecting turning of a user, and cannot walk straight in the process of navigation, so that people who often walk indoors, including large markets, particularly underground malls, urgently need indoor navigation to bring convenience to the people, and the indoor turning detection is extremely important.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for detecting a turning angle, which are used for detecting a user turning in indoor navigation, and improve navigation accuracy.
In a first aspect, an embodiment of the present invention provides a rotation angle detection method, where 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, acquiring a first walking direction of the user; acquiring a second walking direction of the user at a second moment after the first moment; and acquiring a judgment result for representing whether the user turns or not based on the first walking direction and the second walking direction.
Further, before acquiring a second walking direction of the user at a second time after the first time, the method further includes: and acquiring a plurality of walking directions of the user between the first time and the second time.
Further, the obtaining a determination result representing whether the user turns 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; and 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.
Further, after obtaining a judgment result for representing whether the user turns or not based on the first travel angle difference and a first preset condition, the method further includes: 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.
Further, after obtaining a judgment result for representing whether the user turns or not based on the first travel angle difference and a first preset condition, the method further includes: and when the judgment result is yes, judging whether the user turns left or not based on a second preset condition.
In a second aspect, an embodiment of the present invention provides a rotation angle detecting apparatus, where the apparatus is applied to a mobile terminal device, and the apparatus 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; the second acquisition module is used for acquiring a second walking direction of the user at a second moment after the first moment; and the third obtaining module is used for obtaining a judgment result for representing whether the user turns or not based on the first walking direction and the second walking direction.
Further, the apparatus further comprises: and the fourth acquisition module is used for acquiring a plurality of 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 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; and the first judgment result acquisition module is used for acquiring a judgment result used for representing whether the user turns or not based on the first walking angle difference value and a first preset condition.
Further, the apparatus further comprises: 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.
Further, the apparatus comprises: 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.
The method and the device for detecting the rotation angle provided by the embodiment of the invention are applied to mobile terminal equipment, and the method comprises 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; and acquiring a judgment result for representing whether the user turns or not based on the first walking direction and the second walking direction. The embodiment of the invention can realize the user turning detection in the indoor navigation and improve the indoor navigation precision.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a rotation angle detecting method according to an embodiment of the present invention;
fig. 2 is a detailed flowchart of a rotation angle detecting method according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a rotation angle detecting device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for detecting a rotation angle according to an embodiment of the present invention.
Icon: 200-rotation angle detection means; 210-a first obtaining module; 220-a second acquisition module; 230-a third acquisition module; 401-a processor; 402-a memory; 403-communication interface.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart of a corner detection method according to an embodiment of the present invention, where the method is applied to a mobile terminal device, and the corner detection method specifically includes the following steps:
step S100: and acquiring a first walking direction of a user when the mobile terminal is carried on the user at a first moment.
For example: at 20 minutes and 14 seconds at 8 am, when the mobile terminal is carried on a user, specifically, the user holds the mobile terminal, where in this embodiment, the mobile terminal may be a terminal device such as a Personal Computer (PC), a tablet PC, a smartphone, a Personal Digital Assistant (PDA), and a wearable device, in other embodiments, the mobile terminal may also be another device, and an acceleration sensor and a magnetic sensor are embedded in the mobile terminal carried on the user, in this embodiment, the acceleration sensor may be a three-axis acceleration sensor, the magnetic sensor may be a three-axis magnetic sensor, and in other embodiments, the acceleration sensor and the magnetic sensor may also be another sensor device. Since the geomagnetic field is a vector, for a fixed place, the 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 and the local horizontal plane are kept parallel, three axes of the magnetic sensor in the sent terminal correspond to the three components, actually, the vector sum of the two components in the horizontal direction always points to magnetic north, and the heading angle in the mobile terminal is the included angle between the current direction and the magnetic north, if the mobile terminal is kept horizontal, only the detection data of two axes (usually the X axis and the Y axis) in the horizontal direction of the magnetic sensor is needed to calculate the heading angle, and then the first walking direction of the user at 8 o' clock 20 min 14 sec is obtained through the calculated heading angle.
However, in practical applications, the mobile terminal carried on the hand of the user is not always horizontal to the ground, and usually has a certain angle with the ground, however, the angle will beAccuracy of the heading angle is affected, and therefore, tilt compensation by the acceleration sensor is required. For the attitude of an object in the air, an angle phi is defined as an included angle between an X axis and a horizontal plane, an angle theta is defined as an included angle between a y axis and the horizontal plane, components of gravity acceleration on three axes are detected through a three-axis acceleration sensor, then phi and theta are calculated, and then three-axis data (X) measured by a three-axis magnetic sensor are usedM,YM,ZM) Substituting the previously obtained phi and theta into equation 1, and calculating the angle alpha between the current direction and magnetic northyAnd Hx
Hy=YMcos(θ)+XMsin(θ)cos(φ)-ZMcos(φ)sin(θ)
Hx=XMcos(φ)+ZMsin(φ) (1)
Followed by reacting HyAnd HxSubstituting into equation 2, α is calculated.
Figure BDA0001591582580000061
Step S200: and acquiring a second walking direction of the user at a second moment after the first moment.
20 minutes 18 seconds at 8 am, and when mobile terminal was carried on one's body, specifically, the user was handheld mobile terminal obtains based on above-mentioned principle user's second walking direction, current walking direction and the contained angle of magnetic north direction promptly.
Step S300: and acquiring a judgment result for representing whether the user turns or not based on the first walking direction and the second walking direction.
Calculating an absolute value of an angle difference between a first walking direction of the user at 8 am for 20 minutes and 14 seconds and a walking direction of the user at 8 am for 20 minutes and 18 seconds based on the first walking direction and the second walking direction, then judging whether the user turns or not based on the absolute value of the angle difference between the two directions and a preset condition, and judging that the user turns between 20 minutes and 14 seconds at 8 am and 20 minutes and 18 seconds at 8 am when the absolute value of the angle difference between the first walking direction and the second walking direction meets the preset condition. In this embodiment, the preset condition is equal to or greater than 90 degrees, and in other embodiments, the preset condition may be other conditions, that is, it is determined that the user has turned the vehicle only when the angle difference between the first walking direction and the second walking direction is equal to or greater than 90 degrees.
Referring to fig. 2, as an embodiment, before acquiring the second walking direction of the user at a second time after the first time, the method further includes:
s400: and acquiring a plurality of walking directions of the user between the first time and the second time.
Specifically, when the mobile terminal is carried on a user between 20 minutes and 14 seconds at 8 am and 20 minutes and 18 seconds at 8 am, the user holds the mobile terminal, and obtains a plurality of walking directions of the user in the period of time based on the above principle, in this embodiment, the plurality of walking directions may be 3 walking directions, 4 walking directions, 5 walking directions, 6 walking directions, and the like, and the more walking directions obtained in the period of time, the more accurate the user can be determined whether to turn at a certain time.
As an embodiment, the obtaining a determination result for representing whether the user turns or not based on the first walking direction and the second walking direction includes:
s500: and 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.
Specifically, an absolute value of an angle difference between a first walking direction of the user at 20 minutes and 14 seconds at 8 am and a third walking direction of the user at 20 minutes and 14 seconds 500 milliseconds at 8 am after 20 minutes and 14 seconds at 8 am is calculated, wherein the third walking direction is a walking direction at a third time after the first time.
S600: and 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.
Specifically, it is determined whether the user turns or not within a period of 20 minutes and 14 seconds at 8 am to 20 minutes and 14 seconds at 8 am and 500 milliseconds at 20 minutes and 14 seconds at 8 am based on the first absolute value of the travel angle difference and a first preset condition, and it is determined whether the user turns or not within a period of 500 milliseconds at 20 minutes and 14 seconds at 8 am when the first absolute value of the travel angle difference satisfies the first preset condition, and it is determined that the user turns or turns within a period of 20 minutes and 14 seconds at 8 am to 20 minutes and 14 seconds at 8 am and 500 milliseconds at 8 am, in this embodiment, the first preset condition is 90 degrees or more, in other embodiments, the first preset condition may be other, that is, the absolute value of the angle difference between the first travel direction and the third travel direction is 90 degrees or more, and it is determined that the user turns or turns within a period of 500 milliseconds at 20 minutes and 14 seconds at 8 am to 20 minutes and 14 seconds at 8 am, otherwise, it is determined that the user has not made a turn during this period of time.
As an embodiment, after obtaining a determination result representing whether the user turns or not based on the first travel angle difference and a first preset condition, the method further includes:
and 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.
Specifically, when it is determined that the user does not make a turn in the period of 20 minutes 14 seconds at 8 am to 20 minutes 14 seconds at 8 am for 500 milliseconds based on the first travel angle difference absolute value and the first preset condition, a second travel angle difference absolute value between the first travel direction of the user and a fourth travel direction of 8 o 'clock 20 minutes 15 seconds after 500 milliseconds at 8 o' clock 20 minutes 14 seconds at 8 am is calculated, where the fourth travel direction is a travel direction at a fourth time after the third time.
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.
Specifically, whether the user turns in a period of 20 minutes and 14 seconds at 8 am to 20 minutes and 15 seconds at 8 am and whether the user turns in a period of 20 minutes and 15 seconds at 8 am are determined based on the second absolute value of the walking angle difference and a first preset condition, and when the second absolute value of the walking angle difference satisfies the first preset condition, it is determined that the user turns in a period of 20 minutes and 14 seconds at 8 am to 20 minutes and 15 seconds at 8 am, in this embodiment, the first preset condition is 90 degrees or more, in other embodiments, the first preset condition may be other, that is, the absolute value of the angle difference between the first walking direction and the third walking direction is 90 degrees or more, and it is determined that the user turns in a period of 20 minutes and 14 seconds at 8 am to 20 minutes and 15 seconds at 8 am, otherwise, it is determined that the user has not made a turn during this period of time.
As an embodiment, when the determination result is yes, that is, when the first travel angle difference satisfies a first preset condition, it is determined that the user has made a turn in a period of 20 minutes 14 seconds at 8 am to 20 minutes 14 seconds at 8 am, and the time of the first turn is recorded, and then a third travel angle difference between the travel direction at the third time and the travel direction at a fourth time after the third time is acquired, and when the third travel angle difference satisfies the first preset condition, it is determined and recorded that the user has made a second turn in a period of 20 minutes 14 seconds at 8 am to 500 minutes 15 seconds at 8 am.
As an embodiment, after obtaining a determination result representing whether the user turns or not based on the first travel angle difference and a first preset condition, the method further includes:
and when the judgment result is yes, judging whether the user turns left or not based on a second preset condition.
Specifically, when it is determined that the user makes a turn in a period of 20 minutes 14 seconds at 8 am to 20 minutes 14 seconds at 8 am based on the absolute value of the first travel angle difference and a first preset condition, and then it is determined whether the first travel angle difference satisfies a second preset condition, wherein the first travel angle difference is a difference between the user's travel direction at 20 minutes 14 seconds at 8 am and 500 seconds at 20 minutes 14 seconds at 8 am minus the user's travel direction at 20 minutes 14 seconds at 8 am, and when the first travel angle difference satisfies the second preset condition, it is determined that the user makes a left turn in a period of 20 minutes 14 seconds at 8 am to 20 minutes 14 seconds at 8 am and 500 seconds at 20 minutes 14 seconds at 14 am, and recording is performed, otherwise, when the first travel angle difference does not satisfy the second preset condition, it is determined that the user makes a right turn in a period of 20 minutes 14 seconds at 8 am to 20 minutes 14 seconds at 8 am and 500 seconds at 20 minutes 14 ms at 14 am, and recording, wherein in this embodiment, the second preset condition is an integer, that is, it is determined whether the first travel angle difference is a positive number, when the first travel angle difference is the positive number, it is determined that the user makes a left turn in a period of 20 minutes and 14 seconds at 8 am to 20 minutes and 14 seconds at 8 am for 500 milliseconds, otherwise, it is determined that the user makes a right turn in a period of 20 minutes and 14 seconds at 8 am to 20 minutes and 14 seconds at 8 am for 500 milliseconds.
To implement the above-mentioned corner detection method, an embodiment of the present invention provides a corner detection device, please refer to fig. 3, where fig. 3 is a schematic block diagram of the corner detection device provided in the embodiment of the present invention, and the corner detection device includes: a first acquisition module 210, a second acquisition module 220, and a third acquisition module 230.
The first obtaining module 210 is configured to obtain a first walking direction of a user at a first time when the mobile terminal is carried on the user.
A second obtaining module 220, configured to obtain a second walking direction of the user at a second time after the first time.
A third obtaining module 230, configured to obtain a determination result used for representing whether the user turns based on the first walking direction and the second walking direction.
As an embodiment, the apparatus further comprises: and the fourth acquisition module is used for acquiring a plurality of walking directions of the user between the first moment and the second moment.
As an implementation, the third obtaining module 230 includes: the device comprises a first angle difference acquisition module and a first judgment result acquisition module.
A first angle difference obtaining module, configured to obtain, based on the first walking direction, the second walking direction, and the multiple walking directions, a first walking angle difference between the first walking direction and a walking direction at a third time after the first time.
And the first judgment result acquisition module is used for acquiring a judgment result used for representing whether the user turns or not based on the first walking angle difference value and a first preset condition.
As an embodiment, the apparatus further comprises: a second angle difference obtaining module and a second judgment result obtaining module.
And the second angle difference obtaining module is used for obtaining a second walking angle difference value between the first walking direction and the walking direction at a fourth moment after the third moment when the judgment result is negative.
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.
As an embodiment, the apparatus further comprises: 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.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a device for implementing rotation angle detection according to an embodiment of the present invention, which adopts a general computer system structure, and includes a bus, a processor 401, a memory 402 and a communication interface 403, wherein a program code for executing the scheme of the present invention is stored in the memory 402 and is controlled by the processor 401 to be executed.
A bus may include a path that transfers information between the various components of a computer.
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 executing 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 (RAM), Read Only Memory (ROM), Programmable Read Only Memory (PROM), Erasable Read Only Memory (EPROM), electrically Erasable Read Only Memory (EEPROM), and the like.
The processor 401 may be an integrated circuit chip having signal processing capabilities. The Processor 401 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits for controlling the execution of programs according to the present invention. The one or more memories 402 included in the computer system may be Read-only memories (ROMs) or other types of static storage devices that may store static information and instructions, Random Access Memories (RAMs) or other types of dynamic storage devices that may store information and instructions, or disk memories. These memories 402 are connected to the processor 401 through a bus.
The communication interface 403 may use any transceiver or the like for communicating with other devices or communication networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
The embodiment of the present invention further provides a computer-readable storage medium, configured to store the computer software instructions used in fig. 3 or fig. 4, which include a program for executing the method according to the embodiment of the present invention. By executing the stored program, the user turns in the indoor navigation to detect, and the indoor navigation precision is improved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described corner detection apparatus may refer to the corresponding process in the above-described corner detection method, and will not be described in detail herein.
In summary, the method and the apparatus for detecting a rotation angle provided in 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 a first walking direction of the user; acquiring a second walking direction of the user at a second moment after the first moment; and acquiring a judgment result for representing whether the user turns or not based on the first walking direction and the second walking direction. The embodiment of the invention can realize the user turning detection in the indoor navigation and improve the indoor navigation precision.
The functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises 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
Ban et al. Indoor positioning method integrating pedestrian Dead Reckoning with magnetic field and WiFi fingerprints
US11041725B2 (en) Systems and methods for estimating the motion of an object
TWI262317B (en) Method for controlling a magnetic flux sensor, a control device, and a mobile terminal device
US9175963B2 (en) Dead reckoning based initialization of position and heading using discrete position indicators
Mohssen et al. It's the human that matters: Accurate user orientation estimation for mobile computing applications
US20160097788A1 (en) Pedestrian direction of motion determination system and method
Gädeke et al. Smartphone pedestrian navigation by foot-IMU sensor fusion
US20130297203A1 (en) Methods and apparatus for low-cost inertial dead-reckoning using context detection
US20150025838A1 (en) Position estimation device, position estimation method, and integrated circuit
KR101576424B1 (en) Automatic calibration method of magnetometer for indoor positioning
JP2017166895A (en) Electronic apparatus, sensor calibration method, and sensor calibration program
JP2011102707A (en) Positioning device and positioning method
Hsu et al. Indoor localization and navigation using smartphone sensory data
KR101503046B1 (en) inertial measurement unit and method for calibrating the same
WO2016150312A1 (en) Geomagnetic sensor calibration method and apparatus, and intelligent device
TWI287623B (en) Mobile terminal and tilt angle computing method for mobile terminal
JP2011102792A (en) Positioning device and positioning method
CN108375376B (en) Rotation angle detection method and device
CN106931965B (en) Method and device for determining terminal posture
CN114631365A (en) Electronic device for detecting position and method thereof
JP5475873B2 (en) Geomagnetic detector
Árvai et al. Filtering methods for indoor magnetic compass
CN113115214B (en) Indoor human body orientation recognition system based on non-reversible positioning tag
He et al. Attitude fusion of inertial and magnetic sensor under different magnetic filed distortions
US10254378B1 (en) Mobile device localization based on relative received signal strength indicators

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

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

EE01 Entry into force of recordation of patent licensing contract