CN105806333A - Method for judging indoor moving direction and mobile terminal - Google Patents

Method for judging indoor moving direction and mobile terminal Download PDF

Info

Publication number
CN105806333A
CN105806333A CN201410854040.2A CN201410854040A CN105806333A CN 105806333 A CN105806333 A CN 105806333A CN 201410854040 A CN201410854040 A CN 201410854040A CN 105806333 A CN105806333 A CN 105806333A
Authority
CN
China
Prior art keywords
magnetic field
earth
mobile terminal
disturbing
rotating shaft
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410854040.2A
Other languages
Chinese (zh)
Other versions
CN105806333B (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.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201410854040.2A priority Critical patent/CN105806333B/en
Publication of CN105806333A publication Critical patent/CN105806333A/en
Application granted granted Critical
Publication of CN105806333B publication Critical patent/CN105806333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method for judging an indoor moving direction. The method comprises the following steps: acquiring acceleration of preset leg swinging of a user; under the condition that the acquired acceleration meets a threshold, acquiring a horizontal component of a swinging direction of a mobile terminal held by the user; acquiring magnetic induction intensity of a geomagnetic field, the magnetic induction intensity of an interference magnetic field, and a direction pointed by a rotating shaft of a gyroscope inside the mobile terminal, and calculating the direction of a magnetic field according to the magnetic induction intensity of the geomagnetic field, the magnetic induction intensity of the interference magnetic field, and the direction pointed by the rotating shaft of the gyroscope; and confirming the geographic direction of the horizontal component according to the calculated direction and the horizontal component of the magnetic field. The invention further discloses a mobile terminal of which the indoor moving direction is judged. By adopting the method, an indoor compass can be calibrated, and the accuracy of judging the geological walking direction of the user can be improved.

Description

A kind of method judging indoor moving direction and mobile terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method judging indoor moving direction and mobile terminal.
Background technology
Global positioning system is a technology pointed the direction out of doors for user, but when indoor positioning, the existence of the barrier not easily penetrated due to some objects such as house etc. can shield satellite-signal completely, therefore global positioning system cannot at indoor accurate navigation, user's geographic direction in indoor walking can not be judged, this also illustrates, for judging that user's technology at indoor direction of travel still compares shortage.The first prior art, by gathering user's image information in indoor walking, is analyzed obtaining the attitude of user's walking, thus judging the direction that user walks further according to the image gathered.But said method needs the image that Resurvey user walks every time, it is relatively costly, processing procedure relative complex, can not accurately judge user's geographic direction in indoor walking.The second prior art is the preset direction that collects using the 3-axis acceleration sensor of the mobile terminal direction of travel as user, but owing to 3-axis acceleration sensor cannot judge geographic direction, therefore can cause that the horizontal direction that 3-axis acceleration sensor collects is inconsistent with the geographic direction of the actual walking of user, make navigation direction error increase, even there will be the situation of navigational error.
Summary of the invention
The present invention provides a kind of method judging indoor moving direction and mobile terminal, and adjustable indoor compass and improving judges the accuracy rate of the geographic direction that user walks.
First aspect present invention provides a kind of method judging indoor moving direction, including:
Obtain the acceleration of the default swing of leg of user;
When the acceleration obtained reaches threshold value, obtain the horizontal component in the whipping direction of the held mobile terminal of described user;
Obtain the direction that in the magnetic induction in earth's magnetic field, the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to, the direction in earth's magnetic field according to the direction calculating that the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to;
The direction in the earth's magnetic field according to calculating and described horizontal component determine the geographic direction of described horizontal component.
In conjunction with the implementation of first aspect present invention, in the first possible implementation of first aspect present invention, before the horizontal component in the whipping direction of the mobile terminal that the described user of described acquisition is held, described method also includes:
Gather the image information of the described default swing of leg of described user, image information that described image information steps image information before including lifting lower limb image information, leg and foot lands;
Image information according to gathering is mated with the acceleration of described acquisition, lifts, with described, the acceleration that lower limb image information is corresponding to obtain;
Then described when the acceleration obtained reaches threshold value, obtain the whipping direction of current mobile terminal, specifically include:
When obtain with described lift acceleration corresponding to lower limb image information reach threshold value, obtain the horizontal component in the whipping direction of described mobile terminal.
Implementation in conjunction with first aspect present invention, in the implementation that the second of first aspect present invention is possible, the direction in earth's magnetic field described in the direction calculating that the described magnetic induction according to described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to, specifically includes:
The angle in direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft of the direction according to default described earth's magnetic field and described gyroscope is pointed to determines the direction of described disturbing magnetic field;
If the direction of the disturbing magnetic field calculated is equal to the magnetic induction of described disturbing magnetic field, then obtains disturbing magnetic field vector according to described default angle, determine the direction of described disturbing magnetic field according to described disturbing magnetic field vector;
The direction in earth's magnetic field described in direction, the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the direction calculating of described disturbing magnetic field that rotating shaft according to described gyroscope is pointed to.
In conjunction with the implementation that the second of first aspect present invention is possible, in the third possible implementation of first aspect present invention, the direction that the rotating shaft of described gyroscope is pointed to is any one in first direction, second direction or third direction, the angle in direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field then pointed to the rotating shaft of described gyroscope according to the direction in described earth's magnetic field preset determines the direction of described disturbing magnetic field, specifically includes:
The angle of first direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft of the direction according to default described earth's magnetic field and described gyroscope is pointed to determines the first disturbing magnetic field vector;
The angle of second direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft of the direction according to default described earth's magnetic field and described gyroscope is pointed to determines the second disturbing magnetic field vector;
The angle of third direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft of the direction according to default described earth's magnetic field and described gyroscope is pointed to determines the 3rd disturbing magnetic field vector;
If described first disturbing magnetic field the second disturbing magnetic field vectorial, described is vectorial and described 3rd disturbing magnetic field vector intersects at same position, it is determined that the direction of described position is the direction of described disturbing magnetic field.
In conjunction with any one the possible implementation in the second of first aspect present invention or first aspect, in the 4th kind of possible implementation of first aspect present invention, the direction that whipping direction is the screen being perpendicular to described mobile terminal of described mobile terminal.
First aspect present invention provides a kind of mobile terminal judging indoor moving direction, including:
First acquisition module, for obtaining the acceleration of the default swing of leg of user;
Second acquisition module, the acceleration for obtaining at described first acquisition module reaches threshold value, obtains the horizontal component in the whipping direction of the held mobile terminal of described user;
Computing module, for obtaining the direction that in the magnetic induction in earth's magnetic field, the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to, the direction in earth's magnetic field according to the direction calculating that the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to;
Determine module, determine the geographic direction of described horizontal component for the direction in earth's magnetic field calculated according to described computing module and the horizontal component of described second acquisition module acquisition.
In conjunction with the implementation of second aspect present invention, in the first possible implementation of second aspect present invention, described mobile terminal also includes:
Acquisition module, for gathering the image information of described default swing of leg of described user, image information that described image information steps image information before including lifting lower limb image information, leg and foot lands;
Matching module, for mating with the acceleration of described acquisition according to the image information of acquisition module collection, lifts, with described, the acceleration that lower limb image information is corresponding to obtain;
Then described second acquisition module specifically for:
When described first acquisition module obtain with described lift acceleration corresponding to lower limb image information reach threshold value when, obtain the horizontal component in the whipping direction of described mobile terminal.
In conjunction with the implementation of second aspect present invention, in the implementation that the second of second aspect present invention is possible, described computing module includes:
Determining unit, the angle in direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field for pointing to the rotating shaft of described gyroscope according to the direction in described earth's magnetic field preset determines the direction of described disturbing magnetic field;
Computing unit, the direction in earth's magnetic field described in the direction pointed to according to the rotating shaft of described gyroscope, the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the described direction calculating determining disturbing magnetic field that unit determines.
In conjunction with the implementation that the second of second aspect present invention is possible, in the third possible implementation of second aspect present invention, the direction that the rotating shaft of described gyroscope is pointed to is any one in first direction, second direction or third direction, then described determine that unit includes:
First determines subelement, and the angle of first direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field for pointing to the rotating shaft of described gyroscope according to the direction in described earth's magnetic field preset determines the first disturbing magnetic field vector;
First determines subelement, is additionally operable to determine the second disturbing magnetic field vector according to the angle of second direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the direction in described earth's magnetic field preset is pointed to the rotating shaft of described gyroscope;
First determines subelement, is additionally operable to determine the 3rd disturbing magnetic field vector according to the angle of third direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the direction in described earth's magnetic field preset is pointed to the rotating shaft of described gyroscope;
Second determines subelement, and if described threeth disturbing magnetic field vector vectorial for described first disturbing magnetic field the second disturbing magnetic field vectorial, described intersects at same position, it is determined that the direction of described position is the direction of described disturbing magnetic field.
In conjunction with any one the possible implementation in the second of second aspect present invention or first aspect, in the 4th kind of possible implementation of second aspect present invention, the direction that whipping direction is the screen being perpendicular to described mobile terminal of described mobile terminal.
nullAdopt the present invention,The acceleration of the default swing of leg of user can be obtained,When the acceleration obtained reaches threshold value,Obtain the horizontal component in the whipping direction of the held mobile terminal of described user,Obtain the magnetic induction in earth's magnetic field、The direction that in the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to,Magnetic induction according to described earth's magnetic field、The direction in earth's magnetic field described in the direction calculating that the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to,The direction in the earth's magnetic field according to described calculating and described horizontal component determine the geographic direction of described horizontal component,The direction that earth magnetism is actual can be obtained by the interference in exclusive PCR magnetic field,Further according to the direction that the direction calculating user that the horizontal component in the whipping direction of mobile terminal is actual with earth magnetism walks,Thus compass and improve the accuracy rate of the geographic direction judging that user walks in calibration chamber.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of an embodiment of a kind of method judging indoor moving direction of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of a kind of method judging indoor moving direction of the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of mobile terminal judging indoor moving direction of the embodiment of the present invention;
Fig. 4 is the structural representation that the another kind of the embodiment of the present invention judges the mobile terminal in indoor moving direction;
Fig. 5 is the structural representation of the computing module of a kind of mobile terminal judging indoor moving direction of the embodiment of the present invention;
Fig. 6 is the schematic diagram data of the 3-axis acceleration sensor collection of the embodiment of the present invention;
Fig. 7 is the horizontal component schematic diagram in the whipping direction of the mobile terminal of the embodiment of the present invention;
Fig. 8 is the direction schematic diagram calculating disturbing magnetic field of the embodiment of the present invention;
Fig. 9 is the direction schematic diagram in direction, the direction of disturbing magnetic field and earth's magnetic field that the rotating shaft of the gyroscope R of the embodiment of the present invention is pointed to;
Figure 10 is the direction schematic diagram in the geographic direction of the horizontal component of the embodiment of the present invention, the direction of disturbing magnetic field and earth's magnetic field.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Adopt the embodiment of the present invention, adjustable indoor compass and improve the accuracy rate of the geographic direction judging that user walks.
Refer to the schematic flow sheet of an embodiment that Fig. 1, Fig. 1 are a kind of methods judging indoor moving direction of the embodiment of the present invention.The present embodiment can pass through the acceleration that 3-axis acceleration sensor gathers the default swing of leg of user, in addition, acceleration when can also gather left lower limb or the left-leg movement of user and form, the present embodiment is then illustrated with the acceleration and form gathering the left-leg movement of user.The present embodiment detects the magnetic induction of disturbing magnetic field also by electromagnetic transducer.Above-mentioned 3-axis acceleration sensor, electromagnetic transducer and gyroscope can integrated in the terminal, it is possible to be provided separately within outside mobile terminal.It addition, mobile terminal can be any movement or portable electric appts, include but not limited to the electronic equipments such as mobile phone, removable computer, panel computer, personal digital assistant, media player.
As it is shown in figure 1, an embodiment of a kind of method judging indoor moving direction of the embodiment of the present invention may comprise steps of.
S100, obtains the acceleration of the default swing of leg of user.
In implementing, when user when walking, mobile terminal can detect user's left-leg movement action (as left lower limb lift, step before left lower limb, health moves and right crus of diaphragm such as lands at the action), according to the acceleration of prefixed time interval collection the moment change during recording left-leg movement.
As a kind of enforceable mode, the hand-holdable mobile terminal of user detects.
S101, when the acceleration obtained reaches threshold value, obtains the horizontal component in the whipping direction of the held mobile terminal of described user.
In implementing, the threshold value that the present embodiment relates to can be the peak value of acceleration.Stepping in the stage before the left lower limb of user, be gradually increased along with left lower limb lifts its acceleration gradually, when the left lower limb of user is raised up to peak, its speed is zero, but acceleration now reaches peak value, and the direction stepped before now can giving tacit consent to left lower limb is the direction that user walks.The feature of hand-foot coordination alternatively swinging when walking based on user, the amplitude of fluctuation of the left lower limb of user is consistent with the amplitude that right hand-held mobile terminal swings.Therefore the moment stepped before the left lower limb of user is identical with the moment of right hand handheld terminal swing arm, and the whipping direction of the mobile terminal that the direction stepped before left lower limb and user hold is also identical.Therefore when the acceleration judging that 3-axis acceleration sensor collects reaches peak value, the horizontal component in the direction stepped before obtaining left lower limb now by the horizontal component in whipping direction obtaining mobile terminal.
As a kind of enforceable mode, the direction that whipping direction is the screen being perpendicular to described mobile terminal of described mobile terminal.
S102, obtain the direction that in the magnetic induction in earth's magnetic field, the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to, the direction in earth's magnetic field according to the direction calculating that the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to.
In implementing, mobile terminal can pass through the magnetic induction of electromagnetic transducer detection disturbing magnetic field, can obtain the magnetic induction in corresponding earth's magnetic field and the direction that the rotating shaft obtaining gyroscope is pointed to according to the geographical position that mobile terminal is currently located.When outdoor, North and South direction can be accurately pointed in the rotating shaft of gyroscope, the direction of its sensing is the direction in earth's magnetic field, but there is deviation in the sensing of the rotating shaft being easily caused gyroscope due to the interference in the magnetic field of some electrical equipment when indoor, the direction causing direction that the rotating shaft of gyroscope is actually pointed to and earth's magnetic field is deviateed, it is therefore desirable to by calculating the geographic direction of horizontal component that the direction of earth's magnetic field reality obtains the whipping direction of mobile terminal.
As a kind of enforceable mode, the magnetic induction of the direction, the magnetic induction in earth's magnetic field and the disturbing magnetic field that point to due to the rotating shaft of gyroscope is known, if the rotating shaft of gyroscope is vectorial, meet parallelogram law between earth-magnetic field vector and disturbing magnetic field vector, then can be determined the direction of disturbing magnetic field by the angle between rotating shaft vector and the earth-magnetic field vector of setting gyroscope, that is obtain the direction in earth's magnetic field.
S103, determines the geographic direction of described horizontal component according to the direction in the earth's magnetic field calculated and described horizontal component.
In implementing, using the direction in earth's magnetic field as reference direction, owing to the direction of the horizontal component in the whipping direction of mobile terminal can be obtained by 3-axis acceleration sensor detection, therefore the geographic direction of the horizontal component in the whipping direction of mobile terminal can be determined according to the direction of horizontal component in the whipping direction of mobile terminal and the direction in earth's magnetic field, thus knowing the true geographic direction that user walks.
nullAdopt the embodiment of the present invention,The acceleration of the default swing of leg of user can be obtained,When the acceleration obtained reaches threshold value,Obtain the horizontal component in the whipping direction of the held mobile terminal of described user,Obtain the magnetic induction in earth's magnetic field、The direction that in the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to,Magnetic induction according to described earth's magnetic field、The direction in earth's magnetic field described in the direction calculating that the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to,The direction in the earth's magnetic field according to described calculating and described horizontal component determine the geographic direction of described horizontal component,The direction that earth magnetism is actual can be obtained by the interference in exclusive PCR magnetic field,Further according to the direction that the direction calculating user that the horizontal component in the whipping direction of mobile terminal is actual with earth magnetism walks,Thus compass and improve the accuracy rate of the geographic direction judging that user walks in calibration chamber.
Refer to the schematic flow sheet of another embodiment that Fig. 2, Fig. 2 are a kind of methods judging indoor moving direction of the embodiment of the present invention.
As in figure 2 it is shown, another embodiment of a kind of method judging indoor moving direction of the embodiment of the present invention may comprise steps of.
S200, obtains the acceleration of the default swing of leg of user.
In implementing, as shown in Figure 6, the 3-axis acceleration curve chart limited in black box gathers the acceleration of the left lower limb of user within a cycle, the action of corresponding user's left-leg movement (as left lower limb lift, step before left lower limb, health moves and left foot such as lands at the action), according to the acceleration in three reference directions of prefixed time interval collection the change of the moment during recording left-leg movement, obtain the 3-axis acceleration curve chart in black box in Fig. 6.
S201, gathers the image information of the described default swing of leg of described user, image information that described image information steps image information before including lifting lower limb image information, leg and foot lands.
In implementing, owing to user is in continuous walking, therefore 3-axis acceleration sensor can continuous acquisition to multiple data.Starting stage at detection user's direction of travel, in order to obtain the curve chart of the left lower limb of user, the action of user can be recorded a video, as gathered the image information of swing of leg when user walks, including such as Fig. 6 successively shown in right lower limb before step image information, right crus of diaphragm land image information, health steps image information before moving image information, left lower limb, left foot lands image information and the liftoff image information of left heel, then preserves these image informations.
S202, the image information according to gathering is mated with the acceleration of described acquisition, lifts, with described, the acceleration that lower limb image information is corresponding to obtain.
In implementing, utilize the time gathered each image information to be mated with the acceleration information got, ultimately form the corresponding relation schematic diagram of data that 3-axis acceleration sensor as shown in Figure 6 gathers and image information.As shown in Figure 6, owing to time and the 3-axis acceleration sensor of user's walking gather the time consistency of data, the data collected with 3-axis acceleration sensor respectively when therefore user often makes an action are corresponding.After obtaining the corresponding relation schematic diagram shown in Fig. 6, it can be observed that 3-axis acceleration curve chart corresponding during left-leg movement, the acceleration that when stepping before thus obtaining left lower limb, 3-axis acceleration sensor detects.
As a kind of enforceable mode, after setting up data that 3-axis acceleration sensor gathers and the corresponding relation of image information, can using the corresponding relation the established reference as the acceleration stepped before the left lower limb of follow-up judgement.Therefore when rejudging the direction of user's walking, the data of 3-axis acceleration sensor collection and the corresponding relation of image information need not be re-established, the data that can be directly collected by 3-axis acceleration sensor contrast with the corresponding relation of image information with the data of 3-axis acceleration sensor collection previously set up, find out the cycle data of left-leg movement, the acceleration information stepped before finally obtaining left lower limb.
As a kind of enforceable mode, the cycle data of left-leg movement is determined in the vibrations that mobile terminal produces when alternately landing with right crus of diaphragm also by detection user's left foot.
S203, when obtain with described lift acceleration corresponding to lower limb image information reach threshold value, obtain the horizontal component in the whipping direction of described mobile terminal.
In implementing, the threshold value that the present embodiment relates to can be the peak value of acceleration.Stepping in the stage before the left lower limb of user, be gradually increased along with left lower limb lifts its acceleration gradually, when the left lower limb of user is raised up to peak, its speed is zero, and acceleration now but reaches peak value, and the direction stepped before therefore can giving tacit consent to left lower limb is the direction that user walks.When walking based on user, trick alternates the feature of swing, and the amplitude of fluctuation of the left lower limb of user is consistent with the amplitude that right hand-held mobile terminal swings.It is illustrated in figure 7 the whipping direction of mobile terminalMoment owing to stepping before the left lower limb of user is identical with the moment of right hand handheld terminal swing arm, the whipping direction of the mobile terminal that the direction stepped before left lower limb and user hold is also identical, therefore when the acceleration judging that 3-axis acceleration sensor collects reaches peak value, by obtaining the whipping direction of mobile terminalHorizontal componentThe horizontal component in the direction stepped before can learning left lower limb.
As a kind of enforceable mode, the direction that whipping direction is the screen being perpendicular to described mobile terminal of described mobile terminal.As it is shown in fig. 7, the whipping direction of the mobile terminal held due to userIdentical with the direction stepped before left lower limb, therefore can obtain its horizontal component by the whipping direction of acquisition mobile terminal
S204, obtains the direction that in the magnetic induction in earth's magnetic field, the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to.
In implementing, mobile terminal can pass through the magnetic induction of electromagnetic transducer detection disturbing magnetic field, and the geographical position being currently located according to mobile terminal obtains the magnetic induction in corresponding earth's magnetic field then the direction that the rotating shaft obtaining gyroscope is pointed to.When outdoor, North and South direction can be accurately pointed in the rotating shaft of gyroscope, the direction of its sensing is the direction in earth's magnetic field, but there is deviation in the sensing of the rotating shaft being easily caused gyroscope due to the interference in the magnetic field of some electrical equipment when indoor, the direction causing direction that the rotating shaft of gyroscope is actually pointed to and earth's magnetic field is deviateed, it is therefore desirable to by calculating the geographic direction of horizontal component that the direction of earth's magnetic field reality obtains the whipping direction of mobile terminal.
As a kind of enforceable mode, mobile terminal can by setting up wireless connections with closest base station, thus obtaining the geographical position (such as Beijing) of base station, then obtain the magnetic induction in earth's magnetic field corresponding to this geographical position according to " Global Geomagnetic Field reference key ".
S205, the angle in direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field pointed to according to the rotating shaft in the direction in default described earth's magnetic field with described gyroscope determines the direction of described disturbing magnetic field.
nullIn implementing,As shown in Figure 8,Point A is the position that mobile terminal is currently located,Owing to the gyroscope R direction pointed in the rotating shaft of an A is known,And the magnetic induction of earth's magnetic field G and the magnetic field intensity of disturbing magnetic field vector I has been calculated in step S204,Therefore with an A for the center of circle,With the induction level of earth's magnetic field G for radius,Set the rotating shaft R of earth's magnetic field G and the gyroscope angle between the A direction pointed to as θ,Angle theta is made to be iterated calculating (namely to the continuous value of angle theta between 0 ° to 360 °,In fig. 8 with angle theta ',Angle theta " and angle theta " ' for example),When angle is θ ',Judge earth's magnetic field G、Whether the rotating shaft R of gyroscope and disturbing magnetic field vector I meets parallelogram law,If meeting,Then determine the direction that direction is disturbing magnetic field of this disturbing magnetic field vector I,If being unsatisfactory for,Then angle theta is continued value,Such as angle theta " and angle theta " ',Earth's magnetic field G can be made until finding out、The rotating shaft R of gyroscope and disturbing magnetic field vector I meets the angle theta of parallelogram law.
Optionally, above-mentioned steps S205 specifically can comprise the steps:
S2051 (not shown), determines the first disturbing magnetic field vector according to the angle of first direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft in the direction in default described earth's magnetic field with described gyroscope is pointed to.
S2052 (not shown), determines the second disturbing magnetic field vector according to the angle of second direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft in the direction in default described earth's magnetic field with described gyroscope is pointed to.
S2053 (not shown), determines the 3rd disturbing magnetic field vector according to the angle of third direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft in the direction in default described earth's magnetic field with described gyroscope is pointed to.
In implementing, the direction that the rotating shaft of gyroscope is pointed to is first direction R1, second direction R2Or third direction R3In any one.Owing to user is in continuous walking, and the direction that the rotating shaft of the gyroscope R that often makes a move is pointed to all changes, if assuming, disturbing magnetic field is in changeless position, then need the rotating shaft R the gathering gyroscope direction at least three times pointed to, and obtain, according to the calculation of step S205, the disturbing magnetic field vector that the rotating shaft R of the gyroscope direction pointed to is corresponding successively.The present embodiment, for the rotating shaft R the gathering gyroscope number of times in direction pointed to for three times, obtains the first disturbing magnetic field vector I1, the second disturbing magnetic field vector I2And the 3rd disturbing magnetic field vector I3
S2054 (not shown), if described first disturbing magnetic field the second disturbing magnetic field vectorial, described is vectorial and described 3rd disturbing magnetic field vector intersects at same position, it is determined that the direction of described position is the direction of described disturbing magnetic field.
In implementing, if above three vector intersects at same position, then prove that this position is the position of disturbing magnetic field, it is thus determined that the direction of this position is the direction of disturbing magnetic field.It is illustrated in figure 9 the mobile terminal that the finally gives direction to disturbing magnetic field.
As a kind of enforceable mode, if above three vector intersects or non-intersect between two, then think this time by the data of geomagnetic sensor, gyroscope and 3-axis acceleration sensor collection, error occurs, reacquire the data that gyroscope gathers, be again calculated according to the method for step S205.
S206, the direction in earth's magnetic field according to direction, the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the direction calculating of described disturbing magnetic field that the rotating shaft of described gyroscope is pointed to.
In implementing, after obtaining the direction of disturbing magnetic field, as it is shown in figure 9, according to parallelogram lawObtain the direction of earth's magnetic field G.
S207, determines the geographic direction of described horizontal component according to the direction in the earth's magnetic field calculated and described horizontal component.
As shown in Figure 10, behind the direction obtaining earth's magnetic field G, according to horizontal componentAnd the angle α between the direction of earth's magnetic field G calculates horizontal componentGeographic direction, with this obtain user walking direction.
nullAdopt the embodiment of the present invention,The acceleration of the default swing of leg of energy user in real,When the acceleration obtained reaches threshold value,Obtain the horizontal component in the whipping direction of the held mobile terminal of described user,Obtain the magnetic induction in earth's magnetic field、The direction that in the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to,Magnetic induction according to described earth's magnetic field、The direction iterative computation that the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to is to obtain the direction of disturbing magnetic field,Determine the direction in described earth's magnetic field again,The direction in the earth's magnetic field according to described calculating and described horizontal component determine the geographic direction of described horizontal component,The direction that earth magnetism is actual can be obtained by the interference in exclusive PCR magnetic field,Further according to the direction that the direction calculating user that the horizontal component in the whipping direction of mobile terminal is actual with earth magnetism walks,Thus compass and improve the accuracy rate of the geographic direction judging that user walks in calibration chamber.
Refer to the structural representation that Fig. 3, Fig. 3 are a kind of mobile terminals judging indoor moving direction of the embodiment of the present invention.Mobile terminal as shown in Figure 3 includes first acquisition module the 300, second acquisition module 301, computing module 302 and determines module 303.
First acquisition module 300, for obtaining the acceleration of the default swing of leg of user;
Second acquisition module 301, the acceleration for obtaining at described first acquisition module reaches threshold value, obtains the horizontal component in the whipping direction of the held mobile terminal of described user;
Computing module 302, for obtaining the direction that in the magnetic induction in earth's magnetic field, the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to, the direction in earth's magnetic field according to the direction calculating that the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to;
Determine module 303, determine the geographic direction of described horizontal component for the direction in earth's magnetic field calculated according to described computing module and the horizontal component of described second acquisition module acquisition.
In implementing, the threshold value that the present embodiment relates to can be the peak value of acceleration.Stepping in the stage before the left lower limb of user, be gradually increased along with left lower limb lifts its acceleration gradually, when the left lower limb of user is raised up to peak, its speed is zero, but acceleration now reaches peak value, and the direction stepped before now can giving tacit consent to left lower limb is the direction that user walks.The feature of hand-foot coordination alternatively swinging when walking based on user, the amplitude of fluctuation of the left lower limb of user is consistent with the amplitude that right hand-held mobile terminal swings.Therefore the moment stepped before the left lower limb of user is identical with the moment of right hand handheld terminal swing arm, and the whipping direction of the mobile terminal that the direction stepped before left lower limb and user hold is also identical.Therefore when the acceleration judging that 3-axis acceleration sensor collects reaches peak value, the horizontal component in the direction stepped before obtaining left lower limb now by the horizontal component in whipping direction obtaining mobile terminal.
In implementing, mobile terminal can pass through the magnetic induction of electromagnetic transducer detection disturbing magnetic field, can obtain the magnetic induction in corresponding earth's magnetic field and the direction that the rotating shaft obtaining gyroscope is pointed to according to the geographical position that mobile terminal is currently located.When outdoor, North and South direction can be accurately pointed in the rotating shaft of gyroscope, the direction of its sensing is the direction in earth's magnetic field, but there is deviation in the sensing of the rotating shaft being easily caused gyroscope due to the interference in the magnetic field of some electrical equipment when indoor, the direction causing direction that the rotating shaft of gyroscope is actually pointed to and earth's magnetic field is deviateed, it is therefore desirable to by calculating the geographic direction of horizontal component that the direction of earth's magnetic field reality obtains the whipping direction of mobile terminal.
As a kind of enforceable mode, the magnetic induction of the direction, the magnetic induction in earth's magnetic field and the disturbing magnetic field that point to due to the rotating shaft of gyroscope is known, if the rotating shaft of gyroscope is vectorial, meet parallelogram law between earth-magnetic field vector and disturbing magnetic field vector, then can be determined the direction of disturbing magnetic field by the angle between rotating shaft vector and the earth-magnetic field vector of setting gyroscope, that is obtain the direction in earth's magnetic field.
In implementing, using the direction in earth's magnetic field as reference direction, owing to the direction of the horizontal component in the whipping direction of mobile terminal can be obtained by 3-axis acceleration sensor detection, therefore the geographic direction of the horizontal component in the whipping direction of mobile terminal can be determined according to the direction of horizontal component in the whipping direction of mobile terminal and the direction in earth's magnetic field, thus knowing the true geographic direction that user walks.
Optionally, as shown in Figure 4, described mobile terminal also includes acquisition module 304 and matching module 305.
Acquisition module 304, for gathering the image information of described default swing of leg of described user, image information that described image information steps image information before including lifting lower limb image information, leg and foot lands;
Matching module 305 mates with the acceleration of described acquisition according to acquisition module 304 image information, lifts, with described, the acceleration that lower limb image information is corresponding to obtain;
Then described second acquisition module 301 specifically for:
When described first acquisition module 300 with described lift acceleration corresponding to lower limb image information reach threshold value when, obtain the horizontal component in the whipping direction of described mobile terminal.
In implementing, owing to user is in continuous walking, therefore 3-axis acceleration sensor can continuous acquisition to multiple data.Starting stage at detection user's direction of travel, in order to obtain the curve chart of the left lower limb of user, the action of user can be recorded a video, as gathered the image information of swing of leg when user walks, including such as Fig. 6 successively shown in right lower limb before step image information, right crus of diaphragm land image information, health steps image information before moving image information, left lower limb, left foot lands image information and the liftoff image information of left heel, then preserves these image informations.
In implementing, utilize the time gathered each image information to be mated with the acceleration information got, ultimately form the corresponding relation schematic diagram of data that 3-axis acceleration sensor as shown in Figure 6 gathers and image information.As shown in Figure 6, owing to time and the 3-axis acceleration sensor of user's walking gather the time consistency of data, the data collected with 3-axis acceleration sensor respectively when therefore user often makes an action are corresponding.After obtaining the corresponding relation schematic diagram shown in Fig. 6, it can be observed that 3-axis acceleration curve chart corresponding during left-leg movement, the acceleration that when stepping before thus obtaining left lower limb, 3-axis acceleration sensor detects.
As a kind of enforceable mode, after setting up data that 3-axis acceleration sensor gathers and the corresponding relation of image information, can using the corresponding relation the established reference as the acceleration stepped before the left lower limb of follow-up judgement.Therefore when rejudging the direction of user's walking, the data of 3-axis acceleration sensor collection and the corresponding relation of image information need not be re-established, the data that can be directly collected by 3-axis acceleration sensor contrast with the corresponding relation of image information with the data of 3-axis acceleration sensor collection previously set up, find out the cycle data of left-leg movement, the acceleration information stepped before finally obtaining left lower limb.
As a kind of enforceable mode, the cycle data of left-leg movement is determined in the vibrations that mobile terminal produces when alternately landing with right crus of diaphragm also by detection user's left foot.
In implementing, the threshold value that the present embodiment relates to can be the peak value of acceleration.Stepping in the stage before the left lower limb of user, be gradually increased along with left lower limb lifts its acceleration gradually, when the left lower limb of user is raised up to peak, its speed is zero, and acceleration now but reaches peak value, and the direction stepped before therefore can giving tacit consent to left lower limb is the direction that user walks.When walking based on user, trick alternates the feature of swing, and the amplitude of fluctuation of the left lower limb of user is consistent with the amplitude that right hand-held mobile terminal swings.It is illustrated in figure 7 the whipping direction of mobile terminalMoment owing to stepping before the left lower limb of user is identical with the moment of right hand handheld terminal swing arm, the whipping direction of the mobile terminal that the direction stepped before left lower limb and user hold is also identical, therefore when the acceleration judging that 3-axis acceleration sensor collects reaches peak value, by obtaining the whipping direction of mobile terminalHorizontal componentThe horizontal component in the direction stepped before can learning left lower limb.
As a kind of enforceable mode, the direction that whipping direction is the screen being perpendicular to described mobile terminal of described mobile terminal.As it is shown in fig. 7, the whipping direction of the mobile terminal held due to userIdentical with the direction stepped before left lower limb, therefore can obtain its horizontal component by the whipping direction of acquisition mobile terminal
Optionally, as it is shown in figure 5, described computing module 302 includes determining unit 3021 and computing unit 3022.
Determining unit 3021, the angle in direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field for pointing to the rotating shaft of described gyroscope according to the direction in described earth's magnetic field preset determines the direction of described disturbing magnetic field;
Computing unit 3022, the direction in earth's magnetic field described in the direction pointed to according to the rotating shaft of described gyroscope, the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the described direction calculating determining disturbing magnetic field that unit 3021 determines.
nullIn implementing,As shown in Figure 8,Point A is the position that mobile terminal is currently located,Owing to the gyroscope R direction pointed in the rotating shaft of an A is known,And have calculated that the magnetic induction of earth's magnetic field G and the magnetic field intensity of disturbing magnetic field vector I,Therefore with an A for the center of circle,With the induction level of earth's magnetic field G for radius,Set the rotating shaft R of earth's magnetic field G and the gyroscope angle between the A direction pointed to as θ,Angle theta is made to be iterated calculating (namely to the continuous value of angle theta between 0 ° to 360 °,In fig. 8 with angle theta ',Angle theta " and angle theta " ' for example),When angle is θ ',Judge earth's magnetic field G、Whether the rotating shaft R of gyroscope and disturbing magnetic field vector I meets parallelogram law,If meeting,Then determine the direction that direction is disturbing magnetic field of this disturbing magnetic field vector I,If being unsatisfactory for,Then angle theta is continued value,Such as angle theta " and angle theta " ',Earth's magnetic field G can be made until finding out、The rotating shaft R of gyroscope and disturbing magnetic field vector I meets the angle theta of parallelogram law.
Optionally, the direction that the rotating shaft of described gyroscope is pointed to is any one in first direction, second direction or third direction, then described determine that unit 3021 includes first and determines that subelement (not shown) determined by subelement (not shown) and second.
First determines subelement, and the angle of first direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field for pointing to the rotating shaft of described gyroscope according to the direction in described earth's magnetic field preset determines the first disturbing magnetic field vector.
First determines subelement, is additionally operable to determine the second disturbing magnetic field vector according to the angle of second direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the direction in described earth's magnetic field preset is pointed to the rotating shaft of described gyroscope.
First determines subelement, is additionally operable to determine the 3rd disturbing magnetic field vector according to the angle of third direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the direction in described earth's magnetic field preset is pointed to the rotating shaft of described gyroscope.
Second determines subelement, and if described threeth disturbing magnetic field vector vectorial for described first disturbing magnetic field the second disturbing magnetic field vectorial, described intersects at same position, it is determined that the direction of described position is the direction of described disturbing magnetic field.
In implementing, the direction that the rotating shaft of gyroscope is pointed to is first direction R1, second direction R2Or third direction R3In any one.Owing to user is in continuous walking, and the direction that the rotating shaft of the gyroscope R that often makes a move is pointed to all changes, if assuming, disturbing magnetic field is in changeless position, then need the rotating shaft R the gathering gyroscope direction at least three times pointed to, and obtain, according to above-mentioned calculation, the disturbing magnetic field vector that the rotating shaft R of the gyroscope direction pointed to is corresponding successively.The present embodiment, for the rotating shaft R the gathering gyroscope number of times in direction pointed to for three times, obtains the first disturbing magnetic field vector I1, the second disturbing magnetic field vector I2And the 3rd disturbing magnetic field vector I3
In implementing, if above three vector intersects at same position, then prove that this position is the position of disturbing magnetic field, it is thus determined that the direction of this position is the direction of disturbing magnetic field.It is illustrated in figure 9 the mobile terminal that the finally gives direction to disturbing magnetic field.
As a kind of enforceable mode, if above three vector intersects or non-intersect between two, then think this time by the data of geomagnetic sensor, gyroscope and 3-axis acceleration sensor collection, error occurs, reacquire the data that gyroscope gathers, be again calculated according to the method described above.
In implementing, after obtaining the direction of disturbing magnetic field, as it is shown in figure 9, according to parallelogram lawObtain the direction of earth's magnetic field G.
As shown in Figure 10, behind the direction obtaining earth's magnetic field G, according to horizontal componentAnd the angle α between the direction of earth's magnetic field G calculates horizontal componentGeographic direction, with this obtain user walking direction.
nullAdopt the embodiment of the present invention,The acceleration of the default swing of leg of user can be obtained,When the acceleration obtained reaches threshold value,Obtain the horizontal component in the whipping direction of the held mobile terminal of described user,Obtain the magnetic induction in earth's magnetic field、The direction that in the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to,Magnetic induction according to described earth's magnetic field、The direction iterative computation that the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to is to obtain the direction of disturbing magnetic field,Determine the direction in described earth's magnetic field again,The direction in the earth's magnetic field according to described calculating and described horizontal component determine the geographic direction of described horizontal component,The direction that earth magnetism is actual can be obtained by the interference in exclusive PCR magnetic field,Further according to the direction that the direction calculating user that the horizontal component in the whipping direction of mobile terminal is actual with earth magnetism walks,Thus compass and improve the accuracy rate of the geographic direction judging that user walks in calibration chamber.
Device embodiment described above is merely schematic, the wherein said unit illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Module or unit in embodiment of the present invention device can merge according to actual needs, divide and delete.
The module of the embodiment of the present invention or module, it is possible to universal integrated circuit (such as central processor CPU), or realize with special IC (ASIC).
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to each embodiment and realize, naturally it is also possible to pass through hardware.Based on such understanding, the part that prior art is contributed by technique scheme substantially in other words can embody with the form of software product, this computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment or embodiment.
Embodiments described above, is not intended that the restriction to this technical scheme protection domain.The amendment made within any spirit at above-mentioned embodiment and principle, equivalent replacement and improvement etc., should be included within the protection domain of this technical scheme.

Claims (10)

1. the method judging indoor moving direction, it is characterised in that including:
Obtain the acceleration of the default swing of leg of user;
When the acceleration obtained reaches threshold value, obtain the horizontal component in the whipping direction of the held mobile terminal of described user;
Obtain the direction that in the magnetic induction in earth's magnetic field, the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to, the direction in earth's magnetic field according to the direction calculating that the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to;
The direction in the earth's magnetic field according to calculating and described horizontal component determine the geographic direction of described horizontal component.
2. method according to claim 1, it is characterised in that before the horizontal component in the whipping direction of the mobile terminal that the described user of described acquisition is held, described method also includes:
Gather the image information of the described default swing of leg of described user, image information that described image information steps image information before including lifting lower limb image information, leg and foot lands;
Image information according to gathering is mated with the acceleration of described acquisition, lifts, with described, the acceleration that lower limb image information is corresponding to obtain;
Then described when the acceleration obtained reaches threshold value, obtain the whipping direction of current mobile terminal, specifically include:
When obtain with described lift acceleration corresponding to lower limb image information reach threshold value, obtain the horizontal component in the whipping direction of described mobile terminal.
3. method according to claim 1, it is characterised in that the direction in earth's magnetic field described in the direction calculating that the described magnetic induction according to described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to, specifically includes:
The angle in direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft of the direction according to default described earth's magnetic field and described gyroscope is pointed to determines the direction of described disturbing magnetic field;
The direction in earth's magnetic field described in direction, the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the direction calculating of described disturbing magnetic field that rotating shaft according to described gyroscope is pointed to.
4. method according to claim 3, it is characterized in that, the direction that the rotating shaft of described gyroscope is pointed to is any one in first direction, second direction or third direction, the angle in direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field then pointed to the rotating shaft of described gyroscope according to the direction in described earth's magnetic field preset determines the direction of described disturbing magnetic field, specifically includes:
The angle of first direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft of the direction according to default described earth's magnetic field and described gyroscope is pointed to determines the first disturbing magnetic field vector;
The angle of second direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft of the direction according to default described earth's magnetic field and described gyroscope is pointed to determines the second disturbing magnetic field vector;
The angle of third direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the rotating shaft of the direction according to default described earth's magnetic field and described gyroscope is pointed to determines the 3rd disturbing magnetic field vector;
If described first disturbing magnetic field the second disturbing magnetic field vectorial, described is vectorial and described 3rd disturbing magnetic field vector intersects at same position, it is determined that the direction of described position is the direction of described disturbing magnetic field.
5. the method according to any one of claim 1 or 2, it is characterised in that the direction that whipping direction is the screen being perpendicular to described mobile terminal of described mobile terminal.
6. the mobile terminal judging indoor moving direction, it is characterised in that including:
First acquisition module, for obtaining the acceleration of the default swing of leg of user;
Second acquisition module, the acceleration for obtaining at described first acquisition module reaches threshold value, obtains the horizontal component in the whipping direction of the held mobile terminal of described user;
Computing module, for obtaining the direction that in the magnetic induction in earth's magnetic field, the magnetic induction of disturbing magnetic field and described mobile terminal, the rotating shaft of gyroscope is pointed to, the direction in earth's magnetic field according to the direction calculating that the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the rotating shaft of described gyroscope are pointed to;
Determine module, determine the geographic direction of described horizontal component for the direction in earth's magnetic field calculated according to described computing module and the horizontal component of described second acquisition module acquisition.
7. mobile terminal according to claim 6, it is characterised in that described mobile terminal also includes:
Acquisition module, for gathering the image information of described default swing of leg of described user, image information that described image information steps image information before including lifting lower limb image information, leg and foot lands;
Matching module, for mating with the acceleration of described acquisition according to the image information of acquisition module collection, lifts, with described, the acceleration that lower limb image information is corresponding to obtain;
Then described second acquisition module specifically for:
When described first acquisition module obtain with described lift acceleration corresponding to lower limb image information reach threshold value when, obtain the horizontal component in the whipping direction of described mobile terminal.
8. mobile terminal according to claim 6, it is characterised in that described computing module includes:
Determining unit, the angle in direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field for pointing to the rotating shaft of described gyroscope according to the direction in described earth's magnetic field preset determines the direction of described disturbing magnetic field;
Computing unit, the direction in earth's magnetic field described in the direction pointed to according to the rotating shaft of described gyroscope, the magnetic induction in described earth's magnetic field, the magnetic induction of described disturbing magnetic field and the described direction calculating determining disturbing magnetic field that unit determines.
9. mobile terminal according to claim 8, it is characterised in that the direction that the rotating shaft of described gyroscope is pointed to is any one in first direction, second direction or third direction, then described determine that unit includes:
First determines subelement, and the angle of first direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field for pointing to the rotating shaft of described gyroscope according to the direction in described earth's magnetic field preset determines the first disturbing magnetic field vector;
First determines subelement, is additionally operable to determine the second disturbing magnetic field vector according to the angle of second direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the direction in described earth's magnetic field preset is pointed to the rotating shaft of described gyroscope;
First determines subelement, is additionally operable to determine the 3rd disturbing magnetic field vector according to the angle of third direction, the magnetic induction in described earth's magnetic field and the magnetic induction of described disturbing magnetic field that the direction in described earth's magnetic field preset is pointed to the rotating shaft of described gyroscope;
Second determines subelement, and if described threeth disturbing magnetic field vector vectorial for described first disturbing magnetic field the second disturbing magnetic field vectorial, described intersects at same position, it is determined that the direction of described position is the direction of described disturbing magnetic field.
10. the mobile terminal according to any one of claim 6 or 7, it is characterised in that the direction that whipping direction is the screen being perpendicular to described mobile terminal of described mobile terminal.
CN201410854040.2A 2014-12-31 2014-12-31 A kind of method and mobile terminal judging indoor moving direction Active CN105806333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410854040.2A CN105806333B (en) 2014-12-31 2014-12-31 A kind of method and mobile terminal judging indoor moving direction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410854040.2A CN105806333B (en) 2014-12-31 2014-12-31 A kind of method and mobile terminal judging indoor moving direction

Publications (2)

Publication Number Publication Date
CN105806333A true CN105806333A (en) 2016-07-27
CN105806333B CN105806333B (en) 2019-04-05

Family

ID=56464887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410854040.2A Active CN105806333B (en) 2014-12-31 2014-12-31 A kind of method and mobile terminal judging indoor moving direction

Country Status (1)

Country Link
CN (1) CN105806333B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107576321A (en) * 2017-08-30 2018-01-12 北京小米移动软件有限公司 Determine the method, device and mobile terminal of magnetic azimuth
CN108801267A (en) * 2018-06-22 2018-11-13 西安电子科技大学 It is a kind of to merge the indoor without anchor point localization method of multisensor
CN109556603A (en) * 2018-11-19 2019-04-02 惠州Tcl移动通信有限公司 The determination method of starting direction when mobile terminal and its navigation
CN111750895A (en) * 2019-07-31 2020-10-09 广东小天才科技有限公司 Wearable device and motion direction detection method based on wearable device
CN113325455A (en) * 2017-10-31 2021-08-31 亚玛芬体育数字服务公司 Method and system for tracking and determining indoor position of object
WO2022191471A1 (en) * 2021-03-10 2022-09-15 삼성전자 주식회사 Electronic device for identifying moving direction of electronic device, and operating method for electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56120912A (en) * 1980-02-29 1981-09-22 Yokogawa Hokushin Electric Corp Device for datum of direction
US20030191582A1 (en) * 2002-04-08 2003-10-09 Casio Computer Co., Ltd. Moving direction detection method, moving direction detection apparatus, and program code
CN1651862A (en) * 2003-11-08 2005-08-10 三星电子株式会社 Motion estimation method and system for mobile body
JP2008304319A (en) * 2007-06-07 2008-12-18 Sharp Corp Portable terminal apparatus
CN101867868A (en) * 2010-03-26 2010-10-20 东南大学 Combined navigation unit and implementing method thereof
KR20110025025A (en) * 2009-09-02 2011-03-09 동국대학교 산학협력단 Method and apparatus for estimation of current position using magnetic field sensor
JP2011163861A (en) * 2010-02-08 2011-08-25 Kddi Corp Portable terminal for determining travel direction of walker using geomagnetic sensor and acceleration sensor, program and method
CN102252676A (en) * 2011-05-06 2011-11-23 微迈森惯性技术开发(北京)有限公司 Method and related equipment for acquiring movement attitude data and tracking human movement attitude
CN103968827A (en) * 2014-04-09 2014-08-06 北京信息科技大学 Wearable human body gait detection self-localization method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56120912A (en) * 1980-02-29 1981-09-22 Yokogawa Hokushin Electric Corp Device for datum of direction
US20030191582A1 (en) * 2002-04-08 2003-10-09 Casio Computer Co., Ltd. Moving direction detection method, moving direction detection apparatus, and program code
CN1651862A (en) * 2003-11-08 2005-08-10 三星电子株式会社 Motion estimation method and system for mobile body
JP2008304319A (en) * 2007-06-07 2008-12-18 Sharp Corp Portable terminal apparatus
KR20110025025A (en) * 2009-09-02 2011-03-09 동국대학교 산학협력단 Method and apparatus for estimation of current position using magnetic field sensor
JP2011163861A (en) * 2010-02-08 2011-08-25 Kddi Corp Portable terminal for determining travel direction of walker using geomagnetic sensor and acceleration sensor, program and method
CN101867868A (en) * 2010-03-26 2010-10-20 东南大学 Combined navigation unit and implementing method thereof
CN102252676A (en) * 2011-05-06 2011-11-23 微迈森惯性技术开发(北京)有限公司 Method and related equipment for acquiring movement attitude data and tracking human movement attitude
CN103968827A (en) * 2014-04-09 2014-08-06 北京信息科技大学 Wearable human body gait detection self-localization method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107576321A (en) * 2017-08-30 2018-01-12 北京小米移动软件有限公司 Determine the method, device and mobile terminal of magnetic azimuth
CN113325455A (en) * 2017-10-31 2021-08-31 亚玛芬体育数字服务公司 Method and system for tracking and determining indoor position of object
CN113325455B (en) * 2017-10-31 2024-03-12 松拓公司 Method and system for tracking and determining indoor position of object
CN108801267A (en) * 2018-06-22 2018-11-13 西安电子科技大学 It is a kind of to merge the indoor without anchor point localization method of multisensor
CN108801267B (en) * 2018-06-22 2020-09-15 西安电子科技大学 Indoor anchor-free positioning method integrating multiple sensors
CN109556603A (en) * 2018-11-19 2019-04-02 惠州Tcl移动通信有限公司 The determination method of starting direction when mobile terminal and its navigation
CN111750895A (en) * 2019-07-31 2020-10-09 广东小天才科技有限公司 Wearable device and motion direction detection method based on wearable device
CN111750895B (en) * 2019-07-31 2023-02-28 广东小天才科技有限公司 Wearable device and motion direction detection method based on wearable device
WO2022191471A1 (en) * 2021-03-10 2022-09-15 삼성전자 주식회사 Electronic device for identifying moving direction of electronic device, and operating method for electronic device

Also Published As

Publication number Publication date
CN105806333B (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN105806333A (en) Method for judging indoor moving direction and mobile terminal
Pei et al. Optimal heading estimation based multidimensional particle filter for pedestrian indoor positioning
FI124665B (en) Creation of a magnetic field map for indoor positioning
Kang et al. Improved heading estimation for smartphone-based indoor positioning systems
US10397739B2 (en) Supporting the creation of a radio map
TWI490497B (en) Inertial device, method, and storage medium
CN105761242B (en) Blind person walking positioning method based on computer binocular vision and inertial measurement
EP2836791B1 (en) Information determination in a portable electronic device carried by a user
US20140088867A1 (en) Travel orientation calculation apparatus, travel orientation calculation method, travel orientation calculation program, and navigation apparatus
CN105091878B (en) A kind of localization method and device based on gait
US9554253B2 (en) Locating method, drive test terminal and hand-held terminal
EP1611463A1 (en) Buried line locator with integral position sensing
US8565528B2 (en) Magnetic deviation determination using mobile devices
CN105102928A (en) Inertial device, method, and program
CN106461753A (en) Location transition determination
CN106840163A (en) A kind of indoor orientation method and system
CN104977003A (en) Indoor people search method, cloud server, and system based on shared track
CN106705959A (en) Method and device for detecting course of mobile terminal
KR20150129285A (en) Information determination in a portable electronic device carried by a user
CN108413957A (en) The method for carrying out pedestrian's course estimation under multiple carrying mode using mobile terminal
CN104807462B (en) Indoor earth-magnetism navigation benchmark drawing generating method and system
CN104618458B (en) A kind of indoor orientation method and system using improvement signal fingerprint collecting method
US8929658B2 (en) Providing magnetic deviation to mobile devices
Liu et al. Eyeloc: Smartphone vision-enabled plug-n-play indoor localization in large shopping malls
KR101831891B1 (en) Apparatus and method for position calculation, and computer program for executing the method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160727

Assignee: Shenzhen city wall Creative Technology Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980040491

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20230824

Application publication date: 20160727

Assignee: Shenzhen Mingji Agricultural Development Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980040490

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20230824

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20160727

Assignee: Shenzhen Zhikong Yunhai Technology Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980043398

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20231013

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

Application publication date: 20160727

Assignee: Shenzhen Wenchuang Intellectual Property Service Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980044069

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20231024

Application publication date: 20160727

Assignee: Jiajingjie Environmental Technology Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980044068

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20231024

Application publication date: 20160727

Assignee: SHENZHEN ZHONGZHI INVESTMENT CO.,LTD.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980044067

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20231024

Application publication date: 20160727

Assignee: Shenzhen Wufeng Lihong Trading Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980044081

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20231024

Application publication date: 20160727

Assignee: Shenzhen Ruofei Culture Communication Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980044080

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20231024

Application publication date: 20160727

Assignee: Shenzhen shengxin'an information consulting enterprise

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980044079

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20231024

Application publication date: 20160727

Assignee: Shenzhen Zhijun Industrial Investment Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980044078

Denomination of invention: A Method for Judging the Direction of Indoor Movement and Mobile Terminals

Granted publication date: 20190405

License type: Common License

Record date: 20231024

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

Application publication date: 20160727

Assignee: Shenzhen Mengchuang Culture Development Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980049247

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231130

Application publication date: 20160727

Assignee: Shenzhen Jinshiwan Technology Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980049245

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231130

Application publication date: 20160727

Assignee: Chuangke Zhinong (Shenzhen) Industrial Development Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980049240

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231130

Application publication date: 20160727

Assignee: Chuangke Port (Shenzhen) Science and Technology Innovation Center

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980049236

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231130

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

Application publication date: 20160727

Assignee: Jingyun Grapefruit Technology (Shenzhen) Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051450

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231211

Application publication date: 20160727

Assignee: Shenzhen Dongfang Huilian Technology Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051448

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231211

Application publication date: 20160727

Assignee: Shenzhen Xunming Trading Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051409

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231211

Application publication date: 20160727

Assignee: Shenzhen Nanshan District Qiangfenfu Hotel

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051406

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231211

Application publication date: 20160727

Assignee: Shenzhen Minghua Trading Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051405

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231211

Application publication date: 20160727

Assignee: Shenzhen Yingqi Consulting Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051402

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231211

Application publication date: 20160727

Assignee: Shenzhen Haocai Digital Technology Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051250

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231212

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

Application publication date: 20160727

Assignee: Shenzhen lianzhiyouwu Intelligent Technology Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980052063

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231213

Application publication date: 20160727

Assignee: Jianyangkai Advertising Department, Nanshan District, Shenzhen

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051397

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231212

Application publication date: 20160727

Assignee: Shenzhen Weilan Sports Culture Development Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051394

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231212

Application publication date: 20160727

Assignee: Shenzhen Weigao Investment Development Co.,Ltd.

Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES

Contract record no.: X2023980051257

Denomination of invention: A Method for Judging Indoor Movement Direction and Mobile Terminal

Granted publication date: 20190405

License type: Common License

Record date: 20231212