CN109407123A - A kind of information processing method, terminal and computer readable storage medium - Google Patents
A kind of information processing method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109407123A CN109407123A CN201811147630.6A CN201811147630A CN109407123A CN 109407123 A CN109407123 A CN 109407123A CN 201811147630 A CN201811147630 A CN 201811147630A CN 109407123 A CN109407123 A CN 109407123A
- Authority
- CN
- China
- Prior art keywords
- terminal
- positioning accuracy
- moment
- default
- less
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 29
- 230000010365 information processing Effects 0.000 title claims abstract description 28
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims description 45
- 230000015654 memory Effects 0.000 claims description 33
- 230000033001 locomotion Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000004590 computer program Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 230000005291 magnetic effect Effects 0.000 description 3
- 238000012512 characterization method Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000005452 bending Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000005294 ferromagnetic effect Effects 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 231100000572 poisoning Toxicity 0.000 description 1
- 230000000607 poisoning effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/35—Constructional details or hardware or software details of the signal processing chain
- G01S19/37—Hardware or software details of the signal processing chain
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The embodiment of the invention discloses a kind of information processing methods, which comprises determines terminal in corresponding first positioning accuracy in the first position at the first moment and first position;According to the size relation of the first positioning accuracy and the first default positioning accuracy, determine whether first position is effective;If first position is invalid, the target position of terminal is determined according to the corresponding second position of terminal;Wherein, corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;Second default positioning accuracy is less than the first default positioning accuracy.The embodiment of the present invention also discloses a kind of terminal and computer readable storage medium simultaneously.
Description
Technical field
The present invention relates to, but not limited to field of computer technology more particularly to a kind of information processing methods, terminal and calculating
Machine readable storage medium storing program for executing.
Background technique
With the growth of terminal user and the development of technology, terminal has become in people's life indispensable one
Point, terminal brings great convenience for our life.In real life, people often use the positioning function of terminal
Energy.However terminal only determines the position of itself during positioning in the related technology, does not judge whether determining position has
Effect, that is, be unable to ensure the accuracy of location information.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of information processing method, terminal and computer-readable storage mediums
Matter solves terminal in the related technology and does not judge the whether effective problem in the position that itself is determined, in fact during positioning
Show the judgement to location information validity, it is ensured that the accuracy of location information, while improving the intelligence of terminal.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
A kind of information processing method, which comprises
Determine terminal in corresponding first positioning accuracy in the first position at the first moment and first position;
According to the size relation of the first positioning accuracy and the first default positioning accuracy, determine whether first position is effective;
If first position is invalid, the target position of terminal is determined according to the corresponding second position of terminal;Wherein, the second position
Corresponding second positioning accuracy is less than the second default positioning accuracy;Second default positioning accuracy is less than the first default positioning accuracy.
Optionally, according to the size relation of the first positioning accuracy and the first default positioning accuracy, whether first position is determined
Effectively, comprising:
If the first positioning accuracy is greater than the first default positioning accuracy, determine that first position is invalid.
Optionally, according to the size relation of the first positioning accuracy and the first default positioning accuracy, whether first position is determined
Effectively, comprising:
If the first positioning accuracy is less than or equal to the first default positioning accuracy, second of terminal before the first moment is obtained
The location of moment obtains the second position;
Terminal is obtained from the second moment to the moving distance at the first moment and movement speed;
If moving distance is greater than pre-determined distance and movement speed is less than pre-set velocity, determine that first position is invalid.
Optionally, first position is invalid, and the target position of terminal is determined according to the corresponding second position of terminal, comprising:
If first position is invalid, the azimuth of the first moment terminal is obtained;
According to azimuth, moving distance and the second position, target position is determined.
Optionally, if the first positioning accuracy be less than or equal to the first default positioning accuracy, obtain terminal the first moment it
At the location of second preceding moment, obtain the second position, comprising:
If the first positioning accuracy be less than or equal to the first default positioning accuracy, obtain terminal before the first moment at least
At least two the third places locating for two third moment and corresponding at least two second positioning of at least two the third places
Precision;
Calculate the difference of every one second positioning accuracy and the second default positioning accuracy;
Determine that the corresponding the third place of the smallest numerical value is the second position in difference;When second moment was at least two third
In quarter in difference at the time of the corresponding the third place association of the smallest numerical value.
Optionally, if first position is invalid, the target position of terminal is determined according to the corresponding second position of terminal, comprising:
If first position is invalid, whether detection terminal is connect with wearable device with signal;Wherein, signal connection is supported
Terminal and wearable device realize that the data in preset range are transmitted;
If detecting, terminal with wearable device there is signal to connect, and obtain the 4th in the first moment wearable device
Set third positioning accuracy corresponding with the 4th position;
If third positioning accuracy less than the second default positioning accuracy, determines that the 4th position is the second position, and by second
It installs and is set to target position.
Optionally, if first position is invalid, after the target position that terminal is determined according to the corresponding second position of terminal, side
Method further include:
Target position is sent to server.
Optionally, after target position being sent to server, method further include:
If receiving the acquisition request for target position, it will acquire request and be sent to server;
Receive the target position that server is sent.
A kind of terminal, the terminal include: processor, memory and communication bus;
The communication bus is for realizing the communication connection between processor and memory;
The processor is for executing the message handling program stored in memory, to perform the steps of
Determine terminal in corresponding first positioning accuracy in the first position at the first moment and first position;
According to the size relation of the first positioning accuracy and the first default positioning accuracy, determine whether first position is effective;
If first position is invalid, the target position of terminal is determined according to the corresponding second position of terminal;Wherein, the second position
Corresponding second positioning accuracy is less than the second default positioning accuracy;Second default positioning accuracy is less than the first default positioning accuracy.
A kind of terminal, the terminal include: the first determination unit, the second determination unit and processing unit;
First determination unit, for determining terminal in corresponding first positioning in the first position at the first moment and first position
Precision;
Second determination unit determines for the size relation according to the first positioning accuracy and the first default positioning accuracy
Whether one position is effective;
If processing unit determines the target position of terminal according to the corresponding second position of terminal invalid for first position;
Wherein, corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;Second default positioning accuracy is less than first
Default positioning accuracy.
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program,
One or more of programs can be executed by one or more processor, to realize information processing method described above
Step.
Information processing method, terminal provided by the embodiment of the present invention and computer readable storage medium, determine terminal
In corresponding first positioning accuracy in the first position at the first moment and first position;It is presetting according to the first positioning accuracy and first
The size relation of position precision, determines whether first position is effective;It is true according to the corresponding second position of terminal if first position is invalid
Determine the target position of terminal;Wherein, corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;Second is default
Positioning accuracy is less than the first default positioning accuracy;In embodiments of the present invention, the second position is the i.e. accurate position in effective position
It sets, terminal is during real-time positioning, if detecting current first position is the i.e. wrong position in invalid position, basis
The effective second position determines the i.e. effective first position in target position, to solve process of the terminal in positioning in the related technology
In, do not judge the whether effective problem in the position that itself is determined, and then ensure the accuracy of location information, improves simultaneously
The intelligence of terminal.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for information processing method that present invention implementation provides;
Fig. 2 is the flow diagram of another information processing method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another information processing method provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides a kind of information processing method flow diagram;
Fig. 5 be another embodiment of the present invention provides another information processing method flow diagram;
Fig. 6 is the track schematic diagram of terminal positioning in the related technology;
Fig. 7 is the track schematic diagram of terminal positioning in the embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another terminal provided in an embodiment of the present invention.
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 should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The embodiment of the present invention provides a kind of information processing method, and the executing subject of the information processing method is terminal, the end
End can for smart phone, tablet computer, wearable device etc., it is of course also possible to be it is other, the embodiment of the present invention is not done specifically
It limits.The function that the information processing method is realized can realize by the processor caller code in terminal, certainly
Program code can be stored in computer storage medium, it is seen then that the terminal includes at least pocessor and storage media.In reality
In, which can be applied to need the occasion positioned in real time using terminal, as company manager with
The occasion etc. of the shift position of Shi Dingwei subordinate.
In practical applications, during using terminal positioning, it will appear position error and positioning drift in following scene
The phenomenon that, such as:
(1), rain and snow weather moisture in air is more, affects global positioning system (Global Positioning
System, GPS) positioning satellite signal transmission, the location information for causing terminal to receive from the position location satellite of GPS is inaccurate
Really.
(2), in the low layer of some high-rises or hypogee such as underground parking, market place builet below the ground, subway, tunnel
In, due to being blocked by wall, indoor signal decaying is very big, signal covering weakness is formed, so causing positioning not
Precisely, situations such as error is big.
(3), situations such as placement GPS positioning satellite quantity in isolated area overhead is few, causes position deviation big.Work as terminal searching
If enabling base station location automatically less than GPS positioning signal, then error is bigger, and range tens is likely to several hundred rice.
(4), during GPS positioning signal is transmitted to the ground from GPS positioning satellite, atmospheric ionized layer, ground be will receive
The influence of the factors such as building, forest, the water surface causes the GPS positioning signal receiver of terminal to calculate and deviation occurs, positions
Drift.
Based on previous embodiment, the embodiment of the present invention provides a kind of information processing method, and this method is applied to terminal, ginseng
According to shown in Fig. 1, method includes the following steps:
Step 101 determines terminal in corresponding first positioning accuracy in the first position at the first moment and first position.
Here, first position can be longitude and latitude.In the embodiment of the present invention, GPS satellite gets current warp at the T1 moment
Then current longitude and latitude is sent to terminal by latitude, terminal receives the current longitude and latitude of GPS satellite transmission in T2, and according to
The product of duration and the light velocity between T1 to T2 obtains transmission range, and it is corresponding that the size of the transmission range characterizes current longitude and latitude
The size of positioning accuracy, if the bigger characterization positioning accuracy of transmission range is lower, i.e., connecing between current longitude and latitude and actual position
Short range degree is lower;If the smaller characterization positioning accuracy of transmission range is higher, i.e., between current longitude and latitude and actual position close to journey
It spends higher.
Step 102, according to the size relation of the first positioning accuracy and the first default positioning accuracy, whether determine first position
Effectively.
In the embodiment of the present invention, terminal is based on first default positioning accuracy this factor, cannot accurately judge terminal
Determining real time position is accurate position, that is, effective position, and still, terminal can be based on the first default positioning accuracy judgement
The real time position that terminal determines is the position of the lower position of accuracy, that is, invalid.
If step 103, first position are invalid, the target position of terminal is determined according to the corresponding second position of terminal.
Wherein, the second position can be longitude and latitude.Corresponding second positioning accuracy in the second position is less than the second default positioning
Precision;For second default positioning accuracy less than the first default positioning accuracy, characterizing the second position is accurate position.It the second position can
With the location of terminal before being the first moment, set when the second position was also possible to for the first moment with the wearable of terminal association
It is the location of standby.That is, the corresponding second position of terminal can be the second position of terminal generation, it can also be wearable
The second position that equipment generates, the distance between terminal and wearable device remain within a preset range, it is believed that eventually
The position at end and the position of wearable device are identical.
In embodiments of the present invention, terminal is according to the size relation of the first positioning accuracy and the first default positioning accuracy, really
Determine first position it is invalid when, then the i.e. effective first position in target position of terminal is determined according to the corresponding second position of terminal.
Information processing method provided by the embodiment of the present invention determines terminal in the first position at the first moment and first
Corresponding first positioning accuracy in position;According to the size relation of the first positioning accuracy and the first default positioning accuracy, first is determined
Whether position is effective;If first position is invalid, the target position of terminal is determined according to the corresponding second position of terminal;Wherein,
Corresponding second positioning accuracy in two positions is less than the second default positioning accuracy;Second default positioning accuracy is less than the first default positioning
Precision;In embodiments of the present invention, the second position is the i.e. accurate position in effective position, and terminal is in the process positioned in real time
In, if detecting current first position is the i.e. wrong position in invalid position, target is determined according to the effective second position
Position, that is, effective first position does not judge the position itself determined during positioning to solve terminal in the related technology
Set whether effective problem, and then ensure the accuracy of location information, while improving the intelligence of terminal.
Based on previous embodiment, the embodiment of the present invention provides a kind of information processing method, is applied to terminal, referring to Fig. 2
It is shown, method includes the following steps:
Step 201 determines terminal in corresponding first positioning accuracy in the first position at the first moment and first position.
If step 202, the first positioning accuracy are greater than the first default positioning accuracy, determine that first position is invalid.
Here, the first positioning accuracy is compared terminal with the first default positioning accuracy, however, it is determined that the first positioning accuracy
Greater than the first default positioning accuracy, it is determined that first position is invalid.
If step 203, first position are invalid, the target position of terminal is determined according to the corresponding second position of terminal.
Wherein, corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;Second default positioning accuracy
Less than the first default positioning accuracy.
In embodiments of the present invention, it if 203 first position of above-mentioned steps is invalid, is determined according to the corresponding second position of terminal
The target position of terminal can be achieved by the steps of:
If A1, first position are invalid, whether detection terminal is connect with wearable device with signal.
Wherein, signal connection supports terminal and wearable device to realize that the data in preset range are transmitted.
If A2, detecting that there is signal connect for terminal and wearable device, in the first moment wearable device of acquisition the
The corresponding third positioning accuracy in four positions and the 4th position.
If A3, third positioning accuracy less than the second default positioning accuracy, determine that the 4th position is the second position, and by second
Position is set as target position.
Wherein, the second default registration can be used in determining the validity of location information.
Here, terminal determines that third positioning accuracy less than the second default positioning accuracy, determines that the 4th position is the second position,
And target position is set by the second position;That is, when the real time position of terminal judgement self poisoning is invalid, Ke Yicong
Current location information is obtained with itself being maintained in a certain range of wearable device, and to the validity of the location information
Judged, directly as the location information of itself if effectively.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
Based on previous embodiment, the embodiment of the present invention provides a kind of information processing method, referring to shown in Fig. 3, this method
The following steps are included:
Step 301 determines terminal in corresponding first positioning accuracy in the first position at the first moment and first position.
If step 302, the first positioning accuracy be less than or equal to the first default positioning accuracy, obtain terminal the first moment it
At the location of second preceding moment, obtain the second position.
In embodiments of the present invention, if 302 first positioning accuracy of above-mentioned steps is less than or equal to the first default positioning accuracy,
Second moment the location of of the terminal before the first moment is obtained, the second position is obtained, may include steps of:
If B1, the first positioning accuracy are less than or equal to the first default positioning accuracy, terminal is obtained before the first moment
At least two the third places locating at least two third moment and at least two the third places corresponding at least two second
Positioning accuracy.
In embodiments of the present invention, terminal can integrate map function, in practical applications, open the positioning power of terminal
Limit, terminal can be positioned in real time.At least two third moment institutes of the available terminal of terminal before the first moment
Corresponding at least two second positioning accuracy of at least two the third places and at least two the third places at place.For example, terminal
5 the third places locating for 5 third moment of the available terminal before the first moment and 5 the third places are corresponding
5 the second positioning accuracies.
B2, the difference for calculating every one second positioning accuracy and the second default positioning accuracy.
In embodiments of the present invention, terminal can calculate every one second positioning after obtaining multiple second positioning accuracies
The difference of precision and the second default positioning accuracy.
B3, determine that the corresponding the third place of the smallest numerical value is the second position in difference.
Wherein, the second moment is associated for the corresponding the third place of numerical value the smallest in difference at least two third moment
Moment.
Here, the difference of the second positioning accuracy and the second default positioning accuracy is smaller, and the second positioning accuracy of surface is closer
True value, the i.e. corresponding second position of the second positioning accuracy are more accurate.
Step 303 obtains terminal from the second moment to the moving distance at the first moment and movement speed.
If step 304, moving distance are greater than pre-determined distance and movement speed and are less than pre-set velocity, determine first position without
Effect.
In embodiments of the present invention, even if terminal determines that the first positioning accuracy is less than or equal to the first default positioning accuracy,
But the moving condition of the moving distance of terminal and terminal mismatches, it is seen that error necessarily occurs in the real time position that terminal determines
Or drift the phenomenon that, that is to say, that terminal is most likely subject to the influence of objective factor such as environmental factor at this time, cause terminal from
The location information inaccuracy that the position location satellite of GPS receives, cannot achieve accurate positioning, so current location information is necessarily
Invalid location information.
If step 305, first position are invalid, the target position of terminal is determined according to the corresponding second position of terminal.
In embodiments of the present invention, it if 305 first position of above-mentioned steps is invalid, is determined according to the corresponding second position of terminal
The target position of terminal, may include steps of:
If C1, first position are invalid, the azimuth of first position terminal is obtained.
Here, terminal may include coprocessor, and completing it for assist process device can not execute or execution efficiency, effect
Low processing work.The available terminal of coprocessor the space at the first moment Eulerian angles and quaternary number, and according to Europe
Draw angle and quaternary number that azimuth is calculated.
C2, according to azimuth, moving distance and the second position, determine target position.
Here, terminal can calculate target position i.e. effective first according to azimuth, moving distance, the second position
Position.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
Based on previous embodiment, the embodiment of the present invention provides a kind of information processing method, referring to shown in Fig. 4, this method
The following steps are included:
Step 401 determines terminal in corresponding first positioning accuracy in the first position at the first moment and first position.
Step 402, according to the size relation of the first positioning accuracy and the first default positioning accuracy, whether determine first position
Effectively.
If step 403, first position are invalid, the target position of terminal is determined according to the corresponding second position of terminal.
Wherein, corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;Second default positioning accuracy
Less than the first default positioning accuracy.
Target position is sent to server by step 404.
Here, effective first position can be sent to server after calculating effective first position by terminal,
In order to which other terminals are from the active position information of server acquisition terminal positioning, while no longer local preservation target position, with
Save local memory.
In embodiments of the present invention, after target position is sent to server by step 404, following step can also be realized
It is rapid:
If step 405 receives acquisition request for target position, it will acquire request and be sent to server.
Here, it after target position, that is, effective first position is sent to server by terminal, is directed to if terminal receives
The acquisition request of effective first position, then terminal will acquire request and be sent to server.
Step 406 receives the target position that server is sent.
Here, terminal can receive the effective first position that server response acquisition request sends for it.That is,
In embodiments of the present invention, if user wants to check the motion track of terminal, it is possible to which triggering terminal is generated for effective
First position acquisition request, and will acquire request and be sent to server, fed back with receiving server for the acquisition request
Effective first position, save the memory of terminal.
It should be noted that in the present embodiment with the explanation of same steps in other embodiments and identical content, Ke Yican
According to the description in other embodiments, details are not described herein again.
Based on previous embodiment, using terminal as mobile phone, position be longitude and latitude for, to the embodiment of the present invention provide letter
Breath processing method is further described through, referring to Figure 5, method includes the following steps:
Step 501, mobile phone power-on, and open real-time navigation capability.
Step 502, mobile phone position in real time, obtain location information such as longitude and latitude.
Here, suppose that it is C1 that the mobile phone T3 moment, which gets longitude and latitude, corresponding first positioning accuracy of C1 is default less than second
Positioning accuracy;If the corresponding positioning accuracy of C1 is 20m less than the second default positioning accuracy such as 50m, show that C1 is effective positioning
Information.
Mobile phone continues to obtain location information, it is assumed that the influence that mobile phone receives objective factor is such as moved to GPS positioning satellite
The few place of quantity, at this point, it is C2, corresponding second positioning accuracy of C2 that mobile phone, which gets longitude and latitude at the T4 moment,.
Step 503, mobile phone determine whether the second longitude and latitude is effective.
Here, corresponding second positioning accuracy of C2 is compared mobile phone with the first default positioning accuracy such as 500m, determines C2
Corresponding second positioning accuracy is less than 500m, then, mobile phone further obtain itself from the T3 moment to the moving distance at T4 moment and
The corresponding movement speed of the moving distance.
Assuming that moving distance is greater than pre-determined distance, and movement speed is greater than pre-set velocity, shows moving distance and movement
Speeds match, then, mobile phone determines that C2 is effective location information, and C2 is uploaded onto the server.
Assuming that moving distance is greater than pre-determined distance, and movement speed is less than pre-set velocity, shows moving distance and movement
Speed mismatches, then, mobile phone determines that C1 is invalid location information.
When step 504, mobile phone determine that the second longitude and latitude is invalid, effective second longitude and latitude is calculated.
Here, the corresponding azimuth C1 is calculated according to the Eulerian angles of the association's processing acquisition of itself, quaternary number in mobile phone, and
Effective C2 is calculated according to azimuth, moving distance and C1.
Step 505, mobile phone determine that the second longitude and latitude, will be effective effectively or after calculating effective second longitude and latitude
Second longitude and latitude is uploaded onto the server.
Step 506, mobile phone close real-time navigation capability, and message processing flow terminates.
Referring to Fig. 6, using positioning method in the related technology, mobile phone is moved to the mistake of second position S2 from first position S1
Cheng Zhong, once such as market is blocked by wall at this time into building close quarters, signal decaying is very big, causes to position
Not precisely, at this point, position excursion phenomenon occurs in positioning in real time, as where mobile phone in place C, place D, place G and place N
In range, but the position positioned but has exceeded the range, and the track many places bending of positioning is that track fluctuation is obvious and not flat enough
It is sliding.
It is available to reality from server after information processing method provided in an embodiment of the present invention shown in 7
When position fixing process in accurate location information, even if being blocked by wall, mobile phone obtain the corresponding track of real time position simultaneously
Do not occur track fluctuation, moreover, positioning position within the scope of mobile phone is actually located, in this way, company manager can obtain
Get the accurate motion track of subordinate.
Based on previous embodiment, the embodiment of the present invention provides a kind of terminal, and it is corresponding that terminal can be applied to Fig. 1~4
In the information processing method that embodiment provides, referring to shown in Fig. 8, which may include: processor 81, memory 82 and leads to
Believe bus 83;
Communication bus 83 is for realizing the communication connection between processor 81 and memory 82;
Processor 81 is for executing the message handling program stored in memory 82, to perform the steps of
Determine terminal in corresponding first positioning accuracy in the first position at the first moment and first position;
According to the size relation of the first positioning accuracy and the first default positioning accuracy, determine whether first position is effective;
If first position is invalid, the target position of terminal is determined according to the corresponding second position of terminal;Wherein, the second position
Corresponding second positioning accuracy is less than the second default positioning accuracy;Second default positioning accuracy is less than the first default positioning accuracy.
In other embodiments of the invention, processor 81 be used for execute stored in memory 82 according to the first positioning accurate
The size relation of degree and the first default positioning accuracy, determines whether first position is effective, to perform the steps of
If the first positioning accuracy is greater than the first default positioning accuracy, determine that first position is invalid.
In other embodiments of the invention, processor 81 be used for execute stored in memory 82 according to the first positioning accurate
The size relation of degree and the first default positioning accuracy, determines whether first position is effective, to perform the steps of
If the first positioning accuracy is less than or equal to the first default positioning accuracy, second of terminal before the first moment is obtained
The location of moment obtains the second position;
Terminal is obtained from the first moment to the moving distance at the second moment and movement speed;
If moving distance is greater than pre-determined distance and movement speed is less than pre-set velocity, determine that first position is invalid.
In other embodiments of the invention, if processor 81 be used to execute the first position that is stored in memory 82 without
Effect, determines the target position of terminal, according to the corresponding second position of terminal to perform the steps of
If first position is invalid, the azimuth of the first moment terminal is obtained;
According to azimuth, moving distance and the second position, target position is determined.
In other embodiments of the invention, if processor 81 is for executing the first positioning accuracy stored in memory 82
Less than or equal to the first default positioning accuracy, second moment the location of of the terminal before the first moment is obtained, obtains the
Two positions, to perform the steps of
If the first positioning accuracy be less than or equal to the first default positioning accuracy, obtain terminal before the first moment at least
At least two the third places locating for two third moment and corresponding at least two second positioning of at least two the third places
Precision;
Calculate the difference of every one second positioning accuracy and the second default positioning accuracy;
Determine that the corresponding the third place of the smallest numerical value is the second position in difference;When second moment was at least two third
In quarter in difference at the time of the corresponding the third place association of the smallest numerical value.
In other embodiments of the invention, if processor 81 be used to execute the first position that is stored in memory 82 without
Effect, determines the target position of terminal, according to the corresponding second position of terminal to perform the steps of
If first position is invalid, whether detection terminal is connect with wearable device with signal;Wherein, signal connection is supported
Terminal and wearable device realize that the data in preset range are transmitted;
If detecting, terminal with wearable device there is signal to connect, and obtain the 4th in the first moment wearable device
Set third positioning accuracy corresponding with the 4th position;
If third positioning accuracy less than the second default positioning accuracy, determines that the 4th position is the second position, and by second
It installs and is set to target position.
In other embodiments of the invention, processor 81 is used to execute the message handling program stored in memory 82,
To perform the steps of
Target position is sent to server.
In other embodiments of the invention, processor 81 is used to execute the message handling program stored in memory 82,
To perform the steps of
If receiving the acquisition request for target position, it will acquire request and be sent to server;
Receive the target position that server is sent.
It should be noted that in the present embodiment step performed by processor specific implementation process, be referred to Fig. 1~
The realization process in information processing method that 4 corresponding embodiments provide, details are not described herein again.
In embodiments of the present invention, the second position is the i.e. accurate position in effective position, and terminal is in the mistake positioned in real time
Cheng Zhong determines mesh according to the effective second position if detecting current first position is the i.e. wrong position in invalid position
Cursor position, that is, effective first position does not judge what itself was determined during positioning to solve terminal in the related technology
The whether effective problem in position, and then ensure the accuracy of location information, while improving the intelligence of terminal.
Based on previous embodiment, the embodiment of the present invention provides terminal, and referring to shown in Fig. 9, which includes: first true
Order member 91, the second determination unit 92 and processing unit 93, in which:
First determination unit 91, for determining that terminal is determined in the first position at the first moment and first position corresponding first
Position precision;
Second determination unit 92 is determined for the size relation according to the first positioning accuracy and the first default positioning accuracy
Whether first position is effective;
If processing unit 93 determines the target position of terminal according to the corresponding second position of terminal invalid for first position
It sets;Wherein, corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;Second default positioning accuracy is less than
One default positioning accuracy.
It should be noted that the specific implementation process of step performed in each unit and/module in the present embodiment, it can
With the realization process in the information processing method of corresponding embodiment offer referring to Fig.1~4, details are not described herein again.
Based on previous embodiment, the embodiment of the present invention provides a kind of computer readable storage medium, this is computer-readable
Storage medium is stored with one or more program, which can be executed by one or more processor,
With the step of realizing the information processing method such as the corresponding embodiment offer in Fig. 1~4.
It should be noted that above-mentioned computer readable storage medium can be read-only memory (Read Only Memory,
ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read-Only Memory, EPROM), electrically erasable programmable read-only memory
The storage of (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic random access
Device (Ferromagnetic Random Access Memory, FRAM), flash memory (Flash Memory), magnetic surface are deposited
The memories such as reservoir, CD or CD-ROM (Compact Disc Read-Only Memory, CD-ROM);It is also possible to wrap
The various electronic equipments for including one of above-mentioned memory or any combination, such as mobile phone, computer, tablet device, individual digital
Assistant etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The function of being specified in present one process of flow chart or one box of at least two processes and/or block diagram or at least two boxes
Device.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
The manufacture of device is enabled, which realizes in one process of flow chart or at least two processes and/or one side of block diagram
The function of being specified in frame or at least two boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one process of flow chart or at least two processes and/or box
The step of function of being specified in one box of figure or at least two boxes.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (13)
1. a kind of information processing method, which is characterized in that the described method includes:
Determine terminal in corresponding first positioning accuracy in the first position at the first moment and the first position;
According to the size relation of first positioning accuracy and the first default positioning accuracy, determine whether the first position has
Effect;
If the first position is invalid, the target position of the terminal is determined according to the corresponding second position of the terminal;Wherein,
Corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;The second default positioning accuracy is less than institute
State the first default positioning accuracy.
2. the method according to claim 1, wherein described presetting according to first positioning accuracy and first
The size relation of position precision, determines whether the first position is effective, comprising:
If first positioning accuracy is greater than the described first default positioning accuracy, determine that the first position is invalid.
3. the method according to claim 1, wherein described presetting according to first positioning accuracy and first
The size relation of position precision, determines whether the first position is effective, comprising:
If first positioning accuracy is less than or equal to the described first default positioning accuracy, the terminal is obtained at described first
The location of second moment before quarter obtains the second position;
The terminal is obtained from second moment to the moving distance and movement speed at first moment;
If the moving distance is greater than pre-determined distance and the movement speed and is less than pre-set velocity, determine the first position without
Effect.
4. if according to the method described in claim 3, it is characterized in that, the first position is invalid, according to the terminal
The corresponding second position determines the target position of the terminal, comprising:
If the first position is invalid, the azimuth of terminal described in first moment is obtained;
According to the azimuth, the moving distance and the second position, the target position is determined.
5. if according to the method described in claim 3, it is characterized in that, first positioning accuracy is less than or equal to described
First default positioning accuracy obtains second moment the location of of the terminal before first moment, obtains described
The second position, comprising:
If first positioning accuracy is less than or equal to the described first default positioning accuracy, the terminal is obtained at described first
At least two the third places locating for at least two third moment before quarter and at least two the third place are corresponding
At least two second positioning accuracies;
Calculate the difference of every one second positioning accuracy and the described second default positioning accuracy;
Determine that the corresponding the third place of the smallest numerical value is the second position in the difference;Second moment be it is described extremely
In difference described in few two third moment at the time of the corresponding the third place association of the smallest numerical value.
6. if the method according to claim 1, wherein the first position is invalid, according to the terminal
The corresponding second position determines the target position of the terminal, comprising:
If the first position is invalid, detect whether the terminal connect with wearable device with signal;Wherein, the signal
Connection supports the terminal and the wearable device to realize that the data in preset range are transmitted;
If detecting, the terminal with the wearable device there is signal to connect, and obtain wearable described in first moment set
The corresponding third positioning accuracy in the 4th position and the 4th position in standby;
If the third positioning accuracy less than the second default positioning accuracy, determines that the 4th position is the second position, and
The target position is set by the second position.
7. if the method according to claim 1, wherein the first position is invalid, according to the terminal
After the corresponding second position determines the target position of the terminal, the method also includes:
The target position is sent to server.
8. the method according to the description of claim 7 is characterized in that it is described the target position is sent to server after,
The method also includes:
If receiving the acquisition request for the target position, the acquisition request is sent to the server;
Receive the target position that the server is sent.
9. a kind of terminal, which is characterized in that the terminal includes: processor, memory and communication bus;
The communication bus is for realizing the communication connection between processor and memory;
The processor is for executing the message handling program stored in memory, to perform the steps of
Determine terminal in corresponding first positioning accuracy in the first position at the first moment and the first position;
According to the size relation of first positioning accuracy and the first default positioning accuracy, determine whether the first position has
Effect;
If the first position is invalid, the target position of the terminal is determined according to the corresponding second position of the terminal;Wherein,
Corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;The second default positioning accuracy is less than institute
State the first default positioning accuracy.
10. a kind of terminal, which is characterized in that the terminal includes: processor, memory and communication bus;
First determination unit, for determining terminal in corresponding first positioning in the first position at the first moment and the first position
Precision;
Second determination unit determines institute for the size relation according to first positioning accuracy and the first default positioning accuracy
Whether effective state first position;
Processing unit determines the terminal according to the corresponding second position of the terminal if invalid for the first position
Target position;Wherein, corresponding second positioning accuracy in the second position is less than the second default positioning accuracy;Described second is default
Positioning accuracy is less than the described first default positioning accuracy.
11. terminal according to claim 10, which is characterized in that
Second determination unit, if being also used to first positioning accuracy is less than or equal to the described first default positioning accuracy,
Second moment the location of of the terminal before first moment is obtained, the second position is obtained;
The terminal is obtained from first moment to the moving distance and movement speed at second moment;
If the moving distance is greater than pre-determined distance and the movement speed and is less than pre-set velocity, determine the first position without
Effect.
12. terminal according to claim 10, which is characterized in that
Processing unit detects whether the terminal connects with wearable device with signal if it is invalid to be also used to the first position
It connects;Wherein, the signal connection supports the terminal and the wearable device to realize that the data in preset range are transmitted;
If detecting, the terminal with the wearable device there is signal to connect, and obtain wearable described in first moment set
The corresponding third positioning accuracy in the 4th position and the 4th position in standby;
If the third positioning accuracy less than the second default positioning accuracy, determines that the 4th position is the second position, and
The target position is set by the second position.
13. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in information processing method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811147630.6A CN109407123B (en) | 2018-09-29 | 2018-09-29 | Information processing method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811147630.6A CN109407123B (en) | 2018-09-29 | 2018-09-29 | Information processing method, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109407123A true CN109407123A (en) | 2019-03-01 |
CN109407123B CN109407123B (en) | 2023-11-17 |
Family
ID=65466603
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811147630.6A Active CN109407123B (en) | 2018-09-29 | 2018-09-29 | Information processing method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109407123B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111766617A (en) * | 2020-09-03 | 2020-10-13 | 成都同飞科技有限责任公司 | Method and system for reconstructing motion trail based on mobile platform |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103076619A (en) * | 2012-12-27 | 2013-05-01 | 山东大学 | System and method for performing indoor and outdoor 3D (Three-Dimensional) seamless positioning and gesture measuring on fire man |
CN103809194A (en) * | 2014-02-13 | 2014-05-21 | 上海温光自动化技术有限公司 | Method and device for displaying GPS trajectory curve |
CN104683948A (en) * | 2015-02-04 | 2015-06-03 | 四川长虹电器股份有限公司 | Self-learning abnormal position tracing point filtering method |
CN104808225A (en) * | 2014-01-28 | 2015-07-29 | 石立公 | Measurement method, correction method and measurement device of single-point satellite positioning errors |
CN105629262A (en) * | 2016-01-13 | 2016-06-01 | 广东欧珀移动通信有限公司 | Positioning method, master device, slave device and positioning system |
CN107515413A (en) * | 2017-08-16 | 2017-12-26 | 广东远峰电子科技股份有限公司 | A kind of GPS drift filter methods and the intelligent watch based on intelligent watch |
CN107925707A (en) * | 2015-08-10 | 2018-04-17 | 精工爱普生株式会社 | Positional information utilizes system, gateway apparatus and wearable device |
-
2018
- 2018-09-29 CN CN201811147630.6A patent/CN109407123B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103076619A (en) * | 2012-12-27 | 2013-05-01 | 山东大学 | System and method for performing indoor and outdoor 3D (Three-Dimensional) seamless positioning and gesture measuring on fire man |
CN104808225A (en) * | 2014-01-28 | 2015-07-29 | 石立公 | Measurement method, correction method and measurement device of single-point satellite positioning errors |
CN103809194A (en) * | 2014-02-13 | 2014-05-21 | 上海温光自动化技术有限公司 | Method and device for displaying GPS trajectory curve |
CN104683948A (en) * | 2015-02-04 | 2015-06-03 | 四川长虹电器股份有限公司 | Self-learning abnormal position tracing point filtering method |
CN107925707A (en) * | 2015-08-10 | 2018-04-17 | 精工爱普生株式会社 | Positional information utilizes system, gateway apparatus and wearable device |
CN105629262A (en) * | 2016-01-13 | 2016-06-01 | 广东欧珀移动通信有限公司 | Positioning method, master device, slave device and positioning system |
CN107515413A (en) * | 2017-08-16 | 2017-12-26 | 广东远峰电子科技股份有限公司 | A kind of GPS drift filter methods and the intelligent watch based on intelligent watch |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111766617A (en) * | 2020-09-03 | 2020-10-13 | 成都同飞科技有限责任公司 | Method and system for reconstructing motion trail based on mobile platform |
Also Published As
Publication number | Publication date |
---|---|
CN109407123B (en) | 2023-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108318043A (en) | Method, apparatus for updating electronic map and computer readable storage medium | |
CN108759835B (en) | Positioning method, positioning device, readable storage medium and mobile terminal | |
CN108235736A (en) | Positioning method, cloud server, terminal, system, electronic device and computer program product | |
CN102692179A (en) | Positioning device, positioning method, program, and recording medium | |
CN103052151A (en) | Terminal positioning method and device as well as mobile terminal | |
CN103238043A (en) | Mobile terminal, system and method | |
CN107087263B (en) | Automatic updating method and device for indoor wireless signal fingerprint data | |
US8898009B2 (en) | Information processing apparatus, information processing method, and program | |
CN110967006A (en) | Navigation positioning method and device based on tunnel map, storage medium and terminal equipment | |
CN111698774A (en) | Indoor positioning method and device based on multi-source information fusion | |
US10609671B2 (en) | System and method for positioning a gateway of an architecture | |
CN112857371A (en) | Navigation two-dimensional code generation method, park navigation method and park navigation device | |
CN102355624A (en) | Information displaying method based on position, navigation method and position service apparatus | |
CN111174778A (en) | Building entrance determining method and device based on pedestrian dead reckoning | |
JP2008005228A (en) | Position information processor and processing method | |
CN107869991B (en) | Method and device for acquiring indoor position data, computer equipment and readable medium | |
CN109407123A (en) | A kind of information processing method, terminal and computer readable storage medium | |
CN109446433B (en) | Method, device, server and storage medium for verifying failure of interest point | |
CN107869990B (en) | Method and device for acquiring indoor position data, computer equipment and readable medium | |
CN107766476A (en) | Mass-rent data processing method, device, equipment and storage medium based on building block number evidence | |
CN100470199C (en) | Walker navigation device, walker navigation method, and program | |
CN111397602A (en) | High-precision positioning method and device integrating broadband electromagnetic fingerprint and integrated navigation | |
CN112229417B (en) | Vehicle positioning method and device, computer equipment and storage medium | |
CN113485347B (en) | Motion trail optimization method and system | |
CN101526361A (en) | Navigation device and related navigation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |