CN104243516A - Method and system for obtaining geographical location information of terminals, server and terminals - Google Patents
Method and system for obtaining geographical location information of terminals, server and terminals Download PDFInfo
- Publication number
- CN104243516A CN104243516A CN201310233521.7A CN201310233521A CN104243516A CN 104243516 A CN104243516 A CN 104243516A CN 201310233521 A CN201310233521 A CN 201310233521A CN 104243516 A CN104243516 A CN 104243516A
- Authority
- CN
- China
- Prior art keywords
- terminal
- geographical location
- location information
- identification information
- quick response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The invention provides a method and system for obtaining geographical location information of terminals, a server and the terminals. The method includes the steps of obtaining a positioning service request for positioning the first terminal and the identity information of the first terminal, informing the first terminal to generate a two-dimension code carrying the identification information of the first terminal according to the positioning service request, receiving the geographical location information, sent by the second terminal with the positioning function, of the second terminal and the identification information obtained by the second terminal according to the two-dimension code, determining the first terminal matched with the identification information according to the identification information sent by the second terminal, and determining the geographical location information of the second terminal as the geographical location information of the first terminal. By the adoption of the method, the server, the terminals and the system, the accuracy of the obtained geographical location information of the first terminal can be improved.
Description
Technical field
The application relates to network data processing field, particularly a kind of acquisition methods of geographical location information side of terminal, server, terminal and system.
Background technology
At more and more universal present of GPS (Global Positioning System, global positioning system), some mobile terminals, such as mobile phone or PAD (panel computer) etc., all have GPS positioning function.In this application, the mobile terminal these with GPS positioning function is called can locating terminal.But it realizes positioning function also to have some communication terminals not have hardware supports, such as, at present, PC (Personal Computer, personal computer) and notebook computer etc.
In prior art, in in acquisition, those itself do not have the geographical location information of the communication terminal of positioning function, can according to IP (Internet Protocol, the agreement interconnected between the network) address of communication terminal online to confirm the position of this communication terminal.But the IP generally in IP storehouse can only indicate a geographic area in a big way, this just makes prior art when carrying out itself and not having the acquisition of the geographical location information of the communication terminal of positioning function, often can only navigate to a geographical position in a big way, make the geographical location information precision of the communication terminal got lower.
In a word, the technical problem needing those skilled in the art urgently to solve at present is exactly: the acquisition methods of the geographical location information of a kind of terminal of proposition how can innovate, with the problem that the acquisition result precision solving the geographical location information of terminal in prior art is lower.
Summary of the invention
Technical problems to be solved in this application are to provide a kind of acquisition methods of geographical location information of terminal, the problem that the acquisition result precision in order to solve the geographical location information of terminal in prior art is lower.
Present invention also provides the acquisition server of the geographical location information of terminal, terminal and system, in order to ensure said method implementation and application in practice.
In order to solve the problem, this application discloses a kind of acquisition methods of geographical location information of terminal, comprising:
Obtain the identification information being used for request for location services and the described first terminal that first terminal is positioned;
Notify that described first terminal generates the Quick Response Code carrying the identification information of described first terminal according to described request for location services;
The identification information that the geographical location information of the second terminal that the second terminal that reception has positioning function sends and the second terminal obtain according to described Quick Response Code;
The first terminal of described identification information match is determined according to the described identification information of described second terminal transmission;
The geographical location information of described second terminal is defined as the geographical location information of described first terminal.
Optionally, also comprise:
The geographical location information of described first terminal is back to described first terminal.
This application discloses the acquisition methods of the geographical location information of another kind of terminal, the method comprises:
Obtain the identification information being used for request for location services and the first terminal that first terminal is positioned;
Generate the Quick Response Code carrying the identification information of first terminal according to request for location services, and described Quick Response Code is back to first terminal;
The identification information that the geographical location information of the second terminal that the second terminal that reception has positioning function sends and the second terminal obtain according to described Quick Response Code;
The first terminal of described identification information match is determined according to the described identification information of the second terminal transmission;
The geographical location information of described second terminal is defined as the geographical location information of described first terminal.
Optionally, the described locating information by described second terminal transmission also comprises after being defined as the geographical location information of described first terminal:
The geographical location information of described first terminal is back to described first terminal.
Disclosed herein as well is the geographical position information acquisition method of another terminal, the method comprises:
What scanning target terminal generated carries the identification information of described target terminal and the Quick Response Code of positioning command;
According to described positioning command triggered location function to obtain current geographical location information;
The identification information sending described current geographical location information and described target terminal, to server end, makes described server end described geographical location information is defined as the geographical location information of the target terminal of described identification information match.
Disclosed herein as well is a kind of server, comprising:
Acquisition module, for obtaining the identification information of request for location services for positioning first terminal and described first terminal;
Notification module, for notifying that according to described request for location services described first terminal generates the Quick Response Code carrying the identification information of described first terminal;
Receiver module, for receiving the geographical location information of the second terminal that second terminal with positioning function sends and the identification information that obtains according to described Quick Response Code;
First determination module, for the first terminal determining described identification information match according to the identification information of Quick Response Code acquisition sent according to described second terminal;
Second determination module, for being defined as the geographical location information of described first terminal by the geographical location information of described second terminal.
Optionally, also comprise:
First returns module, for the geographical location information of described first terminal is back to described first terminal.
The application also discloses another kind of server, comprising:
Acquisition module, for obtaining the identification information of request for location services for positioning first terminal and first terminal;
Generate Quick Response Code module, for generating the Quick Response Code carrying the identification information of first terminal according to request for location services;
Second returns module, for described Quick Response Code is back to first terminal;
Receiver module, has the geographical location information of the second terminal of the second terminal transmission of positioning function and the identification information according to Quick Response Code acquisition for receiving;
First determination module, for the first terminal determining described identification information match according to the identification information of Quick Response Code acquisition sent according to the second terminal;
Second determination module, for being defined as the geographical location information of described first terminal by the geographical location information of described second terminal.
Optionally, also comprise:
First returns module, for the geographical location information of described first terminal is back to described first terminal.
Disclosed herein as well is a kind of terminal, comprising:
Scan module, for scan target terminal generate carry the identification information of described target terminal and the Quick Response Code of positioning command;
Locating module, for according to described positioning command triggered location function to obtain current geographical location information;
Sending module, for sending the identification information of described current geographical location information and described target terminal to server end, makes described server end described geographical location information is defined as the geographical location information of the target terminal of described identification information match.
Disclosed herein as well is a kind of acquisition system of geographical location information of terminal, this system comprises: first terminal, second terminal with positioning function and server, wherein,
Described first terminal, for initiating the identification information of request for location services and described first terminal to described server, and generates in response to the notice of server the Quick Response Code carrying the identification information of described first terminal;
Described second terminal, for scanning described Quick Response Code, and according to described Quick Response Code triggered location function to obtain current geographical location information, and send the identification information of the first terminal that described current geographical location information and described Quick Response Code carry to described server;
Described server, for the identification information of the first terminal according to the second terminal transmission, is defined as the geographical location information of first terminal by the geographical location information of described second terminal.
Disclosed herein as well is the acquisition system of the geographical location information of another kind of terminal, this system comprises: first terminal, second terminal with positioning function and server, wherein,
Described first terminal, for initiating the identification information of request for location services and described first terminal to described server, and the Quick Response Code that reception server returns;
Described second terminal, for scanning described Quick Response Code, and according to described Quick Response Code triggered location function to obtain current geographical location information, and send the identification information of the first terminal that described current geographical location information and described Quick Response Code carry to described server;
Described server, for generating the Quick Response Code carrying the identification information of first terminal according to request for location services, is back to first terminal by described Quick Response Code; And according to the identification information of first terminal that the second terminal sends, the geographical location information of described second terminal is defined as the geographical location information of first terminal.
Compared with prior art, the application comprises following advantage:
In the embodiment of the present application, when not having the location of first terminal of GPS positioning function, can Quick Response Code be generated by triggering first terminal generation Quick Response Code or server and return to first terminal, and the second terminal is by the mode of scanning Quick Response Code triggered location, directly using the geographical location information of the locating information of the second terminal with first terminal close together as first terminal, because the distance between the second terminal and first terminal is very near, so the geographical location information of the first terminal adopting the embodiment of the present invention to get is just comparatively accurate, distance between second terminal and first terminal can be ignored substantially, therefore, just improve the precision of the acquisition result of the geographical location information of first terminal.
Further, this geographical location information, after the geographical location information getting first terminal, can be returned to first terminal by server, to use the user of this first terminal triggered location also can get information about very much the geographical location information of first terminal.
Certainly, the arbitrary product implementing the application might not need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the obtaining information embodiment of the method 1 in the geographical position of the terminal of the application;
Fig. 2 is the flow chart of the obtaining information embodiment of the method 2 in the geographical position of the terminal of the application;
Fig. 3 is the flow chart of the acquisition methods embodiment 3 of the geographical location information of the terminal of the application;
Fig. 4 is the structured flowchart of the acquisition server example 1 of the geographical location information of the terminal of the application;
Fig. 5 is the structured flowchart of the acquisition server example 2 of the geographical location information of the terminal of the application;
Fig. 6 is the structured flowchart of the terminal embodiment of the geographical location information of the acquisition terminal of the application;
Fig. 7 is the structured flowchart of the acquisition system embodiment of the geographical location information of the terminal of the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
The application can be used in numerous general or special purpose calculation element environment or configuration.Such as: personal computer, server computer, handheld device or portable set, laptop device, multi-processor device, the distributed computing environment (DCE) comprising above any device or equipment etc.
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.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as read-only memory (ROM) or flash memory (flash RAM).Internal memory is the example of computer-readable medium.Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), the random access memory (RAM) of other types, read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise of short duration computer readable media (transitory media), as data-signal and the carrier wave of modulation.
One of main thought of the application can comprise, when not having the location of first terminal of GPS positioning function, server can generate Quick Response Code by triggering first terminal or server generation Quick Response Code sends to first terminal again, and there is the mode of the second terminal scanning Quick Response Code triggered location of positioning function, by server directly using the geographical location information of the locating information of the second terminal with first terminal close together as first terminal.Because the distance between the second terminal and first terminal is very near, so the geographical location information of the first terminal adopting the embodiment of the present invention to get is just comparatively accurate, distance between second terminal and first terminal can be ignored substantially, therefore, the precision of the acquisition result of the geographical location information of first terminal is just improved.
With reference to figure 1, show the flow chart of the acquisition methods embodiment 1 of the geographical location information of a kind of terminal of the application.
In step 101 place, server obtains the identification information of request for location services and the described first terminal positioned first terminal.
In the present embodiment, first terminal can for not having the equipment such as the personal computer of GPS positioning function.When first terminal has location requirement, such as, user triggers position location request in the process using first terminal, then first terminal can initiate request for location services to server, and the first identification information of first terminal is also sent to server.Second terminal generally refers to the mobile terminal with GPS positioning function, such as mobile phone or PAD (panel computer) etc.Wherein, the identification information of first terminal can be then the information of energy unique identification terminals such as the international identification code of mobile terminal, such as, that the CPU according to first terminal, NIC address etc. calculate globally unique general unique identifier (Universally Unique Identifier, UUID).
Wherein, user, when using first terminal, can be supplied to the shortcuts such as the button of user or link and trigger first terminal and initiate request for location services to server by first terminal.
Understandable, the request for location services positioned first terminal also can be that server is initiated.Server, when needing to position the first terminal communicated with, generates request for location services by server, and obtain need location the first identification information of first terminal.
Step 102: according to described request for location services, server notifies that described first terminal generates the Quick Response Code carrying the identification information of described first terminal.
Server is after the location-server request receiving first terminal triggering, notice first terminal generates a Quick Response Code, the terminal iidentification of positioning command and first terminal can be carried in this Quick Response Code, wherein, positioning command is used for the location can triggering the second terminal after the second terminal scanning Quick Response Code with positioning function, and the identification information of first terminal then may be used for, after the second terminal triggered location, the identification information of this first terminal is sent to server together with the successful geographical location information in location.
Step 103: the identification information that the geographical location information of the second terminal that the second terminal that server reception has positioning function sends and the second terminal obtain according to described Quick Response Code.
Second terminal, after the Quick Response Code that scanning first terminal generates, can obtain positioning command wherein thus trigger self location.Second terminal obtains its current geographical location information locating successfully, and sends to server together with the identification information of first terminal geographical location information and the Quick Response Code that scans on first terminal obtained.
Step 104: server determines the first terminal of described identification information match according to the described identification information that described second terminal sends.
Server just can uniquely determine according to the identification information of first terminal the first terminal that this identification information is corresponding after receiving the identification information of the first terminal that the second terminal sends.
Step 105: the geographical location information of described second terminal is defined as the geographical location information of described first terminal by server.
The geographical location information that second terminal sends, after determining first terminal, is defined as the geographical location information of the first terminal that it is determined by server, thus realizes the acquisition of the geographical location information to the first terminal without positioning function.
The visible employing embodiment of the present invention, when not having the location of first terminal of GPS positioning function, second terminal the mode of scanning Quick Response Code triggered location can be passed through by triggering first terminal generation Quick Response Code, directly using the geographical location information of the locating information of the second terminal with first terminal close together as first terminal, because the distance between the second terminal and first terminal is very near, so the geographical location information of the first terminal adopting the embodiment of the present invention to get is just comparatively accurate, distance between second terminal and first terminal can be ignored substantially, therefore, just improve the precision of the acquisition result of the geographical location information of first terminal.
In actual applications, optionally, after step 105, can also comprise:
Steps A: the geographical location information of described first terminal is back to described first terminal by server.
This geographical location information, after the geographical location information getting first terminal, can be returned to first terminal by server, to use the user of this first terminal triggered location also can get information about very much the geographical location information of first terminal.
With reference to figure 2, show the flow chart of the acquisition methods embodiment 2 of the geographical location information of a kind of terminal of the application, the present embodiment can comprise the following steps:
Step 201: server obtains the identification information being used for request for location services and the first terminal positioned first terminal.
The realization of this step can the associated description of reference example 1, does not repeat them here.
Step 202: server generates the Quick Response Code carrying the identification information of first terminal according to request for location services, and described Quick Response Code is back to first terminal.
The difference of the present embodiment and embodiment 1 is, in the present embodiment, Quick Response Code is generated by server.Server is after the identification information of the request for location services and first terminal that receive first terminal initiation, generate the Quick Response Code comprising the identification information of positioning command and first terminal, wherein, positioning command is used for the location can triggering the second terminal after the second terminal scanning Quick Response Code with positioning function, and the identification information of first terminal then may be used for, after the second terminal triggered location, the identification information of this first terminal is sent to server together with the successful geographical location information in location.
Step 203: the identification information that the geographical location information of the second terminal that the second terminal that server reception has positioning function sends and the second terminal obtain according to described Quick Response Code.
Step 204: server determines the first terminal of described identification information match according to the described identification information that the second terminal sends.
Step 205: the geographical location information of described second terminal is defined as the geographical location information of described first terminal by server.
The implementation of step 203 ~ step 205 can the associated description of reference example 1, does not repeat them here.
Step 206: the geographical location information of described first terminal is back to described first terminal by server.
In the present embodiment, optionally, server is after the geographical location information getting first terminal, the geographical location information got can also be returned to this first terminal, use the user of this first terminal triggered location also can get information about very much the geographical location information of first terminal like this.
Visible the present embodiment not only can improve the precision of the geographical location information of the first terminal got, can also be adapted to any can the first terminal of logon, and the geographical location information that server obtains can also return to and use the user of first terminal to know, improves Consumer's Experience.
With reference to figure 3, show the flow chart of the acquisition methods embodiment 3 of the geographical location information of a kind of terminal of the application, in the present embodiment, can comprise the following steps:
Step 301: can locating terminal scanning target terminal generate carry the identification information of described target terminal and the Quick Response Code of positioning command.
What the present embodiment was applicable to have positioning function can locating terminal.Can locating terminal with need the target terminal obtaining geographical location information to only have limited distance, and can scan target terminal generation carry the identification information of target terminal and the Quick Response Code of positioning command.Wherein, the positioning command that this Quick Response Code comprises, for triggering the location of the second terminal after the second terminal scanning Quick Response Code with positioning function, the identification information of the first terminal that Quick Response Code comprises then may be used for, after the second terminal triggered location, the identification information of this first terminal is sent to server together with the successful geographical location information in location.
Step 302: can locating terminal according to described positioning command triggered location function to obtain current geographical location information.
Can locating terminal because self there is positioning function, then when scanning Quick Response Code and comprising positioning command, the positioning function of self need be utilized to obtain the geographical location information at self place, and wherein, this geographical location information can be latitude and longitude information etc.
Step 303: the identification information of described current geographical location information and described target terminal can be sent to server end by locating terminal, make described server end described geographical location information is defined as the geographical location information of the target terminal of described identification information match.
Can locating terminal after successfully getting the current geographic position information of self, just by this geographical location information with from the identification information scanning the target terminal that Quick Response Code obtains, be sent to server in the lump, server just can uniquely determine a target terminal according to the identification information of the target terminal received, and using the geographical location information received directly as the geographical location information of its target terminal determined.
In the present embodiment, the locating terminal mode of Quick Response Code that can be generated by scanning target terminal can trigger self location, thus realize when can locating terminal and target terminal close together, get the geographical location information of the target terminal without positioning function, because can distance between locating terminal and target terminal very near, so the geographical location information of the target terminal adopting the embodiment of the present invention to get is just comparatively accurate, can the distance between locating terminal and target terminal substantially can ignore compared with geographical location information, therefore, just improve the precision of the acquisition result of the geographical location information of target terminal.
For aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the application is necessary.
Corresponding with the method that the acquisition methods embodiment 1 of the geographical location information of a kind of terminal of above-mentioned the application provides, see Fig. 4, present invention also provides a kind of acquisition server example 1 of geographical location information of terminal, in the present embodiment, this server can comprise:
Acquisition module 401, for obtaining the identification information of request for location services for positioning first terminal and described first terminal.
Notification module 402, for notifying that according to described request for location services described first terminal generates the Quick Response Code carrying the identification information of described first terminal.
Receiver module 403, for receiving the geographical location information of the second terminal that second terminal with positioning function sends and the identification information that obtains according to described Quick Response Code.
First determination module 404, for the first terminal determining described identification information match according to the identification information of Quick Response Code acquisition sent according to described second terminal.
Second determination module 405, for being defined as the geographical location information of described first terminal by the geographical location information of described second terminal.
Optionally, this server can also comprise:
First returns module, for the geographical location information of described first terminal is back to described first terminal.
The visible employing embodiment of the present invention, when not having the location of first terminal of GPS positioning function, server the second terminal can pass through the mode of scanning Quick Response Code triggered location by triggering first terminal generation Quick Response Code, directly using the geographical location information of the locating information of the second terminal with first terminal close together as first terminal, because the distance between the second terminal and first terminal is very near, so the geographical location information of the first terminal adopting the embodiment of the present invention to get is just comparatively accurate, distance between second terminal and first terminal can be ignored substantially, therefore, just improve the precision of the acquisition result of the geographical location information of first terminal.
Further, this geographical location information, after the geographical location information getting first terminal, can be returned to first terminal by server, to use the user of this first terminal triggered location also can get information about very much the geographical location information of first terminal.
Corresponding with the method that the acquisition methods embodiment 2 of the geographical location information of a kind of terminal of above-mentioned the application provides, see Fig. 5, present invention also provides a kind of embodiment 2 of acquisition server of geographical location information of terminal, in the present embodiment, this server can comprise:
Acquisition module 401, for obtaining the identification information of request for location services for positioning first terminal and first terminal.
Generate Quick Response Code module 501, for generating the Quick Response Code carrying the identification information of first terminal according to request for location services.
Second returns module 502, for described Quick Response Code is back to first terminal.
Receiver module 403, has the geographical location information of the second terminal of the second terminal transmission of positioning function and the identification information according to Quick Response Code acquisition for receiving.
First determination module 404, for the first terminal determining described identification information match according to the identification information of Quick Response Code acquisition sent according to the second terminal.
Second determination module 405, for being defined as the geographical location information of described first terminal by the geographical location information of described second terminal.
First returns module 503, for the geographical location information of described first terminal is back to described first terminal.
Visible the present embodiment not only can improve the precision of the geographical location information of the first terminal got, can also be adapted to any can the first terminal of logon, and the geographical location information that server obtains can also return to and use the user of first terminal to know, improves Consumer's Experience.
Corresponding with the method that the acquisition methods embodiment 3 of the geographical location information of a kind of terminal of above-mentioned the application provides, see Fig. 6, present invention also provides one can locating terminal embodiment, and in the present embodiment, this terminal specifically can comprise:
Scan module 601, for scan target terminal generate carry the identification information of described target terminal and the Quick Response Code of positioning command.
Locating module 602, for according to described positioning command triggered location function to obtain current geographical location information.
Sending module 603, for sending the identification information of described current geographical location information and described target terminal to server end, makes described server end described geographical location information is defined as the geographical location information of the target terminal of described identification information match.
In the present embodiment, the locating terminal mode of Quick Response Code that can be generated by scanning target terminal can trigger self location, thus realize when can locating terminal and target terminal close together, get the geographical location information of the target terminal without positioning function, because can distance between locating terminal and target terminal very near, so the geographical location information of the target terminal adopting the embodiment of the present invention to get is just comparatively accurate, can the distance between locating terminal and target terminal substantially can ignore compared with geographical location information, therefore, just improve the precision of the acquisition result of the geographical location information of target terminal.
See Fig. 7, present invention also provides a kind of acquisition system embodiment of geographical location information of terminal, in the present embodiment, this system specifically can comprise: first terminal 701, second terminal 702 with positioning function and server 703, wherein, described first terminal 701, for initiating the identification information of request for location services and described first terminal to described server, and generates in response to the notice of server the Quick Response Code carrying the identification information of described first terminal; Described second terminal 702, for scanning described Quick Response Code, and according to described Quick Response Code triggered location function to obtain current geographical location information, and send the identification information of the first terminal that described current geographical location information and described Quick Response Code carry to described server; Described server 703, for the identification information of the first terminal according to the second terminal transmission, is defined as the geographical location information of first terminal by the geographical location information of described second terminal.
In various embodiments, described first terminal 701, can also be used for the identification information of initiating request for location services and described first terminal to described server, and the Quick Response Code that reception server returns; Then described second terminal 702, for scanning described Quick Response Code, and according to described Quick Response Code triggered location function to obtain current geographical location information, and send the identification information of the first terminal that described current geographical location information and described Quick Response Code carry to described server; Described server 703, for generating the Quick Response Code carrying the identification information of first terminal according to request for location services, is back to first terminal by described Quick Response Code; And according to the identification information of first terminal that the second terminal sends, the geographical location information of described second terminal is defined as the geographical location information of first terminal.
The visible employing embodiment of the present invention, when not having the location of first terminal of GPS positioning function, second terminal the mode of scanning Quick Response Code triggered location can be passed through by triggering first terminal generation Quick Response Code, directly using the geographical location information of the locating information of the second terminal with first terminal close together as first terminal, because the distance between the second terminal and first terminal is very near, so the geographical location information of the first terminal adopting the embodiment of the present invention to get is just comparatively accurate, distance between second terminal and first terminal can be ignored substantially, therefore, just improve the precision of the acquisition result of the geographical location information of first terminal.Further, this geographical location information, after the geographical location information getting first terminal, can be returned to first terminal by server, to use the user of this first terminal triggered location also can get information about very much the geographical location information of first terminal.
It should be noted that, each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above the acquisition methods of the geographical location information of the terminal that the application provides, server, terminal and system are described in detail, apply specific case herein to set forth the principle of the application and execution mode, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.
Claims (12)
1. an acquisition methods for the geographical location information of terminal, is characterized in that, the method comprises:
Obtain the identification information being used for request for location services and the described first terminal that first terminal is positioned;
Notify that described first terminal generates the Quick Response Code carrying the identification information of described first terminal according to described request for location services;
The identification information that the geographical location information of the second terminal that the second terminal that reception has positioning function sends and the second terminal obtain according to described Quick Response Code;
The first terminal of described identification information match is determined according to the described identification information of described second terminal transmission;
The geographical location information of described second terminal is defined as the geographical location information of described first terminal.
2. method according to claim 1, is characterized in that, also comprises:
The geographical location information of described first terminal is back to described first terminal.
3. an acquisition methods for the geographical location information of terminal, is characterized in that, the method comprises:
Obtain the identification information being used for request for location services and the first terminal that first terminal is positioned;
Generate the Quick Response Code carrying the identification information of first terminal according to request for location services, and described Quick Response Code is back to first terminal;
The identification information that the geographical location information of the second terminal that the second terminal that reception has positioning function sends and the second terminal obtain according to described Quick Response Code;
The first terminal of described identification information match is determined according to the described identification information of the second terminal transmission;
The geographical location information of described second terminal is defined as the geographical location information of described first terminal.
4. method according to claim 3, is characterized in that, the described locating information by described second terminal transmission also comprises after being defined as the geographical location information of described first terminal:
The geographical location information of described first terminal is back to described first terminal.
5. a geographical position information acquisition method for terminal, is characterized in that, the method comprises:
What scanning target terminal generated carries the identification information of described target terminal and the Quick Response Code of positioning command;
According to described positioning command triggered location function to obtain current geographical location information;
The identification information sending described current geographical location information and described target terminal, to server end, makes described server end described geographical location information is defined as the geographical location information of the target terminal of described identification information match.
6. a server, is characterized in that, comprising:
Acquisition module, for obtaining the identification information of request for location services and the described first terminal positioned first terminal;
Notification module, for notifying that according to described request for location services described first terminal generates the Quick Response Code carrying the identification information of described first terminal;
Receiver module, for receiving the geographical location information of the second terminal that second terminal with positioning function sends and the identification information that obtains according to described Quick Response Code;
First determination module, for the first terminal determining described identification information match according to the identification information of Quick Response Code acquisition sent according to described second terminal;
Second determination module, for being defined as the geographical location information of described first terminal by the geographical location information of described second terminal.
7. server according to claim 6, is characterized in that, also comprises:
First returns module, for the geographical location information of described first terminal is back to described first terminal.
8. a server, is characterized in that, comprising:
Acquisition module, for obtaining the identification information of request for location services and the first terminal positioned first terminal;
Generate Quick Response Code module, for generating the Quick Response Code carrying the identification information of first terminal according to request for location services;
Second returns module, for described Quick Response Code is back to first terminal;
Receiver module, has the geographical location information of the second terminal of the second terminal transmission of positioning function and the identification information according to Quick Response Code acquisition for receiving;
First determination module, for the first terminal determining described identification information match according to the identification information of Quick Response Code acquisition sent according to the second terminal;
Second determination module, for being defined as the geographical location information of described first terminal by the geographical location information of described second terminal.
9. server according to claim 8, is characterized in that, also comprises:
First returns module, for the geographical location information of described first terminal is back to described first terminal.
10. a terminal, is characterized in that, comprising:
Scan module, for scan target terminal generate carry the identification information of described target terminal and the Quick Response Code of positioning command;
Locating module, for according to described positioning command triggered location function to obtain current geographical location information;
Sending module, for sending the identification information of described current geographical location information and described target terminal to server end, makes described server end described geographical location information is defined as the geographical location information of the target terminal of described identification information match.
The acquisition system of the geographical location information of 11. 1 kinds of terminals, is characterized in that, this system comprises: first terminal, second terminal with positioning function and server, wherein,
Described first terminal, for initiating the identification information of request for location services and described first terminal to described server, and generates in response to the notice of server the Quick Response Code carrying the identification information of described first terminal;
Described second terminal, for scanning described Quick Response Code, and according to described Quick Response Code triggered location function to obtain current geographical location information, and send the identification information of the first terminal that described current geographical location information and described Quick Response Code carry to described server;
Described server, for the identification information of the first terminal according to the second terminal transmission, is defined as the geographical location information of first terminal by the geographical location information of described second terminal.
The acquisition system of the geographical location information of 12. 1 kinds of terminals, is characterized in that, this system comprises: first terminal, second terminal with positioning function and server, wherein,
Described first terminal, for initiating the identification information of request for location services and described first terminal to described server, and the Quick Response Code that reception server returns;
Described second terminal, for scanning described Quick Response Code, and according to described Quick Response Code triggered location function to obtain current geographical location information, and send the identification information of the first terminal that described current geographical location information and described Quick Response Code carry to described server;
Described server, for generating the Quick Response Code carrying the identification information of first terminal according to request for location services, is back to first terminal by described Quick Response Code; And according to the identification information of first terminal that the second terminal sends, the geographical location information of described second terminal is defined as the geographical location information of first terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310233521.7A CN104243516B (en) | 2013-06-13 | 2013-06-13 | Method, server, terminal and the system that the geographical location information of terminal obtains |
HK15103349.5A HK1202998A1 (en) | 2013-06-13 | 2015-04-02 | Method for acquiring geolocation information of terminal, server, terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310233521.7A CN104243516B (en) | 2013-06-13 | 2013-06-13 | Method, server, terminal and the system that the geographical location information of terminal obtains |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104243516A true CN104243516A (en) | 2014-12-24 |
CN104243516B CN104243516B (en) | 2018-02-02 |
Family
ID=52230864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310233521.7A Active CN104243516B (en) | 2013-06-13 | 2013-06-13 | Method, server, terminal and the system that the geographical location information of terminal obtains |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104243516B (en) |
HK (1) | HK1202998A1 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105246034A (en) * | 2015-09-29 | 2016-01-13 | 武汉钢铁(集团)公司 | Method and device for dynamically generating two-dimension code based on position information |
CN105578419A (en) * | 2016-03-18 | 2016-05-11 | 山东华软金盾软件股份有限公司 | Method and system for managing mobile terminal based on area strategy |
CN105846895A (en) * | 2016-05-04 | 2016-08-10 | 竒葩网络(深圳)有限公司 | Communication method, device and system |
CN105960010A (en) * | 2016-04-15 | 2016-09-21 | 廖大鸿 | System and method for realizing mobile phone positioning based on fixed intelligent terminal accessing by mobile phone |
CN106910150A (en) * | 2017-02-17 | 2017-06-30 | 李俊 | A kind of method and system of the real-time public good donation based on On-the-spot Interaction |
CN107888952A (en) * | 2017-11-07 | 2018-04-06 | 深圳创维-Rgb电子有限公司 | The localization method and system in intelligent terminal geographical position |
CN109547535A (en) * | 2018-10-31 | 2019-03-29 | 阿里巴巴集团控股有限公司 | Apparatus bound methods, devices and systems |
CN109640247A (en) * | 2018-11-13 | 2019-04-16 | 苏州达家迎信息技术有限公司 | A kind of method, apparatus, terminal, server and the system of determining location information |
CN110969235A (en) * | 2019-12-20 | 2020-04-07 | 陈俊杰 | Two-dimensional code label bottle cap and related method and system |
CN111698643A (en) * | 2020-06-11 | 2020-09-22 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for positioning location of terminal |
CN115175003A (en) * | 2022-07-11 | 2022-10-11 | 聚好看科技股份有限公司 | Media asset playing method, display device, electronic device and server |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5742598A (en) * | 1995-10-19 | 1998-04-21 | International Business Machines Corp. | Network for efficiently locating resources and routing service requests received from individual node connections |
CN101656715A (en) * | 2008-08-21 | 2010-02-24 | 华为技术有限公司 | Method, system and device for media bypass |
CN102348258A (en) * | 2011-10-12 | 2012-02-08 | 北京百度网讯科技有限公司 | Mobile terminal positioning method and device |
CN102904974A (en) * | 2012-09-28 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Method for obtaining location of terminal, related device and system |
CN103024154A (en) * | 2012-11-29 | 2013-04-03 | 北京风驰韦尔科技有限公司 | Indoor positioning method for mobile intelligent equipment |
CN103118154A (en) * | 2013-02-22 | 2013-05-22 | 歌联科技(上海)有限公司 | Mobile terminal equipment for real-time monitoring |
-
2013
- 2013-06-13 CN CN201310233521.7A patent/CN104243516B/en active Active
-
2015
- 2015-04-02 HK HK15103349.5A patent/HK1202998A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5742598A (en) * | 1995-10-19 | 1998-04-21 | International Business Machines Corp. | Network for efficiently locating resources and routing service requests received from individual node connections |
CN101656715A (en) * | 2008-08-21 | 2010-02-24 | 华为技术有限公司 | Method, system and device for media bypass |
CN102348258A (en) * | 2011-10-12 | 2012-02-08 | 北京百度网讯科技有限公司 | Mobile terminal positioning method and device |
CN102904974A (en) * | 2012-09-28 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Method for obtaining location of terminal, related device and system |
CN103024154A (en) * | 2012-11-29 | 2013-04-03 | 北京风驰韦尔科技有限公司 | Indoor positioning method for mobile intelligent equipment |
CN103118154A (en) * | 2013-02-22 | 2013-05-22 | 歌联科技(上海)有限公司 | Mobile terminal equipment for real-time monitoring |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105246034A (en) * | 2015-09-29 | 2016-01-13 | 武汉钢铁(集团)公司 | Method and device for dynamically generating two-dimension code based on position information |
CN105578419A (en) * | 2016-03-18 | 2016-05-11 | 山东华软金盾软件股份有限公司 | Method and system for managing mobile terminal based on area strategy |
CN105960010A (en) * | 2016-04-15 | 2016-09-21 | 廖大鸿 | System and method for realizing mobile phone positioning based on fixed intelligent terminal accessing by mobile phone |
CN105846895A (en) * | 2016-05-04 | 2016-08-10 | 竒葩网络(深圳)有限公司 | Communication method, device and system |
CN106910150A (en) * | 2017-02-17 | 2017-06-30 | 李俊 | A kind of method and system of the real-time public good donation based on On-the-spot Interaction |
CN107888952A (en) * | 2017-11-07 | 2018-04-06 | 深圳创维-Rgb电子有限公司 | The localization method and system in intelligent terminal geographical position |
CN109547535A (en) * | 2018-10-31 | 2019-03-29 | 阿里巴巴集团控股有限公司 | Apparatus bound methods, devices and systems |
CN109640247A (en) * | 2018-11-13 | 2019-04-16 | 苏州达家迎信息技术有限公司 | A kind of method, apparatus, terminal, server and the system of determining location information |
CN110969235A (en) * | 2019-12-20 | 2020-04-07 | 陈俊杰 | Two-dimensional code label bottle cap and related method and system |
CN111698643A (en) * | 2020-06-11 | 2020-09-22 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for positioning location of terminal |
CN111698643B (en) * | 2020-06-11 | 2022-03-15 | Oppo广东移动通信有限公司 | Method, device, terminal and storage medium for positioning location of terminal |
CN115175003A (en) * | 2022-07-11 | 2022-10-11 | 聚好看科技股份有限公司 | Media asset playing method, display device, electronic device and server |
CN115175003B (en) * | 2022-07-11 | 2023-10-13 | 聚好看科技股份有限公司 | Media asset playing method, display equipment and server |
Also Published As
Publication number | Publication date |
---|---|
CN104243516B (en) | 2018-02-02 |
HK1202998A1 (en) | 2015-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243516A (en) | Method and system for obtaining geographical location information of terminals, server and terminals | |
CN104244174A (en) | Method for obtaining geographical location information of terminals and server | |
US20190335016A1 (en) | Service processing method and apparatus, and service server | |
US10574728B2 (en) | User pairing method and apparatus, and data exchange method, apparatus, and system | |
CN103369009B (en) | A kind of online answering method, equipment and system | |
US9256890B1 (en) | Framework for geolocation-based customer-to-product matching hosted in a cloud-computing environment | |
WO2017114242A1 (en) | Geographic location positioning method and apparatus | |
CN104165632A (en) | Method for pre-warning path deviation by using mobile terminal, and apparatus thereof | |
CN103581179A (en) | Data access control system based on position, server and method | |
AU2016301319A1 (en) | Determining the optimum coverage position in a building for externally provided RF signals | |
US20210192503A1 (en) | Payment method, apparatus and device | |
CN106658666B (en) | Method and equipment for establishing wireless connection | |
CN108289290B (en) | Method and equipment for connecting intelligent wearable equipment and wireless access point | |
CN109710832B (en) | Method and equipment for searching hosted program | |
US9084086B2 (en) | Matching based on geolocation information from a mobile application | |
US10708880B2 (en) | Electronic device and method for determining entry of region of interest of electronic device | |
CN106777072B (en) | Method, equipment and system for providing presentation information | |
EP3407568A1 (en) | Service processing method and device | |
CN102932734A (en) | Method, device and system for determining distance between terminals | |
KR102557529B1 (en) | Method and apparatus for providing crowdsourcing services | |
CN110636061B (en) | Service server access method, storage medium, terminal device and login server | |
CN106375993B (en) | Electronic equipment, electronic equipment searching system and method | |
EP2873258B1 (en) | Method and apparatus for optimized object searching | |
US20160156726A1 (en) | Method, server, terminal, system, and storage medium for displaying multiuser map | |
Jeong et al. | Paradigm Shift and the State of the Art of LBS in the Advent of Smartphone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1202998 Country of ref document: HK |
|
GR01 | Patent grant | ||
GR01 | Patent grant |