TW201443810A - Method, device, apparatus and system for recommending user information - Google Patents

Method, device, apparatus and system for recommending user information Download PDF

Info

Publication number
TW201443810A
TW201443810A TW102143299A TW102143299A TW201443810A TW 201443810 A TW201443810 A TW 201443810A TW 102143299 A TW102143299 A TW 102143299A TW 102143299 A TW102143299 A TW 102143299A TW 201443810 A TW201443810 A TW 201443810A
Authority
TW
Taiwan
Prior art keywords
terminal
location information
server
information
geographical location
Prior art date
Application number
TW102143299A
Other languages
Chinese (zh)
Inventor
Xiao Sun
Wei Li
Ling Li
Original Assignee
Tencent Tech 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 Tech Shenzhen Co Ltd filed Critical Tencent Tech Shenzhen Co Ltd
Publication of TW201443810A publication Critical patent/TW201443810A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The present disclosure proposes a method, a device, an apparatus and a system for recommending user information. The method includes: acquiring instant and effective geographical position information of a terminal which continuously emits triggering signals by using a server; searching one or more terminals complying with a predetermined criterion indicating to whether a measured range determined based on instant and effective geographical position information of another terminal and the instant and effective geographical position information of the terminal is shorter than a threshold by using the server; recommending user information of another terminal to the terminal by using the server. The present disclosure realizes that the recommend user information of another terminal is from an accurate, instant, and effective geographical position information. By doing so, it is more effective for another terminal user in subsequent operations such as adding friends or adding talking group.

Description

使用者資訊推薦方法、裝置、設備及系統 User information recommendation method, device, device and system

本發明涉及移動網路交互領域,特別涉及一種使用者資訊推薦方法、裝置、設備及系統。 The present invention relates to the field of mobile network interaction, and in particular, to a user information recommendation method, device, device and system.

隨著移動網路的發展,即時通信程式成為移動終端上使用最為廣泛的應用程式之一,移動終端可以是智慧手機、平板電腦、電子書閱讀器或者掌上型電腦之類的電子設備。 With the development of mobile networks, instant messaging programs have become one of the most widely used applications on mobile terminals. Mobile terminals can be electronic devices such as smart phones, tablets, e-book readers or palmtop computers.

在即時通信程式中,添加好友是最常用的功能。但是由於原本不是好友的用戶通常是相對於當前用戶的陌生人,如何快捷、方便地獲取陌生人的使用者資訊是一個較難解決的問題。為此,目前的一種基於LBS(Location Based Service,基於位置的服務)的使用者資訊推薦方法,包括:當前用戶向伺服器發送使用“附近的人”功能的請求,並向伺服器上傳自身的地理位置資訊;伺服器根據暫存的其他使用者的地理位置資訊中查找與當前使用者的地理位置資訊之間的距離不超過預定臨界值(比如1公里)的用戶;伺服器將查找到的至少一個其它使用者的使用者資訊推薦給當前使用者,該使用者資訊通常包括唯一身份標識、頭像、暱稱和簽名,以便當前使用者接收該使用者資訊,並根據該使用者資訊選擇性地添加好友。 Adding friends is the most common feature in instant messaging programs. However, since the user who is not a friend is usually a stranger relative to the current user, how to quickly and conveniently obtain the user information of the stranger is a difficult problem to solve. To this end, a current user information recommendation method based on LBS (Location Based Service) includes: the current user sends a request to the server to use the "nearby person" function, and uploads its own to the server. Geographic location information; the server searches for a user whose distance from the current user's geographic location information does not exceed a predetermined threshold (eg, 1 km) based on the temporary location information of other users; the server will find The user information of at least one other user is recommended to the current user, and the user information usually includes a unique identity, an avatar, a nickname, and a signature, so that the current user receives the user information, and selectively receives the user information according to the user information. add friend.

在實現本發明的過程中,發明人發現習知技術至少存在以下 問題:伺服器暫存的其它使用者的地理位置資訊,是其它使用者在過去某一時刻使用“附近的人”功能時所上報的地理位置資訊,暫存時間可能已經超過幾小時、一天或者更長的時間,有些其它用戶在當前時刻可能已經遠離歷史上報的地理位置資訊所對應的地點,所以,此時伺服器的推薦結果對於當前用戶很可能是無效的,並不能有效地促成添加好友的順利完成。 In the process of implementing the present invention, the inventors have found that the prior art has at least the following Problem: The geographical location information of other users temporarily stored by the server is the geographical location information reported by other users when using the "Nearby People" function at a certain time in the past. The temporary storage time may have exceeded several hours and one day. Or for a longer period of time, some other users may have been away from the location corresponding to the historically reported geographical location information at the current time. Therefore, the recommendation result of the server at this time is likely to be invalid for the current user, and cannot effectively contribute to Adding friends successfully completed.

為了解決由於暫存時間跨度太長,導致伺服器的推薦結果對於當前用戶很可能是無效的問題,本發明實施例提供了一種使用者資訊推薦方法、裝置、設備及系統。所述技術方案如下: In order to solve the problem that the recommendation result of the server is likely to be invalid for the current user because the temporary storage time span is too long, the embodiment of the present invention provides a user information recommendation method, device, device and system. The technical solution is as follows:

根據本發明的第一方面,提供了一種使用者資訊推薦方法,用於伺服器中,所述方法包括:獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;查詢符合預定條件的至少一個其它終端,所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值;將所述至少一個其它終端的使用者資訊推薦給所述終端。 According to a first aspect of the present invention, a method for recommending user information is provided for use in a server, the method comprising: acquiring instant and effective geographic location information provided by a terminal after receiving a continuous trigger signal, the instant effective The valid time period of the geographical location information corresponds to the duration of the continuous trigger signal; and the at least one other terminal that meets the predetermined condition is queried, and the predetermined condition includes: according to the instantaneous effective geographical location information provided by the other terminal The distance determined by the instantaneous effective geographical location information provided by the terminal is less than a threshold; and the user information of the at least one other terminal is recommended to the terminal.

根據本發明的第二方面,提供了一種使用者資訊推薦方法,用於終端中,所述方法包括:接收持續觸發訊號;在接收到所述持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;接收所述伺服器推薦的至少一個其它終端的使用者資訊,所述至少一個其它終端是所述伺服器查詢到的符合預定條件的終端;所述預定條件包括:根據所述 其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值。 According to a second aspect of the present invention, a user information recommendation method is provided for use in a terminal, the method comprising: receiving a continuous trigger signal; and providing an immediate and effective geography to the server after receiving the persistent trigger signal Position information, the effective time period of the instant valid geographical location information corresponds to a duration period of the continuous trigger signal; receiving user information of at least one other terminal recommended by the server, the at least one other terminal is a terminal that is queried by the server and meets a predetermined condition; the predetermined condition includes: according to the The distance determined by the instant and effective geographical location information provided by the other terminal and the instant and effective geographical location information provided by the terminal is less than a critical value.

根據本發明的第三方面,提供了一種使用者資訊推薦裝置,用於伺服器中,所述裝置包括:資訊獲取模組,用於獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;資訊查詢模組,用於查詢符合預定條件的至少一個其它終端,所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值;資訊推薦模組,用於將所述至少一個其它終端的使用者資訊推薦給所述終端。 According to a third aspect of the present invention, a user information recommendation device is provided for use in a server, the device comprising: an information acquisition module, configured to acquire an instant effective geographic provided by the terminal after receiving the continuous trigger signal. The location information, the valid time period of the instant and effective geographic location information corresponds to the duration of the continuous triggering signal, and the information query module is configured to query at least one other terminal that meets the predetermined condition, the predetermined condition includes: Determining, according to the instant and effective geographical location information provided by the other terminal, the distance determined by the instantaneous effective geographical location information provided by the terminal is less than a threshold; and the information recommendation module, configured to use the user of the at least one other terminal Information is recommended to the terminal.

根據本發明的第四方面,提供了一種使用者資訊推薦裝置,用於終端中,所述裝置包括:訊號接收模組,用於接收持續觸發訊號;資訊提供模組,用於在接收到所述持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;資訊接收模組,用於接收所述伺服器推薦的至少一個其它終端的使用者資訊,所述至少一個其它終端是所述伺服器查詢到的符合預定條件的終端;所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值。 According to a fourth aspect of the present invention, a user information recommendation device is provided for use in a terminal, the device comprising: a signal receiving module, configured to receive a continuous trigger signal; and an information providing module, configured to receive the After the continuous triggering signal, the server provides instant and effective geographical location information, the effective time period of the instant valid geographical location information corresponds to the duration of the continuous triggering signal; and the information receiving module is configured to receive the location Determining user information of at least one other terminal recommended by the server, the at least one other terminal is a terminal that is queried by the server and meets a predetermined condition; and the predetermined condition includes: providing an immediate effective according to the other terminal The distance determined by the geographic location information and the instant and effective geographical location information provided by the terminal is less than a critical value.

根據本發明的第五方面,提供了一種伺服器,所述伺服器包括如第三方面所述的使用者資訊推薦裝置。 According to a fifth aspect of the invention, a server is provided, the server comprising the user information recommendation device according to the third aspect.

根據本發明的第六方面,提供了一種終端,所述終端包括如 第四方面所述的使用者資訊推薦裝置。 According to a sixth aspect of the present invention, a terminal is provided, the terminal comprising The user information recommendation device according to the fourth aspect.

根據本發明的第七方面,提供了一種使用者資訊推薦系統,所述系統包括終端和伺服器,所述終端和所述伺服器透過無線網路或者有線網路相連,所述終端是如第六方面所述的終端,所述伺服器是如第五方面所述的伺服器。 According to a seventh aspect of the present invention, a user information recommendation system is provided. The system includes a terminal and a server, and the terminal and the server are connected through a wireless network or a wired network, and the terminal is The terminal according to the sixth aspect, wherein the server is the server according to the fifth aspect.

本發明實施例提供的技術方案帶來的有益效果是:透過終端在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,伺服器根據其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊選擇符合預定條件的其它終端,並將符合預定條件的其它終端的使用者資訊推薦給該終端,解決了暫存時間跨度太長,導致伺服器的推薦結果對於當前用戶很可能是無效的問題;達到了伺服器向終端推薦的其它終端的使用者資訊,都是基於準確的、且即時有效的地理位置資訊推薦的使用者資訊,這些其它終端的使用者資訊在諸如添加好友或者添加聊天群組等後續處理時的有效性更強。 The technical solution provided by the embodiment of the present invention has the beneficial effects that the terminal provides the instantaneous and effective geographical location information to the server after receiving the continuous trigger signal, and the server obtains the instantaneous and effective geographical location information provided by the other terminal. The instant and effective geographical location information provided by the terminal selects other terminals that meet the predetermined conditions, and the user information of other terminals that meet the predetermined conditions is recommended to the terminal, and the temporary storage time span is too long, which leads to the recommendation result of the server. The user information that is likely to be invalid for the current user; the user information of the other terminals that are recommended by the server to the terminal are user information based on accurate and instant and effective geographic information recommendation, and users of these other terminals. Information is more effective when it comes to subsequent processing such as adding friends or adding chat groups.

120‧‧‧終端 120‧‧‧ Terminal

140、740‧‧‧伺服器 140, 740‧‧‧ server

202、204、206、208‧‧‧步驟 202, 204, 206, 208‧‧ steps

301-310‧‧‧步驟 301-310‧‧‧Steps

41‧‧‧第一介面 41‧‧‧ first interface

411‧‧‧雷達按鈕 411‧‧‧radar button

42‧‧‧預定介面 42‧‧‧Reservation interface

422‧‧‧圖標 422‧‧‧ icon

424‧‧‧提示框 424‧‧‧Tips

426‧‧‧按鈕 426‧‧‧ button

428‧‧‧提示框 428‧‧‧Tips

501-512‧‧‧步驟 501-512‧‧ steps

62‧‧‧預定介面 62‧‧‧Reservation interface

622‧‧‧圖標 622‧‧‧ icon

624‧‧‧聊天群組添加圖標 624‧‧‧Chat group add icon

626‧‧‧進入聊天群組按鈕 626‧‧‧Enter chat group button

64、720‧‧‧終端 64, 720‧‧‧ terminal

722‧‧‧訊號接收模組 722‧‧‧Signal receiving module

724‧‧‧資訊提供模組 724‧‧‧Information Providing Module

726‧‧‧資料接收模組 726‧‧‧ data receiving module

742‧‧‧資料獲取模組 742‧‧‧ Data Acquisition Module

744‧‧‧資料查詢模組 744‧‧‧Data Query Module

746‧‧‧資料推薦模組 746‧‧‧Information recommendation module

724a‧‧‧資料獲取單元 724a‧‧‧Information acquisition unit

724b‧‧‧第一發送單元 724b‧‧‧first sending unit

742a‧‧‧第一接收單元 742a‧‧‧First receiving unit

742b‧‧‧第一保存單元 742b‧‧‧First preservation unit

727‧‧‧圖標顯示模組 727‧‧‧ icon display module

728‧‧‧指令接收模組 728‧‧‧Instruction Receiver Module

729‧‧‧請求發送模組 729‧‧‧Request Sending Module

748‧‧‧預定處理模組 748‧‧‧Scheduled processing module

724A‧‧‧資料獲取單元 724A‧‧‧ Data Acquisition Unit

724B‧‧‧第二發送單元 724B‧‧‧Second sending unit

724C‧‧‧第三發送單元 724C‧‧‧ third sending unit

742A‧‧‧第二接收單元 742A‧‧‧second receiving unit

742B‧‧‧第二保存單元 742B‧‧‧Second preservation unit

742C‧‧‧第三接收單元 742C‧‧‧ third receiving unit

742D‧‧‧停止保存單元 742D‧‧‧Stop saving unit

為了更清楚地說明本發明實施例或習知技術中的技術方案,下面將對實施例或習知技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域通常知識者來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.

第1圖是本發明實施例提供的使用者資訊推薦方法所涉及的一種實施 環境的結構示意圖;第2圖是本發明一個實施例提供的使用者信息推薦方法的方法流程圖;第3圖是本發明另一個實施例提供的使用者資訊推薦方法的方法流程圖;第4A圖是本發明實施例提供的使用者資訊推薦方法所涉及的一個介面示意圖;第4B圖是本發明實施例中所涉及的即時有效的地理位置資訊的保存示意圖;第4C圖是本發明實施例提供的使用者資訊推薦方法所涉及的另一個介面示意圖;第4D圖是本發明實施例提供的使用者資訊推薦方法所涉及的再一個介面示意圖;第4E圖是本發明實施例提供的使用者資訊推薦方法所涉及的再一個介面示意圖;第5圖是本發明再一個實施例提供的使用者信息推薦方法的方法流程圖;第6A圖是本發明實施例提供的使用者資訊推薦方法所涉及的一個介面示意圖;第6B圖是本發明實施例中與其它終端一一對應的圖標的顯示位置的確定示意圖;第6C圖是本發明實施例中與其它終端一一對應的圖標的顯示位置的另一確定示意圖;第6D圖是本發明實施例中與其它終端一一對應的圖標的顯示位置的再一確定示意圖;第6E圖和第6F圖是本發明實施例中提供的聊天群組添加介面的介面示意圖;第7圖是本發明一個實施例提供的使用者資訊推薦系統的結構示意圖;第8圖是本發明另一實施例提供的使用者資訊推薦系統的結構示意圖;第9圖是本發明再一實施例提供的使用者資訊推薦系統的結構示意圖。 FIG. 1 is an implementation of a user information recommendation method according to an embodiment of the present invention. FIG. 2 is a flowchart of a method for recommending user information provided by an embodiment of the present invention; FIG. 3 is a flowchart of a method for recommending user information provided by another embodiment of the present invention; The figure is a schematic diagram of the interface involved in the user information recommendation method provided by the embodiment of the present invention; FIG. 4B is a schematic diagram of the storage of the instantaneous effective geographical location information in the embodiment of the present invention; FIG. 4C is a diagram of the embodiment of the present invention Another interface diagram of the user information recommendation method is provided; FIG. 4D is a further interface diagram of the user information recommendation method provided by the embodiment of the present invention; FIG. 4E is a user provided by the embodiment of the present invention. FIG. 5 is a flowchart of a method for recommending user information provided by another embodiment of the present invention; FIG. 6A is a diagram of a method for recommending user information provided by an embodiment of the present invention; An interface diagram of FIG. 6B is a display position of icons corresponding to other terminals in the embodiment of the present invention. FIG. 6C is another schematic diagram of the display position of the icon corresponding to other terminals in the embodiment of the present invention; FIG. 6D is a display position of the icon corresponding to other terminals in the embodiment of the present invention; Figure 6E and Figure 6F are schematic diagrams of the interface of the chat group adding interface provided in the embodiment of the present invention; Figure 7 is a schematic structural diagram of the user information recommendation system according to an embodiment of the present invention; FIG. 8 is a schematic structural diagram of a user information recommendation system according to another embodiment of the present invention; FIG. 9 is a schematic structural diagram of a user information recommendation system according to still another embodiment of the present invention.

下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域通常知識者在沒有作出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

請參考第1圖,其示出了本發明實施例提供的使用者資訊推薦方法所涉及的一種實施環境的結構示意圖。該實施環境包括兩個或者兩個以上的終端120和伺服器140。 Please refer to FIG. 1 , which is a schematic structural diagram of an implementation environment involved in a user information recommendation method according to an embodiment of the present invention. The implementation environment includes two or more terminals 120 and a server 140.

終端120可以是運行有即時通信程式的用戶端的電子設備,該電子設備可以是智慧手機、平板電腦、電子書閱讀器、MP3播放機(Moving Picture Experts Group Audio Layer III,動態影像專家壓縮標準音訊層3)、MP4(Moving Picture Experts Group Audio Layer IV,動態影像專家壓縮標準音訊層3)播放機、膝上型可攜式電腦和桌上型電腦等等。 The terminal 120 may be an electronic device running a user terminal of an instant messaging program, and the electronic device may be a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), and a motion picture expert compresses a standard audio layer. 3), MP4 (Moving Picture Experts Group Audio Layer IV) player, laptop portable computer and desktop computer, etc.

終端120與伺服器140之間可以透過無線網路或者有線網路相連。 The terminal 120 and the server 140 can be connected through a wireless network or a wired network.

伺服器140可以是一台伺服器,或者由若干台伺服器組成的伺服器集群,或者是一個雲計算服務中心。該伺服器140是即時通信程式的後台伺服器。 The server 140 can be a server, or a server cluster consisting of several servers, or a cloud computing service center. The server 140 is a background server of the instant messaging program.

請參考第2圖,其示出了本發明一個實施例提供的使用者信息推薦方法的方法流程圖。本實施例以該使用者資訊推薦方法應用於第1圖所示的實施環境來舉例說明。該使用者資訊推薦方法,包括: Please refer to FIG. 2, which shows a flowchart of a method for recommending user information provided by an embodiment of the present invention. This embodiment is exemplified by applying the user information recommendation method to the implementation environment shown in FIG. 1. The user information recommendation method includes:

步驟202,終端接收持續觸發訊號;該持續觸發訊號是將終端持續搖動一段時間的訊號、將終端上的某一物理按鈕或者觸控式螢幕虛擬按鈕持續按壓一段時間的訊號、或者向終端持續發出的預定語音訊號等等。 Step 202: The terminal receives the continuous trigger signal. The continuous trigger signal is a signal that continuously shakes the terminal for a period of time, continuously presses a physical button or a touch screen virtual button on the terminal for a period of time, or continuously sends the signal to the terminal. Scheduled voice signals and more.

步驟204,終端在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,該即時有效的地理位置資訊的有效時間段對應於持續觸發訊號的持續時間段;對應地,伺服器獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊。 Step 204: After receiving the continuous trigger signal, the terminal provides the server with instant and effective geographic location information, where the valid time period of the valid geographic location information corresponds to the duration of the continuous trigger signal; correspondingly, the server obtains Instant and effective geographical location information provided by the terminal after receiving the continuous trigger signal.

步驟206,伺服器查詢符合預定條件的至少一個其它終端;該預定條件包括:根據其它終端提供的即時有效的地理位置資訊與終端提供的即時有效的地理位置資訊所確定的距離小於臨界值。 Step 206: The server queries at least one other terminal that meets the predetermined condition; the predetermined condition includes: determining, according to the instantaneous effective geographical location information provided by the other terminal, the distance determined by the instantaneous effective geographical location information provided by the terminal is less than a critical value.

步驟208,伺服器將至少一個其它終端的使用者資訊推薦給終端。對應地,終端接收伺服器推薦的至少一個其它終端的使用者資訊,該至少一個其它終端是伺服器查詢到的符合預定條件的終端。 Step 208: The server recommends user information of at least one other terminal to the terminal. Correspondingly, the terminal receives user information of at least one other terminal recommended by the server, and the at least one other terminal is a terminal that is queried by the server and meets a predetermined condition.

綜上所述,本實施例提供的使用者資訊推薦方法,透過終端在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,伺服器根據其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊選擇符合預定條件的其它終端,並將符合預定條件的其它終端的使用者資訊推薦給該終端,解決了暫存時間跨度太長,導致伺服器的推薦結果對於當前用戶很可能是無效的問題;達到了伺服器向終端推薦的其它終端的使用者資訊,都是基於準確的、且即時有效的地理位置資訊推薦的使用者資訊,這些其它終端的使用者資訊在諸如添加好友或者添加聊天群組等後續處理時的有效性更強。 In summary, the user information recommendation method provided by the embodiment provides the instant and effective geographical location information to the server after receiving the continuous trigger signal, and the server provides the instantaneous and effective geographical location information provided by the other terminal. Selecting other terminals that meet the predetermined conditions with the instant and effective geographical location information provided by the terminal, and recommending the user information of other terminals that meet the predetermined conditions to the terminal, and solving the temporary storage time span is too long, resulting in the recommendation of the server. The result is likely to be invalid for the current user; the user information of the other terminals that are recommended by the server to the terminal is based on accurate and instant and effective geographic information recommendation user information, and the use of these other terminals Information is more effective in subsequent processing such as adding friends or adding chat groups.

由於終端向伺服器提供即時有效的地理位置資訊包括兩種不同的實現方式,下文將在兩個不同的實施例中對這兩種實現方式進行詳細地闡述。 Since the terminal provides instant and effective geographic location information to the server, including two different implementations, the two implementations are described in detail in two different embodiments.

請參考第3圖,其示出了本發明另一實施例提供的使用者資訊推薦方法的方法流程圖。本實施例仍然以該使用者資訊推薦方法應用於第1圖所示的實施環境中舉例說明。作為基於第2圖所示實施例提供的更為優選的實施例,本實施例對終端向伺服器提供即時有效的地理位置資訊的第一種具體實現方式進行詳細闡述。該使用者資訊推薦方法,包括: Please refer to FIG. 3, which is a flowchart of a method for recommending user information provided by another embodiment of the present invention. This embodiment is still exemplified by applying the user information recommendation method to the implementation environment shown in FIG. 1. As a more preferred embodiment provided based on the embodiment shown in FIG. 2, this embodiment details the first specific implementation manner in which the terminal provides instantaneous and effective geographical location information to the server. The user information recommendation method includes:

步驟301,終端接收持續觸發訊號;終端A運行有即時通信程式,使用者可以在即時通信程式中發出持續觸發訊號。然後,終端A接收使用者發出的持續觸發訊號。 In step 301, the terminal receives the continuous trigger signal; the terminal A runs an instant communication program, and the user can send a continuous trigger signal in the instant communication program. Then, terminal A receives the continuous trigger signal sent by the user.

以終端A是智慧手機為例,結合參考第4A圖,使用者可以在終端A顯示的有關即時通信程式的第一介面41中持續按壓雷達按鈕411,來向終端A發出持續觸發訊號,終端A可以接收該持續觸發訊號。該持續觸發訊號的持續時間段由用戶決定,比如3秒,10秒等等。 Taking the terminal A as a smart phone as an example, in conjunction with the reference to FIG. 4A, the user can continuously press the radar button 411 in the first interface 41 of the instant messaging program displayed on the terminal A to send a continuous trigger signal to the terminal A, and the terminal A can Receive the continuous trigger signal. The duration of the continuous trigger signal is determined by the user, such as 3 seconds, 10 seconds, and the like.

在其它實施例中,該持續觸發訊號還可以是其它類型的持續一段時間的訊號,比如持續搖動終端的訊號等等。 In other embodiments, the continuous trigger signal may also be other types of signals that last for a period of time, such as continuously shaking the signal of the terminal.

步驟302,終端在接收到持續觸發訊號之後,透過基於位置的服務LBS獲取地理位置資訊; Step 302: After receiving the persistent trigger signal, the terminal acquires geographic location information through the location-based service LBS.

LBS(Location Based Service,基於位置的服務)是透過電信移動運營商的無線電通訊網路(如GSM網、CDMA網)或外部定位方式(如GPS)獲取移動終端使用者的位置資訊(地理座標,或大地座標),在GIS(Geographic Information System,地理資訊系統)平臺的支援下,為使用者提供相應服務的一種增值業務。 LBS (Location Based Service) is to obtain the location information (geographic coordinates of the mobile terminal user) through the telecommunication mobile operator's radio communication network (such as GSM network, CDMA network) or external positioning method (such as GPS), or Earth coordinates), a value-added service that provides users with corresponding services, supported by the GIS (Geographic Information System) platform.

終端A在接收到持續觸發訊號之後,可以透過LBS獲取自身的地理位置資訊,即經緯度資訊。此步驟為本領域技術人員熟知的內容,不再贅述。 After receiving the continuous trigger signal, terminal A can obtain its own geographical location information, that is, latitude and longitude information, through the LBS. This step is well known to those skilled in the art and will not be described again.

步驟303,終端在持續觸發訊號的持續時間段內,按照預定時間間隔△T1向伺服器週期發送該地理位置資訊; Step 303: The terminal sends the geographical location information to the server period according to the predetermined time interval ΔT1 during the duration of the continuous trigger signal.

然後,終端A在持續觸發訊號的持續時間段內,按照預定時間間隔△T1向伺服器週期發送該地理位置資訊。 Then, the terminal A transmits the geographical location information to the server cycle according to the predetermined time interval ΔT1 during the duration of the continuous trigger signal.

該預定時間間隔△T1通常遠小於持續觸發訊號的持續時間段,比如持續觸發訊號的持續時間段通常按照“秒”來計量,而該預定時間間隔△T1可以是更小數量級的1/10秒、1/100秒或者X毫秒等等。 The predetermined time interval ΔT1 is usually much smaller than the duration of the continuous trigger signal. For example, the duration of the continuous trigger signal is usually measured in "seconds", and the predetermined time interval ΔT1 may be 1/10 seconds of the smaller order of magnitude. , 1/100 second or X milliseconds, etc.

在本實施例中,假設預定時間間隔△T1為1/5秒,則終端A會每隔1/5秒向伺服器發送一次地理位置資訊。具體來講,由於終端A透過LBS獲取地理位置資訊的時間通常較短,終端A可以在獲取到自身的地理位置信息之後,馬上向伺服器第一次發送地理位置資訊;然後每計時1/5秒,就向服務器重新一次該地理位置資訊,直到持續觸發訊號停止。 In the present embodiment, assuming that the predetermined time interval ΔT1 is 1/5 second, the terminal A transmits the geographical location information to the server every 1/5 seconds. Specifically, since the time for the terminal A to obtain the geographical location information through the LBS is usually short, the terminal A can send the geographical location information to the server for the first time after acquiring the geographical location information of the user; In seconds, the geographic location information is re-sent to the server until the continuous trigger signal stops.

對應地,伺服器接收終端A在持續觸發訊號的持續時間段內,按照預定時間間隔△T1週期發送的地理位置資訊,該地理位置資訊是終端A在接收到持續觸發訊號之後,透過基於位置的服務LBS獲取到的地理位置資訊。 Correspondingly, the server receives the geographical location information sent by the terminal A according to the predetermined time interval ΔT1 during the duration of the continuous trigger signal. The geographical location information is that the terminal A transmits the location-based after receiving the continuous trigger signal. The geographical location information obtained by the service LBS.

步驟304,伺服器將每次接收到的地理位置資訊保存預定時間段△T2,並將保存的地理位置資訊作為終端的即時有效的地理位置資訊; Step 304: The server saves the received geographical location information for a predetermined time period ΔT2, and uses the saved geographical location information as the instantaneous effective geographical location information of the terminal;

該預定時間段△T2通常等於上述的預定時間間隔△T1。當然為了相容網路延遲等引起的影響,該預定時間段△T2也可以略大於預定時間間隔△T1,且小於持續觸發訊號的持續時間段。顯然,超過預定時間段△T2之後,伺服器可以將該地理位置資訊停止保存,停止保存的操作可以是直接清除或者轉存到其它儲存位置等等。 The predetermined time period ΔT2 is generally equal to the predetermined time interval ΔT1 described above. Of course, in order to be compatible with the network delay or the like, the predetermined time period ΔT2 may also be slightly larger than the predetermined time interval ΔT1 and less than the duration of the continuous trigger signal. Obviously, after the predetermined time period ΔT2 is exceeded, the server may stop saving the geographical location information, and the operation of stopping the saving may be directly clearing or transferring to another storage location or the like.

在本實施例中,以預定時間段△T2等於1/5秒為例來描述,伺服器保存的該終端A的即時有效的地理位置資訊可以參考第4B圖所示。 In this embodiment, the predetermined time period ΔT2 is equal to 1/5 second as an example. The instantaneous effective geographical location information of the terminal A saved by the server can be referred to FIG. 4B.

步驟305,伺服器查詢符合預定條件的至少一個其它終端;該預定條件包括但不限於:根據其它終端提供的即時有效的地理位置資訊與終端A提供的即時有效的地理位置資訊所確定的距離小於臨界值,其它終端向伺服器提供即時有效的地理位置資訊的過程與步驟301至步驟304描述的過程相同或者類似。 Step 305: The server queries at least one other terminal that meets the predetermined condition; the predetermined condition includes, but is not limited to, determining that the distance determined according to the instantaneous effective geographical location information provided by the other terminal and the instantaneous effective geographical location information provided by the terminal A is less than The threshold, the process by which other terminals provide instantaneously valid geographic location information to the server is the same as or similar to the process described in steps 301 through 304.

該預定條件還可以包括屬性匹配、興趣愛好匹配、年齡段匹配等等其他可能的策略。但為了簡化描述,本實施例中僅以該預定條件包括兩個終端之間的距離是否小於臨界值來舉例說明。該臨界值可以是50米、100米或者1公里等等,具體數值視不同的實施例而不同。 The predetermined condition may also include attribute matching, hobby matching, age segment matching, and the like. However, in order to simplify the description, in this embodiment, only the predetermined condition includes whether the distance between the two terminals is less than a critical value. The threshold may be 50 meters, 100 meters or 1 kilometer, etc., and the specific values may vary depending on the embodiment.

由於伺服器中保存的各個終端的地理位置資訊均為即時有效的地理位置資訊,所以從效果上來講,伺服器查詢到的符合預定條件的其它終端,是與當前終端A在各自對應的持續觸發訊號的持續時間段上有交集的終端。換句話說,以持續觸發訊號是持續按壓按鈕為例,伺服器查詢到的符合預定條件的其它終端,是與終端A近乎同時被按住按鈕、且互相之間的距離小於臨界值的其它終端,各個終端上的持續觸發訊號的持續時間段可以相同也可以不同。若在終端A的按鈕被按下之前,其它終端B的按鈕已經被鬆開(其它終端B上報的地理位置資訊會馬上被伺服器停止保存),則該其它終端B不會被伺服器查詢為符合預定條件的其它終端;若 在終端A的按鈕被鬆開之後(當前終端上報的地理位置資訊會馬上被伺服器停止保存),其它終端C的按鈕才被按下,則該其它終端C也不會被伺服器查詢為符合預定條件的其它終端。 Since the geographical location information of each terminal stored in the server is real-time effective geographical location information, in effect, other terminals that are queried by the server and meet the predetermined conditions are continuously triggered corresponding to the current terminal A. There is an intersection terminal on the duration of the signal. In other words, taking the continuous trigger signal as an example of continuously pressing the button, the other terminals that the server has queried to meet the predetermined condition are other terminals that are pressed and held at the same time as the terminal A, and the distance between them is less than a critical value. The duration of the continuous trigger signal on each terminal may be the same or different. If the button of other terminal B has been released before the button of terminal A is pressed (the geographical location information reported by other terminal B will be stopped by the server immediately), the other terminal B will not be queried by the server. Other terminals that meet the predetermined conditions; After the button of terminal A is released (the geographical location information reported by the current terminal will be stopped by the server immediately), and the button of other terminal C is pressed, the other terminal C will not be queried by the server. Other terminals that meet the predetermined conditions.

步驟306,伺服器將至少一個其它終端的使用者資訊推薦給終端; Step 306: The server recommends user information of at least one other terminal to the terminal.

伺服器可以將查詢到的符合預定條件的至少一個其它終端的使用者資訊發送給終端A。使用者資訊通常包括身份資訊,身份資訊包括唯一身份標識、頭像、昵稱、簽名和個人簡介資訊中的至少一種。 The server may send the queried user information of the at least one other terminal that meets the predetermined condition to the terminal A. User information typically includes identity information, including at least one of a unique identity, avatar, nickname, signature, and profile information.

對應地,終端A接收伺服器推薦的至少一個其它終端的使用者資訊,該至少一個其它終端是伺服器查詢到的符合預定條件的終端。 Correspondingly, the terminal A receives user information of at least one other terminal recommended by the server, and the at least one other terminal is a terminal that is queried by the server and meets a predetermined condition.

優選地,使用者資訊不僅包括身份資訊,還包括相對地理位置,該相對地理位置表示其它終端相對於終端A的地理位置。該相對地理位置可以直接由其它終端的經緯度資訊來表徵。但是優選地,該相對地理位置也可以採用其它終端與終端A之間的距離r,和其它終端相對於終端A的方向或者說角度θ來表示。該相對地理位置由伺服器根據終端A和其它終端兩者的地理位置資訊計算得到。 Preferably, the user information includes not only identity information but also a relative geographic location, which indicates the geographic location of the other terminal relative to the terminal A. The relative geographic location can be directly characterized by latitude and longitude information of other terminals. Preferably, however, the relative geographic location may also be represented by the distance r between the other terminals and the terminal A, and the direction or angle θ of the other terminals relative to the terminal A. The relative geographic location is calculated by the server based on the geographic location information of both the terminal A and the other terminals.

此時,伺服器將至少一個其它終端的身份資訊和相對地理位置發送給終端A,該相對地理位置表示其它終端相對於終端A的地理位置。而終端A則接收伺服器發送的至少一個其它終端的身份資訊和相對地理位置。 At this time, the server sends the identity information and the relative geographical location of at least one other terminal to the terminal A, and the relative geographical location indicates the geographical location of the other terminal relative to the terminal A. Terminal A receives the identity information and relative geographic location of at least one other terminal sent by the server.

步驟307,終端在預定介面上顯示與其它終端一一對應的圖標,圖標的顯示內容和其它終端的身份資訊對應,圖標的顯示位置和其它終端的相對地理位置對應; Step 307: The terminal displays an icon corresponding to other terminals one by one on the predetermined interface, and the display content of the icon corresponds to the identity information of other terminals, and the display position of the icon corresponds to the relative geographical position of other terminals;

終端A在接收到其它終端的身份資訊和相對地理位置之後,可以在預定介面上顯示與其它終端一一對應的圖標,每個圖標的顯示內容和其它終端的身份資訊對應,圖標的顯示位置和其它終端的相對地理位置對應。 After receiving the identity information and the relative geographic location of the other terminal, the terminal A may display icons corresponding to other terminals one by one on the predetermined interface, and the display content of each icon corresponds to the identity information of other terminals, and the display position of the icon and The relative geographical positions of other terminals correspond.

比如,結合參考第4C圖所示,終端A在預定介面42上顯示與其它終端一一對應的圖標422,每個圖標的顯示內容包括其它終端的頭像和昵稱,每個圖標的顯示位置與其它終端的相對地理位置對應。 For example, as shown in FIG. 4C, the terminal A displays an icon 422 corresponding to other terminals one by one on the predetermined interface 42. The display content of each icon includes the avatar and nickname of other terminals, and the display position of each icon and other icons. The relative geographical position of the terminal corresponds.

作為本步驟的一種實現方式,終端A以預定介面42的中心 位置表示終端A的所在位置,將不超過預定個數的與其它終端一一對應的圖標422顯示在預定介面42的其它位置上,每個圖標422的顯示位置與中心位置的相對位置關係由對應的其它終端的相對地理位置確定。比如,預定介面42的中心位置所顯示的五角星表示終端A的所在位置,背景顯示雷達擴散動畫,而每個圖標422的顯示位置與中心位置之間的距離r',由對應其它終端的相對地理位置中的距離r確定;每個圖標422的顯示位置相對於中心位置的方向或者說角度θ',由對應其它終端的相對地理位置中的θ確定。 As an implementation manner of this step, the terminal A indicates the location of the terminal A by the center position of the predetermined interface 42 , and displays the icon 422 corresponding to the other terminals one by one in a predetermined number of other positions on the predetermined interface 42 . The relative positional relationship between the display position of each icon 422 and the center position is determined by the relative geographic location of the corresponding other terminal. For example, the five-pointed star displayed at the center of the predetermined interface 42 indicates the location of the terminal A, the background displays the radar diffusion animation, and the distance r ' between the display position and the center position of each icon 422 is relative to the other terminals. The distance r in the geographic location is determined; the direction of the display position of each icon 422 relative to the central location or the angle θ ' is determined by θ in the relative geographic location of the corresponding other terminal.

之後,使用者可以根據終端A顯示的與其它終端一一對應的圖標,來完成添加好友、添加聊天群組或者邀請其它用戶一起玩遊戲之類的預定處理。 After that, the user can complete the predetermined process of adding a friend, adding a chat group, or inviting other users to play the game together according to the icon corresponding to the other terminal displayed by the terminal A.

步驟308,終端接收基於預定介面觸發的指令; Step 308, the terminal receives an instruction triggered based on a predetermined interface;

終端A接收使用者基於預定介面觸發的指令。以完成添加好友為例,參考第4D圖,當用戶希望添加昵稱為“小褶子”的用戶為好友,則使用者可以點擊終端A上顯示的預定介面42裡昵稱為“小褶子”的圖標422,然後終端A彈出用於確認是否發送好友驗證的提示框424,並且在用戶點擊“確定發送”按鈕426之後,接收到用戶觸發的用於將昵稱為“小褶子”的使用者添加為好友的指令。 Terminal A receives an instruction triggered by the user based on a predetermined interface. Taking the example of completing the adding friend as an example, referring to the 4D figure, when the user wants to add a user who is called “small pleat” as a friend, the user can click the icon 422 called “small pleat” in the predetermined interface 42 displayed on the terminal A. Then, the terminal A pops up a prompt box 424 for confirming whether to send a friend verification, and after the user clicks the "OK Send" button 426, receives a user-triggered user for adding a nickname "small pleat" as a friend. instruction.

步驟309,終端根據該指令向伺服器發送請求; Step 309, the terminal sends a request to the server according to the instruction;

終端A根據接收到的用於將昵稱為“小褶子”的使用者添加為好友的指令,向伺服器發送添加好友請求,該添加好友請求攜帶有其它終端的身份資訊,比如昵稱“小褶子”的使用者的唯一身份標識。 The terminal A sends an add friend request to the server according to the received instruction for adding a user named “small pleat” as a friend, and the add friend request carries the identity information of other terminals, such as a nickname “small pleat”. The unique identity of the user.

步驟310,伺服器根據終端發送的請求來完成預定處理,預定處理包括添加好友和添加聊天群組。 Step 310: The server completes the predetermined process according to the request sent by the terminal, and the predetermined process includes adding a friend and adding a chat group.

伺服器接收終端A發送的請求,該請求是終端A根據基於預定介面觸發的指令發送的。以該請求為添加好友請求為例,伺服器接收到終端A發送的添加好友請求之後,根據添加好友請求中攜帶的其它終端的身份資訊向對應的終端D發送驗證請求;對應的終端D接收到驗證請求後,顯示用於確認是否接收好友驗證的提示框428,如第4D圖中所示;終端D在相應的使用者確認接收好友驗證後,向伺服器回饋確認指令;伺服器接收終端D發送的確認指令,然後將終端A和終端D添加為好友。 The server receives the request sent by terminal A, and the request is sent by terminal A according to an instruction triggered based on a predetermined interface. Taking the request as a friend request, the server receives the add friend request sent by the terminal A, and sends an authentication request to the corresponding terminal D according to the identity information of the other terminal carried in the add friend request; the corresponding terminal D receives After the verification request, a prompt box 428 for confirming whether to receive the friend verification is displayed, as shown in FIG. 4D; after the corresponding user confirms receiving the friend verification, the terminal D returns a confirmation instruction to the server; the server receives the terminal D. A confirmation command is sent, and then terminal A and terminal D are added as friends.

若添加好友成功,則伺服器可以向終端A和終端D發送添加成功訊號,終端A可以將終端D所對應的圖標進行區別顯示。結合參考第4E圖,在終端A向伺服器發送添加好友請求之後,終端A可以將終端D的頭像的右下角增加用於表示正在添加過程的時鐘狀指示;而在成功將終端D添加為好友後,終端A可以將終端D的頭像的右下角增加用於表示添加完畢的“√”狀指示。 If the friend is successfully added, the server may send the addition success signal to the terminal A and the terminal D, and the terminal A may display the icon corresponding to the terminal D differently. Referring to FIG. 4E, after terminal A sends a friend add request to the server, terminal A may add a lower right corner of the avatar of terminal D to indicate a clock-like indication of the process being added; and successfully add terminal D as a friend. After that, the terminal A can add the lower right corner of the avatar of the terminal D to indicate the added "√" indication.

綜上所述,本實施例提供的使用者資訊推薦方法,透過終端在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,伺服器根據其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊選擇符合預定條件的其它終端,並將符合預定條件的其它終端的使用者資訊推薦給該終端,解決了暫存時間跨度太長,導致伺服器的推薦結果對於當前用戶很可能是無效的問題;達到了伺服器向終端推薦的其它終端的使用者資訊,都是基於準確的、且即時有效的地理位置資訊推薦的使用者資訊,這些其它終端的使用者資訊在諸如添加好友或者添加聊天群組等後續處理時的有效性更強。 In summary, the user information recommendation method provided by the embodiment provides the instant and effective geographical location information to the server after receiving the continuous trigger signal, and the server provides the instantaneous and effective geographical location information provided by the other terminal. Selecting other terminals that meet the predetermined conditions with the instant and effective geographical location information provided by the terminal, and recommending the user information of other terminals that meet the predetermined conditions to the terminal, and solving the temporary storage time span is too long, resulting in the recommendation of the server. The result is likely to be invalid for the current user; the user information of the other terminals that are recommended by the server to the terminal is based on accurate and instant and effective geographic information recommendation user information, and the use of these other terminals Information is more effective in subsequent processing such as adding friends or adding chat groups.

本實施例還透過伺服器向終端發送其它終端的相對地理位置,終端在預定介面上顯示與其它終端一一對應的圖標,該圖標的顯示位置和其它終端的相對地理位置對應;使得使用者可以透過非常便捷的方式實現多人之間迅速添加好友。比如,當前用戶A與素不相識的三個其它用戶B、C和D召開臨時跨部門會議,會議過程中希望互相添加好友,但是當前用戶A使用傳統的“附近的人”功能後,伺服器可能會返回50個其它使用者的使用者資訊,當前使用者A需要手動在這50個其它用戶中篩選出其它用戶B、C和D,然後互加好友。由於整個過程需要多次點擊、切換介面等步驟,可能需要耗時十到二十分鐘的時間,效率非常低。但是採用本實施例提供的使用者資訊推薦方法,使用者A、用戶B、用戶C和用戶D同時按下各自使用的終端上的雷達按鈕後,均會得到與如第4C圖所類似的介面,然後互相添加好友的過程可能只需要耗時幾十秒或者幾秒鐘的時間,並且由於每個圖標的顯示位置與各個終端的實際的地理位置資訊有關,使用者在添加好友過程可以更有針對性,添加好友時的準確性和效率會更高。 In this embodiment, the relative geographic location of the other terminal is sent to the terminal through the server, and the terminal displays an icon corresponding to the other terminal one by one on the predetermined interface, and the display position of the icon corresponds to the relative geographical position of the other terminal; Quickly add friends between multiple people in a very convenient way. For example, the current user A and the three other users B, C, and D who have never met each other hold a temporary inter-departmental meeting. During the meeting, they want to add friends to each other, but the current user A uses the traditional "nearby people" function, the server User information of 50 other users may be returned. Currently, user A needs to manually filter out other users B, C, and D among the 50 other users, and then add friends. Since the whole process requires multiple clicks, switching interfaces, etc., it may take 10 to 20 minutes, and the efficiency is very low. However, with the user information recommendation method provided in this embodiment, after user A, user B, user C, and user D simultaneously press the radar button on the terminal used by each user, an interface similar to that shown in FIG. 4C is obtained. And then the process of adding friends to each other may only take tens of seconds or a few seconds, and since the display position of each icon is related to the actual geographical location information of each terminal, the user may have more process in adding friends. Targeted, the accuracy and efficiency of adding friends will be higher.

請參考第5圖,其示出了本發明另一實施例提供的使用者資 訊推薦方法的方法流程圖。本實施例仍然以該使用者資訊推薦方法應用於第1圖所示的實施環境中舉例說明。作為基於第2圖所示實施例提供的更為優選的實施例,本實施例對終端向伺服器提供即時有效的地理位置資訊的第二種具體實現方式進行詳細闡述。該使用者資訊推薦方法,包括: Please refer to FIG. 5, which shows a user resource provided by another embodiment of the present invention. Flow chart of the method of recommendation method. This embodiment is still exemplified by applying the user information recommendation method to the implementation environment shown in FIG. 1. As a more preferred embodiment provided based on the embodiment shown in FIG. 2, this embodiment details the second specific implementation manner in which the terminal provides the instantaneous effective geographical location information to the server. The user information recommendation method includes:

步驟501,終端接收持續觸發訊號; Step 501: The terminal receives a continuous trigger signal.

終端A運行有即時通信程式,使用者可以在即時通信程式中發出持續觸發訊號。然後,終端A接收使用者發出的持續觸發訊號。 Terminal A runs an instant messaging program, and the user can send a continuous trigger signal in the instant messaging program. Then, terminal A receives the continuous trigger signal sent by the user.

以終端A是智慧手機為例,結合參考第4A圖,使用者可以在終端A顯示的有關即時通信程式的第一介面41中持續按壓雷達按鈕411,來向終端A發出持續觸發訊號,終端A可以接收該持續觸發訊號。該持續觸發訊號的持續時間段由用戶決定,比如3秒,10秒等等。 Taking the terminal A as a smart phone as an example, in conjunction with the reference to FIG. 4A, the user can continuously press the radar button 411 in the first interface 41 of the instant messaging program displayed on the terminal A to send a continuous trigger signal to the terminal A, and the terminal A can Receive the continuous trigger signal. The duration of the continuous trigger signal is determined by the user, such as 3 seconds, 10 seconds, and the like.

在其它實施例中,該持續觸發訊號還可以是其它類型的持續一段時間的訊號,比如持續搖動終端的訊號等等。 In other embodiments, the continuous trigger signal may also be other types of signals that last for a period of time, such as continuously shaking the signal of the terminal.

步驟502,終端在接收到持續觸發訊號之後,透過基於位置的服務LBS獲取地理位置資訊; Step 502: After receiving the persistent trigger signal, the terminal acquires geographic location information through the location-based service LBS.

LBS(Location Based Service,基於位置的服務)是透過電信移動運營商的無線電通訊網路(如GSM網、CDMA網)或外部定位方式(如GPS)獲取移動終端使用者的位置資訊(地理座標,或大地座標),在GIS(Geographic Information System,地理資訊系統)平臺的支援下,為使用者提供相應服務的一種增值業務。 LBS (Location Based Service) is to obtain the location information (geographic coordinates of the mobile terminal user) through the telecommunication mobile operator's radio communication network (such as GSM network, CDMA network) or external positioning method (such as GPS), or Earth coordinates), a value-added service that provides users with corresponding services, supported by the GIS (Geographic Information System) platform.

終端A在接收到持續觸發訊號之後,可以透過LBS獲取自身的地理位置資訊,即經緯度資訊。此步驟為本領域技術人員熟知的內容,不再贅述。 After receiving the continuous trigger signal, terminal A can obtain its own geographical location information, that is, latitude and longitude information, through the LBS. This step is well known to those skilled in the art and will not be described again.

步驟503,終端向伺服器發送該地理位置資訊; Step 503: The terminal sends the geographical location information to the server.

然後,終端A向伺服器發送該地理位置資訊。 Terminal A then sends the geographic location information to the server.

對應地,伺服器接收終端A發送的地理位置資訊,該地理位置資訊是終端A在接收到持續觸發訊號之後,透過基於位置的服務LBS獲取到的地理位置資訊。 Correspondingly, the server receives the geographical location information sent by the terminal A, and the geographical location information is the geographical location information acquired by the location-based service LBS after the terminal A receives the continuous trigger signal.

步驟504,伺服器將接收到的地理位置資訊保存,並將保存的地理位置資訊作為終端的即時有效的地理位置資訊; Step 504: The server saves the received geographical location information, and uses the saved geographical location information as the instantaneous effective geographical location information of the terminal;

步驟505,終端在持續觸發訊號停止後,向伺服器發送停止 訊號; Step 505, the terminal sends a stop to the server after the continuous trigger signal stops. Signal

該停止訊號表示持續觸發訊號已經停止;比如,終端A上的雷達按鈕411被鬆開後,終端A向伺服器發送停止訊號,該停止訊號表示持續觸發訊號已經停止。 The stop signal indicates that the continuous trigger signal has been stopped; for example, after the radar button 411 on the terminal A is released, the terminal A sends a stop signal to the server, and the stop signal indicates that the continuous trigger signal has stopped.

步驟506,伺服器在接收到停止訊號後,將地理位置資訊停止保存。 Step 506: After receiving the stop signal, the server stops the geographical location information from being saved.

伺服器在接收到終端A發送的停止訊號後,將終端A的地理位置資訊停止保存,該停止保存可以是直接清除或者轉存到其他儲存位置。 After receiving the stop signal sent by the terminal A, the server stops the geographical location information of the terminal A, and the stop saving may be directly cleared or transferred to another storage location.

在步驟503之後,步驟506之前,還包括如下的步驟507至步驟509。 After step 503, before step 506, the following steps 507 to 509 are further included.

步驟507,伺服器查詢符合預定條件的至少一個其它終端; Step 507, the server queries at least one other terminal that meets the predetermined condition;

該預定條件包括但不限於:根據其它終端提供的即時有效的地理位置資訊與終端A提供的即時有效的地理位置資訊所確定的距離小於臨界值,其它終端向伺服器提供即時有效的地理位置資訊的過程與步驟501至步驟506描述的過程相同或者類似。 The predetermined conditions include, but are not limited to, the distance determined by the instantaneous effective geographical location information provided by the other terminal and the instantaneous effective geographical location information provided by the terminal A is less than a critical value, and the other terminals provide the instant and effective geographical location information to the server. The process is the same as or similar to the process described in steps 501 through 506.

該預定條件還可以包括屬性匹配、興趣愛好匹配、年齡段匹配等等其他可能的策略。但為了簡化描述,本實施例中僅以該預定條件包括兩個終端之間的距離是否小於臨界值來舉例說明。該臨界值可以是50米、100米或者1公里等等,具體數值視不同的實施例而不同。 The predetermined condition may also include attribute matching, hobby matching, age segment matching, and the like. However, in order to simplify the description, in this embodiment, only the predetermined condition includes whether the distance between the two terminals is less than a critical value. The threshold may be 50 meters, 100 meters or 1 kilometer, etc., and the specific values may vary depending on the embodiment.

由於伺服器中保存的各個終端的地理位置資訊均為即時有效的地理位置資訊,所以從效果上來講,伺服器查詢到的符合預定條件的其它終端,是與當前終端A在各自對應的持續觸發訊號的持續時間段上有交集的終端。換句話說,以持續觸發訊號是持續按壓按鈕為例,伺服器查詢到的符合預定條件的其它終端,是與終端A近乎同時被按住按鈕、且互相之間的距離小於臨界值的其它終端,各個終端上的持續觸發訊號的持續時間段可以相同也可以不同。若在終端A的按鈕被按下之前,其它終端B的按鈕已經被鬆開(其它終端B上報的地理位置資訊會馬上被伺服器停止保存),則該其它終端B不會被伺服器查詢為符合預定條件的其它終端;若在終端A的按鈕被鬆開之後(當前終端上報的地理位置資訊會馬上被伺服器停止保存),其它終端C的按鈕才被按下,則該其它終端C也不會被伺服 器查詢為符合預定條件的其它終端。 Since the geographical location information of each terminal stored in the server is real-time effective geographical location information, in effect, other terminals that are queried by the server and meet the predetermined conditions are continuously triggered corresponding to the current terminal A. There is an intersection terminal on the duration of the signal. In other words, taking the continuous trigger signal as an example of continuously pressing the button, the other terminals that the server has queried to meet the predetermined condition are other terminals that are pressed and held at the same time as the terminal A, and the distance between them is less than a critical value. The duration of the continuous trigger signal on each terminal may be the same or different. If the button of other terminal B has been released before the button of terminal A is pressed (the geographical location information reported by other terminal B will be stopped by the server immediately), the other terminal B will not be queried by the server. Other terminals that meet the predetermined conditions; if the button of the terminal A is released (the geographical location information reported by the current terminal is immediately stopped by the server), and the button of the other terminal C is pressed, the other terminal is C will not be servoed The device queries other terminals that meet the predetermined conditions.

步驟508,伺服器將至少一個其它終端的使用者資訊推薦給終端; Step 508: The server recommends user information of at least one other terminal to the terminal.

伺服器可以將查詢到的符合預定條件的至少一個其它終端的使用者資訊發送給終端A。使用者資訊通常包括身份資訊,身份資訊包括唯一身份標識、頭像、昵稱、簽名和個人簡介資訊中的至少一種。 The server may send the queried user information of the at least one other terminal that meets the predetermined condition to the terminal A. User information typically includes identity information, including at least one of a unique identity, avatar, nickname, signature, and profile information.

對應地,終端A接收伺服器推薦的至少一個其它終端的使用者資訊,該至少一個其它終端是伺服器查詢到的符合預定條件的終端。 Correspondingly, the terminal A receives user information of at least one other terminal recommended by the server, and the at least one other terminal is a terminal that is queried by the server and meets a predetermined condition.

優選地,使用者資訊不僅包括身份資訊,還包括相對地理位置,該相對地理位置表示其它終端相對於終端A的地理位置。該相對地理位置可以直接由其它終端的經緯度資訊來表徵。但是優選地,該相對地理位置也可以採用其它終端與終端A之間的距離r,和其它終端相對於終端A的方向或者說角度θ來表示。該相對地理位置由伺服器根據終端A和其它終端兩者的地理位置資訊計算得到。 Preferably, the user information includes not only identity information but also a relative geographic location, which indicates the geographic location of the other terminal relative to the terminal A. The relative geographic location can be directly characterized by latitude and longitude information of other terminals. Preferably, however, the relative geographic location may also be represented by the distance r between the other terminals and the terminal A, and the direction or angle θ of the other terminals relative to the terminal A. The relative geographic location is calculated by the server based on the geographic location information of both the terminal A and the other terminals.

此時,伺服器將至少一個其它終端的身份資訊和相對地理位置發送給終端A,該相對地理位置表示其它終端相對於終端A的地理位置。而終端A則接收伺服器發送的至少一個其它終端的身份資訊和相對地理位置。 At this time, the server sends the identity information and the relative geographical location of at least one other terminal to the terminal A, and the relative geographical location indicates the geographical location of the other terminal relative to the terminal A. Terminal A receives the identity information and relative geographic location of at least one other terminal sent by the server.

步驟509,終端在預定介面上顯示與其它終端一一對應的圖標,圖標的顯示內容和其它終端的身份資訊對應,圖標的顯示位置和其它終端的相對地理位置對應; Step 509: The terminal displays an icon corresponding to other terminals one by one on the predetermined interface, and the display content of the icon corresponds to the identity information of other terminals, and the display position of the icon corresponds to the relative geographical position of other terminals;

終端A在接收到其它終端的身份資訊和相對地理位置之後,可以在預定介面上顯示與其它終端一一對應的圖標,每個圖標的顯示內容和其它終端的身份資訊對應,圖標的顯示位置和其它終端的相對地理位置對應。 After receiving the identity information and the relative geographic location of the other terminal, the terminal A may display icons corresponding to other terminals one by one on the predetermined interface, and the display content of each icon corresponds to the identity information of other terminals, and the display position of the icon and The relative geographical positions of other terminals correspond.

比如,結合參考第6A圖所示,終端A在預定介面62上顯示與其它終端一一對應的圖標622,每個圖標的顯示內容包括其它終端的頭像和暱稱,每個圖標的顯示位置與其它終端的相對地理位置對應。 For example, as shown in FIG. 6A, the terminal A displays an icon 622 corresponding to other terminals one by one on the predetermined interface 62. The display content of each icon includes the avatar and nickname of other terminals, and the display position of each icon and other icons. The relative geographical position of the terminal corresponds.

作為本步驟的另一種實現方式,設終端A的所在位置為極坐標系中的原點,其它終端的相對地理位置用極座標(r,θ)表示,r表示其它終端與終端A之間的距離,θ表示其它終端相對與終端A的角度, 則終端A以預定介面62的底部邊線的中點位置表示終端A的所在位置,也即用雷達按鈕411表示終端A的所在位置,然後將不超過預定個數的與其它終端一一對應的圖標顯示在預定介面62的其它位置上。其中,若一個其它終端E的相對地理位置(r,θ)中的θ屬於(0,180°),則直接根據(r,θ)確定與其它終端E對應的圖標的顯示位置,如第6B圖所示的確定過程;若一個其它終端F的相對地理位置(r,θ)中的θ屬於(180°,360°),則根據(r,360°-θ)或者(r,θ-180°)確定與其它終端對應的圖標的顯示位置,如第6C圖或者如第6D圖所示的確定過程。 As another implementation manner of this step, the location of the terminal A is the origin in the polar coordinate system, the relative geographic location of the other terminals is represented by a polar coordinate (r, θ), and r represents the distance between the other terminal and the terminal A. , θ represents the angle of other terminals relative to terminal A, Then, the terminal A indicates the location of the terminal A at the midpoint position of the bottom edge of the predetermined interface 62, that is, the radar button 411 indicates the location of the terminal A, and then the icon corresponding to the other terminals is not more than a predetermined number. It is displayed at other locations of the predetermined interface 62. Wherein, if θ of the relative geographical position (r, θ) of one other terminal E belongs to (0, 180°), the display position of the icon corresponding to the other terminal E is directly determined according to (r, θ), for example, 6B The determination process shown in the figure; if θ in the relative geographical position (r, θ) of one other terminal F belongs to (180°, 360°), according to (r, 360°-θ) or (r, θ-180 °) Determine the display position of the icon corresponding to the other terminal, as shown in Fig. 6C or the determination process as shown in Fig. 6D.

之後,使用者可以根據終端A顯示的與其它終端一一對應的圖標,來完成添加好友、添加聊天群組或者邀請其它用戶一起玩遊戲之類的預定處理。 After that, the user can complete the predetermined process of adding a friend, adding a chat group, or inviting other users to play the game together according to the icon corresponding to the other terminal displayed by the terminal A.

上述推薦過程可以執行多次,也即在預定介面62上,使用者還可以再次按壓雷達按鈕411,然後伺服器再次查詢符合預定條件的其它終端,並將查詢到的其它終端的使用者資訊推薦給終端A。只要預定介面62未被退出或者達到預定時長(比如15分鐘),終端A就可以將多次推薦結果累積顯示在預定介面61上,當然,顯示的所有圖標個數要一直不能超過預定個數(比如15個)。 The above recommendation process may be performed multiple times, that is, on the predetermined interface 62, the user may press the radar button 411 again, and then the server again queries other terminals that meet the predetermined conditions, and recommends the user information of the other terminals that are queried. Give terminal A. As long as the predetermined interface 62 is not exited or reaches a predetermined length of time (for example, 15 minutes), the terminal A can cumulatively display the plurality of recommendation results on the predetermined interface 61. Of course, the number of all icons displayed must not exceed the predetermined number. (such as 15).

步驟510,終端接收基於預定介面觸發的指令; Step 510: The terminal receives an instruction triggered according to a predetermined interface.

終端A接收使用者基於預定介面觸發的指令。以完成添加聊天群組為例,當使用者希望添加多個其它終端進入聊天群組,則使用者可以點擊終端A上顯示的預定介面62上的聊天群組添加圖標624,然後終端A顯示如第6E圖或者如第6F圖所示的聊天群組添加介面,在使用者選擇若干個其它終端64,並點擊“進入聊天群組”按鈕626之後,接收到用戶觸發的用於添加其它終端64進入聊天群組的指令。 Terminal A receives an instruction triggered by the user based on a predetermined interface. For example, when the user adds a plurality of other terminals to enter the chat group, the user can click the chat group add icon 624 on the predetermined interface 62 displayed on the terminal A, and then the terminal A displays as 6E or the chat group adding interface as shown in FIG. 6F, after the user selects several other terminals 64 and clicks the “Enter Chat Group” button 626, the user triggers the addition of other terminals 64. Instructions to enter the chat group.

步驟511,終端根據該指令向伺服器發送請求; Step 511: The terminal sends a request to the server according to the instruction;

終端A根據接收到的用於添加其它終端64進入聊天群組的指令,向伺服器發送添加聊天群組請求,該添加聊天群組請求攜帶有其它終端的身份資訊,比如昵稱“小褶子”、“小凳子”和“小瘋子”的三個其它終端64的唯一身份標識。 The terminal A sends an add chat group request to the server according to the received instruction for adding another terminal 64 to enter the chat group, and the add chat group request carries the identity information of other terminals, such as a nickname “small pleat”, The unique identity of the three other terminals 64 of "stool" and "small madman".

步驟512,伺服器根據終端發送的請求來完成預定處理,預 定處理包括添加好友和添加聊天群組。 Step 512: The server completes the predetermined processing according to the request sent by the terminal, and Processing includes adding friends and adding chat groups.

伺服器接收終端A發送的請求,該請求是終端A根據基於預定介面觸發的指令發送的。以該請求為添加聊天群組請求為例,伺服器接收到終端A發送的添加聊天群組請求之後,根據添加聊天群組請求中攜帶的其它終端的身份資訊將終端A和其它終端64加入到同一個聊天群組中。在一些實施例中,將其它終端64加入聊天群組的過程無需經過其它終端64的同意;在另外一些實施例中,將其它終端64加入聊天群組的過程需要經過其它終端64的同意。 The server receives the request sent by terminal A, and the request is sent by terminal A according to an instruction triggered based on a predetermined interface. Taking the request to add a chat group request as an example, after receiving the add chat group request sent by the terminal A, the server adds the terminal A and other terminals 64 according to the identity information of other terminals carried in the add chat group request. In the same chat group. In some embodiments, the process of joining other terminals 64 to the chat group need not be approved by other terminals 64; in other embodiments, the process of joining other terminals 64 to the chat group requires the consent of the other terminals 64.

綜上所述,本實施例提供的使用者資訊推薦方法,透過終端在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,伺服器根據其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊選擇符合預定條件的其它終端,並將符合預定條件的其它終端的使用者資訊推薦給該終端,解決了暫存時間跨度太長,導致伺服器的推薦結果對於當前用戶很可能是無效的問題;達到了伺服器向終端推薦的其它終端的使用者資訊,都是基於準確的、且即時有效的地理位置資訊推薦的使用者資訊,這些其它終端的使用者資訊在諸如添加好友或者添加聊天群組等後續處理時的有效性更強。 In summary, the user information recommendation method provided by the embodiment provides the instant and effective geographical location information to the server after receiving the continuous trigger signal, and the server provides the instantaneous and effective geographical location information provided by the other terminal. Selecting other terminals that meet the predetermined conditions with the instant and effective geographical location information provided by the terminal, and recommending the user information of other terminals that meet the predetermined conditions to the terminal, and solving the temporary storage time span is too long, resulting in the recommendation of the server. The result is likely to be invalid for the current user; the user information of the other terminals that are recommended by the server to the terminal is based on accurate and instant and effective geographic information recommendation user information, and the use of these other terminals Information is more effective in subsequent processing such as adding friends or adding chat groups.

本實施例還透過伺服器向終端發送其它終端的相對地理位置,終端在預定介面上顯示與其它終端一一對應的圖標,該圖標的顯示位置和其它終端的相對地理位置對應;使得使用者可以透過非常便捷的方式實現多人之間迅速添加好友。比如,當前用戶A與素不相識的三個其它用戶B、C和D召開臨時跨部門會議,會議過程中希望臨時加入聊天群組,但是當前用戶A使用傳統的“附近的人”功能後,需要先加其它使用者B、C和D為好友,然後再將這幾個用戶加入同一個聊天群組。由於整個過程需要多次點擊、切換介面等步驟,可能需要耗時十到二十分鐘的時間,效率非常低。但是採用本實施例提供的使用者資訊推薦方法,使用者A、用戶B、用戶C和用戶D同時按下各自使用的終端上的按鈕後,均會得到與如第4C圖所類似的介面,然後使用者A將用戶B、用戶C和用戶D加入聊天群組的過程可能只需要耗時幾十秒或者幾秒鐘的時間,並且由於每個圖標的顯示位置與各個終端的實際的地理位置資訊有關,使用者在添加聊天群組過程可以更有針對性,添加聊天群組時的準確性和效率會更高。 In this embodiment, the relative geographic location of the other terminal is sent to the terminal through the server, and the terminal displays an icon corresponding to the other terminal one by one on the predetermined interface, and the display position of the icon corresponds to the relative geographical position of the other terminal; Quickly add friends between multiple people in a very convenient way. For example, the current user A and the three other users B, C, and D who have never met each other hold a temporary inter-departmental meeting. During the meeting, they want to temporarily join the chat group, but the current user A uses the traditional "nearby people" function. You need to add other users B, C, and D as friends, and then add these users to the same chat group. Since the whole process requires multiple clicks, switching interfaces, etc., it may take 10 to 20 minutes, and the efficiency is very low. However, with the user information recommendation method provided in this embodiment, after user A, user B, user C, and user D simultaneously press the button on the terminal used by each user, an interface similar to that shown in FIG. 4C is obtained. Then the process in which user A adds user B, user C, and user D to the chat group may only take tens of seconds or seconds, and because of the display position of each icon and the actual geographic location of each terminal. Information related, users can be more targeted in the process of adding chat groups, the accuracy and efficiency of adding chat groups will be higher.

下面為本發明中的裝置實施例,對於裝置實施例中未詳盡描述的細節,可以結合參考上述一一對應的方法實施例。 The following is an embodiment of the device in the present invention. For details that are not described in detail in the device embodiment, reference may be made to the method embodiment of the one-to-one corresponding reference.

請參考第7圖,其示出了本發明一個實施例提供的使用者資訊推薦系統的結構示意圖。該使用者資訊推薦系統包括終端720和伺服器740。終端720和伺服器740之間透過有線網路或者無線網路相連。 Please refer to FIG. 7, which is a schematic structural diagram of a user information recommendation system according to an embodiment of the present invention. The user information recommendation system includes a terminal 720 and a server 740. The terminal 720 and the server 740 are connected through a wired network or a wireless network.

終端720可以包括使用者資訊推薦裝置,該使用者資訊推薦裝置可以透過軟體、硬體或者兩者的結合實現。該使用者資訊推薦裝置,包括:訊號接收模組722、資訊提供模組724和資訊接收模組726。 The terminal 720 can include a user information recommendation device, and the user information recommendation device can be implemented by a combination of software, hardware, or both. The user information recommendation device includes: a signal receiving module 722, an information providing module 724, and an information receiving module 726.

訊號接收模組722,用於接收持續觸發訊號;資訊提供模組724,用於在接收到所述持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;資訊接收模組726,用於接收所述伺服器推薦的至少一個其它終端的使用者資訊,所述至少一個其它終端是所述伺服器查詢到的符合預定條件的終端;所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值。 The signal receiving module 722 is configured to receive the continuous trigger signal, and the information providing module 724 is configured to provide the server with instant and effective geographic location information after receiving the continuous trigger signal, and the instant valid geographic location information The effective time period corresponds to the duration of the continuous trigger signal; the information receiving module 726 is configured to receive user information of at least one other terminal recommended by the server, and the at least one other terminal is the servo The terminal that is queried to meet the predetermined condition; the predetermined condition includes: determining, according to the instantaneous effective geographical location information provided by the other terminal, the distance determined by the instantaneous effective geographical location information provided by the terminal is less than a critical value.

伺服器740可以包括使用者資訊推薦裝置,該使用者資訊推薦裝置可以透過軟體、硬體或者兩者的結合實現。該使用者資訊推薦裝置,包括:資訊獲取模組742、資訊查詢模組744和資訊推薦模組746。 The server 740 can include a user information recommendation device that can be implemented by software, hardware, or a combination of both. The user information recommendation device includes: an information acquisition module 742, an information inquiry module 744, and an information recommendation module 746.

資訊獲取模組742,用於獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;資訊查詢模組744,用於查詢符合預定條件的至少一個其它終端,所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值;資訊推薦模組746,用於將所述至少一個其它終端的使用者資訊推薦給所述終端。 The information obtaining module 742 is configured to obtain real-time effective geographical location information provided by the terminal after receiving the continuous triggering signal, where the effective time period of the instant valid geographical location information corresponds to the duration of the continuous triggering signal; The information query module 744 is configured to query at least one other terminal that meets the predetermined condition, where the predetermined condition includes: according to the instantaneous effective geographical location information provided by the other terminal, and the instantaneous effective geographical location information provided by the terminal. The determined distance is less than the threshold; the information recommendation module 746 is configured to recommend user information of the at least one other terminal to the terminal.

綜上所述,本實施例提供的使用者資訊推薦系統,透過終端 在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,伺服器根據其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊選擇符合預定條件的其它終端,並將符合預定條件的其它終端的使用者資訊推薦給該終端,解決了暫存時間跨度太長,導致伺服器的推薦結果對於當前用戶很可能是無效的問題;達到了伺服器向終端推薦的其它終端的使用者資訊,都是基於準確的、且即時有效的地理位置資訊推薦的使用者資訊,這些其它終端的使用者資訊在諸如添加好友或者添加聊天群組等後續處理時的有效性更強。 In summary, the user information recommendation system provided in this embodiment is through the terminal. After receiving the continuous trigger signal, the server provides instant and effective geographical location information, and the server selects other terminals that meet the predetermined conditions according to the instant and effective geographical location information provided by other terminals and the instant and effective geographical location information provided by the terminal. And recommending user information of other terminals that meet the predetermined conditions to the terminal, and solving the problem that the temporary storage time span is too long, and the recommendation result of the server is likely to be invalid for the current user; the server is recommended to the terminal. The user information of other terminals is based on the user information of accurate and instant and effective geographical information recommendation, and the user information of these other terminals is valid in subsequent processing such as adding a friend or adding a chat group. Stronger.

請參考第8圖,其示出了本發明一個實施例提供的使用者資訊推薦系統的結構示意圖。該使用者資訊推薦系統包括終端720和伺服器740。終端720和伺服器740之間透過有線網路或者無線網路相連。 Please refer to FIG. 8 , which is a schematic structural diagram of a user information recommendation system according to an embodiment of the present invention. The user information recommendation system includes a terminal 720 and a server 740. The terminal 720 and the server 740 are connected through a wired network or a wireless network.

終端720可以包括使用者資訊推薦裝置,該使用者資訊推薦裝置可以透過軟體、硬體或者兩者的結合實現。該使用者資訊推薦裝置,包括:訊號接收模組722、資訊提供模組724、資訊接收模組726、圖標顯示模組727、指令接收模組728和請求發送模組729。 The terminal 720 can include a user information recommendation device, and the user information recommendation device can be implemented by a combination of software, hardware, or both. The user information recommendation device includes: a signal receiving module 722, an information providing module 724, an information receiving module 726, an icon display module 727, an instruction receiving module 728, and a request sending module 729.

訊號接收模組722,用於接收持續觸發訊號;資訊提供模組724,用於在接收到所述持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;資訊接收模組726,用於接收所述伺服器推薦的至少一個其它終端的使用者資訊,所述至少一個其它終端是所述伺服器查詢到的符合預定條件的終端;所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值。 The signal receiving module 722 is configured to receive the continuous trigger signal, and the information providing module 724 is configured to provide the server with instant and effective geographic location information after receiving the continuous trigger signal, and the instant valid geographic location information The effective time period corresponds to the duration of the continuous trigger signal; the information receiving module 726 is configured to receive user information of at least one other terminal recommended by the server, and the at least one other terminal is the servo The terminal that is queried to meet the predetermined condition; the predetermined condition includes: determining, according to the instantaneous effective geographical location information provided by the other terminal, the distance determined by the instantaneous effective geographical location information provided by the terminal is less than a critical value.

具體來講,所述資訊提供模組724,包括:資訊獲取單元724a和第一發送單元724b;所述資訊獲取單元724a,用於在接收到所述持續觸發訊號之後,透過基於位置的服務LBS獲取地理位置資訊;所述第一發送單元724b,用於在所述持續觸發訊號的持續時間段內,按照預定時間間隔△T1向所述伺服器週期發送所述地理位置資 訊,以便所述伺服器將每次接收到的地理位置資訊保存預定時間段△T2,並將保存的所述地理位置資訊作為所述終端的即時有效的地理位置資訊;其中,所述△T1小於所述持續觸發訊號的持續時間段;所述△T2等於或者大於所述△T1,且小於所述持續觸發訊號的持續時間段。 Specifically, the information providing module 724 includes: an information acquiring unit 724a and a first sending unit 724b. The information acquiring unit 724a is configured to pass the location-based service LBS after receiving the continuous trigger signal. Obtaining geographic location information; the first sending unit 724b is configured to send the geographic location information to the server cycle according to a predetermined time interval ΔT1 during a duration of the persistent trigger signal So that the server saves the received geographic location information for a predetermined time period ΔT2, and uses the saved geographical location information as the instantaneous effective geographical location information of the terminal; wherein the ΔT1 a duration that is less than the duration of the continuous trigger signal; the ΔT2 is equal to or greater than the ΔT1 and less than a duration of the continuous trigger signal.

具體來講,所述資訊接收模組726,用於接收所述伺服器發送的至少一個其它終端的身份資訊和相對地理位置,所述相對地理位置表示所述其它終端相對於所述終端的地理位置;所述圖標顯示模組727,用於在預定介面上顯示與所述其它終端一一對應的圖標,所述圖標的顯示內容和所述其它終端的身份資訊對應,所述圖標的顯示位置和所述其它終端的相對地理位置對應。 Specifically, the information receiving module 726 is configured to receive identity information and a relative geographic location of at least one other terminal sent by the server, where the relative geographic location indicates a geographic location of the other terminal relative to the terminal The icon display module 727 is configured to display an icon corresponding to the other terminal one by one on a predetermined interface, where the display content of the icon corresponds to the identity information of the other terminal, and the display position of the icon Corresponding to the relative geographic location of the other terminals.

在一種實現方式下,所述圖標顯示模組727,用於以所述預定介面的中心位置表示所述終端的所在位置,將不超過預定個數的與所述其它終端一一對應的圖標顯示在所述預定介面的其它位置上,每個圖標的顯示位置與所述中心位置的相對位置關係由對應的其它終端的相對地理位置確定。 In an implementation manner, the icon display module 727 is configured to indicate, by using a center position of the predetermined interface, a location of the terminal, and display an icon corresponding to the other terminals one by one without exceeding a predetermined number. At other locations of the predetermined interface, the relative positional relationship of the display position of each icon to the central location is determined by the relative geographic location of the corresponding other terminal.

在另外一種實現方式下,設所述終端的所在位置為極坐標系中的原點,所述其它終端的相對地理位置用極座標(r,θ)表示,所述r表示所述其它終端與所述終端之間的距離,所述θ表示所述其它終端相對與所述終端的角度;所述圖標顯示模組727,用於以所述預定介面的底部邊線的中點位置表示所述終端的所在位置,將不超過預定個數的與所述其它終端一一對應的圖標顯示在所述預定介面的其它位置上;若一個其它終端的相對地理位置(r,θ)中的θ屬於(0,180°),則直接根據(r,θ)確定與所述其它終端對應的圖標的顯示位置;若一個其它終端的相對地理位置(r,θ)中的θ屬於(180°,360°),則根據(r,360°-θ)或者(r,θ-180°)確定與所述其它終端對應的圖標的顯示位置。 In another implementation manner, the location of the terminal is an origin in a polar coordinate system, and the relative geographic location of the other terminal is represented by a polar coordinate (r, θ), where the r represents the other terminal and the The distance between the terminals, the θ represents an angle of the other terminal relative to the terminal; the icon display module 727 is configured to represent the terminal with a midpoint position of a bottom edge of the predetermined interface a location where no more than a predetermined number of icons corresponding to the other terminals are displayed at other locations of the predetermined interface; if θ of the relative geographic locations (r, θ) of one of the other terminals belongs to (0) , 180°), the display position of the icon corresponding to the other terminal is directly determined according to (r, θ); if θ in the relative geographical position (r, θ) of one other terminal belongs to (180°, 360°) Then, the display position of the icon corresponding to the other terminal is determined according to (r, 360°-θ) or (r, θ-180°).

所述指令接收模組728,用於接收基於所述預定介面觸發的指令;所述請求發送模組729,用於根據所述指令向所述伺服器發送請求,以便所述伺服器根據所述請求完成預定處理,所述預定處理包括 添加好友或者添加聊天群組。 The instruction receiving module 728 is configured to receive an instruction triggered based on the predetermined interface; the request sending module 729 is configured to send a request to the server according to the instruction, so that the server is configured according to the Requesting completion of a predetermined process, the predetermined process including Add a friend or add a chat group.

伺服器740可以包括使用者資訊推薦裝置,該使用者資訊推薦裝置可以透過軟體、硬體或者兩者的結合實現。該使用者資訊推薦裝置,包括:資訊獲取模組742、資訊查詢模組744、資訊推薦模組746和預定處理模組748。 The server 740 can include a user information recommendation device that can be implemented by software, hardware, or a combination of both. The user information recommendation device includes: an information acquisition module 742, an information inquiry module 744, an information recommendation module 746, and a predetermined processing module 748.

資訊獲取模組742,用於獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;資訊查詢模組744,用於查詢符合預定條件的至少一個其它終端,所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值;資訊推薦模組746,用於將所述至少一個其它終端的使用者資訊推薦給所述終端。 The information obtaining module 742 is configured to obtain real-time effective geographical location information provided by the terminal after receiving the continuous triggering signal, where the effective time period of the instant valid geographical location information corresponds to the duration of the continuous triggering signal; The information query module 744 is configured to query at least one other terminal that meets the predetermined condition, where the predetermined condition includes: according to the instantaneous effective geographical location information provided by the other terminal, and the instantaneous effective geographical location information provided by the terminal. The determined distance is less than the threshold; the information recommendation module 746 is configured to recommend user information of the at least one other terminal to the terminal.

具體來講,所述資訊獲取模組742,包括:第一接收單元742a和第一保存單元742b;所述第一接收單元742a,用於接收終端在所述持續觸發訊號的持續時間段內,按照預定時間間隔△T1週期發送的地理位置資訊,所述地理位置資訊是所述終端在接收到所述持續觸發訊號之後,透過基於位置的服務LBS獲取到的地理位置資訊;所述第一保存單元742b,用於將每次接收到的地理位置資訊保存預定時間段△T2,並將保存的所述地理位置資訊作為所述終端的即時有效的地理位置資訊;其中,所述△T1小於所述持續觸發訊號的持續時間段;所述△T2等於或者大於所述△T1,且小於所述持續觸發訊號的持續時間段。 Specifically, the information acquiring module 742 includes: a first receiving unit 742a and a first saving unit 742b. The first receiving unit 742a is configured to receive the terminal during the duration of the continuous trigger signal. Geographical location information transmitted according to a predetermined time interval ΔT1, the geographic location information is geographic location information acquired by the terminal through the location-based service LBS after receiving the persistent trigger signal; the first save The unit 742b is configured to save each received geographical location information for a predetermined time period ΔT2, and use the saved geographical location information as the instantaneous effective geographical location information of the terminal; wherein the ΔT1 is smaller than the Determining a duration period of the continuous trigger signal; the ΔT2 is equal to or greater than the ΔT1 and less than a duration of the continuous trigger signal.

所述資訊推薦模組746,用於將所述至少一個其它終端的身份資訊和相對地理位置發送給所述終端,所述相對地理位置表示所述其它終端相對於所述終端的地理位置;以便所述終端在預定介面上顯示與所述其它終端一一對應的圖標,所述圖標的顯示內容和所述其它終端的身份資訊對應,所述圖標的顯示位置和所述其它終端的相對地理位置對應。 The information recommendation module 746 is configured to send identity information and a relative geographic location of the at least one other terminal to the terminal, where the relative geographic location indicates a geographic location of the other terminal relative to the terminal; The terminal displays an icon corresponding to the other terminal one by one on a predetermined interface, and the display content of the icon corresponds to the identity information of the other terminal, the display position of the icon and the relative geographical position of the other terminal correspond.

所述預定處理模組748,用於根據所述終端發送的請求來完 成預定處理,所述預定處理包括添加好友和添加聊天群組;所述請求是所述終端根據基於所述預定介面觸發的指令發送的。 The predetermined processing module 748 is configured to complete according to the request sent by the terminal In a predetermined process, the predetermined process includes adding a friend and adding a chat group; the request is sent by the terminal according to an instruction triggered based on the predetermined interface.

綜上所述,本實施例提供的使用者資訊推薦系統,透過終端在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,伺服器根據其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊選擇符合預定條件的其它終端,並將符合預定條件的其它終端的使用者資訊推薦給該終端,解決了暫存時間跨度太長,導致伺服器的推薦結果對於當前用戶很可能是無效的問題;達到了伺服器向終端推薦的其它終端的使用者資訊,都是基於準確的、且即時有效的地理位置資訊推薦的使用者資訊,這些其它終端的使用者資訊在諸如添加好友或者添加聊天群組等後續處理時的有效性更強。 In summary, the user information recommendation system provided by the embodiment provides instant and effective geographical location information to the server after receiving the continuous trigger signal, and the server provides instant and effective geographical location information according to other terminals. Selecting other terminals that meet the predetermined conditions with the instant and effective geographical location information provided by the terminal, and recommending the user information of other terminals that meet the predetermined conditions to the terminal, and solving the temporary storage time span is too long, resulting in the recommendation of the server. The result is likely to be invalid for the current user; the user information of the other terminals that are recommended by the server to the terminal is based on accurate and instant and effective geographic information recommendation user information, and the use of these other terminals Information is more effective in subsequent processing such as adding friends or adding chat groups.

本實施例還透過伺服器向終端發送其它終端的相對地理位置,終端在預定介面上顯示與其它終端一一對應的圖標,該圖標的顯示位置和其它終端的相對地理位置對應;使得使用者可以透過非常便捷的方式實現多人之間迅速添加好友。比如,當前用戶A與素不相識的三個其它用戶B、C和D召開臨時跨部門會議,會議過程中希望互相添加好友,但是當前用戶A使用傳統的“附近的人”功能後,伺服器可能會返回50個其它使用者的使用者資訊,當前使用者A需要手動在這50個其它用戶中篩選出其它用戶B、C和D,然後互加好友。由於整個過程需要多次點擊、切換介面等步驟,可能需要耗時十到二十分鐘的時間,效率非常低。但是採用本實施例提供的使用者資訊推薦方法,使用者A、用戶B、用戶C和用戶D同時按下各自使用的終端上的雷達按鈕後,均會得到與如第4C圖所類似的介面,然後互相添加好友的過程可能只需要耗時幾十秒或者幾秒鐘的時間,並且由於每個圖標的顯示位置與各個終端的實際的地理位置資訊有關,使用者在添加好友過程可以更有針對性,添加好友時的準確性和效率會更高。 In this embodiment, the relative geographic location of the other terminal is sent to the terminal through the server, and the terminal displays an icon corresponding to the other terminal one by one on the predetermined interface, and the display position of the icon corresponds to the relative geographical position of the other terminal; Quickly add friends between multiple people in a very convenient way. For example, the current user A and the three other users B, C, and D who have never met each other hold a temporary inter-departmental meeting. During the meeting, they want to add friends to each other, but the current user A uses the traditional "nearby people" function, the server User information of 50 other users may be returned. Currently, user A needs to manually filter out other users B, C, and D among the 50 other users, and then add friends. Since the whole process requires multiple clicks, switching interfaces, etc., it may take 10 to 20 minutes, and the efficiency is very low. However, with the user information recommendation method provided in this embodiment, after user A, user B, user C, and user D simultaneously press the radar button on the terminal used by each user, an interface similar to that shown in FIG. 4C is obtained. And then the process of adding friends to each other may only take tens of seconds or a few seconds, and since the display position of each icon is related to the actual geographical location information of each terminal, the user may have more process in adding friends. Targeted, the accuracy and efficiency of adding friends will be higher.

請參考第9圖,其示出了本發明一個實施例提供的使用者資訊推薦系統的結構示意圖。該使用者資訊推薦系統包括終端720和伺服器740。終端720和伺服器740之間透過有線網路或者無線網路相連。 Please refer to FIG. 9 , which is a schematic structural diagram of a user information recommendation system according to an embodiment of the present invention. The user information recommendation system includes a terminal 720 and a server 740. The terminal 720 and the server 740 are connected through a wired network or a wireless network.

終端720可以包括使用者資訊推薦裝置,該使用者資訊推薦裝置可以透過軟體、硬體或者兩者的結合實現。該使用者資訊推薦裝置, 包括:訊號接收模組722、資訊提供模組724、資訊接收模組726、圖標顯示模組727、指令接收模組728和請求發送模組729。 The terminal 720 can include a user information recommendation device, and the user information recommendation device can be implemented by a combination of software, hardware, or both. The user information recommendation device, The system includes: a signal receiving module 722, an information providing module 724, an information receiving module 726, an icon display module 727, an instruction receiving module 728, and a request sending module 729.

訊號接收模組722,用於接收持續觸發訊號;資訊提供模組724,用於在接收到所述持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;資訊接收模組726,用於接收所述伺服器推薦的至少一個其它終端的使用者資訊,所述至少一個其它終端是所述伺服器查詢到的符合預定條件的終端;所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值。 The signal receiving module 722 is configured to receive the continuous trigger signal, and the information providing module 724 is configured to provide the server with instant and effective geographic location information after receiving the continuous trigger signal, and the instant valid geographic location information The effective time period corresponds to the duration of the continuous trigger signal; the information receiving module 726 is configured to receive user information of at least one other terminal recommended by the server, and the at least one other terminal is the servo The terminal that is queried to meet the predetermined condition; the predetermined condition includes: determining, according to the instantaneous effective geographical location information provided by the other terminal, the distance determined by the instantaneous effective geographical location information provided by the terminal is less than a critical value.

具體來講,所述資訊提供模組724,包括:資訊獲取單元724A、第二發送單元724B和第三發送單元724C;所述資訊獲取單元724A,用於在接收到所述持續觸發訊號之後,透過基於位置的服務LBS獲取地理位置資訊;所述第二發送單元724B,用於向所述伺服器發送所述地理位置資訊,以便所述伺服器將接收到的地理位置資訊保存,並將保存的地理位置資訊作為所述終端的即時有效的地理位置資訊;所述第三發送單元724C,用於在所述持續觸發訊號停止後,向所述伺服器發送停止訊號,所述停止訊號表示所述持續觸發訊號已經停止;以便所述伺服器在接收到所述停止訊號後,將所述地理位置資訊停止保存。 Specifically, the information providing module 724 includes: an information acquiring unit 724A, a second sending unit 724B, and a third sending unit 724C. The information acquiring unit 724A is configured to: after receiving the continuous trigger signal, The location information is obtained by the location-based service LBS; the second sending unit 724B is configured to send the geographical location information to the server, so that the server saves the received geographical location information and saves The location information is used as the immediate and effective geographical location information of the terminal; the third sending unit 724C is configured to send a stop signal to the server after the continuous trigger signal is stopped, where the stop signal indicates The continuous trigger signal has been stopped; so that the server stops saving the geographical location information after receiving the stop signal.

具體來講,所述資訊接收模組726,用於接收所述伺服器發送的至少一個其它終端的身份資訊和相對地理位置,所述相對地理位置表示所述其它終端相對於所述終端的地理位置;所述圖標顯示模組727,用於在預定介面上顯示與所述其它終端一一對應的圖標,所述圖標的顯示內容和所述其它終端的身份資訊對應,所述圖標的顯示位置和所述其它終端的相對地理位置對應。 Specifically, the information receiving module 726 is configured to receive identity information and a relative geographic location of at least one other terminal sent by the server, where the relative geographic location indicates a geographic location of the other terminal relative to the terminal The icon display module 727 is configured to display an icon corresponding to the other terminal one by one on a predetermined interface, where the display content of the icon corresponds to the identity information of the other terminal, and the display position of the icon Corresponding to the relative geographic location of the other terminals.

在一種實現方式下,所述圖標顯示模組727,用於以所述預定介面的中心位置表示所述終端的所在位置,將不超過預定個數的與所述 其它終端一一對應的圖標顯示在所述預定介面的其它位置上,每個圖標的顯示位置與所述中心位置的相對位置關係由對應的其它終端的相對地理位置確定。 In an implementation manner, the icon display module 727 is configured to indicate, according to a central location of the predetermined interface, a location of the terminal, which will not exceed a predetermined number and The one-to-one corresponding icons of the other terminals are displayed at other positions of the predetermined interface, and the relative positional relationship between the display position of each icon and the central position is determined by the relative geographical position of the corresponding other terminals.

在另外一種實現方式下,設所述終端的所在位置為極坐標系中的原點,所述其它終端的相對地理位置用極座標(r,θ)表示,所述r表示所述其它終端與所述終端之間的距離,所述θ表示所述其它終端相對與所述終端的角度;所述圖標顯示模組727,用於以所述預定介面的底部邊線的中點位置表示所述終端的所在位置,將不超過預定個數的與所述其它終端一一對應的圖標顯示在所述預定介面的其它位置上;若一個其它終端的相對地理位置(r,θ)中的θ屬於(0,180°),則直接根據(r,θ)確定與所述其它終端對應的圖標的顯示位置;若一個其它終端的相對地理位置(r,θ)中的θ屬於(180°,360°),則根據(r,360°-θ)或者(r,θ-180°)確定與所述其它終端對應的圖標的顯示位置。 In another implementation manner, the location of the terminal is an origin in a polar coordinate system, and the relative geographic location of the other terminal is represented by a polar coordinate (r, θ), where the r represents the other terminal and the The distance between the terminals, the θ represents an angle of the other terminal relative to the terminal; the icon display module 727 is configured to represent the terminal with a midpoint position of a bottom edge of the predetermined interface a location where no more than a predetermined number of icons corresponding to the other terminals are displayed at other locations of the predetermined interface; if θ of the relative geographic locations (r, θ) of one of the other terminals belongs to (0) , 180°), the display position of the icon corresponding to the other terminal is directly determined according to (r, θ); if θ in the relative geographical position (r, θ) of one other terminal belongs to (180°, 360°) Then, the display position of the icon corresponding to the other terminal is determined according to (r, 360°-θ) or (r, θ-180°).

所述指令接收模組728,用於接收基於所述預定介面觸發的指令;所述請求發送模組729,用於根據所述指令向所述伺服器發送請求,以便所述伺服器根據所述請求完成預定處理,所述預定處理包括添加好友或者添加聊天群組。 The instruction receiving module 728 is configured to receive an instruction triggered based on the predetermined interface; the request sending module 729 is configured to send a request to the server according to the instruction, so that the server is configured according to the The request completes a predetermined process including adding a friend or adding a chat group.

伺服器740可以包括使用者資訊推薦裝置,該使用者資訊推薦裝置可以透過軟體、硬體或者兩者的結合實現。該使用者資訊推薦裝置,包括:資訊獲取模組742、資訊查詢模組744、資訊推薦模組746和預定處理模組748。 The server 740 can include a user information recommendation device that can be implemented by software, hardware, or a combination of both. The user information recommendation device includes: an information acquisition module 742, an information inquiry module 744, an information recommendation module 746, and a predetermined processing module 748.

資訊獲取模組742,用於獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,所述即時有效的地理位置資訊的有效時間段對應於所述持續觸發訊號的持續時間段;資訊查詢模組744,用於查詢符合預定條件的至少一個其它終端,所述預定條件包括:根據所述其它終端提供的即時有效的地理位置資訊與所述終端提供的即時有效的地理位置資訊所確定的距離小於臨界值; 資訊推薦模組746,用於將所述至少一個其它終端的使用者資訊推薦給所述終端。 The information obtaining module 742 is configured to obtain real-time effective geographical location information provided by the terminal after receiving the continuous triggering signal, where the effective time period of the instant valid geographical location information corresponds to the duration of the continuous triggering signal; The information query module 744 is configured to query at least one other terminal that meets the predetermined condition, where the predetermined condition includes: according to the instantaneous effective geographical location information provided by the other terminal, and the instantaneous effective geographical location information provided by the terminal. The determined distance is less than the critical value; The information recommendation module 746 is configured to recommend user information of the at least one other terminal to the terminal.

具體來講,所述資訊獲取模組742,包括:第二接收單元742A、第二保存單元742B、第三接收單元742C和停止保存單元742D;所述第二接收單元742A,用於接收終端發送的地理位置資訊,所述地理位置資訊是所述終端在接收到所述持續觸發訊號之後,透過基於位置的服務LBS獲取到的地理位置資訊;所述第二保存單元742B,用於將接收到的所述地理位置資訊保存,並將保存的所述地理位置資訊作為所述終端的即時有效的地理位置資訊;所述第三接收單元742C,用於接收所述終端發送的停止訊號,所述停止訊號表示所述持續觸發訊號已經停止;所述停止保存單元742D,用於在接收到所述停止訊號後,將所述地理位置資訊停止保存。 Specifically, the information acquiring module 742 includes: a second receiving unit 742A, a second saving unit 742B, a third receiving unit 742C, and a stop saving unit 742D. The second receiving unit 742A is configured to receive the terminal. Location information, the geographic location information is geographic location information obtained by the terminal after receiving the persistent trigger signal through the location-based service LBS; the second saving unit 742B is configured to receive The location information is saved, and the saved geographical location information is used as the immediate effective geographical location information of the terminal; the third receiving unit 742C is configured to receive the stop signal sent by the terminal, The stop signal indicates that the continuous trigger signal has been stopped; the stop saving unit 742D is configured to stop saving the geographic location information after receiving the stop signal.

所述資訊推薦模組746,用於將所述至少一個其它終端的身份資訊和相對地理位置發送給所述終端,所述相對地理位置表示所述其它終端相對於所述終端的地理位置;以便所述終端在預定介面上顯示與所述其它終端一一對應的圖標,所述圖標的顯示內容和所述其它終端的身份資訊對應,所述圖標的顯示位置和所述其它終端的相對地理位置對應。 The information recommendation module 746 is configured to send identity information and a relative geographic location of the at least one other terminal to the terminal, where the relative geographic location indicates a geographic location of the other terminal relative to the terminal; The terminal displays an icon corresponding to the other terminal one by one on a predetermined interface, and the display content of the icon corresponds to the identity information of the other terminal, the display position of the icon and the relative geographical position of the other terminal correspond.

所述預定處理模組748,用於根據所述終端發送的請求來完成預定處理,所述預定處理包括添加好友和添加聊天群組;所述請求是所述終端根據基於所述預定介面觸發的指令發送的。 The predetermined processing module 748 is configured to complete a predetermined process according to the request sent by the terminal, where the predetermined process includes adding a friend and adding a chat group; the request is triggered by the terminal according to the predetermined interface. The instruction was sent.

綜上所述,本實施例提供的使用者資訊推薦系統,透過終端在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,伺服器根據其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊選擇符合預定條件的其它終端,並將符合預定條件的其它終端的使用者資訊推薦給該終端,解決了暫存時間跨度太長,導致伺服器的推薦結果對於當前用戶很可能是無效的問題;達到了伺服器向終端推薦的其它終端的使用者資訊,都是基於準確的、且即時有效的地理位置資訊推薦的使用者資訊,這些其它終端的使用者資訊在諸如添加好友或者添加聊天群組等後續處理時的有效性更強。 In summary, the user information recommendation system provided by the embodiment provides instant and effective geographical location information to the server after receiving the continuous trigger signal, and the server provides instant and effective geographical location information according to other terminals. Selecting other terminals that meet the predetermined conditions with the instant and effective geographical location information provided by the terminal, and recommending the user information of other terminals that meet the predetermined conditions to the terminal, and solving the temporary storage time span is too long, resulting in the recommendation of the server. The result is likely to be invalid for the current user; the user information of the other terminals that are recommended by the server to the terminal is based on accurate and instant and effective geographic information recommendation user information, and the use of these other terminals Information is more effective in subsequent processing such as adding friends or adding chat groups.

本實施例還透過伺服器向終端發送其它終端的相對地理位置,終端在預定介面上顯示與其它終端一一對應的圖標,該圖標的顯示位置和其它終端的相對地理位置對應;使得使用者可以透過非常便捷的方式實現多人之間迅速添加好友。比如,當前用戶A與素不相識的三個其它用戶B、C和D召開臨時跨部門會議,會議過程中希望互相添加好友,但是當前用戶A使用傳統的“附近的人”功能後,伺服器可能會返回50個其它使用者的使用者資訊,當前使用者A需要手動在這50個其它用戶中篩選出其它用戶B、C和D,然後互加好友。由於整個過程需要多次點擊、切換介面等步驟,可能需要耗時十到二十分鐘的時間,效率非常低。但是採用本實施例提供的使用者資訊推薦方法,使用者A、用戶B、用戶C和用戶D同時按下各自使用的終端上的雷達按鈕後,均會得到與如第4C圖所類似的介面,然後互相添加好友的過程可能只需要耗時幾十秒或者幾秒鐘的時間,並且由於每個圖標的顯示位置與各個終端的實際的地理位置資訊有關,使用者在添加好友過程可以更有針對性,添加好友時的準確性和效率會更高。 In this embodiment, the relative geographic location of the other terminal is sent to the terminal through the server, and the terminal displays an icon corresponding to the other terminal one by one on the predetermined interface, and the display position of the icon corresponds to the relative geographical position of the other terminal; Quickly add friends between multiple people in a very convenient way. For example, the current user A and the three other users B, C, and D who have never met each other hold a temporary inter-departmental meeting. During the meeting, they want to add friends to each other, but the current user A uses the traditional "nearby people" function, the server User information of 50 other users may be returned. Currently, user A needs to manually filter out other users B, C, and D among the 50 other users, and then add friends. Since the whole process requires multiple clicks, switching interfaces, etc., it may take 10 to 20 minutes, and the efficiency is very low. However, with the user information recommendation method provided in this embodiment, after user A, user B, user C, and user D simultaneously press the radar button on the terminal used by each user, an interface similar to that shown in FIG. 4C is obtained. And then the process of adding friends to each other may only take tens of seconds or a few seconds, and since the display position of each icon is related to the actual geographical location information of each terminal, the user may have more process in adding friends. Targeted, the accuracy and efficiency of adding friends will be higher.

需要說明的是:上述實施例提供的使用者資訊推薦系統在推薦使用者資訊時,僅以上述各功能模組的劃分進行舉例說明,實際應用中,可以根據需要而將上述功能分配由不同的功能模組完成,即將設備的內部結構劃分成不同的功能模組,以完成以上描述的全部或者部分功能。另外,上述實施例提供的使用者資訊推薦系統與使用者資訊推薦方法實施例屬於同一構思,其具體實現過程詳見方法實施例,這裡不再贅述。 It should be noted that the user information recommendation system provided by the foregoing embodiment only uses the division of the foregoing functional modules when recommending user information. In actual applications, the functions may be assigned differently according to needs. The function module is completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the user information recommendation system and the user information recommendation method provided in the above embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.

上述本發明實施例序號僅僅為了描述,不代表實施例的優劣。 The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.

本領域通常知識者可以理解實現上述實施例的全部或部分步驟可以透過硬體來完成,也可以透過程式來指令相關的硬體完成,所述的程式可以儲存於一種電腦可讀儲存介質中,上述提到的儲存介質可以是唯讀記憶體,磁片或光碟等。 It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be executed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned above may be a read only memory, a magnetic sheet or a compact disc or the like.

雖然本發明已用較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種 之更動與修改,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been described above in terms of the preferred embodiments, it is not intended to limit the scope of the present invention. The scope of protection of the present invention is defined by the scope of the appended claims.

202‧‧‧終端接收持續觸發訊號 202‧‧‧ Terminal receives continuous trigger signal

204‧‧‧終端在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,該即時有效的地理位置資訊的有效時間段對應於持續觸發訊號的持續時間段 204‧‧‧ After receiving the continuous trigger signal, the terminal provides the server with instant and effective geographical location information, and the effective time period of the instant valid geographical location information corresponds to the duration of the continuous trigger signal

206‧‧‧伺服器查詢符合預定條件的至少一個其它終端 206‧‧‧The server queries at least one other terminal that meets the predetermined conditions

208‧‧‧伺服器將至少一個其它終端的用戶資訊推薦給終端 208‧‧‧The server recommends the user information of at least one other terminal to the terminal

Claims (27)

一種使用者資訊推薦方法,用於伺服器中,其包括:獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,該即時有效的地理位置資訊的有效時間段對應於該持續觸發訊號的持續時間段;查詢符合預定條件的至少一個其它終端,該預定條件包括:根據該其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊所確定的距離小於臨界值;將該至少一個其它終端的使用者資訊推薦給該終端。 A user information recommendation method is used in the server, which comprises: acquiring instant effective geographical location information provided by the terminal after receiving the continuous trigger signal, and the effective time period of the instant valid geographical location information corresponds to the persistent trigger a duration period of the signal; querying at least one other terminal that meets the predetermined condition, the predetermined condition includes: determining, according to the instantaneous effective geographical location information provided by the other terminal, the distance determined by the instantaneous effective geographical location information provided by the terminal is less than a critical distance a value; recommending user information of the at least one other terminal to the terminal. 根據申請專利範圍第1項所述之方法,其中,該獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,包括:接收終端在該持續觸發訊號的持續時間段內,按照預定時間間隔△T1週期發送的地理位置資訊,該地理位置資訊是該終端在接收到該持續觸發訊號之後,透過基於位置的服務LBS獲取到的地理位置資訊;將每次接收到的地理位置資訊保存預定時間段△T2,並將保存的該地理位置資訊作為該終端的即時有效的地理位置資訊;其中,該△T1小於該持續觸發訊號的持續時間段;該△T2等於或者大於該△T1,且小於該持續觸發訊號的持續時間段。 According to the method of claim 1, wherein the obtaining terminal provides the instantaneous and effective geographical location information after receiving the continuous triggering signal, including: the receiving terminal is scheduled according to the duration of the continuous triggering signal. The geographical location information sent by the time interval ΔT1 period, the geographical location information is the geographical location information acquired by the terminal through the location-based service LBS after receiving the continuous trigger signal; and the geographical location information received every time is saved Determining the time period ΔT2, and using the saved geographical location information as the instantaneous effective geographical location information of the terminal; wherein the ΔT1 is less than the duration of the continuous trigger signal; the ΔT2 is equal to or greater than the ΔT1, And less than the duration of the continuous trigger signal. 根據申請專利範圍第1項所述之方法,其中,該獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,包括:接收終端發送的地理位置資訊,該地理位置資訊是該終端在接收到該持續觸發訊號之後,透過基於位置的服務LBS獲取到的地理位置資訊;將接收到的該地理位置資訊保存,並將保存的該地理位置資訊作為該終端的即時有效的地理位置資訊;接收該終端發送的停止訊號,該停止訊號表示該持續觸發訊號已經停止;在接收到該停止訊號後,將該地理位置資訊停止保存。 According to the method of claim 1, wherein the obtaining terminal provides real-time effective geographical location information after receiving the continuous triggering signal, including: receiving geographical location information sent by the terminal, the geographic location information is the terminal After receiving the continuous trigger signal, the location information obtained by the location-based service LBS is saved; the received geographical location information is saved, and the saved geographical location information is used as the instantaneous effective geographical location information of the terminal. Receiving a stop signal sent by the terminal, the stop signal indicates that the continuous trigger signal has stopped; after receiving the stop signal, the geographical location information is stopped. 根據申請專利範圍第1項所述之方法,其中,該將該至少一個其它 終端的使用者資訊推薦給該終端,包括:將該至少一個其它終端的身份資訊和相對地理位置發送給該終端,該相對地理位置表示該其它終端相對於該終端的地理位置;以便該終端在預定介面上顯示與該其它終端一一對應的圖標,該圖標的顯示內容和該其它終端的身份資訊對應,該圖標的顯示位置和該其它終端的相對地理位置對應。 The method of claim 1, wherein the at least one other The user information of the terminal is recommended to the terminal, including: sending identity information and a relative geographic location of the at least one other terminal to the terminal, where the relative geographical location indicates a geographic location of the other terminal relative to the terminal; An icon corresponding to the other terminal is displayed on the predetermined interface, and the display content of the icon corresponds to the identity information of the other terminal, and the display position of the icon corresponds to the relative geographical position of the other terminal. 根據申請專利範圍第4項所述之方法,其中,該將該至少一個其它終端的身份資訊和相對地理位置發送給該終端之後,還包括:根據該終端發送的請求來完成預定處理,該預定處理包括添加好友和添加聊天群組;該請求是該終端根據基於該預定介面觸發的指令發送的。 The method of claim 4, wherein after the identity information and the relative geographic location of the at least one other terminal are sent to the terminal, the method further includes: completing a predetermined process according to the request sent by the terminal, the predetermined Processing includes adding a friend and adding a chat group; the request is sent by the terminal according to an instruction triggered based on the predetermined interface. 一種使用者資訊推薦方法,用於終端中,其方法包括:接收持續觸發訊號;在接收到該持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,該即時有效的地理位置資訊的有效時間段對應於該持續觸發訊號的持續時間段;接收該伺服器推薦的至少一個其它終端的使用者資訊,該至少一個其它終端是該伺服器查詢到的符合預定條件的終端;該預定條件包括:根據該其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊所確定的距離小於臨界值。 A user information recommendation method is used in a terminal, the method includes: receiving a continuous trigger signal; and after receiving the continuous trigger signal, providing the server with instant and effective geographical location information, and the effective geographic location information is valid. The time period corresponds to a duration period of the continuous trigger signal; receiving user information of at least one other terminal recommended by the server, the at least one other terminal is a terminal that is queried by the server and meets a predetermined condition; the predetermined condition includes The distance determined by the instant and effective geographical location information provided by the other terminal and the instant and effective geographical location information provided by the terminal is less than a critical value. 根據申請專利範圍第6項所述之方法,其中,該在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,包括:在接收到持續觸發訊號之後,透過基於位置的服務LBS獲取地理位置資訊;在該持續觸發訊號的持續時間段內,按照預定時間間隔△T1向該伺服器週期發送該地理位置資訊,以便該伺服器將每次接收到的地理位置資訊保存預定時間段△T2,並將保存的該地理位置資訊作為該終端的即時有效的地理位置資訊;其中,該△T1小於該持續觸發訊號的持續時間段;該△T2等於或者大 於該△T1,且小於該持續觸發訊號的持續時間段。 According to the method of claim 6, wherein after receiving the continuous trigger signal, the server provides instant and effective geographical location information, including: after receiving the continuous trigger signal, through the location-based service LBS Obtaining geographic location information; transmitting the geographic location information to the server cycle according to a predetermined time interval ΔT1 during the duration of the persistent trigger signal, so that the server saves the received geographic location information for a predetermined period of time ΔT2, and the saved geographical location information is used as the instantaneous effective geographical location information of the terminal; wherein the ΔT1 is less than the duration of the continuous trigger signal; the ΔT2 is equal to or greater At ΔT1, and less than the duration of the continuous trigger signal. 根據申請專利範圍第6項所述之方法,其中,該在接收到持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,包括:在接收到持續觸發訊號之後,透過基於位置的服務LBS獲取地理位置資訊;向該伺服器發送該地理位置資訊,以便該伺服器將接收到的地理位置資訊保存,並將保存的地理位置資訊作為該終端的即時有效的地理位置資訊;在該持續觸發訊號停止後,向該伺服器發送停止訊號,該停止訊號表示該持續觸發訊號已經停止;以便該伺服器在接收到該停止訊號後,將該地理位置資訊停止保存。 According to the method of claim 6, wherein after receiving the continuous trigger signal, the server provides instant and effective geographical location information, including: after receiving the continuous trigger signal, through the location-based service LBS Obtaining geographic location information; sending the geographic location information to the server, so that the server saves the received geographical location information, and uses the saved geographical location information as the instant and effective geographical location information of the terminal; After the signal is stopped, a stop signal is sent to the server, and the stop signal indicates that the continuous trigger signal has been stopped; so that the server stops the geographical location information after receiving the stop signal. 根據申請專利範圍第6項所述之方法,其中,該接收該伺服器推薦的至少一個其它終端的使用者資訊,包括:接收該伺服器發送的至少一個其它終端的身份資訊和相對地理位置,該相對地理位置表示該其它終端相對於該終端的地理位置;在預定介面上顯示與該其它終端一一對應的圖標,該圖標的顯示內容和該其它終端的身份資訊對應,該圖標的顯示位置和該其它終端的相對地理位置對應。 The method of claim 6, wherein the receiving user information of the at least one other terminal recommended by the server comprises: receiving identity information and a relative geographic location of at least one other terminal sent by the server, The relative geographical location indicates the geographic location of the other terminal relative to the terminal; an icon corresponding to the other terminal is displayed on the predetermined interface, and the display content of the icon corresponds to the identity information of the other terminal, and the display position of the icon Corresponding to the relative geographic location of the other terminals. 根據申請專利範圍第9項所述之方法,其中,該在預定介面上顯示與該其它終端一一對應的圖標,包括:以該預定介面的中心位置表示該終端的所在位置,將不超過預定個數的與該其它終端一一對應的圖標顯示在該預定介面的其它位置上,每個圖標的顯示位置與該中心位置的相對位置關係由對應的其它終端的相對地理位置確定。 According to the method of claim 9, wherein the icon corresponding to the other terminal is displayed on the predetermined interface, including: indicating the location of the terminal by the central position of the predetermined interface, which will not exceed the predetermined The number of icons corresponding to the other terminals are displayed in other positions of the predetermined interface, and the relative positional relationship between the display position of each icon and the center position is determined by the relative geographical position of the corresponding other terminals. 根據申請專利範圍第9項所述之方法,其中,設該終端的所在位置為極坐標系中的原點,該其它終端的相對地理位置用極座標(r,θ)表示,該r表示該其它終端與該終端之間的距離,該θ表示該其它終端相對與 該終端的角度;該在預定介面上顯示與該其它終端一一對應的圖標,包括:以該預定介面的底部邊線的中點位置表示該終端的所在位置,將不超過預定個數的與該其它終端一一對應的圖標顯示在該預定介面的其它位置上;若一個其它終端的相對地理位置(r,θ)中的θ屬於(0,180°),則直接根據(r,θ)確定與該其它終端對應的圖標的顯示位置;若一個其它終端的相對地理位置(r,θ)中的θ屬於(180°,360°),則根據(r,360°-θ)或者(r,θ-180°)確定與該其它終端對應的圖標的顯示位置。 The method of claim 9, wherein the location of the terminal is an origin in a polar coordinate system, and the relative geographic location of the other terminal is represented by a polar coordinate (r, θ), the r indicating the other The distance between the terminal and the terminal, the θ indicates that the other terminal is opposite An angle of the terminal; the icon corresponding to the other terminal is displayed on the predetermined interface, including: indicating a location of the terminal by a midpoint position of a bottom edge of the predetermined interface, and not exceeding a predetermined number The icons corresponding to other terminals are displayed at other positions of the predetermined interface; if θ in the relative geographical position (r, θ) of one other terminal belongs to (0, 180°), it is directly determined according to (r, θ) The display position of the icon corresponding to the other terminal; if θ in the relative geographical position (r, θ) of one other terminal belongs to (180°, 360°), according to (r, 360°-θ) or (r, Θ-180°) determines the display position of the icon corresponding to the other terminal. 根據申請專利範圍第9至11項所述之方法,其中,該在預定介面上顯示與該其它終端一一對應的圖標之後,還包括:接收基於該預定介面觸發的指令;根據該指令向該伺服器發送請求,以便該伺服器根據該請求完成預定處理,該預定處理包括添加好友或者添加聊天群組。 The method of claim 9 to 11, wherein the displaying the icon corresponding to the other terminal one by one on the predetermined interface further comprises: receiving an instruction triggered based on the predetermined interface; and according to the instruction The server sends a request for the server to complete the predetermined process according to the request, the predetermined process including adding a friend or adding a chat group. 一種使用者資訊推薦裝置,用於伺服器中,該裝置包括:資訊獲取模組,用於獲取終端在接收到持續觸發訊號之後提供的即時有效的地理位置資訊,該即時有效的地理位置資訊的有效時間段對應於該持續觸發訊號的持續時間段;資訊查詢模組,用於查詢符合預定條件的至少一個其它終端,該預定條件包括:根據該其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊所確定的距離小於臨界值;資訊推薦模組,用於將該至少一個其它終端的使用者資訊推薦給該終端。 A user information recommendation device is used in a server, the device includes: an information acquisition module, configured to acquire instant and effective geographical location information provided by the terminal after receiving the continuous trigger signal, and the instant effective geographical location information The valid time period corresponds to the duration of the continuous trigger signal; the information query module is configured to query at least one other terminal that meets the predetermined condition, and the predetermined condition includes: according to the instant valid geographical location information provided by the other terminal The distance determined by the instantaneous and effective geographical location information provided by the terminal is less than a threshold; and the information recommendation module is configured to recommend the user information of the at least one other terminal to the terminal. 根據申請專利範圍第13項所述之裝置,其中,該資訊獲取模組,包括:第一接收單元和第一保存單元;該第一接收單元,用於接收終端在該持續觸發訊號的持續時間段內, 按照預定時間間隔△T1週期發送的地理位置資訊,該地理位置資訊是該終端在接收到該持續觸發訊號之後,透過基於位置的服務LBS獲取到的地理位置資訊;該第一保存單元,用於將每次接收到的地理位置資訊保存預定時間段△T2,並將保存的該地理位置資訊作為該終端的即時有效的地理位置資訊;其中,該△T1小於該持續觸發訊號的持續時間段;該△T2等於或者大於該△T1,且小於該持續觸發訊號的持續時間段。 The device of claim 13, wherein the information acquisition module comprises: a first receiving unit and a first saving unit; the first receiving unit is configured to receive the duration of the continuous trigger signal by the terminal Within the paragraph, Geographical location information transmitted according to a predetermined time interval ΔT1 period, the geographic location information is geographic location information acquired by the terminal through the location-based service LBS after receiving the persistent trigger signal; the first storage unit is used for And storing the received geographic location information for a predetermined time period ΔT2, and using the saved geographical location information as the instantaneous effective geographical location information of the terminal; wherein the ΔT1 is less than the duration of the continuous triggering signal; The ΔT2 is equal to or greater than the ΔT1 and less than the duration of the continuous trigger signal. 根據申請專利範圍第13項所述之裝置,其中,該資訊獲取模組,包括:第二接收單元、第二保存單元、第三接收單元和停止保存單元;該第二接收單元,用於接收終端發送的地理位置資訊,該地理位置資訊是該終端在接收到該持續觸發訊號之後,透過基於位置的服務LBS獲取到的地理位置資訊;該第二保存單元,用於將接收到的該地理位置資訊保存,並將保存的該地理位置資訊作為該終端的即時有效的地理位置資訊;該第三接收單元,用於接收該終端發送的停止訊號,該停止訊號表示該持續觸發訊號已經停止;該停止保存單元,用於在接收到該停止訊號後,將該地理位置資訊停止保存。 The device of claim 13, wherein the information acquisition module comprises: a second receiving unit, a second holding unit, a third receiving unit, and a stop saving unit; the second receiving unit is configured to receive Geographic location information sent by the terminal, the geographic location information is geographic location information acquired by the terminal after receiving the persistent trigger signal through the location-based service LBS; the second saving unit is configured to receive the geographic location The location information is saved, and the saved geographical location information is used as the immediate effective geographical location information of the terminal; the third receiving unit is configured to receive the stop signal sent by the terminal, and the stop signal indicates that the continuous trigger signal has been stopped; The stop saving unit is configured to stop saving the geographical location information after receiving the stop signal. 根據申請專利範圍第13項所述之裝置,其中,該資訊推薦模組,用於將該至少一個其它終端的身份資訊和相對地理位置發送給該終端,該相對地理位置表示該其它終端相對於該終端的地理位置;以便該終端在預定介面上顯示與該其它終端一一對應的圖標,該圖標的顯示內容和該其它終端的身份資訊對應,該圖標的顯示位置和該其它終端的相對地理位置對應。 The device of claim 13, wherein the information recommendation module is configured to send identity information and a relative geographic location of the at least one other terminal to the terminal, where the relative geographic location indicates that the other terminal is relative to the terminal The geographic location of the terminal; so that the terminal displays an icon corresponding to the other terminal one by one on the predetermined interface, the display content of the icon corresponds to the identity information of the other terminal, the display position of the icon and the relative geography of the other terminal The location corresponds. 根據申請專利範圍第16項所述之裝置,其中,該裝置,還包括:預定處理模組;該預定處理模組,用於根據該終端發送的請求來完成預定處理,該預 定處理包括添加好友和添加聊天群組;該請求是該終端根據基於該預定介面觸發的指令發送的。 The device of claim 16, wherein the device further comprises: a predetermined processing module; the predetermined processing module, configured to complete a predetermined process according to the request sent by the terminal, the pre-processing The process includes adding a friend and adding a chat group; the request is sent by the terminal according to an instruction triggered based on the predetermined interface. 一種使用者資訊推薦裝置,用於終端中,其中,該裝置包括:訊號接收模組,用於接收持續觸發訊號;資訊提供模組,用於在接收到該持續觸發訊號之後,向伺服器提供即時有效的地理位置資訊,該即時有效的地理位置資訊的有效時間段對應於該持續觸發訊號的持續時間段;資訊接收模組,用於接收該伺服器推薦的至少一個其它終端的使用者資訊,該至少一個其它終端是該伺服器查詢到的符合預定條件的終端;該預定條件包括:根據該其它終端提供的即時有效的地理位置資訊與該終端提供的即時有效的地理位置資訊所確定的距離小於臨界值。 A user information recommendation device is used in a terminal, wherein the device includes: a signal receiving module, configured to receive a continuous trigger signal; and an information providing module, configured to provide the server with the continuous trigger signal after receiving the continuous trigger signal Instantly valid geographic location information, the valid time period of the instant valid geographic location information corresponds to the duration of the continuous triggering signal; the information receiving module is configured to receive user information of the at least one other terminal recommended by the server The at least one other terminal is a terminal that is queried by the server and meets a predetermined condition; the predetermined condition includes: determining, according to the instant and effective geographical location information provided by the other terminal, the instantaneous and effective geographical location information provided by the terminal. The distance is less than the critical value. 根據申請專利範圍第18項所述之裝置,其中,該資訊提供模組包括:資訊獲取單元和第一發送單元;該資訊獲取單元,用於在接收到該持續觸發訊號之後,透過基於位置的服務LBS獲取地理位置資訊;該第一發送單元,用於在該持續觸發訊號的持續時間段內,按照預定時間間隔△T1向該伺服器週期發送該地理位置資訊,以便該伺服器將每次接收到的地理位置資訊保存預定時間段△T2,並將保存的該地理位置資訊作為該終端的即時有效的地理位置資訊;其中,該△T1小於該持續觸發訊號的持續時間段;該△T2等於或者大於該△T1,且小於該持續觸發訊號的持續時間段。 The device of claim 18, wherein the information providing module comprises: an information acquiring unit and a first sending unit; the information acquiring unit is configured to transmit the location-based after receiving the continuous trigger signal The service LBS obtains the geographical location information; the first sending unit is configured to send the geographical location information to the server period according to the predetermined time interval ΔT1 during the duration of the continuous trigger signal, so that the server will The received geographical location information is saved for a predetermined time period ΔT2, and the saved geographical location information is used as the instantaneous effective geographical location information of the terminal; wherein the ΔT1 is less than the duration of the continuous trigger signal; the ΔT2 It is equal to or greater than the ΔT1 and less than the duration of the continuous trigger signal. 根據申請專利範圍第18項所述之裝置,其中,該資訊提供模組,包括:資訊獲取單元、第二發送單元和第三發送單元;該資訊獲取單元,用於在接收到該持續觸發訊號之後,透過基於位置的服務LBS獲取地理位置資訊;該第二發送單元,用於向該伺服器發送該地理位置資訊,以便該伺服器將接收到的地理位置資訊保存,並將保存的地理位置資訊作為該終端的即時有效的地理位置資訊; 該第三發送單元,用於在該持續觸發訊號停止後,向該伺服器發送停止訊號,該停止訊號表示該持續觸發訊號已經停止;以便該伺服器在接收到該停止訊號後,將該地理位置資訊停止保存。 The device of claim 18, wherein the information providing module comprises: an information obtaining unit, a second sending unit, and a third sending unit; the information acquiring unit is configured to receive the continuous trigger signal Then, the location information is obtained through the location-based service LBS; the second sending unit is configured to send the geographical location information to the server, so that the server saves the received geographical location information, and saves the geographical location. Information as instant and effective geographical location information of the terminal; The third sending unit is configured to send a stop signal to the server after the continuous trigger signal is stopped, where the stop signal indicates that the continuous trigger signal has been stopped; so that the server receives the stop signal and then the geographic Location information stops saving. 根據申請專利範圍第18項所述之裝置,其還包括:圖標顯示模組;該資訊接收模組,用於接收該伺服器發送的至少一個其它終端的身份資訊和相對地理位置,該相對地理位置表示該其它終端相對於該終端的地理位置;該圖標顯示模組,用於在預定介面上顯示與該其它終端一一對應的圖標,該圖標的顯示內容和該其它終端的身份資訊對應,該圖標的顯示位置和該其它終端的相對地理位置對應。 The device of claim 18, further comprising: an icon display module; the information receiving module, configured to receive identity information and a relative geographic location of the at least one other terminal sent by the server, the relative geographic location The location indicates the geographic location of the other terminal relative to the terminal; the icon display module is configured to display an icon corresponding to the other terminal one by one on the predetermined interface, and the display content of the icon corresponds to the identity information of the other terminal, The display position of the icon corresponds to the relative geographical position of the other terminal. 根據申請專利範圍第21項所述之裝置,其中,該圖標顯示模組,用於以該預定介面的中心位置表示該終端的所在位置,將不超過預定個數的與該其它終端一一對應的圖標顯示在該預定介面的其它位置上,每個圖標的顯示位置與該中心位置的相對位置關係由對應的其它終端的相對地理位置確定。 The device according to claim 21, wherein the icon display module is configured to indicate a location of the terminal by a central position of the predetermined interface, and to correspond to the other terminals one by one without exceeding a predetermined number. The icons are displayed at other locations of the predetermined interface, and the relative positional relationship between the display position of each icon and the central location is determined by the relative geographic location of the corresponding other terminal. 根據申請專利範圍第21項所述之裝置,其中,設該終端的所在位置為極坐標系中的原點,該其它終端的相對地理位置用極座標(r,θ)表示,該r表示該其它終端與該終端之間的距離,該θ表示該其它終端相對與該終端的角度;該圖標顯示模組,用於以該預定介面的底部邊線的中點位置表示該終端的所在位置,將不超過預定個數的與該其它終端一一對應的圖標顯示在該預定介面的其它位置上;若一個其它終端的相對地理位置(r,θ)中的θ屬於(0,180°),則直接根據(r,θ)確定與該其它終端對應的圖標的顯示位置;若一個其它終端的相對地理位置(r,θ)中的θ屬於(180°,360°),則根據(r,360°-θ)或者(r,θ-180°)確定與該其它終端對應的圖標的顯示位置。 The device according to claim 21, wherein the location of the terminal is an origin in a polar coordinate system, and the relative geographic location of the other terminal is represented by a polar coordinate (r, θ), the r indicating the other The distance between the terminal and the terminal, the θ indicates the angle of the other terminal relative to the terminal; the icon display module is configured to indicate the location of the terminal by the midpoint position of the bottom edge of the predetermined interface, and will not More than a predetermined number of icons corresponding to the other terminals are displayed at other positions of the predetermined interface; if θ of the relative geographical position (r, θ) of one other terminal belongs to (0, 180°), Determining a display position of an icon corresponding to the other terminal according to (r, θ); if θ in a relative geographical position (r, θ) of one other terminal belongs to (180°, 360°), according to (r, 360°) - θ) or (r, θ - 180°) determines the display position of the icon corresponding to the other terminal. 根據申請專利範圍第21至23項所述之裝置,其還包括:指令接收模組和請求發送模組;該指令接收模組,用於接收基於該預定介面觸發的指令;該請求發送模組,用於根據該指令向該伺服器發送請求,以便該伺服器根據該請求完成預定處理,該預定處理包括添加好友或者添加聊天群組。 The device of claim 21 to 23, further comprising: an instruction receiving module and a request sending module; the command receiving module, configured to receive an instruction triggered based on the predetermined interface; the request sending module And for transmitting a request to the server according to the instruction, so that the server completes a predetermined process according to the request, the predetermined process includes adding a friend or adding a chat group. 一種伺服器,該伺服器包括如申請專利範圍第13至17項任一項所述之使用者資訊推薦裝置。 A server comprising the user information recommendation device according to any one of claims 13 to 17 of the patent application. 一種終端,該終端包括如申請專利範圍第18至24項任一項所述之使用者資訊推薦裝置。 A terminal comprising the user information recommendation device according to any one of claims 18 to 24. 一種使用者資訊推薦系統,該系統包括至少兩個終端和伺服器;該終端和該伺服器之間透過無線網路或者有線網路相連;該終端是如申請專利範圍第26項所述之終端;該伺服器是如申請專利範圍第25項所述之伺服器。 A user information recommendation system, the system comprising at least two terminals and a server; the terminal and the server are connected through a wireless network or a wired network; the terminal is a terminal as claimed in claim 26 The server is a server as described in claim 25 of the patent application.
TW102143299A 2013-05-15 2013-11-27 Method, device, apparatus and system for recommending user information TW201443810A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310179559.0A CN104135713B (en) 2013-05-15 2013-05-15 User profile recommend method, device, equipment and system

Publications (1)

Publication Number Publication Date
TW201443810A true TW201443810A (en) 2014-11-16

Family

ID=51808221

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102143299A TW201443810A (en) 2013-05-15 2013-11-27 Method, device, apparatus and system for recommending user information

Country Status (3)

Country Link
CN (1) CN104135713B (en)
TW (1) TW201443810A (en)
WO (1) WO2014183458A1 (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468329B (en) * 2014-12-02 2018-02-02 小米科技有限责任公司 Member adding method and device based on instant messaging
US10868740B2 (en) * 2015-01-28 2020-12-15 Timo Eränkö Systems for feed-back communication in real-time in a telecommunication network
CN106155868A (en) * 2015-04-07 2016-11-23 腾讯科技(深圳)有限公司 Distance display packing based on social networks application and device
CN104796424A (en) * 2015-04-29 2015-07-22 贵州中科汉天下信息技术有限公司 Position-based group chat method
CN104967727B (en) * 2015-04-30 2019-07-05 努比亚技术有限公司 The method and cloud server of a kind of mobile terminal and its paired communication
CN104994125B (en) * 2015-05-14 2019-03-08 小米科技有限责任公司 Method for sending information, information display method and device
CN104867056A (en) * 2015-05-28 2015-08-26 西安交通大学 Intelligent social method based on user data analysis
CN105049330B (en) * 2015-07-08 2018-07-06 广东欧珀移动通信有限公司 A kind of method and terminal for asking to add in discussion group
CN105137786A (en) * 2015-08-03 2015-12-09 珠海格力电器股份有限公司 Method and device for binding smart home equipment
CN105681412A (en) * 2016-01-14 2016-06-15 北京百纳威尔无线通信设备有限公司 Information sharing method and device
CN106982197A (en) 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 Method and device for business processing
CN105915592A (en) * 2016-04-08 2016-08-31 努比亚技术有限公司 Information processing method, mobile terminal and server
CN106358183A (en) * 2016-09-30 2017-01-25 广东欧珀移动通信有限公司 Address book updating method, device and system
CN106231560B (en) * 2016-09-30 2020-06-23 李国兴 Mobile terminal communication data management method and system based on mobile internet
CN106504103B (en) * 2016-10-31 2020-09-08 北京小米移动软件有限公司 Method and device for establishing friend relationship
CN106856451B (en) * 2017-02-21 2021-01-19 苏州爱上网络科技股份有限公司 Short-distance reminding method for intelligent equipment user
CN109714246A (en) * 2017-10-26 2019-05-03 触信(厦门)智能科技有限公司 A kind of instant interactive good friend adding method
CN108039999A (en) * 2017-11-23 2018-05-15 珠海格力电器股份有限公司 A kind of method, device and mobile terminal of electronic name card exchanging
CN107995099A (en) * 2017-11-24 2018-05-04 广东欧珀移动通信有限公司 Friend recommendation method and device
CN108267153A (en) * 2017-12-12 2018-07-10 福建工程学院 A kind of air navigation aid and terminal for stray
CN108235250A (en) * 2018-01-19 2018-06-29 赵星宇 A kind of friend-making chat method and system based on the real-time reconnaissance probe in geographical location stranger at one's side
CN108388780A (en) * 2018-03-09 2018-08-10 福州米鱼信息科技有限公司 A kind of identity information acquisition methods and terminal
CN110460902B (en) * 2018-05-08 2022-02-22 腾讯科技(深圳)有限公司 Media information playing method and device, storage medium and electronic device
CN108900969A (en) * 2018-06-07 2018-11-27 广东小天才科技有限公司 Good friend's adding method, device, equipment and storage medium
CN109451424B (en) * 2018-11-26 2020-09-22 南京工程学院 Positioning method based on Bluetooth
CN113595748B (en) * 2021-07-29 2023-06-30 Oppo广东移动通信有限公司 Team recommendation method, team recommendation device, electronic device and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007063499A1 (en) * 2005-12-01 2007-06-07 Koninklijke Philips Electronics, N.V. Visualisation of buddylist with localisation information
CN101360275A (en) * 2008-09-26 2009-02-04 腾讯科技(深圳)有限公司 Friends making system, implementing method and friends making server
US8386620B2 (en) * 2009-12-15 2013-02-26 Apple Inc. Ad hoc networking based on content and location
CN102006552A (en) * 2010-11-22 2011-04-06 上海合合信息科技发展有限公司 Method for creating contact group based on geographical location information
CN103096242B (en) * 2011-11-03 2015-05-20 腾讯科技(深圳)有限公司 User recommendation method and system based on location based services
CN102546656B (en) * 2012-02-10 2015-04-29 腾讯科技(深圳)有限公司 Method, system and device for finding user in social network
CN102902472B (en) * 2012-05-07 2015-08-19 腾讯科技(深圳)有限公司 Instruction triggers method and system and user's recommend method and system

Also Published As

Publication number Publication date
WO2014183458A1 (en) 2014-11-20
CN104135713B (en) 2015-11-25
CN104135713A (en) 2014-11-05

Similar Documents

Publication Publication Date Title
TW201443810A (en) Method, device, apparatus and system for recommending user information
CN110622123B (en) Display method and device
CN110537165B (en) Display method and device
US8730872B2 (en) System and method for identification of mobile device users in an area of a wireless access point
CN105580394B (en) The method and apparatus that message push and message are shown
WO2016180135A1 (en) Live cast interaction system, information sending method, and information receiving method and device
WO2015127822A1 (en) Information obtaining method, information querying method, terminal, and server
WO2016169465A1 (en) Method, apparatus and system for displaying screen information
CN108471376B (en) Data processing method, device and system
US20160301638A1 (en) Methods and devices for controlling machines
US20150119084A1 (en) System and method for positioning terminal
KR101977526B1 (en) Image splicing method, terminal, and system
CN104253740B (en) Picture is registered method, Apparatus and system
WO2016173398A1 (en) Patch video playing method and terminal, and video server
CN105979312B (en) Information sharing method and device
CN110213722A (en) Fence based on classification
CN104951971B (en) information display system, method and device
CN106412818B (en) Method and device for positioning equipment
KR20160065115A (en) Location source ranking for determining device location
WO2019095156A1 (en) Information search method, terminal, network device, and system
US20110136501A1 (en) Location service for wireless devices
CN104780234B (en) IP attribution inquiry method, apparatus and system
WO2015139496A1 (en) Method for determining user state, unified communication system and related device
CN104853312A (en) Location-based message leaving and replying method
CN106339402B (en) Method, device and system for pushing recommended content