CN105101078B - Information prompting method, terminal and server - Google Patents

Information prompting method, terminal and server Download PDF

Info

Publication number
CN105101078B
CN105101078B CN201510374980.6A CN201510374980A CN105101078B CN 105101078 B CN105101078 B CN 105101078B CN 201510374980 A CN201510374980 A CN 201510374980A CN 105101078 B CN105101078 B CN 105101078B
Authority
CN
China
Prior art keywords
terminal
location information
prompting message
sent
communication event
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.)
Active
Application number
CN201510374980.6A
Other languages
Chinese (zh)
Other versions
CN105101078A (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.)
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 CN201510374980.6A priority Critical patent/CN105101078B/en
Publication of CN105101078A publication Critical patent/CN105101078A/en
Application granted granted Critical
Publication of CN105101078B publication Critical patent/CN105101078B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The disclosure is directed to a kind of information prompting method, terminal and servers, belong to field of communication technology.It include: the second location information that first terminal receives second terminal;When detect the trigger action of any communication event has been carried out to second terminal when, according to second location information generate prompting message;Show prompting message;Communication event is handled according to the processing result of prompting message.The second location information of second terminal is received by first terminal, and detect the trigger action of any communication event has been carried out to second terminal when, prompting message is generated according to second location information, and prompting message is shown, it can be achieved that handling according to the processing result to prompting message communication event.Due to being reminded the communication event by prompting message when first terminal carries out communication event to second terminal, so as to avoid the unnecessary communication event between first terminal and second terminal, and then the rate waste of terminal can be reduced.

Description

Information prompting method, terminal and server
Technical field
This disclosure relates to communication technique field, in particular to a kind of information prompting method, terminal and server.
Background technique
With the rapid development of communication technology, between user various types of communication events can be carried out by terminal.Example Such as, user both can be used terminal and make a phone call, send short messages, and can also be interacted by social application program.Between terminal When carrying out communication event, certain rate are often consumed.However, can occur eventually for some reason in many cases, Unnecessary communication event is carried out between end.For example, when terminal A makes a phone call to terminal B, the distance between terminal B and terminal A It is close, however, terminal A is not aware that this situation and makes a call to terminal A, cause to have carried out not between terminal A and terminal B Necessary communication event.In order to avoid this kind happens, it is necessary to a kind of information prompting method is proposed, to logical between terminal News event is reminded.
Summary of the invention
The disclosure provides a kind of information prompting method, terminal and server.
According to the first aspect of the embodiments of the present disclosure, a kind of information prompting method is provided, which comprises
First terminal receives the second location information of second terminal, and the second location information is by the second terminal true The second position where itself is sent after meeting alert condition before settled, and the second terminal is to establish position with the first terminal The terminal of information Real-Time Sharing relationship;
When detect the trigger action of any communication event has been carried out to the second terminal when, according to the second Confidence breath generates prompting message;
Show the prompting message;
According to the processing result to the prompting message, the communication event is handled.
With reference to first aspect, in the first possible implementation of the first aspect, the first terminal receives second Before the second location information of terminal, further includes:
First terminal sends association request to the second terminal, and the mark of the first terminal is carried in the association request Know, make the second terminal according to the mark of the first terminal, the location information established between the first terminal is real-time Shared relationship.
With reference to first aspect, in the second possible implementation of the first aspect, described according to the second position Information generates before prompting message, further includes:
The second location information is sent to the application program of various communication events;
It is described to show the prompting message, comprising:
In the operation interface of the communication event application program, the prompting message is shown.
With reference to first aspect, in a third possible implementation of the first aspect, the first terminal receives second The second location information of terminal, comprising:
First terminal receives the second location information that second terminal is sent;Alternatively,
First terminal receives the second location information that server is sent, and the second location information is existed by the second terminal It determines and is sent to the server after itself current place second position meets alert condition, carried in the second location information The mark of the first terminal.
According to the second aspect of an embodiment of the present disclosure, a kind of information prompting method is provided, which comprises
The second location information that second terminal is sent is received, the second location information is that the second terminal determines current The second position where itself is sent after meeting alert condition, and the mark of first terminal is carried in the second location information, described Second terminal is that the terminal of location information Real-Time Sharing relationship is established with the first terminal;
According to the mark of the first terminal, the second location information is sent to the first terminal, makes described One terminal detects when having carried out the trigger action of any communication event to the second terminal, according to the second confidence Breath generates and shows prompting message, and according to the processing result to the prompting message, handles the communication event.
In conjunction with second aspect, in the first possible implementation of the second aspect, the reception second terminal is sent Second location information before, further includes:
Place the third place is sent to the second terminal, makes the second terminal second position and institute where determination When stating the difference between the third place less than the first preset threshold, the second position where determining meets alert condition.
In conjunction with second aspect, in a second possible implementation of the second aspect, the reception second terminal is sent Second location information before, further includes:
Obtain specified destination locations;
The specified destination locations are sent to the second terminal, make second terminal second position where determination Difference between the specified destination locations is less than the second preset threshold, alternatively, the second position and the specified purpose When the distance between position will be smaller and smaller, the second position where determining meets alert condition.
According to the third aspect of an embodiment of the present disclosure, a kind of information prompting method is provided, which comprises
Second terminal obtains second location information;
According to the second location information, determine whether the second position being currently located meets alert condition;
When determining that the second position meets alert condition, the second location information is sent to first terminal, is made The first terminal detect the trigger action of any communication event has been carried out to the second terminal when, according to described Two location informations generate and show prompting message, and according to the processing result to the prompting message, to the communication event It is handled, the first terminal is the terminal that location information Real-Time Sharing relationship is established with the second terminal.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the second terminal obtains second Location information, comprising:
Second terminal detects the switch state of designated mode, using the switch state of the designated mode as second confidence Breath, the state of the designated mode are when opening, to show that the distance between the second terminal and specified destination locations will be more next It is smaller;
It is described according to the second location information, determine whether the second position being currently located meets alert condition, comprising:
When the state for determining the designated mode is open state, determine that the second position being currently located meets prompting item Part.
In conjunction with the third aspect, in the second possible implementation of the third aspect, the second terminal obtains second Location information, comprising:
Second terminal obtains current geographical location information, using the geographical location information as the second confidence Breath;
It is described according to the second location information, determine whether the second position being currently located meets alert condition, comprising:
According to the third place information of the third place where the geographical location information and pre-stored server, determine Whether the difference between the second position and the third place is less than the first preset threshold;
When the difference between the second position and the third place is less than the first preset threshold, determination is currently located The second position meet alert condition;
It is described that the second location information is sent to first terminal, comprising:
The second location information is sent to the server, sends the server by the second location information To the first terminal.
In conjunction with the third aspect, in the third possible implementation of the third aspect, the second terminal obtains second Location information, comprising:
Second terminal obtains current geographical location information, using the geographical location information as the second confidence Breath;
It is described according to the second location information, determine whether the second position being currently located meets alert condition, comprising:
According to the geographical location information and pre-stored specified destination locations, the second position and the finger are determined Whether the difference between destination locations is determined less than the second preset threshold;
When the difference between the second position and the specified destination locations is less than the second preset threshold, determine current The second position at place meets alert condition.
According to a fourth aspect of embodiments of the present disclosure, a kind of terminal is provided, the terminal includes:
Receiving module, for receiving the second location information of second terminal, the second location information is whole by described second End is sent after determining that currently the second position where itself meets alert condition, and the second terminal is to establish position with local terminal The terminal of confidence breath Real-Time Sharing relationship;
Generation module, for when detect the trigger action of any communication event has been carried out to the second terminal when, Prompting message is generated according to the second location information;
Display module, for showing the prompting message;
Processing module, for handling the communication event according to the processing result to the prompting message.
In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, the terminal further include:
First sending module carries described in the association request for sending association request to the second terminal The mark of ground terminal makes the second terminal according to the mark of the local terminal, establishes the position between the local terminal Confidence ceases Real-Time Sharing relationship.
In conjunction with fourth aspect, in the second possible implementation of the fourth aspect, the terminal further include:
Second sending module, for the second location information to be sent to the application program of various communication events;
The display module shows the prompting message for the operation interface in the communication event application program.
In conjunction with fourth aspect, in the third possible implementation of the fourth aspect, the receiving module, for receiving The second location information that second terminal is sent;Alternatively,
The second location information that server is sent is received, the second location information is being determined currently by the second terminal The second position where itself is sent to the server after meeting alert condition, and the local is carried in the second location information The mark of terminal.
According to a fifth aspect of the embodiments of the present disclosure, a kind of server is provided, the server includes:
Receiving module, for receiving the second location information of second terminal transmission, the second location information is described the Two terminals determine to be sent after itself current place second position meets alert condition, and first is carried in the second location information eventually The mark at end, the second terminal are that the terminal of location information Real-Time Sharing relationship is established with the first terminal;
The second location information is sent to described by the first sending module for the mark according to the first terminal First terminal, when detecting the first terminal to have carried out the trigger action of any communication event to the second terminal, Prompting message is generated and shown according to the second location information, and according to the processing result to the prompting message, to described Communication event is handled.
Second sending module makes the second terminal true for place the third place to be sent to the second terminal When determining the difference between the place second position and the third place less than the first preset threshold, the second position where determining meets Alert condition.
In conjunction with the 5th aspect, in second of possible implementation of the 5th aspect, the server further include:
Module is obtained, for obtaining specified destination locations;
Third sending module makes the second terminal for the specified destination locations to be sent to the second terminal Difference between the second position where determination and the specified destination locations is less than the second preset threshold, alternatively, described second When the distance between position and the specified destination locations will be smaller and smaller, the second position where determining meets alert condition.
According to a sixth aspect of an embodiment of the present disclosure, a kind of terminal is provided, the terminal includes:
Module is obtained, for obtaining second location information;
Determining module, for determining whether the second position being currently located meets prompting according to the second location information Condition;
Sending module, for when determining that the second position meets alert condition, the second location information to be sent To first terminal, make the first terminal detect the trigger action of any communication event has been carried out to local terminal when, Prompting message is generated and shown according to the second location information, and according to the processing result to the prompting message, to institute It states communication event to be handled, the first terminal is the end for establishing location information Real-Time Sharing relationship with the local terminal End.
In conjunction with the 5th aspect, in the first possible implementation of the 5th aspect, the acquisition module, for detecting The switch state of designated mode, using the switch state of the designated mode as second location information, the shape of the designated mode State is when opening, to show that the distance between the local terminal and the specified destination locations will be smaller and smaller;
The determining module, for determining and being currently located when the state for determining the designated mode is open state The second position meets alert condition.
In conjunction with the 5th aspect, in second of possible implementation of the 5th aspect, the acquisition module, for obtaining Current geographical location information, using the geographical location information as the second location information;
The determining module, for according to the third place where the geographical location information and pre-stored server Whether the third place information determines the difference between the second position and the third place less than the first preset threshold;When When difference between the second position and the third place is less than the first preset threshold, the second position being currently located is determined Meet alert condition.
In conjunction with the 5th aspect, in the third possible implementation of the 5th aspect, the acquisition module, for obtaining Current geographical location information, using the geographical location information as the second location information;
The determining module, for determining institute according to the geographical location information and pre-stored specified destination locations The difference between the second position and the specified destination locations is stated whether less than the second preset threshold;When the second position and institute When stating the difference between specified destination locations less than the second preset threshold, determine that the second position being currently located meets prompting item Part.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of terminal is provided, the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The second location information of second terminal is received, the second location information is being determined currently certainly by the second terminal The second position where body is sent after meeting alert condition, and the second terminal is to establish location information Real-Time Sharing with local terminal The terminal of relationship;
When detect the trigger action of any communication event has been carried out to the second terminal when, according to the second Confidence breath generates prompting message;
Show the prompting message;
According to the processing result to the prompting message, the communication event is handled.
According to the eighth aspect of the embodiment of the present disclosure, a kind of server is provided, the server includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The second location information that second terminal is sent is received, the second location information is that the second terminal determines current The second position where itself is sent after meeting alert condition, and the mark of first terminal is carried in the second location information, described Second terminal is that the terminal of location information Real-Time Sharing relationship is established with the first terminal;
According to the mark of the first terminal, the second location information is sent to the first terminal, makes described One terminal detects when having carried out the trigger action of any communication event to the second terminal, according to the second confidence Breath generates and shows prompting message, and according to the processing result to the prompting message, handles the communication event.
According to the 9th of the embodiment of the present disclosure the aspect, a kind of terminal is provided, the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain second location information;
According to the second location information, determine whether the second position being currently located meets alert condition;
When determining that the second position meets alert condition, the second location information is sent to first terminal, is made The first terminal detect the trigger action of any communication event has been carried out to local terminal when, according to the second Confidence breath generates and shows prompting message, and according to the processing result to the prompting message, carries out to the communication event Processing, the first terminal is the terminal that location information Real-Time Sharing relationship is established with the local terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By first terminal receive second terminal second location information, and detect second terminal has been carried out it is any When the trigger action of kind communication event, prompting message is generated according to second location information, and show prompting message, root may be implemented According to the processing result to prompting message, communication event is handled.Due to carrying out communication thing to second terminal in first terminal When part, the communication event is reminded by prompting message, so as to avoid between first terminal and second terminal Unnecessary communication event, and then the rate waste of terminal can be reduced.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of information prompting method shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of information prompting method shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of information prompting method shown according to an exemplary embodiment.
Fig. 4 is implementation environment schematic diagram involved in a kind of information prompting method shown according to an exemplary embodiment.
Fig. 5 is a kind of flow chart of information prompting method shown according to an exemplary embodiment.
Fig. 6 is implementation environment schematic diagram involved in a kind of information prompting method shown according to an exemplary embodiment.
Fig. 7 is a kind of flow chart of information prompting method shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Figure 11 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Figure 12 is a kind of block diagram of server shown according to an exemplary embodiment.
Figure 13 is a kind of block diagram of server shown according to an exemplary embodiment.
Figure 14 is a kind of block diagram of server shown according to an exemplary embodiment.
Figure 15 is a kind of block diagram of server shown according to an exemplary embodiment.
Figure 16 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Figure 17 is a kind of block diagram of terminal shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of flow chart of information prompting method shown according to an exemplary embodiment, and the embodiment of the present disclosure mentions The information prompting method of confession is in terminal.By taking first terminal executes the method that the embodiment of the present disclosure provides as an example, such as Fig. 1 institute Show, the information prompting method that the embodiment of the present disclosure provides includes the following steps.
In step s101, first terminal receives the second location information of second terminal, wherein second location information is by the Two terminals are sent after determining that currently the second position where itself meets alert condition, and second terminal is to establish position with first terminal The terminal of confidence breath Real-Time Sharing relationship.
In step s 102, when detect the trigger action of any communication event has been carried out to second terminal when, according to Second location information generates prompting message.
In step s 103, prompting message is shown.
In step S104, according to the processing result to prompting message, communication event is handled.
The method that the embodiment of the present disclosure provides, the second location information of second terminal is received by first terminal, and is being examined It measures when having carried out the trigger action of any communication event to second terminal, prompting message is generated according to second location information, And show prompting message, it may be implemented to handle communication event according to the processing result to prompting message.Due to first When terminal carries out communication event to second terminal, the communication event is reminded by prompting message, so as to avoid Unnecessary communication event between first terminal and second terminal, and then the rate waste of terminal can be reduced.
In another embodiment, before the second location information of first terminal reception second terminal, further includes:
First terminal sends association request to second terminal, wherein the mark that first terminal is carried in association request makes the Two terminals establish the location information Real-Time Sharing relationship between first terminal according to the mark of first terminal.
In another embodiment, before according to second location information generation prompting message, further includes:
Second location information is sent to the application program of various communication events;
Show prompting message, comprising:
In the operation interface of communication event application program, prompting message is shown.
In another embodiment, first terminal receives the second location information of second terminal, comprising:
First terminal receives the second location information that second terminal is sent;Alternatively,
First terminal receives the second location information that server is sent, wherein second location information is by second terminal true The second position where itself is sent to server after meeting alert condition before settled, carries first terminal in second location information Mark.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 2 is a kind of flow chart of information prompting method shown according to an exemplary embodiment, and the embodiment of the present disclosure mentions The information prompting method of confession is in server.By taking server executes the method that the embodiment of the present disclosure provides as an example, such as Fig. 2 institute Show, the information prompting method that the embodiment of the present disclosure provides includes the following steps.
In step s 201, the second location information that second terminal is sent is received, wherein second location information is second whole End determines to be sent after itself current place second position meets alert condition, and the mark of first terminal is carried in second location information Know, second terminal is that the terminal of location information Real-Time Sharing relationship is established with first terminal.
In step S202, according to the mark of first terminal, second location information is sent to first terminal, made for the first end End detects when having carried out the trigger action of any communication event to second terminal, is generated and is shown according to second location information Prompting message, and according to the processing result to prompting message, communication event is handled.
The method that the embodiment of the present disclosure provides receives second terminal by server and determines itself current place second position Meet the second location information sent after alert condition, and second location information is sent to first terminal, first terminal is made to exist It detects when having carried out the trigger action of any communication event to second terminal, is generated according to second location information and remind letter Breath, and show prompting message, first terminal may be implemented according to the processing result to prompting message, at communication event Reason.Due to being reminded the communication event by prompting message when first terminal carries out communication event to second terminal, So as to avoid the unnecessary communication event between first terminal and second terminal, and then the rate wave of terminal can be reduced Take.
In another embodiment, before the second location information for receiving second terminal transmission, further includes:
Place the third place is sent to second terminal, make second terminal where determination the second position and the third place it Between difference less than the first preset threshold when, determine where the second position meet alert condition.
In another embodiment, before the second location information for receiving second terminal transmission, further includes:
Obtain specified destination locations;
Specified destination locations are sent to second terminal, make the second terminal second position and specified purpose position where determination Difference between setting is less than the second preset threshold, alternatively, the distance between the second position and specified destination locations will be smaller and smaller When, the second position where determining meets alert condition.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 3 is a kind of flow chart of information prompting method shown according to an exemplary embodiment, and the embodiment of the present disclosure mentions The information prompting method of confession is in terminal.By taking second terminal executes the method that the embodiment of the present disclosure provides as an example, such as Fig. 3 institute Show, the information prompting method that the embodiment of the present disclosure provides includes the following steps.
In step S301, second terminal obtains second location information.
In step s 302, according to second location information, determine whether the second position being currently located meets alert condition.
In step S303, when determining that the second position meets alert condition, second location information is sent to first eventually End, make first terminal detect the trigger action of any communication event has been carried out to second terminal when, according to the second position Information generates and shows prompting message, and according to the processing result to prompting message, handles communication event, wherein First terminal is the terminal that location information Real-Time Sharing relationship is established with second terminal.
The method that the embodiment of the present disclosure provides, after in determination, currently the second position where itself meets alert condition, Second location information is sent to first terminal, first terminal is made to have carried out any communication event to second terminal detecting Trigger action when, prompting message is generated according to second location information, and shows prompting message, may be implemented first terminal according to To the processing result of prompting message, communication event is handled.Due to carrying out communication event to second terminal in first terminal When, the communication event is reminded by prompting message, so as to avoid between first terminal and second terminal not Necessary communication event, and then the rate waste of terminal can be reduced.
In another embodiment, second terminal obtains second location information, comprising:
Second terminal detects the switch state of designated mode, using the switch state of designated mode as second location information, Wherein, the state of designated mode is when opening, to show that the distance between second terminal and specified destination locations will be smaller and smaller;
According to second location information, determine whether the second position being currently located meets alert condition, comprising:
When the state for determining designated mode is open state, determine that the second position being currently located meets alert condition.
In another embodiment, second terminal obtains second location information, comprising:
Second terminal obtains current geographical location information, using geographical location information as second location information;
According to second location information, determine whether the second position being currently located meets alert condition, comprising:
According to the third place information of the third place where geographical location information and pre-stored server, second is determined Whether the difference between position and the third place is less than the first preset threshold;
When the difference between the second position and the third place is less than the first preset threshold, the second being currently located is determined It sets and meets alert condition;
Second location information is sent to first terminal, comprising:
Second location information is sent to server, makes server that second location information is sent to first terminal.
In another embodiment, second terminal obtains second location information, comprising:
Second terminal obtains current geographical location information, using geographical location information as second location information;
According to second location information, determine whether the second position being currently located meets alert condition, comprising:
According to geographical location information and pre-stored specified destination locations, determine the second position and specified destination locations it Between difference whether less than the second preset threshold;
When the difference between the second position and specified destination locations is less than the second preset threshold, the be currently located is determined Two positions meet alert condition.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Fig. 4 is implementation environment schematic diagram involved in a kind of information prompting method of embodiment of the present disclosure offer.Such as Fig. 4 institute Show, which includes first terminal 401, server 402 and second terminal 403.Wherein, first terminal 401 and server Between 402, between server 402 and second terminal 403 by network connection, which can be cable network, can also be with For wireless network.Various types of communication events can be carried out between first terminal 401 and second terminal 403, as telephone event, Short message event, instant messaging event etc..
In the embodiments of the present disclosure, it is total in real time that location information has been pre-established between first terminal 401 and second terminal 403 Relationship is enjoyed, after second terminal 403 determines that the second position being currently located meets alert condition, second location information is sent to Second location information is sent to first terminal 401 by server 402 by server 402.
Wherein, server 402 can be an individual server, or a server cluster.Work as server 402 be an individual server when, by the server 402 be individually performed the embodiment of the present disclosure offer information prompting method; When server 402 is a cluster, each server in the cluster, which can cooperate, executes the letter that the embodiment of the present disclosure provides Cease based reminding method.In addition, server 402 can also be a module being configured on router or server itself is road By device etc..
First terminal 401 and/or second terminal 403 can be smart phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency level 3) player, pocket computer on knee, desktop computer and wearable device etc..
The implementation environment schematic diagram in conjunction with corresponding to Fig. 4, the information prompting method that the embodiment of the present disclosure provides are as described below The content of embodiment corresponding to Fig. 5:
Fig. 5 is a kind of flow chart of information prompting method shown according to an exemplary embodiment.With first terminal, service For device and second terminal interaction execute the information prompting method that the disclosure applies example offer, as shown in figure 5, the embodiment of the present disclosure mentions The information prompting method of confession includes the following steps.
In step S501, first terminal and second terminal establish location information Real-Time Sharing relationship.
Wherein, it can be carried out various types communication event between first terminal and second terminal.In order to avoid first terminal and Unnecessary communication event is carried out between second terminal, the embodiment of the present disclosure provides a kind of information prompting method, first Before terminal and second terminal can be carried out unnecessary communication event, which is reminded.Server is Location information Real-Time Sharing center between one terminal and second terminal.In order in real time to first terminal and second terminal it Between communication event reminded, in the embodiment of the present disclosure, location information can be pre-established between first terminal and second terminal Real-Time Sharing relationship.On this basis, when first terminal is after getting location information, location information can be sent to service The location information of first terminal is sent to second terminal by server by device.Similarly, when second terminal is getting location information Afterwards, location information can be sent to server, the location information of second terminal is sent to first terminal by server.
About the form of server, the embodiment of the present disclosure is not especially limited, for example, server can be to be configured at family A router in network can also be that the information that the embodiment of the present disclosure can be supported to provide being in a fixed position mentions The equipment etc. for method of waking up.
Wherein, first terminal and second terminal include but is not limited to pass through when establishing location information Real-Time Sharing relationship Following steps S5011 and step S5012 is realized:
In step S5011, first terminal sends association request to second terminal, carries first terminal in the association request Mark.
Wherein, the mark of first terminal can be MAC (Media Access Control, the media interviews of first terminal Control) address, or for first terminal IMEI (International Mobile Equipment Identity, movement set Standby international identity code) etc..
The mode of association request is sent to second terminal about first terminal, the embodiment of the present disclosure is not especially limited.
In step S5012, after second terminal receives association request, according to the foundation of the mark of first terminal and first terminal Between location information Real-Time Sharing relationship.
It is closed about second terminal according to the location information Real-Time Sharing that the mark of first terminal is established between first terminal The mode of system, can there are many kinds of.For example, second terminal establishes first terminal and first terminal according to the mark of first terminal Between binding relationship.After location information where subsequent second terminal gets it, which can be sent out in real time It send to first terminal.
It should be noted that only triggering the location information Real-Time Sharing established between second terminal herein with first terminal It is illustrated for relationship.However, when triggering the location information Real-Time Sharing established between first terminal by second terminal When relationship, association request is sent from second terminal to first terminal, the mark of second terminal is carried in the association request.First eventually After end receives the association request, is established according to the mark of second terminal and establish location information Real-Time Sharing relationship with second terminal.
It should also be noted that, the step is to need to execute before executing the information prompting method that the embodiment of the present disclosure provides Step is both needed to the step of executing when being not each method for executing embodiment of the present disclosure offer, guarantees to remind in execution information Location information Real-Time Sharing relationship has been established when method, between first terminal and second terminal.
In addition, the communication event may be by first terminal when carrying out communication event between first terminal and second terminal Triggering, makes a phone call for example, first terminal is triggered to second terminal;It may also be triggered by second terminal.For ease of description, following In content will by first terminal can first trigger with second terminal carry out communication event for, to the embodiment of the present disclosure provide information Explanation is explained in detail in based reminding method.
In step S502, second terminal obtains the second location information for being currently located the second position, and according to second Confidence breath, determines whether the second position meets alert condition.
About the particular content of second location information, the embodiment of the present disclosure is not especially limited.Second location information can be with The geographical location information of the second position is currently located for second terminal, or close the position between second terminal and server System changes with time situation, can also the positional relationship between second terminal and specified destination locations change with time feelings Condition.For example, second location information can change over time will be smaller and smaller for the distance between second terminal and server, or Changing over time will be increasing etc..
In addition, the embodiment of the present disclosure is when second terminal determines that the second position meets alert condition, the letter of ability triggering following Breath reminds step.Wherein, the particular content of alert condition and the content of second location information are related.For example, working as second confidence When breath is geographical location information, when the difference between the third place that the second position and server are currently located is default less than first When threshold value, second terminal determines that the second position meets alert condition;Alternatively, when between the second position and specified destination locations away from From will be smaller and smaller when, second terminal determines that the second position meets alert condition etc..
In conjunction with the content of said second position information and the content of alert condition, second terminal is currently located in acquisition The second location information of two positions, and according to second location information, when determining whether the second position meets alert condition, including But it is not limited to that there are several types of situations:
The first situation: second location information is the geographical location that second terminal is currently located the second position in the case of this kind Information, alert condition are difference between the third place that the second position and server are currently located less than the first preset threshold. On this basis, the available geographical location information for being currently located the second position of second terminal, and according to geographical location information And the third place information of the third place where pre-stored server, determine the difference between the second position and the third place Whether less than the first preset threshold;When the difference between the second position and the third place is less than the first preset threshold, determine The second position meets alert condition.Wherein, server can obtain in advance and the third place is sent to second terminal, by second The terminal storage the third place.
The mode of the geographical location information of the second position is obtained about second terminal, the embodiment of the present disclosure does not limit specifically It is fixed.For example, second terminal can open GPS (Global Positioning System, global positioning system) positioning function, The coordinate of the second position is obtained by GPS positioning function, and using the coordinate as geographical location information.
In addition, the third position of the third place where server has been stored in advance in the embodiments of the present disclosure, in second terminal Confidence breath, the third place information are the geographical location information of the third place where server.Therefore, second terminal can be by second Whether location information and the third place information are compared, to determine the difference between the second position and the third place less than first Preset threshold.
About the specific value of the first preset threshold, can be set as needed.For example, first preset threshold can be 200 meters, 100 meters etc..
In the embodiments of the present disclosure, when the difference between the second position and the third place is less than the first preset threshold, the Two terminals can determine and server from it is closer, and if first terminal is also closer from server at this time, at this time the Unnecessary communication event may occur between one terminal and second terminal, it is therefore contemplated that when second terminal determines the When difference between two positions and the third place is less than the first preset threshold, determine that the second position meets alert condition.
Second situation: the second location information in the case of this kind is the distance between the second position and specified destination locations Change with time relationship, and difference of the alert condition between second terminal and specified destination locations is less than the second preset threshold. Wherein, a designated mode can be preset in second terminal, and when second terminal opens the designated mode, shows second terminal The distance between specified destination locations will be smaller and smaller.On this basis, second terminal can detecte opening for its designated mode Off status, and when the state for determining the designated mode is open state, determine that its second position meets alert condition.Wherein, Specified destination locations are sent to second terminal after being got by server, and the specified purpose can also be obtained by second terminal Position.When second terminal obtains specified destination locations, user selected position on the map that second terminal is shown can detecte It sets to realize.
Specifically, second terminal, can be there are many kinds of mode when whether detect its designated mode is open state.Example Such as, when designated mode, which provides, opens option to control its switch state, when the unlatching option is selected, determination has turned on this Designated mode.On this basis, whether the unlatching option that second terminal can detecte the designated mode is selected, when the unlatching is selected When item is selected, determine that its designated mode is open state.
In addition, since the open state of designated mode is used to show that the distance between second terminal and specified destination locations will It is smaller and smaller, if the distance between first terminal and specified destination locations also very little at this time, first terminal and second at this time Unnecessary communication event may occur between terminal.It therefore, can when determining that second terminal currently has turned on the designated mode To think that the second position meets alert condition.
For example, server is the server of configuration on the router, which is one family router, is specified Destination locations are the family where home router, and first terminal is located in the coverage area of the router, which is Home mode shows that second terminal is currently mobile to the direction of family when first terminal opens the home mode, i.e., second The distance between terminal and specified destination locations will be smaller and smaller, at this point, may occur between first terminal and second terminal Unnecessary communication event.It is therefore contemplated that determining that the second position meets prompting when second terminal opens the home mode Condition.
The third situation: the second location information in the case of this kind is the geographical location information for being currently located the second position, Alert condition is the distance between the second position and specified destination locations less than the second preset threshold.On this basis, second eventually The available geographical location information for being currently located the second position is held, and according to geographical location information and pre-stored specified mesh Position, determine the difference between the second position and specified destination locations whether less than the second preset threshold;When the second position When difference between specified destination locations is less than the second preset threshold, determine that the second position meets alert condition.Wherein, it specifies Destination locations can be the third place where server, can also be different positions from the third place where server
The mode of the geographical location information of the second position is obtained about second terminal, the embodiment of the present disclosure does not limit specifically It is fixed.For example, second terminal can open GPS (Global Positioning System, global positioning system) positioning function, The coordinate of the second position is obtained by GPS positioning function, and using the coordinate as geographical location information.
In addition, specified destination locations, therefore, second terminal have been stored in advance in the embodiments of the present disclosure, in second terminal Second location information and specified destination locations information can be compared, to determine between the second position and specified destination locations Difference whether less than the second preset threshold.
About the specific value of the second preset threshold, can be set as needed.For example, second preset threshold can be 100 meters, 300 meters etc..
In the embodiments of the present disclosure, when the difference between the second position and specified destination locations is less than the second preset threshold When, second terminal can determine with specified destination locations from it is closer, and if first terminal is also from specified purpose position at this time It sets closer, then unnecessary communication event may occur between first terminal and second terminal at this time, it is therefore contemplated that When difference is less than the second preset threshold between the second position and specified destination locations, determine that the second position meets prompting item Part.
In step S503, when determining that the second position meets alert condition, second terminal sends second location information To server, the mark of first terminal is carried in the second location information.
Wherein, second terminal can be realized when second location information is sent to server by network signal, even if It is realized with the flow that operator provides.In addition, when the server is a server being configured on router, and current second When terminal is in the coverage area of the router, second terminal can also pass through WiFi (WIreless-Fidelity, wireless guarantor Very) signal sends the second location information.
In addition, which terminal is second location information are sent to for the ease of server determination, in the second location information Carry the mark of first terminal.
In step S504, after server receives the second location information, second location information is sent to first terminal.
Second location information is sent to the mode of first terminal about server, can there are many kinds of.For example, if clothes Business device is a router, and first terminal is in the coverage area of server, at this point, server can be by WiFi by the Two location informations are sent to first terminal.
In another embodiment, server can also obtain before second location information is sent to first terminal First terminal is currently located the first location information of first position, and determines according to first location information and second location information Whether one position and the second position, which meet information, sends condition.
Wherein, first location information is the geographical location information that first terminal is currently located first position.Server obtains The mode of first location information, can there are many kinds of.Refer to for example, server can send geographical location and submit to first terminal It enables, makes first terminal after receiving the geographical location and submitting instruction, first location information is obtained by GPS, and by first position Information is sent to server.
In addition, server, which can detecte first terminal, is currently when server is the server being configured on router No to connect with second terminal, i.e., whether second terminal is connected thereto;When server, which determines, to be connect with second terminal, clothes Business device can determine first location information according to the geographical location information extremely coverage area of its own.
On this basis, when server is according to first location information and second location information, first terminal and second are determined When positional relationship between terminal meets information transmission condition, second location information is sent to first terminal.
It is the condition whether limiting server sends second location information to first terminal that information, which sends condition,.Work as server When determining that the positional relationship between first terminal and second terminal meets information transmission condition, second location information is sent;Otherwise, Do not send second location information.The particular content of condition is sent about information, the embodiment of the present disclosure is not especially limited.It is specific real Shi Shi may between first terminal and second terminal due to when the distance between first position and the second position are smaller There is unnecessary communication event, therefore, information send condition can for the distance between first position and the second position whether Less than specified threshold.It about the specific value of specified threshold, can be set as needed, the embodiment of the present disclosure is not made this specifically It limits.
The content of condition is sent in conjunction with above- mentioned information, server is according to first location information and second location information, really It, can be by determining first position and the when determining the positional relationship between first terminal and second terminal and meeting information and send condition Whether the difference between two positions is less than specified threshold;When the difference between first position and the second position is less than specified threshold When, determine that the positional relationship between first terminal and second terminal meets information and sends condition;When first position and the second position Between difference be not less than specified threshold when, determine the positional relationship between first terminal and second terminal do not meet information transmission Condition.
When by determining that the positional relationship between first terminal and second terminal meets information transmission condition, by the second position Information is sent to first terminal, can influence the normal communication of first terminal to avoid because frequently sending information to first terminal, So as to avoid bringing bad operating experience to first terminal user.
It is whole to second when detecting after first terminal receives the second location information that server is sent in step S505 When end has carried out the trigger action of any communication event, prompting message is generated according to second location information.
In conjunction with the type of communication event, the trigger action of communication event also has different contents.For example, when communication event is When telephone event, the trigger action of communication event can be that the operation of telephone number is pressed out on first terminal, or to join It is the operation etc. that the telephone number of second terminal is chosen in people;When communication event is short message event, the triggering of communication event Operation is in the operation etc. of short message input interface input message sink people.
Wherein, first terminal is when detecting whether to have carried out the trigger action of any communication event to second terminal, Can in conjunction with communication event type and have different modes.For example, when communication event is telephone event, when first terminal is examined When measuring the telephone number for choosing second terminal in contact person, confirmly detects and the touching of telephone event has been carried out to second terminal Hair operation.In another example adding second in message input interface when first terminal is detected when communication event is short message event When the telephone number of terminal is as message sink people, the trigger action that short message event has been carried out to second terminal is confirmly detected Deng.
Further, the embodiment of the present disclosure is not defined the particular content of prompting message.When it is implemented, reminding letter The content of breath can be related to the content of second location information and first location information.For example, when server be router, second Location information is the state that second terminal opens home mode, and first terminal is in the coverage area of router at this time, then mentions The content for information of waking up can be " user A now just on the way home, if cancel call request ";When the second position and third When difference between location information is less than the first preset threshold, the content of prompting message can for " user A is now close from you, Whether call request is cancelled " etc..
In step S506, first terminal shows prompting message, and according to the processing result to prompting message, to communication thing Part is handled.
It, can be by first terminal user according to prompting message after first terminal shows prompting message, it is determined whether continue The communication event is carried out, and the prompting message can be handled based on definitive result.For example, prompting letter can be ignored Breath, can also delete the prompting message, the operation such as can also be commented on the prompting message, share, thumb up.
Specifically, for the ease of handling communication event, the different disposal result to prompting message is can be set in first terminal The corresponding first terminal processing operation different to communication event.For example, when the processing result to prompting message is to delete, it can be with Determine that first terminal user still adheres to executing the communication event, at this point, first terminal can directly run the communication event. Such as, when processing result is to delete the prompting message, first terminal can directly put through the telephone number of second terminal.Example again Such as, when the processing result to prompting message is to thumb up, it can determine that first terminal user abandons executing the communication event, this When, first terminal can stop running the communication event.Such as, when processing result is to thumb up to the prompting message, first Terminal can stop the telephone event, and return to first terminal homepage.
Optionally, for the ease of first terminal when carrying out various communication events, good reminding effect can be played, the Second location information can be sent to various communication events before generating prompting message according to second location information by one terminal Application program.On this basis, first terminal, can be in the application of current carried out communication event when showing prompting message It is realized in the operation interface of program.For example, first terminal can be in the exhibition of telephone call interface when communication event is telephone event Show the prompting message.
About first terminal show prompting message mode, can there are many kinds of.For example, can by way of pop-up, By pop-up content of text come display alarm information, the prompting message etc. can also be broadcasted by way of voice broadcast.
The method that the embodiment of the present disclosure provides receives second terminal by server and determines itself current place second position Meet the second location information sent after alert condition, and second location information is sent to first terminal, first terminal is made to exist It detects when having carried out the trigger action of any communication event to second terminal, is generated according to second location information and remind letter Breath, and show prompting message, first terminal may be implemented according to the processing result to prompting message, at communication event Reason.Due to being reminded the communication event by prompting message when first terminal carries out communication event to second terminal, So as to avoid the unnecessary communication event between first terminal and second terminal, and then the rate wave of terminal can be reduced Take.
Fig. 6 is implementation environment schematic diagram involved in a kind of information prompting method of embodiment of the present disclosure offer.Such as Fig. 6 institute Show, which includes first terminal 601 and second terminal 602.Wherein, lead between first terminal 601 and second terminal 602 Wireless network connection is crossed, which can be WiFi, or carrier network, such as GSM (Global System For Mobile Communication, global system for mobile communications), LTE (Long Term Evolution, long term evolution) Deng.Various types of communication events can be carried out between first terminal 601 and second terminal 602, such as telephone event, short message thing Part, instant communication information event etc..
In the embodiments of the present disclosure, it is total in real time that location information has been pre-established between first terminal 601 and second terminal 602 Relationship is enjoyed, after second terminal 602 determines that the second position being currently located meets alert condition, second location information is sent to First terminal 601.
First terminal 601 and/or second terminal 602 can be smart phone, tablet computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency level 3) player, pocket computer on knee, desktop computer and wearable device etc..
The implementation environment schematic diagram in conjunction with corresponding to Fig. 6, the information prompting method that the embodiment of the present disclosure provides are as described below The content of embodiment corresponding to Fig. 7:
Fig. 7 is a kind of flow chart of information prompting method shown according to an exemplary embodiment.With first terminal and For two terminal interactions execute the information prompting method that the disclosure applies example offer, as shown in fig. 7, the letter that the embodiment of the present disclosure provides Breath based reminding method includes the following steps.
In step s 701, first terminal and second terminal establish location information Real-Time Sharing relationship.
The principle of the step is consistent with the principle of step S501, and for details, reference can be made to the contents in above-mentioned steps S501, herein It repeats no more.
In step S702, second terminal obtains the second location information for being currently located the second position, and according to second Confidence breath, determines whether the second position meets alert condition.
The principle of the step is consistent with the principle of step S502, and for details, reference can be made to the contents in above-mentioned steps S502, herein It repeats no more.
In step S703, when determining that the second position meets alert condition, second terminal sends second location information To first terminal.
The principle of the step is consistent with the principle that second location information is sent to second terminal by server in step S504, For details, reference can be made to the contents in above-mentioned steps S504, and details are not described herein again.
In step S704, first terminal receive second location information after, when detect second terminal has been carried out it is any When the trigger action of kind communication event, prompting message is generated according to second location information.
The principle of the step is consistent with the principle of step S505, and for details, reference can be made to the contents in above-mentioned steps S505, herein It repeats no more.
In step S705, first terminal shows prompting message, and according to the processing result to prompting message, to communication thing Part is handled.
The principle of the step is consistent with the principle of step S506, and for details, reference can be made to the contents in above-mentioned steps S506, herein It repeats no more.
The method that the embodiment of the present disclosure provides, passes through
Fig. 8 is a kind of block diagram of terminal shown according to an exemplary embodiment, which can be used for executing above-mentioned figure 1, function performed by first terminal in any embodiment in embodiment corresponding to Fig. 2, Fig. 3, Fig. 5 or Fig. 7.Referring to Fig. 8, the end End includes receiving module 801, generation module 802, display module 803 and processing module 804.Wherein:
The receiving module 801 is configured as receiving the second location information of second terminal, wherein second location information is by the Two terminals are sent after determining that currently the second position where itself meets alert condition, and second terminal is to establish position with local terminal The terminal of confidence breath Real-Time Sharing relationship;
The generation module 802, which is configured as working as, detects the trigger action that any communication event has been carried out to second terminal When, prompting message is generated according to second location information;
The display module 803 is configured as showing prompting message;
The processing module 804 is configured as handling communication event according to the processing result to prompting message.
The terminal that the embodiment of the present disclosure provides by receiving the second location information of second terminal, and is being detected to the When two terminals have carried out the trigger action of any communication event, prompting message is generated according to second location information, and show and mention Awake information may be implemented to handle communication event according to the processing result to prompting message.Due to whole to second in terminal When end carries out communication event, the communication event is reminded by prompting message, so as to avoid terminal whole with second Unnecessary communication event between end, and then the rate waste of terminal can be reduced.
In another embodiment, referring to Fig. 9, terminal further includes the first sending module 805.Wherein:
First sending module 805 is configured as sending association request to second terminal, wherein carries this in association request The mark of ground terminal makes second terminal according to the mark of local terminal, establishes total in real time the location information between local terminal Enjoy relationship.
In another embodiment, referring to Figure 10, terminal further includes the second sending module 806.Wherein:
Second sending module 806 is configured as second location information being sent to the application program of various communication events;
The display module 803 is configured as the operation interface in communication event application program, shows prompting message.
In another embodiment, which is configured as receiving the second location information that second terminal is sent; Alternatively,
The second location information that server is sent is received, second location information is as where second terminal in determination currently itself The second position is sent to server after meeting alert condition, and the mark of local terminal is carried in second location information.
About the terminal in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Figure 11 is a kind of block diagram of terminal 1100 shown according to an exemplary embodiment, which can be used in execution State in embodiment corresponding to Fig. 1, Fig. 2, Fig. 3, Fig. 5 or Fig. 7 first terminal in information prompting method provided by any embodiment Performed function.For example, terminal 1100 can be mobile phone, computer, digital broadcasting terminal, messaging device, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 1, terminal 1100 may include following one or more components: processing component 1102, memory 1104, Power supply module 1106, multimedia component 1108, audio component 1110, I/O (Input/Output, input/output) interface 1112, Sensor module 1114 and communication component 1116.
The integrated operation of the usual controlling terminal 1100 of processing component 1102, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1102 may include one or more processors 1120 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1102 may include one or more moulds Block, convenient for the interaction between processing component 1102 and other components.For example, processing component 1102 may include multi-media module, To facilitate the interaction between multimedia component 1108 and processing component 1102.
Memory 1104 is configured as storing various types of data to support the operation in terminal 1100.These data Example includes the instruction of any application or method for operating in terminal 1100, contact data, telephone book data, Message, picture, video etc..Memory 1104 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as SRAM (Static Random Access Memory, static random access memory), EEPROM (Electrically-Erasable Programmable Read-Only Memory, the read-only storage of electrically erasable Device), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), and ROM (Read-Only Memory, it is read-only to deposit Reservoir), magnetic memory, flash memory, disk or CD.
Power supply module 1106 provides electric power for the various assemblies of terminal 1100.Power supply module 1106 may include power management System, one or more power supplys and other with for terminal 1100 generate, manage, and distribute the associated component of electric power.
Multimedia component 1108 includes the screen of one output interface of offer between the terminal 1100 and user.? In some embodiments, screen may include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch screen, from the user to receive Input signal.Touch panel includes one or more touch sensors to sense the gesture on touch, slide, and touch panel.Touching The boundary of a touch or slide action can not only be sensed by touching sensor, but also be detected relevant lasting to touch or slide Time and pressure.In some embodiments, multimedia component 1108 includes a front camera and/or rear camera.When Terminal 1100 is in operation mode, and such as in a shooting mode or a video mode, front camera and/or rear camera can receive External multi-medium data.Each front camera and rear camera can be a fixed optical lens system or have Focusing and optical zoom capabilities.
Audio component 1110 is configured as output and/or input audio signal.For example, audio component 1110 includes one MIC (Microphone, microphone), when terminal 1100 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 1104 or via communication component 1116 send.In some embodiments, audio component 1110 further includes a loudspeaker, for defeated Audio signal out.
I/O interface 1112 provides interface, above-mentioned peripheral interface module between processing component 1102 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1114 includes one or more sensors, and the state for providing various aspects for terminal 1100 is commented Estimate.For example, sensor module 1114 can detecte the state that opens/closes of terminal 1100, the relative positioning of component, such as group Part is the display and keypad of terminal 1100, and sensor module 1114 can also detect 1,100 1 groups of terminal 1100 or terminal The position change of part, the existence or non-existence that user contacts with terminal 1100,1100 orientation of terminal or acceleration/deceleration and terminal 1100 temperature change.Sensor module 1114 may include proximity sensor, be configured to connect in not any physics It is detected the presence of nearby objects when touching.Sensor module 1114 can also include optical sensor, such as CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide) or CCD (Charge-coupled Device, Charged Couple Element) imaging sensor, for being used in imaging applications.In some embodiments, which can also wrap Include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1116 is configured to facilitate the communication of wired or wireless way between terminal 1100 and other equipment.Eventually End 1100 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1116 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1116 further include NFC (Near Field Communication, Near-field communication) module, to promote short range communication.For example, RFID (Radio Frequency can be based in NFC module Identification, radio frequency identification) technology, IrDA (Infra-red Data Association, Infrared Data Association) skill Art, UWB (Ultra Wideband, ultra wide band) technology, BT (Bluetooth, bluetooth) technology and other technologies are realized.
In the exemplary embodiment, terminal 1100 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, at digital signal Manage device), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, programmable logic device), FPGA (Field Programmable Gate Array, field programmable gate Array), controller, microcontroller, microprocessor or other electronic components realize, for executing above-mentioned Fig. 1, Fig. 2, Fig. 3, Fig. 5 Or function performed by first terminal in information prompting method provided by any embodiment in embodiment corresponding to Fig. 7.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1104 of instruction, above-metioned instruction can be executed by the processor 1120 of terminal 1100 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, RAM (Random Access Memory, arbitrary access Memory), CD-ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and light number According to storage equipment etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of first terminal When device executes, so that first terminal is able to carry out a kind of information prompting method, which comprises
The second location information of first terminal reception second terminal, wherein second location information is by second terminal in determination Itself current place second position is sent after meeting alert condition, and second terminal is that location information is established with first terminal in real time altogether Enjoy the terminal of relationship;
When detect the trigger action of any communication event has been carried out to second terminal when, it is raw according to second location information At prompting message;
Show prompting message;
According to the processing result to prompting message, communication event is handled.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of terminal, also include instructions for performing the following operations: first terminal Before the second location information for receiving second terminal, further includes:
First terminal sends association request to second terminal, wherein the mark that first terminal is carried in association request makes the Two terminals establish the location information Real-Time Sharing relationship between first terminal according to the mark of first terminal.
In the third the possible embodiment provided based on the first possible embodiment, terminal is deposited It also include instructions for performing the following operations in reservoir: before second location information generation prompting message, further includes:
Second location information is sent to the application program of various communication events;
Show prompting message, comprising:
In the operation interface of communication event application program, prompting message is shown.
In the 4th kind of possible embodiment provided based on the first possible embodiment, terminal is deposited It also include instructions for performing the following operations in reservoir: the second location information of first terminal reception second terminal, comprising:
First terminal receives the second location information that second terminal is sent;Alternatively,
First terminal receives the second location information that server is sent, wherein second location information is by second terminal true The second position where itself is sent to server after meeting alert condition before settled, carries first terminal in second location information Mark.
The non-transitorycomputer readable storage medium that the embodiment of the present disclosure provides receives server hair by first terminal The second location information sent, and detect the trigger action of any communication event has been carried out to second terminal when, according to Two location informations generate prompting message, and show prompting message, may be implemented according to the processing result to prompting message, to communication Event is handled.Due to first terminal to second terminal carry out communication event when, by prompting message to the communication event It is reminded, so as to avoid the unnecessary communication event between first terminal and second terminal, and then end can be reduced The rate at end waste.
Figure 12 is a kind of block diagram of server shown according to an exemplary embodiment, which can be used in execution State in embodiment corresponding to Fig. 1, Fig. 2, Fig. 3, Fig. 5 or Fig. 7 function performed by server in any embodiment.Referring to Fig.1 2, The server includes receiving module 1201 and the first sending module 1202.Wherein:
The receiving module 1201 is configured as receiving the second location information that second terminal is sent, wherein second confidence Breath is that second terminal determines that currently the second position where itself is sent after meeting alert condition, carries first in second location information The mark of terminal, second terminal are that the terminal of location information Real-Time Sharing relationship is established with first terminal;
First sending module 1202 is configured as the mark according to first terminal, and second location information is sent to first Terminal, when detecting first terminal to have carried out the trigger action of any communication event to second terminal, according to the second position Information generates and shows prompting message, and according to the processing result to prompting message, handles communication event.
The server that the embodiment of the present disclosure provides determines that itself current place second position meets by receiving second terminal The second location information sent after alert condition, and second location information is sent to first terminal, detecting first terminal When to the trigger action for having carried out any communication event to second terminal, prompting message is generated according to second location information, and It shows prompting message, first terminal may be implemented according to the processing result to prompting message, communication event is handled.Due to When first terminal carries out communication event to second terminal, the communication event is reminded by prompting message, so as to To avoid the unnecessary communication event between first terminal and second terminal, and then the rate waste of terminal can be reduced.
In another embodiment, referring to Figure 13, server further includes the second sending module 1203, in which:
Second sending module 1203 is configured as place the third place being sent to second terminal, makes second terminal true When determining the difference between the place second position and the third place less than the first preset threshold, the second position where determining meets prompting Condition.
In another embodiment, referring to Figure 14, server further includes obtaining module 1204 and third sending module 1205. Wherein:
The acquisition module 1204 is configured as obtaining specified destination locations;
The third sending module 1205 is configured as specified destination locations being sent to second terminal, makes second terminal true Difference where fixed between the second position and specified destination locations is less than the second preset threshold, alternatively, the second position and specified mesh The distance between position when will be smaller and smaller, the second position where determining meets alert condition.
About the server in above-described embodiment, wherein modules execute the concrete mode of operation in the related party It is described in detail in the embodiment of method, no detailed explanation will be given here.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
Figure 15 is a kind of block diagram of server 1500 shown according to an exemplary embodiment, which can be used for holding Function performed by server in any embodiment in embodiment corresponding to row above-mentioned Fig. 1, Fig. 2, Fig. 3, Fig. 5 or Fig. 7.For example, Terminal 1500 may be provided as a server.Referring to Fig.1 5, it further comprises one that terminal 1500, which includes processing component 1522, A or multiple processors, and the memory resource as representated by memory 1532, can be by processing component 1522 for storing The instruction of execution, such as application program.The application program stored in memory 1532 may include one or more every One corresponds to the module of one group of instruction.In addition, processing component 1522 is configured as executing instruction, to execute the above method.
Terminal 1500 can also include a power supply module 1526 be configured as execute terminal 1500 power management, one Wired or wireless network interface 1550 is configured as terminal 1500 being connected to network and input and output (I/O) interface 1558.Terminal 1500 can be operated based on the operating system for being stored in memory 1532, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
When one or more instruction is executed by the processing component of server, enable the server to execute one kind Information prompting method, which comprises
The second location information that reception second terminal is sent, wherein second location information is that second terminal determines currently certainly The second position where body is sent after meeting alert condition, and the mark of first terminal is carried in second location information, and second terminal is The terminal of location information Real-Time Sharing relationship is established with first terminal;
According to the mark of first terminal, second location information is sent to first terminal, detects first terminal to When two terminals have carried out the trigger action of any communication event, prompting message is generated and shown according to second location information, and According to the processing result to prompting message, communication event is handled.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, also include instructions for performing the following operations in the memory of server: receiving the Before the second location information that two terminals are sent, further includes:
Place the third place is sent to second terminal, make second terminal where determination the second position and the third place it Between difference less than the first preset threshold when, determine where the second position meet alert condition.
In the third the possible embodiment provided based on the first possible embodiment, server Also include instructions for performing the following operations in memory: before receiving the second location information that second terminal is sent, also wrapping It includes:
Obtain specified destination locations;
Specified destination locations are sent to second terminal, make the second terminal second position and specified purpose position where determination Difference between setting is less than the second preset threshold, alternatively, the distance between the second position and specified destination locations will be smaller and smaller When, the second position where determining meets alert condition.
The server that the embodiment of the present disclosure provides determines that itself current place second position meets by receiving second terminal The second location information sent after alert condition, and second location information is sent to first terminal, detecting first terminal When to the trigger action for having carried out any communication event to second terminal, prompting message is generated according to second location information, and It shows prompting message, first terminal may be implemented according to the processing result to prompting message, communication event is handled.Due to When first terminal carries out communication event to second terminal, the communication event is reminded by prompting message, so as to To avoid the unnecessary communication event between first terminal and second terminal, and then the rate waste of terminal can be reduced.
Figure 16 is a kind of block diagram of terminal shown according to an exemplary embodiment, which can be used for executing above-mentioned figure 1, function performed by second terminal in any embodiment in embodiment corresponding to Fig. 2, Fig. 3, Fig. 5 or Fig. 7.Referring to Fig.1 6, it should Terminal includes obtaining module 1601, determining module 1602 and sending module 1603.Wherein:
The acquisition module 1601 is configured as obtaining second location information;
The determining module 1602 is configured as determining whether the second position being currently located meets according to second location information Alert condition;
The sending module 1603 is configured as sending second location information when determining that the second position meets alert condition To first terminal, make first terminal detect the trigger action of any communication event has been carried out to local terminal when, according to Second location information generates and shows prompting message, and according to the processing result to prompting message, at communication event Reason, first terminal is the terminal that location information Real-Time Sharing relationship is established with local terminal.
The terminal that the embodiment of the present disclosure provides, after in determination, currently the second position where itself meets alert condition, Second location information is sent to first terminal, first terminal is made to have carried out any communication event to second terminal detecting Trigger action when, prompting message is generated according to second location information, and shows prompting message, may be implemented first terminal according to To the processing result of prompting message, communication event is handled.Due to carrying out communication event to second terminal in first terminal When, the communication event is reminded by prompting message, so as to avoid between first terminal and second terminal not Necessary communication event, and then the rate waste of terminal can be reduced.
In another embodiment, which is configured as the switch state of detection designated mode, will specify The switch state of mode is as second location information, wherein the state of designated mode is to show local terminal when opening and specify The distance between destination locations will be smaller and smaller;
The determining module 1602 is configured as when the state for determining designated mode is open state, what determination was currently located The second position meets alert condition.
In another embodiment, which is configured as obtaining current geographical location information, will be geographical Location information is as second location information;
The determining module 1602 is configured as according to the third place where geographical location information and pre-stored server The third place information, determine the difference between the second position and the third place whether less than the first preset threshold;Work as second When setting the difference between the third place less than the first preset threshold, determine that the second position being currently located meets alert condition.
In another embodiment, which is configured as obtaining current geographical location information, will be geographical Location information is as second location information;
The determining module 1602 is configured as determining according to geographical location information and pre-stored specified destination locations Whether the difference between two positions and specified destination locations is less than the second preset threshold;When the second position and specified destination locations it Between difference less than the second preset threshold when, determine that the second position that is currently located meets alert condition.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer It repeats one by one.
About the terminal in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Figure 17 is a kind of block diagram of terminal 1700 shown according to an exemplary embodiment, which can be used in execution State in embodiment corresponding to Fig. 1, Fig. 2, Fig. 3, Fig. 5 or Fig. 7 second terminal in information prompting method provided by any embodiment Performed function.For example, terminal 1700 can be mobile phone, computer, digital broadcasting terminal, messaging device, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 7, terminal 1700 may include following one or more components: processing component 1702, memory 1704, Power supply module 1706, multimedia component 1708, audio component 1710, I/O (Input/Output, input/output) interface 1712, Sensor module 1714 and communication component 1716.
The integrated operation of the usual controlling terminal 1700 of processing component 1702, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing component 1702 may include one or more processors 1720 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1702 may include one or more moulds Block, convenient for the interaction between processing component 1702 and other components.For example, processing component 1702 may include multi-media module, To facilitate the interaction between multimedia component 1708 and processing component 1702.
Memory 1704 is configured as storing various types of data to support the operation in terminal 1700.These data Example includes the instruction of any application or method for operating in terminal 1700, contact data, telephone book data, Message, picture, video etc..Memory 1704 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as SRAM (Static Random Access Memory, static random access memory), EEPROM (Electrically-Erasable Programmable Read-Only Memory, the read-only storage of electrically erasable Device), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), and ROM (Read-Only Memory, it is read-only to deposit Reservoir), magnetic memory, flash memory, disk or CD.
Power supply module 1706 provides electric power for the various assemblies of terminal 1700.Power supply module 1706 may include power management System, one or more power supplys and other with for terminal 1700 generate, manage, and distribute the associated component of electric power.
Multimedia component 1708 includes the screen of one output interface of offer between the terminal 1700 and user.? In some embodiments, screen may include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch screen, from the user to receive Input signal.Touch panel includes one or more touch sensors to sense the gesture on touch, slide, and touch panel.Touching The boundary of a touch or slide action can not only be sensed by touching sensor, but also be detected relevant lasting to touch or slide Time and pressure.In some embodiments, multimedia component 1708 includes a front camera and/or rear camera.When Terminal 1700 is in operation mode, and such as in a shooting mode or a video mode, front camera and/or rear camera can receive External multi-medium data.Each front camera and rear camera can be a fixed optical lens system or have Focusing and optical zoom capabilities.
Audio component 1710 is configured as output and/or input audio signal.For example, audio component 1710 includes one MIC (Microphone, microphone), when terminal 1700 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 1704 or via communication component 1716 send.In some embodiments, audio component 1710 further includes a loudspeaker, for defeated Audio signal out.
I/O interface 1712 provides interface, above-mentioned peripheral interface module between processing component 1702 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1714 includes one or more sensors, and the state for providing various aspects for terminal 1700 is commented Estimate.For example, sensor module 1714 can detecte the state that opens/closes of terminal 1700, the relative positioning of component, such as group Part is the display and keypad of terminal 1700, and sensor module 1714 can also detect 1,700 1 groups of terminal 1700 or terminal The position change of part, the existence or non-existence that user contacts with terminal 1700,1700 orientation of terminal or acceleration/deceleration and terminal 1700 temperature change.Sensor module 1714 may include proximity sensor, be configured to connect in not any physics It is detected the presence of nearby objects when touching.Sensor module 1714 can also include optical sensor, such as CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxide) or CCD (Charge-coupled Device, Charged Couple Element) imaging sensor, for being used in imaging applications.In some embodiments, which can also wrap Include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1716 is configured to facilitate the communication of wired or wireless way between terminal 1700 and other equipment.Eventually End 1700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1716 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1716 further include NFC (Near Field Communication, Near-field communication) module, to promote short range communication.For example, RFID (Radio Frequency can be based in NFC module Identification, radio frequency identification) technology, IrDA (Infra-red Data Association, Infrared Data Association) skill Art, UWB (Ultra Wideband, ultra wide band) technology, BT (Bluetooth, bluetooth) technology and other technologies are realized.
In the exemplary embodiment, terminal 1700 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, at digital signal Manage device), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, programmable logic device), FPGA (Field Programmable Gate Array, field programmable gate Array), controller, microcontroller, microprocessor or other electronic components realize, for executing above-mentioned Fig. 1, Fig. 2, Fig. 3, Fig. 5 Or function performed by second terminal in information prompting method provided by any embodiment in embodiment corresponding to Fig. 7.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1704 of instruction, above-metioned instruction can be executed by the processor 1720 of terminal 1700 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, RAM (Random Access Memory, arbitrary access Memory), CD-ROM (Compact Disc Read-Only Memory, compact disc read-only memory), tape, floppy disk and light number According to storage equipment etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal When row, enable the terminal to execute a kind of information prompting method, which comprises
Second terminal obtains second location information;
According to second location information, determine whether the second position being currently located meets alert condition;
When determining that the second position meets alert condition, second location information is sent to first terminal, makes first terminal Detect the trigger action of any communication event has been carried out to second terminal when, generated and shown according to second location information Prompting message, and according to the processing result to prompting message, handling communication event, first terminal are and second terminal Establish the terminal of location information Real-Time Sharing relationship.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of terminal, also include instructions for performing the following operations: second terminal Obtain second location information, comprising:
Second terminal detects the switch state of designated mode, using the switch state of designated mode as second location information, Wherein, the state of designated mode is when opening, to show that the distance between second terminal and specified destination locations will be smaller and smaller;
According to second location information, determine whether the second position being currently located meets alert condition, comprising:
When the state for determining designated mode is open state, determine that the second position being currently located meets alert condition.
In the third the possible embodiment provided based on the first possible embodiment, terminal is deposited In reservoir, also include instructions for performing the following operations: second terminal obtains second location information, comprising:
Second terminal obtains current geographical location information, using geographical location information as second location information;
According to second location information, determine whether the second position being currently located meets alert condition, comprising:
According to the third place information of the third place where geographical location information and pre-stored server, second is determined Whether the difference between position and the third place is less than the first preset threshold;
When the difference between the second position and the third place is less than the first preset threshold, the second being currently located is determined It sets and meets alert condition;
Second location information is sent to first terminal, comprising:
Second location information is sent to server, makes server that second location information is sent to first terminal.
In the 4th kind of possible embodiment provided based on the first possible embodiment, terminal is deposited In reservoir, also include instructions for performing the following operations: second terminal obtains second location information, comprising:
Second terminal obtains current geographical location information, using geographical location information as second location information;
According to second location information, determine whether the second position being currently located meets alert condition, comprising:
According to geographical location information and pre-stored specified destination locations, determine the second position and specified destination locations it Between difference whether less than the second preset threshold;
When the difference between the second position and specified destination locations is less than the second preset threshold, the be currently located is determined Two positions meet alert condition.
The terminal that the embodiment of the present disclosure provides, after in determination, currently the second position where itself meets alert condition, Second location information is sent to server, makes server that second location information is sent to first terminal, first terminal is made to exist It detects when having carried out the trigger action of any communication event to second terminal, is generated according to second location information and remind letter Breath, and show prompting message, first terminal may be implemented according to the processing result to prompting message, at communication event Reason.Due to being reminded the communication event by prompting message when first terminal carries out communication event to second terminal, So as to avoid the unnecessary communication event between first terminal and second terminal, and then the rate wave of terminal can be reduced Take.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (20)

1. a kind of information prompting method, which is characterized in that the described method includes:
First terminal receives the second location information of second terminal, and the second location information is worked as by the second terminal in determination Itself preceding place second position is sent after meeting alert condition, and the second terminal is to establish location information with the first terminal The terminal of Real-Time Sharing relationship;
When detect the trigger action of any communication event has been carried out to the second terminal when, according to the second confidence Breath generates prompting message;
Show the prompting message;
According to the processing result to the prompting message, the communication event is handled;
Wherein, second location information second position as where the second terminal in determination currently itself meets alert condition It sends afterwards and includes:
When the second location information is geographical location information, when the third position that the second position and server are currently located When difference between setting is less than the first preset threshold, the second terminal determines that the second position meets the alert condition;
Alternatively, the second terminal determines when the distance between the second position and specified destination locations will be smaller and smaller The second position meets the alert condition;
Alternatively, when the difference between the second position and the specified destination locations is less than the second preset threshold, described Two terminals determine that the second position meets the alert condition;
Wherein, before generating prompting message according to the second location information, the method also includes: by the second position Information is sent to the application program of each communication event;
It is described to show the prompting message, comprising: in the operation interface of the communication event application program, to show the prompting letter Breath.
2. the method according to claim 1, wherein the first terminal receives the second confidence of second terminal Before breath, further includes:
First terminal sends association request to the second terminal, and the mark of the first terminal is carried in the association request, Make the second terminal according to the mark of the first terminal, establishes the location information Real-Time Sharing between the first terminal Relationship.
3. the method according to claim 1, wherein the first terminal receives the second confidence of second terminal Breath, comprising:
First terminal receives the second location information that second terminal is sent;Alternatively,
First terminal receives the second location information that the server is sent, and the second location information is existed by the second terminal It determines and is sent to the server after itself current place second position meets alert condition, carried in the second location information The mark of the first terminal.
4. a kind of information prompting method, which is characterized in that the described method includes:
Receive the second location information that second terminal is sent, the second location information be the second terminal determine it is current itself The place second position is sent after meeting alert condition, the mark of carrying first terminal in the second location information, and described second Terminal is that the terminal of location information Real-Time Sharing relationship is established with the first terminal;
According to the mark of the first terminal, the second location information is sent to the first terminal, makes first end End detects when having carried out the trigger action of any communication event to the second terminal, raw according to the second location information At and show prompting message, and according to the processing result to the prompting message, the communication event is handled;
Wherein, second location information second position as where the second terminal in determination currently itself meets alert condition It sends afterwards and includes:
When the second location information is geographical location information, when the third position that the second position and server are currently located When difference between setting is less than the first preset threshold, the second terminal determines that the second position meets the alert condition;
Alternatively, the second terminal determines when the distance between the second position and specified destination locations will be smaller and smaller The second position meets the alert condition;
Alternatively, when the difference between the second position and the specified destination locations is less than the second preset threshold, described Two terminals determine that the second position meets the alert condition;
Wherein, the first terminal, can be by the second position before generating prompting message according to the second location information Information is sent to the application program of each communication event;
The displaying prompting message, comprising: in the operation interface of the communication event application program, show the prompting message.
5. according to the method described in claim 4, it is characterized in that, it is described receive second terminal send second location information it Before, further includes:
Place the third place is sent to the second terminal.
6. according to the method described in claim 4, it is characterized in that, it is described receive second terminal send second location information it Before, further includes:
Obtain the specified destination locations;
The specified destination locations are sent to the second terminal.
7. a kind of information prompting method, which is characterized in that the described method includes:
Second terminal obtains second location information;
According to the second location information, determine whether the second position being currently located meets alert condition;
When determining that the second position meets alert condition, the second location information is sent to first terminal, is made described First terminal detect the trigger action of any communication event has been carried out to the second terminal when, according to the second Confidence breath generates and shows prompting message, and according to the processing result to the prompting message, carries out to the communication event Processing, the first terminal is the terminal that location information Real-Time Sharing relationship is established with the second terminal;
Wherein, described according to the second location information, determine whether the second position being currently located meets alert condition and include:
When the second location information is geographical location information, when the distance between the second position and specified destination locations When will be smaller and smaller, the second terminal determines that the second position meets the alert condition;
Alternatively, according to the third place information of the third place where the geographical location information and pre-stored server, really Whether the difference between the fixed second position and the third place is less than the first preset threshold;When the second position and institute When stating the difference between the third place less than first preset threshold, determine that the second position being currently located meets prompting Condition;
Alternatively, according to the geographical location information and pre-stored specified destination locations, the second position and described is determined Whether the difference between specified destination locations is less than the second preset threshold;When the second position and the specified destination locations it Between difference when being less than second preset threshold, determine that the second position that is currently located meets alert condition;
Wherein, the first terminal, can be by the second position before generating prompting message according to the second location information Information is sent to the application program of each communication event;
The displaying prompting message, comprising: in the operation interface of the communication event application program, show the prompting message.
8. the method according to the description of claim 7 is characterized in that the second terminal obtains second location information, comprising:
Second terminal detects the switch state of designated mode, using the switch state of the designated mode as second location information, The state of the designated mode is when opening, to show that the distance between the second terminal and specified destination locations will increasingly It is small;
It is described according to the second location information, determine whether the second position being currently located meets alert condition, comprising:
When the state for determining the designated mode is open state, determine that the second position being currently located meets alert condition.
9. the method according to the description of claim 7 is characterized in that the second terminal obtains second location information, comprising:
Second terminal obtains current geographical location information, using the geographical location information as the second location information;
It is described that the second location information is sent to first terminal, comprising:
The second location information is sent to the server, makes the server that the second location information is sent to institute State first terminal.
10. a kind of terminal, which is characterized in that the terminal includes:
Receiving module, for receiving the second location information of second terminal, the second location information is existed by the second terminal It determines and is sent after itself current place second position meets alert condition, the second terminal is to establish position letter with local terminal Cease the terminal of Real-Time Sharing relationship;
Generation module, for when detect the trigger action of any communication event has been carried out to the second terminal when, according to The second location information generates prompting message;
Display module, for showing the prompting message;
Processing module, for handling the communication event according to the processing result to the prompting message;
Wherein, the receiving module is also used to when the second location information is geographical location information, when the second position When the difference between the third place being currently located with server is less than the first preset threshold, determine that the second position meets institute State alert condition;Alternatively, determining described when the distance between the second position and specified destination locations will be smaller and smaller Two positions meet the alert condition;Alternatively, when the difference between the second position and the specified destination locations is less than the When two preset thresholds, determine that the second position meets the alert condition;
Second sending module, for the second location information to be sent to the application program of various communication events;
The display module shows the prompting message for the operation interface in the communication event application program.
11. terminal according to claim 10, which is characterized in that the terminal further include:
First sending module carries described local whole for sending association request to the second terminal in the association request The mark at end makes the second terminal according to the mark of the local terminal, and the position established between the local terminal is believed Cease Real-Time Sharing relationship.
12. terminal according to claim 10, which is characterized in that the receiving module is sent for receiving second terminal Second location information;Alternatively,
The second location information that the server is sent is received, the second location information is being determined currently by the second terminal The second position where itself is sent to the server after meeting alert condition, and the local is carried in the second location information The mark of terminal.
13. a kind of server, which is characterized in that the server includes:
Receiving module, for receiving the second location information of second terminal transmission, the second location information is described second whole End determines to be sent after itself current place second position meets alert condition, and first terminal is carried in the second location information Mark, the second terminal is that the terminal of location information Real-Time Sharing relationship is established with the first terminal;
The second location information is sent to described first for the mark according to the first terminal by the first sending module Terminal, when detecting the first terminal to have carried out the trigger action of any communication event to the second terminal, according to The second location information generates and shows prompting message, and according to the processing result to the prompting message, to the communication Event is handled;
Second sending module makes the second terminal determining for place the third place to be sent to the second terminal When difference between the second position and the third place is less than the first preset threshold, the second position where determining meets prompting Condition;
Third sending module makes the second terminal determining for specified destination locations to be sent to the second terminal Difference between the second position and the specified destination locations is less than the second preset threshold, alternatively, the second position and institute The distance between specified destination locations are stated when will be smaller and smaller, the second position where determining meets alert condition;
Wherein, the first terminal, can be by the second position before generating prompting message according to the second location information Information is sent to the application program of each communication event;
The displaying prompting message, comprising: in the operation interface of the communication event application program, show the prompting message.
14. server according to claim 13, which is characterized in that the server further include:
Module is obtained, for obtaining the specified destination locations.
15. a kind of terminal, which is characterized in that the terminal includes:
Module is obtained, for obtaining second location information;
Determining module, for determining whether the second position being currently located meets alert condition according to the second location information;
Sending module, for when determining that the second position meets alert condition, the second location information to be sent to One terminal, make the first terminal detect the trigger action of any communication event has been carried out to local terminal when, according to The second location information generates and shows prompting message, and according to the processing result to the prompting message, to described logical News event is handled, and the first terminal is the terminal that location information Real-Time Sharing relationship is established with the local terminal;
The determining module is also used to when the second position and refer to when the second location information is geographical location information The distance between destination locations are determined when will be smaller and smaller, determine that the second position meets the alert condition;
The determining module is also used to the according to the third place where the geographical location information and pre-stored server Whether three location informations determine the difference between the second position and the third place less than the first preset threshold;Work as institute When stating difference between the second position and the third place and being less than first preset threshold, described the be currently located is determined Two positions meet alert condition;
The determining module, is also used to according to the geographical location information and pre-stored specified destination locations, determine described in Whether the difference between the second position and the specified destination locations is less than the second preset threshold;When the second position and described When difference between specified destination locations is less than second preset threshold, determines that the second position being currently located meets and mention The condition of waking up;
Wherein, the first terminal, can be by the second position before generating prompting message according to the second location information Information is sent to the application program of each communication event;
The displaying prompting message, comprising: in the operation interface of the communication event application program, show the prompting message.
16. terminal according to claim 15, which is characterized in that the acquisition module, for detecting opening for designated mode Off status, using the switch state of the designated mode as second location information, the state of the designated mode is table when opening The distance between the bright local terminal and the specified destination locations will be smaller and smaller;
The determining module, for determining second be currently located when the state for determining the designated mode is open state Position meets alert condition.
17. terminal according to claim 15, which is characterized in that the acquisition module, for obtaining current geographical position Confidence breath, using the geographical location information as the second location information.
18. a kind of terminal, which is characterized in that the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The second location information of second terminal is received, the second location information is determining itself current institute by the second terminal It is sent after the second position meets alert condition, the second terminal is to establish location information Real-Time Sharing relationship with local terminal Terminal;
When detect the trigger action of any communication event has been carried out to the second terminal when, according to the second confidence Breath generates prompting message;
Show the prompting message;
According to the processing result to the prompting message, the communication event is handled;
Wherein, second location information second position as where the second terminal in determination currently itself meets alert condition It sends afterwards and includes:
When the second location information is geographical location information, when the third position that the second position and server are currently located When difference between setting is less than the first preset threshold, the second terminal determines that the second position meets the alert condition;
Alternatively, the second terminal determines when the distance between the second position and specified destination locations will be smaller and smaller The second position meets the alert condition;
Alternatively, when the difference between the second position and the specified destination locations is less than the second preset threshold, described Two terminals determine that the second position meets the alert condition;
Wherein, before generating prompting message according to the second location information, the processor is also configured to described the Two location informations are sent to the application program of each communication event;
It is described to show the prompting message, comprising: in the operation interface of the communication event application program, to show the prompting letter Breath.
19. a kind of server, which is characterized in that the server includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the second location information that second terminal is sent, the second location information be the second terminal determine it is current itself The place second position is sent after meeting alert condition, the mark of carrying first terminal in the second location information, and described second Terminal is that the terminal of location information Real-Time Sharing relationship is established with the first terminal;
According to the mark of the first terminal, the second location information is sent to the first terminal, makes first end End detects when having carried out the trigger action of any communication event to the second terminal, raw according to the second location information At and show prompting message, and according to the processing result to the prompting message, the communication event is handled;
Wherein, second location information second position as where the second terminal in determination currently itself meets alert condition It sends afterwards and includes:
When the second location information is geographical location information, when the second position and the server be currently located the When difference between three positions is less than the first preset threshold, the second terminal determines that the second position meets the prompting item Part;
Alternatively, the second terminal determines when the distance between the second position and specified destination locations will be smaller and smaller The second position meets the alert condition;
Alternatively, when the difference between the second position and the specified destination locations is less than the second preset threshold, described Two terminals determine that the second position meets the alert condition;
Wherein, the first terminal, can be by the second position before generating prompting message according to the second location information Information is sent to the application program of each communication event;
The displaying prompting message, comprising: in the operation interface of the communication event application program, show the prompting message.
20. a kind of terminal, which is characterized in that the terminal includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain second location information;
According to the second location information, determine whether the second position being currently located meets alert condition;
When determining that the second position meets alert condition, the second location information is sent to first terminal, is made described First terminal detect the trigger action of any communication event has been carried out to local terminal when, according to the second confidence Breath generates and shows prompting message, and according to the processing result to the prompting message, handles the communication event, The first terminal is the terminal that location information Real-Time Sharing relationship is established with the local terminal;
Wherein, described according to the second location information, determine whether the second position being currently located meets alert condition and include:
When the second location information is geographical location information, when the distance between the second position and specified destination locations When will be smaller and smaller, determine that the second position meets the alert condition;
Alternatively, according to the third place information of the third place where the geographical location information and pre-stored server, really Whether the difference between the fixed second position and the third place is less than the first preset threshold;When the second position and institute When stating the difference between the third place less than first preset threshold, determine that the second position being currently located meets prompting Condition;
Alternatively, according to the geographical location information and pre-stored specified destination locations, the second position and described is determined Whether the difference between specified destination locations is less than the second preset threshold;When the second position and the specified destination locations it Between difference when being less than second preset threshold, determine that the second position that is currently located meets alert condition;
Wherein, the first terminal, can be by the second position before generating prompting message according to the second location information Information is sent to the application program of each communication event;
The displaying prompting message, comprising: in the operation interface of the communication event application program, show the prompting message.
CN201510374980.6A 2015-06-30 2015-06-30 Information prompting method, terminal and server Active CN105101078B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510374980.6A CN105101078B (en) 2015-06-30 2015-06-30 Information prompting method, terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510374980.6A CN105101078B (en) 2015-06-30 2015-06-30 Information prompting method, terminal and server

Publications (2)

Publication Number Publication Date
CN105101078A CN105101078A (en) 2015-11-25
CN105101078B true CN105101078B (en) 2019-09-27

Family

ID=54580433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510374980.6A Active CN105101078B (en) 2015-06-30 2015-06-30 Information prompting method, terminal and server

Country Status (1)

Country Link
CN (1) CN105101078B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843789A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Rich text monitoring method and device
CN106028277A (en) * 2016-04-29 2016-10-12 北京小米移动软件有限公司 Reminding message processing method and apparatus
CN106453394A (en) * 2016-11-11 2017-02-22 广东小天才科技有限公司 Information reminding method, electronic terminal and server
CN106792532A (en) * 2016-12-21 2017-05-31 珠海市魅族科技有限公司 A kind of information cuing method and system
CN107466002A (en) * 2017-08-30 2017-12-12 珠海市魅族科技有限公司 Information acquisition method and device, terminal and readable storage medium storing program for executing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557552A (en) * 2008-04-10 2009-10-14 中兴通讯股份有限公司 Mobile terminal with position prompting function and position prompting method
CN102075855A (en) * 2010-12-02 2011-05-25 中兴通讯股份有限公司 Automatic calling method and device
CN102238473A (en) * 2010-04-26 2011-11-09 宏达国际电子股份有限公司 Communication control method and communication device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015030643A1 (en) * 2013-08-30 2015-03-05 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for determining the status of a communications terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557552A (en) * 2008-04-10 2009-10-14 中兴通讯股份有限公司 Mobile terminal with position prompting function and position prompting method
CN102238473A (en) * 2010-04-26 2011-11-09 宏达国际电子股份有限公司 Communication control method and communication device
CN102075855A (en) * 2010-12-02 2011-05-25 中兴通讯股份有限公司 Automatic calling method and device

Also Published As

Publication number Publication date
CN105101078A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
EP3029889B1 (en) Method for instant messaging and device thereof
CN105607883B (en) The processing method and processing device of instant message
CN104063655B (en) A kind of method and apparatus handling child mode
US10509540B2 (en) Method and device for displaying a message
US20180121040A1 (en) Method and device for managing notification messages
CN105101078B (en) Information prompting method, terminal and server
CN107948926B (en) Intelligent device sharing method and device
CN109658927A (en) Wake-up processing method, device and the management equipment of smart machine
WO2017045307A1 (en) Method and apparatus for displaying answering extension function
CN105933863B (en) Method and device for adding friends and electronic equipment
CN104636453A (en) Illegal user data identification method and device
WO2021046674A1 (en) Data processing method and apparatus, and electronic device and computer readable storage medium
CN106254192A (en) Reminding method, suggestion device and prompt system
CN108629178A (en) The resource access rights configuration method and device of application program
CN111343714B (en) Terminal positioning method and device, electronic equipment and storage medium
CN109451811A (en) Unmanned plane management method and device, electronic equipment and computer readable storage medium
CN104918253B (en) Recognition methods, device and the terminal device of false base station
CN105491518A (en) Method and device for social reminding based on wearable devices
CN105653903B (en) The management method and device of application program permission
CN107295167B (en) Information display method and device
CN105843894A (en) Information recommending method and device
US20170201479A1 (en) Group message display method, device and medium
CN108984098A (en) The control method and device that information based on social software is shown
CN105634928B (en) Social based reminding method and device based on wearable device
CN106027361B (en) Information display method and device

Legal Events

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