CN102186143B - Method, mobile terminal and system for acquiring positioning information - Google Patents

Method, mobile terminal and system for acquiring positioning information Download PDF

Info

Publication number
CN102186143B
CN102186143B CN201110141379.4A CN201110141379A CN102186143B CN 102186143 B CN102186143 B CN 102186143B CN 201110141379 A CN201110141379 A CN 201110141379A CN 102186143 B CN102186143 B CN 102186143B
Authority
CN
China
Prior art keywords
locating information
webserver
mobile terminal
information
original query
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110141379.4A
Other languages
Chinese (zh)
Other versions
CN102186143A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201110141379.4A priority Critical patent/CN102186143B/en
Publication of CN102186143A publication Critical patent/CN102186143A/en
Application granted granted Critical
Publication of CN102186143B publication Critical patent/CN102186143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for acquiring positioning information for use in a mobile terminal which can access a network. The method comprises the following steps of: S1, responding a user request to access a network server, and scanning the positioning information related to the current position; S2, storing the positioning information; and S3, adding the positioning information into an original inquiry request issued by the network server and sending the positioning information to the network server when the mobile terminal accesses the network server at any time after the positioning information is stored. Compared with the prior art, the method has the following beneficial effects: a WIFI (Wireless Fidelity), a base station and a GPS (Global Positioning System) scanning program can be prevented from permanently residing a background; thus, a large number of system resources are saved, and the positioning information can be acquired and uploaded instantaneously every time the request is issued.

Description

Gather the method for locating information, mobile terminal and system
Technical field
The present invention relates to areas of information technology, especially relate to a kind of gather locating information method and mobile terminal and system.
Background technology
Geo-location service (Location based service, LBS), also known as positioning service, it can judge the position at mobile terminal place, determine the geographical coordinate (latitude and longitude coordinates) of mobile phone users, thus the information on services relevant to position required for user is provided.The process of location may only need a few second, and the flow taken may only have tens bytes.Because the demand of consumer to service for life has the feature such as region and convenience, geo-location service is more and more welcome.
Well-known, by GPS, WIFI, base station positions, wherein, the precision of GPS location is the highest, and have direction, the data such as speed, can navigate, but, GPS is long for start-up time, and be invalid in indoor, in addition, GPS is when bad weather, the place that housing-group is too intensive all shows not good enough, and these factors are all overcome by Wi-Fi and/or architecture: mobile terminal can by the base station near detection and/or WIFI signal, and this base station and/or WIFI signal are sent to server, by server according to base station and/or WIFI signal, inquiry is stored in the corresponding geographical coordinate in the location database in this server, and Query Result is sent to positioning end, realize location.But everything all needs based on having a comparatively complete location database in server, and comprehensive degree of location database determines user's alignment quality: more comprehensive location database, and alignment quality is better.
At present, for setting up comparatively comprehensively location database, utilizing the very wide mobile terminal of covering to gather locating information to enrich database is a kind of conventional method, its usually way be: after mobile terminal has installed location-based service software, location-based service software can embed a background program in the terminal, this background program can scan the locating information around mobile terminal current location always, and constantly uploads onto the server.But such way can cause the wasting of resources of mobile terminal, as network traffics, battery electric power etc.
Summary of the invention
The object of the present invention is to provide a kind of method of improved collection locating information.
Another object of the present invention is to provide a kind of improved mobile terminal, described mobile terminal can apply the method for described improved collection locating information.
Another object of the present invention is to provide a kind of improved system, and described system can apply the method for described improved collection locating information.
Correspondingly, the method for the collection locating information of one embodiment of the present invention, comprising:
S1, the response user request access webserver, and the locating information that scanning is relevant to current location;
S2, described locating information to be stored;
Described locating information, when storing any access web server after described locating information, is added in the original query initiated to the described webserver, and is sent to the described webserver by S3, described mobile terminal.
As a further improvement on the present invention, described mobile terminal is sent to the described webserver by HTTP-POST mode.
As a further improvement on the present invention, described locating information include geographical coordinate, WIFI information, base station information at least one of them.
As a further improvement on the present invention, described locating information includes geographical coordinate, WIFI information and/or base station information.
As a further improvement on the present invention, described S3 step is specially: described mobile terminal is when storing any secondary response user request access webserver after described locating information, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.
As a further improvement on the present invention, described S3 step is specially: when the first time of described mobile terminal after storing described locating information responds user's request access webserver, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.
As a further improvement on the present invention, after described S3 step, also comprise:
Reduce described original query and described locating information;
Described locating information is sent to location database.
As a further improvement on the present invention, described S2 step specifically comprises:
Described locating information is combined as character string;
Described character string is stored in described mobile terminal.
As a further improvement on the present invention, before described " described character string is stored in described mobile terminal " step, also comprise:
Described character string is encrypted by code encryption mode.
As a further improvement on the present invention, described " described locating information is sent to location database " specifically comprises:
Decipher described locating information;
Described locating information is sent to location database.
As a further improvement on the present invention, after " reduce described original query and described locating information " step, also comprise:
Perform described original query;
Query Result is returned described mobile terminal.
As a further improvement on the present invention, described S3 step also comprises:
Scan the locating information relevant to current location.
As a further improvement on the present invention, described original query is URL request.
As a further improvement on the present invention, described S3 step specifically comprises:
Mobile terminal network visiting server;
Judge that whether whether consistent with the locating information uploaded recently or the described locating information of described locating information is the subset of the locating information uploaded recently;
If so, then described locating information is not added in original query;
If not, then described locating information is added in original query, is uploaded to the described webserver.
As a further improvement on the present invention, the described webserver is the webserver of non-location service.
Correspondingly, the mobile terminal of one embodiment of the present invention, comprising:
Scan module, for responding user's request access webserver, and the locating information that scanning is relevant to current location;
Memory module, for storing described locating information;
Mixed-media network modules mixed-media, for described mobile terminal when storing any access web server after described locating information, being added to described locating information in the original query initiated to the described webserver, and being sent to the described webserver.
As a further improvement on the present invention, described mobile terminal is sent to the described webserver by HTTP-POST mode.
As a further improvement on the present invention, described locating information include geographical coordinate, WIFI information, base station information at least one of them.
As a further improvement on the present invention, described locating information includes geographical coordinate, WIFI information and/or base station information.
As a further improvement on the present invention, described mixed-media network modules mixed-media is used for described mobile terminal when storing any secondary response user request access webserver after described locating information, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.
As a further improvement on the present invention, when described mixed-media network modules mixed-media responds user's request access webserver for the first time of described mobile terminal after storing described locating information, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.
As a further improvement on the present invention, described mobile terminal also comprises:
For described locating information being combined as the module of character string.
As a further improvement on the present invention, described mobile terminal also comprises:
For the module that described character string is encrypted by code encryption mode.
As a further improvement on the present invention, described original query is URL request.
As a further improvement on the present invention, described mixed-media network modules mixed-media also for:
Judge that whether whether consistent with the locating information uploaded recently or the described locating information of described locating information is the subset of the locating information uploaded recently;
If so, then described locating information is not added in original query;
If not, then described locating information is added in original query, is uploaded to the described webserver.
As a further improvement on the present invention, the described webserver is the webserver of non-location service.
Correspondingly, the system of one embodiment of the present invention, comprising:
As the mobile terminal in claim 16 to 26 as described in any one; And with the webserver of described communication of mobile terminal.
As a further improvement on the present invention, the described webserver comprises:
For reducing the module of described original query and described locating information;
For described locating information being sent to the module of location database.
As a further improvement on the present invention, the described webserver also comprises:
For performing the module of described original query.
Compared with prior art, the invention has the beneficial effects as follows: WIFI, base station, GPS scanning imaging system can be avoided to reside backstage, therefore saved a large amount of system resource, can accomplish that each initiation can obtain locating information instantaneously and upload when asking simultaneously.
Accompanying drawing explanation
Fig. 1 is the flow chart that an embodiment of the present invention gathers locating information method;
Fig. 2 is the flow chart that an embodiment of the present invention passes through to gather locating information method establishment location database;
Fig. 3 is that another execution mode of the present invention is by gathering the flow chart of locating information method establishment location database;
Fig. 4 is the particular flow sheet that an embodiment of the present invention gathers locating information method S3 step;
Fig. 5 is the system architecture diagram of an embodiment of the present invention.
Embodiment
Describe the present invention below with reference to each execution mode shown in the drawings.But these execution modes do not limit the present invention, the structure that those of ordinary skill in the art makes according to these execution modes, method or conversion functionally are all included in protection scope of the present invention.
As shown in Figure 1, in an embodiment of the present invention, described collection locating information method, for the mobile terminal of addressable network, described mobile terminal can comprise mobile phone, notebook, panel computer etc., it conducts interviews to network by mobile network (GPRS, EDGE, 3G etc.) and/or wireless network (WIFI etc.), and described collection locating information method comprises:
S1, the response user request access webserver, and the locating information that scanning is relevant to current location; Preferably, the described webserver can be to provide the webserver of location-based service, may also be the webserver of non-location service, such as, user is by the program of mobile terminal, as mapping program, browser etc., access provides the webserver of location-based service or the webserver of non-location service, and then is obtained the information of needs by the webserver.It is worth mentioning that: in this step, when described in mobile terminal accessing during the webserver/after, described mobile terminal also can scan the locating information relevant to user's current location, described locating information can comprise geographical coordinate in an embodiment of the present invention, WIFI information, base station information at least one of them, these locating information are carried or external GPS module by mobile terminal, WIFI module, base station module scans, certainly, in the present embodiment, these modules also may not all need, as long as described mobile terminal carry or external at least one of them.In another execution mode of the present invention, described locating information includes geographical coordinate, WIFI information and/or base station information, these locating information are carried by mobile terminal or external GPS module, WIFI module and/or base station module scan, in the present embodiment, described mobile terminal must carry or external GPS module, and one of them of WIFI module and base station module.
S2, described locating information to be stored; Preferably, in the present embodiment, can the above-mentioned locating information collected be stored in mobile terminal, such as, in the memory module of mobile terminal, preferably, described locating information can be stored in the RAM of described mobile terminal.
S3, described mobile terminal are when storing any access web server after described locating information, described locating information is added in the original query initiated to the described webserver, generate new inquiry request, and be sent to the described webserver.In one embodiment of the present invention, described mobile terminal is by multiple exercise S1, S2 step, after storage many locating information, pass through access web server again, described locating information is added in the original query thinking that the described webserver is initiated, be sent to the described webserver, wherein, again described locating information is sent to the webserver after storing how many locating information, set by actual conditions, the hardware environment, network environment etc. of such as described mobile terminal.Preferably, in another execution mode of invention, described S3 step can add trigger condition, namely be that described S3 step is adjusted to: described mobile terminal is when storing any secondary response user request access webserver after described locating information, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.By present embodiment, the number of times uploaded can be made consistent with the number of times of user's request access webserver, ensure that good Consumer's Experience, better saved the system resource of mobile terminal.Preferably, in preferred forms of the present invention, described S3 step is: when the first time of described mobile terminal after storing described locating information responds user's request access webserver, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.Pass through present embodiment, effectively can ensure that described locating information is sent to the described webserver, when mobile terminal can not be caused to open other programs, the locating information of described storage is extruded by force the locating information that memory module causes and fail to have enough time to be sent to the webserver; Meanwhile, the inconvenience brought when present embodiment also can avoid batch to upload described locating information.
By above-mentioned collection position information approach, because the positional information collected is stored in mobile terminal, therefore can accomplish that each initiation can obtain locating information instantaneously and upload when asking.
Preferably, described locating information being added in the original query initiated to the described webserver, when being sent to the described webserver, is be sent to the described webserver by HTTP-POST mode.And preferably, described original query is URL request, such as: http:// www.baidu.com.Preferably, described locating information is added: be added to the character string after described encryption the last of original query by following form, and centre connects with an & loc=again, namely new inquiry request is original query & loc=character string.
It is worth mentioning that: the webserver of described S1 step and the webserver of described S3 step can be same the webserver, also can be the different webservers, the webserver of described S3 step can be to provide the webserver of location-based service, may also be the webserver of non-location service.When described S3 step is for providing the webserver of location-based service, illustrate by following composition graphs 2 mode that it sets up location database; When described S3 step is the webserver of non-location service, illustrate by following composition graphs 3 mode that it sets up location database.
As shown in Figure 2, an embodiment of the present invention is by gathering the flow chart of locating information method establishment location database.Wherein, for setting up described location database, that includes the collection locating information step of mobile terminal 10 and the analyzing stored step of webserver 20b, in the present embodiment, the described webserver is for providing the webserver 20b of location-based service.
Wherein, the collection positioning step performed at described mobile terminal 10 is as described in above-mentioned composition graphs 1, and include S1, S2, S3 step, wherein, S2 step specifically comprises:
Described locating information is combined as character string; Preferably, if when described locating information includes geographical coordinate, WIFI information, base station information, in the present embodiment, can be " & cl=CCCC|C|CCCC|CCCCC & wf=WWWWWW by described information combination; WWW; | WWWW; WW; & ll=x|y " like this form character string and store, wherein, the four elements of described " cl=CCCC|C|CCCC|CCCCC " respective base station respectively; Described " wf=WWWWWW; WWW; | WWWW; WW " can be MAC Address and the signal strength signal intensity of one or more WIFI, " | " is for splitting multiple different WIFI; The longitude that described " ll=x|y " is geographical coordinate | latitude.If described framing signal only included geographical coordinate, WIFI information, base station information one of them, or wherein two, also can be combined as character string according to above-mentioned form.
Described character string is encrypted by code encryption mode, in order to avoid transmitting procedure has unsafe factor; Preferably, described code encryption mode is base64+md5 cipher mode.
Described character string is stored in described mobile terminal.Preferably, in the present embodiment, can the locating information character string after above-mentioned encryption be stored in mobile terminal, such as, in the memory module of mobile terminal, preferably, described locating information can be stored in the RAM of described mobile terminal.
Now, by S3 step, described locating information is added in the original query initiated to described webserver 20b, generates new inquiry request, and be sent to described webserver 20b.Receive the new inquiry request of described mobile terminal initiation at described webserver 20b after, following steps can be performed in described webserver 20b:
Reduce described original query and described locating information; Preferably, namely be that new inquiry request is resolved from back to front, such as new inquiry request is: original query & loc=character string, two groups are divided into according to first the & loc run into, the content of first group is original query, and the content of second group is the locating information collected.
Perform described original query; Described original query after reduction is inquired about by the described webserver, and Query Result is returned described mobile terminal;
And, decipher described locating information; Locating information character string after described encryption is also decrypted by the described webserver, and the locating information after described deciphering is sent in location database and stores.Certainly, if described character string is not encrypted at mobile terminal, then the described locating information step of described deciphering can be omitted.
It is worth mentioning that: described execution original query, the step described Query Result being returned described mobile terminal and described deciphering locating information, described locating information is sent to the step that stores in the location database sequencing not on logical level, it can perform simultaneously, also any one preferentially can be performed.
Wherein, after obtaining described locating information, if include geographical coordinate (GPS information) in described locating information, then described locating information can be converted in described location database and store after specific locating information format; If described locating information does not comprise geographical coordinate (GPS information), and only have WIFI information and/or base station information, then by the locating information in existing location database, extrapolate the geographical coordinate of described WIFI information and/or described base station information, and in conjunction with described reckoning result, described WIFI information and/or described base station information to be converted in described location database after specific locating information format, to be stored in described location database.
As shown in Figure 3, another execution mode of the present invention is by gathering the flow chart of locating information method establishment location database.Wherein, for setting up described location database, that includes the collection locating information step of mobile terminal 10 and the analysis and consult step of webserver 20a, and the storing step of webserver 20b, in the present embodiment, described webserver 20a is the webserver 20a of non-location service.
Wherein, the collection positioning step performed at described mobile terminal 10 is as described in above-mentioned composition graphs 1, and include S1, S2, S3 step, wherein, S2 step specifically comprises:
Described locating information is combined as character string; Preferably, if when described locating information includes geographical coordinate, WIFI information, base station information, in the present embodiment, can be " & cl=CCCC|C|CCCC|CCCCC & wf=WWWWWW by described information combination; WWW; | WWWW; WW; & ll=x|y " like this form character string and store, wherein, the four elements of described " cl=CCCC|C|CCCC|CCCCC " respective base station respectively; Described " wf=WWWWWW; WWW; | WWWW; WW " can be MAC Address and the signal strength signal intensity of one or more WIFI, " | " is for splitting multiple different WIFI; The longitude that described " ll=x|y " is geographical coordinate | latitude.If described framing signal only included geographical coordinate, WIFI information, base station information one of them, or wherein two, also can be combined as character string according to above-mentioned form.
Described character string is encrypted by code encryption mode, in order to avoid transmitting procedure has unsafe factor; Preferably, described code encryption mode is base64+md5 cipher mode.
Described character string is stored in described mobile terminal.Preferably, in the present embodiment, can the locating information character string after above-mentioned encryption be stored in mobile terminal, such as, in the memory module of mobile terminal, preferably, described locating information can be stored in the RAM of described mobile terminal.
Now, by S3 step, described locating information is added in the original query initiated to described webserver 20a, generates new inquiry request, and be sent to described webserver 20a.Receive the new inquiry request of described mobile terminal initiation at described webserver 20a after, following steps can be performed in described webserver 20a:
Reduce described original query and described locating information; Preferably, namely be that new inquiry request is resolved from back to front, such as new inquiry request is: original query & loc=character string, two groups are divided into according to first the & loc run into, the content of first group is original query, and the content of second group is the locating information collected.
Perform described original query; Described original query after reduction is inquired about by the described webserver, and Query Result is returned described mobile terminal;
And described locating information be sent to and provide in the webserver 20b of location-based service, described webserver 20b, after receiving described locating information, can perform following steps:
Decipher described locating information; Locating information character string after described encryption is decrypted, and the locating information after described deciphering is sent in location database stores.Certainly, if described character string is not encrypted at mobile terminal, then the described locating information step of described deciphering can be omitted.
It is worth mentioning that: described execution original query, described Query Result is returned described mobile terminal step and described locating information is sent to webserver 20b, in described webserver 20b, deciphers locating information, described locating information is sent to the step that stores in the location database sequencing not on logical level, it can perform simultaneously, also any one preferentially can be performed.
Wherein, after obtaining described locating information, if include geographical coordinate (GPS information) in described locating information, then described locating information can be converted in described location database and store after specific locating information format; If described locating information does not comprise geographical coordinate (GPS information), and only have WIFI information and/or base station information, then by the locating information in existing location database, extrapolate the geographical coordinate of described WIFI information and/or described base station information, and in conjunction with described reckoning result, described WIFI information and/or described base station information to be converted in described location database after specific locating information format, to be stored in described location database.
As shown in Figure 4, in an embodiment of the present invention, described S3 step specifically comprises:
S30, mobile terminal network visiting server; The described webserver can be the webserver 20b of the provided location-based service described in Fig. 2, also can be the webserver 20a of the non-location service described in Fig. 3.
S31, judge that whether whether consistent with the locating information uploaded recently or the described locating information of described locating information is the subset of the locating information uploaded recently; Because gathering the work that locating information is a continuation, therefore each mobile terminal all can collect different positional informations in different places, but, if identical positional information is uploaded, then not only waste the Internet resources of mobile terminal, the simultaneously also temporary bandwidth of the webserver, wastes Internet resources, therefore needs to judge that whether whether consistent with the locating information uploaded recently or the described locating information of current location information is the subset of the locating information uploaded recently.Wherein, described uploading recently refers to and above with the time collecting current location information immediately once uploads record.The described parameters that refer in the current location information that collect consistent with locating information, as geographical coordinate, WIFI signal, base station signal, with the parameters uploading the webserver recently, as completely the same in geographical coordinate, WIFI signal, base station signal, be namely representative of consumer be acquire twice in same place.The subset of described locating information refers to, WIFI signal in the current location information collected and/or base station signal, belong to and upload the WIFI signal of the webserver and/or the subset of base station signal recently, as, WIFI signal in the current location information collected comprises B, C, D, and the WIFI signal uploaded recently is A, B, C, D, then think that current location information is the subset of the locating information uploaded recently.
S32, if so, then described locating information is not added in original query; Usually, if whether described locating information is consistent with the locating information uploaded recently or described locating information is the subset of the locating information uploaded recently, then to go out the geographical position of user's twice Information Monitoring identical or close in deducibility, then described locating information is not added in original query, to save the resource of described mobile terminal and the described webserver.
S33, if not, then described locating information is added in original query, is sent to the described webserver.Usually, if described locating information whether with the subset of locating information of the inconsistent or described locating information of the locating information uploaded recently for uploading recently, then to go out the geographical position of user's twice Information Monitoring not identical in deducibility, then described locating information is added in original query, upload server, to enrich described location database.
Preferably, described S3 step also comprises the scanning locating information step (not shown) relevant to current location, by this step, the effect of S1 step can be reached, like this, in a subsequent step, circulation performs S2 and S3 step constantly can collect locating information, and is uploaded to the webserver.
As shown in Figure 5, be the system architecture diagram of an embodiment of the present invention.Preferably, collection positioning information system of the present invention includes mobile terminal 10 and the webserver 20a with described communication of mobile terminal.
Wherein, described mobile terminal 10 comprises:
Scan module 101, for responding user's request access webserver, and the locating information that scanning is relevant to current location; Preferably, the described webserver 20 can be to provide the webserver of location-based service, may also be the webserver of non-location service, such as, user is by the program of mobile terminal, as mapping program, browser etc., access provides the webserver of location-based service or the webserver of non-location service, and then is obtained the information of needs by the webserver.It is worth mentioning that: in this step, when mobile terminal 10 accesses the described webserver 20/after, described mobile terminal 10 also can scan the locating information relevant to user's current location, described locating information can comprise geographical coordinate in an embodiment of the present invention, WIFI information, base station information at least one of them, these locating information are carried or external GPS module by mobile terminal, WIFI module, base station module scans, certainly, in the present embodiment, these modules also may not all need, as long as described mobile terminal carry or external at least one of them.In another execution mode of the present invention, described locating information includes geographical coordinate, WIFI information and/or base station information, these locating information are carried by mobile terminal or external GPS module, WIFI module and/or base station module scan, in the present embodiment, described mobile terminal must carry or external GPS module, and one of them of WIFI module and base station module.
Memory module 102, for storing described locating information; Preferably, in the present embodiment, can be stored in mobile terminal 10 by the above-mentioned locating information collected, such as, in the memory module 102 of mobile terminal, preferably, described memory module 102 is the RAM of described mobile terminal 10.
Mixed-media network modules mixed-media 103, for described mobile terminal when storing any access web server after described locating information, being added to described locating information in the original query initiated to the described webserver, and being sent to the described webserver.In one embodiment of the present invention, described mobile terminal is by multiple exercise scan module 101 and memory module 102, after storage many locating information, pass through access web server again, described locating information is added in the original query thinking that the described webserver is initiated, be sent to the described webserver, wherein, again described locating information is sent to the webserver after storing how many locating information, set by actual conditions, the hardware environment, network environment etc. of such as described mobile terminal.Preferably, in another execution mode of invention, described mixed-media network modules mixed-media 103 also can be used for: described mobile terminal is when storing any secondary response user request access webserver after described locating information, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.By present embodiment, the number of times uploaded can be made consistent with the number of times of user's request access webserver, ensure that good Consumer's Experience, better saved the system resource of mobile terminal.Preferably, in preferred forms of the present invention, described mixed-media network modules mixed-media 103 also can be used for: when the first time of described mobile terminal after storing described locating information responds user's request access webserver, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.Pass through present embodiment, effectively can ensure that described locating information is sent to the described webserver, when mobile terminal can not be caused to open other programs, the locating information of described storage is extruded by force the locating information that memory module causes and fail to have enough time to be sent to the webserver; Meanwhile, the inconvenience brought when present embodiment also can avoid batch to upload described locating information.
Preferably, described locating information being added in the original query initiated to the described webserver, when being sent to the described webserver, is be sent to the described webserver by HTTP-POST mode.Such as, and preferably, described original query is URL request: http://www.baidu.com.Preferably, described locating information is added: be added to the character string after described encryption the last of original query by following form, and centre connects with an & loc=again, namely new inquiry request is original query & loc=character string.
It is worth mentioning that: in described scan module, respond the webserver of accessing in the webserver of user's request access and described mixed-media network modules mixed-media can be same the webserver, also can be the different webservers, the webserver of accessing in described mixed-media network modules mixed-media can be to provide the webserver of location-based service, may also be the webserver of non-location service.When the server of accessing in described mixed-media network modules mixed-media is for providing the webserver of location-based service, illustrate by above-mentioned composition graphs 2 mode that it sets up location database; When the server of accessing in described mixed-media network modules mixed-media is the webserver of non-location service, illustrate by above-mentioned composition graphs 3 mode that it sets up location database.
In an embodiment of the present invention, described mobile terminal also comprises: composite module 104, for described locating information is combined as character string; Preferably, if when described locating information includes geographical coordinate, WIFI information, base station information, in the present embodiment, can be " & cl=CCCC|C|CCCC|CCCCC & wf=WWWWWW by described information combination; WWW; | WWWW; WW; & ll=x|y " like this form character string and store, wherein, the four elements of described " cl=CCCC|C|CCCC|CCCCC " respective base station respectively; Described " wf=WWWWWW; WWW; | WWWW; WW " can be MAC Address and the signal strength signal intensity of one or more WIFI, " | " is for splitting multiple different WIFI; The longitude that described " ll=x|y " is geographical coordinate | latitude.If described framing signal only included geographical coordinate, WIFI information, base station information one of them, or wherein two, also can be combined as character string according to above-mentioned form.
Encrypting module 105, for described character string being encrypted by code encryption mode, in order to avoid transmitting procedure has unsafe factor; Preferably, described code encryption mode is base64+md5 cipher mode.
It is worth mentioning that: described mixed-media network modules mixed-media 103 also for:
Judge that whether whether consistent with the locating information uploaded recently or the described locating information of described locating information is the subset of the locating information uploaded recently; Because gathering the work that locating information is a continuation, therefore each mobile terminal all can collect different positional informations in different places, but, if identical positional information is uploaded, then not only waste the Internet resources of mobile terminal, the simultaneously also temporary bandwidth of the webserver, wastes Internet resources, therefore needs to judge that whether whether consistent with the locating information uploaded recently or the described locating information of current location information is the subset of the locating information uploaded recently.Wherein, described uploading recently refers to and above with the time collecting current location information immediately once uploads record.The described parameters that refer in the current location information that collect consistent with locating information, as geographical coordinate, WIFI signal, base station signal, with the parameters uploading the webserver recently, as completely the same in geographical coordinate, WIFI signal, base station signal, be namely representative of consumer be acquire twice in same place.The subset of described locating information refers to, WIFI signal in the current location information collected and/or base station signal, belong to and upload the WIFI signal of the webserver and/or the subset of base station signal recently, as, WIFI signal in the current location information collected comprises B, C, D, and the WIFI signal uploaded recently is A, B, C, D, then think that current location information is the subset of the locating information uploaded recently, if so, then described locating information is not added in original query; Usually, if whether described locating information is consistent with the locating information uploaded recently or described locating information is the subset of the locating information uploaded recently, then to go out the geographical position of user's twice Information Monitoring identical or close in deducibility, then described locating information is not added in original query, to save the resource of described mobile terminal and the described webserver.If not, then described locating information is added in original query, is sent to the described webserver.Usually, if described locating information whether with the subset of locating information of the inconsistent or described locating information of the locating information uploaded recently for uploading recently, then to go out the geographical position of user's twice Information Monitoring not identical in deducibility, then described locating information is added in original query, upload server, to enrich described location database.
The described webserver comprises:
Analysis module 202, for reducing the module of described original query and described locating information; Preferably, namely be that new inquiry request is resolved from back to front, such as new inquiry request is: original query & loc=character string, two groups are divided into according to first the & loc run into, the content of first group is original query, and the content of second group is the locating information collected.Described analysis module 202 is also for being decrypted the locating information character string after described encryption.
Mixed-media network modules mixed-media 201, for being sent to the module of location database by described locating information.Wherein, the described webserver is the webserver of non-location service, then described locating information is sent to the webserver that can provide location-based service by described mixed-media network modules mixed-media 201, and described locating information is stored in location database by the described webserver of location-based service that provides.In addition, described mixed-media network modules mixed-media 201 is also for connecting described mobile terminal 10.
Search engine 203, for performing the module of described original query.Described Query Result is also back to described mobile terminal 10 by described mixed-media network modules mixed-media 201 by described search engine 203.
For convenience of description, various unit is divided into describe respectively with function when describing above device.Certainly, the function of each unit can be realized in same or multiple software and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each execution mode of the application or execution mode.
Device embodiments described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The application can be used in numerous general or special purpose computing system environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, system, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc. based on microprocessor.
The application can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the application in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
Be to be understood that, although this specification is described according to execution mode, but not each execution mode only comprises an independently technical scheme, this narrating mode of specification is only for clarity sake, those skilled in the art should by specification integrally, technical scheme in each execution mode also through appropriately combined, can form other execution modes that it will be appreciated by those skilled in the art that.
A series of detailed description listed is above only illustrating for feasibility execution mode of the present invention; they are also not used to limit the scope of the invention, all do not depart from the skill of the present invention equivalent implementations done of spirit or change all should be included within protection scope of the present invention.

Claims (27)

1. gather a method for locating information, for the mobile terminal of addressable network, it is characterized in that, the method for described collection locating information comprises the following steps:
S1, the response user request access webserver, and the locating information that scanning is relevant to current location;
S2, described locating information to be stored;
Described locating information, when storing any secondary response user request access webserver after described locating information, is added in the original query initiated to the described webserver, and is sent to the described webserver by S3, described mobile terminal.
2. method according to claim 1, is characterized in that, described mobile terminal is sent to the described webserver by HTTP-POST mode.
3. method according to claim 1, is characterized in that, described locating information include geographical coordinate, WIFI information, base station information at least one of them.
4. method according to claim 1, is characterized in that, described locating information includes geographical coordinate, WIFI information and/or base station information.
5. method according to claim 1, it is characterized in that, described S3 step is specially: when the first time of described mobile terminal after storing described locating information responds user's request access webserver, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.
6. method according to claim 1, is characterized in that, after described S3 step, also comprises:
Reduce described original query and described locating information;
Described locating information is sent to location database.
7. method according to claim 6, is characterized in that, described S2 step specifically comprises:
Described locating information is combined as character string;
Described character string is stored in described mobile terminal.
8. method according to claim 7, is characterized in that, before described " described character string is stored in described mobile terminal " step, also comprises:
Described character string is encrypted by code encryption mode.
9. method according to claim 8, is characterized in that, described " described locating information is sent to location database " specifically comprises:
Decipher described locating information;
Described locating information is sent to location database.
10. method according to claim 6, is characterized in that, after " reduce described original query and described locating information " step, also comprises:
Perform described original query;
Query Result is returned described mobile terminal.
11. methods according to claim 1, is characterized in that, described S3 step also comprises:
Scan the locating information relevant to current location.
12. methods according to claim 1, is characterized in that, described original query is URL request.
13. methods according to claim 12, is characterized in that, described S3 step specifically comprises:
Mobile terminal network visiting server;
Judge that whether whether consistent with the locating information uploaded recently or the described locating information of described locating information is the subset of the locating information uploaded recently;
If so, then described locating information is not added in original query;
If not, then described locating information is added in original query, is sent to the described webserver.
14. methods according to claim 1, is characterized in that, the described webserver is the webserver of non-location service.
15. 1 kinds of mobile terminals gathering locating information, described mobile terminal addressable network, is characterized in that, described mobile terminal comprises:
Scan module, for responding user's request access webserver, and the locating information that scanning is relevant to current location;
Memory module, for storing described locating information;
Mixed-media network modules mixed-media, for described mobile terminal when storing any secondary response user request access webserver after described locating information, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.
16. mobile terminals according to claim 15, is characterized in that, described mobile terminal is sent to the described webserver by HTTP-POST mode.
17. mobile terminals according to claim 15, is characterized in that, described locating information include geographical coordinate, WIFI information, base station information at least one of them.
18. mobile terminals according to claim 15, is characterized in that, described locating information includes geographical coordinate, WIFI information and/or base station information.
19. mobile terminals according to claim 15, it is characterized in that, when described mixed-media network modules mixed-media responds user's request access webserver for the first time of described mobile terminal after storing described locating information, described locating information is added in the original query initiated to the described webserver, and is sent to the described webserver.
20. mobile terminals according to claim 15, is characterized in that, described mobile terminal also comprises:
For described locating information being combined as the module of character string.
21. mobile terminals according to claim 20, is characterized in that, described mobile terminal also comprises:
For the module that described character string is encrypted by code encryption mode.
22. mobile terminals according to claim 15, is characterized in that, described original query is URL request.
23. mobile terminals according to claim 22, is characterized in that, described mixed-media network modules mixed-media also for:
Judge that whether whether consistent with the locating information uploaded recently or the described locating information of described locating information is the subset of the locating information uploaded recently;
If so, then described locating information is not added in original query;
If not, then described locating information is added in original query, is sent to the described webserver.
24. mobile terminals according to claim 15, is characterized in that, the described webserver is the webserver of non-location service.
25. 1 kinds of systems gathering locating information, it is characterized in that, described system comprises: as the mobile terminal in claim 15 to 24 as described in any one; And with the webserver of described communication of mobile terminal.
26. systems according to claim 25, is characterized in that, the described webserver comprises:
For reducing the module of described original query and described locating information;
For described locating information being sent to the module of location database.
27. systems according to claim 26, is characterized in that, the described webserver also comprises:
For performing the module of described original query.
CN201110141379.4A 2011-05-27 2011-05-27 Method, mobile terminal and system for acquiring positioning information Active CN102186143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110141379.4A CN102186143B (en) 2011-05-27 2011-05-27 Method, mobile terminal and system for acquiring positioning information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110141379.4A CN102186143B (en) 2011-05-27 2011-05-27 Method, mobile terminal and system for acquiring positioning information

Publications (2)

Publication Number Publication Date
CN102186143A CN102186143A (en) 2011-09-14
CN102186143B true CN102186143B (en) 2015-01-07

Family

ID=44572201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110141379.4A Active CN102186143B (en) 2011-05-27 2011-05-27 Method, mobile terminal and system for acquiring positioning information

Country Status (1)

Country Link
CN (1) CN102186143B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377205A (en) * 2012-04-18 2013-10-30 腾讯科技(深圳)有限公司 Method and device for executing scheduled tasks
CN103841599B (en) * 2012-11-27 2017-03-15 北京百度网讯科技有限公司 The appraisal procedure and system of wireless location ability
CN103885955B (en) * 2012-12-19 2017-11-21 中国电信股份有限公司 WiFi positioning datums collecting method, system and collection client
CN104426937A (en) * 2013-08-26 2015-03-18 何愈 Method for locating content recorded by other equipment through mobile phone and cloud computation
CN104359495A (en) * 2014-11-20 2015-02-18 百度在线网络技术(北京)有限公司 Application testing method and device
CN106332272B (en) 2015-07-01 2020-02-18 Oppo广东移动通信有限公司 Positioning method and device
CN106535321B (en) * 2015-09-10 2019-11-12 展讯通信(上海)有限公司 Mobile terminal and its localization method
CN106535111B (en) * 2015-09-10 2019-12-17 展讯通信(上海)有限公司 mobile terminal and positioning method thereof
CN106535320B (en) * 2015-09-10 2019-12-17 展讯通信(上海)有限公司 Mobile terminal and positioning method thereof
CN106535318B (en) * 2015-09-10 2020-01-17 展讯通信(上海)有限公司 Mobile terminal and positioning method thereof
CN106535317B (en) * 2015-09-10 2019-12-17 展讯通信(上海)有限公司 Mobile terminal and positioning method thereof
CN110209673B (en) * 2019-05-31 2022-01-28 四川长虹电器股份有限公司 Method for storing, converting and inquiring positioning data
CN115379384B (en) * 2022-10-27 2023-02-28 武汉格蓝若智能技术股份有限公司 High-precision network positioning method, system, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402443A (en) * 2001-08-06 2003-03-12 株式会社电装 Radio communication terminal unit and method for sending locating information
CN101666872A (en) * 2009-09-16 2010-03-10 深圳市融创天下科技发展有限公司 Video locating method and system of vehicles
CN101835258A (en) * 2010-04-21 2010-09-15 张磊 Mobile terminal positioning method and system independent of base station positioning information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025440A (en) * 2006-02-24 2007-08-29 仇伟军 GPS and mobile communication network combined positioning method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402443A (en) * 2001-08-06 2003-03-12 株式会社电装 Radio communication terminal unit and method for sending locating information
CN101666872A (en) * 2009-09-16 2010-03-10 深圳市融创天下科技发展有限公司 Video locating method and system of vehicles
CN101835258A (en) * 2010-04-21 2010-09-15 张磊 Mobile terminal positioning method and system independent of base station positioning information

Also Published As

Publication number Publication date
CN102186143A (en) 2011-09-14

Similar Documents

Publication Publication Date Title
CN102186143B (en) Method, mobile terminal and system for acquiring positioning information
US10116585B2 (en) Internet of things application framework
CN106792992B (en) Method and equipment for providing wireless access point information
WO2017020553A1 (en) Method and device for establishing wireless connection
TWI500334B (en) Method and apparatus for reporting of measurement data
US20080171556A1 (en) Database update systems
CN102802116A (en) Information pushing method and server as well as system
CN105282505A (en) Video data transmission method and device
CN102710965B (en) Video monitoring data acquisition method and system and special bearing network
WO2017125025A1 (en) Call method, device, system, and storage medium
CN103686591A (en) Method and system for acquiring position information
CN102802258A (en) Method, server and system for extending locating database
US9479895B2 (en) Location-oriented services
CN104038261A (en) Multi device position information managing and sharing method and relevant device
CN111262865A (en) Method, device and system for making access control strategy
CN104125262A (en) Household appliance control system and data analysis method thereof
CN103684926A (en) Method and device for testing network speed of local area network
CN112511459B (en) Traffic identification method and device, electronic equipment and storage medium
US20160150425A1 (en) System and method of providing a synthetic transaction platform for analyzing communication between a mobile device and a wireless network
CN110635965A (en) IPv6 network quality monitoring method, equipment and storage medium
US10382305B2 (en) Applying sequenced instructions to connect through captive portals
CN105279067A (en) Method and device for reporting information
CN104038900A (en) Locating method and equipment
WO2014187601A1 (en) Device to device communication
KR20150120555A (en) Global IoT Resource Discovery Service Method and Server using the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant