CN105806333B - A kind of method and mobile terminal judging indoor moving direction - Google Patents

A kind of method and mobile terminal judging indoor moving direction Download PDF

Info

Publication number
CN105806333B
CN105806333B CN201410854040.2A CN201410854040A CN105806333B CN 105806333 B CN105806333 B CN 105806333B CN 201410854040 A CN201410854040 A CN 201410854040A CN 105806333 B CN105806333 B CN 105806333B
Authority
CN
China
Prior art keywords
magnetic field
earth
induction intensity
mobile terminal
interference
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
CN201410854040.2A
Other languages
Chinese (zh)
Other versions
CN105806333A (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

Landscapes

  • Navigation (AREA)

Abstract

The present invention provides a kind of methods for judging indoor moving direction, comprising: obtains the acceleration of the default swing of leg of user;In the case where the acceleration of acquisition reaches threshold value, the horizontal component in the whipping direction for the mobile terminal that the user is held is obtained;The direction that the magnetic induction intensity for obtaining earth's magnetic field, the shaft for interfering gyroscope in the magnetic induction intensity and the mobile terminal in magnetic field are directed toward, according to the direction in earth's magnetic field described in the direction calculating of the shaft direction of the magnetic induction intensity in the earth's magnetic field, the magnetic induction intensity in the interference magnetic field and the gyroscope;The geographic direction of the horizontal component is determined according to the direction in the earth's magnetic field of calculating and the horizontal component.The invention also discloses the mobile terminals for judging indoor moving direction.Using the present invention, compass and raising judge the accuracy rate of the geographic direction of user's walking in adjustable room.

Description

A kind of method and mobile terminal judging indoor moving direction
Technical field
The present invention relates to field of communication technology more particularly to a kind of methods and mobile terminal for judging indoor moving direction.
Background technique
Global positioning system is the technology to be pointed the direction outdoors for user, but when positioning indoors, due to one The presence that a little object such as houses etc. are not easy the barrier penetrated can shield satellite-signal completely, therefore global positioning system can not be Indoor accurate navigation, can not judge the geographic direction that user walks indoors, this also illustrates, indoors for judgement user The technology of direction of travel still compares shortage.The image information that the first prior art is walked indoors by acquiring user, then It is analyzed to obtain the posture of user's walking according to the image of acquisition, to judge the direction of user's walking.However the above method It requires to resurvey the image that user walks every time, higher cost, treatment process is relative complex, can not accurate judgement use The geographic direction that family is walked indoors.Second of prior art is collected pre- with the 3-axis acceleration sensor of mobile terminal Direction of travel of the set direction as user, but since 3-axis acceleration sensor can not judge geographic direction, it will lead to three The collected horizontal direction of axle acceleration sensor and the practical geographic direction walked of user are inconsistent, increase navigation direction error Greatly, the case where or even will appear navigational error.
Summary of the invention
The present invention provides a kind of method and mobile terminal for judging indoor moving direction, compass and mentions in adjustable room Height judges the accuracy rate of the geographic direction of user's walking.
First aspect present invention provides a kind of method for judging indoor moving direction, comprising:
Obtain the acceleration of the default swing of leg of user;
In the case where the acceleration of acquisition reaches threshold value, the whipping direction for the mobile terminal that the user is held is obtained Horizontal component;
It obtains the magnetic induction intensity in earth's magnetic field, interfere gyroscope in the magnetic induction intensity and the mobile terminal in magnetic field The direction that shaft is directed toward, according to the magnetic induction intensity in the earth's magnetic field, the magnetic induction intensity and the top in the interference magnetic field The direction in earth's magnetic field described in the direction calculating that the shaft of spiral shell instrument is directed toward;
The geographic direction of the horizontal component is determined according to the direction in the earth's magnetic field of calculating and the horizontal component.
In conjunction with the implementation of first aspect present invention, in the first possible implementation of first aspect present invention In, before the horizontal component in the whipping direction for obtaining the mobile terminal that the user is held, the method also includes:
The image information of the default swing of leg of the user is acquired, described image information includes lift leg image letter Breath steps image information before leg and foot lands image information;
It is matched according to the image information of acquisition with the acceleration of the acquisition, to obtain and the lift leg image information Corresponding acceleration;
It is then described in the case where the acceleration of acquisition reaches threshold value, the whipping direction of current mobile terminal is obtained, specifically Include:
In the case where the acceleration corresponding with the lift leg image information of acquisition reaches threshold value, obtain described mobile whole The horizontal component in the whipping direction at end.
In conjunction with the implementation of first aspect present invention, in second of possible implementation of first aspect present invention In, the magnetic induction intensity, the magnetic induction intensity in the interference magnetic field and turning for the gyroscope according to the earth's magnetic field The direction in earth's magnetic field described in the direction calculating that axis is directed toward, specifically includes:
According to angle, the earth magnetism in the direction that the shaft of the direction in the preset earth's magnetic field and the gyroscope is directed toward The magnetic induction intensity of field and the magnetic induction intensity in the interference magnetic field determine the direction in the interference magnetic field;
If the direction in calculated interference magnetic field is equal to the magnetic induction intensity in the interference magnetic field, according to described preset Angle obtains interference magnetic field vector, and the direction in the interference magnetic field is determined according to the interference magnetic field vector;
The magnetic induction intensity in the direction, the earth's magnetic field be directed toward according to the shaft of the gyroscope, the interference magnetic field The direction in earth's magnetic field described in the direction calculating in magnetic induction intensity and the interference magnetic field.
In conjunction with second of possible implementation of first aspect present invention, the third in first aspect present invention may Implementation in, the direction that the shaft of the gyroscope is directed toward is any in first direction, second direction or third direction Kind, then the angle in the direction being directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope, the earth's magnetic field Magnetic induction intensity and it is described interference magnetic field magnetic induction intensity determine it is described interference magnetic field direction, specifically include:
It is the angle for the first direction being directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope, described The magnetic induction intensity in earth's magnetic field and the magnetic induction intensity in the interference magnetic field determine the first interference magnetic field vector;
It is the angle for the second direction being directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope, described The magnetic induction intensity in earth's magnetic field and the magnetic induction intensity in the interference magnetic field determine the second interference magnetic field vector;
It is the angle for the third direction being directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope, described The magnetic induction intensity in earth's magnetic field and the magnetic induction intensity in the interference magnetic field determine that third interferes magnetic field vector;
If the first interference magnetic field vector, the second interference magnetic field vector and the third interfere magnetic field vector phase Meet at same position, it is determined that the direction of the position is the direction in the interference magnetic field.
In conjunction with any possible implementation in second of first aspect present invention or first aspect, in the present invention In 4th kind of possible implementation of first aspect, the whipping direction of the mobile terminal is perpendicular to the mobile terminal The direction of screen.
First aspect present invention provides a kind of mobile terminal for judging indoor moving direction, comprising:
First obtains module, the acceleration of the default swing of leg for obtaining user;
Second obtains module, in the case that the acceleration for obtaining in the first acquisition module reaches threshold value, obtains The horizontal component in the whipping direction for the mobile terminal that the user is held;
Computing module, for obtaining magnetic induction intensity, the magnetic induction intensity for interfering magnetic field and the movement in earth's magnetic field The direction that the shaft of gyroscope is directed toward in terminal, according to the magnetic induction intensity in the earth's magnetic field, the magnetic induction in the interference magnetic field The direction in earth's magnetic field described in the direction calculating that intensity and the shaft of the gyroscope are directed toward;
Determining module, the direction in the earth's magnetic field for being calculated according to the computing module and the second acquisition module obtain The horizontal component taken determines the geographic direction of the horizontal component.
In conjunction with the implementation of second aspect of the present invention, in the first possible implementation of second aspect of the present invention In, the mobile terminal further include:
Acquisition module, the image information of the default swing of leg for acquiring the user, described image packet It includes lift leg image information, step image information before leg and foot lands image information;
Matching module, the image information for being acquired according to acquisition module are matched with the acceleration of the acquisition, with Obtain acceleration corresponding with the lift leg image information;
Then the second acquisition module is specifically used for:
When it is described first acquisition module obtain acceleration corresponding with the lift leg image information reach threshold value the case where Under, obtain the horizontal component in the whipping direction of the mobile terminal.
In conjunction with the implementation of second aspect of the present invention, in second of possible implementation of second aspect of the present invention In, the computing module includes:
Determination unit, the direction being directed toward for the shaft according to the direction in the preset earth's magnetic field and the gyroscope The magnetic induction intensity of angle, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines the side in the interference magnetic field To;
Computing unit, the magnetic induction intensity in direction, the earth's magnetic field for being directed toward according to the shaft of the gyroscope, institute The side in earth's magnetic field described in the direction calculating in the interference magnetic field that the magnetic induction intensity and the determination unit for stating interference magnetic field determine To.
In conjunction with second of possible implementation of second aspect of the present invention, the third in second aspect of the present invention may Implementation in, the direction that the shaft of the gyroscope is directed toward is any in first direction, second direction or third direction Kind, then the determination unit includes:
First determines subelement, for what is be directed toward according to the direction in the preset earth's magnetic field and the shaft of the gyroscope The magnetic induction intensity of the angle of first direction, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines the first interference Magnetic field vector;
First determines subelement, is also used to be directed toward according to the direction in the preset earth's magnetic field and the shaft of the gyroscope The angle of second direction, the magnetic induction intensity in the earth's magnetic field and it is described interference magnetic field magnetic induction intensity determine that second is dry Disturb magnetic field vector;
First determines subelement, is also used to be directed toward according to the direction in the preset earth's magnetic field and the shaft of the gyroscope The angle of third direction, the magnetic induction intensity in the earth's magnetic field and the magnetic induction intensity in the interference magnetic field determine that third is dry Disturb magnetic field vector;
Second determines subelement, if for the first interference magnetic field vector, the second interference magnetic field vector and institute It states third interference magnetic field vector and intersects at same position, it is determined that the direction of the position is the direction in the interference magnetic field.
In conjunction with any possible implementation in second of second aspect of the present invention or first aspect, in the present invention In 4th kind of possible implementation of second aspect, the whipping direction of the mobile terminal is perpendicular to the mobile terminal The direction of screen.
Using the present invention, the acceleration of the default swing of leg of user can be obtained, reaches threshold value in the acceleration of acquisition In the case of, the horizontal component in the whipping direction for the mobile terminal that the user is held is obtained, the magnetic induction for obtaining earth's magnetic field is strong Degree, the direction for interfering the shaft of gyroscope in the magnetic induction intensity and the mobile terminal in magnetic field to be directed toward, according to the earth magnetism Described in the direction calculating that the shaft of the magnetic induction intensity of field, the magnetic induction intensity in the interference magnetic field and the gyroscope is directed toward The direction in earth's magnetic field determines the geography of the horizontal component according to the direction in the earth's magnetic field of the calculating and the horizontal component Direction can obtain the actual direction of earth magnetism, further according to the water in the whipping direction of mobile terminal by the interference in exclusive PCR magnetic field The direction of the amount of dividing equally and the actual direction calculating user walking of earth magnetism, so that compass and raising judge user's row in calibration chamber The accuracy rate for the geographic direction walked.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of an embodiment of the method in judgement indoor moving direction of the embodiment of the present invention;
Fig. 2 is a kind of process signal of another embodiment of the method in judgement indoor moving direction of the embodiment of the present invention Figure;
Fig. 3 is a kind of structural schematic diagram of the mobile terminal in judgement indoor moving direction of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram that the another kind of the embodiment of the present invention judges the mobile terminal in indoor moving direction;
Fig. 5 is a kind of structural representation of the computing module of the mobile terminal in judgement indoor moving direction of the embodiment of the present invention Figure;
Fig. 6 is the schematic diagram data of the 3-axis acceleration sensor acquisition 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 in the calculating interference magnetic field of the embodiment of the present invention;
Fig. 9 is the direction of the shaft direction of the gyroscope R of the embodiment of the present invention, the direction and earth's magnetic field for interfering magnetic field Direction schematic diagram;
Figure 10 is the geographic direction of the horizontal component of the embodiment of the present invention, interferes the direction in magnetic field and the direction in earth's magnetic field Schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Using the embodiment of the present invention, compass and raising judge the accurate of the geographic direction of user's walking in adjustable room Rate.
Referring to Fig. 1, Fig. 1 is a kind of stream of an embodiment of the method in judgement indoor moving direction of the embodiment of the present invention Journey schematic diagram.The present embodiment can acquire the acceleration of the default swing of leg of user by 3-axis acceleration sensor, in addition, also Acceleration and form when can acquire the left leg or left-leg movement of user, the present embodiment is then to acquire the left-leg movement of user Acceleration and form be illustrated.The magnetic induction that the present embodiment can also detect interference magnetic field by electromagnetic sensor is strong Degree.Above-mentioned 3-axis acceleration sensor, electromagnetic sensor and gyroscope can integrate in the terminal, can also be separately provided Outside mobile terminal.In addition, mobile terminal can be any movement or portable electronic device, including but not limited to mobile phone, The electronic equipments such as removable computer, tablet computer, personal digital assistant, media player.
As shown in Figure 1, an a kind of embodiment of the method in judgement indoor moving direction of the embodiment of the present invention may include Following steps.
S100 obtains the acceleration of the default swing of leg of user.
In the specific implementation, working as user when walking, mobile terminal can detect movement (such as left leg lift of user's left-leg movement Rise, step before left leg, the movement such as body is mobile and right crus of diaphragm lands), the left-leg movement phase is collected and recorded according to prefixed time interval Between at the time of the acceleration that changes.
As a kind of enforceable mode, the hand-holdable mobile terminal of user is detected.
S101 obtains getting rid of for the mobile terminal that the user is held in the case where the acceleration of acquisition reaches threshold value The horizontal component in dynamic direction.
In the specific implementation, the threshold value that the present embodiment is related to can be the peak value of acceleration.It is stepped in the stage before the left leg of user, It is gradually increased as left leg gradually lifts its acceleration, when the left leg of user is raised up to highest point, its speed is zero, but at this time Acceleration but reach peak value, the direction that the direction stepped before left leg is user's walking can be defaulted at this time.Hand when based on user's walking Foot coordinates the characteristics of alternatively swinging, and the amplitude of fluctuation of the left leg of user is consistent with the amplitude that right hand-held mobile terminal is swung.Therefore Shifting identical at the time of at the time of being stepped before the left leg of user with right hand handheld terminal swing arm, that the direction and user stepped before left leg is held The whipping direction of dynamic terminal is also identical.Therefore when judging that the collected acceleration of 3-axis acceleration sensor reaches peak value, this When by obtaining the horizontal component in the whipping direction of mobile terminal obtain the horizontal component in the direction stepped before left leg.
As a kind of enforceable mode, the whipping direction of the mobile terminal is the screen perpendicular to the mobile terminal Direction.
S102 obtains the magnetic induction intensity in earth's magnetic field, interferes top in the magnetic induction intensity and the mobile terminal in magnetic field The direction that the shaft of spiral shell instrument is directed toward, according to the magnetic induction intensity in the earth's magnetic field, the interference magnetic field magnetic induction intensity and The direction in earth's magnetic field described in the direction calculating that the shaft of the gyroscope is directed toward.
In the specific implementation, mobile terminal can detect the magnetic induction intensity in interference magnetic field by electromagnetic sensor, it can be according to shifting The geographical location that dynamic terminal is currently located obtains the magnetic induction intensity in corresponding earth's magnetic field, and obtains the shaft direction of gyroscope Direction.At outdoor, the shaft of gyroscope can accurately be directed toward North and South direction, and the direction being directed toward is the direction in earth's magnetic field, But interference when indoors due to the magnetic field of some electric appliances is easy to cause the direction of the shaft of gyroscope deviation occur, leads to gyro Deviate in the direction in direction and earth's magnetic field that the shaft of instrument is actually pointed to, it is therefore desirable to by calculating the actual direction in earth's magnetic field Obtain the geographic direction of the horizontal component in the whipping direction of mobile terminal.
As a kind of enforceable mode, the magnetic induction intensity in the direction, earth's magnetic field be directed toward due to the shaft of gyroscope with And the magnetic induction intensity in interference magnetic field is it is known that if between the shaft vector of gyroscope, earth-magnetic field vector and interference magnetic field vector Meet parallelogram law, then can determine interference by the angle between the shaft vector and earth-magnetic field vector of setting gyroscope The direction in magnetic field, that is, obtain the direction in earth's magnetic field.
S103 determines the geography side of the horizontal component according to the direction in the earth's magnetic field of calculating and the horizontal component To.
In the specific implementation, using the direction in earth's magnetic field as reference direction, due to the level point in the whipping direction of mobile terminal The direction of amount can be detected to obtain by 3-axis acceleration sensor, therefore can be according to the horizontal component in the whipping direction of mobile terminal The direction in direction and earth's magnetic field determines the geographic direction of the horizontal component in the whipping direction of mobile terminal, to know that user walks True geographic direction.
Using the embodiment of the present invention, the acceleration of the default swing of leg of user can be obtained, is reached in the acceleration of acquisition In the case where threshold value, the horizontal component in the whipping direction for the mobile terminal that the user is held is obtained, the magnetic in earth's magnetic field is obtained Induction, the direction for interfering the shaft of gyroscope in the magnetic induction intensity and the mobile terminal in magnetic field to be directed toward, according to institute State the telegoniometer that the magnetic induction intensity, the magnetic induction intensity in the interference magnetic field and the shaft of the gyroscope in earth's magnetic field are directed toward The direction for calculating the earth's magnetic field determines the horizontal component according to the direction in the earth's magnetic field of the calculating and the horizontal component Geographic direction, the actual direction of earth magnetism can be obtained by the interference in exclusive PCR magnetic field, further according to the whipping side of mobile terminal To the direction walked of horizontal component and the actual direction calculating user of earth magnetism, to compass and improve judgement in calibration chamber The accuracy rate of the geographic direction of user's walking.
Referring to Fig. 2, Fig. 2 is a kind of another embodiment of the method in judgement indoor moving direction of the embodiment of the present invention Flow diagram.
As shown in Fig. 2, a kind of another embodiment of the method in judgement indoor moving direction of the embodiment of the present invention can wrap Include following steps.
S200 obtains the acceleration of the default swing of leg of user.
In the specific implementation, as shown in fig. 6, the 3-axis acceleration curve graph limited in black box is used as acquisition in a cycle The acceleration of the left leg at family, (such as left leg is lifted, is stepped before left leg, body is mobile and left foot for the movement of corresponding user's left-leg movement The movement such as land), collect and record left-leg movement according to prefixed time interval during at the time of three reference directions changing on Acceleration, obtain such as the 3-axis acceleration curve graph in Fig. 6 in black box.
S201, acquires the image information of the default swing of leg of the user, and described image information includes lift leg figure It lands image information as stepping image information and foot before information, leg.
In the specific implementation, since user is constantly walking, 3-axis acceleration sensor meeting continuous acquisition to multiple numbers According to.The movement of user can be recorded in the initial stage of detection user's direction of travel in order to obtain the curve graph of the left leg of user Picture such as acquires the image information of swing of leg when user's walking, including as Fig. 6 successively shown in step image before right leg and believe Breath, right crus of diaphragm land and step image information before image information, body mobile image information, left leg, left foot lands image information and a left side Image information that heel is liftoff, then saves these image informations.
S202 is matched according to the image information of acquisition with the acceleration of the acquisition, to obtain and the lift leg figure As the corresponding acceleration of information.
In the specific implementation, the time using acquisition matches each image information with the acceleration information got, Ultimately form the data of 3-axis acceleration sensor acquisition as shown in FIG. 6 and the correspondence diagram of image information.Such as Fig. 6 Shown, due to the time of user's walking and the time consistency of 3-axis acceleration sensor acquisition data, user often makes one It is corresponding with the collected data of 3-axis acceleration sensor respectively when a movement.Obtaining correspondence diagram shown in fig. 6 Later, it can be observed that when left-leg movement corresponding 3-axis acceleration curve graph, 3-axis acceleration when stepping before left leg is thus obtained The acceleration that sensor detects.
It is corresponding with image information in the data for establishing 3-axis acceleration sensor acquisition as a kind of enforceable mode It, can be using established corresponding relationship as the reference of the acceleration stepped before the subsequent left leg of judgement after relationship.Therefore ought sentence again When the direction of disconnected user's walking, the data pass corresponding with image information for re-establishing 3-axis acceleration sensor acquisition is not needed System, can be directly by the data of the collected data of 3-axis acceleration sensor and the 3-axis acceleration sensor acquisition previously established It is compared with the corresponding relationship of image information, finds out the cycle data of left-leg movement, finally obtain the acceleration stepped before left leg Degree evidence.
As a kind of enforceable mode, mobile terminal can also replace generation when landing by detection user's left foot with right crus of diaphragm Vibration determine left-leg movement cycle data.
S203, in the case where the acceleration corresponding with the lift leg image information of acquisition reaches threshold value, described in acquisition The horizontal component in the whipping direction of mobile terminal.
In the specific implementation, the threshold value that the present embodiment is related to can be the peak value of acceleration.It is stepped in the stage before the left leg of user, It is gradually increased as left leg gradually lifts its acceleration, when the left leg of user is raised up to highest point, its speed is zero, at this time Acceleration but reaches peak value, therefore can default the direction that the direction stepped before left leg is user's walking.Trick when based on user's walking The amplitude of fluctuation of the characteristics of alternateing swing, the left leg of user is consistent with the amplitude that right hand-held mobile terminal is swung.Such as Fig. 7 institute It is shown as the whipping direction of mobile terminalDue to before the left leg of user step at the time of with phase at the time of right hand handheld terminal swing arm Together, the direction stepped before left leg is also identical as the whipping direction for the mobile terminal that user holds, therefore works as and judge that 3-axis acceleration passes When the collected acceleration of sensor reaches peak value, by the whipping direction for obtaining mobile terminalHorizontal componentIt can obtain Know the horizontal component in the direction stepped before left leg.
As a kind of enforceable mode, the whipping direction of the mobile terminal is the screen perpendicular to the mobile terminal Direction.As shown in fig. 7, the whipping direction for the mobile terminal held due to userIt is identical as the direction stepped before left leg, because This can obtain its horizontal component by obtaining the whipping direction of mobile terminal
S204 obtains the magnetic induction intensity in earth's magnetic field, interferes top in the magnetic induction intensity and the mobile terminal in magnetic field The direction that the shaft of spiral shell instrument is directed toward.
In the specific implementation, mobile terminal can detect the magnetic induction intensity in interference magnetic field by electromagnetic sensor, according to movement The geographical location that terminal is currently located obtains the magnetic induction intensity in corresponding earth's magnetic field, then obtains the side that the shaft of gyroscope is directed toward To.At outdoor, the shaft of gyroscope can accurately be directed toward North and South direction, and the direction being directed toward is the direction in earth's magnetic field, but Interference when indoor due to the magnetic field of some electric appliances is easy to cause the direction of the shaft of gyroscope deviation occur, leads to gyroscope Deviate in the direction in direction and earth's magnetic field that shaft is actually pointed to, it is therefore desirable to be obtained by calculating the actual direction in earth's magnetic field The geographic direction of the horizontal component in the whipping direction of mobile terminal.
As a kind of enforceable mode, mobile terminal can by being wirelessly connected with being established apart from nearest base station, thus The geographical location (such as Beijing) of base station is obtained, the geographical location is then obtained correspondingly according to " Global Geomagnetic Field reference key " The magnetic induction intensity in magnetic field.
S205, according to the angle in the direction of the shaft of the direction in the preset earth's magnetic field and gyroscope direction, institute The magnetic induction intensity of the magnetic induction intensity and the interference magnetic field of stating earth's magnetic field determines the direction in the interference magnetic field.
In the specific implementation, as shown in figure 8, point A is the position that mobile terminal is currently located, due to gyroscope R turning in point A The direction that axis is directed toward is it is known that and calculating the magnetic induction intensity of earth's magnetic field G in step S204 and interfering the magnetic of magnetic field vector I Field intensity, therefore using point A as the center of circle sets earth's magnetic field G and gyroscope using the induction level of earth's magnetic field G as radius Angle of the shaft R between the direction that point A is directed toward is θ, and angle theta is enabled to be iterated calculating between 0 ° to 360 ° (i.e. to angle theta Continuous value, in fig. 8 with angle theta ', angle theta " and angle theta " ' for), when angle is θ ', judge earth's magnetic field G, gyro Whether the shaft R and interference magnetic field vector I of instrument meet parallelogram law, if satisfied, then determining interference magnetic field vector I's Direction is the direction for interfering magnetic field, if not satisfied, then continuing value, such as angle theta to angle theta " and angle theta " ', until searching Earth's magnetic field G, the shaft R of gyroscope and interference magnetic field vector I can be made to meet the angle theta of parallelogram law out.
Optionally, above-mentioned steps S205 can specifically include following step:
S2051 (not shown), first be directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope The magnetic induction intensity of the angle in direction, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines the first interference magnetic field Vector.
S2052 (not shown), second be directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope The magnetic induction intensity of the angle in direction, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines the second interference magnetic field Vector.
S2053 (not shown), the third being directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope The magnetic induction intensity of the angle in direction, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines that third interferes magnetic field Vector.
In the specific implementation, the direction that the shaft of gyroscope is directed toward is first direction R1, second direction R2Or third direction R3In It is any.Since user is constantly walking, and the direction that the shaft for the gyroscope R that often makes a move is directed toward changes, if assuming It interferes magnetic field in changeless position, then needs to acquire direction that the shaft R of gyroscope is directed toward at least three times, and according to step The calculation of S205 successively obtains the corresponding interference magnetic field vector in direction that the shaft R of gyroscope is directed toward.The present embodiment is to adopt Collect gyroscope shaft R be directed toward direction number be three times for, obtain the first interference magnetic field vector I1, second interference magnetic field Vector I2And third interferes magnetic field vector I3
S2054 (not shown), if the first interference magnetic field vector, the second interference magnetic field vector and the third Interference magnetic field vector intersects at same position, it is determined that the direction of the position is the direction in the interference magnetic field.
In the specific implementation, proving that the position is the position for interfering magnetic field if above three vector intersects at same position It sets, it is thus determined that the direction of the position is the direction for interfering magnetic field.Finally obtained mobile terminal is illustrated in figure 9 to interference The direction in magnetic field.
As a kind of enforceable mode, if above three vector intersects or non-intersecting two-by-two, then it is assumed that this passes through There is error in the data of geomagnetic sensor, gyroscope and 3-axis acceleration sensor acquisition, reacquire gyroscope acquisition Data are calculated according to the method for step S205 again.
S206, magnetic induction intensity, the interference magnetic in the direction, the earth's magnetic field be directed toward according to the shaft of the gyroscope The direction in earth's magnetic field described in the direction calculating in the magnetic induction intensity of field and the interference magnetic field.
In the specific implementation, behind the direction for obtaining interference magnetic field, as shown in figure 9, according to parallelogram lawObtain the direction of earth's magnetic field G.
S207 determines the geography side of the horizontal component according to the direction in the earth's magnetic field of calculating and the horizontal component To.
As shown in Figure 10, behind the direction for obtaining earth's magnetic field G, according to horizontal componentBetween the direction of earth's magnetic field G Angle α calculate horizontal componentGeographic direction, with this obtain user walking direction.
Using the embodiment of the present invention, the acceleration of the default swing of leg of user can be obtained in real time, in the acceleration of acquisition In the case where reaching threshold value, the horizontal component in the whipping direction for the mobile terminal that the user is held is obtained, obtains earth's magnetic field Magnetic induction intensity, interfere magnetic field magnetic induction intensity and the mobile terminal in gyroscope shaft be directed toward direction, root The side being directed toward according to the shaft of the magnetic induction intensity in the earth's magnetic field, the magnetic induction intensity in the interference magnetic field and the gyroscope To iterative calculation to obtain the direction in interference magnetic field, then the direction in the earth's magnetic field is determined, according to the earth's magnetic field of the calculating Direction and the horizontal component determine the geographic direction of the horizontal component, can obtain ground by the interference in exclusive PCR magnetic field The actual direction of magnetic, what the actual direction calculating user of horizontal component and earth magnetism further according to the whipping direction of mobile terminal walked Direction, so that compass and raising judge the accuracy rate of the geographic direction of user's walking in calibration chamber.
Referring to Fig. 3, Fig. 3 is a kind of structural representation of the mobile terminal in judgement indoor moving direction of the embodiment of the present invention Figure.Mobile terminal as shown in Figure 3 includes that the first acquisition module 300, second obtains module 301, computing module 302 and determines Module 303.
First obtains module 300, the acceleration of the default swing of leg for obtaining user;
Second obtains module 301, in the case that the acceleration for obtaining in the first acquisition module reaches threshold value, obtains The horizontal component in the whipping direction for the mobile terminal for taking the user to be held;
Computing module 302, for obtaining magnetic induction intensity, the magnetic induction intensity for interfering magnetic field and the shifting in earth's magnetic field The direction that the shaft of gyroscope is directed toward in dynamic terminal, according to the magnetic induction intensity in the earth's magnetic field, the magnetic strength in the interference magnetic field The direction in earth's magnetic field described in the direction calculating for answering intensity and the shaft of the gyroscope to be directed toward;
Determining module 303, the direction in the earth's magnetic field for being calculated according to the computing module and the second acquisition mould The horizontal component that block obtains determines the geographic direction of the horizontal component.
In the specific implementation, the threshold value that the present embodiment is related to can be the peak value of acceleration.It is stepped in the stage before the left leg of user, It is gradually increased as left leg gradually lifts its acceleration, when the left leg of user is raised up to highest point, its speed is zero, but at this time Acceleration but reach peak value, the direction that the direction stepped before left leg is user's walking can be defaulted at this time.Hand when based on user's walking Foot coordinates the characteristics of alternatively swinging, and the amplitude of fluctuation of the left leg of user is consistent with the amplitude that right hand-held mobile terminal is swung.Therefore Shifting identical at the time of at the time of being stepped before the left leg of user with right hand handheld terminal swing arm, that the direction and user stepped before left leg is held The whipping direction of dynamic terminal is also identical.Therefore when judging that the collected acceleration of 3-axis acceleration sensor reaches peak value, this When by obtaining the horizontal component in the whipping direction of mobile terminal obtain the horizontal component in the direction stepped before left leg.
In the specific implementation, mobile terminal can detect the magnetic induction intensity in interference magnetic field by electromagnetic sensor, it can be according to shifting The geographical location that dynamic terminal is currently located obtains the magnetic induction intensity in corresponding earth's magnetic field, and obtains the shaft direction of gyroscope Direction.At outdoor, the shaft of gyroscope can accurately be directed toward North and South direction, and the direction being directed toward is the direction in earth's magnetic field, But interference when indoors due to the magnetic field of some electric appliances is easy to cause the direction of the shaft of gyroscope deviation occur, leads to gyro Deviate in the direction in direction and earth's magnetic field that the shaft of instrument is actually pointed to, it is therefore desirable to by calculating the actual direction in earth's magnetic field Obtain the geographic direction of the horizontal component in the whipping direction of mobile terminal.
As a kind of enforceable mode, the magnetic induction intensity in the direction, earth's magnetic field be directed toward due to the shaft of gyroscope with And the magnetic induction intensity in interference magnetic field is it is known that if between the shaft vector of gyroscope, earth-magnetic field vector and interference magnetic field vector Meet parallelogram law, then can determine interference by the angle between the shaft vector and earth-magnetic field vector of setting gyroscope The direction in magnetic field, that is, obtain the direction in earth's magnetic field.
In the specific implementation, using the direction in earth's magnetic field as reference direction, due to the level point in the whipping direction of mobile terminal The direction of amount can be detected to obtain by 3-axis acceleration sensor, therefore can be according to the horizontal component in the whipping direction of mobile terminal The direction in direction and earth's magnetic field determines the geographic direction of the horizontal component in the whipping direction of mobile terminal, to know that user walks True geographic direction.
Optionally, as shown in figure 4, the mobile terminal further includes acquisition module 304 and matching module 305.
Acquisition module 304, the image information of the default swing of leg for acquiring the user, described image information It steps image information including lift leg image information, before leg and foot lands image information;
Matching module 305 is matched according to 304 image information of acquisition module with the acceleration of the acquisition, with obtain with The corresponding acceleration of the lift leg image information;
Then the second acquisition module 301 is specifically used for:
In the case that the first acquisition module 300 acceleration corresponding with the lift leg image information reaches threshold value, Obtain the horizontal component in the whipping direction of the mobile terminal.
In the specific implementation, since user is constantly walking, 3-axis acceleration sensor meeting continuous acquisition to multiple numbers According to.The movement of user can be recorded in the initial stage of detection user's direction of travel in order to obtain the curve graph of the left leg of user Picture such as acquires the image information of swing of leg when user's walking, including as Fig. 6 successively shown in step image before right leg and believe Breath, right crus of diaphragm land and step image information before image information, body mobile image information, left leg, left foot lands image information and a left side Image information that heel is liftoff, then saves these image informations.
In the specific implementation, the time using acquisition matches each image information with the acceleration information got, Ultimately form the data of 3-axis acceleration sensor acquisition as shown in FIG. 6 and the correspondence diagram of image information.Such as Fig. 6 Shown, due to the time of user's walking and the time consistency of 3-axis acceleration sensor acquisition data, user often makes one It is corresponding with the collected data of 3-axis acceleration sensor respectively when a movement.Obtaining correspondence diagram shown in fig. 6 Later, it can be observed that when left-leg movement corresponding 3-axis acceleration curve graph, 3-axis acceleration when stepping before left leg is thus obtained The acceleration that sensor detects.
It is corresponding with image information in the data for establishing 3-axis acceleration sensor acquisition as a kind of enforceable mode It, can be using established corresponding relationship as the reference of the acceleration stepped before the subsequent left leg of judgement after relationship.Therefore ought sentence again When the direction of disconnected user's walking, the data pass corresponding with image information for re-establishing 3-axis acceleration sensor acquisition is not needed System, can be directly by the data of the collected data of 3-axis acceleration sensor and the 3-axis acceleration sensor acquisition previously established It is compared with the corresponding relationship of image information, finds out the cycle data of left-leg movement, finally obtain the acceleration stepped before left leg Degree evidence.
As a kind of enforceable mode, mobile terminal can also replace generation when landing by detection user's left foot with right crus of diaphragm Vibration determine left-leg movement cycle data.
In the specific implementation, the threshold value that the present embodiment is related to can be the peak value of acceleration.It is stepped in the stage before the left leg of user, It is gradually increased as left leg gradually lifts its acceleration, when the left leg of user is raised up to highest point, its speed is zero, at this time Acceleration but reaches peak value, therefore can default the direction that the direction stepped before left leg is user's walking.Trick when based on user's walking The amplitude of fluctuation of the characteristics of alternateing swing, the left leg of user is consistent with the amplitude that right hand-held mobile terminal is swung.Such as Fig. 7 institute It is shown as the whipping direction of mobile terminalDue to before the left leg of user step at the time of with phase at the time of right hand handheld terminal swing arm Together, the direction stepped before left leg is also identical as the whipping direction for the mobile terminal that user holds, therefore works as and judge that 3-axis acceleration passes When the collected acceleration of sensor reaches peak value, by the whipping direction for obtaining mobile terminalHorizontal componentIt can Learn the horizontal component in the direction stepped before left leg.
As a kind of enforceable mode, the whipping direction of the mobile terminal is the screen perpendicular to the mobile terminal Direction.As shown in fig. 7, the whipping direction for the mobile terminal held due to userIt is identical as the direction stepped before left leg, because This can obtain its horizontal component by obtaining the whipping direction of mobile terminal
Optionally, as shown in figure 5, the computing module 302 includes determination unit 3021 and computing unit 3022.
Determination unit 3021, the side for being directed toward according to the direction in the preset earth's magnetic field and the shaft of the gyroscope To angle, the magnetic induction intensity in the earth's magnetic field and the magnetic induction intensity in the interference magnetic field determine the interference magnetic field Direction;
Computing unit 3022, the direction, the magnetic induction in the earth's magnetic field for being directed toward according to the shaft of the gyroscope are strong Described in the direction calculating in the interference magnetic field that degree, the magnetic induction intensity in the interference magnetic field and the determination unit 3021 determine The direction in magnetic field.
In the specific implementation, as shown in figure 8, point A is the position that mobile terminal is currently located, due to gyroscope R turning in point A Axis be directed toward direction it is known that and have calculated that earth's magnetic field G magnetic induction intensity and interfere magnetic field vector I magnetic field strength, because This is using point A as the center of circle, using the induction level of earth's magnetic field G as radius, sets the shaft R of earth's magnetic field G and gyroscope in point A Angle between the direction of direction is θ, enable angle theta be iterated between 0 ° to 360 ° calculating (i.e. to the continuous value of angle theta, In fig. 8 with angle theta ', angle theta " and angle theta " ' for), when angle is θ ', judge the shaft R of earth's magnetic field G, gyroscope Whether meet parallelogram law with interference magnetic field vector I, if satisfied, then determining that the direction of interference magnetic field vector I is dry The direction in magnetic field is disturbed, if not satisfied, then continuing value, such as angle theta to angle theta " and angle theta " ', it can make ground until finding out Magnetic field G, the shaft R of gyroscope and interference magnetic field vector I meet the angle theta of parallelogram law.
Optionally, the direction that the shaft of the gyroscope is directed toward is appointing in first direction, second direction or third direction One kind, then the determination unit 3021 includes that first determining subelement (not shown) and second determine subelement (not shown).
First determines subelement, for what is be directed toward according to the direction in the preset earth's magnetic field and the shaft of the gyroscope The magnetic induction intensity of the angle of first direction, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines the first interference Magnetic field vector.
First determines subelement, is also used to be directed toward according to the direction in the preset earth's magnetic field and the shaft of the gyroscope The angle of second direction, the magnetic induction intensity in the earth's magnetic field and it is described interference magnetic field magnetic induction intensity determine that second is dry Disturb magnetic field vector.
First determines subelement, is also used to be directed toward according to the direction in the preset earth's magnetic field and the shaft of the gyroscope The angle of third direction, the magnetic induction intensity in the earth's magnetic field and the magnetic induction intensity in the interference magnetic field determine that third is dry Disturb magnetic field vector.
Second determines subelement, if for the first interference magnetic field vector, the second interference magnetic field vector and institute It states third interference magnetic field vector and intersects at same position, it is determined that the direction of the position is the direction in the interference magnetic field.
In the specific implementation, the direction that the shaft of gyroscope is directed toward is first direction R1, second direction R2Or third direction R3In It is any.Since user is constantly walking, and the direction that the shaft for the gyroscope R that often makes a move is directed toward changes, if assuming It interferes magnetic field in changeless position, then needs to acquire direction that the shaft R of gyroscope is directed toward at least three times, and according to above-mentioned Calculation successively obtains the corresponding interference magnetic field vector in direction that the shaft R of gyroscope is directed toward.The present embodiment is to acquire gyro The number in the direction that the shaft R of instrument is directed toward be three times for, obtain the first interference magnetic field vector I1, second interference magnetic field vector I2 And third interferes magnetic field vector I3
In the specific implementation, proving that the position is the position for interfering magnetic field if above three vector intersects at same position It sets, it is thus determined that the direction of the position is the direction for interfering magnetic field.Finally obtained mobile terminal is illustrated in figure 9 to interference The direction in magnetic field.
As a kind of enforceable mode, if above three vector intersects or non-intersecting two-by-two, then it is assumed that this passes through There is error in the data of geomagnetic sensor, gyroscope and 3-axis acceleration sensor acquisition, reacquire gyroscope acquisition Data are calculated according to the method described above again.
In the specific implementation, behind the direction for obtaining interference magnetic field, as shown in figure 9, according to parallelogram lawObtain the direction of earth's magnetic field G.
As shown in Figure 10, behind the direction for obtaining earth's magnetic field G, according to horizontal componentBetween the direction of earth's magnetic field G Angle α calculate horizontal componentGeographic direction, with this obtain user walking direction.
Using the embodiment of the present invention, the acceleration of the default swing of leg of user can be obtained, is reached in the acceleration of acquisition In the case where threshold value, the horizontal component in the whipping direction for the mobile terminal that the user is held is obtained, the magnetic in earth's magnetic field is obtained Induction, the direction for interfering the shaft of gyroscope in the magnetic induction intensity and the mobile terminal in magnetic field to be directed toward, according to institute The direction for stating the shaft direction of the magnetic induction intensity in earth's magnetic field, the magnetic induction intensity in the interference magnetic field and the gyroscope changes In generation, calculates to obtain the direction in interference magnetic field, then determines the direction in the earth's magnetic field, according to the direction in the earth's magnetic field of the calculating And the horizontal component determines the geographic direction of the horizontal component, and earth magnetism reality can be obtained by the interference in exclusive PCR magnetic field The direction on border, the side of the actual direction calculating user walking of horizontal component and earth magnetism further according to the whipping direction of mobile terminal To so that compass and raising judge the accuracy rate of the geographic direction of user's walking in calibration chamber.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
The module or module of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with dedicated Integrated circuit (ASIC) Lai Shixian.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Embodiments described above does not constitute the restriction to the technical solution protection scope.It is any in above-mentioned implementation Made modifications, equivalent substitutions and improvements etc., should be included in the protection model of the technical solution within the spirit and principle of mode Within enclosing.

Claims (8)

1. a kind of method for judging indoor moving direction characterized by comprising
Obtain the acceleration of the default swing of leg of user;
In the case where the acceleration of acquisition reaches threshold value, the water in the whipping direction for the mobile terminal that the user is held is obtained The amount of dividing equally;
It obtains the magnetic induction intensity in earth's magnetic field, interfere the shaft of gyroscope in the magnetic induction intensity and the mobile terminal in magnetic field The direction of direction;
The angle in the direction being directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope, the earth's magnetic field Magnetic induction intensity and the magnetic induction intensity in the interference magnetic field determine the direction in the interference magnetic field;
The magnetic induction intensity in the direction, the earth's magnetic field be directed toward according to the shaft of the gyroscope, the magnetic strength for interfering magnetic field Answer the direction in earth's magnetic field described in intensity and the direction calculating in the interference magnetic field;
The geographic direction of the horizontal component is determined according to the direction in the earth's magnetic field of calculating and the horizontal component.
2. the method according to claim 1, wherein the mobile terminal that the acquisition user is held is got rid of Before the horizontal component in dynamic direction, the method also includes:
The image information of the default swing of leg of the user is acquired, described image information includes lift leg image information, leg Image information and foot is stepped before portion to land image information;
It is matched according to the image information of acquisition with the acceleration of the acquisition, it is corresponding with the lift leg image information to obtain Acceleration;
It is then described in the case where the acceleration of acquisition reaches threshold value, the whipping direction of current mobile terminal is obtained, is specifically included:
In the case where the acceleration corresponding with the lift leg image information of acquisition reaches threshold value, the mobile terminal is obtained The horizontal component in whipping direction.
3. the method according to claim 1, wherein the direction that the shaft of the gyroscope is directed toward is first party To any one of, second direction or third direction, then turned according to the direction in the preset earth's magnetic field and the gyroscope Described in the magnetic induction intensity in the angle in direction, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field that axis is directed toward determines The direction for interfering magnetic field, specifically includes:
According to angle, the earth magnetism of the first direction that the shaft of the direction in the preset earth's magnetic field and the gyroscope is directed toward The magnetic induction intensity of field and the magnetic induction intensity in the interference magnetic field determine the first interference magnetic field vector;
According to angle, the earth magnetism of the second direction that the shaft of the direction in the preset earth's magnetic field and the gyroscope is directed toward The magnetic induction intensity of field and the magnetic induction intensity in the interference magnetic field determine the second interference magnetic field vector;
According to angle, the earth magnetism of the third direction that the shaft of the direction in the preset earth's magnetic field and the gyroscope is directed toward The magnetic induction intensity of field and the magnetic induction intensity in the interference magnetic field determine that third interferes magnetic field vector;
If the first interference magnetic field vector, the second interference magnetic field vector and third interference magnetic field vector intersect at Same position, it is determined that the direction of the position is the direction in the interference magnetic field.
4. the method according to any one of claims 1 and 2, which is characterized in that the whipping direction of the mobile terminal is vertical Directly in the direction of the screen of the mobile terminal.
5. a kind of mobile terminal for judging indoor moving direction characterized by comprising
First obtains module, the acceleration of the default swing of leg for obtaining user;
Second obtains module, in the case that the acceleration for obtaining in the first acquisition module reaches threshold value, described in acquisition The horizontal component in the whipping direction for the mobile terminal that user is held;
Computing module, for obtaining the magnetic induction intensity in earth's magnetic field, interfering the magnetic induction intensity and the mobile terminal in magnetic field The direction that the shaft of interior gyroscope is directed toward;It include determination unit and computing unit in the computing module, the determination unit is used Magnetic in the angle in the direction that the shaft according to the direction in the preset earth's magnetic field and the gyroscope is directed toward, the earth's magnetic field Induction and the magnetic induction intensity in the interference magnetic field determine the direction in the interference magnetic field;The computing unit is used for root The magnetic induction intensity in the direction, the earth's magnetic field be directed toward according to the shaft of the gyroscope, the magnetic induction intensity for interfering magnetic field And the direction in earth's magnetic field described in the direction calculating in the interference magnetic field of the determination unit determination;
What determining module, the direction in the earth's magnetic field for being calculated according to the computing module and the second acquisition module obtained Horizontal component determines the geographic direction of the horizontal component.
6. mobile terminal according to claim 5, which is characterized in that the mobile terminal further include:
Acquisition module, the image information of the default swing of leg for acquiring the user, described image information include lift Image information and foot is stepped before leg image information, leg to land image information;
Matching module, the image information for being acquired according to acquisition module are matched with the acceleration of the acquisition, to obtain Acceleration corresponding with the lift leg image information;
Then the second acquisition module is specifically used for:
In the case that the acceleration corresponding with the lift leg image information that the first acquisition module obtains reaches threshold value, obtain Take the horizontal component in the whipping direction of the mobile terminal.
7. mobile terminal according to claim 5, which is characterized in that the direction that the shaft of the gyroscope is directed toward is first Any one of direction, second direction or third direction, then the determination unit include:
First determines subelement, first for being directed toward according to the direction in the preset earth's magnetic field and the shaft of the gyroscope The magnetic induction intensity of the angle in direction, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines the first interference magnetic field Vector;
First determines subelement, be also used to be directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope the The magnetic induction intensity of the angle in two directions, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines the second interference magnetic Field vector;
First determines subelement, be also used to be directed toward according to the shaft of the direction in the preset earth's magnetic field and the gyroscope the The magnetic induction intensity of the angle in three directions, the magnetic induction intensity in the earth's magnetic field and the interference magnetic field determines that third interferes magnetic Field vector;
Second determines subelement, if for the first interference magnetic field vector, the second interference magnetic field vector and described the Three interference magnetic field vectors intersect at same position, it is determined that the direction of the position is the direction in the interference magnetic field.
8. according to the described in any item mobile terminals of claim 5 or 6, which is characterized in that the whipping direction of the mobile terminal For the direction of the screen perpendicular to the 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 CN105806333A (en) 2016-07-27
CN105806333B true 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)

Families Citing this family (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
GB2595065B (en) * 2017-10-31 2022-05-11 Amer Sports Digital Services Oy Method and system for tracking and determining an indoor position of an object
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
CN111750895B (en) * 2019-07-31 2023-02-28 广东小天才科技有限公司 Wearable device and motion direction detection method based on wearable device
KR20220127023A (en) * 2021-03-10 2022-09-19 삼성전자주식회사 Electronic device and operation method of electronic device for determining direction of movement of electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (2)

* 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
KR101117218B1 (en) * 2009-09-02 2012-03-20 동국대학교 산학협력단 Method and Apparatus for estimation of current position using magnetic field sensor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Also Published As

Publication number Publication date
CN105806333A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105806333B (en) A kind of method and mobile terminal judging indoor moving direction
CN105807931B (en) A kind of implementation method of virtual reality
US9316501B2 (en) Generating magnetic field map for indoor positioning
US10397739B2 (en) Supporting the creation of a radio map
Kang et al. Improved heading estimation for smartphone-based indoor positioning systems
US9706362B2 (en) Information determination in a portable electronic device carried by a user
US9733086B2 (en) Haptic based personal navigation
CN105824416B (en) A method of by virtual reality technology in conjunction with cloud service technology
CN106093843B (en) A kind of smart phone user indoor orientation method based on earth magnetism auxiliary WiFi
CN104969030B (en) Inertial device, methods and procedures
CN105608746B (en) A method of reality is subjected to Virtual Realization
US20190111327A1 (en) Information processing apparatus, information processing method, and storage medium
CN107194969A (en) The pick up calibration determined based on end point and location estimation
CN103370672A (en) Method and apparatus for tracking orientation of a user
JP6573156B2 (en) Data analysis apparatus, data analysis method, and data analysis program
CN104977003A (en) Indoor people search method, cloud server, and system based on shared track
KR20150129285A (en) Information determination in a portable electronic device carried by a user
CN104266648A (en) Indoor location system based on Android platform MARG sensor
WO2015184741A1 (en) Navigation information acquisition method and device, and 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
US20180028861A1 (en) Information processing device and information processing method
JP2019530865A (en) User-specific learning for improved pedestrian motion modeling on mobile devices
Kessel et al. Automated WLAN calibration with a backtracking particle filter
Yeh et al. Research on calibration‐free fingerprinting positioning techniques based on terrestrial magnetism databases for indoor environments

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

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

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

EE01 Entry into force of recordation of patent licensing contract