Embodiment
To be described one exemplary embodiment of the present invention by reference to the accompanying drawings hereinafter.For clarity and conciseness, all features of actual execution mode are not described in the description.But, should understand, must make a lot specific to the decision of execution mode in the process of any this practical embodiments of exploitation, to realize the objectives of developer, such as, meet those restrictive conditions relevant to system and business, and these restrictive conditions may change to some extent along with the difference of execution mode.In addition, although will also be appreciated that development is likely very complicated and time-consuming, concerning the those skilled in the art having benefited from present disclosure, this development is only routine task.
At this, also it should be noted is that, in order to avoid the present invention fuzzy because of unnecessary details, illustrate only in the accompanying drawings with according to the closely-related apparatus structure of the solution of the present invention and/or treatment step, and eliminate other details little with relation of the present invention.
Fig. 1 is the structured flowchart of mobile terminal 100.The mobile terminal 100 with multiple point touching ability can comprise memory interface 102, one or more data processor, image processor and/or CPU 104, and peripheral interface 106.
Memory interface 102, one or more processor 104 and/or peripheral interface 106 both can be discrete components, also can be integrated in one or more integrated circuit.In the mobile terminal 100, various element can be coupled by one or more communication bus or holding wire.Transducer, equipment and subsystem can be coupled to peripheral interface 106, to help to realize several functions.Such as, motion sensor 110, optical sensor 112 and range sensor 114 can be coupled to peripheral interface 106, to facilitate the functions such as orientation, illumination and range finding.Other transducers 116 can be connected with peripheral interface 106 equally, such as navigation system (such as GPS), temperature sensor, biometric sensor or other sensor devices, can help thus to implement relevant function.
Camera sub-system 120 and optical pickocff 122 may be used for the realization of the camera function of convenient such as recording photograph and video clipping, and wherein said camera sub-system and optical pickocff can be such as charge coupled device (CCD) or complementary metal oxide semiconductors (CMOS) (CMOS) optical pickocff.
Can help realize communication function by one or more radio communication subsystem 124, wherein radio communication subsystem can comprise radio-frequency transmitter and transmitter and/or light (such as infrared) Receiver And Transmitter.The particular design of radio communication subsystem 124 and execution mode can depend on one or more communication networks that mobile terminal 100 is supported.Such as, mobile terminal 100 can comprise the communication subsystem 124 being designed to support GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network and BlueboothTM network.
Audio subsystem 126 can be coupled with loud speaker 128 and microphone 130, such as, to help the function of implementing to enable voice, speech recognition, speech reproduction, digital record and telephony feature.
I/O subsystem 140 can comprise touch screen controller 142 and/or other input control devices 144 one or more.
Touch screen controller 142 can be coupled to touch-screen 146.For example, what this touch-screen 146 and touch screen controller 142 can use any one in multiple touch-sensing technology to detect to carry out with it contact and movement or time-out, and wherein detection technology is including, but not limited to capacitive character, resistive, infrared and surface acoustic wave technique.
Other input control devices 144 one or more can be coupled to other input/control devicess 148, the indication equipment of such as one or more button, rocker switch, thumb wheel, infrared port, USB port and/or stylus and so on.One or more button (not shown) can comprise the up/down button for control loudspeaker 128 and/or microphone 130 volume.
Memory interface 102 can be coupled with memory 150.This memory 150 can comprise high-speed random access memory and/or nonvolatile memory, such as one or more disk storage device, one or more optical storage apparatus, and/or flash memories (such as NAND, NOR).
Memory 150 can storage operation system 152, the operating system of such as Android, IOS or WindowsPhone and so on.This operating system 152 can comprise the instruction of the task of depending on hardware for the treatment of basic system services and execution.Memory 150 can also store application 154.When these are applied in operation, can be loaded into processor 104 from memory 150, and run on the operating system run by processor 104, and the function that the various user of the Interface realization utilizing operating system and bottom hardware to provide expects, as instant messaging, web page browsing, pictures management etc.Application can provide independent of operating system, also can be that operating system carries.
The position requests treatment facility that embodiments of the invention provide is the one of application 154, and this equipment is suitable for performing in the terminal and comprising: request reception unit, is suitable for receiving the requesting party's message from requesting party; Request judges and resolution unit, and whether be suitable for decision request side's message is position request information, and when requesting party's message is position request information, requesting party's message is resolved to the position requests determining whether to agree to requesting party's message; Acquiring unit, is suitable for, when agreeing to the position requests of requesting party's message, obtaining current location information; And position information sending unit, be suitable for current location information to be sent to requesting party with predetermined form.
Wherein, requesting party's message mentioned here can be such as any one in the message such as note, multimedia message, instant message.
Fig. 2 shows an example of position requests treatment facility 200 according to an embodiment of the invention.As shown in Figure 2, position requests treatment facility 200 comprises request reception unit 210, request judges and resolution unit 220, acquiring unit 230 and position information sending unit 240.
As described above, this position requests treatment facility 200 is suitable for performing in the mobile terminal 100, and mobile terminal 100 can be such as the mobile communication equipment such as mobile phone (as smart mobile phone) or panel computer.
When mobile terminal 100 receives by radio communication subsystem 124 message (i.e. the above-mentioned requesting party's message) that requesting party's (can be such as that the positional information that hereafter will describe obtains equipment 400 or 500) sends, this message is transmitted to request reception unit 210 by mobile terminal 100.
Then, requesting party's message that request reception unit 210 is received is transmitted to request again and judges and resolution unit 220, to be judged by request to judge that whether this message is as position request information with resolution unit 220.When requesting party's message is position request information, request judges to resolve this message with resolution unit 220, to determine whether the request agreeing to requesting party according to the result of resolving, namely whether agrees to the position requests in requesting party's message.
According to a kind of implementation, request judges to judge it whether as position request information according to the type of the message received or form etc. with resolution unit 220.Such as, position request information can adopt json form, and like this, when the requesting party's message received is this form, request judges can judge that this message is as position request information with resolution unit 220.
Below for adopting an example of the position request information of json form:
meitu_sms_req:{"what":"request?for?something",
"date":"2014-01-0101:00:00"}
Wherein, " request for something " here can by the reason in transmit leg input request geographical position, or also can be empty.
It should be noted that the present invention is not limited to particular type or the form of position request information, allly can carry out distinguishing with common message and can be determined it thus for implementation of position request information is all within protection scope of the present invention.
In addition, according to a kind of implementation, when asking to judge with resolution unit 220 decision request side message not to be position request information (such as when the requesting party's message received is not json format messages), it can by this message by common message (such as normal short message) process.
By the parsing to requesting party's message, usually can the word of obtaining request side's message, the content of this message such as picture and/or voice itself, also can some relevant informations of selectably obtaining request side's message, such as associated person information etc.
Like this, in one implementation, request judges the contact person that can verify requesting party with resolution unit 220 based on the associated person information of the requesting party comprised in analysis result, judges whether it is one of predetermined contact person.If the contact person of requesting party is one in above-mentioned predetermined contact person, then can agree to the position requests of requesting party's message, also, agree to the positional information of mobile terminal 100 to send to above-mentioned requesting party.Wherein, predetermined contact person can be such as the contact person that the preassigned part of user has stored, and/or can be the contact person's (such as ownership place is the contact person of designated area, etc.) meeting predetermined condition.
In addition, according to a kind of implementation, when the contact person finding requesting party after verifying not is any one in above-mentioned predetermined contact person, request judges the position requests such as can directly refusing or ignore this requesting party's message with resolution unit 220.
By above implementation, request judges to judge with resolution unit 220 position requests whether agreeing to requesting party's note voluntarily, and does not need user to participate in inputting instruction, can save operation and the time of user.
According to another kind of implementation, when the contact person finding requesting party after verifying not is any one in above-mentioned predetermined contact person, request judges also to determine whether by the confirmation of user the position requests agreeing to described request side's message with resolution unit 220.Such as, when the contact person asking to judge to find requesting party with resolution unit 220 is not any one in above-mentioned predetermined contact person, can by the associated person information of output device (as touch-screen 146) the display requesting party of mobile terminal 100, and ask user to input whether agree to this request, then make corresponding process according to the instruction of its input.By this implementation, request judges to determine whether in conjunction with the input instruction of user the position requests agreeing to requesting party with resolution unit 220, can meet user view and needs better.
In addition, according to a kind of implementation, when find after verifying the contact person of requesting party be strange contact person or blacklist in any one time, request judges the position requests can directly ignoring or refuse this requesting party's message with resolution unit 220.Like this, some unnecessary harassing and wrecking can be removed for user, and the leakage of privacy of user can be prevented.
It should be noted that, above said " any one not in above-mentioned predetermined contact person of the contact person of requesting party " refers to that the contact person of requesting party is not predetermined contact person, but not necessarily strange contact person, it is likely deposit contact person in the address list of mobile terminal 100; Strange contact person then refers to the contact person beyond address list.
Like this, by above process, request judges can determine with resolution unit 220 position requests whether agreed in requesting party's message.When agreeing to the position requests in requesting party's message, triggering acquiring unit 230 and performing the current location information (being also the positional information of mobile terminal 100) that process obtains position requests treatment facility 200.
Wherein, acquiring unit 230 such as can obtain the positional information of mobile terminal 100 by other transducers one or more of mobile terminal 100 116 navigation systems such as () such as GPS, as above-mentioned current location information.
Then, the current location information got is sent to position information sending unit 240 by acquiring unit 230, and by position information sending unit 240, this current location information is sent to requesting party with predetermined form (such as json form).
Below for being sent to an example of the current location information of requesting party with json form:
Wherein, " location " item comprises positional information, and the positional information as this example is: latitude 53.56097399999999, longitude 134.772810.In addition, " status " item represents that whether the current state of Requested Party is normal, if its state in this example is normal (i.e. " OK ").It should be noted that " status " item is option, in other examples, in the current location information sent in a predetermined format, also can not comprise this.
In addition, it should be noted that the present invention is not limited to the concrete form of predetermined form, all forms can carrying out communications are all within protection scope of the present invention.
In one implementation, so that can label information be comprised in the above-mentioned current location information of predetermined form transmission.Wherein, the label information in current location information can be such as the information that user directly inputs, or also can be by user's at least one label selected in the multiple labels preset.Describe below in conjunction with Fig. 3 and a kind ofly according to an embodiment of the invention can be implemented in current location information the position requests treatment facility 300 adding label function.
As shown in Figure 3, position requests treatment facility 300 can comprise request reception unit 310, request judges and resolution unit 320, acquiring unit 330, position information sending unit 340 and label adding device 350.Wherein, request reception unit 310 in position requests treatment facility 300 shown in Fig. 3, request judge and resolution unit 320, acquiring unit 330 and position information sending unit 340 can have the 26S Proteasome Structure and Function identical with the corresponding unit in above position requests treatment facility 200 described in conjunction with Figure 2, and similar technique effect can be reached, repeat no more here.
As shown in Figure 3, in position requests treatment facility 300, when acquiring unit 330 obtains the current location information of position requests treatment facility 300, label information can be added by label adding device 350 to this current location information.
Label information can reflect the meaning of above-mentioned current location information brief and concisely, such as reflect its place for user (as family, company etc.), can reflect that the frequency of occurrences of user in this place is (if user is that the frequency of occurrences in the place of " family " and " company " is higher at label in addition to a certain extent, label be " airport ", " hotel " the frequency of occurrences in place then lower), etc.Therefore, with the addition of in the current location information of label information and contain more useful information, for requesting party, too increase practicality.
According to a kind of implementation, label adding device 350 can tag to current location information according to predetermined way.Such as, user can pre-set some bands of position, and is the corresponding distributing labels information in each band of position.When certain region in the corresponding above-mentioned some bands of position of current location information that acquiring unit 330 obtains, give this current location information by the label information in this region, realize thus adding process to the label of current location information.
In addition, according to another kind of implementation, label adding device 350 also can show input frame by the output device (as touch-screen 146) of mobile terminal 100, user please input new label, then using the label information of this label as current location information, realize thus adding process to the label of current location information.
In addition, according to other implementations, also default multiple labels can be shown by the output device (as touch-screen 146) of mobile terminal 100, please user select one or more wherein, and one or more labels user selected are as the label information of this current location information, realize thus adding process to the label of current location information.
Like this, the current location information after interpolation label information is sent to position information sending unit 340 by label adding device 350 again, returns to requesting party by position information sending unit 340.
It should be noted that, the present invention is not limited to and adds tagged concrete mode, allly can add tagged implementation all within protection scope of the present invention to current location information.
In addition, embodiments of the invention additionally provide a kind of positional information and obtain equipment, this equipment is the one of the application 154 of mobile terminal 100, and this equipment is suitable for performing in the terminal and comprising: request transmitting unit, is suitable for position request information to be sent to Requested Party with predetermined form; Reply receiving element, be suitable for receiving the reply message from Requested Party; Reply and judge and resolution unit, be suitable for judging replying message whether as position return information, and resolve replying message when to reply message be position return information; And memory cell, be suitable for the positional information of the Requested Party comprised in storing and resolving result.
Wherein, reply message mentioned here can be such as any one in the message such as note, multimedia message, instant message.
Fig. 4 shows positional information according to an embodiment of the invention and obtains an example of equipment 400.As shown in Figure 2, positional information acquisition equipment 400 comprises request transmitting unit 410, replys receiving element 420, replys judgement and resolution unit 430 and memory cell 440.
As described above, this positional information obtains equipment 400 and is suitable for performing in the mobile terminal 100, and mobile terminal 100 can be such as the mobile communication equipment such as mobile phone (as smart mobile phone) or panel computer.
Obtain in equipment 400 in positional information, position request information is such as sent to Requested Party with predetermined form by radio communication subsystem 124 by request transmitting unit 410.Wherein, Requested Party can be such as position requests treatment facility 200 or 300 as described above.
In addition, predetermined form mentioned here can be such as json form.It should be noted that the present invention is not limited to the concrete form of predetermined form, all forms can carrying out communications are all within protection scope of the present invention.
Then, through the process of Requested Party, this position request information may be left in the basket, refuses or agree to.When position request information is ignored by the other side's (i.e. Requested Party) or refuses, positional information obtains this process of device end; And when position request information is agreed to by the other side, receive by replying receiving element 420 the reply message that Requested Party returns.
Then, reply the above-mentioned reply message that received of receiving element 420 and be transmitted to reply and judge and resolution unit 430, judge to judge with resolution unit 430 this reply message whether as position return information by reply.When this reply message is position return information, replys and judge to resolve this message with resolution unit 430, and send to memory cell 440 to store the positional information of the Requested Party comprised in analysis result.
According to a kind of implementation, reply and judge to judge it whether as position return information according to the type of the reply message received or form etc. with resolution unit 430.Such as, position return information can adopt json form.Like this, when the reply message received is this form, replys and judge can judge that this message is as position return information with resolution unit 430.It should be noted that the present invention is not limited to particular type or the form of position return information, allly can carry out distinguishing with common message and can be determined it thus for implementation of position return information is all within protection scope of the present invention.
In addition, according to a kind of implementation, when replying judgement and judging that above-mentioned reply message is not position return information with resolution unit 430 (such as when the request message received is not json format messages), it can by this message by common message (such as normal short message) process.
By to the parsing of replying message, usually can obtain the content that message itself replied in the word of message, picture and/or voice etc., and the positional information of Requested Party such as can be included in the word content of message.By carrying out identification to these words, can to tell which content be locative content, and then can be kept in memory cell 440.Such as, can by identifying in message in conjunction with the prior art such as morphological analysis and/or semantic analysis means the phrase etc. representing address, position etc., or also can search phrase (as the phrase containing the keyword such as " street ", " road ", " road ", number or long word group etc.) containing special key words to obtain the positional information comprised in message by modes such as keyword examinations.
In addition, by the parsing of replying message, optionally can also obtain some relevant informations of replying message, such as reply contact person corresponding to message, etc.
According to a kind of implementation, memory cell 440 can be corresponding according to the reply message comprised in analysis result contact person in the memory 150 (address list of such as user) of such as mobile terminal 100, find the associated person information of this contact person, then search the positional information that this associated person information is associated.If find the positional information that this associated person information is associated, the above-mentioned positional information be associated that memory cell 440 can use the positional information comprised in analysis result to upgrade to find; Otherwise, if do not found, then the positional information comprised in analysis result and this associated person information are stored explicitly.Like this, the current location information of Requested Party and its corresponding relationship people are stored, can not only the current needs of completing user, and facilitate user from now on to the needs of this contact location.Meanwhile, user preserve position information of contact be this contact person there is position recently, make the positional accuracy of this contact person higher.
Such as, suppose that the positional information that this associated person information comprised in analysis result is associated is " No. A, A road, A district of A city ", and suppose that contact number corresponding to the reply message that comprises in analysis result is 138########.First, the contact person of number 138######## can be found in address list, in this example embodiment, suppose that the contact people found is king five.Then, in address list " king five " this entry (associated person information also namely associated), search the item whether existing and represent contact location.Usually, what generally comprise in a series of information such as its phone number, E-mail address, Home Telephone, Work Telephone, home address, birthday and position in the associated person information of such as " king five " etc. is one or more.In this example embodiment, if by searching discovery, in the associated person information of " king five " non-location information this, also the i.e. said positional information not finding this associated person information to be associated above, be then associated by " No. A, A road, A district of A city " with the associated person information of " king five " in address list and be stored as the positional information of " king five ".Otherwise, if by searching discovery, in the associated person information of " king five " location information this, and the position shown in its positional information of hypothesis is " No. B, B road, B district of B city ", then " No. B, B road, B district of B city " be updated on " No. A, A road, A district of A city ".
It should be noted that the present invention is not limited to the concrete mode of parsing, all can resolve message and the implementation obtaining analysis result all within protection scope of the present invention.
In addition, according to a kind of implementation, when comprising label information in the positional information of the Requested Party comprised in analysis result, if find by memory cell 440 positional information that this associated person information is associated, then can continue to judge at least one position that the above-mentioned positional information be associated comprises, whether there is the position associated with above-mentioned label information.If there is the position associated with above-mentioned label information, then utilize the positional information of the Requested Party comprised in storing and resolving result to upgrade the position associated with above-mentioned label information; Otherwise, with the positional information of the Requested Party comprised in above-mentioned label information explicitly storing and resolving result.
Like this, the positional information of Requested Party and label information are stored explicitly, can make the position of storage more accurately, clearly, user friendly subsequent operation.
Such as, suppose that contact number corresponding to the reply message that comprises in analysis result is 139########, the positional information of its correspondence is " No. C, C road, C district of C city " and label information is " company ".Suppose the contact artificial " Zhang San " that number 139######## is corresponding in address list, and location information in the associated person information of " Zhang San " is found in address list " Zhang San " this entry, comprising three addresses and respective label in its positional information, is address one (label is " family "), address two (label is " company ") and address three (label is " airport ") respectively.Like this, be that the address two of " company " is updated to " No. C, C road, C district of C city " (label is still left " company ") by label, end process.
Fig. 5 shows positional information in accordance with another embodiment of the present invention and obtains the example arrangement of equipment 500.As shown in Figure 5, positional information acquisition equipment 500 can comprise request transmitting unit 510, replys receiving element 520, reply judgement and resolution unit 530, memory cell 540 and navigation elements 550.Wherein, positional information shown in Fig. 5 obtains request transmitting unit 510 in equipment 500, reply receiving element 520, reply and judge can to have with resolution unit 530 and memory cell 540 the identical 26S Proteasome Structure and Function of the corresponding unit obtained with above positional information described in conjunction with Figure 4 in equipment 400, and similar technique effect can be reached, repeat no more here.
As shown in Figure 5, by request transmitting unit 510, reply receiving element 520, reply the process judged with resolution unit 530 and memory cell 540, can obtain and preserve the positional information of the Requested Party comprised in analysis result.Obtain in equipment 500 in positional information, navigation elements 550 can be navigated according to the positional information of above-mentioned Requested Party.
According to a kind of implementation, the triggering of navigation elements 550 such as can be controlled by user.Such as, obtaining equipment 500 in positional information stores in the time after the positional information of the Requested Party comprised in analysis result, when user inputs instruction by touch-screen 146 or other input/control devicess 148, the navigation process that the positional information performing the Requested Party corresponding with this instruction according to this instruction triggers navigation elements 550 is associated by I/O subsystem 140.Wherein, navigation elements 550 such as can perform process by other transducers one or more of mobile terminal 100 116 navigation systems such as () such as GPS.
Like this, by arranging navigation elements 550, positional information obtains equipment 500 and can navigate after obtaining the positional information of Requested Party, and does not need user to remember this position, open other navigation application again to go to navigate, thus operation and the time of user can be saved.
In addition, embodiments of the invention additionally provide a kind of mobile terminal, comprise position requests treatment facility 200 or 300 as above or positional information acquisition equipment 400 or 500 as above.
In addition, embodiments of the invention additionally provide a kind of position information process system, and this system comprises position requests treatment facility 200 or 300 as above and positional information as above obtains equipment 400 or 500.
Fig. 6 schematically shows an example of position information process system according to an embodiment of the invention.As shown in Figure 6, position information process system 600 comprises position requests treatment facility 300 and positional information as above acquisition equipment 500.Wherein, position requests treatment facility 300 is arranged in the first mobile terminal 910 included by position information process system 600, and positional information obtains equipment 500 and is then arranged in the second mobile terminal 920 included by position information process system 600.
In addition, as shown in Figure 6, position information process system 600 optionally can also comprise position requests treatment facility 300 ' and positional information acquisition equipment 500 '.Wherein, position requests treatment facility 300 ' is arranged in the second mobile terminal 920, and positional information obtains equipment 500 ' and is then arranged in the first mobile terminal 910.
Here, the 26S Proteasome Structure and Function of position requests treatment facility 300 ' can be identical with position requests treatment facility 300, and positional information obtain equipment 500 ' 26S Proteasome Structure and Function can to obtain equipment 500 identical with positional information, and similar technique effect can be reached respectively, therefore repeat no longer one by one.
As shown in Figure 6, when the user U2 of the second mobile terminal 920 wants the positional information of acquisition first mobile terminal 910, equipment 500 can be obtained by positional information and send request note M1 (example as requesting party's message) to the first mobile terminal 910.In this case, the second mobile terminal 920 is as requesting party, and the first mobile terminal 910 is as Requested Party.Request note M1 is received by the position requests treatment facility 300 that the first mobile terminal 910 is built-in.Assumed position request treatment facility 300 has agreed to the position requests of this request note through checking, and its positional information (i.e. the positional information of the first mobile terminal 910) is included in an answer short message M2 and returns to the second mobile terminal 920.The built-in positional information of second mobile terminal 920 obtains equipment 500 and receives answer short message M2 and process, final parsing and store comprising positional information (i.e. the positional information of requesting party), and the follow-up instruction according to user U2 navigates to this positional information in real time.
Similarly, when the user U1 of the first mobile terminal 910 wants the positional information of acquisition second mobile terminal 920, equipment 500 ' can be obtained by positional information and send request note M1 ' (example as requesting party's message) to the second mobile terminal 920.In this case, the first mobile terminal 910 is as requesting party, and the second mobile terminal 920 is as Requested Party.Request note M1 ' is received by the position requests treatment facility 300 ' that the second mobile terminal 920 is built-in.Assumed position request treatment facility 300 ' have ignored the position requests of this request note through checking, then positional information acquisition equipment 500 ' does not receive the answer short message from the second mobile terminal 920 yet after (as 10 minutes) after a predetermined time, it can terminate wait for and again send request note to the second mobile terminal 920, or can end process and the positional information of no longer acquisition request second mobile terminal 920.
Known by describing above, above-mentioned positional information according to an embodiment of the invention obtains equipment can the geographical position of other users of active obtaining or other equipment, and do not rely on the real-time online of network and other users, and do not need other user's proactive disseminations or share its positional information.
In addition, compared to the existing application based on LBS, owing to not relying on network and not needing to upload in real time, therefore do not need network and GPS positioning function to be in open mode, comparatively power saving comparatively speaking always.
In addition, the above-mentioned treatment facility of position requests according to an embodiment of the invention and positional information obtain the simple to operate of equipment, major part operation can complete voluntarily, also be only the simple instructions such as simple agreement, refusal when needs user inputs, even old man, children etc. operate to smart mobile phone the geographical position that unfamiliar user also can obtain other users smoothly, or smoothly self-position can be sent to requesting party.
In addition, embodiments of the invention additionally provide a kind of position requests processing method, and the method is suitable for performing in the terminal, and comprises step: receive the requesting party's message from requesting party; Whether decision request side's message is position request information, and when requesting party's message is position request information, requesting party's message is resolved to the position requests determining whether to agree to requesting party's message; When agreeing to the position requests of requesting party's message, obtain current location information; And current location information is sent to requesting party with predetermined form.
Wherein, requesting party's message mentioned here can be such as any one in the message such as note, multimedia message, instant message.
A kind of exemplary process of above-mentioned position requests processing method is described below in conjunction with Fig. 7.
As shown in Figure 7, the exemplary process flow 700 of position requests processing method starts from step S710 according to an embodiment of the invention, then, performs step S720.
In step S720, receive the requesting party's message from requesting party.Then, step S730 is performed.Wherein, the processing example in step S720 as can be identical with the process of above request reception unit 210 described in conjunction with Figure 2, and can reach similar technique effect, does not repeat them here.
In step S730, whether decision request side's message is position request information, and when requesting party's message is position request information, requesting party's message is resolved to the position requests determining whether to agree to requesting party's message.Then, step S740 is performed.Wherein, the processing example in step S730, as asked to judge with the process of resolution unit 220 identical with above described in conjunction with Figure 2, and can reach similar technique effect, not repeat them here.
According to a kind of implementation, position request information such as can adopt json form.
According to a kind of implementation, when requesting party's message is not position request information, by requesting party's message by common message process.
According to a kind of implementation, determine whether that the step of the position requests agreeing to requesting party message such as can realize by processing as follows in step S730: based on the associated person information of the requesting party comprised in analysis result, whether the contact person of checking requesting party is one of predetermined contact person, if so, the position requests of requesting party's message is then agreed to.
According to another kind of implementation, in step S730, such as, can also perform following process: when the contact person of requesting party is not any one in predetermined contact person, be confirmed the position requests determining whether to agree to requesting party's message by user.
According to other a kind of implementations, in step S730, such as, can also perform following process: when any one in the artificial strange contact person of the contact of requesting party or blacklist, ignore or refuse the position requests of requesting party's message.
In step S740, when agreeing to the position requests of requesting party's message, obtain current location information.Then, step S750 is performed.Wherein, the processing example in step S740 as can be identical with the process of above acquiring unit 230 described in conjunction with Figure 2, and can reach similar technique effect, does not repeat them here.
In step S750, current location information is sent to requesting party with predetermined form.Wherein, the processing example in step S750 as can be identical with the process of above position information sending unit 240 described in conjunction with Figure 2, and can reach similar technique effect, does not repeat them here.Then, end process flow process 700 in step S760.
According to a kind of implementation, be sent to predetermined form in step S750 in the current location information of requesting party and such as can comprise label information.
According to other implementations, handling process optionally can also comprise following steps: after acquisition current location information, add label information to current location information.
Wherein, predetermined form can be such as json form.
It should be noted that; the present invention is not limited to the execution sequence of each unit or each step in each embodiment described above, and any can realization all should in protection scope of the present invention with the execution of identical function in various embodiments of the present invention and technique effect or processing sequence.
In addition, embodiments of the invention additionally provide a kind of location information acquisition method, and the method is suitable for performing in the terminal, and comprises step: position request information is sent to Requested Party with predetermined form; Receive the reply message from Requested Party; Judge to reply message whether as position return information, and when to reply message be position return information, reply message is resolved; And the positional information of the Requested Party comprised in storing and resolving result.
Wherein, requesting party's message mentioned here can be such as any one in the message such as note, multimedia message, instant message.
A kind of exemplary process of above-mentioned location information acquisition method is described below in conjunction with Fig. 8.
As shown in Figure 8, the exemplary process flow 800 of location information acquisition method starts from step S810 according to an embodiment of the invention, then, performs step S820.
In step S820, position request information is sent to Requested Party with predetermined form.Then, step S830 is performed.Wherein, the processing example in step S820 as can be identical with the process of above request transmitting unit 410 described in conjunction with Figure 4, and can reach similar technique effect, does not repeat them here.
In step S830, receive the reply message from Requested Party.Then, step S840 is performed.Wherein, the processing example in step S830 as can be identical with the process of above reply receiving element 420 described in conjunction with Figure 4, and can reach similar technique effect, does not repeat them here.
In step S840, judge to reply message whether as position return information, and when to reply message be position return information, reply message is resolved.Then, step S850 is performed.Wherein, the processing example in step S840, as judged with the process of resolution unit 430 identical with above described in conjunction with Figure 4 reply, and can reach similar technique effect, not repeat them here.
According to a kind of implementation, position return information such as can adopt json form.
In addition, according to a kind of implementation, in step S840, when reply message is not position return information, reply message common message process can be pressed.
In step S850, the positional information of the Requested Party comprised in storing and resolving result.Wherein, the processing example in step S850 as can be identical with the process of above memory cell 440 described in conjunction with Figure 4, and can reach similar technique effect, does not repeat them here.Then, end process flow process 800 in step S860.
According to a kind of implementation, in step S850, the associated person information be associated with Requested Party can be obtained according to analysis result, then the positional information be associated with this associated person information is searched, if there is this positional information, then the positional information using analysis result to comprise upgrades the positional information be associated; Otherwise, then with the associated person information positional information that comprises of storing and resolving result explicitly.
In addition, according to a kind of implementation, when there is the positional information that is associated with this associated person information and comprising label information in the positional information of the Requested Party comprised in analysis result, judge whether there is the position associated with this label information at least one position comprised with the positional information that this associated person information is associated: if exist, then utilize the positional information of the Requested Party comprised in storing and resolving result to upgrade the position associated with this label information at least one position above-mentioned; Otherwise, with the positional information of the Requested Party comprised in this label information explicitly storing and resolving result.
Wherein, predetermined form can be such as json form.
In addition, according to other implementations, after the positional information obtaining Requested Party, handling process 800 can also comprise the steps: to navigate according to the positional information of Requested Party.
Known by describing above, above-mentioned location information acquisition method according to an embodiment of the invention can the geographical position of other users of active obtaining or other equipment, and do not rely on the real-time online of network and other users, and do not need other user's proactive disseminations or share its positional information.
In addition, compared to the existing application based on LBS, owing to not relying on network and not needing to upload in real time, therefore do not need network and GPS positioning function to be in open mode, comparatively power saving comparatively speaking always.
In addition, the above-mentioned processing method of position requests according to an embodiment of the invention and location information acquisition method simple to operate, major part operation can complete voluntarily, also be only the simple instructions such as simple agreement, refusal when needs user inputs, even old man, children etc. operate to smart mobile phone the geographical position that unfamiliar user also can obtain other users smoothly, or smoothly self-position can be sent to requesting party.
A4. the position requests treatment facility according to A2, wherein, described request judges also to be suitable for resolution unit: when any one in the artificial strange contact person of the contact of described request side or blacklist, ignores or the position requests of the side's of rejecting said request message.A5. the position requests treatment facility according to A1, wherein, comprises label information in the described current location information that described position information sending unit sends.A6. the position requests treatment facility according to A1, also comprises: label adding device, is suitable for, after the described current location information of acquisition, adding label information to described current location information.A7. the position requests treatment facility according to A1, wherein, described position request information adopts json form; And/or described predetermined form is json form.A8. the position requests treatment facility according to A1, wherein, described request judges to be suitable for when described request side's message is not position request information with resolution unit, by described request side's message by common message process.A9. the position requests treatment facility according to any one of A1-8, wherein, described request side's message is note.B13. the positional information according to B10 obtains equipment, also comprises: navigation elements, is suitable for navigating according to the positional information of described Requested Party.B14. the positional information according to B10 obtains equipment, and wherein, described position return information adopts json form; And/or described predetermined form is json form.B15. the positional information according to B10 obtains equipment, and wherein, described reply judges to be suitable for when described reply message is not position return information with resolution unit, by described reply message by common message process.B16. the positional information according to any one of B10-15 obtains equipment, and wherein, described reply message is note.C18. the position requests processing method according to C17, wherein, describedly determine whether that the step of the position requests agreeing to described request side message comprises: based on the associated person information of the described request side comprised in analysis result, whether the contact person of checking described request side is one of predetermined contact person, if so, the position requests of described request side's message is then agreed to.C19. the position requests processing method according to C18, wherein, describedly determine whether that the step of the position requests agreeing to described request side message also comprises: when the contact person of described request side is not any one in described predetermined contact person, confirmed the position requests determining whether to agree to described request side's message by user.C20. the position requests processing method according to C18 or 19, wherein, describedly determine whether that the step of the position requests agreeing to described request side message also comprises: when any one in the artificial strange contact person of the contact of described request side or blacklist, ignore or the position requests of the side's of rejecting said request message.C21. the position requests processing method according to C17, wherein, is sent to described predetermined form in the described current location information of described request side and comprises label information.C22. the position requests processing method according to C17 or 21, also comprises: after the described current location information of acquisition, add label information to described current location information.C23. the position requests processing method according to C17, wherein, described position request information adopts json form; And/or described predetermined form is json form.C24. the position requests processing method according to C17, wherein, when described request side's message is not position request information, by described request side's message by common message process.C25. the position requests processing method according to any one of C17-24, wherein, described request side's message is note.D27. the location information acquisition method according to D26, wherein, the positional information of the described Requested Party comprised in described storing and resolving result comprises: obtain the associated person information be associated with described Requested Party according to described analysis result; Search the positional information be associated with this associated person information, if there is this positional information, then the positional information be associated described in the positional information using described analysis result to comprise upgrades; Otherwise, then the positional information that described analysis result comprises is stored explicitly with described associated person information.D28. the location information acquisition method according to D27, wherein, there is the positional information be associated with this associated person information, and when comprising label information in the positional information of the described Requested Party comprised in described analysis result, the position associated with this label information whether is there is: if exist at least one position comprised with the positional information that this associated person information is associated described in judging, the positional information of the described Requested Party comprised in described storing and resolving result is then utilized to upgrade the position associated with this label information at least one position described, otherwise, store in described analysis result the positional information of the described Requested Party comprised explicitly with this label information.D29. the location information acquisition method according to D26, also comprises: the positional information according to described Requested Party is navigated.D30. the location information acquisition method according to D26, wherein, described position return information adopts json form; And/or described predetermined form is json form.D31. the location information acquisition method according to D26, wherein, when described reply message is not position return information, by described reply message by common message process.D32. the location information acquisition method according to any one of D26-31, wherein, described reply message is note.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires than the feature more multiple features clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are to be understood that the module of the equipment in example disclosed herein or unit or assembly can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned in one or more equipment different from the equipment in this example.Module in aforementioned exemplary can be combined as a module or can be divided into multiple submodule in addition.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
In addition, some in described embodiment are described as at this can by the processor of computer system or the method implemented by other device performing described function or the combination of method element.Therefore, there is the device of processor formation for implementing the method or method element of the necessary instruction for implementing described method or method element.In addition, the element described herein of device embodiment is the example as lower device: this device is for implementing the function performed by the element of the object in order to implement this invention.
As used in this, unless specifically stated so, use ordinal number " first ", " second ", " the 3rd " etc. to describe plain objects and only represent the different instances relating to similar object, and be not intended to imply the object be described like this must have the time upper, spatially, sequence aspect or in any other manner to definite sequence.
Although the embodiment according to limited quantity describes the present invention, benefit from description above, those skilled in the art understand, in the scope of the present invention described thus, it is contemplated that other embodiment.In addition, it should be noted that the language used in this specification is mainly in order to object that is readable and instruction is selected, instead of select to explain or limiting theme of the present invention.Therefore, when not departing from the scope and spirit of appended claims, many modifications and changes are all apparent for those skilled in the art.For scope of the present invention, be illustrative to disclosing of doing of the present invention, and nonrestrictive, and scope of the present invention is defined by the appended claims.