CN105224144A - Distance measurement method and device - Google Patents

Distance measurement method and device Download PDF

Info

Publication number
CN105224144A
CN105224144A CN201410309473.XA CN201410309473A CN105224144A CN 105224144 A CN105224144 A CN 105224144A CN 201410309473 A CN201410309473 A CN 201410309473A CN 105224144 A CN105224144 A CN 105224144A
Authority
CN
China
Prior art keywords
mobile terminal
current location
positional information
destination mobile
information
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.)
Pending
Application number
CN201410309473.XA
Other languages
Chinese (zh)
Inventor
周志彬
汪玄
李宏铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410309473.XA priority Critical patent/CN105224144A/en
Publication of CN105224144A publication Critical patent/CN105224144A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of distance measurement method and device, the first mobile terminal sends the ranging request information of the geographic distance measured between self and destination mobile terminal to server, and the positional information of self current location is supplied to server.Ranging request information is sent to destination mobile terminal by server, obtains the positional information of destination mobile terminal current location.Then, by the positional information of server according to the first mobile terminal current location and the positional information of destination mobile terminal current location, geographic distance is between the two obtained.Described distance measurement method is without the need to choosing geographic position from map software, and can not produce the error caused when to choose geographic position in map software, the accuracy rate calculating the geographic distance between two mobile terminals is high; Do not need repeatable operation map software, simple to operate.And the method is directly integrated in the operating system of mobile terminal, without the need to installing third party software, reduce taking of mobile terminal internal memory.

Description

Distance measurement method and device
Technical field
The disclosure relates to technical field of distance measurement, particularly relates to a kind of distance measurement method and device.
Background technology
Along with the development of intelligent terminal (such as, smart mobile phone, PDA, panel computer etc.), can install the application software that third party provides in intelligent terminal, these application software bring great convenience for user.Such as, the distance between two geographic position can be measured by map software (e.g., Baidu's map).
When the distance utilizing the map software that mobile terminal is installed to measure between two geographic position, first on the map shown by the screen of mobile terminal, manually choose two geographic position, then, calculate the distance between these two geographic position by map software.
Due to the limited precision of the On-Screen Identification finger touch of mobile terminal, certain error is there is between the geographic position that finger is chosen on screen and actual geographic position, thus cause the geographic distance calculated between two geographic position also to there is error, cause the accuracy rate of the geographic distance calculated low.In practical application, the means that user is amplified by the map that will screen shows, reduce the error choosing geographic position, but user needs to perform the operation of being amplified by map, complex operation.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of distance measurement method and device.
In order to solve the problems of the technologies described above, disclosure embodiment discloses following technical scheme:
According to the first aspect of disclosure embodiment, a kind of distance measurement method is provided, comprises:
The ranging request information that first mobile terminal sends is sent to destination mobile terminal, the positional information of described ranging request information for making described destination mobile terminal obtain self current location;
Obtain the positional information of described destination mobile terminal current location, and, obtain the positional information of described first mobile terminal current location;
According to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
In conjunction with first aspect, in the first possible implementation of first aspect, described method also comprises:
Described geographic distance is sent to described first mobile terminal;
Or,
Described geographic distance is sent to described first mobile terminal and described destination mobile terminal.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second of first aspect is possible, obtain the positional information of described destination mobile terminal current location, in the following way:
Receive the agreement feedback information of the agreement range finding that described destination mobile terminal returns;
The positional information of described destination mobile terminal current location is extracted from described agreement feedback information.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, described method also comprises: when not receiving the agreement feedback information that described destination mobile terminal returns, and sends the invalid notification message of distance measurement request to described first mobile terminal.
According to the second aspect of disclosure embodiment, a kind of distance measurement method is provided, comprises:
Send ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
The positional information of described first mobile terminal current location is sent to described server, described server is used for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal;
Receive the described geographic distance that described server sends.
In conjunction with second aspect, in the first possible implementation of second aspect, send ranging request information to server, in the following way:
Described ranging request information is carried in the communication information to be sent between described first mobile terminal and described destination mobile terminal;
Described communication information to be sent is sent to described destination mobile terminal.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, send the positional information of described first mobile terminal current location to described server, in the following way:
The positional information of described first mobile terminal current location is carried in described ranging request information, and described ranging request information is sent to described server.
According to the third aspect of disclosure embodiment, provide a kind of distance measurement method, be applied to the first mobile terminal, comprise:
Send ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
Receive the positional information of described destination mobile terminal current location;
According to the positional information of described destination mobile terminal current location and the positional information of the first mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
According to the fourth aspect of disclosure embodiment, a kind of distance measurement method is provided, is applied to server, comprising:
The ranging request information that first mobile terminal sends is sent to destination mobile terminal, the positional information of described ranging request information for making destination mobile terminal obtain self current location;
Receive the positional information of described destination mobile terminal current location, and the positional information of described destination mobile terminal current location is sent to described first mobile terminal, to make described first mobile terminal according to the positional information of the positional information of described destination mobile terminal current location and described first mobile terminal current location, obtain the geographic distance between the first mobile terminal and destination mobile terminal.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described method also comprises: when not receiving the positional information of described destination mobile terminal current location, sends the invalid notification message of distance measurement request to described first mobile terminal.
According to the 5th aspect of disclosure embodiment, a kind of distance-measuring device is provided, comprises:
First transmitting element, sends to destination mobile terminal, the positional information of described ranging request information for making described destination mobile terminal obtain self current location for the ranging request information sent by the first mobile terminal;
First acquiring unit, for obtaining the positional information of described destination mobile terminal current location;
Second acquisition unit, for obtaining the positional information of described first mobile terminal current location;
Geographic distance acquiring unit, for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal.
In conjunction with the 5th aspect, in the first the possible implementation in the 5th, described device also comprises:
Second transmitting element, for sending to described first mobile terminal by described geographic distance; Or, described geographic distance is sent to described first mobile terminal and described destination mobile terminal.
In conjunction with the first possible implementation of the 5th aspect or the 5th aspect, in the implementation that the second in the 5th is possible, described first acquiring unit comprises:
First receives subelement, for receiving the agreement feedback information of the agreement range finding that described destination mobile terminal returns;
Extract subelement, for extracting the positional information of described destination mobile terminal current location from described agreement feedback information.
In conjunction with the implementation that the second of the 5th aspect is possible, in the third the possible implementation in the 5th, described device also comprises:
3rd transmitting element, for when not receiving the agreement feedback information that described destination mobile terminal returns, sends the invalid notification message of distance measurement request to described first mobile terminal.
According to the 6th aspect of disclosure embodiment, a kind of distance-measuring device is provided, comprises:
First transmitting element, for sending ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
Second transmitting element, for sending the positional information of described first mobile terminal current location to described server, described server is used for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal;
First receiving element, for receiving the described geographic distance that described server sends.
In conjunction with the 6th aspect, in the first the possible implementation in the 6th, described first transmitting element comprises:
First information intron unit, for being carried in the communication information to be sent between described first mobile terminal and described destination mobile terminal by described ranging request information;
First sends subelement, for described communication information to be sent is sent to described destination mobile terminal.
In conjunction with the 6th aspect, in the implementation that the second in the 6th is possible, described second transmitting element comprises:
Second information intron unit, for being carried in described ranging request information by the positional information of described first mobile terminal current location;
Second sends subelement, for described ranging request information is sent to described server.
According to the 7th aspect of disclosure embodiment, a kind of distance-measuring device is provided, is applied to the first mobile terminal, comprises:
First transmitting element, for sending ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
First receiving element, for receiving the positional information of described destination mobile terminal current location;
Computing unit, for according to the positional information of described destination mobile terminal current location and the positional information of the first mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal.
According to the eighth aspect of disclosure embodiment, a kind of distance-measuring device is provided, is applied to server, comprising:
First transmitting element, sends to destination mobile terminal for the ranging request information sent by the first mobile terminal, the positional information of described ranging request information for making destination mobile terminal obtain self current location;
Receiving element, for receiving the positional information of described destination mobile terminal current location;
Second transmitting element, for the positional information of described destination mobile terminal current location is sent to described first mobile terminal, to make described first mobile terminal according to the positional information of the positional information of described destination mobile terminal current location and described first mobile terminal current location, obtain the geographic distance between the first mobile terminal and destination mobile terminal.
According to the 9th aspect of disclosure embodiment, a kind of terminal device is provided, comprises: processor; For the storer of storage of processor executable instruction; Wherein, described processor is configured to:
Send ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
The positional information of described first mobile terminal current location is sent to described server, described server is used for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal;
Receive the described geographic distance that described server sends.
According to the tenth aspect of disclosure embodiment, a kind of server is provided, comprises: processor; For the storer of storage of processor executable instruction; Wherein, described processor is configured to:
The ranging request information that first mobile terminal sends is sent to destination mobile terminal, the positional information of described ranging request information for making described destination mobile terminal obtain self current location;
Obtain the positional information of described destination mobile terminal current location, and, obtain the positional information of described first mobile terminal current location;
According to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the ranging request information being sent the geographic distance measured between self and destination mobile terminal by the first mobile terminal to server, and the positional information of self current location is supplied to server.Ranging request information is sent to destination mobile terminal by server, obtains the positional information of destination mobile terminal current location.Then, by the positional information of server according to the first mobile terminal current location and the positional information of destination mobile terminal current location, geographic distance is between the two obtained.Described distance measurement method is without the need to choosing geographic position from map software, and can not produce the error caused when to choose geographic position in map software, the accuracy rate calculating the geographic distance between two mobile terminals is high; Do not need repeatable operation map software, simple to operate.And described method is directly integrated in the operating system of mobile terminal, without the need to installing third party software, reduce taking of mobile terminal internal memory.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of a kind of distance measurement method according to an exemplary embodiment;
Fig. 2 is the process flow diagram of the another kind of distance measurement method according to an exemplary embodiment;
Fig. 3 is the process flow diagram of another distance measurement method according to an exemplary embodiment;
Fig. 4 is the process flow diagram of another distance measurement method according to an exemplary embodiment;
Fig. 5 is the process flow diagram of a kind of distance measurement method according to an exemplary embodiment;
Fig. 6 is the display interface schematic diagram of a kind of destination mobile terminal according to an exemplary embodiment;
Fig. 7 is the display interface schematic diagram of a kind of first mobile terminal according to an exemplary embodiment;
Fig. 8 is the display interface schematic diagram of another kind first mobile terminal according to an exemplary embodiment;
Fig. 9 is the process flow diagram of the another kind of distance measurement method according to an exemplary embodiment;
Figure 10 is the block diagram of a kind of distance-measuring device according to an exemplary embodiment;
Figure 11 is the block diagram of a kind of distance-measuring device according to an exemplary embodiment;
Figure 12 is the block diagram of the another kind of distance-measuring device according to an exemplary embodiment;
Figure 13 is the block diagram of another distance-measuring device according to an exemplary embodiment;
Figure 14 is the block diagram of another distance-measuring device according to an exemplary embodiment;
Figure 15 is the block diagram of a kind of distance-measuring device according to an exemplary embodiment;
Figure 16 is the block diagram of a kind of device for range observation according to an exemplary embodiment;
Figure 17 is the block diagram of the another kind according to an exemplary embodiment for the device of range observation.
By above-mentioned accompanying drawing, illustrate the embodiment that the disclosure is clear and definite more detailed description will be had hereinafter.These accompanying drawings be not in order to limited by any mode the disclosure design scope, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of distance measurement method according to an exemplary embodiment, and as shown in Figure 1, described distance measurement method is used in mobile terminal, and described mobile terminal can be smart mobile phone, panel computer or PDA etc.Described method can comprise the following steps.
In step s 110, the first mobile terminal sends ranging request information to server.The positional information of described ranging request information for making destination mobile terminal obtain self current location.
Described first mobile terminal is as request side, on the first mobile terminal, trigger the operation information generating ranging solicited message measured with the spacing of destination mobile terminal according to operating body, in described ranging request information, at least carry the identification information of destination mobile terminal.This ranging request information is sent to server by the first mobile terminal, and server obtains the identification information of destination mobile terminal from described ranging request information, according to described identification information, described ranging request information is sent to described destination mobile terminal.
The identification information of described destination mobile terminal can be the account number (such as, phone number, rice chat account number, QQ account number, microblogging account number etc.) of user corresponding to destination mobile terminal.
In an embodiment of the present disclosure, described ranging request information is included in other message (communication information to be sent e.g., between the first mobile terminal and destination mobile terminal) as an information element and sends to server.Such as, described ranging request information be included in the first mobile terminal to destination mobile terminal send network and short message (as, the message that utilizes Instant Messenger (IM) software to communicate such as message, QQ message chatted by rice) in send to server, the server under this kind of application scenarios is the webserver; Or described ranging request information is included in the common short message or call request message that the first mobile terminal sends to destination mobile terminal and sends to server, and the server under this kind of application scenarios is base station server.
In another embodiment of the present disclosure, described ranging request information as one independently information can also send to server separately by the first mobile terminal.
In the step s 120, the first mobile terminal sends the positional information of self current location to described server.The positional information of described server according to described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
First mobile terminal, after the operation information obtaining operating body, obtains the positional information of self current location.Described positional information can be the location name (such as, No. 68, Qinghe, Haidian District, Beijing City Middle St) in the current residing geographic position of mobile terminal, also can be longitude and the latitude information of mobile terminal current location.
In an embodiment of the present disclosure, the positional information of the first mobile terminal can be carried in ranging request information and send to server; In another embodiment of the present disclosure, the positional information of the first mobile terminal can send to server separately.
In an embodiment of the present disclosure, destination mobile terminal receives after server sends described ranging request information, just the positional information of self current location is sent to server, described positional information can be passed through GPS (GlobalPositioningSystem, GPS) and obtain.
In another embodiment of the disclosure, destination mobile terminal receives described ranging request information, and after accepting described distance measurement request, just the positional information of self current location is sent to server.If destination mobile terminal does not accept described distance measurement request, return the refusal feedback information of refusal distance measurement request to server.The invalid notification message of distance measurement request is sent to the first mobile terminal after server receives this refusal feedback information.
By the positional information of server according to the first mobile terminal current location and the positional information of destination mobile terminal, calculate the geographic distance between the first mobile terminal and destination mobile terminal.Described geographic distance can be the air line distance between the geographic position of the first mobile terminal and the geographic position of destination mobile terminal.
In step s 130, which, first terminal receives the described geographic distance that described server sends.
After server calculates the geographic distance between the first mobile terminal and destination mobile terminal, described geographic distance is sent to the first mobile terminal, the first mobile terminal obtains the geographic distance between self and destination mobile terminal.
The distance measurement method that the present embodiment provides, is sent the ranging request information of the geographic distance measured between self and destination mobile terminal, and the positional information of self current location is supplied to server to server by the first mobile terminal.Ranging request information is sent to destination mobile terminal by server, obtains the positional information of destination mobile terminal current location.Then, by the positional information of server according to the first mobile terminal current location and the positional information of destination mobile terminal current location, geographic distance is between the two obtained.The geographical location information of described distance measurement method obtaining communication both sides, then, calculate the geographic distance between two mobile terminals, can not produce the error caused when to choose geographic position in map software, between two mobile terminals recorded, the accuracy rate of geographic distance is high; Described distance measurement method does not need repeatable operation map software, simple to operate.And described method is directly integrated in the operating system of mobile terminal, without the need to installing third party software, reduce taking mobile terminal internal memory.
Corresponding to the above-mentioned distance measurement method being applied to the first mobile terminal, the disclosure additionally provides the distance measurement method being applied to server.
Fig. 2 is the process flow diagram of the another kind of distance measurement method according to an exemplary embodiment, and as shown in Figure 2, the method is applied in server, can comprise the following steps.
In step S210, the ranging request information that the first mobile terminal sends is sent to destination mobile terminal by server, the positional information of described ranging request information for making described destination mobile terminal obtain self current location.
In the present embodiment, the first mobile terminal is as request side, and destination mobile terminal is as receiver side.
The identification information of destination mobile terminal is carried in described ranging request information, after server receives the ranging request information of the first mobile terminal transmission, according to the identification information of the destination mobile terminal that described ranging request information carries, this ranging request information is sent to described destination mobile terminal.Destination mobile terminal, after receiving described ranging request information, can obtain the positional information of self current location by GPS.
In step S220, server obtains the positional information of described destination mobile terminal current location.
In disclosure embodiment, after destination mobile terminal receives ranging request information, return the positional information of self current location directly to server.
In another embodiment of the present disclosure, destination mobile terminal receives described ranging request information, to the agreement feedback message that server returns, carries the positional information of destination mobile terminal current location in described feedback message.Under this kind of application scenarios, step S220 can comprise the following steps:
Step 11), receive the agreement feedback information of the agreement range finding that described destination mobile terminal returns.
Step 12), from described agreement feedback information, extract the positional information of described destination mobile terminal current location.
In step S230, server obtains the positional information of described first mobile terminal current location.
In an embodiment of the present disclosure, the positional information of described first mobile terminal current location can as one independently message send to server, server directly receives described positional information; In another embodiment of the present disclosure, the positional information of described first mobile terminal current location can be carried in ranging request information and send to server, after server receives described distance measurement request, from described distance measurement request, extract the positional information of described first mobile terminal current location.
In step S240, the positional information of server according to described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
If positional information is the title in geographic position, server can determine two geographic position in map, then, calculates the geographic distance between these two geographic position.If described positional information is longitude and latitude information, server directly according to longitude and the latitude information in two geographic position, can calculate the geographic distance between two geographic position.
The distance measurement method that the present embodiment provides, server can obtain the positional information of the mobile terminal current location of communicating pair, then, by server directly according to the positional information of mobile terminal, calculates the geographic distance between two mobile terminals.The geographical location information of described distance measurement method obtaining communication both sides, then, calculates the geographic distance between two mobile terminals, can not produce the error caused when to choose geographic position in map software, also not need repeatable operation map software.Therefore, between two mobile terminals that described distance measurement method records, the accuracy rate of geographic distance is high, and simple to operate.
Fig. 3 is the process flow diagram of another distance measurement method according to the disclosure one exemplary embodiment, after step S240 in the embodiment depicted in figure 2, can also comprise step S250.
In step s 250, described geographic distance is sent to described first mobile terminal, or, described geographic distance is sent to described first mobile terminal and described destination mobile terminal.
Fig. 4 is the process flow diagram of another distance measurement method according to an exemplary embodiment, and as shown in Figure 4, described method can comprise the following steps.
In step S310, the ranging request information that the first mobile terminal sends is sent to destination mobile terminal by server, the positional information of described ranging request information for making described destination mobile terminal obtain self current location.
In step s 320, server obtains the positional information of the first mobile terminal current location.
In step S330, server judges whether to receive the agreement feedback information that destination mobile terminal returns; If so, then step S340 is performed; If not, then step S370 is performed.
When destination mobile terminal receives ranging request information, and when accepting distance measurement request, return agreement feedback information to server, upload the positional information of self current location simultaneously to server.
If the distance measurement request of described first mobile terminal of destination mobile terminal refusal, destination mobile terminal returns refusal feedback information to server; When server receives the refusal feedback information that destination mobile terminal returns, or, after server sends ranging request information to destination mobile terminal, when meeting or exceeding preset time threshold, all think the agreement feedback information not receiving destination mobile terminal.
In step S340, server receives the positional information of self current location that described destination mobile terminal sends.
In step S350, the positional information of server according to described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
In step S360, described geographic distance is sent to described first mobile terminal by server, or, described geographic distance is sent to described first mobile terminal and destination mobile terminal.
In step S370, server sends the invalid notification message of distance measurement request to described first mobile terminal.The invalid notification message of distance measurement request can also be returned to the first mobile terminal and destination mobile terminal simultaneously.
S310 ~ S320 in the present embodiment, S340 ~ S360 are identical with the implementation of the corresponding steps in above-described embodiment, repeat no more herein.
The distance measurement method of the present embodiment, at server only when receiving the agreement feedback information that destination mobile terminal returns, calculates the geographic distance between the first mobile terminal and destination mobile terminal; If do not receive the agreement feedback information that destination mobile terminal returns, then do not calculate geographic distance between the two.Namely after destination mobile terminal agrees to range finding, server just can calculate geographic distance between the two, thus improves the privacy of the user of destination mobile terminal.
Fig. 5 is the process flow diagram of a kind of distance measurement method according to an exemplary embodiment, and the method is applied in the system comprising the first mobile terminal, server and destination mobile terminal.As shown in Figure 5, said method comprising the steps of.
In step S410, the first mobile terminal sends ranging request information to server.Described ranging request information at least carries the identification information of described destination mobile terminal.
In the step s 420, the first mobile terminal uploads the positional information of the current location of self to server.
In step S430, described ranging request information is sent to destination mobile terminal by server.
In step S440, when destination mobile terminal accepts distance measurement request, return agreement feedback message to server.
Fig. 6 is the display interface schematic diagram of a kind of destination mobile terminal according to an exemplary embodiment, and the present embodiment is described for smart mobile phone.
As shown in Figure 6, after destination mobile terminal 11 receives ranging request information, display interface 12 shows " whether accepting distance measurement request ", and show " acceptance " button and " refusal " button on display interface 12.When user triggers " acceptance " button, return agreement feedback information to server; When user triggers " refusal " button, return refusal feedback information to server, now, refusal feedback information does not need the positional information of the current location of carrying destination mobile terminal 11.
In step S450, destination mobile terminal sends the positional information of the current location of self to server.
The positional information of carrying the current location of destination mobile terminal in feedback information can agreed to, by server from agreeing to the positional information extracting the current location of described destination mobile terminal feedback information.
In step S460, the positional information of server according to described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
In step S470, described geographic distance is sent to the first mobile terminal and destination mobile terminal by server.
Fig. 7 is the display interface schematic diagram of a kind of first mobile terminal according to an exemplary embodiment, as shown in Figure 7, the display interface 22 of the first mobile terminal 21 shows the geographic distance that service sends, such as, " geographic distance between you and * * * is 5km ", wherein, " * * * " represents user profile that destination mobile terminal is corresponding (such as, the phone number etc. of the name of user or user name, user).
In step S480, if destination mobile terminal refuses described distance measurement request, then return refusal feedback message to server.
In another embodiment of the disclosure, server, sending in the preset time period after described ranging request information, does not receive the agreement return message that destination mobile terminal returns, then performs S490.
In step S490, server sends the invalid notification message of distance measurement request to described first mobile terminal.
Fig. 8 is the display interface schematic diagram of another kind first mobile terminal according to an exemplary embodiment, as shown in Figure 8, on the display interface 22 of the first mobile terminal 21, show described notification message, such as, " addressee refuses your distance measurement request " or, " distance measurement request that you this time initiate ".
The distance measurement method that the present embodiment provides, during the positional information of self current location is directly uploaded onto the server by the first mobile terminal.After destination mobile terminal receives the ranging request information of the first mobile terminal initiation, in directly the positional information of the current location of self being uploaded onto the server.By server according to the geographic distance between positional information calculation first mobile terminal of the positional information of the current location of the first mobile terminal and the current location of destination mobile terminal and destination mobile terminal.Can not produce the error caused when to choose geographic position in map software, therefore, between two mobile terminals recorded, the accuracy rate of geographic distance is high; Described distance measurement method does not need repeatable operation map software, simple to operate.And the distance measurement method of mobile terminal part can directly be integrated in the operating system of mobile terminal, without the need to installing third party software, reduces taking mobile terminal internal memory.
Fig. 9 is the process flow diagram of the another kind of distance measurement method according to an exemplary embodiment, as shown in Figure 9, described distance measurement method is applied in the system comprising the first mobile terminal, server and destination mobile terminal, described first mobile terminal is request side, described destination mobile terminal is receiver side, said method comprising the steps of.
In step S510, the first mobile terminal sends ranging request information to server, and described ranging request information at least carries the identification information of destination mobile terminal.
In step S520, described ranging request information is sent to destination mobile terminal by server.
In step S530, if destination mobile terminal accepts distance measurement request, return the positional information of the current location of self to server.
In step S540, the positional information of the current location of described destination mobile terminal is sent to described first mobile terminal by server.
In step S550, described first mobile terminal, according to the positional information of the current location of the positional information of the current location of self and described destination mobile terminal, obtains the geographic distance between self and destination mobile terminal.
In step S560, if described destination mobile terminal refusal distance measurement request, return refusal feedback information to server.
In step S570, server sends the invalid notification message of distance measurement request to described first mobile terminal.
The distance measurement method that the present embodiment provides, the first mobile terminal initiates distance measurement request, after destination mobile terminal receives distance measurement request, the positional information of oneself current location is sent to described first mobile terminal.Described first mobile terminal, according to the positional information of the current location of self and destination mobile terminal, obtains the geographic distance between self and destination mobile terminal.Without the need to choosing geographic position, ground in map software, the error caused when to choose geographic position in map software can not be produced, also do not need repeatable operation map software.Therefore, between two mobile terminals that described distance measurement method records, the accuracy rate of geographic distance is high, and simple to operate.And described distance measurement method is directly integrated in the operating system of mobile terminal, without the need to installing third party software, reduce taking mobile terminal internal memory.
Corresponding to above-mentioned distance measurement method embodiment, the disclosure additionally provides distance-measuring device embodiment.
Figure 10 is the block diagram of a kind of distance-measuring device according to an exemplary embodiment, and this application of installation is in mobile terminal, and as shown in Figure 10, this device can comprise the first transmitting element 110, second transmitting element 120 and the first receiving element 130.
First transmitting element 110 is configured to send ranging request information to server, and described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location.
In the disclosure one exemplary embodiment, described first transmitting element comprises: first information intron unit and first sends subelement; This first information intron unit is configured to be carried on by described ranging request information in the communication information to be sent between described first mobile terminal and described destination mobile terminal.This first transmission subelement is configured to described communication information to be sent to send to described destination mobile terminal.
Second transmitting element 120 is configured to the positional information sending described first mobile terminal current location to described server, described server is used for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal.
In the disclosure one exemplary embodiment, described second transmitting element comprises: the second information intron unit and second sends subelement; This second information intron unit is configured to the positional information of described first mobile terminal current location to be carried in described ranging request information.Second sends subelement is configured to described ranging request information to send to described server.
First receiving element 130 is configured to the described geographic distance receiving the transmission of described server.
Server is according to the positional information of the current location of the first mobile terminal received, and the positional information calculation of destination mobile terminal current location obtains the air line distance between two mobile terminals, obtain the geographic distance between described first mobile terminal and destination mobile terminal.
The distance-measuring device that the present embodiment provides, is sent the ranging request information of the geographic distance measured between self and destination mobile terminal, and the positional information of self current location is supplied to server to server by the first mobile terminal.Ranging request information is sent to destination mobile terminal by server, obtains the positional information of destination mobile terminal current location.Then, by the positional information of server according to the first mobile terminal current location and the positional information of destination mobile terminal current location, geographic distance is between the two obtained.The geographical location information of described distance-measuring device obtaining communication both sides, then, calculate the geographic distance between two mobile terminals, can not produce the error caused when to choose geographic position in map software, between two mobile terminals recorded, the accuracy rate of geographic distance is high; Described distance measurement method does not need repeatable operation map software, simple to operate.And described method is directly integrated in the operating system of mobile terminal, without the need to installing third party software, reduce taking mobile terminal internal memory.
Figure 11 is the block diagram of a kind of distance-measuring device according to an exemplary embodiment, this application of installation is in server, as shown in figure 11, this device can comprise the first transmitting element 210, first acquiring unit 220, second acquisition unit 230 and geographic distance acquiring unit 240.
The ranging request information that first transmitting element 210 is configured to the first mobile terminal sends sends to destination mobile terminal, the positional information of described ranging request information for making described destination mobile terminal obtain self current location.
First acquiring unit 220 is configured to the positional information obtaining described destination mobile terminal current location.
In the disclosure one exemplary embodiment, destination mobile terminal can carry the positional information of self current location in the feedback information returning to server, and now, described first acquiring unit can comprise: first receives subelement and extract subelement; This first reception subelement is configured to the agreement feedback information receiving the agreement range finding that described destination mobile terminal returns.This extraction subelement is configured to the positional information extracting described destination mobile terminal current location from described agreement feedback information.
Second acquisition unit 230 is configured to the positional information obtaining described first mobile terminal current location.
Geographic distance acquiring unit 240 is configured to the positional information of positional information according to described first mobile terminal current location and described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal.
The distance-measuring device that the present embodiment provides, server can obtain the positional information of the mobile terminal current location of communicating pair, then, by server directly according to the positional information of mobile terminal, calculates the geographic distance between two mobile terminals.The geographical location information of described distance-measuring device obtaining communication both sides, then, calculates the geographic distance between two mobile terminals, can not produce the error caused when to choose geographic position in map software, also not need repeatable operation map software.Therefore, between two mobile terminals that described distance measurement method records, the accuracy rate of geographic distance is high, and simple to operate.
Figure 12 is the block diagram of the another kind of distance-measuring device according to an exemplary embodiment, and this application of installation, in server, basis embodiment illustrated in fig. 11 increases the second transmitting element 250;
Second transmitting element 250 is configured to described geographic distance to send to described first mobile terminal; Or, described geographic distance is sent to described first mobile terminal and described destination mobile terminal.
Geographic distance between the first mobile terminal that server calculates and described destination mobile terminal only can send to the mobile terminal of request side, i.e. the first mobile terminal, thus saves Internet resources; Described distance-measuring device can also send to the mobile terminal of request side and receiver side, i.e. the first mobile terminal and destination mobile terminal, thus improves the dirigibility of distance-measuring device.
Other unit in Figure 12 is identical with the function of the corresponding units in Figure 11, repeats no more herein.
Figure 13 is the block diagram of another distance-measuring device according to an exemplary embodiment, on basis embodiment illustrated in fig. 11, increases by the 3rd transmitting element 260.
3rd transmitting element 260 is configured to when not receiving the agreement feedback information that described destination mobile terminal returns, and sends the invalid notification message of distance measurement request to described first mobile terminal.
Corresponding to the above-mentioned distance-measuring device embodiment being applied to mobile terminal, the disclosure additionally provides the distance-measuring device that another kind is applied to mobile terminal.
Figure 14 is the block diagram of another distance-measuring device according to an exemplary embodiment, and this application of installation is in mobile terminal, and as shown in figure 14, described device comprises: the first transmitting element 310, first receiving element 320 and computing unit 330.
First transmitting element 310 is configured to send ranging request information to server, and described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location.
First receiving element 320 is configured to the positional information receiving described destination mobile terminal current location.
Computing unit 330 is configured to the positional information of positional information according to described destination mobile terminal current location and the first mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal.
The distance-measuring device that the present embodiment provides, request side mobile terminal (the first mobile terminal) sends ranging request information to server, described ranging request information is sent to destination mobile terminal by server, obtain the positional information of destination mobile terminal current location, and send to the first mobile terminal, calculate the geographic distance between self and destination mobile terminal by the first mobile terminal.This distance-measuring device, without the need to choosing geographic position, ground in map software, can not produce the error caused when to choose geographic position in map software, also not need repeatable operation map software.Therefore, between two mobile terminals recorded, the accuracy rate of geographic distance is high, and simple to operate.And described distance measurement method is directly integrated in the operating system of mobile terminal, without the need to installing third party software, reduce taking mobile terminal internal memory.
Corresponding to the distance-measuring device embodiment shown in Figure 14, the disclosure additionally provides the distance-measuring device being applied to server.
Figure 15 is the block diagram of a kind of distance-measuring device according to an exemplary embodiment, and described distance-measuring device is applied to server, and as shown in figure 15, described device can comprise: the first transmitting element 410, receiving element 420 and the second transmitting element 430.
The ranging request information that first transmitting element 410 is configured to the first mobile terminal sends sends to destination mobile terminal, the positional information of described ranging request information for making destination mobile terminal obtain self current location;
Receiving element 420 is configured to the positional information receiving described destination mobile terminal current location;
Second transmitting element 430 is configured to the positional information of described destination mobile terminal current location to send to described first mobile terminal, to make described first mobile terminal according to the positional information of the positional information of described destination mobile terminal current location and described first mobile terminal current location, obtain the geographic distance between the first mobile terminal and destination mobile terminal.
The distance-measuring device that the present embodiment provides, sends to destination mobile terminal by the first transmitting element by the ranging request information that the first mobile terminal received sends; By the positional information of receiving element receiving target mobile terminal current location, and via the second transmitting element, the positional information of described destination mobile terminal current location is sent to described first mobile terminal, calculate the geographic distance between self and destination mobile terminal by the first mobile terminal.This distance-measuring device, without the need to choosing geographic position, ground in map software, can not produce the error caused when to choose geographic position in map software, also not need repeatable operation map software.Therefore, between two mobile terminals recorded, the accuracy rate of geographic distance is high, and simple to operate.And described distance measurement method is directly integrated in the operating system of mobile terminal, without the need to installing third party software, reduce taking mobile terminal internal memory.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 16 is the block diagram of a kind of device 800 for range observation according to an exemplary embodiment.Such as, device 800 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 16, device 800 can comprise following one or more assembly: processing components 802, storer 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor module 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Storer 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loudspeaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 814 comprises one or more sensor, for providing the state estimation of various aspects for device 800.Such as, sensor module 814 can detect the opening/closing state of device 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right pick-up unit 800 of sensor module 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the temperature variation of device 800 orientation or acceleration/deceleration and device 800.Sensor module 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of distance measurement method, described method comprises:
Send ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
The positional information of described first mobile terminal current location is sent to described server, described server is used for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal;
Receive the described geographic distance that described server sends.
The disclosure additionally provides a kind of non-transitory computer-readable recording medium, and when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform another kind of distance measurement method, described method comprises:
Send ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
Receive the positional information of described destination mobile terminal current location;
According to the positional information of described destination mobile terminal current location and the positional information of the first mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
Figure 17 is the block diagram of a kind of device 1900 for range observation according to an exemplary embodiment.Such as, device 1900 may be provided in a server.With reference to Figure 17, device 1900 comprises processing components 1922, and it comprises one or more processor further, and the memory resource representated by storer 1932, can such as, by the instruction of the execution of processing components 1922, application program for storing.The application program stored in storer 1932 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1922 is configured to perform instruction, to perform embodiment of the method shown in above-mentioned Fig. 2,3,4.
Device 1900 can also comprise the power management that a power supply module 1926 is configured to actuating unit 1900, and a wired or wireless network interface 1950 is configured to device 1900 to be connected to network, and input and output (I/O) interface 1958.Device 1900 can operate the operating system based on being stored in storer 1932, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (21)

1. a distance measurement method, is characterized in that, comprising:
The ranging request information that first mobile terminal sends is sent to destination mobile terminal, the positional information of described ranging request information for making described destination mobile terminal obtain self current location;
Obtain the positional information of described destination mobile terminal current location, and, obtain the positional information of described first mobile terminal current location;
According to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
2. method according to claim 1, is characterized in that, described method also comprises:
Described geographic distance is sent to described first mobile terminal;
Or,
Described geographic distance is sent to described first mobile terminal and described destination mobile terminal.
3. method according to claim 1 and 2, is characterized in that, obtains the positional information of described destination mobile terminal current location, in the following way:
Receive the agreement feedback information of the agreement range finding that described destination mobile terminal returns;
The positional information of described destination mobile terminal current location is extracted from described agreement feedback information.
4. method according to claim 3, is characterized in that, described method also comprises: when not receiving the agreement feedback information that described destination mobile terminal returns, and sends the invalid notification message of distance measurement request to described first mobile terminal.
5. a distance measurement method, is characterized in that, comprising:
Send ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
The positional information of described first mobile terminal current location is sent to described server, described server is used for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal;
Receive the described geographic distance that described server sends.
6. method according to claim 5, is characterized in that, sends ranging request information to server, in the following way:
Described ranging request information is carried in the communication information to be sent between described first mobile terminal and described destination mobile terminal;
Described communication information to be sent is sent to described destination mobile terminal.
7. method according to claim 5, is characterized in that, sends the positional information of described first mobile terminal current location to described server, in the following way:
The positional information of described first mobile terminal current location is carried in described ranging request information, and described ranging request information is sent to described server.
8. a distance measurement method, is applied to the first mobile terminal, it is characterized in that, comprising:
Send ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
Receive the positional information of described destination mobile terminal current location;
According to the positional information of described destination mobile terminal current location and the positional information of the first mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
9. a distance measurement method, is applied to server, it is characterized in that, comprising:
The ranging request information that first mobile terminal sends is sent to destination mobile terminal, the positional information of described ranging request information for making destination mobile terminal obtain self current location;
Receive the positional information of described destination mobile terminal current location, and the positional information of described destination mobile terminal current location is sent to described first mobile terminal, to make described first mobile terminal according to the positional information of the positional information of described destination mobile terminal current location and described first mobile terminal current location, obtain the geographic distance between the first mobile terminal and destination mobile terminal.
10. method according to claim 9, is characterized in that, described method also comprises: when not receiving the positional information of described destination mobile terminal current location, sends the invalid notification message of distance measurement request to described first mobile terminal.
11. 1 kinds of distance-measuring devices, is characterized in that, comprising:
First transmitting element, sends to destination mobile terminal, the positional information of described ranging request information for making described destination mobile terminal obtain self current location for the ranging request information sent by the first mobile terminal;
First acquiring unit, for obtaining the positional information of described destination mobile terminal current location;
Second acquisition unit, for obtaining the positional information of described first mobile terminal current location;
Geographic distance acquiring unit, for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal.
12. devices according to claim 11, is characterized in that, described device also comprises:
Second transmitting element, for sending to described first mobile terminal by described geographic distance; Or, described geographic distance is sent to described first mobile terminal and described destination mobile terminal.
13. devices according to claim 11 or 12, it is characterized in that, described first acquiring unit comprises:
First receives subelement, for receiving the agreement feedback information of the agreement range finding that described destination mobile terminal returns;
Extract subelement, for extracting the positional information of described destination mobile terminal current location from described agreement feedback information.
14. devices according to claim 13, is characterized in that, described device also comprises:
3rd transmitting element, for when not receiving the agreement feedback information that described destination mobile terminal returns, sends the invalid notification message of distance measurement request to described first mobile terminal.
15. 1 kinds of distance-measuring devices, is characterized in that, comprising:
First transmitting element, for sending ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
Second transmitting element, for sending the positional information of described first mobile terminal current location to described server, described server is used for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal;
First receiving element, for receiving the described geographic distance that described server sends.
16. devices according to claim 15, is characterized in that, described first transmitting element comprises:
First information intron unit, for being carried in the communication information to be sent between described first mobile terminal and described destination mobile terminal by described ranging request information;
First sends subelement, for described communication information to be sent is sent to described destination mobile terminal.
17. devices according to claim 15, is characterized in that, described second transmitting element comprises:
Second information intron unit, for being carried in described ranging request information by the positional information of described first mobile terminal current location;
Second sends subelement, for described ranging request information is sent to described server.
18. 1 kinds of distance-measuring devices, are applied to the first mobile terminal, it is characterized in that, comprising:
First transmitting element, for sending ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
First receiving element, for receiving the positional information of described destination mobile terminal current location;
Computing unit, for according to the positional information of described destination mobile terminal current location and the positional information of the first mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal.
19. 1 kinds of distance-measuring devices, are applied to server, it is characterized in that, comprising:
First transmitting element, sends to destination mobile terminal for the ranging request information sent by the first mobile terminal, the positional information of described ranging request information for making destination mobile terminal obtain self current location;
Receiving element, for receiving the positional information of described destination mobile terminal current location;
Second transmitting element, for the positional information of described destination mobile terminal current location is sent to described first mobile terminal, to make described first mobile terminal according to the positional information of the positional information of described destination mobile terminal current location and described first mobile terminal current location, obtain the geographic distance between the first mobile terminal and destination mobile terminal.
20. 1 kinds of terminal devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Send ranging request information to server, described ranging request information sends to described destination mobile terminal by described server, for obtaining the positional information of described destination mobile terminal current location;
The positional information of described first mobile terminal current location is sent to described server, described server is used for according to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtains the geographic distance between described first mobile terminal and described destination mobile terminal;
Receive the described geographic distance that described server sends.
21. 1 kinds of servers, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The ranging request information that first mobile terminal sends is sent to destination mobile terminal, the positional information of described ranging request information for making described destination mobile terminal obtain self current location;
Obtain the positional information of described destination mobile terminal current location, and, obtain the positional information of described first mobile terminal current location;
According to the positional information of described first mobile terminal current location and the positional information of described destination mobile terminal current location, obtain the geographic distance between described first mobile terminal and described destination mobile terminal.
CN201410309473.XA 2014-07-01 2014-07-01 Distance measurement method and device Pending CN105224144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410309473.XA CN105224144A (en) 2014-07-01 2014-07-01 Distance measurement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410309473.XA CN105224144A (en) 2014-07-01 2014-07-01 Distance measurement method and device

Publications (1)

Publication Number Publication Date
CN105224144A true CN105224144A (en) 2016-01-06

Family

ID=54993159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410309473.XA Pending CN105224144A (en) 2014-07-01 2014-07-01 Distance measurement method and device

Country Status (1)

Country Link
CN (1) CN105224144A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023087329A1 (en) * 2021-11-22 2023-05-25 北京小米移动软件有限公司 Collaborative ranging method and apparatus, communication device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706575A (en) * 2009-09-15 2010-05-12 宇龙计算机通信科技(深圳)有限公司 Multi-party positioning system and method for displaying positioning information by mobile terminal
CN103338512A (en) * 2013-06-18 2013-10-02 上海斐讯数据通信技术有限公司 Multi-target positioning system and multi-target positioning method
CN103822627A (en) * 2014-03-04 2014-05-28 华为技术有限公司 Navigation method, terminals and communication device
CN103873556A (en) * 2013-12-20 2014-06-18 北京奇虎科技有限公司 Method, device and system for building communication between monitoring terminals

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706575A (en) * 2009-09-15 2010-05-12 宇龙计算机通信科技(深圳)有限公司 Multi-party positioning system and method for displaying positioning information by mobile terminal
CN103338512A (en) * 2013-06-18 2013-10-02 上海斐讯数据通信技术有限公司 Multi-target positioning system and multi-target positioning method
CN103873556A (en) * 2013-12-20 2014-06-18 北京奇虎科技有限公司 Method, device and system for building communication between monitoring terminals
CN103822627A (en) * 2014-03-04 2014-05-28 华为技术有限公司 Navigation method, terminals and communication device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023087329A1 (en) * 2021-11-22 2023-05-25 北京小米移动软件有限公司 Collaborative ranging method and apparatus, communication device and storage medium

Similar Documents

Publication Publication Date Title
CN104978868A (en) Stop arrival reminding method and stop arrival reminding device
CN105578411A (en) Positioning information prompt method and device
CN105487863A (en) Interface setting method and device based on scene
CN104105064A (en) Device locating method and device
CN105491048A (en) Account management method and apparatus
CN105451177A (en) Information push method and device
CN105578401A (en) Locating information collection method, locating information collection device and mobile terminal
CN105430077A (en) Service pushing method, service pushing device and terminal
CN105515948A (en) Instant messaging method and device
CN104539812A (en) Recommendation information acquisition method, terminal and server
CN104581615A (en) Service delivery method and device
CN105261209A (en) Passenger flow volume determining method and device
CN106936836B (en) Multimedia communication method and device
CN105188027A (en) Nearby user searching method and device
CN105491518A (en) Method and device for social reminding based on wearable devices
CN104883385A (en) Rich media file transmission method and apparatus
CN104796463A (en) Time display method and device and terminal used in social application
CN105550231A (en) Information interaction method and device, and apparatus
CN105101078A (en) Information prompting method, terminal and server
CN104881342A (en) Terminal testing method and device
CN104918253A (en) Method and device for identifying fake base station and terminal device
CN103957502A (en) Location-based service program selecting method, device and terminal
CN105227660A (en) A kind of based reminding method and device
CN105450861A (en) Information prompt method and information prompt device
CN104539497A (en) Network connecting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160106