CN110087305A - A kind of control method and control device of the accurate geographic position of quick obtaining in the application - Google Patents

A kind of control method and control device of the accurate geographic position of quick obtaining in the application Download PDF

Info

Publication number
CN110087305A
CN110087305A CN201811367248.6A CN201811367248A CN110087305A CN 110087305 A CN110087305 A CN 110087305A CN 201811367248 A CN201811367248 A CN 201811367248A CN 110087305 A CN110087305 A CN 110087305A
Authority
CN
China
Prior art keywords
geographical location
finder
mobile terminal
range
positioning strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811367248.6A
Other languages
Chinese (zh)
Other versions
CN110087305B (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.)
SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
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 SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd filed Critical SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Priority to CN201811367248.6A priority Critical patent/CN110087305B/en
Publication of CN110087305A publication Critical patent/CN110087305A/en
Application granted granted Critical
Publication of CN110087305B publication Critical patent/CN110087305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of control methods of quick obtaining accurate geographic position in the application, it is based on positioning strategy hierarchical and obtains geographical location, include the following steps: that a. determines positioning strategy based on mobile terminal current configuration state, when determining the first positioning strategy, executes step b;When determining the second positioning strategy, step d is executed;B. finder and the first positioning strategy obtain the first geographical location in the first range based on one or more;C. finder, the first positioning strategy and the first geographical location obtain the second geographical location in the second range based on one or more, by the different conditions for obtaining mobile terminal, and different positioning strategies is specified based on different conditions, based on different positioning strategies, finally realize that the effect of quick obtaining accurate geographic position in the application, operation of the present invention are simple, it is easy to use, it is powerful, it is practical, there is great commercial value.

Description

A kind of control method and control of the accurate geographic position of quick obtaining in the application Device
Technical field
The invention belongs to be accurately positioned field, in particular to a kind of quick obtaining accurate geographic position in the application Control method and control device.
Background technique
With progress of the epoch, the rapid development of science and technology, people's lives level has also obtained tremendous raising, adjoint The appearance of intelligent terminal, nowadays, smart phone have become people life in necessity, whether work, live Or it does shopping, can be completed by smart phone.
What nowadays, whether in field, can complete to grasp accordingly by the application program of smart phone Make, such as shopping, movie and television play, the various fields of hotel reservation suffer from miscellaneous application program, still, application journey very much Sequence requires to obtain the geographical location of user when in use, as user is purchased by some application program in smart phone Object just must first obtain the geographical location of user when single under user, and usually can all obtain there are two types of mode, one is logical Cross user to be manually entered, temporal waste certainly will be will cause in this way, and simultaneously user do not ensure that can know it is detailed Geographical location secondly need to be opened by third party's map application in mobile phone could obtain accurate positionin, and is opened third party and is answered Pressure is brought with that will certainly run to mobile phone, while also having a possibility that stuck.
And currently, in the market there is no a kind of method for being able to solve the above problem, especially it is a kind of in the application The control method and control device of quick obtaining accurate geographic position.
Summary of the invention
For technological deficiency of the existing technology, quickly obtained in the application the object of the present invention is to provide a kind of The control method and control device of accurate geographic position are taken, according to an aspect of the invention, there is provided one kind is in application program The control method of middle quick obtaining accurate geographic position obtains geographical location based on positioning strategy hierarchical, including walks as follows It is rapid:
A. positioning strategy is determined based on mobile terminal current configuration state, when determining the first positioning strategy, executes step b;When determining the second positioning strategy, step d is executed;
B. finder and the first positioning strategy obtain the first geographical location in the first range based on one or more;
C. finder, the first positioning strategy and the first geographical location obtain in the second range based on one or more Second geographical location;
D. the geographical location information that will be matched in the mobile terminal with current configuration state based on the second positioning strategy As the second geographical location.
Preferably, the step a includes the following steps:
A1: determining whether GPS is in the open state based on the current configuration state, is currently configured shape if so, determining State uses the first positioning strategy, if it is not, thening follow the steps a2;
A2: it is whether in the open state that mobile terminal data network is determined based on the current configuration state, if so, really Determine current configuration state and uses the second positioning strategy.
Preferably, the step b includes the following steps:
B1: judging whether to obtain the first geographical location in the first range based on the first finder, if can, it executes Step c, if cannot, then follow the steps b2;
B2: judging whether to obtain the first geographical location in the first range based on the second finder, if can, it executes Step c, if cannot, then follow the steps b3;
B3: judging whether to obtain the first geographical location in the first range based on third finder, if can, it executes Step c.
Preferably, first geographical location matches with second range.
Preferably, the step c includes the following steps:
C1: judging whether to obtain the second geographical location in the second range based on the first finder, if cannot, it holds Row step c2;
C2: judging whether to obtain the second geographical location in the second range based on the second finder, if cannot, it holds Row step c3;
C3: judge whether to obtain the second geographical location in the second range based on third finder.
Preferably, first range is km grade.
Preferably, second range is hundred meter levels.
Preferably, the step d includes the following steps:
D1: the geographical position to be matched based on the IP acquisition of information under mobile terminal current configuration state with the IP information It sets;
D2: the geographical location that the IP information is matched is as the second geographical location.
Preferably, the application program includes at least weather APP.
Preferably, further include step e:
Obtain the Weather information to match with second geographical location in the database based on second geographical location.
According to another aspect of the present invention, a kind of control of quick obtaining accurate geographic position in the application is provided Device processed obtains geographical location based on positioning strategy hierarchical, comprising:
First determining device 1: positioning strategy is determined based on mobile terminal current configuration state;
First acquisition device 2: finder and the first positioning strategy obtain in the first range based on one or more First geographical location;
Second acquisition device 3: finder, the first positioning strategy and the first geographical location obtain based on one or more The second geographical location in second range;
Third acquisition device 4: will be matched with current configuration state in the mobile terminal based on the second positioning strategy Geographical location information is as the second geographical location.
Preferably, first determining device includes:
Second determining device 11: determine whether GPS is in the open state based on the current configuration state;
Third determining device 12: determine whether mobile terminal data network is in opening state based on the current configuration state State.
Preferably, first acquisition device includes:
First judgment means 21: judge whether to obtain the first geographical position in the first range based on the first finder It sets;
Second judgment means 22: judge whether to obtain the first geographical position in the first range based on the second finder It sets;
Third judgment means 23: judge whether to obtain the first geographical position in the first range based on third finder It sets.
Preferably, second acquisition device includes:
4th judgment means 31: judge whether to obtain the second geographical position in the second range based on the first finder It sets;
5th judgment means 32: judge whether to obtain the second geographical position in the second range based on the second finder It sets;
6th judgment means 33: judge whether to obtain the second geographical position in the second range based on third finder It sets.
Preferably, the third acquisition device includes:
4th acquisition device 41: based under mobile terminal current configuration state IP acquisition of information and the IP information phase The geographical location matched;
First processing unit 42: the geographical location that the IP information is matched is as the second geographical location.
Preferably, further includes:
5th acquisition device 5: it is obtained in the database and second geographical location phase based on second geographical location Matched Weather information.
The present invention provides the control method and control device of a kind of quick obtaining accurate geographic position in the application, By obtaining the different conditions of mobile terminal, and different positioning strategies is specified based on different conditions, based on different positioning plans Slightly, the final effect for realizing quick obtaining accurate geographic position in the application, operation of the present invention is simple, easy to use, function Can be powerful, it is practical, there is great commercial value.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 shows a specific embodiment of the invention, a kind of quick obtaining accurate geographic position in the application Control method idiographic flow schematic diagram;
Fig. 2 shows the first embodiment of the present invention, according to the different configuration status of mobile terminal so that it is determined that not The idiographic flow schematic diagram of same positioning strategy;
Fig. 3 shows the second embodiment of the present invention, based on one or more finder and the first positioning strategy Obtain the idiographic flow schematic diagram in the first geographical location in the first range;
Fig. 4 shows the third embodiment of the present invention, based on one or more finder, the first positioning strategy and First geographical location obtains the idiographic flow schematic diagram in the second geographical location in the second range;
Fig. 5 shows the fourth embodiment of the present invention, will be in the mobile terminal and currently based on the second positioning strategy Idiographic flow schematic diagram of the geographical location information that configuration status matches as the second geographical location;
Fig. 6 shows the fifth embodiment of the present invention, is obtained in the database and institute based on second geographical location State the idiographic flow schematic diagram for the Weather information that the second geographical location matches;And
Fig. 7 shows another embodiment of the present invention, and a kind of quick obtaining in the application is accurately geographical The module connection diagram of the control device of position.
Specific embodiment
In order to preferably technical solution of the present invention be made clearly to show, the present invention is made into one with reference to the accompanying drawing Walk explanation.
Fig. 1 shows a specific embodiment of the invention, a kind of quick obtaining accurate geographic position in the application The idiographic flow schematic diagram of control method specifically include the following steps:
Firstly, entering step S101, positioning strategy is determined based on mobile terminal current configuration state, when determining the first positioning When tactful, step S102 is executed;When determining the second positioning strategy, step S104 is executed, by the difference for obtaining mobile terminal State, and different positioning strategies is specified based on different conditions, based on different positioning strategies, it is preferable that first positioning Strategy can be to be used in the state of determining that mobile terminal GPS function is opened, and second positioning strategy can be and move Dynamic terminal uses in the state that GPS function is closed but the mobile terminal data network is opened, about the first positioning plan Slightly and the specific embodiment of the second positioning strategy will be described in detail in subsequent embodiment, and it will not be described here.
Then, S102 is entered step, finder and the first positioning strategy obtain the first range based on one or more The first interior geographical location, in abovementioned steps, first positioning strategy is in the state that mobile terminal GPS function is opened It uses, and under the premise of GPS function is opened, the can be got by one or more finders in mobile terminal The first geographical location in one range, one or more of application programs can for the mapping program that carries in mobile terminal or It is by the map application of downloading installation, first range is preferably as unit of km grade, and first ground It is unit that reason position, which can preferably be province, city, district or scenic spot, it will be appreciated by those skilled in the art that working as the mobile terminal In GPS function open in the state of when, can be directly obtained by one or more finders in the mobile terminal First geographical location of the user in the first range, such as Changsha, Hunan, in another example Wuhan City, Hubei Province East Lake scenic spot etc. Deng it will be appreciated by those skilled in the art that the error of positioning will control within 20 meters when being positioned using GPS.
And then, S103 is entered step, based on one or more the geographical position of finder, the first positioning strategy and first The second geographical location obtained in the second range is set, the GPS function in the mobile terminal is by positioning journey in one or more The first geographical location in the first range is got in sequence, and is carried out based on the first geographical location in the first range got It repositions, the second geographical location in the second more accurate range is got by one or more finders, it is described Second range is preferably hundred meter levels or 20 more accurate meter levels, and second geographical location preferably can be with street, door The trade mark or shops are unit, such as Wuhan City, Hubei Province Baofeng Er Lu 53, using this number as most accurate geographical location.
Finally, enter step S104, based on the second positioning strategy by the mobile terminal with current configuration state phase The geographical location information matched is as the second geographical location, and the GPS function of the mobile terminal is not opened but the mobile terminal number It is opened according to network, then uses second positioning strategy, by obtaining the IP address of the mobile terminal data network, and obtained To, to matched geographical location, using this geographical location as the second geographical location, those skilled in the art are managed with the IP address Solution, the geographical location that the IP address by obtaining the mobile terminal data network is got, accuracy are hundred meter levels.
Fig. 2 shows the first embodiment of the present invention, according to the different configuration status of mobile terminal so that it is determined that not The idiographic flow schematic diagram of same positioning strategy, it will be appreciated by those skilled in the art that described Fig. 2 is step S101 in described Fig. 1 Sub-step specifically includes the following steps:
Firstly, entering step S1011, determine whether GPS is in the open state based on the current configuration state, if so, Then determine that current configuration state uses the first positioning strategy, if it is not, S1011 is thened follow the steps, by obtaining mobile terminal Whether position access authority, the GPS function of obtaining the mobile terminal open, and open if the GPS function of the mobile terminal is in Open state, it is determined that current configuration state is positioned using the first positioning strategy, if the GPS function of the mobile terminal is in Closed state thens follow the steps S1012.
In a preferred embodiment, by obtaining the GPS open state of mobile terminal, the mobile terminal is found GPS function is in close state, and preferably prompt user carries out the unlatching of GPS function, if user selects the mobile terminal GPS Function is opened, then the first positioning strategy is used, if user and non-selected unlatching GPS function, then follow the steps S1012.
Finally, entering step S1012, determine whether mobile terminal data network is in out based on the current configuration state State is opened, if so, determining that current configuration state uses the second positioning strategy, in such embodiments, the mobile terminal GPS function be in non-open state, whether opened by the data network of the determination mobile terminal, determine whether to make With the second positioning strategy.
In an extremely special change case, if the data of the GPS function of the mobile terminal and the mobile terminal Network function is not opened, and third positioning strategy can be performed, and the third positioning strategy is preferably available described mobile whole The call permission at end is got with the mobile terminal to matched signal base station by obtaining call permission, passes through signal base It stands and determines user current location.
Fig. 3 shows the second embodiment of the present invention, based on one or more finder and the first positioning strategy The idiographic flow schematic diagram for obtaining the first geographical location in the first range specifically includes the following steps:
Firstly, entering step S201, judge whether to obtain the first geography in the first range based on the first finder Position, if can, S204 is thened follow the steps, if cannot, S202 is thened follow the steps, it will be appreciated by those skilled in the art that passing through the shifting Finder in dynamic terminal obtains the first geographical location in the first range, one or more positioning in the mobile terminal It is the first finder that program can be determined one of them by user preferences, can also be by the way that one or more is positioned journeys Start fastest finder in sequence as the first finder, by the way that first finder to be opened to and obtained The first geographical location in one range thens follow the steps S204 if available, if failing to get in first range First geographical location, then enter step S202.
Then, S202 is entered step, judges whether to obtain the first geography in the first range based on the second finder Position, if can, S204 is thened follow the steps, if cannot, S203 is thened follow the steps, in such embodiments, passes through described first If finder can not get the first geographical location in first range, made by opening another finder For the second finder, the acquisition in the first geographical location in first range is carried out, correspondingly, if fixed by described second Position program gets the first geographical location in first range, S204 is thened follow the steps, if first model has not been obtained The first interior geographical location is enclosed, S203 is thened follow the steps.
And then, S203 is entered step, judges whether to obtain the first ground in the first range based on third finder Position is managed, if can, S204 is thened follow the steps, if the in first range can not be got by second finder One geographical location is then used as third finder by opening another finder, and the in progress first range The acquisition in one geographical location, correspondingly, if getting the first geography in first range by the third finder Position thens follow the steps S204.
It will be appreciated by those skilled in the art that if the first geography in first range has not been obtained in the third finder Position is preferably by a variety of finders such as four, the five, the 6th and carries out the first geographical location in first range Acquisition.
In one preferably change case, if all finders in the mobile terminal can not all obtain described first The first geographical location in range, it is preferable that geographical location can be carried out by second positioning strategy or third positioning strategy Acquisition.
It will be appreciated by those skilled in the art that the step S204 can be not superfluous herein with reference to the step 103 in described Fig. 1 It states.
Fig. 4 shows the third embodiment of the present invention, based on one or more finder, the first positioning strategy and The idiographic flow schematic diagram that first geographical location obtains the second geographical location in the second range specifically includes the following steps:
Firstly, entering step S301, judge whether to obtain the second geography in the second range based on the first finder Position, if cannot, S302 is thened follow the steps, it will be appreciated by those skilled in the art that obtaining by the finder in the mobile terminal The first geographical location in the first range is taken, and second range is obtained based on the first geographical location in first range The second interior geographical location, one or more finders in the mobile terminal can be determined wherein by user preferences One be the first finder, can also by will start in one or more finders fastest positioning sequence as First finder fails to obtain by the way that first finder to be opened to and obtained the second geographical location in the second range It takes, thens follow the steps S302.
Then, S302 is entered step, judges whether to obtain the second geography in the second range based on the second finder Position, if cannot, S303 is thened follow the steps, in such embodiments, if can not get by first finder The second geographical location in second range carries out then by opening another finder as the second finder The acquisition in the second geographical location in second range, correspondingly, if getting described by second finder The second geographical location in two ranges, thens follow the steps S303.
Finally, entering step S303, judge whether to obtain the second geography in the second range based on third finder Position passes through unlatching if can not get the second geographical location in second range by second finder Another finder carries out the acquisition in the second geographical location in second range, if institute as third finder It states third finder and the second geographical location in second range has not been obtained, be preferably by the four, the five, the 6th Etc. the acquisition that a variety of finders carry out the first geographical location in first range, if all fixed in the mobile terminal Position program can not all obtain the second geographical location in second range, it is preferable that can by second positioning strategy or Third positioning strategy carries out the acquisition in the second geographical location in second range.
Fig. 5 shows the fourth embodiment of the present invention, will be in the mobile terminal and currently based on the second positioning strategy Idiographic flow schematic diagram of the geographical location information that configuration status matches as the second geographical location, those skilled in the art's reason Solution, described Fig. 5 are that the sub-step of step S104 in described Fig. 1 specifically includes the following steps:
Firstly, enter step S1041, based under mobile terminal current configuration state IP acquisition of information and the IP information The geographical location to match, in such embodiments, the mobile terminal get the mobile terminal by data network The data of data network are sent and the IP address of data receiver, and the data basestation by interacting with data network is positioned, Get the geographical location to match with the mobile terminal data network IP.
Finally, entering step S1042, the geographical location that the IP information is matched is as the second geographical location, ability Field technique personnel understand, come from nearest data interaction with the geographical location to match the mobile terminal data network IP The geographical location that the coverage area of base station obtains, and the coverage area of the data network interacting base station is at 50 square metres to 150 Between square metre, and the coverage area by getting the data interaction base station, then meet the essence in second geographical location Degree requires, then the coverage area that can be considered as data interaction base station where the mobile terminal locates is second geographical location.
Fig. 6 shows the fifth embodiment of the present invention, is obtained in the database and institute based on second geographical location The idiographic flow schematic diagram for the Weather information that the second geographical location matches is stated, specifically, is included the following steps:
It will be appreciated by those skilled in the art that the step S401, step S402, step S403 and step S404 in described Fig. 6 can With with reference to step S101, step S102, step S103 and the step S104 in described Fig. 1, it will not be described here.
Finally, entering step S405, obtained in the database and the described second geographical position based on second geographical location The Weather information to match is set, it will be appreciated by those skilled in the art that control method of the invention applies also for the APP of weather, is led to It crosses abovementioned steps and gets second geographical location, and in real time more by database in weather APP or by data network The Weather information newly to match with second geographical location.
Further, if using accurate positioning method of the invention by other applications, described the is being got While two geographical locations, it can also be attached to the Weather information to match with second geographical location.
Fig. 7 shows another embodiment of the present invention, and a kind of quick obtaining in the application is accurately geographical The module connection diagram of the control device of position, it will be appreciated by those skilled in the art that the present invention provides one kind in application program The control device of middle quick obtaining accurate geographic position obtains geographical location based on positioning strategy hierarchical, comprising: first really Determine device 1: positioning strategy is determined based on mobile terminal current configuration state, by obtaining the different conditions of mobile terminal, and base Different positioning strategies is specified in different conditions, based on different positioning strategies, it is preferable that first positioning strategy can be It is used in the state of determining that mobile terminal GPS function is opened, and second positioning strategy can be in mobile terminal in GPS Function is closed but is used in the state of mobile terminal data network unlatching, and first determining device 1 is obtained with described first It takes device 2 and the third acquisition device 4 to connect, and connects and second determining device 11 and the third determining device 12。
Further, further include the first acquisition device 2: finder and the first positioning strategy obtain based on one or more The first geographical location in the first range is taken, it is fixed by the one or more in mobile terminal under the premise of GPS function is opened Position program can get the first geographical location in the first range, and one or more of application programs can be mobile terminal In the mapping program that carries or the map application by downloading installation, first range is preferably to be with km grade Unit, and it is unit, those skilled in the art that first geographical location, which can preferably be surplus province, city, district or scenic spot, Understand, it is fixed by the one or more in the mobile terminal when in the state that the GPS function in the mobile terminal being opened Position program can be directly obtained first geographical location of the user in the first range, first acquisition device 2 and described first Determining device 1 and second acquisition device 3 connection, and with first judgment means 21, second judgment means 22 and The third judgment means 23 connect.
Further, further include the second acquisition device 3: based on one or more finder, the first positioning strategy and First geographical location obtains the second geographical location in the second range, the GPS function in the mobile terminal by one or The first geographical location in the first range is got in multiple finders, and based on the first ground in the first range got Reason position is repositioned, and the second geography in the second more accurate range is got by one or more finders Position, second range are preferably hundred meter levels or 20 more accurate meter levels, and second geographical location preferably may be used As unit of street, number or shops, second acquisition device 3 is obtained with first acquisition device 2 and the third Device 4 connects, and connect with the 4th judgment means 31, the 5th judgment means 32 and the 6th judgment means 33.
Further, further include third acquisition device 4: based on the second positioning strategy by the mobile terminal with currently match The geographical location information that the state of setting matches as the second geographical location, do not open but described by the GPS function of the mobile terminal Mobile terminal data network is opened, then uses second positioning strategy, by the IP for obtaining the mobile terminal data network Address, and get with the IP address to matched geographical location, using this geographical location as the second geographical location, by obtaining The geographical location for taking the IP address of the mobile terminal data network and getting, accuracy are hundred meters, and the third obtains Device 4 is connect with first determining device 1 and the 5th acquisition device 5, and with the 4th acquisition device 41 and described The connection of first processing unit 42.
Further, further include the second determining device 11: determining whether GPS is in unlatching based on the current configuration state State, by obtaining the position access authority of mobile terminal, whether the GPS function of obtaining the mobile terminal is opened, if described The GPS function of mobile terminal is in the open state, it is determined that current configuration state is positioned using the first positioning strategy, if institute The GPS function of stating mobile terminal is in close state, then executes third determining device 12, second determining device 11 with it is described First determining device 1 and the third determining device 12 connection.
Further, further include third determining device 12: mobile terminal data net is determined based on the current configuration state Whether network is in the open state, and the GPS function of stating mobile terminal is in non-open state, passes through the number of the determination mobile terminal Whether opened according to network, determines whether that, using the second positioning strategy, the third determining device 12 is determined with described first Device 1 and second determining device 11 connection.
Further, further include the first judgment means 21: judging whether that the first range can be obtained based on the first finder The first interior geographical location obtains the first geographical location in the first range, institute by the finder in the mobile terminal Stating one or more finders in mobile terminal and being determined one of them by user preferences is the first finder, Can also by the way that fastest positioning sequence will be started in one or more finders as the first finder, pass through by First finder is opened and obtains the first geographical location in the first range, if available, execute second and obtains Device 3, if failing to get the first geographical location in first range, enter the second judgment means 22, described first Judgment means 21 are connect with first acquisition device 2 and second acquisition device 3, and with second judgment means 22 and The third judgment means 23 connect.
Further, further include the second judgment means 22: judging whether that the first range can be obtained based on the second finder The first interior geographical location, if excessively described first finder can not get the first geographical location in first range, Then by opening another finder as the second finder, the first geographical location in first range is carried out It obtains, correspondingly, if getting the first geographical location in first range by second finder, executes the Two acquisition device 3 execute third judgment means 23 if the first geographical location in first range has not been obtained, described Second judgment means 22 are connect with first acquisition device 2 and second acquisition device 3, and with first judgment means 21 and the third judgment means 23 connection.
Further, further include third judgment means 23: judging whether that the first range can be obtained based on third finder The first interior geographical location, if the first geographical position in first range can not be got by second finder It sets, then by opening another finder as third finder, carries out the first geographical position in first range The acquisition set, correspondingly, being held if getting the first geographical location in first range by the third finder The second acquisition device of row 3, the third judgment means 23 are connect with first acquisition device 2 and second acquisition device 3, And it is connect with second judgment means 22.
Further, further include the 4th judgment means 31: judging whether that the second range can be obtained based on the first finder The second interior geographical location obtains the first geographical location in the first range by the finder in the mobile terminal, and The second geographical location in second range, the mobile terminal are obtained based on the first geographical location in first range Interior one or more finders can be determined one of them by user preferences as the first finder, can also pass through Fastest positioning sequence will be started in one or more finders as the first finder, by determining described first The second geographical location in the second range is opened and obtained to position program, fails to obtain, then holds the 5th judgment means 32, and the described 4th Judgment means 31 are connect with second acquisition device 3 and the 5th judgment means 32.
Further, further include the 5th judgment means 32: judging whether that the second range can be obtained based on the second finder The second interior geographical location, if the second geographical position in second range can not be got by first finder It sets, then by opening another finder as the second finder, carries out the second geographical position in second range The acquisition set, correspondingly, being held if getting the second geographical location in second range by second finder The 6th judgment means 33 of row, the 5th judgment means 32 are connect with second acquisition device 3, and are filled with the 4th judgement Set 31 and the 6th judgment means 33 connection.
Further, further include the 6th judgment means 33: judging whether that the second range can be obtained based on third finder The second interior geographical location, if the second geographical position in second range can not be got by second finder It sets, then by opening another finder as third finder, carries out the second geographical position in second range The acquisition set, the 6th judgment means 33 and second acquisition device 3 and the 5th judgment means 32.
It further, further include the 4th acquisition device 41: based on the IP acquisition of information under mobile terminal current configuration state The geographical location to match with the IP information, the mobile terminal get the mobile terminal data net by data network The data of network are sent and the IP address of data receiver, and the data basestation by interacting with data network is positioned, and is got The geographical location to match with the mobile terminal data network IP, the 4th acquisition device 41 and the third acquisition device 4 and first processing unit 42 connection.
Further, further include the first processing unit 42: the geographical location that the IP information is matched is as the second Position is managed, comes from covering for nearest data interaction base station with the geographical location to match the mobile terminal data network IP Lid range obtain geographical location, and the coverage area of the data network interacting base station 50 square metres to 150 square metres it Between, and the coverage area by getting the data interaction base station, then meet the required precision in second geographical location, then The coverage area of data interaction base station where the mobile terminal locates can be considered as second geographical location, at described first Reason device 42 is connect with the third acquisition device 4 and the 4th acquisition device 41.
Further, further include the 5th acquisition device 5: based on second geographical location obtain in the database with it is described The Weather information that second geographical location matches by getting second geographical location, and passes through the data in weather APP Library or the Weather information to be matched by data network real-time update and second geographical location, the 5th acquisition device 5 It is connect with the third acquisition device 4.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned Particular implementation, those skilled in the art can make various deformations or amendments within the scope of the claims, this not shadow Ring substantive content of the invention.

Claims (15)

1. a kind of control method of quick obtaining accurate geographic position in the application, is obtained based on positioning strategy hierarchical Geographical location, which comprises the steps of:
A. positioning strategy is determined based on mobile terminal current configuration state, when determining the first positioning strategy, executes step b;When When determining the second positioning strategy, step d is executed;
B. finder and the first positioning strategy obtain the first geographical location in the first range based on one or more;
C. based on one or more finder, the first positioning strategy and the first geographical location obtain in the second range second Geographical location;
D. based on the second positioning strategy using the geographical location information to match in the mobile terminal with current configuration state as Second geographical location,
Wherein, the step b includes the following steps:
B1: judging whether to obtain the first geographical location in the first range based on the first finder, if can, it thens follow the steps C, if cannot, then follow the steps b2;
B2: judging whether to obtain the first geographical location in the first range based on the second finder, if can, it thens follow the steps C, if cannot, then follow the steps b3;
B3: judging whether to obtain the first geographical location in the first range based on third finder, if can, it thens follow the steps c。
2. control method according to claim 1, which is characterized in that the step a includes the following steps:
A1: determining whether GPS is in the open state based on the current configuration state, if so, determining that current configuration state makes With the first positioning strategy, if it is not, thening follow the steps a2;
A2: determining whether mobile terminal data network is in the open state based on the current configuration state, if so, determination is worked as Preceding configuration status uses the second positioning strategy.
3. control method according to claim 1 or 2, which is characterized in that first geographical location and second model It encloses and matches.
4. control method according to claim 3, which is characterized in that the step c includes the following steps:
C1: judging whether to obtain the second geographical location in the second range based on the first finder, if cannot, execute step Rapid c2;
C2: judging whether to obtain the second geographical location in the second range based on the second finder, if cannot, execute step Rapid c3;
C3: judge whether to obtain the second geographical location in the second range based on third finder.
5. control method according to claim 1 or 2 or 4, which is characterized in that first range is km grade.
6. control method according to claim 5, which is characterized in that second range is hundred meter levels.
7. control method described according to claim 1 or 2 or 4 or 6, which is characterized in that the step d includes the following steps:
D1: the geographical location to be matched based on the IP acquisition of information under mobile terminal current configuration state with the IP information;
D2: the geographical location that the IP information is matched is as the second geographical location.
8. control method according to claim 7, which is characterized in that the application program includes at least weather APP.
9. control method according to claim 8, which is characterized in that further include step e:
Obtain the Weather information to match with second geographical location in the database based on second geographical location.
10. a kind of control device of quick obtaining accurate geographic position in the application, is obtained based on positioning strategy hierarchical Take geographical location characterized by comprising
First determining device (1): positioning strategy is determined based on mobile terminal current configuration state;
First acquisition device (2): finder and the first positioning strategy obtain the in the first range based on one or more One geographical location;
Second acquisition device (3): finder, the first positioning strategy and the first geographical location obtain the based on one or more The second geographical location in two ranges;
Third acquisition device (4): the ground that will be matched in the mobile terminal with current configuration state based on the second positioning strategy Location information is managed as the second geographical location.
11. control device according to claim 10, which is characterized in that first determining device includes:
Second determining device (11): determine whether GPS is in the open state based on the current configuration state;
Third determining device (12): determine whether mobile terminal data network is in opening state based on the current configuration state State.
12. control device described in 0 or 11 according to claim 1, which is characterized in that first acquisition device includes:
First judgment means (21): judge whether to obtain the first geographical location in the first range based on the first finder;
Second judgment means (22): judge whether to obtain the first geographical location in the first range based on the second finder;
Third judgment means (23): judge whether to obtain the first geographical location in the first range based on third finder.
13. control device according to claim 12, which is characterized in that second acquisition device includes:
4th judgment means (31): judge whether to obtain the second geographical location in the second range based on the first finder;
5th judgment means (32): judge whether to obtain the second geographical location in the second range based on the second finder;
6th judgment means (33): judge whether to obtain the second geographical location in the second range based on third finder.
14. control device described in 0 or 11 or 13 according to claim 1, which is characterized in that the third acquisition device includes:
4th acquisition device (41): matched based on the IP acquisition of information under mobile terminal current configuration state with the IP information Geographical location;
First processing unit (42): the geographical location that the IP information is matched is as the second geographical location.
15. control device according to claim 14, which is characterized in that further include:
5th acquisition device (5): it is obtained in the database and second geographical location phase based on second geographical location The Weather information matched.
CN201811367248.6A 2018-11-16 2018-11-16 Control method and control device for rapidly acquiring accurate geographic position in application program Active CN110087305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811367248.6A CN110087305B (en) 2018-11-16 2018-11-16 Control method and control device for rapidly acquiring accurate geographic position in application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811367248.6A CN110087305B (en) 2018-11-16 2018-11-16 Control method and control device for rapidly acquiring accurate geographic position in application program

Publications (2)

Publication Number Publication Date
CN110087305A true CN110087305A (en) 2019-08-02
CN110087305B CN110087305B (en) 2021-06-04

Family

ID=67412908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811367248.6A Active CN110087305B (en) 2018-11-16 2018-11-16 Control method and control device for rapidly acquiring accurate geographic position in application program

Country Status (1)

Country Link
CN (1) CN110087305B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586577A (en) * 2020-04-16 2020-08-25 北京小米移动软件有限公司 Positioning method and device, mobile terminal and storage medium
CN115412593A (en) * 2021-05-14 2022-11-29 海能达通信股份有限公司 Method for adjusting function permission, control method, device, equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1524188A (en) * 2001-03-05 2004-08-25 �����ɷ� Method and apparatus providing improved position estimate based on an initial coarse position estimate
CN101042430A (en) * 2006-03-23 2007-09-26 精工爱普生株式会社 Positioning device, positioning control method, positioning control program, and storage medium
CN101969599A (en) * 2010-10-22 2011-02-09 厦门雅迅网络股份有限公司 Geographical position based system and implementation method thereof for acquiring weather forecast
CN102036165A (en) * 2010-12-16 2011-04-27 中兴通讯股份有限公司 Positioning method and user terminal supporting multiple positioning modes
CN103763678A (en) * 2014-01-27 2014-04-30 歌联科技(上海)有限公司 Method for achieving classification positioning by mobile monitoring terminal
CN104215980A (en) * 2013-06-05 2014-12-17 深圳市赛格导航科技股份有限公司 GPS (global positioning system) positioning method and device
CN104468771A (en) * 2014-12-03 2015-03-25 北京国双科技有限公司 Method and device for determining geographical position
CN104539750A (en) * 2014-12-30 2015-04-22 深圳市兰丁科技有限公司 IP locating method and device
CN104853431A (en) * 2014-02-18 2015-08-19 中兴通讯股份有限公司 Geographical location information positioning method and device
CN106936887A (en) * 2015-12-31 2017-07-07 珠海金山办公软件有限公司 A kind of geographic position locating method and device
CN107682823A (en) * 2017-09-18 2018-02-09 维沃移动通信有限公司 A kind of Weather information adding method and mobile terminal
CN108153766A (en) * 2016-12-05 2018-06-12 天脉聚源(北京)科技有限公司 A kind of method and system for showing classification geography information
CN108391224A (en) * 2012-01-20 2018-08-10 联发科技股份有限公司 Determine the method and wireless device of the priority orders of localization method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1524188A (en) * 2001-03-05 2004-08-25 �����ɷ� Method and apparatus providing improved position estimate based on an initial coarse position estimate
CN101042430A (en) * 2006-03-23 2007-09-26 精工爱普生株式会社 Positioning device, positioning control method, positioning control program, and storage medium
CN101969599A (en) * 2010-10-22 2011-02-09 厦门雅迅网络股份有限公司 Geographical position based system and implementation method thereof for acquiring weather forecast
CN102036165A (en) * 2010-12-16 2011-04-27 中兴通讯股份有限公司 Positioning method and user terminal supporting multiple positioning modes
CN108391224A (en) * 2012-01-20 2018-08-10 联发科技股份有限公司 Determine the method and wireless device of the priority orders of localization method
CN104215980A (en) * 2013-06-05 2014-12-17 深圳市赛格导航科技股份有限公司 GPS (global positioning system) positioning method and device
CN103763678A (en) * 2014-01-27 2014-04-30 歌联科技(上海)有限公司 Method for achieving classification positioning by mobile monitoring terminal
CN104853431A (en) * 2014-02-18 2015-08-19 中兴通讯股份有限公司 Geographical location information positioning method and device
CN104468771A (en) * 2014-12-03 2015-03-25 北京国双科技有限公司 Method and device for determining geographical position
CN104539750A (en) * 2014-12-30 2015-04-22 深圳市兰丁科技有限公司 IP locating method and device
CN106936887A (en) * 2015-12-31 2017-07-07 珠海金山办公软件有限公司 A kind of geographic position locating method and device
CN108153766A (en) * 2016-12-05 2018-06-12 天脉聚源(北京)科技有限公司 A kind of method and system for showing classification geography information
CN107682823A (en) * 2017-09-18 2018-02-09 维沃移动通信有限公司 A kind of Weather information adding method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586577A (en) * 2020-04-16 2020-08-25 北京小米移动软件有限公司 Positioning method and device, mobile terminal and storage medium
CN111586577B (en) * 2020-04-16 2022-09-02 北京小米移动软件有限公司 Positioning method and device, mobile terminal and storage medium
CN115412593A (en) * 2021-05-14 2022-11-29 海能达通信股份有限公司 Method for adjusting function permission, control method, device, equipment and storage medium
CN115412593B (en) * 2021-05-14 2024-04-16 海能达通信股份有限公司 Method, control method, device, equipment and storage medium for adjusting function authority

Also Published As

Publication number Publication date
CN110087305B (en) 2021-06-04

Similar Documents

Publication Publication Date Title
CN106662628B (en) Positioning device, method, mobile device and computer program
CN107094319A (en) A kind of high-precision indoor and outdoor fusion alignment system and method
CN203054241U (en) Underground pipeline positioning system
CN110392342A (en) A kind of indoor and outdoor seamless positioning navigation methods and systems
CN106971683B (en) The intelligent guide guide system and method for inverse are just being calculated based on map reference
CN111741431B (en) Indoor positioning method and device, terminal and storage medium
CN109447150A (en) A kind of plants ' aesthetics method, apparatus, electronic equipment and storage medium
CN105004340A (en) Inertial navigation-fingerprint location-combined positioning error correction method
CN104780605A (en) Terminal location method and terminal location device
CN108734992A (en) A kind of parking lot positioning car searching method and medium
CN101587673A (en) View spot triggering method based on explication point in GPS intelligent guide system
CN106931985B (en) Scenic spot intelligent planning tourist guide path system and method based on hand-drawing map
CN108828643A (en) A kind of indoor and outdoor seamless positioning system and method based on grey forecasting model
CN108445520A (en) A kind of indoor and outdoor based on high in the clouds builds drawing method, device, electronic equipment and computer program product
CN110087305A (en) A kind of control method and control device of the accurate geographic position of quick obtaining in the application
CN105407530A (en) Tunnel positioning method and device
CN106899985A (en) The appraisal procedure and device of a kind of network coverage
CN111698774A (en) Indoor positioning method and device based on multi-source information fusion
CN105891866A (en) Positioning method and device and electronic equipment
CN103476111A (en) Method, device and system for obtaining geographic position information
CN110177259A (en) Underground parking navigation system and method
CN108898877A (en) A kind of intelligent searching system of the Large Underground Parking position based on Beidou positioning
CN111521183B (en) Indoor positioning navigation method based on real estate GIS
CN109270559A (en) The method and device that a kind of pair of terminal is positioned
CN108444475A (en) Intelligent terminal and its method for realizing indoor navigation

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