[go: up one dir, main page]

CN109639783A - A kind of method, server, the client of determining location information - Google Patents

A kind of method, server, the client of determining location information Download PDF

Info

Publication number
CN109639783A
CN109639783A CN201811455699.5A CN201811455699A CN109639783A CN 109639783 A CN109639783 A CN 109639783A CN 201811455699 A CN201811455699 A CN 201811455699A CN 109639783 A CN109639783 A CN 109639783A
Authority
CN
China
Prior art keywords
terminal
location information
shared
server
sharing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811455699.5A
Other languages
Chinese (zh)
Other versions
CN109639783B (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.)
Suzhou Da Jia Ying Information Technology Co Ltd
Original Assignee
Suzhou Da Jia Ying Information 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 Suzhou Da Jia Ying Information Technology Co Ltd filed Critical Suzhou Da Jia Ying Information Technology Co Ltd
Priority to CN201811455699.5A priority Critical patent/CN109639783B/en
Publication of CN109639783A publication Critical patent/CN109639783A/en
Application granted granted Critical
Publication of CN109639783B publication Critical patent/CN109639783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides method, server, the clients of a kind of determining location information, include: terminal to be shared in response to the first operation triggered at position acquisition interface, the acquisition position requests of the first location information of terminal to be shared described in including are sent to server;The server is searched and terminal of the first location information in pre-determined distance threshold range, and the identification information of the terminal found is returned to terminal to be shared;The terminal to be shared, which determines, shares terminal, and the identification information for sharing terminal is returned to the server;The server sends the second location information for sharing terminal to the terminal to be shared according to the identification information for sharing terminal;Local updating location information is the second location information by the terminal to be shared.The acquisition that can fast and accurately realize accurate location information for the terminal of position inaccurate using technical solution provided by the invention, improves user experience.

Description

A kind of method, server, the client of determining location information
Technical field
The present invention relates to field of locating technology, and in particular to a kind of method of determining location information, server, client, Storage medium, system and equipment.
Background technique
It is universal with intelligent mobile terminal and GPS (Global Positioning System, global positioning system), Some mobile terminals, such as mobile phone or PAD (tablet computer) etc. all have GPS positioning function.Positioning to mobile terminal It is widely used, such as the application that attendance is checked card is realized based on the positioning to mobile terminal.
GPS positioning function is often relied on to the positioning of mobile terminal in the prior art, but the precision of GPS positioning is not high, often Often there is the problem of position inaccurate.When there is position inaccurate, user is needed to relocate, until user thinks position Until setting accurately, cause to need to carry out multiple bearing operation, poor user experience in position fixing process.Accordingly, it is desirable to provide more reliable Or more effective scheme, the acquisition result precision to solve the problems, such as the location information of terminal in the prior art are lower.
Summary of the invention
The invention proposes method, server, client, storage medium, system and the equipment of a kind of determining location information, When mobile terminal finds local position information inaccuracy, according to the updating location information for other mobile terminals that server provides Local position information solves the problems, such as mobile terminal location inaccuracy, improves the accuracy of mobile terminal location.The present invention Specifically realized with following technical solution:
In a first aspect, the present invention provides a kind of methods of determining location information, comprising:
Terminal to be shared sends acquisition position to server and asks in response to the first operation triggered at position acquisition interface It asks, the first location information obtained including the terminal to be shared in position requests;
The server is searched and terminal of the first location information in pre-determined distance threshold range, by what is found The identification information of terminal returns to terminal to be shared;
The identification information for the terminal that the terminal to be shared is found according to, which determines, shares terminal;
The identification information for sharing terminal is returned to the server by the terminal to be shared;
The server sends the sharing terminal to the terminal to be shared according to the identification information for sharing terminal Second location information;
Local updating location information is the second location information by the terminal to be shared.
Second aspect, the present invention provides a kind of methods of determining location information, comprising:
Terminal to be shared is received in response to the acquisition position requests of the first operation transmission triggered at position acquisition interface, institute State the first location information obtained including the terminal to be shared in position requests;
Lookup and terminal of the first location information in pre-determined distance threshold range, by the mark of the terminal found Information returns to terminal to be shared;
The identification information for receiving the terminal that terminal to be shared is found according to determines the identification information for sharing terminal;
The second position for sharing terminal is sent to the terminal to be shared according to the identification information for sharing terminal Information, so that local updating location information is the second location information by the terminal to be shared.
The third aspect, the present invention provides a kind of methods of determining location information, comprising:
In response to the first operation triggered at position acquisition interface, is sent to server and obtain position requests, the acquisition It include first location information in position requests;
Receive what server was sent after the terminal in pre-determined distance threshold range in lookup with the first location information The identification information of the terminal found;
The identification information of the terminal found according to server return, which determines, shares terminal;
The identification information for sharing terminal is returned into the server, so that the server is whole according to the sharing The identification information at end sends the second location information for sharing terminal;
It is the second location information by local updating location information.
Fourth aspect, the present invention provides a kind of methods of determining location information, comprising:
In response to sharing the second operation of interface triggering in position, second location information is sent to server, so that described Second location information with the first location information wait share terminal in pre-determined distance threshold range when, by the terminal to be shared It is the second location information by local updating location information.
5th aspect, the present invention provides a kind of servers, comprising:
First receiving module is sent for receiving terminal to be shared in response to the first operation triggered at position acquisition interface Acquisition position requests, it is described obtain include in position requests the terminal to be shared first location information;
Searching module, for search with terminal of the first location information in pre-determined distance threshold range, will search To the identification information of terminal return to terminal to be shared;
Second receiving module, the identification information for receiving the terminal that terminal to be shared is found according to, which determines, to be shared The identification information of terminal;
Sending module, for sending the sharing eventually to the terminal to be shared according to the identification information for sharing terminal The second location information at end, so that local updating location information is the second location information by the terminal to be shared.
6th aspect, the present invention provides a kind of clients, comprising:
First sending module sends to server and obtains for the first operation in response to triggering at position acquisition interface Position requests include first location information in the acquisition position requests;
Receiving module is being searched with the first location information in pre-determined distance threshold range for receiving server The identification information of the terminal found sent after terminal;
Determining module, the identification information of the terminal for finding according to server return, which determines, to be shared eventually End;
Second sending module, for the identification information for sharing terminal to be returned to the server, so that the clothes Business device sends the second location information for sharing terminal according to the identification information for sharing terminal;
Update module, for being the second location information by local updating location information.
7th aspect, the present invention provides a kind of clients, comprising:
Sending module sends the second position to server for the second operation in response to sharing interface triggering in position Information so that the second location information with the first location information wait share terminal in pre-determined distance threshold range when, by Local updating location information is the second location information by the terminal to be shared.
Eighth aspect is stored at least in the storage medium the present invention provides a kind of computer readable storage medium One instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation Code collection or instruction set are as the processor loads and executes to realize such as the determination location information as described in terms of above-mentioned the first~tetra- Method.
9th aspect, the present invention provides a kind of systems of determining location information, and the system comprises processors and storage Device is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the memory, and described at least one refers to It enables, an at least Duan Chengxu, code set or instruction set is as processor loads and executes determination position as described in above-mentioned first aspect Information approach
Tenth aspect, the present invention provides a kind of equipment for determining location information, the equipment include processor and Memory, is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the memory, and described at least one Item instruction, an at least Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize as above-mentioned The method of determination location information described in the second~tetra- aspect.
The present invention provides method, server, client, storage medium, system and the equipment of a kind of determining location information, It has the following technical effect that
The present invention can realize the acquisition of accurate location information fast and accurately for the terminal of position inaccurate, solve existing The inaccurate problem of the lower bring positioning of the acquisition result precision of the location information of terminal, effectively improves user's body in technology It tests.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology and advantage, below will be to implementation Example or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, the accompanying drawings in the following description is only It is only some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts, It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is a kind of schematic diagram of system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the method for determining location information provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram that a kind of location information provided in an embodiment of the present invention obtains interface;
Fig. 4 is the schematic diagram that another location information provided in an embodiment of the present invention obtains interface;
Fig. 5 is the schematic diagram that another location information provided in an embodiment of the present invention obtains interface;
Fig. 6 is a kind of schematic diagram at sharing positional information confirmation interface provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram at updating location information interface provided in an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram at interface of checking card provided in an embodiment of the present invention;
Fig. 9 is the flow diagram of another method for determining location information provided in an embodiment of the present invention;
Figure 10 is the flow diagram of another method for determining location information provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of client provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without making creative work it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, product or server need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
Referring to Fig. 1, Fig. 1 is a kind of schematic diagram of system provided in an embodiment of the present invention, as shown in Figure 1, the system can To include at least terminal 01 to be shared, share terminal 02 and server 03.
Specifically, the terminal to be shared 01 may include, smart phone, tablet computer, laptop, number help The entity device of the types such as reason, intelligent wearable device, car-mounted terminal, also may include the software run in entity device, Such as application program etc..
Specifically, the sharing terminal 02 may include, smart phone, tablet computer, laptop, digital assistants, The entity device of the types such as intelligent wearable device, car-mounted terminal also may include the software run in entity device, such as Application program etc..
Specifically, the server 03 may include an independently operated server perhaps distributed server or The server cluster being made of multiple servers.Server 03 may include having network communication unit, processor and memory etc. Deng.Specifically, the control server 03 can provide background service with terminal 02 is shared for above-mentioned terminal 01 to be shared.
It is introduced below the present invention is based on the method for the determination location information of above system, Fig. 2 be the embodiment of the present invention provide A kind of determining location information method flow diagram, present description provides the methods as described in embodiment or flow chart Operating procedure, but based on routine or may include more or less operating procedure without creative labor.In embodiment The step of enumerating sequence is only one of numerous step execution sequence mode, does not represent and unique executes sequence.In reality In system or server product when executing, can execute according to embodiment or method shown in the drawings sequence or parallel hold Row (such as environment of parallel processor or multiple threads).It is specific as shown in Fig. 2, the method may include:
S201: terminal to be shared sends acquisition position informing message to terminal is shared.
In this specification embodiment, the terminal to be shared may include the terminal of position inaccurate, the sharing terminal It may include the terminal of accurate positioning.
Described obtain includes the identification information for sharing terminal in position informing message, and the identification information may include but not It is limited to cell-phone number and/or using account.
In practical applications, when there is the case where position inaccurate wait share terminal, the user of terminal side to be shared can To share the identification information of terminal by the operation interface input in terminal to be shared and carry out transmission confirmation operation, to trigger It states terminal to server to be shared and sends acquisition position informing message.The server can be short message server, be also possible to The server of relevant application software is sent to position.
In a specific embodiment, as shown in figure 3, with the terminal A terminal (for example, mobile phone terminal) to be shared To for sharing terminal B terminal transmission location information acquisition notification message, the location information of the A terminal in Fig. 3 obtains interface packet Include cell-phone number (identification information) input frame and submitting button of B terminal.User can location information shown in fig. 3 obtain boundary Face inputs the cell-phone number (identification information) of B, and clicks submission ACK button, triggers the A terminal to B terminal and sends acquisition position Notification message.
In addition, it should be noted that, the input of identification information can also use voice, image in this specification embodiment Etc. modes input;The submission confirmation of identification information can also be using modes such as sliding, voices, not to be limited shown in Fig. 3.
The terminal to be shared sends acquisition position informing message to terminal is shared, so that sharing terminal user's root Determine whether described in same intention according to the acquisition position informing message wait share the second position for sharing terminal described in terminals share Information.Terminal user to be shared is before obtaining sharing terminal positional information, and first notice shares terminal user, uses so that sharing terminal The personal information security at family is protected, it is therefore prevented that information leakage.
The step S201 is optional step.
S203: terminal to be shared sends to server in response to the first operation triggered at position acquisition interface and obtains position Set request, the first location information obtained including the terminal to be shared in position requests.
In this specification embodiment, the acquisition modes of terminal positional information include but is not limited to pass through GPS or terminal installation Application software carry out location information acquisition, but be finally shown in the position acquisition interface of terminal.
In a specific embodiment, as shown in figure 4, with the position on terminal A (for example, mobile phone terminal) to be shared For obtaining interface, it includes button, the local position information for obtaining local position information that the location information in Fig. 4, which obtains interface, (first location information) display area obtains position requests confirming button.When user needs to obtain position, first clicks and obtain this Location information button is clicked again obtain position requests confirming button, the local position information that terminal to be shared will acquire later Server is sent to the identification information of terminal.Wherein, it is defeated to can be terminal user to be shared for the identification information of terminal to be shared The cell-phone number entered can also be the account information (user that the terminal user to be shared that application obtains automatically is obtained by location information Name, account, head portrait etc.).
S205: server is searched and terminal of the first location information in pre-determined distance threshold range.
The pre-determined distance threshold value can be specifically configured according to actual needs, such as can be 200 meters.
Before executing the step S205, can also include:
S2051: server sends location information acquisition request to terminal is shared.
S2053: sharing terminal in response to the location information acquisition request, returns to server and described shares the of terminal Two location informations.
Step S2051-2053 is that server actively obtains location information, the step to neighbouring sharing terminal request S2051-2053 can also be the second operation for sharing terminal in response to sharing interface triggering in position, actively report to server Share the second location information of terminal.
In this specification embodiment, the first operation and the second operation include but is not limited to " shaking ".
In a specific embodiment, as shown in figure 5, to share the location information of terminal (for example, mobile phone terminal) point For enjoying interface, it includes the button for obtaining local position information, local position information (that location information in Fig. 5, which shares interface, Two location informations) display area, submission ACK button.When user needs to share position, first clicks and obtain local position information Button clicks submission ACK button again later, shares the local position information that terminal will acquire and the identification information for sharing terminal It is sent to server.
Further, the range for carrying out the terminal of position comparison can be reduced for the ease of server end, reduce server Processing load, can by first operation and second operation operating time be also sent to server.Specifically, when the acquisition Further include the time for executing first operation in position requests, further includes executing second behaviour in the sharing position requests When the time of work, S2055 is executed;When it is described acquisition position requests in do not include execute it is described first operation time, described point Enjoying does not include directly execution S205 when executing the time of second operation in position requests.
S2055: server lookup is based on the second operation triggering with the first time information within a preset period of time and shares The terminal of position requests.
The preset time period can be specifically configured according to actual needs, such as can be 5 seconds.
S207: the identification information of the terminal found is returned into terminal to be shared.
S209: the identification information for the terminal that the terminal to be shared is found according to, which determines, shares terminal.
The qualified sharing terminal that server is found in step S205 may have one or more, in step S209 In, terminal to be shared needs to determine the sharing terminal for needing to obtain its location information in the one or more terminal.Further , the mark for the qualified one or more terminals that server can be found shows display circle in terminal to be shared Face, the user of terminal to be shared need to obtain the sharing terminal of its location information in display interface selection.
In a specific embodiment, as shown in fig. 6, with the sharing position of terminal to be shared (for example, mobile phone terminal) For validation of information interface, the sharing positional information confirmation interface in Fig. 6 includes sharing location confirmation button, local position information With share terminal location information (location information can be only a position signal, be not accurate position, can also not Show the location information) display area, which can also include terminal identification information, not show that in Fig. 6.When with The identification information that family receives the qualified sharing terminal of server transmission found (only shows two sharings eventually in Fig. 6 Hold B and B1) when, all identification informations for sharing terminal that the local position information of terminal to be shared and server are sent are all It is shown in the display area at sharing positional information confirmation interface, terminal user to be shared passes through finger touch or mobile phone key Mode chooses user to want to obtain the identification information of the terminal of its location information, and in the embodiment, specific choice B terminal is as sharing Terminal, user clicks again later shares location confirmation button, and the identification information for the sharing terminal chosen is sent to server.
S211: the identification information for sharing terminal is returned to the server by the terminal to be shared.
S213: the server sends the sharing to the terminal to be shared according to the identification information for sharing terminal The second location information of terminal.
The identification information for the sharing terminal that server is returned according to terminal to be shared, searching in the database of server should The corresponding second location information for sharing terminal of identification information, and the second location information is sent to terminal to be shared.
S215: local updating location information is the second location information by the terminal to be shared.
In a specific embodiment, as shown in fig. 7, with the location updating of terminal to be shared (for example, mobile phone terminal) For interface, the updating location information interface in Fig. 7 includes local position information display area, the sharing terminal through user's confirmation The display area of location information, updating location information ACK button.Wherein, the display area for sharing the location information of terminal can be with The display area of the local location information obtained with requesting terminal is overlapped, is also possible to different regions and (such as is divided into and controlling The mode of screen is shown), the case where coincidence, is only shown in Fig. 7.The sharing that terminal to be shared receives server transmission is whole When location information (second location information) at end, which is shown in the sharing terminal positional information confirmed through user Display area, the user of terminal to be shared judge whether to need by comparison local position information and the location information for sharing terminal The local position information of requesting terminal is updated to share the location information of terminal, when interpretation result, which is, is, click location Information update button completes location updating.
S217: the terminal to be shared executes deliberate action, and the deliberate action includes checking card, registering, marking, registering.
In a specific embodiment, as shown in figure 8, being checking card of checking card to execute deliberate action on mobile phone terminal For interface, the interface of checking card in Fig. 8 include local position information obtain button, obtain position requests button, share position it is true Recognize button, updating location information button, check card button and location information display area.When user needs to check card, first click Local position information obtains button and obtains at local position information, that is, A, and when the local position information inaccuracy of acquisition, click is obtained The identification information for taking position requests button to obtain neighbouring sharing terminal (can actually have multiple location informations, only show in Fig. 8 At one) i.e. at B, user chooses the identification information at B, and clicks and share location confirmation button, receives the location information of B terminal Afterwards, local position is then updated to the position at B by click location information update ACK button, after being updated successfully, is then clicked and is checked card ACK button jumps out " success of checking card " prompt information.
By executing deliberate action after sharing terminal and updating local position information, deliberate action is smoothly held Row, it is therefore prevented that location information inaccuracy in the case where, application program do not allow execute deliberate action or execute deliberate action without Effect.
A kind of specific embodiment of the method for determining location information of this specification is introduced by executing subject of server below, Fig. 9 is a kind of flow diagram of the method for determining location information provided in an embodiment of the present invention, specifically, as shown in connection with fig. 9, The method may include:
S901: the acquisition position for receiving terminal to be shared in response to the first operation transmission triggered at position acquisition interface asks It asks, the first location information obtained including the terminal to be shared in position requests.
S903: it searches with terminal of the first location information in pre-determined distance threshold range, the terminal that will be found Identification information return to terminal to be shared.
S905: the identification information for receiving the terminal that terminal to be shared is found according to determines the mark letter for sharing terminal Breath.
S907: the second of the sharing terminal is sent to the terminal to be shared according to the identification information for sharing terminal Location information, so that local updating location information is the second location information by the terminal to be shared.
In some embodiments, in the lookup and terminal of the first location information in pre-determined distance threshold range Before, the method also includes: it is described obtain position requests in further include execute it is described first operation first time information;It looks into Look for the terminal for sharing position requests based on the second operation triggering within a preset period of time with the first time information.
Further, it is described lookup with terminal of the first location information in pre-determined distance threshold range include: from It is described to be shared in the terminal of position requests based on the second operation triggering, it searches with the first location information in pre-determined distance threshold value Terminal in range.
A kind of determining location information of this specification is introduced by executing subject of the client to sharing positional information below The specific embodiment of method, Figure 10 are a kind of flow diagrams of the method for determining location information provided in an embodiment of the present invention, Specifically, as shown in connection with fig. 10, the method may include:
S1001: it in response to the first operation triggered at position acquisition interface, is sent to server and obtains position requests, institute It states and obtains in position requests including first location information.
S1003: it receives server and is searching with the first location information after the terminal in pre-determined distance threshold range The identification information of the terminal found sent.
S1005: the identification information of the terminal found according to server return, which determines, shares terminal.
S1007: the identification information for sharing terminal is returned into the server, so that the server is according to The identification information for sharing terminal sends the second location information for sharing terminal.
S1009: being the second location information by local updating location information.
In some embodiments, it in first operation in response to being triggered at position acquisition interface, is sent to server Before obtaining position requests, the method also includes: acquisition position informing message is sent to terminal is shared, so that the sharing Terminal user determines whether to agree to share the second location information for sharing terminal according to the acquisition position informing message.
In some embodiments, it after the updating location information by local is the second location information, also wraps It includes: executing deliberate action, the deliberate action includes checking card, registering, marking, registering.
A kind of side of determining location information of this specification is introduced by executing subject of the client of sharing positional information below The specific embodiment of method, specifically, the method may include:
S1101: the second operation in response to sharing interface triggering in position sends second location information to server, with When making the second location information with the first location information wait share terminal in pre-determined distance threshold range, by described wait divide It is the second location information that terminal, which is enjoyed, by local updating location information.
In some embodiments, the second operation described in response to sharing interface triggering in position, sends to server Before second location information, further includes: the acquisition position informing message that terminal to be shared is sent is received, according to the acquisition position Notification message determines whether to agree to share the second location information.
The embodiment of the invention also provides a kind of servers, and as shown in figure 11, the server includes:
First receiving module 1101, for receive terminal to be shared in response to position acquisition interface trigger first operation The acquisition position requests of transmission, the first location information obtained including the terminal to be shared in position requests;
Searching module 1103, for searching and terminal of the first location information in pre-determined distance threshold range, general The identification information of the terminal found returns to terminal to be shared;
Second receiving module 1105, the identification information for receiving the terminal that terminal to be shared is found according to determine Share the identification information of terminal;
Sending module 1107, for sending described point to the terminal to be shared according to the identification information for sharing terminal The second location information of terminal is enjoyed, so that local updating location information is the second confidence by the terminal to be shared Breath.
In some embodiments, described obtain further includes the first time letter for executing first operation in position requests Breath;The searching module be also used to it is described lookup with terminal of the first location information in pre-determined distance threshold range it Before, search the terminal for sharing position requests based on the second operation triggering within a preset period of time with the first time information.
Further, the searching module is also used to from the terminal for being shared position requests based on the second operation triggering In, it searches and terminal of the first location information in pre-determined distance threshold range.Service in the Installation practice Device and embodiment of the method are based on same inventive concept.
The embodiment of the invention also provides a kind of client, it is applied particularly to the terminal to sharing positional information, such as Figure 12 Shown, the client may include:
First sending module 1201 is sent for the first operation in response to triggering at position acquisition interface to server Position requests are obtained, include first location information in the acquisition position requests;
Receiving module 1203 is being searched with the first location information for receiving server in pre-determined distance threshold range The identification information of the terminal found sent after interior terminal;
Determining module 1205, the identification information of the terminal for finding according to server return, which determines, to be divided Enjoy terminal;
Second sending module 1207, for the identification information for sharing terminal to be returned to the server, so that institute It states server and the second location information for sharing terminal is sent according to the identification information for sharing terminal;
Update module 1209, for being the second location information by local updating location information.
In some embodiments, the client further includes third sending module, for described in response to being obtained in position The first operation that interface is triggered is taken, is sent before obtaining position requests to server, is sent to sharing terminal and obtains position informing Message, so that the sharing terminal user determines whether to agree to share the sharing eventually according to the acquisition position informing message The second location information at end.
In some embodiments, the client further includes module of checking card, for executing deliberate action, the deliberate action Including checking card, registering, mark, register.
The embodiment of the invention also provides a kind of clients, are applied particularly to the terminal of sharing positional information, the client End may include:
Sending module 1301 sends second to server for the second operation in response to sharing interface triggering in position Location information, so that the second location information is with the first location information of terminal to be shared in pre-determined distance threshold range When, it by local updating location information is the second location information by the terminal to be shared.
In some embodiments, the client further includes respond module, is used for described in response to sharing boundary in position Before sending second location information to server, it is logical to receive the acquisition position that terminal to be shared is sent for second operation of face triggering Know message, determines whether to agree to share the second location information according to the acquisition position informing message.The device is real The client and embodiment of the method applied in example are based on same inventive concept.
The embodiment of the invention also provides a kind of computer readable storage medium, at least one is stored in the storage medium Item instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code Collection or instruction set are loaded by processor and are executed to realize the method for determining location information as previously described.
The embodiment of the invention also provides a kind of systems of determining location information, and the system comprises processors and storage Device is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the memory, and described at least one refers to It enables, an at least Duan Chengxu, code set or instruction set is loaded by processor and executed such as above-mentioned determination location information method.
The embodiment of the invention also provides a kind of equipment for determining location information, the equipment includes processor and deposits Reservoir, is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the memory, and described at least one Instruction, an at least Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize above-mentioned determination The method of location information.
In this specification embodiment, the memory can be used for storing software program and module, and processor passes through operation It is stored in the software program and module of memory, thereby executing various function application and data processing.Memory can be main Including storing program area and storage data area, wherein storing program area can application program needed for storage program area, function Deng;Storage data area, which can be stored, uses created data etc. according to the equipment.In addition, memory may include high speed with Machine access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or its His volatile solid-state part.Correspondingly, memory can also include Memory Controller, to provide processor to memory Access.
It can by the embodiment of the method, apparatus of the determination location information of aforementioned present invention offer, terminal, server or system See, in the case that the present invention is suitable for more people colleague, the wherein terminal positioning inaccuracy of somebody, the terminal positioning of somebody compared with Accurately, location information is all sent to server by position inaccurate and the terminal of accurate positioning, is met by server lookup default All terminals of time and distance condition, and result is fed back to the requesting terminal for obtaining location information, by location information requests Terminal determines that the terminal for needing to obtain location information simultaneously feeds back to server, then by server by the position of the terminal of accurate positioning Information is shared with the terminal of position inaccurate, so that the terminal of position inaccurate executes subsequent behaviour according to accurate location information Make.The technical solution provided using this specification embodiment fast and accurately can realize accurate position for the terminal of position inaccurate The acquisition of confidence breath, the lower bring of acquisition result precision for solving the location information of terminal in the prior art position inaccurate ask Topic, effectively improves user experience.
It should be understood that embodiments of the present invention sequencing is for illustration only, do not represent the advantages or disadvantages of the embodiments. And above-mentioned this specification specific embodiment is described.Other embodiments are within the scope of the appended claims.One In a little situations, the movement recorded in detail in the claims or step can be executed according to the sequence being different from embodiment and Still desired result may be implemented.In addition, process depicted in the drawing not necessarily requires the particular order shown or company Continuous sequence is just able to achieve desired result.In some embodiments, multitasking and parallel processing it is also possible or It may be advantageous.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For system and server example, since it is substantially similar to the method embodiment, so being described relatively simple, related place Illustrate referring to the part of embodiment of the method.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (19)

1. a kind of method of determining location information, which is characterized in that the described method includes:
Terminal to be shared sends to server in response to the first operation triggered at position acquisition interface and obtains position requests, institute State the first location information obtained including the terminal to be shared in position requests;
The server is searched with terminal of the first location information in pre-determined distance threshold range, the terminal that will be found Identification information return to terminal to be shared;
The identification information for the terminal that the terminal to be shared is found according to, which determines, shares terminal;
The identification information for sharing terminal is returned to the server by the terminal to be shared;
The server, which is sent according to the identification information for sharing terminal to the terminal to be shared, described shares the of terminal Two location informations;
Local updating location information is the second location information by the terminal to be shared.
2. a kind of method of determining location information according to claim 1, which is characterized in that the server search with The first location information before the terminal in pre-determined distance threshold range, the method also includes:
It further include the first time information for executing first operation in the acquisition position requests;
Server, which is searched, shares position requests based on the second operation triggering within a preset period of time with the first time information Terminal.
3. a kind of method of determining location information according to claim 2, which is characterized in that the server is searched and institute Stating terminal of the first location information in pre-determined distance threshold range includes:
Server is searched and exists with the first location information from the terminal for sharing position requests based on the second operation triggering Terminal in pre-determined distance threshold range.
4. a kind of method of determining location information according to claim 1, which is characterized in that rung in the terminal to be shared The first operation that Ying Yu is triggered at position acquisition interface, sends before obtaining position requests to server, the method also includes:
The terminal to be shared sends acquisition position informing message to terminal is shared, so that the sharing terminal user is according to institute Acquisition position informing message is stated to determine whether described in same intention wait share the second location information for sharing terminal described in terminals share.
5. a kind of method of determining location information according to claim 1-4, which is characterized in that described wait divide Terminal is enjoyed by local updating location information as after the second location information, further includes:
The terminal to be shared executes deliberate action, and the deliberate action includes checking card, registering, marking, registering.
6. a kind of method of determining location information, which is characterized in that the described method includes:
Receive terminal to be shared in response to position acquisition interface trigger first operation send acquisition position requests, it is described to obtain Take the first location information of terminal to be shared described in including in position requests;
Lookup and terminal of the first location information in pre-determined distance threshold range, by the identification information of the terminal found Return to terminal to be shared;
The identification information for receiving the terminal that terminal to be shared is found according to determines the identification information for sharing terminal;
The second location information for sharing terminal is sent to the terminal to be shared according to the identification information for sharing terminal, So that local updating location information is the second location information by the terminal to be shared.
7. a kind of method of determining location information according to claim 6, which is characterized in that in the lookup and described the One location information before the terminal in pre-determined distance threshold range, the method also includes:
It further include the first time information for executing first operation in the acquisition position requests;
Search the terminal for sharing position requests based on the second operation triggering within a preset period of time with the first time information.
8. a kind of method of determining location information according to claim 7, which is characterized in that the lookup and described first Terminal of the location information in pre-determined distance threshold range includes: from the end for sharing position requests based on the second operation triggering In end, search and terminal of the first location information in pre-determined distance threshold range.
9. a kind of method of determining location information, which is characterized in that the described method includes:
In response to the first operation triggered at position acquisition interface, is sent to server and obtain position requests, the acquisition position It include first location information in request;
It receives server and is searching the lookup sent after the terminal in pre-determined distance threshold range with the first location information The identification information of the terminal arrived;
The identification information of the terminal found according to server return, which determines, shares terminal;
The identification information for sharing terminal is returned into the server, so that the server is according to the sharing terminal Identification information sends the second location information for sharing terminal;
It is the second location information by local updating location information.
10. a kind of method of determining location information according to claim 9, which is characterized in that described in response in place The first operation for obtaining interface triggering is set, is sent before obtaining position requests to server, the method also includes:
Acquisition position informing message is sent to terminal is shared, so that the sharing terminal user is according to the acquisition position informing Message determines whether to agree to share the second location information for sharing terminal.
11. according to a kind of described in any item methods of determining location information of claim 8-9, which is characterized in that incited somebody to action described Local updating location information is after the second location information, further includes:
Deliberate action is executed, the deliberate action includes checking card, registering, marking, registering.
12. a kind of method of determining location information, which is characterized in that the described method includes:
In response to sharing the second operation of interface triggering in position, second location information is sent to server, so that described second Location information with the first location information wait share terminal in pre-determined distance threshold range when, incite somebody to action this by the terminal to be shared The updating location information on ground is the second location information.
13. a kind of method of determining location information according to claim 12, which is characterized in that described in response in place The second operation for sharing interface triggering is set, before sending second location information to server, comprising:
The acquisition position informing message that terminal to be shared is sent is received, determines whether to agree to according to the acquisition position informing message Share the second location information.
14. a kind of server, which is characterized in that the server includes:
First receiving module, for receive terminal to be shared in response to position acquisition interface trigger first operation send obtain Take position requests, the first location information obtained including the terminal to be shared in position requests;
Searching module, for search with terminal of the first location information in pre-determined distance threshold range, by what is found The identification information of terminal returns to terminal to be shared;
Second receiving module, the identification information for receiving the terminal that terminal to be shared is found according to, which determines, shares terminal Identification information;
Sending module, for sending the sharing terminal to the terminal to be shared according to the identification information for sharing terminal Second location information, so that local updating location information is the second location information by the terminal to be shared.
15. a kind of client, which is characterized in that the client includes:
First sending module sends to server for the first operation in response to triggering at position acquisition interface and obtains position It requests, includes first location information in the acquisition position requests;
Receiving module is being searched and terminal of the first location information in pre-determined distance threshold range for receiving server The identification information of the terminal found sent afterwards;
Determining module, the identification information of the terminal for finding according to server return, which determines, shares terminal;
Second sending module, for the identification information for sharing terminal to be returned to the server, so that the server The second location information for sharing terminal is sent according to the identification information for sharing terminal;
Update module, for being the second location information by local updating location information.
16. a kind of client, which is characterized in that the client includes:
Sending module sends second location information to server for the second operation in response to sharing interface triggering in position, So that the second location information with the first location information wait share terminal in pre-determined distance threshold range when, by it is described to Sharing terminal for local updating location information is the second location information.
17. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction Collection is loaded as processor and is executed the side to realize the determination location information as described in any claim in claim 1 to 13 Method.
18. a kind of system of determining location information, which is characterized in that the system comprises processor and memory, the storage At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, at least one section are stored in device Program, code set or instruction set are loaded as processor and execute the determination location information method as described in claim 1 to 5.
19. a kind of equipment for determining location information, which is characterized in that the equipment includes processor and memory, described At least one instruction, at least a Duan Chengxu, code set or instruction set are stored in memory, described at least one instructs, is described An at least Duan Chengxu, the code set or instruction set are loaded by the processor and are executed to realize as in claim 6 to 13 The method of determination location information described in any claim.
CN201811455699.5A 2018-11-30 2018-11-30 Method, server and client for determining position information Active CN109639783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811455699.5A CN109639783B (en) 2018-11-30 2018-11-30 Method, server and client for determining position information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811455699.5A CN109639783B (en) 2018-11-30 2018-11-30 Method, server and client for determining position information

Publications (2)

Publication Number Publication Date
CN109639783A true CN109639783A (en) 2019-04-16
CN109639783B CN109639783B (en) 2021-08-03

Family

ID=66070024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811455699.5A Active CN109639783B (en) 2018-11-30 2018-11-30 Method, server and client for determining position information

Country Status (1)

Country Link
CN (1) CN109639783B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115866015A (en) * 2022-11-15 2023-03-28 宁波奥克斯电气股份有限公司 Air conditioner shared control method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696730A (en) * 1999-01-08 2005-11-16 真实定位公司 Calibration of the Wireless Location System
CN104469679A (en) * 2014-11-12 2015-03-25 广东科学技术职业学院 A location sharing method and system based on wifi hotspot
CN105068103A (en) * 2015-08-10 2015-11-18 联想(北京)有限公司 Auxiliary positioning method and electronic equipment
CN105956171A (en) * 2016-05-20 2016-09-21 板牙信息科技(上海)有限公司 Method and equipment used for real-time data sharing
CN107948926A (en) * 2017-11-02 2018-04-20 北京小米移动软件有限公司 The method and apparatus that smart machine is shared

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696730A (en) * 1999-01-08 2005-11-16 真实定位公司 Calibration of the Wireless Location System
CN104469679A (en) * 2014-11-12 2015-03-25 广东科学技术职业学院 A location sharing method and system based on wifi hotspot
CN105068103A (en) * 2015-08-10 2015-11-18 联想(北京)有限公司 Auxiliary positioning method and electronic equipment
CN105956171A (en) * 2016-05-20 2016-09-21 板牙信息科技(上海)有限公司 Method and equipment used for real-time data sharing
CN107948926A (en) * 2017-11-02 2018-04-20 北京小米移动软件有限公司 The method and apparatus that smart machine is shared

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115866015A (en) * 2022-11-15 2023-03-28 宁波奥克斯电气股份有限公司 Air conditioner shared control method, device and system

Also Published As

Publication number Publication date
CN109639783B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
US9992628B2 (en) Map downloading based on user's future location
JP3416017B2 (en) User interface environment setting method and data processing system
US11575624B2 (en) Contextual feedback, with expiration indicator, to a natural understanding system in a chat bot
US20100274855A1 (en) Scheduling events with location management
US20140115042A1 (en) Online q&a method, device, and system
US8612478B1 (en) Location based query-response management system
CN104160654A (en) Identifying meeting attendees using information from devices
CN110337660B (en) Context application organizer framework for user life events
EP3100137A2 (en) Context based mobile device
US12164580B2 (en) Efficient freshness crawl scheduling
US20130315042A1 (en) Geo-normalization of Calendar Items
CN113906432A (en) Contextual feedback for natural understanding systems in chat robots using knowledge models
US20190347621A1 (en) Predicting task durations
KR102750977B1 (en) Method and system for identifying nearby acquaintances based on short-range wireless communication and non-transitory computer-readable recording medium
US20190287081A1 (en) Method and device for implementing service operations based on images
CN109587625A (en) A kind of method, server, client, storage medium and the equipment of determining location information
JP2019528513A (en) Method and system for providing message-based notification
CN112233265A (en) Electronic sign-in method and related device
CN109639783A (en) A kind of method, server, the client of determining location information
CN109327806A (en) A kind of method, server, the client of determining location information
CN109388558A (en) A kind of method, apparatus, equipment and storage medium managing electronic equipment
EP3407568A1 (en) Service processing method and device
CN113313062A (en) Path acquisition method, device, system, electronic equipment and storage medium
CN112822637B (en) Navigation starting road section determining method and device, electronic equipment and storage medium
US20160335292A1 (en) Hierarchical heat map for fast item access

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant