WO2017041610A1 - 提示附近好友的方法及装置 - Google Patents

提示附近好友的方法及装置 Download PDF

Info

Publication number
WO2017041610A1
WO2017041610A1 PCT/CN2016/095230 CN2016095230W WO2017041610A1 WO 2017041610 A1 WO2017041610 A1 WO 2017041610A1 CN 2016095230 W CN2016095230 W CN 2016095230W WO 2017041610 A1 WO2017041610 A1 WO 2017041610A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
friend
nearby
prompting
current location
Prior art date
Application number
PCT/CN2016/095230
Other languages
English (en)
French (fr)
Inventor
赵田
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2017041610A1 publication Critical patent/WO2017041610A1/zh

Links

Images

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/00Information and communication technology [ICT] specially adapted for implementation of business processes of 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method and apparatus for prompting nearby friends.
  • the embodiment of the present invention provides a method and a device for prompting nearby friends, which can meet the needs of the user to quickly discover nearby friends, thereby improving the performance of instant communication.
  • the method for prompting a nearby friend includes: determining whether the user opens a nearby friend prompt function; and if the user is determined to have the nearby friend prompt function, Obtaining a current location of the user; obtaining friend list information of the user; determining whether a friend of the user is within a specified distance range of the user; and determining that a friend of the user is in the user Within the specified distance range, a prompt message is sent to the user.
  • the device for prompting nearby friends includes: a first determining module, configured to determine whether the user opens a nearby friend prompting function; and the first obtaining module is configured to: if the first determining module determines that the user is turned on The nearby friend prompting function is used to obtain the current location of the user; the second obtaining module is configured to obtain the friend list information of the user; and the second determining module is configured to determine whether the friend of the user is in the user's And a prompting module, configured to send a prompt message to the user if the second determining module determines that the friend of the user is within the specified distance range of the user.
  • the user only needs to turn on the nearby friends function, and can conveniently and quickly obtain the prompt information of nearby friends, thereby contacting the nearby friends. Therefore, the method and device for prompting nearby friends provided by the embodiments of the present application can satisfy the requirement of the user to quickly discover nearby friends, thereby improving the performance of instant communication.
  • FIG. 1 is a schematic diagram of a network and a method for prompting nearby friends according to an embodiment of the present application.
  • FIG. 2 is a structural block diagram of the terminal device in FIG. 1 according to an embodiment of the present application.
  • FIG. 3 is a structural block diagram of the server in FIG. 1 according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for prompting nearby friends according to an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a method for prompting nearby friends according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method for prompting nearby friends according to an embodiment of the present application.
  • FIG. 7 is a structural block diagram of an apparatus for prompting nearby friends according to an embodiment of the present application.
  • FIG. 8 is a structural block diagram of an apparatus for prompting nearby friends according to an embodiment of the present application.
  • FIG. 9 is a structural block diagram of an apparatus for prompting nearby friends according to an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a network application method and device application for prompting nearby friends according to an embodiment of the present application.
  • a plurality of terminal devices 100 communicate with the server 200 via the network 201.
  • the terminal device 100 can be various electronic devices such as a personal computer, a notebook computer, a tablet computer, a mobile phone, etc., and the terminal device 100 can be installed with an instant messaging client.
  • the server 200 is a background server for instant communication, and can provide various services for the client.
  • Network 201 can be, but is not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the plurality of terminal devices 100 include a first terminal device 101 and a second terminal device 103 respectively belonging to two users.
  • FIG. 2 is a structural block diagram of a terminal device 100 according to an embodiment of the present application.
  • the terminal device 100 includes a memory 102, a memory controller 104, one or more (only one shown) processor 106, a peripheral interface 108, a radio frequency module 110, a positioning module 112, and a camera module 114.
  • the structure of the terminal device 100 shown in FIG. 2 is merely illustrative, and the terminal device 100 may further include more or less components than those shown in FIG. 2, or have different Configuration.
  • the components shown in Figure 2 can be implemented in hardware, software, or a combination thereof.
  • the memory 102 can be used to store software programs and modules, such as the method and device corresponding to the prompting nearby friends in the embodiment of the present application, and the processor 106 runs the software program and the module stored in the memory 102, thereby Perform various functional applications and data processing.
  • Memory 102 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 102 can further include memory remotely located relative to processor 106, which can be connected to terminal device 100 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 102 by the processor 106 and other possible components can be performed under the control of the memory controller 104.
  • Peripheral interface 108 couples various input/input devices to processor 106 and memory 102.
  • the processor 106 runs various software, instructions within the memory 102 to perform various functions of the terminal device 100 and perform data processing.
  • peripheral interface 108, processor 106, and memory controller 104 may be implemented in a single chip, and in other examples, separately from separate chips.
  • the radio frequency module 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electric signals, thereby communicating with a communication network or other devices.
  • the radio frequency module 110 can include various existing circuit components for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like.
  • the radio frequency module 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless network can use various communication Letter standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division (wideband code division) Multiple access, W-CDMA), Code division access (CDMA), time division multiple access (TDMA), Bluetooth, Wireless Fidelity (WiFi) (eg US) Institute of Electrical and Electronics Engineers Standards IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), Voice over internet protocol (VoIP), Worldwide Interoperability for Microwave Access (Wi-) Max), other protocols for mail, instant messaging, and short messages, as well as any other suitable communication protocol, may even include protocols that are not currently being developed.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Data GSM Environment
  • W-CDMA Wideband Code Division (wideband code division) Multiple access
  • CDMA Code division access
  • TDMA time division multiple access
  • Bluetooth Wireless Fidelity
  • WiFi Wireless Fidelity
  • the positioning module 112 is configured to acquire the current location of the terminal device 100.
  • Examples of positioning module 112 include, but are not limited to, Global Positioning System (GPS), wireless local area network or mobile communication network based positioning technology.
  • GPS Global Positioning System
  • wireless local area network wireless local area network
  • mobile communication network based positioning technology wireless local area network
  • the camera module 114 is used to take a photo or video.
  • the photographed or video taken may be stored in the memory 102 and transmitted through the radio frequency module 110.
  • the audio module 116 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry.
  • the audio circuit receives sound data from the peripheral interface 108, converts the sound data into electrical information, and transmits the electrical information to the speaker.
  • the speaker converts the electrical information into sound waves that the human ear can hear.
  • the audio circuit also receives electrical information from the microphone, converts the electrical signal to sound data, and transmits the sound data to peripheral interface 108 for further processing. Audio data may be obtained from memory 102 or through radio frequency module 110.
  • the audio data can also be stored in the memory 102 or transmitted through the radio frequency module 110.
  • the audio module 116 can also include a headphone jack for providing an audio interface to the headset or other device.
  • Display screen 118 provides an output interface between terminal device 100 and the user.
  • display screen 118 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some output results correspond to some user interface objects.
  • the display screen 118 may further provide an input interface between the terminal device 100 and the user for receiving input of the user, such as a user's click, slide, and the like, so that the user interface object responds to the input of the user. .
  • the technique of detecting user input can be based on resistive, capacitive or any other possible touch detection technique.
  • Specific examples of display screen 118 include, but are not limited to, liquid crystal displays or luminescent polymer displays.
  • the button module 120 also provides an interface for the user to input to the terminal device 100, and the user can cause the terminal device 100 to perform different functions by pressing different buttons.
  • FIG. 3 is a structural block diagram of a server 200 according to an embodiment of the present application.
  • the server 200 includes a memory 201, a processor 202, and a network module 203.
  • the structure of the server 200 shown in FIG. 3 is merely illustrative, and the server 200 may further include more or less components than those shown in FIG. 3, or have a different configuration from that shown in FIG.
  • the components shown in Figure 3 can be implemented in hardware, software, or a combination thereof.
  • the server 200 in the embodiment of the present application may further include a plurality of servers with different functions.
  • the memory 201 can be used to store software programs and modules, such as the method and device corresponding to the prompting nearby friends in the embodiment of the present application, and the processor 202 executes the software programs and modules stored in the memory 201, thereby executing each The function application and the data processing, that is, the method and device for prompting nearby friends in the embodiment of the present application.
  • Memory 201 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 201 can further include memory remotely located relative to processor 202, which can be connected to server 200 over a network.
  • the above software program and module may further include: a service module 221 and an operating system 222.
  • operating system 222 For example, it can be LINUX, UNIX, WINDOWS, which can include various software components and/or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and can interact with various hardware or software components. Communication to provide an operating environment for other software components.
  • the service module 221 runs on the basis of the operating system 222, and listens for requests from the network through the network service of the operating system 222, completes corresponding data processing according to the request, and returns the processing result to the client. That is to say, the service module 221 is used to provide network services to the client.
  • the network module 203 is configured to receive and transmit network signals.
  • the above network signal may include a wireless signal or a wired signal.
  • the network signal is a wired network signal.
  • the network module 203 may include components such as a processor, a random access memory, a converter, a crystal oscillator, and the like.
  • FIG. 4 is a schematic flowchart of a method for prompting nearby friends according to an embodiment of the present application. Referring to FIG. 4, the method of this embodiment includes the following steps:
  • Step S11 determining whether the user turns on the nearby friend prompt function
  • step S12 it is determined whether the user turns on the nearby friend prompt function. If it is turned on, step S12 is performed; if not, the process ends.
  • the user may be provided with a setting interface through an instant messaging client installed in the terminal device 101, the setting interface including a start switch of a nearby friend prompt function, a selection of a distance range, and a function of allowing a friend to be discovered. Start switch, etc.
  • the user can turn on or off the nearby friend prompt function through the start switch of the nearby friend prompt function.
  • the user opens the nearby friend prompt function, when the friend in the user's friend list is within the distance set by the user, the user may receive the prompt information of the nearby friend.
  • User can pass The selection of the distance range or the custom distance range, wherein the distance range refers to a distance range between the location where the friend is located and the location where the user is located.
  • the user can enable or disable the friend discovery function by allowing the activation switch of the friend discovery function to be turned on or off.
  • the first user is a friend of the second user whose account information is in the second user's buddy list.
  • the geographic location and account information of the first user may be acquired by the second user using the nearby friend prompt function.
  • the setting interface when receiving the information that the user opens the nearby friend prompt function in the setting interface, may further provide a selection of the distance range, such as 500 meters, 1000 meters, and customization options to the user. The user selects or enters the range of distances he wants.
  • the setting interface may not provide a selection of the distance range, but may directly adopt a preset default distance range, and the default distance range may be set to 500 meters, 1000 meters, 1500 meters or the like. The specific value of the range of distance is not limited.
  • Step S12 acquiring a current location of the user
  • the current location of the user is obtained.
  • the current location of the user holding the terminal device 101 can be obtained through an LBS (Location Based Service).
  • the step S12 includes: collecting GPS positioning data of the user; and acquiring a current location of the user according to the GPS positioning data of the user.
  • Step S13 acquiring the buddy list information of the user
  • the user's buddy list may be, for example, an address book in WeChat, a contact list in QQ, or the like, or may be a user-defined buddy list.
  • step S13 is not necessarily after step S12, and may be before step S12.
  • Step S14 determining whether there is a friend of the user within a specified distance range of the user within;
  • step S15 After the buddy list information of the user is obtained, the current location of the buddy is obtained, and according to the current location of the buddy and the current location of the user, it is further determined whether the buddy of the user is within the specified distance range of the user. If yes, step S15 is performed; if not, the flow ends.
  • the specified distance range refers to a distance range set by a user through a setting interface provided by an instant messaging client installed in the terminal device 103 or a default distance range of the system.
  • step S15 a prompt message is sent to the user.
  • the prompt information is sent to the user.
  • the prompt information may include the friend's account information, the distance of the friend from the user, and the like. If there are multiple friends within the specified distance range of the user, the prompt information may include all the account information of the friends within the specified distance range and the distance from the user respectively.
  • the user only needs to turn on the nearby friends function, and can conveniently and quickly obtain the prompt information of nearby friends, thereby contacting the nearby friends. Therefore, the method for prompting nearby friends provided by the embodiment can satisfy the requirement that the user quickly finds nearby friends and improve the performance of instant communication.
  • FIG. 5 is a schematic flowchart diagram of a method for prompting nearby friends according to an embodiment of the present application. Referring to FIG. 5, the method of this embodiment includes the following steps:
  • Step S11 determining whether the user turns on the nearby friend prompt function
  • step S12 it is determined whether the user turns on the nearby friend prompt function. If it is turned on, step S12 is performed; if not, the process ends.
  • Step S12 acquiring a current location of the user
  • Step S13 acquiring the buddy list information of the user
  • step S14 it is determined whether there is a friend of the user within a specified distance range of the user. Step S14 includes the following sub-steps:
  • Sub-step S141 sequentially determining whether the friend in the buddy list information is enabled to be allowed to be discovered by the buddy function
  • step S142 it may be determined in a certain order whether the friend in the friend list information of the user is enabled to be enabled by the friend; if it is determined that the friend is allowed to be discovered by the friend, step S142 is performed; if it is determined that no friend is allowed to open When the function is discovered by a friend, the process ends.
  • the buddy can open the allow buddy discovery function through a setting interface provided by the instant messaging client installed in the terminal device 103.
  • Sub-step S142 obtaining the current location of the friend
  • the current location of the friend is obtained.
  • the current location of the friend may be obtained through the LBS.
  • the sub-step S142 includes: collecting GPS positioning data of the friend; and acquiring the current location of the friend according to the GPS positioning data of the friend.
  • Sub-step S143 determining, according to the current location of the friend and the current location of the user, whether the current location of the friend is within the specified distance range of the user;
  • the specified distance range refers to a distance range set by a user through a setting interface provided by an instant messaging client installed in the terminal device 103 or a default distance range of the system.
  • step S15 is performed; if it is determined that the current location of the friend is not within the specified distance range of the user Inside, the process ends.
  • step S15 a prompt message is sent to the user.
  • the user only needs to turn on the nearby friends function, and can conveniently and quickly obtain the prompt information of nearby friends, thereby contacting the nearby friends. Therefore, the method for prompting nearby friends provided by the embodiment can satisfy the requirement that the user quickly finds nearby friends and improve the performance of instant communication.
  • FIG. 6 is a schematic flowchart diagram of a method for prompting nearby friends according to an embodiment of the present application. Referring to FIG. 6, the method of this embodiment includes the following steps:
  • step S11 it is determined whether the user turns on the nearby friend prompt function. Step S11 includes the following substeps:
  • Sub-step S111 determining whether the information of the nearby friend prompting function sent by the user through the terminal device is received;
  • sub-step S112 if the information about the nearby friend prompting function sent by the user through the terminal device is received, it indicates that the user is or immediately turns on the nearby friend prompting function, and the sub-step S121 is performed; if the user is not received, the user sends the information through the terminal device. To open the information of the nearby friend prompt function, sub-step S112 is performed.
  • Sub-step S112 reading system settings, determining, according to the system setting, whether the user turns on a nearby friend prompt function;
  • the system setting refers to setting information saved by the user after setting by the setting interface provided by the instant messaging client installed in the terminal device 101 to the user.
  • the system setting includes information of activating switch for the user to turn on or off the nearby friend prompting function, a range of distances set by the user, and information for the user to enable or disable the activation switch that allows the friend to find the function.
  • the sub-step 122 is performed; if it is determined that the user does not open the nearby friend prompt function, the process ends.
  • Step S12 the current location of the user is obtained.
  • Step S12 includes the following sub-steps:
  • Sub-step S121 obtaining the current location of the user in real time
  • the current location of the user upon receiving the information of the nearby friend prompting function sent by the user through the terminal device, the current location of the user is obtained in real time.
  • acquiring the current location of the user in real time includes: collecting GPS positioning data of the user in real time, and acquiring a current location of the user according to the GPS positioning data of the user.
  • Sub-step S122 periodically acquiring the current location of the user
  • periodically acquiring the current location of the user includes: periodically collecting GPS positioning data of the user, and acquiring a current location of the user according to the GPS positioning data of the user.
  • Step S13 acquiring the buddy list information of the user
  • Step S14 determining whether there is a friend of the user within a specified distance range of the user
  • step S15 after receiving the information about the nearby friend prompting function sent by the user through the terminal device, if it is determined that the friend of the user is not within the specified distance range of the user, the feedback of the nearby no friend is sent. Information to the user.
  • step S15 a prompt message is sent to the user.
  • the user only needs to turn on the nearby friends function, and can conveniently and quickly obtain the prompt information of nearby friends, thereby contacting the nearby friends. Therefore, the method for prompting nearby friends provided by the embodiment can satisfy the requirement that the user quickly finds nearby friends and improve the performance of instant communication.
  • FIG. 7 is a structural block diagram of an apparatus for prompting nearby friends according to an embodiment of the present application.
  • the device includes a setting module 300, a first determining module 301, a first obtaining module 302, a second obtaining module 303, a second determining module 304, and a prompting module 305.
  • the setting module 300 is configured to provide a setting interface to the user, wherein the setting interface includes a start switch of the nearby friend prompt function, a selection of a distance range, and a start switch that allows the friend to find the function.
  • the first determining module 301 is configured to determine whether the user opens a nearby friend prompting function.
  • the first obtaining module 302 is configured to obtain the current location of the user if the first determining module 301 determines that the user has turned on the nearby friend prompting function.
  • the first obtaining module 302 includes a first collecting unit 312 and a first acquiring unit 322.
  • the first collecting unit 312 is configured to collect the GPS positioning data of the user
  • the first acquiring unit 322 is configured to acquire the current location of the user according to the GPS positioning data of the user.
  • the second obtaining module 303 is configured to obtain the buddy list information of the user.
  • the second determining module 304 is configured to determine whether the friend of the user is within a specified distance range of the user.
  • the prompting module 305 is configured to send prompt information to the user if the second determining module 304 determines that the friend of the user is within the specified distance range of the user.
  • the user only needs to turn on the nearby friends function, and the user can conveniently and quickly obtain the prompt information of the nearby friends, thereby contacting the nearby friends. Therefore, the device for prompting nearby friends provided by the embodiment can satisfy the requirement that the user quickly finds nearby friends and improve the performance of the instant communication.
  • FIG. 8 is a structural block diagram of an apparatus for prompting nearby friends according to an embodiment of the present application.
  • the apparatus provided by the embodiment shown in FIG. 8 is different from the apparatus provided by the embodiment shown in FIG. 7 in that:
  • the second determining module 304 is further configured to sequentially determine whether the friend in the buddy list information is enabled to enable the buddy discovery function.
  • the device further includes a third obtaining module 306, configured to acquire the current location of the friend if the second determining module 304 determines that a friend is enabled to be enabled by the friend discovery function.
  • the third obtaining module 306 includes a second collecting unit 316 and a second obtaining unit 326.
  • the second collecting unit 316 is configured to collect the GPS positioning data of the friend
  • the second acquiring unit 326 is configured to acquire the current location of the friend according to the GPS positioning data of the friend.
  • the second determining module 304 is further configured to determine, according to the current location of the friend and the current location of the user, whether the current location of the friend is within the specified distance range of the user.
  • the function of the module of the device for prompting nearby friends provided by this embodiment may be implemented by referring to the steps of the method embodiment shown in FIG. 5, and details are not described herein again.
  • the user only needs to turn on the nearby friends function, and the user can quickly and easily obtain the prompt information of nearby friends, and then the nearby friends. Contact. Therefore, the device for prompting nearby friends provided by the embodiment can satisfy the requirement that the user quickly finds nearby friends and improve the performance of the instant communication.
  • FIG. 9 is a structural block diagram of an apparatus for prompting nearby friends according to an embodiment of the present application.
  • the apparatus provided in the embodiment shown in FIG. 9 is different from the apparatus provided in the embodiment shown in FIG. 7 in that:
  • the first determining module 301 includes a first determining unit 311 and a second determining unit 321.
  • the first determining unit 311 is configured to determine whether the information about the nearby friend prompting function sent by the user through the terminal device is received.
  • the user If the information about the nearby friend prompting function sent by the user through the terminal device is received, the user immediately turns on the nearby friend prompting function, and the first obtaining module 302 is configured to obtain the current location of the user in real time.
  • the second determining unit 321 is configured to: if the information about the nearby friend prompting function sent by the user through the terminal device is not received, read the system setting, and determine, according to the system setting, whether the user opens a nearby friend prompt Features.
  • the first obtaining module 302 is configured to periodically acquire the current location of the user, if the second determining unit 321 determines that the user has turned on the nearby friend prompting function.
  • the apparatus further includes a feedback module (not shown), after the first determining unit 311 determines that the information about the nearby friend prompting function sent by the user through the terminal device is received, and the second The determining module 304 determines that no friend of the user is within the specified distance range of the user, and the feedback module sends feedback information of no nearby friends to the user.
  • a feedback module not shown
  • the module function of the device for prompting nearby friends provided in this embodiment can be implemented by referring to the steps of the method embodiment shown in FIG. 6, and details are not described herein again.
  • the device for prompting nearby friends provided by this embodiment, the user only needs to open nearby. Friends function, you can quickly and easily get tips from nearby friends, and then contact nearby friends. Therefore, the device for prompting nearby friends provided by the embodiment can satisfy the requirement that the user quickly finds nearby friends and improve the performance of the instant communication.
  • the terminal device includes a memory 102 and a processor 106.
  • the memory 102 is configured to store machine readable instructions, including a first determination instruction, a first acquisition instruction, a second acquisition instruction, a second determination instruction, and a prompt instruction executable by the processor 106.
  • machine readable instructions further include a third fetch instruction executable by the processor 106.
  • the processor 106 is configured to read and execute the first determining instruction, the first obtaining instruction, the second obtaining instruction, the second determining instruction, and the prompting instruction stored in the memory 102, so as to implement the prompt shown in FIG. 7.
  • the processor 106 is further configured to read and execute a third acquisition instruction stored in the memory 102 to implement the functions of each module in the device that prompts nearby friends as shown in FIG. 8.
  • the storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请实施例提供一种提示附近好友的方法,所述方法包括:判断用户是否开启附近好友提示功能;若判断所述用户开启了附近好友提示功能,获取所述用户的当前位置;获取所述用户的好友列表信息;判断是否有所述用户的好友在所述用户的指定距离范围之内;以及若判断有所述用户的好友在所述用户的所述指定距离范围之内,发送提示信息给所述用户。本申请实施例还提供一种提示附近好友的装置。上述提示附近好友的方法及装置可满足用户快速发现附近好友的需求,提升即时通信的性能。

Description

提示附近好友的方法及装置
本申请要求于2015年9月8日提交中国专利局、申请号为201510567509.9、发明名称为“提示附近好友的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种提示附近好友的方法及装置。
发明背景
随着通信技术和互联网技术的飞速发展,各种终端设备诸如个人电脑、笔记本电脑、平板电脑、手机等成为了获取信息和通讯的重要工具。比如,用户在其终端设备中安装即时通信软件(比如QQ、微信等)之后,便可通过即时通信软件添加好友,进而与好友进行通讯。在特定情形下,比如用户在外吃饭,发现忘带钱包,则用户可能希望联系在其附近的好友前来相助。然而,如果用户不对好友进行询问或者采用即时通信软件的特定功能,比如微信的“附近的人”功能进行查看,则难以得知是否有好友在附近。因此,快速获取附近好友的信息是亟待解决的问题。
发明内容
本申请实施例提供一种提示附近好友的方法及装置,可满足用户快速发现附近好友的需求,从而提升即时通信的性能。
本申请实施例提供的一种提示附近好友的方法包括:判断用户是否开启附近好友提示功能;若判断所述用户开启了附近好友提示功能,获 取所述用户的当前位置;获取所述用户的好友列表信息;判断是否有所述用户的好友在所述用户的指定距离范围之内;以及若判断有所述用户的好友在所述用户的所述指定距离范围之内,发送提示信息给所述用户。
本申请实施例提供的一种提示附近好友的装置包括:第一判断模块,用于判断用户是否开启附近好友提示功能;第一获取模块,用于若所述第一判断模块判断所述用户开启了附近好友提示功能,获取所述用户的当前位置;第二获取模块,用于获取所述用户的好友列表信息;第二判断模块,用于判断是否有所述用户的好友在所述用户的指定距离范围之内;以及提示模块,用于若所述第二判断模块判断有所述用户的好友在所述用户的所述指定距离范围之内,发送提示信息给所述用户。
通过本申请实施例提供的提示附近好友的方法及装置,用户只需开启附近好友功能,便可以方便快捷地获取附近好友的提示信息,进而与附近好友进行联系。因此,本申请实施例所提供的提示附近好友的方法及装置可满足用户快速发现附近好友的需求,从而提升即时通信的性能。
为让本申请的上述和其他特征和优点能更明显易懂,下文特举实施例,并配合所附图式,作详细说明如下。
附图简要说明
图1为本申请实施例提供的提示附近好友的方法及装置应用的网络示意图。
图2为本申请实施例提供的图1中的终端设备的结构框图。
图3为本申请实施例提供的图1中的服务器的结构框图。
图4为本申请实施例提供的提示附近好友的方法的流程示意图。
图5为本申请实施例提供的提示附近好友的方法的流程示意图。
图6为本申请实施例提供的提示附近好友的方法的流程示意图。
图7为本申请实施例提供的提示附近好友的装置的结构框图。
图8为本申请实施例提供的提示附近好友的装置的结构框图。
图9为本申请实施例提供的提示附近好友的装置的结构框图。
实施本发明的方式
为更进一步阐述本申请所采取的技术手段及功效,以下结合附图及较佳实施例,对依据本申请的具体实施方式、结构、特征及其功效,详细说明如后。
请参考图1,图1为本申请实施例提供的提示附近好友的方法及装置应用的网络示意图。如图1所示,多个终端设备100与服务器200通过网络201进行通讯。终端设备100可为各种电子装置,如个人电脑、笔记本电脑、平板电脑、手机等,终端设备100可安装即时通信客户端。所述服务器200为即时通信的后台服务器,可为客户端提供各种服务。网络201可为但不限于互联网、企业内部网、局域网、移动通信网及其组合。在图1所示的实例中,该多个终端设备100包括分别属于两个用户的第一终端设备101与第二终端设备103。
请参考图2,图2为本申请实施例提供的终端设备100的结构框图。如图2所示,终端设备100包括存储器102、存储控制器104,一个或多个(图中仅示出一个)处理器106、外设接口108、射频模块110、定位模块112、摄像模块114、音频模块116、显示屏幕118以及按键模块120。这些组件通过一条或多条通讯总线/信号线122相互通讯。
可以理解,图2所示的终端设备100的结构仅为示意,终端设备100还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同 的配置。图2中所示的各组件可以采用硬件、软件或其组合实现。
其中,存储器102可用于存储软件程序以及模块,如本申请实施例中的提示附近好友的方法及装置对应的程序指令/模块,处理器106通过运行存储在存储器102内的软件程序以及模块,从而执行各种功能应用以及数据处理。
存储器102可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器102可进一步包括相对于处理器106远程设置的存储器,这些远程存储器可以通过网络连接至终端设备100。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。处理器106以及其他可能的组件对存储器102的访问可在存储控制器104的控制下进行。
外设接口108将各种输入/输入装置耦合至处理器106以及存储器102。处理器106运行存储器102内的各种软件、指令以执行终端设备100的各种功能以及进行数据处理。
在一些实施例中,外设接口108,处理器106以及存储控制器104可以在单个芯片中实现,在其他一些实例中,也可以分别由独立的芯片实现。
射频模块110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。射频模块110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。射频模块110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通 信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced Data GSM Environment,EDGE)、宽带码分多址技术(wideband code division multiple access,W-CDMA)、码分多址技术(Code division access,CDMA)、时分多址技术(time division multiple access,TDMA)、蓝牙、无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE 802.11a、IEEE 802.11b、IEEE802.11g和/或IEEE 802.11n)、网络电话(Voice over internet protocol,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。
定位模块112用于获取终端设备100的当前位置。定位模块112的实例包括但不限于全球卫星定位系统(GPS)、基于无线局域网或者移动通信网的定位技术。
摄像模块114用于拍摄照片或者视频。拍摄的照片或者视频可以存储至存储器102内,并可通过射频模块110发送。
音频模块116向用户提供音频接口,其可包括一个或多个麦克风、一个或者多个扬声器以及音频电路。音频电路从外设接口108处接收声音数据,将声音数据转换为电信息,将电信息传输至扬声器。扬声器将电信息转换为人耳能听到的声波。音频电路还从麦克风处接收电信息,将电信号转换为声音数据,并将声音数据传输至外设接口108中以进行进一步的处理。音频数据可以从存储器102处或者通过射频模块110获取。此外,音频数据也可以存储至存储器102中或者通过射频模块110进行发送。在一些实例中,音频模块116还可包括一个耳机播孔,用于向耳机或者其他设备提供音频接口。
显示屏幕118在终端设备100与用户之间提供一个输出界面。具体地,显示屏幕118向用户显示视频输出,这些视频输出的内容可包括文字、图形、视频、及其任意组合。一些输出结果是对应于一些用户界面对象。进一步地,显示屏幕118还可在终端设备100与用户之间提供一个输入界面,用于接收用户的输入,例如用户的点击、滑动等手势操作,以便用户界面对象对这些用户的输入做出响应。检测用户输入的技术可以是基于电阻式、电容式或者其他任意可能的触控检测技术。显示屏幕118的具体实例包括但并不限于液晶显示器或发光聚合物显示器。
按键模块120同样提供用户向终端设备100进行输入的接口,用户可以通过按下不同的按键以使终端设备100执行不同的功能。
图3为本申请实施例提供的服务器200的结构框图。如图3所示,服务器200包括:存储器201、处理器202以及网络模块203。
可以理解,图3所示的服务器200的结构仅为示意,服务器200还可包括比图3中所示更多或者更少的组件,或者具有与图3所示不同的配置。图3中所示的各组件可以采用硬件、软件或其组合实现。另外,本申请实施例中的服务器200还可以包括多个不同功能的服务器。
存储器201可用于存储软件程序以及模块,如本申请实施例中的提示附近好友的方法及装置对应的程序指令/模块,处理器202通过运行存储在存储器201内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现本申请实施例中的提示附近好友的方法及装置。存储器201可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器201可进一步包括相对于处理器202远程设置的存储器,这些远程存储器可以通过网络连接至服务器200。进一步地,上述软件程序以及模块还可包括:服务模块221以及操作系统222。其中操作系统222, 例如可为LINUX、UNIX、WINDOWS,其可包括各种用于管理系统任务(例如内存管理、存储设备控制、电源管理等)的软件组件和/或驱动,并可与各种硬件或软件组件相互通讯,从而提供其他软件组件的运行环境。服务模块221运行在操作系统222的基础上,并通过操作系统222的网络服务监听来自网络的请求,根据请求完成相应的数据处理,并返回处理结果给客户端。也就是说,服务模块221用于向客户端提供网络服务。
网络模块203用于接收以及发送网络信号。上述网络信号可包括无线信号或者有线信号。在一个实例中,上述网络信号为有线网络信号。此时,网络模块203可包括处理器、随机存储器、转换器、晶体振荡器等元件。
以下结合具体的实施例说明本申请提供的提示附近好友的方法及装置。
本申请实施例提供一种提示附近好友的方法,该方法适用于图1所示的网络。图4为本申请实施例提供的提示附近好友的方法的流程示意图。请参考图4,本实施例的方法包括以下步骤:
步骤S11,判断用户是否开启附近好友提示功能;
在本步骤中,判断用户是否开启附近好友提示功能,若开启,则执行步骤S12;若未开启,则流程结束。
在一实施例中,可通过安装在终端设备101中的即时通信客户端向用户提供一设置界面,该设置界面包括附近好友提示功能的启动开关、距离范围的选择项以及允许被好友发现功能的启动开关等。用户可通过该附近好友提示功能的启动开关开启或者关闭附近好友提示功能。当用户开启该附近好友提示功能时,则当用户的好友列表中的好友位于用户设置的距离范围内时,用户可收到附近有好友的提示信息。用户可通过 该距离范围的选择项选择或者自定义距离范围,其中,该距离范围是指好友所在的位置与用户自己所在的位置的距离范围。用户可通过允许被好友发现功能的启动开关开启或者关闭允许被好友发现功能。在一实施例中,假设第一用户作为第二用户的好友其帐号信息在第二用户的好友列表中。当第一用户开启该允许被好友发现功能且位于第二用户设置的距离范围内时,第一用户的地理位置及帐号信息可被使用附近好友提示功能的第二用户获取。
在一实施例中,当接收到用户在设置界面中开启附近好友提示功能的信息时,设置界面可进一步提供距离范围的选择项,如500米、1000米以及自定义等选择项给用户,方便用户选择或者输入其想要的距离范围。在另一实施例中,设置界面也可不提供距离范围的选择项,而直接采用预先设置的默认距离范围,该默认距离范围可设为500米、1000米、1500米或其他,本申请实施例并不限定距离范围的具体值。
步骤S12,获取所述用户的当前位置;
在本步骤中,若判断用户开启了附近好友提示功能,则获取该用户的当前位置。在一实例中,可通过LBS(Location Based Service,基于地理位置服务)获取持有终端设备101的用户的当前位置。
在本实施例中,该步骤S12包括:搜集所述用户的GPS定位数据;以及根据所述用户的GPS定位数据获取所述用户的当前位置。
步骤S13,获取所述用户的好友列表信息;
在本步骤中,用户的好友列表可以是如微信中的通讯录、QQ中的联系人列表等,还可以是用户自定义的好友列表。
可以理解的是,该步骤S13不一定在步骤S12之后,也可以在步骤S12之前。
步骤S14,判断是否有所述用户的好友在所述用户的指定距离范围 之内;
在本步骤中,当获取到用户的好友列表信息之后,获取好友的当前位置,根据好友的当前位置以及用户的当前位置,进一步判断是否有该用户的好友在该用户的指定距离范围之内,若有,则执行步骤S15;若无,则流程结束。
在一实施例中,该指定距离范围是指用户通过安装在终端设备103中的即时通信客户端提供的设置界面设定的距离范围或者系统的默认距离范围。
步骤S15,发送提示信息给所述用户。
在本步骤中,若判断有所述用户的好友在所述用户的所述指定距离范围之内,发送提示信息给所述用户。该提示信息可包括好友的帐号信息、好友与该用户的距离等。若有多个好友均在该用户的指定距离范围之内,则该提示信息可包括所有在指定距离范围之内的好友的帐号信息及分别与该用户的距离。
通过本实施例所提供的提示附近好友的方法,用户只需开启附近好友功能,便可以方便快捷地获取附近好友的提示信息,进而与附近好友进行联系。因此,本实施例所提供的提示附近好友的方法可满足用户快速发现附近好友的需求,提升即时通信的性能。
本申请实施例还提供一种提示附近好友的方法,该方法与图4所示的实施例提供的方法相似。图5所示为本申请实施例提供的提示附近好友的方法的流程示意图。请参考图5,本实施例的方法包括以下步骤:
步骤S11,判断用户是否开启附近好友提示功能;
在本步骤中,判断用户是否开启附近好友提示功能,若开启,则执行步骤S12;若未开启,则流程结束。
步骤S12,获取所述用户的当前位置;
步骤S13,获取所述用户的好友列表信息;
步骤S14,判断是否有所述用户的好友在所述用户的指定距离范围之内。步骤S14包括以下子步骤:
子步骤S141,依次判断所述好友列表信息中的好友是否开启允许被好友发现功能;
在本子步骤中,可按一定次序依次判断用户的好友列表信息中的好友是否开启允许被好友发现功能;若判断有好友开启允许被好友发现功能,则执行子步骤S142;若判断没有好友开启允许被好友发现功能,则流程结束。
在一实施例中,若该用户的好友列表信息中的一好友使用终端设备103,则该好友可通过安装在终端设备103中的即时通信客户端提供的设置界面开启允许被好友发现功能。
子步骤S142,获取好友的当前位置;
在本子步骤中,若判断有好友开启允许被好友发现功能,获取该好友的当前位置。在一实施例中,可通过LBS获取该好友的当前位置。
在本实施例中,该子步骤S142包括:搜集该好友的GPS定位数据;以及根据该好友的GPS定位数据获取该好友的当前位置。
子步骤S143,根据所述好友的当前位置以及所述用户的当前位置,判断所述好友的当前位置是否在所述用户的所述指定距离范围之内;
在一实施例中,该指定距离范围是指用户通过安装在终端设备103中的即时通信客户端提供的设置界面设定的距离范围或者系统的默认距离范围。
在本子步骤中,若判断所述好友的当前位置在所述用户的所述指定距离范围之内,则执行步骤S15;若判断所述好友的当前位置不在所述用户的所述指定距离范围之内,则流程结束。
步骤S15,发送提示信息给所述用户。
本实施例中的各步骤可进一步参考图4所示的实施例,在此不再赘述。
通过本实施例所提供的提示附近好友的方法,用户只需开启附近好友功能,便可以方便快捷地获取附近好友的提示信息,进而与附近好友进行联系。因此,本实施例所提供的提示附近好友的方法可满足用户快速发现附近好友的需求,提升即时通信的性能。
本申请实施例还提供一种提示附近好友的方法,该方法与图4所示的实施例提供的方法相似。图6所示为本申请实施例提供的提示附近好友的方法的流程示意图。请参考图6,本实施例的方法包括以下步骤:
步骤S11,判断用户是否开启附近好友提示功能。步骤S 11包括以下子步骤:
子步骤S111,判断是否接收到所述用户通过终端设备发送的开启附近好友提示功能的信息;
在本子步骤中,若接收到用户通过终端设备发送的开启附近好友提示功能的信息,则表示该用户正在或者即时开启附近好友提示功能,执行子步骤S121;若未接收到该用户通过终端设备发送的开启附近好友提示功能的信息,则执行子步骤S112。
子步骤S112,读取系统设置,根据所述系统设置判断所述用户是否开启附近好友提示功能;
在一实施例中,该系统设置是指用户通过安装在终端设备101中的即时通信客户端向用户提供的设置界面进行设置之后所保存的设置信息。该系统设置包括用户开启或者关闭附近好友提示功能的启动开关的信息、用户设定的距离范围以及用户开启或者关闭允许被好友发现功能的启动开关的信息等。
在本子步骤中,若判断所述用户开启了附近好友提示功能,则执行子步骤122;若判断所述用户未开启附近好友提示功能,则流程结束。
步骤S12,获取所述用户的当前位置。步骤S12包括以下子步骤:
子步骤S121,实时获取所述用户的当前位置;
在本子步骤中,一接收到用户通过终端设备发送的开启附近好友提示功能的信息,则实时获取所述用户的当前位置。在一实例中,实时获取所述用户的当前位置包括:实时搜集所述用户的GPS定位数据,以及根据所述用户的GPS定位数据获取所述用户的当前位置。
子步骤S122,定时获取所述用户的当前位置;
在本子步骤中,若根据系统设置判断用户开启了附近好友提示功能,则表示用户的附近好友提示功能处于开启状态,定时获取所述用户的当前位置,也就是说,每间隔一预设时间便获取所述用户的当前位置,该预设时间比如为1小时。在一实例中,定时获取所述用户的当前位置包括:定时搜集所述用户的GPS定位数据,以及根据所述用户的GPS定位数据获取所述用户的当前位置。
步骤S13,获取所述用户的好友列表信息;
步骤S14,判断是否有所述用户的好友在所述用户的指定距离范围之内;
在本步骤中,当获取到用户的好友列表信息之后,获取好友的当前位置,根据好友的当前位置以及用户的当前位置,进一步判断是否有该用户的好友在该用户的指定距离范围之内,若有,则执行步骤S15;若无,则流程结束。在其他实施例中,在接收到用户通过终端设备发送的开启附近好友提示功能的信息之后,若判断没有所述用户的好友在所述用户的指定距离范围之内,则发送附近无好友的反馈信息给用户。
步骤S15,发送提示信息给所述用户。
本实施例中的各步骤可进一步参考图4所示的实施例,在此不再赘述。
通过本实施例所提供的提示附近好友的方法,用户只需开启附近好友功能,便可以方便快捷地获取附近好友的提示信息,进而与附近好友进行联系。因此,本实施例所提供的提示附近好友的方法可满足用户快速发现附近好友的需求,提升即时通信的性能。
本申请实施例还提供一种提示附近好友的装置,用于实现上述实施例中的提示附近好友的方法。图7所示为本申请实施例提供的提示附近好友的装置的结构框图。如图7所示,所述装置包括设置模块300、第一判断模块301、第一获取模块302、第二获取模块303、第二判断模块304以及提示模块305。
设置模块300,用于提供一设置界面给用户,其中,所述设置界面包括所述附近好友提示功能的启动开关、距离范围的选择项以及允许被好友发现功能的启动开关。
第一判断模块301,用于判断所述用户是否开启附近好友提示功能。
第一获取模块302,用于若所述第一判断模块301判断所述用户开启了附近好友提示功能,获取所述用户的当前位置。
所述第一获取模块302包括第一搜集单元312和第一获取单元322。其中,第一搜集单元312用于搜集所述用户的GPS定位数据,第一获取单元322用于根据所述用户的GPS定位数据获取所述用户的当前位置。
第二获取模块303,用于获取所述用户的好友列表信息。
第二判断模块304,用于判断是否有所述用户的好友在所述用户的指定距离范围之内。
提示模块305,用于若所述第二判断模块304判断有所述用户的好友在所述用户的所述指定距离范围之内,发送提示信息给所述用户。
本实施例所提供的提示附近好友的装置的模块的功能可参考图4所示的方法实施例的步骤来实现,在此不再赘述。
通过本实施例所提供的提示附近好友的装置,用户只需开启附近好友功能,便可以方便快捷地获取附近好友的提示信息,进而与附近好友进行联系。因此,本实施例所提供的提示附近好友的装置可满足用户快速发现附近好友的需求,提升即时通信的性能。
本申请实施例还提供一种提示附近好友的装置,该装置与图7所示的实施例提供的装置相似。图8所示为本申请实施例提供的提示附近好友的装置的结构框图。如图8所示的实施例提供的装置与图7所示的实施例提供的装置不同的是:
第二判断模块304还用于依次判断所述好友列表信息中的好友是否开启允许被好友发现功能。
所述装置还包括第三获取模块306,所述第三获取模块306用于若所述第二判断模块304判断有好友开启允许被好友发现功能,获取所述好友的当前位置。
所述第三获取模块306包括第二搜集单元316和第二获取单元326。其中,第二搜集单元316用于搜集所述好友的GPS定位数据,第二获取单元326用于根据所述好友的GPS定位数据获取所述好友的当前位置。
第二判断模块304还用于根据所述好友的当前位置以及所述用户的当前位置,判断所述好友的当前位置是否在所述用户的所述指定距离范围之内。
本实施例所提供的提示附近好友的装置的模块的功能可参考图5所示的方法实施例的步骤来实现,在此不再赘述。
通过本实施例所提供的提示附近好友的装置,用户只需开启附近好友功能,便可以方便快捷地获取附近好友的提示信息,进而与附近好友 进行联系。因此,本实施例所提供的提示附近好友的装置可满足用户快速发现附近好友的需求,提升即时通信的性能。
本申请实施例还提供一种提示附近好友的装置,该装置与图7所示的实施例提供的装置相似。图9所示为本申请实施例提供的提示附近好友的装置的结构框图。如图9所示的实施例提供的装置与图7所示的实施例提供的装置不同的是:
第一判断模块301包括第一判断单元311和第二判断单元321。
所述第一判断单元311,用于判断是否接收到所述用户通过终端设备发送的开启附近好友提示功能的信息。
其中,若接收到所述用户通过终端设备发送的开启附近好友提示功能的信息,则表示用户即时开启附近好友提示功能,第一获取模块302用于实时获取所述用户的当前位置。
所述第二判断单元321,用于若未接收到所述用户通过终端设备发送的开启附近好友提示功能的信息,则读取系统设置,根据所述系统设置判断所述用户是否开启附近好友提示功能。
其中,若所述第二判断单元321判断所述用户开启了附近好友提示功能,则所述第一获取模块302用于定时获取所述用户的当前位置。
在其他实施例中,所述装置还包括反馈模块(图中未示出),在所述第一判断单元311判断接收到用户通过终端设备发送的开启附近好友提示功能的信息之后,并且第二判断模块304判断没有所述用户的好友在所述用户的指定距离范围之内,则所述反馈模块发送附近无好友的反馈信息给用户。
本实施例所提供的提示附近好友的装置的模块功能可参考图6所示的方法实施例的步骤来实现,在此不再赘述。
通过本实施例所提供的提示附近好友的装置,用户只需开启附近好 友功能,便可以方便快捷地获取附近好友的提示信息,进而与附近好友进行联系。因此,本实施例所提供的提示附近好友的装置可满足用户快速发现附近好友的需求,提升即时通信的性能。
根据图2所示的终端设备的结构,所述终端设备包括存储器102和处理器106。
所述存储器102,用于存储机器可读指令,包括可以由处理器106执行的第一判断指令、第一获取指令、第二获取指令、第二判断指令和提示指令。
进一步地,所述机器可读指令还包括可以由处理器106执行第三获取指令。
所述处理器106,用于读取和执行所述存储器102中存储的第一判断指令、第一获取指令、第二获取指令、第二判断指令和提示指令,以实现图7所示的提示附近好友的装置中各模块的功能。
所述处理器106,进一步用于读取和执行所述存储器102中存储的第三获取指令,以实现图8所示的提示附近好友的装置中各模块的功能。
需要说明的是,本说明书中的各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
需要说明的是,在本申请中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含, 从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者装置中还存在另外的相同要素。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上,仅是本申请的实施例而已,并非对本申请作任何形式上的限制,虽然本申请已以实施例揭露如上,然而并非用以限定本申请,任何熟悉本专业的技术人员,在不脱离本申请技术方案范围内,当可利用上述揭示的技术内容做出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本申请技术方案内容,依据本申请的技术实质对以上实施例所作的任何简单修改、等同变化与修饰,均仍属于本申请技术方案的范围内。

Claims (14)

  1. 一种提示附近好友的方法,其特征在于,所述方法包括:
    判断用户是否开启附近好友提示功能;
    若判断所述用户开启了附近好友提示功能,获取所述用户的当前位置;
    获取所述用户的好友列表信息;
    判断是否有所述用户的好友在所述用户的指定距离范围之内;以及
    若判断有所述用户的好友在所述用户的所述指定距离范围之内,发送提示信息给所述用户。
  2. 根据权利要求1所述的提示附近好友的方法,其特征在于,所述获取所述用户的当前位置包括:
    搜集所述用户的GPS定位数据;以及
    根据所述用户的GPS定位数据获取所述用户的当前位置。
  3. 根据权利要求1所述的提示附近好友的方法,其特征在于,所述判断是否有所述用户的好友在所述用户的所述指定距离范围之内包括:
    依次判断所述好友列表信息中的好友是否开启允许被好友发现功能;
    若判断有好友开启允许被好友发现功能,获取所述好友的当前位置;以及
    根据所述好友的当前位置以及所述用户的当前位置,判断所述好友的当前位置是否在所述用户的所述指定距离范围之内。
  4. 根据权利要求3所述的提示附近好友的方法,其特征在于,所述获取所述好友的当前位置包括:
    搜集所述好友的GPS定位数据;以及
    根据所述好友的GPS定位数据获取所述好友的当前位置。
  5. 根据权利要求1所述的提示附近好友的方法,其特征在于,所述判断所述用户是否开启附近好友提示功能包括:
    判断是否接收到所述用户通过终端设备发送的开启附近好友提示功能的信息;
    其中,若接收到所述用户通过终端设备发送的开启附近好友提示功能的信息,则表示用户即时开启附近好友提示功能,所述获取所述用户的当前位置为实时获取所述用户的当前位置。
  6. 根据权利要求5所述的提示附近好友的方法,其特征在于,所述判断所述用户是否开启附近好友提示功能还包括:
    若未接收到所述用户通过终端设备发送的开启附近好友提示功能的信息,则读取系统设置,根据所述系统设置判断所述用户是否开启附近好友提示功能;
    其中,若判断所述用户开启了附近好友提示功能,则所述获取所述用户的当前位置为定时获取所述用户的当前位置。
  7. 根据权利要求3所述的提示附近好友的方法,其特征在于,所述方法还包括:
    提供一设置界面给所述用户,其中,所述设置界面包括所述附近好友提示功能的启动开关、距离范围的选择项以及所述允许被好友发现功能的启动开关。
  8. 一种提示附近好友的装置,其特征在于,所述装置包括:
    第一判断模块,用于判断用户是否开启附近好友提示功能;
    第一获取模块,用于若所述第一判断模块判断所述用户开启了附近好友提示功能,获取所述用户的当前位置;
    第二获取模块,用于获取所述用户的好友列表信息;
    第二判断模块,用于判断是否有所述用户的好友在所述用户的指定距离范围之内;以及
    提示模块,用于若所述第二判断模块判断有所述用户的好友在所述用户的所述指定距离范围之内,发送提示信息给所述用户。
  9. 根据权利要求8所述的提示附近好友的装置,其特征在于,所述第一获取模块包括:
    第一搜集单元,用于搜集所述用户的GPS定位数据;以及
    第一获取单元,用于根据所述用户的GPS定位数据获取所述用户的当前位置。
  10. 根据权利要求8所述的提示附近好友的装置,其特征在于,所述第二判断模块还用于依次判断所述好友列表信息中的好友是否开启允许被好友发现功能;
    所述装置还包括第三获取模块,所述第三获取模块用于若所述第二判断模块判断有好友开启允许被好友发现功能,获取所述好友的当前位置;
    所述第二判断模块还用于根据所述好友的当前位置以及所述用户的当前位置,判断所述好友的当前位置是否在所述用户的所述指定距离范围之内。
  11. 根据权利要求10所述的提示附近好友的装置,其特征在于,所述第三获取模块包括:
    第二搜集单元,用于搜集所述好友的GPS定位数据;以及
    第二获取单元,用于根据所述好友的GPS定位数据获取所述好友的当前位置。
  12. 根据权利要求8所述的提示附近好友的装置,其特征在于,所述第一判断模块包括:
    第一判断单元,用于判断是否接收到所述用户通过终端设备发送的开启附近好友提示功能的信息;
    其中,若接收到所述用户通过终端设备发送的开启附近好友提示功能的信息,则表示用户即时开启附近好友提示功能,所述第一获取模块用于实时获取所述用户的当前位置。
  13. 根据权利要求12所述的提示附近好友的装置,其特征在于,所述第一判断模块还包括:
    第二判断单元,用于若未接收到所述用户通过终端设备发送的开启附近好友提示功能的信息,则读取系统设置,根据所述系统设置判断所述用户是否开启附近好友提示功能;
    其中,若判断所述用户开启了附近好友提示功能,则所述第一获取模块用于定时获取所述用户的当前位置。
  14. 根据权利要求10所述的提示附近好友的装置,其特征在于,所述装置还包括:
    设置模块,用于提供一设置界面给所述用户,其中,所述设置界面包括所述附近好友提示功能的启动开关、距离范围的选择项以及所述允许被好友发现功能的启动开关。
PCT/CN2016/095230 2015-09-08 2016-08-15 提示附近好友的方法及装置 WO2017041610A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510567509.9 2015-09-08
CN201510567509.9A CN106503023B (zh) 2015-09-08 2015-09-08 提示附近好友的方法及装置

Publications (1)

Publication Number Publication Date
WO2017041610A1 true WO2017041610A1 (zh) 2017-03-16

Family

ID=58240601

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/095230 WO2017041610A1 (zh) 2015-09-08 2016-08-15 提示附近好友的方法及装置

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682809A (zh) * 2017-09-26 2018-02-09 上海展扬通信技术有限公司 一种计算机可读存储介质、移动终端及计算机系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108596435A (zh) * 2018-03-28 2018-09-28 深圳市奥拓体育文化发展有限公司 体育场馆的蹭场方法、管理系统及存储介质
CN110427572A (zh) * 2019-07-15 2019-11-08 奇酷互联网络科技(深圳)有限公司 寻找好友方法、移动终端以及存储介质
CN110536236B (zh) * 2019-08-30 2021-08-27 维沃移动通信有限公司 一种通信方法、终端设备和网络设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378106A (zh) * 2011-11-10 2012-03-14 北京百纳威尔科技有限公司 移动终端及其朋友提示方法、移动终端服务器
CN103327443A (zh) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 终端和联系人查找方法
US20140221012A1 (en) * 2013-02-01 2014-08-07 Interman Corporation User similarity provision method
CN104052779A (zh) * 2013-03-14 2014-09-17 腾讯科技(深圳)有限公司 一种信息推荐的方法、系统及智能终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8655960B2 (en) * 2008-06-19 2014-02-18 Verizon Patent And Licensing Inc. Location-aware instant messaging
CN102638770A (zh) * 2011-02-14 2012-08-15 中兴通讯股份有限公司 一种社交网络的实现方法及系统
CN102695121A (zh) * 2011-03-25 2012-09-26 北京千橡网景科技发展有限公司 向社交网络中的用户推送好友信息的方法和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378106A (zh) * 2011-11-10 2012-03-14 北京百纳威尔科技有限公司 移动终端及其朋友提示方法、移动终端服务器
CN103327443A (zh) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 终端和联系人查找方法
US20140221012A1 (en) * 2013-02-01 2014-08-07 Interman Corporation User similarity provision method
CN104052779A (zh) * 2013-03-14 2014-09-17 腾讯科技(深圳)有限公司 一种信息推荐的方法、系统及智能终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682809A (zh) * 2017-09-26 2018-02-09 上海展扬通信技术有限公司 一种计算机可读存储介质、移动终端及计算机系统

Also Published As

Publication number Publication date
CN106503023A (zh) 2017-03-15
CN106503023B (zh) 2021-03-26

Similar Documents

Publication Publication Date Title
US10080111B2 (en) Techniques for communication using audio stickers
KR101573129B1 (ko) 무선 장치 구성
US9288751B2 (en) Use of position data to select wireless access point
EP3240273B1 (en) Modifying mobile device operation using proximity relationships
WO2018161962A1 (zh) 分享图像的方法、电子设备及系统
CN107258092B (zh) 用于移动客户端设备的发现和数据传输的云支持
WO2019140657A1 (zh) 一种网络连接的方法、装置及终端
US20240080734A1 (en) Electronic device for providing call continuity in weak electric field environment and control method
WO2009032514A1 (en) Accessing subscribed content with a mobile computing device
WO2017041610A1 (zh) 提示附近好友的方法及装置
US10567534B2 (en) Apparatus, method and computer program product for sharing data
WO2018103441A1 (zh) 一种网络定位方法及终端设备
CN104333643B (zh) 添加联系人的方法、系统及终端
CN106341365B (zh) 新帐号信息删除方法及装置
WO2019019164A1 (zh) 无人机管理方法及装置、通信连接建立方法及装置
WO2016173404A1 (zh) 用户匹配方法及装置
WO2019071581A1 (zh) 一种应用启动的控制方法及用户终端
KR20150134781A (ko) 휴대 단말 및 그 제어 방법
CN111698100A (zh) 一种数据处理方法、系统及相关设备
WO2018103440A1 (zh) 一种网络定位方法及终端设备
CN112640408A (zh) 一种呼叫提示方法及终端
CN114173321B (zh) 设备通信连接建立方法及设备通信系统
JP2023509407A (ja) マルチキャストサービス処理方法、マルチキャストサービス構成方法、端末及びネットワーク機器
CN112640533A (zh) 用于提供ap列表的电子设备以及用于操作电子设备的方法
EP3114783B1 (en) Method and apparatus for obtaining identification information for musical pieces

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16843548

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07.08.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16843548

Country of ref document: EP

Kind code of ref document: A1