CN105530592A - Method, device and equipment for acquiring position information - Google Patents

Method, device and equipment for acquiring position information Download PDF

Info

Publication number
CN105530592A
CN105530592A CN201410515917.5A CN201410515917A CN105530592A CN 105530592 A CN105530592 A CN 105530592A CN 201410515917 A CN201410515917 A CN 201410515917A CN 105530592 A CN105530592 A CN 105530592A
Authority
CN
China
Prior art keywords
message
receiving terminal
positional information
content
preset characters
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
CN201410515917.5A
Other languages
Chinese (zh)
Other versions
CN105530592B (en
Inventor
王强
詹远
詹松龄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 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 CN201410515917.5A priority Critical patent/CN105530592B/en
Publication of CN105530592A publication Critical patent/CN105530592A/en
Application granted granted Critical
Publication of CN105530592B publication Critical patent/CN105530592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to a method, a device and equipment for acquiring position information and relates to the communication technology field. The method comprises steps that, a message sent by a sending end is received; whether the message is used for querying the position information of a reception end is determined; if yes, the present position information of the reception end is acquired; and the present position information of the reception end is sent to the sending end. Through the method, when a user of the sending end needs to acquire the position of the reception end, the user only needs to control the sending end for sending a message used for querying the position information of the reception end to the reception end, once the reception end receives the message used for querying the position information of the reception end, the reception end instantly and automatically acquires the position information of the reception end and sends the position information to the sending end, and thereby the user of the sending end can master the position of the reception end at any time.

Description

A kind of method, device and equipment obtaining positional information
Technical field
The disclosure relates to communication technical field, particularly relates to a kind of method, device and the equipment that obtain positional information.
Background technology
Along with the development of technology, mobile phone plays more and more important effect in the life of people.One of them very important effect is exactly make user can carry out instant messaging with other people.Such as, for the user having child, a lot of user is that child is equipped with mobile phone; When child plays outside, if user wants to grasp position residing for child, user can be conversed by mobile phone and child, and in communication process, child can report position residing for it directly to user.
But inventor finds: in particular cases child cannot answering cell phone at some, also just cannot be conversed by mobile phone and user, and then cannot report position residing for it to user, now user also just cannot grasp the position residing for child.Such as when child just at school or when taking an examination just cannot answering cell phone, also just cannot be conversed by mobile phone and user, and then cannot report position residing for it to user, now user also just cannot grasp the position residing for child.
Therefore, user how is made the position of grasping at any time residing for child to be a problem demanding prompt solution.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of method, device and the equipment that obtain positional information.
According to the first aspect of disclosure embodiment, provide a kind of method obtaining positional information, described method comprises;
The message that receiving end/sending end sends;
Judge that whether described message be the message of the positional information for inquiring about described receiving terminal;
When described message is the message of positional information for inquiring about described receiving terminal, obtain the positional information that described receiving terminal is current;
Positional information current for described receiving terminal is sent to described transmitting terminal.
In conjunction with first aspect, in the first possible implementation of first aspect, describedly judging that whether described message be the message of the positional information for inquiring about described receiving terminal, comprising:
Inquire about in the content of described message and whether comprise preset characters;
When the content of described message comprises described preset characters, then determine that described message is the message of the positional information for inquiring about described receiving terminal.
In conjunction with the first possible implementation of first aspect, in the implementation that first aspect the second is possible, described method also comprises:
Disappearance process is carried out to the described preset characters in the content of described message, in the content of the described message after the process that disappears, does not comprise described preset characters;
By the content displaying of the described message after the described process that disappears on the display interface of described receiving terminal.
In conjunction with the implementation that first aspect the second is possible, in the third possible implementation of first aspect, described to the preset characters in the content of described message carry out disappearance process, comprising:
Described preset characters in the content of described message is deleted;
Or,
Described preset characters in the content of described message is set to transparent invisible; Transparent sightless preset characters is set to make not show when showing the content of described message;
Or,
Obtain the alternatives corresponding with described preset characters, described alternatives is replaced the described preset characters in described message content.
In conjunction with first aspect, in first aspect the 4th kind of possible implementation, describedly judging that whether described message be the message of the positional information for inquiring about described receiving terminal, comprising:
The mark of described transmitting terminal is obtained according to described message;
Judge that whether the mark of described transmitting terminal is one in default identification list;
When one that is designated in described default identification list of described transmitting terminal, then determine that described message is the message of the positional information for inquiring about described receiving terminal.
In conjunction with first aspect, in first aspect the 5th kind of possible implementation, describedly judging that whether described message be the message of the positional information for inquiring about described receiving terminal, comprising:
Inquire about in the content of described message and whether comprise preset characters;
When the content of described message comprises described preset characters, obtain the mark of described transmitting terminal according to described message;
Judge that whether the mark of described transmitting terminal is one in default identification list;
When one that is designated in described default identification list of described transmitting terminal, then determine that described message is the message of the positional information for inquiring about described receiving terminal.
In conjunction with first aspect, in first aspect the 6th kind of possible implementation, the positional information that the described receiving terminal of described acquisition is current, comprising:
Start the positioner on described receiving terminal;
Obtain the latitude and longitude coordinates that described positioner location obtains described receiving terminal;
Described latitude and longitude coordinates is defined as the current positional information of described receiving terminal.
In conjunction with first aspect the 6th kind of possible implementation, in first aspect the 7th kind likely new paragon, the positional information that the described receiving terminal of described acquisition is current, comprising:
Obtain the geography information of described receiving terminal according to described latitude and longitude coordinates, described geography information comprises: place name, building name, link name and road number in one or more;
Described geography information is defined as the current positional information of described receiving terminal.
In conjunction with first aspect the 6th kind of possible implementation, in first aspect the 8th kind of possible implementation, the positional information that the described receiving terminal of described acquisition is current, comprising:
Obtain the cartographic information that described receiving terminal this locality stores;
On described cartographic information, the position of described receiving terminal is marked according to described latitude and longitude coordinates;
Described cartographic information after mark is carried out the area map that sectional drawing obtains described receiving terminal;
Described area map is defined as the current positional information of described receiving terminal.
In conjunction with first aspect, in first aspect the 9th kind of possible implementation, described positional information current for described receiving terminal is sent to described transmitting terminal, comprising:
Create an empty message;
The positional information of described receiving terminal is added in described empty message;
The described message that with the addition of positional information is sent to described transmitting terminal.
In conjunction with first aspect, in first aspect the tenth kind of possible implementation, described method also comprises:
The described message that with the addition of positional information is deleted from described receiving terminal.
According to the second aspect of disclosure embodiment, provide a kind of device obtaining positional information, described device comprises;
Receiver module, for the message that receiving end/sending end sends;
Judge module, for judging that whether described message be the message of the positional information for inquiring about described receiving terminal;
Acquisition module, during for being the message of positional information for inquiring about described receiving terminal when described message, obtains the positional information that described receiving terminal is current;
Sending module, for sending to described transmitting terminal by positional information current for described receiving terminal.
In conjunction with second aspect, in the first possible implementation of second aspect, described judge module comprises:
First query unit, for inquire about described message content in whether comprise preset characters;
First determining unit, for when the content of described message comprises described preset characters, then determines that described message is the message of the positional information for inquiring about described receiving terminal.
In conjunction with the first possible implementation of second aspect, in the implementation that second aspect the second is possible, described judgement also comprises:
Processing unit, carries out disappearance process for the described preset characters in the content to described message, does not comprise described preset characters in the content of the described message after the process that disappears;
Display unit, for by the content displaying of the described message after the described process that disappears at the display interface of described receiving terminal.
In conjunction with the implementation that second aspect the second is possible, in the third possible implementation of second aspect, described processing unit comprises:
Delete subelement, for the described preset characters in the content of described message being deleted; Or,
Subelement is set, for being set to transparent invisible by the described preset characters in the content of described message; Transparent sightless preset characters is set to make not show when showing the content of described message; Or,
Obtain subelement, for obtaining the alternatives corresponding with described preset characters; Replace subelement, for replacing the described preset characters in described message content by described alternatives.
In conjunction with second aspect, in second aspect the 4th kind of possible implementation, described judge module comprises:
First acquiring unit, for obtaining the mark of described transmitting terminal according to described message;
First judging unit, for judging that whether the mark of described transmitting terminal is one in default identification list;
Second determining unit, for when one that is designated in described default identification list of described transmitting terminal, then determines that described message is the message of the positional information for inquiring about described receiving terminal.
In conjunction with second aspect, in second aspect the 5th kind of possible implementation, described judge module comprises:
Second query unit, for inquire about described message content in whether comprise preset characters;
Second acquisition unit, for when the content of described message comprises described preset characters, obtains the mark of described transmitting terminal according to described message;
Second judging unit, for judging that whether the mark of described transmitting terminal is one in default identification list;
3rd determining unit, for when one that is designated in described default identification list of described transmitting terminal, then determines that described message is the message of the positional information for inquiring about described receiving terminal.
In conjunction with second aspect, in second aspect the 6th kind of possible implementation, described acquisition module comprises:
Start unit, for starting the positioner on described receiving terminal;
3rd acquiring unit, obtains the latitude and longitude coordinates of described receiving terminal for obtaining described positioner location;
4th determining unit, for being defined as the current positional information of described receiving terminal by described latitude and longitude coordinates.
In conjunction with second aspect the 6th kind of possible implementation, in second aspect the 7th kind likely new paragon, described acquisition module comprises:
4th acquiring unit, for obtaining the geography information of described receiving terminal according to described latitude and longitude coordinates, described geography information comprises: place name, building name, link name and road number in one or more;
5th determining unit, for being defined as the current positional information of described receiving terminal by described geography information.
In conjunction with second aspect the 6th kind of possible implementation, in second aspect the 8th kind of possible implementation, described acquisition module comprises:
5th acquiring unit, for obtaining the cartographic information that described receiving terminal this locality stores;
Indexing unit, for marking the position of described receiving terminal on described cartographic information according to described latitude and longitude coordinates;
Sectional drawing unit, for carrying out the described cartographic information after mark the area map that sectional drawing obtains described receiving terminal;
6th determining unit, for being defined as the current positional information of described receiving terminal by described area map.
In conjunction with second aspect, in second aspect the 9th kind of possible implementation, described sending module comprises:
Creating unit, for creating an empty message;
Adding device, for being added in described empty message by the positional information of described receiving terminal;
Transmitting element, for sending to described transmitting terminal by the described message that with the addition of positional information.
In conjunction with second aspect, in second aspect the tenth kind of possible implementation, described device also comprises:
Removing module, for deleting the described message that with the addition of positional information from described receiving terminal.
According to the third aspect of disclosure embodiment, provide a kind of equipment obtaining positional information, described equipment comprises;
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The message that receiving end/sending end sends;
Judge that whether described message be the message of the positional information for inquiring about described receiving terminal;
When described message is the message of positional information for inquiring about described receiving terminal, obtain the positional information that described receiving terminal is current;
Positional information current for described receiving terminal is sent to described transmitting terminal.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In the disclosure, the message of receiving end/sending end transmission; Judge that whether message be the message of the positional information for inquire-receive end; When message is the message for the positional information of inquire-receive end, obtain the positional information that receiving terminal is current; Positional information current for receiving terminal is sent to transmitting terminal.
When using the user of transmitting terminal to want the position known residing for receiving terminal, only need control transmitting terminal and send message for the positional information of inquire-receive end to receiving terminal, this message can be the message that the transmitting terminal of the message and/or specific identifier comprising preset characters sends, once receiving terminal receives this message for the positional information of inquire-receive end, the just positional information of automatic acquisition receiving terminal at once, the positional information of receiving terminal can be the latitude and longitude coordinates of receiving terminal, geography information and/or area map, then receiving terminal positional information is sent to transmitting terminal, transmitting terminal receives the positional information of receiving terminal, use the user of transmitting terminal just can know position residing for receiving terminal according to this positional information.So, the user of use transmitting terminal can grasp the position residing for receiving terminal at any time.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is a kind of flow chart obtaining positional information method according to an exemplary embodiment.
Fig. 2 is a kind of scene schematic diagram according to an exemplary embodiment.
Fig. 3 is a kind of flow chart obtaining positional information method according to another exemplary embodiment.
Fig. 4 is a kind of flow chart obtaining positional information method according to another exemplary embodiment.
Fig. 5 is a kind of flow chart obtaining positional information method according to another exemplary embodiment.
Fig. 6 is a kind of flow chart obtaining positional information method according to another exemplary embodiment.
Fig. 7 is a kind of flow chart obtaining positional information method according to another exemplary embodiment.
Fig. 8 is a kind of block diagram obtaining the device of positional information according to another exemplary embodiment.
Fig. 9 is a kind of block diagram obtaining the equipment of positional information according to another exemplary embodiment.
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.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.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 invention are consistent.
Fig. 1 is a kind of method flow diagram obtaining positional information according to an exemplary embodiment, and as shown in Figure 1, the method for this acquisition positional information is used for, in receiving terminal, comprising the following steps.
In step S101, the message that receiving end/sending end sends.
For regular handset, the message that transmitting terminal sends can be SMS or call request message, along with the development of science and technology, the application of smart mobile phone in the live and work of people is more and more extensive, get more and more for the application software of communication in mobile phone, such as: instant messaging class application software, so correspondingly, the message that transmitting terminal sends can also for the network Short Message sent by communication class software, certainly in the disclosed embodiments, transmitting terminal is not defined as mobile phone, can also be such as panel computer or computer etc.
In step s 102, judge that whether this message be the message of the positional information for inquire-receive end.
In the disclosed embodiments, being used for the message of positional information of inquire-receive end can be the message needing more self-defining special formats according to user, such as: the content of message comprises the message of preset characters, such as " at which are you? "Or, the message of the terminal transmission of certain specific identifier, such as: the message of the mobile phone transmission of certain particular hand plane No..Or the terminal of certain specific identifier sends and the content of message comprises the message of preset characters, such as: what the mobile phone of certain particular hand plane No. sent comprise " at which are you? " message.
In actual applications, above-mentioned several mode is only citing, and in other embodiments, user can also arrange the message of message as the positional information for inquire-receive end of other form according to self hobby.
With the above-mentioned News Category citing enumerated, when judging that whether this message be the message for the positional information of inquire-receive end, content for message comprises the message of preset characters, so in this step, can all the elements in the content of this message of extracting directly, then judge whether these all the elements comprise preset characters, if comprise preset characters, then determine that this message is the message of the positional information for inquire-receive end.
When this message is the message for the positional information of inquire-receive end, in step s 103, the current positional information of receiving terminal is obtained.Otherwise, process ends.
Wherein, receiving terminal can obtain the current positional information of receiving terminal by following three kinds of modes, comprising:
A kind of mode, receiving terminal start himself built-in positioner, such as GPS (GlobalPositioningSystem, global positioning system), by positioner, receiving terminal is positioned to the latitude and longitude coordinates obtaining receiving terminal position, and using the latitude and longitude coordinates of receiving terminal position as the current positional information of receiving terminal.
The base station that another kind of mode, receiving terminal can access with it carries out alternately, obtaining the latitude and longitude coordinates of the base station that it accesses, and the latitude and longitude coordinates of the base station it accessed is as the current positional information of receiving terminal.
Another mode, receiving terminal can obtain the WiFi (WirelessFidelity of its access, Wireless Fidelity) MAC (MediaAccessControl of network, medium access control) address or IP (InternetProtocol, the agreement interconnected between network) address etc., be latitude and longitude coordinates by the MAC Address of WiFi network or IP address transition, and using this latitude and longitude coordinates as the current positional information of receiving terminal.
In step S104, positional information current for receiving terminal is sent to transmitting terminal.
Wherein, by textual form, speech form or graphic form, positional information current for receiving terminal can be sent to transmitting terminal.
When practical application, can judge that the message format obtained sends targetedly according to above-mentioned steps S102, such as: when the message of the positional information for inquire-receive end that receiving terminal receives is SMS, just in the form of text positional information current for receiving terminal is sent to transmitting terminal.When the message of the positional information for inquire-receive end that receiving terminal receives is call request message, just with speech form, positional information current for receiving terminal is sent to transmitting terminal.
For smart mobile phone, be usually provided with map software, user, according to receiving latitude and longitude coordinates, directly can show the exact position of receiving terminal on smart mobile phone by map software, so that understand the position residing for receiving terminal.
In the disclosure embodiment shown in Fig. 1, the message that receiving end/sending end sends; Judge that whether message be the message of the positional information for inquire-receive end; When message is the message for the positional information of inquire-receive end, obtain the positional information that receiving terminal is current; Positional information current for receiving terminal is sent to transmitting terminal.
When using the user of transmitting terminal to want the position known residing for receiving terminal, only need control transmitting terminal and send message for the positional information of inquire-receive end to receiving terminal, once receiving terminal receives this message for the positional information of inquire-receive end, the just positional information of automatic acquisition receiving terminal at once, then receiving terminal positional information is sent to transmitting terminal, transmitting terminal receives the positional information of receiving terminal, uses the user of transmitting terminal just can know position residing for receiving terminal according to this positional information.So, the user of use transmitting terminal can grasp the position residing for receiving terminal at any time.
In the above-described embodiments, for smart mobile phone, usually map software is installed, but for non intelligent mobile phone, map software may be installed.Like this, when for non intelligent mobile phone, user can only see the latitude and longitude coordinates of receiving terminal on mobile phone, but for most of user, the latitude and longitude coordinates of pure digi-tal is more abstract, most of user according to latitude and longitude coordinates cannot fast and visual pattern know the geography information of receiving terminal.Geography information can be comprise place name, building name, link name and road number in one or more.Such as: AA mansion, BB park or No. 23, people road etc.
Such as, suppose that the latitude and longitude coordinates of receiving terminal is for " 38.1 ° of N, 103.5 ° of E ", most of user cannot be in which mansion, in which park or on which bar road according to the current of this coordinate determination receiving terminal at once.
Therefore, in order to make user on transmitting terminal can more fast, more directly perceived and vivider the position known residing for receiving terminal, receiving terminal first obtains the latitude and longitude coordinates of receiving terminal, then obtains the geography information of receiving terminal according to this latitude and longitude coordinates, and as the current positional information of receiving terminal.
For this reason, in the disclosed embodiments, the current positional information of receiving terminal can be obtained by the following two kinds mode.
First kind of way, comprises step:
11) latitude and longitude coordinates of receiving terminal, is obtained.
12), the local latitude and longitude coordinates of storage in advance and the corresponding relation of geography information is obtained.
13), according to this latitude and longitude coordinates, in the corresponding relation of latitude and longitude coordinates with geography information, corresponding geography information is obtained.
14), using the positional information of this geography information as receiving terminal.
The second way, comprises step:
21) latitude and longitude coordinates of receiving terminal, is obtained.
22), the latitude and longitude coordinates of receiving terminal is sent to location server.
Wherein, location server receives the latitude and longitude coordinates that receiving terminal sends, and obtains the geography information of receiving terminal, and the geography information of receiving terminal is sent to receiving terminal according to this latitude and longitude coordinates,
23), the geography information of receiving terminal that sends according to the latitude and longitude coordinates of receiving terminal of reception server.
24), using this geography information as the current positional information of receiving terminal.
Although in above-described embodiment, when this latitude and longitude coordinates can be converted to the geography information of receiving terminal by receiving terminal, user by this geography information more intuitively vivider know position residing for receiving terminal, but when the surrounding environment of user to this position is unfamiliar with, only also cannot determine the exact position of receiving terminal according to geography information, and the orientation of receiving terminal relative to transmitting terminal cannot be determined.
Such as: suppose that user is in unfamiliar city and user is unfamiliar with road conditions and the building in this city, when the child of user goes astray from the group, user is badly in need of obtaining the current positional information of receiving terminal, to determine the position residing for child according to this positional information.But when the positional information of self that receiving terminal obtains is XX mansion, FF road, if user does not always listen Guo Shuozhetiao road and this mansion, when user sees at transmitting terminal positional information " the XX mansion, FF road " that receiving terminal sends, probably confused, thus cannot determine to quicklook the position residing for child, and position residing for child is relative to the direction of oneself present position, thus child cannot be found rapidly in the position residing for self present position and child, delay the good opportunity of searching child.
Therefore, conveniently user knows the exact position of receiving terminal, and in the disclosed embodiments, receiving terminal first can obtain self latitude and longitude coordinates, obtains the area map of receiving terminal according to this latitude and longitude coordinates.The area map of receiving terminal not only marked the position of receiving terminal in cartographic information, and situation about including around the position residing for receiving terminal, as long as user knows some buildings or a certain bar road around the position residing for receiving terminal, just can know the exact position of receiving terminal, and receiving terminal is relative to the orientation of transmitting terminal.
Wherein, the area map obtaining receiving terminal can be realized by the following two kinds mode, comprising:
A kind of mode, comprises step:
31) cartographic information that receiving terminal this locality prestores, is obtained.
Wherein, receiving terminal can in advance in local storing map information, and the off-line map etc. of such as navigation software, in this cartographic information, each latitude and longitude coordinates or each coordinates regional are to there being a geographical position.
Such as: certain mansion can a corresponding latitude and longitude coordinates.Some schools can a corresponding coordinates regional, and the geographical position being positioned at all latitude and longitude coordinates of this coordinates regional corresponding is all this school.
32) geographical position of receiving terminal or the position of the latitude and longitude coordinates of receiving terminal on this cartographic information, is determined.
33), the position of receiving terminal on this cartographic information is marked.
Wherein, the position of receiving terminal on cartographic information can be marked in the mode such as arrow or circle.
34), by the cartographic information after mark carry out sectional drawing, obtain area map, using this area map as the current positional information of receiving terminal.
Wherein, suppose that the residing position of receiving terminal is for " Anhua Development Building ", area map can be as shown in Figure 2.User is by this area map, can the situation of clear " Anhua Development Building " periphery, such as: between North 3rd Ring Road and No. 10 subway/light rail line, between Subway Line 5 and No. 10 subway/light rail line, even if do not know that Anhua Development Building is at which, also can determine the exact position of Anhua Development Building according to the building of Anhua Development Building periphery or road etc. like this before user always.
If receiving terminal is not in advance in local storing map information, now receiving terminal can also by obtaining the area map of receiving terminal with location server alternately.Can adopt and realize in another way, comprise step:
41), the latitude and longitude coordinates of acquisition is sent to location server.
42), the area map of receiving terminal that sends according to this latitude and longitude coordinates of receiving position server, and using this area map as the current positional information of receiving terminal.
Wherein, adopt the mode of receiving terminal and server interaction, without the need to downloading the larger cartographic information that takes up room in advance, the Internet resources expended because downloading cartographic information can be saved, and the memory space of receiving terminal this locality can be saved.When receiving terminal will obtain the positional information of receiving terminal, receiving terminal only need carry out data interaction with server, obtains the area map of receiving terminal from server.
In another embodiment of the disclosure, as shown in Figure 3, step S102 can comprise:
In step s 201, the content of this message is obtained.
In step S202, inquire about in the content of this message whether comprise preset characters.
Wherein, preset characters can be predetermined keyword or predetermined symbol etc.
When the content of message comprises preset characters, in step S203, determine that this message is the message of the positional information for inquire-receive end.Otherwise, process ends.
Wherein, user can arrange preset characters in advance on the receive side, when user needs to know the current positional information of receiving terminal, user controls transmitting terminal and generates message for the current positional information of inquire-receive end, and this message is sent to receiving terminal, the content of this message comprises preset characters.Receiving terminal receives this message, obtains the content of this message.
Such as, be that preset characters is illustrated with predetermined keyword, suppose predetermined keyword that user arranges in advance on the receive side for " at which are you? "When user wants to know the current positional information of receiving terminal, transmitting terminal can be controlled and generate message for the current positional information of inquire-receive end, and this message is sent to receiving terminal, the content of this message comprise predetermined keyword " at which are you? " the content supposing this message is " Xiao Ming, are you at which? lose no time to go home to have a meal ".Receiving terminal receives this message, obtain this message content " Xiao Ming; you are at which? lose no time to go home to have a meal ", search in this message content exist predetermined keyword " at which are you? " and find predetermined keyword " at which are you? ", then determine that this message is the message for the current positional information of inquire-receive end.
In the disclosed embodiments, the method is further comprising the steps of:
51), disappearance process is carried out to the preset characters in the content of this message.
Wherein, preset characters is not comprised in the content of this message after processing that disappears.
In this step, by following three kinds of modes, disappearance process is carried out to preset characters.
A kind of mode, the preset characters in the content of this message to be deleted from the content of this message.
Such as, by this message content " Xiao Ming, are you at which? lose no time to go home to have a meal " predetermined keyword " at which are you? " delete, obtain the content " Xiao Ming loses no time to go home to have a meal " of the message after disappearance process.
Another kind of mode, the preset characters in the content of this message is set to invisible.
Wherein, receiving terminal can not show when showing the content of this message and is set to transparent sightless preset characters.
Such as, by this message content " Xiao Ming, are you at which? lose no time to go home to have a meal " predetermined keyword " at which are you? " be set to invisible.
Another mode, obtain the alternatives corresponding with preset characters, replace the preset characters in this message content by alternatives.
Wherein, from receiving terminal this locality store preset characters with obtain alternatives corresponding to preset characters the corresponding relation of alternatives; The preset characters in this message content is replaced by this alternatives.
Such as, the preset characters that stores of receiving terminal this locality and the corresponding relation of alternatives as shown in table 1 below.
Table 1
Preset characters Alternatives
The place that you are present? Don't you how get through your phone?
Are you at which? Are you why?
Report your position? Will return home?
Receiving terminal according to predetermined keyword " at which are you? " preset characters shown in table 1 and the corresponding relation of alternatives search corresponding alternatives " why are you? " this message content " Xiao Ming; you are at which? lose no time to go home to have a meal " in, with alternatives " why are you? " replace preset keyword " at which are you? " the content of the message after the process that disappears like this " Xiao Ming, are you why? and lose no time to go home to have a meal ".
52) content displaying of this message after, disappearance being processed is on the display interface of receiving terminal.
Such as, if in step 51) in what adopt is a kind of mode or another kind of mode, the content " Xiao Ming loses no time to go home to have a meal " of message after the process that disappears is illustrated on the display interface of receiving terminal.If in step 51) in what adopt is another mode, the content of the message after the process that disappears " Xiao Ming, are you why? lose no time to go home to have a meal " is illustrated on the display interface of receiving terminal.
In the disclosed embodiments, when user wants the position monitored at any time residing for child, be unwilling again to allow child know user is when monitoring him simultaneously, a kind of display mode can be set on the receive side in advance, with make when receiving terminal receive that transmitting terminal sends carry the message of presetting message content time, on display interface, only show the content of this message after processing that disappears, and does not show the preset characters in the content of this message, so, avoid child and find that user is monitoring him at any time.
For some special screnes, such as: the head of a family thinks the position understanding child at any time, need all to input one " preset characters " at every turn, step is more loaded down with trivial details, and on the other hand, preset characters takies certain space, a certain amount of Internet resources can be taken in transmitting procedure, cause network resources waste.
Therefore, in order to save the step of user operation and save Internet resources, as shown in Figure 4, in the another embodiment of the disclosure, step S102 can comprise:
In step S301, obtain the mark of transmitting terminal according to this message.
The mark of transmitting terminal can be the numbering and/or title etc. of transmitting terminal.Such as, when receiving terminal is mobile phone, the mark of receiving terminal can be phone number.
In step s 302, judge that whether the mark of transmitting terminal is one in default identification list.
When one that is designated in default identification list of transmitting terminal, in step S303, determine that this message is the message of the positional information for inquire-receive end.Otherwise, process ends.
The mark of transmitting terminal can be stored in the default identification list of receiving terminal this locality by user in advance.When user needs to know the current positional information of receiving terminal, user controls transmitting terminal and generates message for the current positional information of inquire-receive end, and this message is sent to receiving terminal.Receiving terminal receives this message, the mark of transmitting terminal is obtained according to this message, in the default identification list that this locality stores, searching the mark that whether there is transmitting terminal, when there is the mark of transmitting terminal, then determining that this message is the message for the current positional information of inquire-receive end.
Such as, take transmitting terminal as mobile phone, and the phone number that is designated of transmitting terminal is that example is described, that supposes transmitting terminal is designated 133AAAABBBB, the mark 133AAAABBBB of transmitting terminal is stored in the default identification list of receiving terminal this locality storage by user in advance, and the default device identification list that with the addition of the device identification of transmitting terminal can be as shown in table 2 below.
Table 2
158AACCBEEB
133AAAABBBB
152AABBBBBB
139ACAABEFF
133AADDCEBB
When user wants to know the current positional information of receiving terminal, the transmitting terminal that can control to be designated 133AAAABBBB generates the message for the current positional information of inquire-receive end, and this message is sent to receiving terminal.Receiving terminal receives this message, the mark 133AAAABBBB of transmitting terminal is obtained according to this message, the mark 133AAAABBBB that whether there is transmitting terminal is searched in the default identification list that this locality stores, and find the mark 133AAAABBBB of transmitting terminal, then determine that this message is the message for the current positional information of inquire-receive end.
In a upper embodiment, describe the scheme that a receiving terminal obtains the positional information of self, but for some embody rule situations, may be utilized by lawless person, such as: once preset characters is revealed or transmitting terminal is stolen, anyone can grasp the positional information of receiving terminal at any time, thus cannot ensure the privacy of the user of receiving terminal and use receiving terminal, is easy to using the user of receiving terminal to bring loss.
For this reason, in the another embodiment of the disclosure, as shown in Figure 5, step S102 can comprise:
In step S401, inquire about in the content of this message whether comprise preset characters.
Preset characters can be predetermined keyword or predetermined symbol.
When the content of this message comprises preset characters, in step S402, obtain the mark of transmitting terminal according to this message.Otherwise, process ends.
In step S403, judge that whether the mark of transmitting terminal is one in default identification list.
When one that is designated in default identification list of transmitting terminal, in step s 404, determine that message is the message of the positional information for inquire-receive end.Otherwise, process ends.
Wherein, the mark of transmitting terminal can be stored in the default identification list of receiving terminal this locality by user in advance, and preset characters is set on the receive side, when user needs to know the current positional information of receiving terminal, user controls transmitting terminal and generates message for the current positional information of inquire-receive end, and this message is sent to receiving terminal, this message carries the mark of transmitting terminal and the content of this message comprises preset characters.Receiving terminal receives this message, obtain the content of this message, the mark of transmitting terminal is obtained according to this message, the mark that whether there is transmitting terminal is searched in the default identification list that this locality stores, and whether comprise preset characters in the content of inquiring about this message, when comprising preset characters, then determine that this message is the message for the current positional information of inquire-receive end when the mark that there is transmitting terminal.
Such as, take transmitting terminal as mobile phone, transmitting terminal be designated phone number, and predetermined keyword is preset characters is illustrated.
Suppose predetermined keyword that user arranges in advance on the receive side for " at which are you? " transmitting terminal be designated 133AAAABBBB, the mark 133AAAABBBB of transmitting terminal is stored in the default identification list of receiving terminal this locality storage by user in advance, and the default device identification list that with the addition of the device identification of transmitting terminal can as above shown in table 2.
When user wants to know the current positional information of receiving terminal, the transmitting terminal that can control to be designated 133AAAABBBB generates the message for the current positional information of inquire-receive end, and this message is sent to receiving terminal, the content of this message comprise predetermined keyword " at which are you? " the content supposing this message is " Xiao Ming, are you at which? lose no time to go home to have a meal ".Receiving terminal receives this message, obtains the content " Xiao Ming, are you at which? lose no time to go home to have a meal " of this message, and obtains the mark 133AAAABBBB of transmitting terminal according to message.The mark 133AAAABBBB that whether there is transmitting terminal is searched in the default identification list that this locality stores, and find the device identification 133AAAABBBB of transmitting terminal, and search in this message content exist predetermined keyword " at which are you? " and find predetermined keyword " at which are you? ", then determine that this message is the message for the current positional information of inquire-receive end.
In addition, in the another embodiment of the disclosure, as shown in Figure 6, step S102 can comprise:
In step S501, obtain the mark of transmitting terminal according to this message.
In step S502, judge that whether the mark of transmitting terminal is one in default identification list.
When one that is designated in default identification list of transmitting terminal, in step S503, inquire about in the content of this message whether comprise preset characters.Otherwise, process ends.
When the content of this message comprises preset characters, in step S504, determine that this message is the message of the positional information for inquire-receive end.Otherwise, process ends.
In the another embodiment of the disclosure, as shown in Figure 7, step S104 comprises:
In step s 601, an empty message is created.
Wherein, empty message can be blank note or blank network Short Message etc.
In step S602, positional information current for receiving terminal is added in this empty message.
In step S603, the message that with the addition of positional information is sent to transmitting terminal.
Wherein, when receiving terminal is mobile phone, receiving terminal can create a blank SMS, when the positional information that receiving terminal is current is latitude and longitude coordinates and/or the geographical position of receiving terminal, positional information current for receiving terminal is added in this SMS, this SMS is sent to transmitting terminal.
When the positional information that receiving terminal is current is the area map of receiving terminal, self zone map is added in this SMS by receiving terminal, and this SMS is sent to transmitting terminal.
Wherein, because the area map of receiving terminal takes up space larger, be generally hundreds of KB, if when user often needs to obtain the positional information of receiving terminal by transmitting terminal, the area map of hundreds of KB all will be sent to transmitting terminal by each transmitting terminal, can take more Internet resources and expend receiving terminal and a large amount of network traffics of transmitting terminal.
Therefore, receiving terminal can obtain link corresponding to the area map of receiving terminal, this link is added in this SMS, this SMS is sent to transmitting terminal.
When user needs the area map obtaining receiving terminal, this link can be triggered on transmitting terminal, after transmitting terminal receives this triggering signal, obtain the area map of receiving terminal according to this link from receiving terminal, and be illustrated on the viewing area of transmitting terminal.When user does not need the area map obtaining receiving terminal, just do not need to trigger this link, transmitting terminal also without the need to obtaining the area map of receiving terminal from receiving terminal according to this link, thus saves Internet resources, also saves the network traffics of transmitting terminal and receiving terminal.
In step s 604, the message that with the addition of positional information is deleted from receiving terminal.
Such as, when user wants the position monitored at any time residing for child, be unwilling again to allow child know user is when monitoring him simultaneously, the message of automatically deleting point of addition information can be set in advance on the receive side, with the message making to have sent point of addition information whenever receiving terminal to receiving terminal after, just automatically delete the message of this point of addition information.So, avoid child and find that user is monitoring him at any time.
Fig. 8 is a kind of device block diagram obtaining positional information according to an exemplary embodiment.As shown in Figure 8, this device comprises receiver module 701, judge module 702, acquisition module 703 and sending module 704.
Receiver module 701 is configured to the message that receiving end/sending end sends;
Judge module 702 is configured to judge that whether message be the message of the positional information for inquire-receive end;
Acquisition module 703 is configured to when message is the message for the positional information of inquire-receive end, obtains the positional information that receiving terminal is current;
Sending module 704 is configured to positional information current for receiving terminal to send to transmitting terminal.
In the disclosure embodiment shown in Fig. 8, the message that receiving end/sending end sends; Judge that whether message be the message of the positional information for inquire-receive end; When message is the message for the positional information of inquire-receive end, obtain the positional information that receiving terminal is current; Positional information current for receiving terminal is sent to transmitting terminal.
When using the user of transmitting terminal to want the position known residing for receiving terminal, only need control transmitting terminal and send message for the positional information of inquire-receive end to receiving terminal, once receiving terminal receives this message for the positional information of inquire-receive end, the just positional information of automatic acquisition receiving terminal at once, then receiving terminal positional information is sent to transmitting terminal, transmitting terminal receives the positional information of receiving terminal, uses the user of transmitting terminal just can know position residing for receiving terminal according to this positional information.So, the user of use transmitting terminal can grasp the position residing for receiving terminal at any time.
Wherein, judge module 702 comprises: the first query unit and the first determining unit.
First query unit is configured to whether comprise preset characters in the content of query messages;
First determining unit is configured to when the content of message comprises preset characters, then determine that message is the message of the positional information for inquire-receive end.
Further, judge module also comprises: processing unit and display unit.
Processing unit is configured to carry out disappearance process to the preset characters in the content of message, does not comprise preset characters in the content of the message after the process that disappears;
Display unit is configured to the content displaying of the message after by the process that disappears on the display interface of receiving terminal.
Wherein, processing unit comprises: delete subelement or arrange subelement or comprise acquisition subelement simultaneously and replace subelement.
Delete subelement to be configured to the preset characters in the content of message to delete;
Arranging subelement is configured to the preset characters in the content of message to be set to transparent invisible; Transparent sightless preset characters is set to make not show when showing the content of message;
Obtain subelement to be configured to obtain the alternatives corresponding with preset characters;
Replace the preset characters that subelement is configured to replace by alternatives in message content.
Wherein, judge module 702 comprises: the first acquiring unit, the first judging unit and the second determining unit.
First acquiring unit is configured to the mark obtaining transmitting terminal according to message;
First judging unit is configured to judge that whether the mark of transmitting terminal is one in default identification list;
When second determining unit is configured to that is designated in default identification list when transmitting terminal, then determine that message is the message of the positional information for inquire-receive end.
Wherein, judge module 702 comprises: the second query unit, second acquisition unit, the second judging unit and the 3rd determining unit.
Second query unit is configured to whether comprise preset characters in the content of query messages;
Second acquisition unit is configured to when the content of message comprises preset characters, obtains the mark of transmitting terminal according to message;
Second judging unit is configured to judge that whether the mark of transmitting terminal is one in default identification list;
When 3rd determining unit is configured to that is designated in default identification list when transmitting terminal, then determine that message is the message of the positional information for inquire-receive end.
Wherein, acquisition module 703 comprises: start unit, the 3rd acquiring unit and the 4th determining unit.
Start unit is configured to start the positioner on receiving terminal;
3rd acquiring unit is configured to obtain the latitude and longitude coordinates that positioner location obtains receiving terminal;
4th determining unit is configured to latitude and longitude coordinates is defined as the current positional information of receiving terminal.
Wherein, acquisition module 703 comprises: the 4th acquiring unit and the 5th determining unit.
4th acquiring unit is configured to obtain the geography information of receiving terminal according to latitude and longitude coordinates, and geography information comprises: one or more in place name, building name, link name and road number;
5th determining unit is configured to geography information is defined as the current positional information of receiving terminal.
Wherein, acquisition module 703 comprises: the 5th acquiring unit, indexing unit, sectional drawing unit and the 6th determining unit.
5th acquiring unit is configured to the cartographic information obtaining the storage of receiving terminal this locality;
Indexing unit is configured to the position marking receiving terminal according to latitude and longitude coordinates on cartographic information;
Sectional drawing unit is configured to the cartographic information after by mark and carries out the area map that sectional drawing obtains receiving terminal;
6th determining unit is configured to area map is defined as the current positional information of receiving terminal.
Wherein, sending module 704 comprises: creating unit, adding device and transmitting element.
Creating unit is configured to establishment empty message;
Adding device is configured to the positional information of receiving terminal to be added in empty message;
Transmitting element is configured to the message that with the addition of positional information to send to transmitting terminal.
Further, this device also comprises removing module;
Removing module is configured to the message that with the addition of positional information to delete from receiving terminal.
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.
Fig. 9 is the block diagram of a kind of equipment 800 for obtaining positional information according to an exemplary embodiment.Such as, equipment 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, equipment 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of the usual control appliance 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.
Memory 804 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on equipment 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 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), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 806 is equipment 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 equipment 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described equipment 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 equipment 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 equipment 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, 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 cluster 814 comprises one or more transducer, for providing the state estimation of various aspects for equipment 800.Such as, sensor cluster 814 can detect the opening/closing state of equipment 800, the relative positioning of assembly, such as described assembly is display and the keypad of equipment 800, the position of all right checkout equipment 800 of sensor cluster 814 or equipment 800 1 assemblies changes, the presence or absence that user contacts with equipment 800, the variations in temperature of equipment 800 orientation or acceleration/deceleration and equipment 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to the communication of wired or wireless mode between equipment of being convenient to 800 and other equipment.Equipment 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, equipment 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), 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 memory 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of equipment 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 equipment 800, make equipment 800 can perform a kind of method obtaining positional information, described method comprises:
The message that receiving end/sending end sends;
Judge that whether described message be the message of the positional information for inquiring about described receiving terminal;
When described message is the message of positional information for inquiring about described receiving terminal, obtain the positional information that described receiving terminal is current;
Positional information current for described receiving terminal is sent to described transmitting terminal.
Those skilled in the art, at consideration specification 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.Specification 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 (23)

1. obtain a method for positional information, be applied to receiving terminal, it is characterized in that, described method comprises:
The message that receiving end/sending end sends;
Judge that whether described message be the message of the positional information for inquiring about described receiving terminal;
When described message is the message of positional information for inquiring about described receiving terminal, obtain the positional information that described receiving terminal is current;
Positional information current for described receiving terminal is sent to described transmitting terminal.
2. method according to claim 1, is characterized in that, describedly judges that whether described message be the message of the positional information for inquiring about described receiving terminal, comprising:
Inquire about in the content of described message and whether comprise preset characters;
When the content of described message comprises described preset characters, then determine that described message is the message of the positional information for inquiring about described receiving terminal.
3. method according to claim 2, is characterized in that, described method also comprises:
Disappearance process is carried out to the described preset characters in the content of described message, in the content of the described message after the process that disappears, does not comprise described preset characters;
By the content displaying of the described message after the described process that disappears on the display interface of described receiving terminal.
4. method according to claim 3, is characterized in that, described to the preset characters in the content of described message carry out disappearance process, comprising:
Described preset characters in the content of described message is deleted;
Or,
Described preset characters in the content of described message is set to transparent invisible; Transparent sightless preset characters is set to make not show when showing the content of described message;
Or,
Obtain the alternatives corresponding with described preset characters, described alternatives is replaced the described preset characters in described message content.
5. method according to claim 1, is characterized in that, describedly judges that whether described message be the message of the positional information for inquiring about described receiving terminal, comprising:
The mark of described transmitting terminal is obtained according to described message;
Judge that whether the mark of described transmitting terminal is one in default identification list;
When one that is designated in described default identification list of described transmitting terminal, then determine that described message is the message of the positional information for inquiring about described receiving terminal.
6. method according to claim 1, is characterized in that, describedly judges that whether described message be the message of the positional information for inquiring about described receiving terminal, comprising:
Inquire about in the content of described message and whether comprise preset characters;
When the content of described message comprises described preset characters, obtain the mark of described transmitting terminal according to described message;
Judge that whether the mark of described transmitting terminal is one in default identification list;
When one that is designated in described default identification list of described transmitting terminal, then determine that described message is the message of the positional information for inquiring about described receiving terminal.
7. method according to claim 1, is characterized in that, the positional information that the described receiving terminal of described acquisition is current, comprising:
Start the positioner on described receiving terminal;
Obtain the latitude and longitude coordinates that described positioner location obtains described receiving terminal;
Described latitude and longitude coordinates is defined as the current positional information of described receiving terminal.
8. method according to claim 7, is characterized in that, the positional information that the described receiving terminal of described acquisition is current, comprising:
Obtain the geography information of described receiving terminal according to described latitude and longitude coordinates, described geography information comprises: place name, building name, link name and road number in one or more;
Described geography information is defined as the current positional information of described receiving terminal.
9. method according to claim 7, is characterized in that, the positional information that the described receiving terminal of described acquisition is current, comprising:
Obtain the cartographic information that described receiving terminal this locality stores;
On described cartographic information, the position of described receiving terminal is marked according to described latitude and longitude coordinates;
Described cartographic information after mark is carried out the area map that sectional drawing obtains described receiving terminal;
Described area map is defined as the current positional information of described receiving terminal.
10. method according to claim 1, is characterized in that, described positional information current for described receiving terminal is sent to described transmitting terminal, comprising:
Create an empty message;
The positional information of described receiving terminal is added in described empty message;
The described message that with the addition of positional information is sent to described transmitting terminal.
11. methods according to claim 1, is characterized in that, described method also comprises:
The described message that with the addition of positional information is deleted from described receiving terminal.
12. 1 kinds of devices obtaining positional information, be applied to receiving terminal, it is characterized in that, described device comprises:
Receiver module, for the message that receiving end/sending end sends;
Judge module, for judging that whether described message be the message of the positional information for inquiring about described receiving terminal;
Acquisition module, during for being the message of positional information for inquiring about described receiving terminal when described message, obtains the positional information that described receiving terminal is current;
Sending module, for sending to described transmitting terminal by positional information current for described receiving terminal.
13. devices according to claim 12, is characterized in that, described judge module comprises:
First query unit, for inquire about described message content in whether comprise preset characters;
First determining unit, for when the content of described message comprises described preset characters, then determines that described message is the message of the positional information for inquiring about described receiving terminal.
14. devices according to claim 13, is characterized in that, described judge module also comprises:
Processing unit, carries out disappearance process for the described preset characters in the content to described message, does not comprise described preset characters in the content of the described message after the process that disappears;
Display unit, for by the content displaying of the described message after the described process that disappears at the display interface of described receiving terminal.
15. devices according to claim 14, is characterized in that, described processing unit comprises:
Delete subelement, for the described preset characters in the content of described message being deleted; Or,
Subelement is set, for being set to transparent invisible by the described preset characters in the content of described message; Transparent sightless preset characters is set to make not show when showing the content of described message; Or,
Obtain subelement, for obtaining the alternatives corresponding with described preset characters; Replace subelement, for replacing the described preset characters in described message content by described alternatives.
16. devices according to claim 12, is characterized in that, described judge module comprises:
First acquiring unit, for obtaining the mark of described transmitting terminal according to described message;
First judging unit, for judging that whether the mark of described transmitting terminal is one in default identification list;
Second determining unit, for when one that is designated in described default identification list of described transmitting terminal, then determines that described message is the message of the positional information for inquiring about described receiving terminal.
17. devices according to claim 12, is characterized in that, described judge module comprises:
Second query unit, for inquire about described message content in whether comprise preset characters;
Second acquisition unit, for when the content of described message comprises described preset characters, obtains the mark of described transmitting terminal according to described message;
Second judging unit, for judging that whether the mark of described transmitting terminal is one in default identification list;
3rd determining unit, for when one that is designated in described default identification list of described transmitting terminal, then determines that described message is the message of the positional information for inquiring about described receiving terminal.
18. devices according to claim 12, is characterized in that, described acquisition module comprises:
Start unit, for starting the positioner on described receiving terminal;
3rd acquiring unit, obtains the latitude and longitude coordinates of described receiving terminal for obtaining described positioner location;
4th determining unit, for being defined as the current positional information of described receiving terminal by described latitude and longitude coordinates.
19. devices according to claim 18, is characterized in that, described acquisition module comprises:
4th acquiring unit, for obtaining the geography information of described receiving terminal according to described latitude and longitude coordinates, described geography information comprises: place name, building name, link name and road number in one or more;
5th determining unit, for being defined as the current positional information of described receiving terminal by described geography information.
20. devices according to claim 18, is characterized in that, described acquisition module comprises:
5th acquiring unit, for obtaining the cartographic information that described receiving terminal this locality stores;
Indexing unit, for marking the position of described receiving terminal on described cartographic information according to described latitude and longitude coordinates;
Sectional drawing unit, for carrying out the described cartographic information after mark the area map that sectional drawing obtains described receiving terminal;
6th determining unit, for being defined as the current positional information of described receiving terminal by described area map.
21. devices according to claim 12, is characterized in that, described sending module comprises:
Creating unit, for creating an empty message;
Adding device, for being added in described empty message by the positional information of described receiving terminal;
Transmitting element, for sending to described transmitting terminal by the described message that with the addition of positional information.
22. devices according to claim 12, is characterized in that, described device also comprises:
Removing module, for deleting the described message that with the addition of positional information from described receiving terminal.
23. 1 kinds of equipment obtaining positional information, it is characterized in that, described equipment comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
The message that receiving end/sending end sends;
Judge that whether described message be the message of the positional information for inquiring about described receiving terminal;
When described message is the message of positional information for inquiring about described receiving terminal, obtain the positional information that described receiving terminal is current;
Positional information current for described receiving terminal is sent to described transmitting terminal.
CN201410515917.5A 2014-09-29 2014-09-29 Method, device and equipment for acquiring position information Active CN105530592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410515917.5A CN105530592B (en) 2014-09-29 2014-09-29 Method, device and equipment for acquiring position information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410515917.5A CN105530592B (en) 2014-09-29 2014-09-29 Method, device and equipment for acquiring position information

Publications (2)

Publication Number Publication Date
CN105530592A true CN105530592A (en) 2016-04-27
CN105530592B CN105530592B (en) 2020-06-19

Family

ID=55772508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410515917.5A Active CN105530592B (en) 2014-09-29 2014-09-29 Method, device and equipment for acquiring position information

Country Status (1)

Country Link
CN (1) CN105530592B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559295A (en) * 2016-10-25 2017-04-05 北京光年无限科技有限公司 A kind of mobile terminal querying method for robot

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322317A (en) * 1999-07-29 2001-11-14 株式会社Ntt都科摩 Method and apparatus for submitting position information
CN101282522A (en) * 2007-04-02 2008-10-08 乐金电子(中国)研究开发中心有限公司 Method for prompting short message as well as mobile communication terminal
CN101400033A (en) * 2007-09-24 2009-04-01 北京三星通信技术研究有限公司 Method for patterning text content of short message and apparatus thereof
CN101459884A (en) * 2008-12-29 2009-06-17 中国移动通信集团北京有限公司 Method and device for processing service
CN103475994A (en) * 2012-06-06 2013-12-25 腾讯科技(深圳)有限公司 Location display method and device
JP2014016959A (en) * 2012-07-11 2014-01-30 Fujitsu Ltd Program, information processor, and information processing method
CN103634905A (en) * 2013-12-02 2014-03-12 江苏科技大学 Intelligent terminal positioning method
CN103763768A (en) * 2013-12-24 2014-04-30 华为技术有限公司 Locating method and user equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322317A (en) * 1999-07-29 2001-11-14 株式会社Ntt都科摩 Method and apparatus for submitting position information
CN101282522A (en) * 2007-04-02 2008-10-08 乐金电子(中国)研究开发中心有限公司 Method for prompting short message as well as mobile communication terminal
CN101400033A (en) * 2007-09-24 2009-04-01 北京三星通信技术研究有限公司 Method for patterning text content of short message and apparatus thereof
CN101459884A (en) * 2008-12-29 2009-06-17 中国移动通信集团北京有限公司 Method and device for processing service
CN103475994A (en) * 2012-06-06 2013-12-25 腾讯科技(深圳)有限公司 Location display method and device
JP2014016959A (en) * 2012-07-11 2014-01-30 Fujitsu Ltd Program, information processor, and information processing method
CN103634905A (en) * 2013-12-02 2014-03-12 江苏科技大学 Intelligent terminal positioning method
CN103763768A (en) * 2013-12-24 2014-04-30 华为技术有限公司 Locating method and user equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559295A (en) * 2016-10-25 2017-04-05 北京光年无限科技有限公司 A kind of mobile terminal querying method for robot

Also Published As

Publication number Publication date
CN105530592B (en) 2020-06-19

Similar Documents

Publication Publication Date Title
RU2647493C2 (en) Method and device for presenting wi-fi list
CN106385351B (en) Control method and device of intelligent household equipment
CN107948926B (en) Intelligent device sharing method and device
CN104540184A (en) Equipment networking method and device
CN104105064A (en) Device locating method and device
CN104023121A (en) Mode switching method and device
JP2016535523A (en) Network connection method, apparatus, program, and recording medium
KR101684203B1 (en) Method and device for broadcasting stream media data
CN104580637A (en) Telephone number marking method, terminal and cloud server
CN103906235A (en) Terminal positioning method and terminal
CN105282723A (en) Emergency call control method and device and emergency call method and device
US20170063758A1 (en) Method, device, terminal, and router for sending message
US20170171706A1 (en) Device displaying method, apparatus, and storage medium
CN105515831A (en) Network state information display method and device
CN104219625A (en) Position information processing method, device and mobile terminal
CN105578401A (en) Locating information collection method, locating information collection device and mobile terminal
CN109075856B (en) Flight path configuration method and device
CN105848287A (en) Method, device and system for processing terminal positioning and router
CN105808647A (en) Message editing processing method and device
CN105491518A (en) Method and device for social reminding based on wearable devices
CN105407160A (en) Interface display method and device
CN105101078A (en) Information prompting method, terminal and server
KR101787918B1 (en) Search method, apparatus, program and recording medium
CN107147567A (en) Position information share method, equipment and system
CN104243607A (en) Method and device for acquiring equipment information

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
GR01 Patent grant
GR01 Patent grant