CN106503023A - The method and device of prompting nearby friends - Google Patents

The method and device of prompting nearby friends Download PDF

Info

Publication number
CN106503023A
CN106503023A CN201510567509.9A CN201510567509A CN106503023A CN 106503023 A CN106503023 A CN 106503023A CN 201510567509 A CN201510567509 A CN 201510567509A CN 106503023 A CN106503023 A CN 106503023A
Authority
CN
China
Prior art keywords
user
good friend
nearby friends
prompt facility
current location
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510567509.9A
Other languages
Chinese (zh)
Other versions
CN106503023B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510567509.9A priority Critical patent/CN106503023B/en
Priority to PCT/CN2016/095230 priority patent/WO2017041610A1/en
Publication of CN106503023A publication Critical patent/CN106503023A/en
Application granted granted Critical
Publication of CN106503023B publication Critical patent/CN106503023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Abstract

The present invention provides a kind of method of prompting nearby friends, and methods described includes:Judge whether user opens nearby friends prompt facility;If judging, the user opens nearby friends prompt facility, obtains the current location of the user;Obtain the buddy list info of the user;Determine whether the good friend of the user within the scope of the distance to a declared goal of the user;And if judgement has the good friend of the user within the scope of the distance to a declared goal of the user, sending information to the user.The present invention also provides a kind of device of prompting nearby friends.The method and device of above-mentioned prompting nearby friends can meet the demand that user quickly has found nearby friends, lift experience of the user to instant messaging.

Description

The method and device of prompting nearby friends
Technical field
A kind of the present invention relates to communication technical field, more particularly to method and device of prompting nearby friends.
Background technology
With developing rapidly for the communication technology and Internet technology, various terminal equipment such as PC, Notebook computer, panel computer, mobile phone etc. become the important tool of acquisition information and communication.Such as, After user installs instant communication software (such as QQ, wechat etc.) in its terminal device, just can lead to Instant communication software plusing good friend is crossed, and then is communicated with good friend.However, in certain situations, than Such as dine out, find to leave behind wallet, then user needs contact good friend in its vicinity to come to aid, If do not inquired or the specific function using instant communication software, such as wechat " nearby People " function is checked, is then difficult to know whether good friend nearby.Therefore, near quick obtaining The information of good friend is problem demanding prompt solution.
Content of the invention
In view of this, the present invention provides a kind of method and device of prompting nearby friends, can meet user The quick demand for finding nearby friends, lifts experience of the user to instant messaging.
Specifically, a kind of method of prompting nearby friends provided in an embodiment of the present invention includes:Judge to use Whether nearby friends prompt facility is opened in family;If judging, the user opens nearby friends prompt facility, Obtain the current location of the user;Obtain the buddy list info of the user;Judge whether The good friend of user is stated within the scope of the distance to a declared goal of the user;And if judging there is the user's Good friend sends information to the user within the scope of the distance to a declared goal of the user.
A kind of device of prompting nearby friends provided in an embodiment of the present invention includes:First judge module, For judging whether user opens nearby friends prompt facility;First acquisition module, if for described One judge module judges that the user opens nearby friends prompt facility, obtains the current of the user Position;Second acquisition module, for obtaining the buddy list info of the user;Second judge module, For determining whether the good friend of the user within the scope of the distance to a declared goal of the user;And carry Show module, if judging the good friend for having the user in the institute of the user for second judge module Within the scope of stating distance to a declared goal, information is sent to the user.
By the method and device of prompting nearby friends provided in an embodiment of the present invention, user only needs to open Nearby friends function, just can conveniently and efficiently obtain the information of nearby friends, and then near Good friend is contacted.Therefore, the method and device of prompting nearby friends provided by the present invention can meet User quickly has found the demand of nearby friends, lifts experience of the user to instant messaging.
It is that the above and other objects, features and advantages of the present invention can be become apparent, cited below particularly Preferred embodiment, and coordinate institute's accompanying drawings, it is described in detail below.
Description of the drawings
Fig. 1 is the applied environment figure of the method and device of prompting nearby friends provided in an embodiment of the present invention.
Fig. 2 shows the structured flowchart of one embodiment of the terminal device in Fig. 1.
Fig. 3 shows the structured flowchart of one embodiment of the server in Fig. 1.
The schematic flow sheet of the method for the prompting nearby friends that Fig. 4 is provided for first embodiment of the invention.
The schematic flow sheet of the method for the prompting nearby friends that Fig. 5 is provided for second embodiment of the invention.
The schematic flow sheet of the method for the prompting nearby friends that Fig. 6 is provided for third embodiment of the invention.
The structured flowchart of the device of the prompting nearby friends that Fig. 7 is provided for fourth embodiment of the invention.
The structured flowchart of the device of the prompting nearby friends that Fig. 8 is provided for fifth embodiment of the invention.
The structured flowchart of the device of the prompting nearby friends that Fig. 9 is provided for sixth embodiment of the invention.
Specific embodiment
For further illustrating the present invention for realizing technological means and work(that predetermined goal of the invention taken Effect, below in conjunction with accompanying drawing and preferred embodiment, to the specific embodiment according to the present invention, structure, Feature and its effect, describe in detail as after.
Fig. 1 is refer to, Fig. 1 is the method and device of prompting nearby friends provided in an embodiment of the present invention Applied environment figure.As shown in figure 1, multiple terminal devices 100 pass through network 201 with server 200 Communicated.Terminal device 100 can be various electronic installations, such as PC, notebook computer, Panel computer, mobile phone etc., terminal device 100 can install instant communication client.The server 200 For the background server of instant messaging, various services can be provided for client.Network 201 can be but not It is limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Shown in Fig. 1 In example, the plurality of terminal device 100 includes the first terminal equipment 101 for being belonging respectively to two users With second terminal equipment 103.
Fig. 2 is refer to, Fig. 2 shows the structured flowchart of one embodiment of terminal device 100.As schemed Shown in 2, terminal device 100 includes memory 102, storage control 104, one or more (figures In only illustrate one) processor 106, Peripheral Interface 108, radio-frequency module 110, locating module 112, Photographing module 114, audio-frequency module 116, display module 118 and key-press module 120.These components By one or more communication bus/holding wire, 122 mutual communication.
It is appreciated that the structure shown in Fig. 2 is only to illustrate, terminal device 100 may also include and compare Fig. 2 Shown in more or less component, or with the configuration different from shown in Fig. 2.Institute in Fig. 2 The each component for showing can adopt hardware, software or its combination to realize.
Wherein, memory 102 can be used to store software program and module, such as in the embodiment of the present invention Prompting nearby friends the corresponding programmed instruction/module of method and device, processor 106 is by operation The software program being stored in memory 102 and module, so that execute various function application and number According to process.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one Individual or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.At some In example, memory 102 can further include the memory remotely located relative to processor 106, These remote memories can pass through network connection to terminal device 100.The example of above-mentioned network include but It is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 106 And other possible components can enter under the control of storage control 104 to the access of memory 102 OK.
Peripheral Interface 108 is by various input/output devices coupled to processor 106 and memory 102. Various softwares in 106 run memory 102 of processor, instruction are executing each of terminal device 100 Plant function and carry out data processing.
In certain embodiments, Peripheral Interface 108, processor 106 and storage control 104 can be with Realize in one single chip, in some other example, it is also possible to realized by independent chip respectively.
Radio-frequency module 110 is used for receiving and sending electromagnetic wave, realizes that electromagnetic wave is mutual with electric signal Conversion, so as to be communicated with communication network or other equipment.Radio-frequency module 110 may include various The existing component for executing these functions, for example, antenna, RF transceiver, numeral letter Number processor, encryption/deciphering chip, subscriber identity module (SIM) card, memory etc..Radio frequency Module 110 can be communicated or be led to various networks such as internet, intranet, wireless network Cross wireless network to be communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and Technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code division multiple Access, W-CDMA), CDMA (Code division access, CDMA), time-division are more Location technology (time division multiple access, TDMA), bluetooth, adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as IEEE-USA's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for the agreement of mail, instant messaging and short message, and any Other suitable communications protocol, or even may include those agreements being currently developed not yet.
Locating module 112 is used for the current location for obtaining terminal device 100.The reality of locating module 112 Example includes but is not limited to GPS (GPS), is based on WLAN or mobile communication The location technology of net.
Photographing module 114 is used for shooting photo or video.The photo or video of shooting can be stored To memory 102, and can be sent by radio-frequency module 110.
Audio-frequency module 116 provides a user with COBBAIF, its may include one or more microphones, one Individual or multiple loudspeakers and voicefrequency circuit.Voicefrequency circuit receives sound number from Peripheral Interface 108 According to voice data being converted to power information, power information is transmitted to loudspeaker.Loudspeaker is by power information Be converted to the sound wave that human ear can be heard.Voicefrequency circuit receives power information also from microphone, by electric signal Be converted to voice data, and by data transmission in network telephony to Peripheral Interface 108 further being located Reason.Voice data can be obtained from memory 102 or by radio-frequency module 110.Additionally, sound It is transmitted during frequency evidence can also be stored to memory 102 or by radio-frequency module 110.One In a little examples, audio-frequency module 116 may also include an earphone and broadcast hole, for earphone or other set Standby offer COBBAIF.
Display screen 118 provides an output interface between terminal device 100 and user.Specifically, Display screen 118 displays to the user that video frequency output, and the content of these video frequency outputs may include word, figure Shape, video and its any combination.Some output results correspond to some user interface objects.Enter One step ground, display screen 118 can also provide an inputting interface between terminal device 100 and user, For gesture operations such as the input of receive user, the such as click of user, slips, so as to user interface Object is responded to the input of these users.Detection user input technology can be based on resistance-type, Condenser type or other arbitrarily possible touch control detection technology.The instantiation of display screen 118 includes But it is not limited to liquid crystal display or light emitting polymer displays.
The interface is input into terminal device 100 by 120 same offer user of key-press module, Yong Huke With by pressing different buttons so that terminal device 100 executes different functions.
Fig. 3 shows the structured flowchart of one embodiment of server 200.As shown in figure 3, service Device 200 includes:Memory 201, processor 202 and mixed-media network modules mixed-media 203.
It is appreciated that the structure shown in Fig. 3 is only to illustrate, during server 200 is may also include than Fig. 3 Shown more or less component, or with the configuration different from shown in Fig. 3.Shown in Fig. 3 Each component can adopt hardware, software or its combine realize.In addition, the clothes in the embodiment of the present invention Business device 200 can also include the server of multiple concrete difference in functionalitys.
Memory 201 can be used to store software program and module, the such as prompting in the embodiment of the present invention Corresponding programmed instruction/the module of the method and device of nearby friends, processor 202 are stored in by operation Software program and module in memory 201, so as to execute various function application and data processing, The method and device of prompting nearby friends in the embodiment of the present invention is realized.Memory 201 may include High speed random access memory, may also include nonvolatile memory, such as one or more magnetic storage dress Put, flash memory or other non-volatile solid state memories.In some instances, memory 201 can The memory remotely located relative to processor 202 is further included, these remote memories can lead to Network connection is crossed to server 200.Further, above-mentioned software program and module may also include:Clothes Business module 221 and operating system 222.Wherein operating system 222, can for example be LINUX, UNIX, WINDOWS, its may include various for (the such as memory management, storage device of management system task Control, power management etc.) component software and/or driving, and can be with various hardware or component software phase Mutually communicate, so as to provide the running environment of other software component.Service module 221 operates in operation system On the basis of system 222, and monitored come the request of automatic network by the network service of operating system 222, Corresponding data processing is completed according to request, and result is returned to client.That is, clothes Business module 221 is used for providing network service to client.
Mixed-media network modules mixed-media 203 is used for receiving and sending network signal.Above-mentioned network signal may include wirelessly Signal or wire signal.In an example, above-mentioned network signal is cable network signal.Now, Mixed-media network modules mixed-media 203 may include the elements such as processor, random access memory, converter, crystal oscillator.
Method and the dress of the prompting nearby friends of present invention offer are described below in conjunction with specific embodiment Put.
First embodiment
First embodiment provides a kind of method of prompting nearby friends, and the method is applied to shown in Fig. 1 Applied environment.The flow chart that Fig. 4 show said method.Refer to Fig. 4, the method bag of the present embodiment Include following steps:
Step S11, judges whether user opens nearby friends prompt facility;
In this step, judge whether user opens nearby friends prompt facility, if opening, execute Step S12;If not opening, end is skipped to.
Specifically, can be provided a user with by the instant communication client in terminal device 101 One arranges interface, and the setting interface includes the activate switch of corresponding nearby friends prompt facility, apart from model The options enclosed and correspondingly allow by activate switch of good friend's discovery feature etc..User can pass through this pair Answer the activate switch of nearby friends prompt facility to be turned on or off nearby friends prompt facility, work as user The nearby friends prompt facility is opened, then can receive nearby has the related information of good friend.User can Selected by the options of the distance range or self-defined distance range, wherein, the distance range is Refer to the distance range of the position that the position that good friend is located is located with user oneself.User can pass through to allow quilt The activate switch of good friend's discovery feature is turned on or off allowing by good friend's discovery feature, when user opens When the permission is by good friend's discovery feature, the geographical position of user and account can be used nearby friends The other users of prompt facility are obtained, and certainly, the user should be used as the good friend of other users, its account number Information should be in the buddy list of other users.
In one embodiment, when user's unlatching nearby friends prompt facility in interface is arranged is received, The options that interface can further provide for distance range is set, such as 500 meters, 1000 meters and self-defined Etc. options to user, user is facilitated to select or be input into its distance range that wants.In another enforcement In example, the options that interface can not also provide distance range is set, and directly silent using pre-set Recognize distance range, the default distance scope can be set to 500 meters, 1000 meters, 1500 meters or other, this Invention does not limit the occurrence of distance range.
Step S12, obtains the current location of the user;
In this step, if judging, user opens nearby friends prompt facility, obtains the user's Current location.In one example, (Location Based Service, based on geographical position can to pass through LBS The service of putting) obtain hold terminal device 101 user current location.
In the present embodiment, step S12 includes:Collect the GPS location data of the user;With And according to the GPS location data acquisition of the user user current location.
Step S13, obtains the buddy list info of the user;
In this step, the buddy list of user can be such as the address list in wechat, the contact in QQ List etc., can be with user-defined buddy list.
It is understood that step S13 is not necessarily after step s 12, it is also possible in step S12 Before.
Step S14, determine whether the good friend of the user the user distance to a declared goal scope it Interior;
In this step, the present bit of good friend, after the buddy list info for getting user, is obtained Put, according to the current location and the current location of user of good friend, further determined whether the user Good friend within the scope of the distance to a declared goal of the user, if having, execution step S15;If nothing, jump To terminating.
Specifically, the distance to a declared goal scope refers to user according to instant in terminal device 103 The distance range of the setting interface setting that communication customer end is provided or the default distance scope of system.
Step S15, sends information to the user.
In this step, if judging the good friend for having the user in the distance to a declared goal model of the user Within enclosing, information is sent to the user.The information may include good friend account, Distance of good friend and the user etc..If there is multiple good friends within the scope of the distance to a declared goal of the user, Then the information may include all good friends within the scope of distance to a declared goal account and respectively with The distance of the user.
As can be seen here, the method for the prompting nearby friends for being provided by the present embodiment, user need to only be opened Open nearby friends function, just can conveniently and efficiently obtain the information of nearby friends, so with attached Nearly good friend is contacted.Therefore, the method for the prompting nearby friends provided by the present embodiment can meet use Family quickly finds the demand of nearby friends, lifts experience of the user to instant messaging.
Second embodiment
Second embodiment provides a kind of method of prompting nearby friends, and the method is provided with first embodiment Method similar.The flow chart that Fig. 5 show the present embodiment method.Fig. 5 is refer to, the present embodiment Method is comprised the following steps:
Step S11, judges whether user opens nearby friends prompt facility;
In this step, judge whether user opens nearby friends prompt facility, if opening, execute Step S12;If not opening, end is skipped to.
Step S12, obtains the current location of the user;
Step S13, obtains the buddy list info of the user;
Step S14, including following sub-step:
Sub-step S141, judges whether the good friend in the buddy list info opens permission good successively Friendly discovery feature;
In this sub-step, the good friend in the buddy list info of user can be judged in a certain order successively Whether unlatching is allowed by good friend's discovery feature;If judging, having good friend to open allows by good friend's discovery feature, Sub-step S142 is then executed;If judging, not having good friend to open allows by good friend's discovery feature, skips to knot Beam.
Specifically, if the good friend's using terminal equipment 103 in the buddy list info of the user, should Good friend can be opened by the setting interface that the instant communication client in terminal device 103 is provided Allow by good friend's discovery feature.
Sub-step S142, obtains the current location of good friend;
In this sub-step, if judging, having good friend to open allows by good friend's discovery feature, obtains this good The current location of friend.In one example, the current location of the good friend can be obtained by LBS.
In the present embodiment, sub-step S142 includes:Collect the GPS location data of the good friend;With And the current location according to the GPS location data acquisition good friend also having.
Sub-step S143, according to the current location and the current location of the user of the good friend, sentences Whether the current location of the disconnected good friend is within the scope of the distance to a declared goal of the user;
Specifically, the distance to a declared goal scope refers to user according to instant in terminal device 103 The distance range of the setting interface setting that communication customer end is provided or the default distance scope of system.
In this sub-step, if judge the current location of the good friend the user described specify away from Within the scope of, then execution step S15;If judging the current location of the good friend not the user's Within the scope of the distance to a declared goal, then skip to end.
Step S15, sends information to the user.
Corresponding steps in the present embodiment can will not be described here with further reference to first embodiment.
As can be seen here, the method for the prompting nearby friends for being provided by the present embodiment, user need to only be opened Open nearby friends function, just can conveniently and efficiently obtain the information of nearby friends, so with attached Nearly good friend is contacted.Therefore, the method for the prompting nearby friends provided by the present embodiment can meet use Family quickly finds the demand of nearby friends, lifts experience of the user to instant messaging.
3rd embodiment
3rd embodiment provides a kind of method of prompting nearby friends, and the method is provided with first embodiment Method similar.The flow chart that Fig. 6 show the present embodiment method.Fig. 6 is refer to, the present embodiment Method is comprised the following steps:
Step S11, including following sub-step:
Sub-step S111, judges whether to receive near the unlatching that the user is sent by terminal device The information of good friend's prompt facility;
In this sub-step, if receiving the unlatching nearby friends prompting that user is sent by terminal device The information of function, then it represents that the user or immediately opens nearby friends prompt facility, executes son Step S121;If not receiving the unlatching nearby friends prompt facility that the user is sent by terminal device Information, then execute sub-step S112.
Sub-step S112, reads system and arranges, and is arranged according to the system and judges whether the user opens Open nearby friends prompt facility;
Specifically, the system is arranged and refers to user by the instant messaging in terminal device 101 Client is provided a user with and arranges the configuration information preserved after interface is configured.The system is arranged Information, the Yong Hushe of the activate switch of corresponding nearby friends prompt facility is turned on or off including user Fixed distance range and user are turned on or off corresponding permission by the activate switch of good friend's discovery feature Information etc..
In this sub-step, if judging, the user opens nearby friends prompt facility, executes son Step 122;If judging, the user does not open nearby friends prompt facility, skips to end.
Step S12, including following sub-step:
Sub-step S121, obtains the current location of the user in real time;
In this sub-step, one receives the unlatching nearby friends prompting that user is sent by terminal device The information of function, then obtain the current location of the user in real time.In one example, institute is obtained in real time The current location for stating user includes:The GPS location data of the user are collected in real time, and according to institute State the current location of user described in the GPS location data acquisition of user.
Sub-step S122, the current location of user described in timing acquisition;
In this sub-step, if arrange according to system judging that user opens nearby friends prompt facility, Then represent that the nearby friends prompt facility of user is in opening, user's is current described in timing acquisition Preset in position, that is to say, that at interval of the current location that a Preset Time just obtains the user, this Time is such as 1 hour.In one example, the current location of user described in timing acquisition includes:Fixed When collect the GPS location data of the user, and the GPS location data acquisition according to the user The current location of the user.
Step S13, obtains the buddy list info of the user;
Step S14, determine whether the good friend of the user the user distance to a declared goal scope it Interior;
In this step, the present bit of good friend, after the buddy list info for getting user, is obtained Put, according to the current location and the current location of user of good friend, further determined whether the user Good friend within the scope of the distance to a declared goal of the user, if having, execution step S15;If nothing, jump To terminating.In other embodiments, if the method is sent by terminal device receiving user After opening the information of nearby friends prompt facility, and judge the good friend for not having the user described Within the scope of the distance to a declared goal of user, then send and nearby feed back to user without good friend.
Step S15, sends information to the user.
Corresponding steps in the present embodiment can will not be described here with further reference to first embodiment.
As can be seen here, the method for the prompting nearby friends for being provided by the present embodiment, user need to only be opened Open nearby friends function, just can conveniently and efficiently obtain the information of nearby friends, so with attached Nearly good friend is contacted.Therefore, the method for the prompting nearby friends provided by the present embodiment can meet use Family quickly finds the demand of nearby friends, lifts experience of the user to instant messaging.
Fourth embodiment
Fourth embodiment provides a kind of device of prompting nearby friends, for realizing in above-described embodiment The method of prompting nearby friends.Fig. 7 show the structured flowchart of the present embodiment device.As shown in fig. 7, Described device includes setup module 300, the first judge module 301, the first acquisition module 302, second Acquisition module 303, the second judge module 304 and reminding module 305.
Setup module 300, arranges interface to user for providing one, and wherein, the setting interface includes Correspond to the activate switch of nearby friends prompt facility, the options of distance range and correspond to described Allow by the activate switch of good friend's discovery feature.
First judge module 301, for judging whether the user opens nearby friends prompt facility.
For first judge module 301, first acquisition module 302, if judge that the user opens Nearby friends prompt facility, obtains the current location of the user.
First acquisition module 302 includes the first collection unit 312 and first acquisition unit 322.Its In, the second collection unit 312 is used for the GPS location data for collecting the user, second acquisition unit 322 current locations for being used for user according to the GPS location data acquisition of the user.
Second acquisition module 303, for obtaining the buddy list info of the user.
Second judge module 304, for determining whether the good friend of the user specifying in the user Within distance range.
For second judge module 304, reminding module 305, if judge that the good friend for having the user exists Within the scope of the distance to a declared goal of the user, information is sent to the user.
The other guide of the device of the provided prompting nearby friends of the present embodiment refers to first embodiment, Will not be described here.
As can be seen here, the device of the prompting nearby friends for being provided by the present embodiment, user need to only be opened Open nearby friends function, just can conveniently and efficiently obtain the information of nearby friends, so with attached Nearly good friend is contacted.Therefore, the device of the prompting nearby friends provided by the present embodiment can meet use Family quickly finds the demand of nearby friends, lifts experience of the user to instant messaging.
5th embodiment
5th embodiment provides a kind of device of prompting nearby friends, and the method is provided with fourth embodiment Device similar.Fig. 8 show the structured flowchart of the present embodiment device.As shown in figure 8, with the 4th Unlike embodiment:
Second judge module 304 is additionally operable to judge whether the good friend in the buddy list info opens successively Permission is opened by good friend's discovery feature.
Described device also includes the 3rd acquisition module 306, if the 3rd acquisition module 306 is for described Second judge module 304 judges that having good friend to open allows, by good friend's discovery feature, to obtain the good friend's Current location.
3rd acquisition module 306 includes the second collection unit 316 and second acquisition unit 326.Its In, the first collection unit 316 is used for the GPS location data for collecting the good friend, first acquisition unit 326 current locations for being used for good friend according to the GPS location data acquisition of the good friend.
Second judge module 304 is additionally operable to according to the current location of the good friend and working as the user Front position, judge the current location of the good friend whether the user the distance to a declared goal scope it Interior.
The other guide of the device of the provided prompting nearby friends of the present embodiment refers to second embodiment, Will not be described here.
As can be seen here, the device of the prompting nearby friends for being provided by the present embodiment, user need to only be opened Open nearby friends function, just can conveniently and efficiently obtain the information of nearby friends, so with attached Nearly good friend is contacted.Therefore, the device of the prompting nearby friends provided by the present embodiment can meet use Family quickly finds the demand of nearby friends, lifts experience of the user to instant messaging.
Sixth embodiment
Sixth embodiment provides a kind of device of prompting nearby friends, and the method is provided with fourth embodiment Device similar.Fig. 9 show the structured flowchart of the present embodiment device.As shown in figure 9, with the 4th Unlike embodiment:
First judge module 301 includes the first judging unit 311 and the second judging unit 321.
First judging unit 311, for judging whether that receiving the user is sent out by terminal device The information of the unlatching nearby friends prompt facility for sending.
Wherein, if receiving the unlatching nearby friends prompt facility that the user is sent by terminal device Information, then it represents that user opens nearby friends prompt facility immediately, and the first acquisition module 302 is used for The current location of the user is obtained in real time.
Second judging unit 321, if for not receiving what the user was sent by terminal device The information of nearby friends prompt facility is opened, is then read system and is arranged, arranged according to the system and judged Whether the user opens nearby friends prompt facility.
Wherein, if second judging unit 321 judges that the user opens nearby friends prompting work( Can, then first acquisition module 302 is used for the current location of user described in timing acquisition.
In other embodiments, described device also includes feedback module (not shown), sentences described first The judgement of disconnected unit 311 receives the unlatching nearby friends prompt facility that user is sent by terminal device After information, and the second judge module 304 judges the good friend for not having the user the user's Within the scope of distance to a declared goal, then the feedback module sends and nearby feed back to user without good friend.
The other guide of the device of the provided prompting nearby friends of the present embodiment refers to 3rd embodiment, Will not be described here.
As can be seen here, the device of the prompting nearby friends for being provided by the present embodiment, user need to only be opened Open nearby friends function, just can conveniently and efficiently obtain the information of nearby friends, so with attached Nearly good friend is contacted.Therefore, the device of the prompting nearby friends provided by the present embodiment can meet use Family quickly finds the demand of nearby friends, lifts experience of the user to instant messaging.
It should be noted that each embodiment in this specification is described by the way of going forward one by one, each What embodiment was stressed is all the difference with other embodiment, phase homophase between each embodiment As part mutually referring to.For device class embodiment, due to itself and embodiment of the method base This is similar, so description is fairly simple, related part is illustrated referring to the part of embodiment of the method.
It should be noted that herein, such as first and second or the like relational terms are only used By an entity or operation with another entity or operate make a distinction, and not necessarily require or Imply between these entities or operation, there is any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to including for nonexcludability, so that bag A series of process, method, article or the device for including key elements not only includes those key elements, but also wraps Include other key elements being not expressly set out, or also include for this process, method, article or The intrinsic key element of device.In the absence of more restrictions, limited by sentence "including a ..." Key element, it is not excluded that also exist in addition in the process of key element, method, article or device is included Identical element.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be with Completed by hardware, it is also possible to which the hardware for being instructed correlation by program is completed, and program can be stored In a kind of computer-readable recording medium, storage medium mentioned above can be read-only storage, Disk or CD etc..
More than, only it is presently preferred embodiments of the present invention, not the present invention is made any pro forma Limit, although the present invention is disclosed above with preferred embodiment, but is not limited to the present invention, Any those skilled in the art, in the range of without departing from technical solution of the present invention, when available The technology contents of the disclosure above are made a little change or are modified to the Equivalent embodiments of equivalent variations, as long as It is without departing from technical solution of the present invention content, above example is made according to the technical spirit of the present invention Any simple modification, equivalent variations and modification, still fall within the range of technical solution of the present invention.

Claims (14)

1. a kind of prompting nearby friends method, it is characterised in that methods described includes:
Judge whether user opens nearby friends prompt facility;
If judging, the user opens nearby friends prompt facility, obtains the current location of the user;
Obtain the buddy list info of the user;
Determine whether the good friend of the user within the scope of the distance to a declared goal of the user;And
If judging, the good friend for having the user, within the scope of the distance to a declared goal of the user, sends Information gives the user.
2. the method for prompting nearby friends according to claim 1, it is characterised in that described obtain The current location for taking the user includes:
Collect the GPS location data of the user;And
The current location of user according to the GPS location data acquisition of the user.
3. the method for prompting nearby friends according to claim 1, it is characterised in that described sentence The disconnected good friend for whether having the user includes within the scope of the distance to a declared goal of the user:
Judge whether the good friend in the buddy list info opens permission by good friend's discovery feature successively;
If judging to have good friend to open the current location for allowing to be obtained the good friend by good friend's discovery feature; And
According to the current location and the current location of the user of the good friend, judge the good friend's Whether current location is within the scope of the distance to a declared goal of the user.
4. the method for prompting nearby friends according to claim 3, it is characterised in that described obtain The current location for taking the good friend includes:
Collect the GPS location data of the good friend;And
The current location of good friend according to the GPS location data acquisition of the good friend.
5. the method for prompting nearby friends according to claim 1, it is characterised in that described sentence Whether the user of breaking opens nearby friends prompt facility includes:
Judge whether to receive the unlatching nearby friends prompt facility that the user is sent by terminal device Information;
Wherein, if receiving the unlatching nearby friends prompt facility that the user is sent by terminal device Information, then it represents that user opens nearby friends prompt facility immediately, and the acquisition user works as Anteposition is set to the current location for obtaining the user in real time.
6. the method for prompting nearby friends according to claim 5, it is characterised in that described sentence Whether the user of breaking opens nearby friends prompt facility also includes:
If not receiving the letter of the unlatching nearby friends prompt facility that the user is sent by terminal device Breath, then read system and arrange, arranged according to the system and judge whether the user opens nearby friends Prompt facility;
Wherein, if judging, the user opens nearby friends prompt facility, described obtains the use Current location of the current location at family for user described in timing acquisition.
7. according to claim 3 prompting nearby friends method, it is characterised in that the side Method also includes:
There is provided one and interface is set to the user, wherein, the setting interface is included near correspondingly described The activate switch of good friend's prompt facility, the options of distance range and the corresponding permission are sent out by good friend The activate switch of existing function.
8. a kind of prompting nearby friends device, it is characterised in that described device includes:
First judge module, for judging whether user opens nearby friends prompt facility;
First acquisition module, if it is good nearby to judge that the user opens for first judge module Friendly prompt facility, obtains the current location of the user;
Second acquisition module, for obtaining the buddy list info of the user;
Second judge module, for determine whether the good friend of the user the user specify away from Within the scope of;And
Reminding module, if judge the good friend for having the user in the use for second judge module Within the scope of the distance to a declared goal at family, information is sent to the user.
9. the device of prompting nearby friends according to claim 8, it is characterised in that described the One acquisition module includes:
First collects unit, for collecting the GPS location data of the user;And
First acquisition unit, working as user described in the GPS location data acquisition according to the user Front position.
10. according to claim 8 prompting nearby friends device, it is characterised in that described Second judge module is additionally operable to judge whether the good friend in the buddy list info opens permission quilt successively Good friend's discovery feature;
Described device also includes the 3rd acquisition module, if the 3rd acquisition module is sentenced for described second Disconnected module judges have good friend to open the current location for allowing to be obtained the good friend by good friend's discovery feature;
Second judge module is additionally operable to according to the current location of the good friend and working as the user Front position, judge the current location of the good friend whether the user the distance to a declared goal scope it Interior.
The device of 11. prompting nearby friends according to claim 10, it is characterised in that described 3rd acquisition module includes:
Second collects unit, for collecting the GPS location data of the good friend;And
Second acquisition unit, working as good friend described in the GPS location data acquisition according to the good friend Front position.
The device of 12. prompting nearby friends according to claim 8, it is characterised in that described First judge module includes:
First judging unit, for judging whether to receive the user by opening that terminal device sends Open the information of nearby friends prompt facility;
Wherein, if receiving the unlatching nearby friends prompt facility that the user is sent by terminal device Information, then it represents that user opens nearby friends prompt facility immediately, and first acquisition module is used for The current location of the user is obtained in real time.
The device of 13. prompting nearby friends according to claim 12, it is characterised in that described First judge module also includes:
Second judging unit, if attached for not receiving the unlatching that the user sent by terminal device The information of nearly good friend's prompt facility, then read system and arrange, arranged according to the system and judge the use Whether nearby friends prompt facility is opened in family;
Wherein, if judging, the user opens nearby friends prompt facility, and described first obtains mould Block is used for the current location of user described in timing acquisition.
The device of 14. prompting nearby friends according to claim 10, it is characterised in that described Device also includes:
Setup module, arranges interface to the user, wherein, the setting interface bag for providing one Include the correspondingly activate switch of nearby friends prompt facility, the options of distance range and corresponding institute Permission is stated by the activate switch of good friend's discovery feature.
CN201510567509.9A 2015-09-08 2015-09-08 Method and device for prompting nearby friends Active CN106503023B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510567509.9A CN106503023B (en) 2015-09-08 2015-09-08 Method and device for prompting nearby friends
PCT/CN2016/095230 WO2017041610A1 (en) 2015-09-08 2016-08-15 Method and apparatus for prompting nearby friend

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510567509.9A CN106503023B (en) 2015-09-08 2015-09-08 Method and device for prompting nearby friends

Publications (2)

Publication Number Publication Date
CN106503023A true CN106503023A (en) 2017-03-15
CN106503023B CN106503023B (en) 2021-03-26

Family

ID=58240601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510567509.9A Active CN106503023B (en) 2015-09-08 2015-09-08 Method and device for prompting nearby friends

Country Status (2)

Country Link
CN (1) CN106503023B (en)
WO (1) WO2017041610A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108596435A (en) * 2018-03-28 2018-09-28 深圳市奥拓体育文化发展有限公司 Stadiums rub field method, management system and storage medium
CN110427572A (en) * 2019-07-15 2019-11-08 奇酷互联网络科技(深圳)有限公司 Find good friend's method, mobile terminal and storage medium
CN110536236A (en) * 2019-08-30 2019-12-03 维沃移动通信有限公司 A kind of communication means, terminal device and the network equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682809A (en) * 2017-09-26 2018-02-09 上海展扬通信技术有限公司 A kind of computer-readable recording medium, mobile terminal and computer system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067654A (en) * 2008-06-19 2011-05-18 维里逊专利及许可公司 Location-aware instant message
CN102378106A (en) * 2011-11-10 2012-03-14 北京百纳威尔科技有限公司 Mobile terminal, friend prompt method thereof and mobile terminal server
CN102638770A (en) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 Social network realization method and system
CN102695121A (en) * 2011-03-25 2012-09-26 北京千橡网景科技发展有限公司 Method and system for pushing friend information for user in social network
CN103327443A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and linkman searching method
US20140221012A1 (en) * 2013-02-01 2014-08-07 Interman Corporation User similarity provision method
CN104052779A (en) * 2013-03-14 2014-09-17 腾讯科技(深圳)有限公司 Information recommendation method, system thereof and intelligent terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067654A (en) * 2008-06-19 2011-05-18 维里逊专利及许可公司 Location-aware instant message
CN102638770A (en) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 Social network realization method and system
CN102695121A (en) * 2011-03-25 2012-09-26 北京千橡网景科技发展有限公司 Method and system for pushing friend information for user in social network
CN102378106A (en) * 2011-11-10 2012-03-14 北京百纳威尔科技有限公司 Mobile terminal, friend prompt method thereof and mobile terminal server
CN103327443A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and linkman searching method
US20140221012A1 (en) * 2013-02-01 2014-08-07 Interman Corporation User similarity provision method
CN104052779A (en) * 2013-03-14 2014-09-17 腾讯科技(深圳)有限公司 Information recommendation method, system thereof and intelligent terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108596435A (en) * 2018-03-28 2018-09-28 深圳市奥拓体育文化发展有限公司 Stadiums rub field method, management system and storage medium
CN110427572A (en) * 2019-07-15 2019-11-08 奇酷互联网络科技(深圳)有限公司 Find good friend's method, mobile terminal and storage medium
CN110536236A (en) * 2019-08-30 2019-12-03 维沃移动通信有限公司 A kind of communication means, terminal device and the network equipment
CN110536236B (en) * 2019-08-30 2021-08-27 维沃移动通信有限公司 Communication method, terminal equipment and network equipment

Also Published As

Publication number Publication date
WO2017041610A1 (en) 2017-03-16
CN106503023B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
CN108476060B (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
CN105163366B (en) Wireless network connecting method and device
CN105100213B (en) Apparatus bound method and device
CN106714081B (en) Network connection method and intelligent device
CN104092723B (en) Document down loading method, Apparatus and system
CN105760127A (en) Screen transfer method, screen transfer device and mobile terminal
CN103563415A (en) Over-the-air device configuration
CN104333643B (en) Add the method for contact person, system and terminal
CN108702602A (en) Share method, electronic equipment and the system of image
CN104394600A (en) Method and device for transmitting files
EP3051772B1 (en) Method and apparatus for accessing network
CN106503023A (en) The method and device of prompting nearby friends
CN108255683B (en) Method for prompting message in terminal and terminal
CN106488413A (en) Notification message based reminding method and mobile terminal
CN105100141A (en) Multimedia content network sharing method, multimedia content network sharing device and multimedia content network sharing system
CN104168605A (en) Data transmission control method and apparatus
CN106331372A (en) Data transmission method and mobile terminal
CN106341365A (en) New account information deletion method and device
CN104113620A (en) Contact list updating method, updating device and user terminal
US11622319B2 (en) Electronic device for providing AP list and method for operating electronic device
KR102178481B1 (en) Method for connectivity information control and an electronic device thereof
CN105307226B (en) The selection method of signal source, apparatus and system
CN104869562A (en) Information transmission method, device and system
CN106713171A (en) Server and delay-queue-based current-limiting protection system and method
CN106331302A (en) Method and equipment for adding contact

Legal Events

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