TWI483602B - Method and apparatus for processing authentication request messages in socialized networks - Google Patents

Method and apparatus for processing authentication request messages in socialized networks Download PDF

Info

Publication number
TWI483602B
TWI483602B TW099106631A TW99106631A TWI483602B TW I483602 B TWI483602 B TW I483602B TW 099106631 A TW099106631 A TW 099106631A TW 99106631 A TW99106631 A TW 99106631A TW I483602 B TWI483602 B TW I483602B
Authority
TW
Taiwan
Prior art keywords
user end
user
attribute information
social
information
Prior art date
Application number
TW099106631A
Other languages
Chinese (zh)
Other versions
TW201132078A (en
Inventor
Jianxiang Mo
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to TW099106631A priority Critical patent/TWI483602B/en
Publication of TW201132078A publication Critical patent/TW201132078A/en
Application granted granted Critical
Publication of TWI483602B publication Critical patent/TWI483602B/en

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Description

社會化網路中處理認證請求消息的方法及裝置Method and device for processing authentication request message in social network

本申請屬於互聯網技術領域,特別涉及一種社會化網路中處理認證請求消息的方法及裝置。The present application belongs to the field of Internet technologies, and in particular, to a method and apparatus for processing an authentication request message in a social network.

現有的互聯網中,線上線民形成的社會化網路不再僅僅是單個用戶與單個用戶的關係,而是單對多以及多對多的關係。社會化網路包含了線上用戶及其關係網絡,如即時通信服務(IM)系統和基於WEB2.0的互聯網SNS(社會化網路服務social network service)社區,以IM工具為例,不同的用戶通過IM用戶端實現資訊交互進行溝通,在彼此進行溝通前,一般IM軟體都要求用戶之間在溝通開始前先建立一定的雙向社會化網路關係,以加速溝通物件的定位,並防止不必要的用戶發送無用資訊和不必要的騷擾。在目前的IM軟體技術中,如果用戶甲向不在其社會化關係列表中的用戶乙發起溝通,即用戶甲請求與用戶乙建立一定的社會化關係,用戶甲一般需要向用戶乙發送一個認證請求消息,申請成為與用戶乙具有一定社會化關係的用戶。只有在用戶乙驗證通過了甲的請求後,用戶甲才可以在其社會化關係列表中找到乙,並發起溝通和聊天。In the existing Internet, the social network formed by online informants is no longer just a relationship between a single user and a single user, but a one-to-many and many-to-many relationship. The social network includes online users and their relational networks, such as instant messaging service (IM) systems and WEB2.0-based Internet SNS (social network service) communities. For example, IM tools, different users. IM information is communicated through the IM client. Before communicating with each other, the general IM software requires users to establish a certain two-way social network relationship before communication begins to accelerate the positioning of communication objects and prevent unnecessary Users send useless information and unnecessary harassment. In the current IM software technology, if user A initiates communication to user B who is not in his social relationship list, that is, user A requests to establish a certain social relationship with user B, user A generally needs to send an authentication request to user B. Message, the application becomes a user with a certain social relationship with user B. Only after User B has verified the request of A, can User A find B in his social relationship list and initiate communication and chat.

用戶甲在申請與用戶乙成為具有一定社會化關係的用戶時,用戶乙只能通過用戶甲手工輸入的認證請求消息獲知用戶甲的身份資訊或其他資訊,來判斷是否和用戶甲建立社會化關係,可見現有技術中的認證請求消息完全依賴用戶甲的手工輸入,系統無法自動獲取用戶甲的身份資訊及用戶甲與用戶乙之間的社會化關係資訊,使得一方面降低了用戶甲乙之間建立社會化關係的效率,另一方面,無法為用戶乙驗證用戶甲的認證請求消息提供足夠的參數資訊。When user A and user B become users with certain socialized relationship, user B can only know the identity information or other information of user A through the authentication request message manually input by user A to determine whether to establish a social relationship with user A. It can be seen that the authentication request message in the prior art completely relies on the manual input of the user A. The system cannot automatically obtain the identity information of the user A and the social relationship information between the user A and the user B, so that the user A and B are reduced on the one hand. The efficiency of the social relationship, on the other hand, can not provide enough parameter information for User B to verify User A's authentication request message.

為了解決現有技術中用戶驗證與其建立社會化關係的請求時效率低以及所依據的參數資訊較少的問題,本申請實施例提供了一種社會化網路中處理認證請求消息的方法,包括:社會化網路伺服器獲知第一用戶端向第二用戶端發送與第二用戶端建立社會化關係的認證請求消息後,獲取第一用戶端和第二用戶端共同的社會化屬性資訊,社會化屬性資訊用於表示社會化網路用戶在社會化網路中所具有的屬性;社會化網路伺服器向第二用戶端轉發認證請求消息,並發送獲取的社會化屬性資訊,所述社會化屬性資訊用於第二用戶端對所述認證請求消息進行認證處理。In order to solve the problem that the user authentication in the prior art is less efficient and less dependent on the request for establishing the social relationship, the embodiment of the present application provides a method for processing an authentication request message in a social network, including: After obtaining the authentication request message that the first user end establishes a social relationship with the second user end, the network server obtains the social attribute information common to the first user end and the second user end, and socializes The attribute information is used to indicate the attribute of the social network user in the social network; the social network server forwards the authentication request message to the second user, and sends the acquired social attribute information, the socialization The attribute information is used by the second user end to perform authentication processing on the authentication request message.

同時本申請實施例還提供一種社會化網路中處理認證請求消息的裝置,包括:獲取模組:用於獲知第一用戶端向第二用戶端發送與第二用戶端建立社會化關係的認證請求消息後,獲取第一用戶端和第二用戶端共同的社會化屬性資訊,社會化屬性資訊用於表示社會化網路用戶在社會化網路中所具有的屬性;發送模組:用於向第二用戶端轉發認證請求消息,並發送獲取的社會化屬性資訊,所述社會化屬性資訊用於第二用戶端對所述認證請求消息進行認證處理。At the same time, the embodiment of the present application further provides an apparatus for processing an authentication request message in a social network, including: an obtaining module, configured to learn that the first user end sends a authentication to establish a socialized relationship with the second user end to the second user end. After requesting the message, the social attribute information shared by the first user end and the second user end is obtained, and the social attribute information is used to indicate the attribute of the social network user in the social network; the sending module is used to: Forwarding the authentication request message to the second user end, and sending the obtained socialized attribute information, where the socialized attribute information is used by the second user end to perform authentication processing on the authentication request message.

由上述本申請提供的具體實施方案可以看出,社會化網路伺服器在獲知第一用戶端向第二用戶端發送與第二用戶端建立社會化關係的認證請求消息後,自動獲取第一用戶端和第二用戶端共同的社會化屬性資訊,並展示給第二用戶端。增加了第二用戶端驗證第一用戶端的認證請求消息時所依據的參數資訊,並提高了第一用戶端和第二用戶端之間建立社會化網路關係的效率。As can be seen from the specific implementation provided by the foregoing application, the social network server automatically obtains the first information after the first user terminal sends an authentication request message to the second user end to establish a social relationship with the second user end. The social attribute information shared by the client and the second user is displayed to the second client. The parameter information on which the second user end verifies the authentication request message of the first user end is added, and the efficiency of establishing a social network relationship between the first user end and the second user end is improved.

具體實施方式detailed description

本申請提供的第一實施例是一種社會化網路中處理認證請求消息的方法,在如圖1所示的網路拓撲中實施,該網路包括:社會化網路伺服器,和多個用戶端,方法流程如圖2所示,包括:步驟101:標識為A的用戶端通過社會化網路伺服器向標識為B的用戶端發送與標識為B的用戶端建立社會化關係的認證請求消息。The first embodiment provided by the present application is a method for processing an authentication request message in a social network, which is implemented in a network topology as shown in FIG. 1, the network includes: a social network server, and a plurality of The user terminal, the method flow is as shown in FIG. 2, and includes: Step 101: The UE identified as A sends a socialized relationship with the client identified as B through the social network server to the client identified by B. Request message.

步驟102:社會化網路伺服器獲知標識為A的用戶端發送的請求與標識為B的用戶端建立社會化關係的認證請求消息後,獲取標識資訊A和標識資訊B。Step 102: The social network server obtains the identification information A and the identification information B after learning that the request sent by the user end of the identifier A is the authentication request message for establishing a social relationship with the user end of the B.

步驟103:社會化網路伺服器根據標識資訊A和標識資訊B,從多個或1個伺服器中確定儲存索引記錄的關鍵字為(A-B)或為“AB”以及“(AB)”等的倒排索引檔的伺服器為伺服器1。Step 103: The social network server determines, according to the identification information A and the identification information B, that the keywords storing the index records are (AB) or "AB" and "(AB)", etc. from a plurality of servers or one server. The server of the inverted index file is server 1.

步驟104:從伺服器1中,社會化網路伺服器提取出關鍵字為(A-B)的索引記錄,並從中提取標識為A的用戶端和標識為B的用戶端共同的社會化屬性資訊,或者從中提取標識為A的用戶端和標識為B的用戶端之間的關係鏈資訊。Step 104: From the server 1, the social network server extracts the index record with the keyword (AB), and extracts the social attribute information common to the client identified as A and the user identified as B. Or extract the relationship chain information between the client identified as A and the client identified as B.

步驟105:社會化網路伺服器向標識為B的用戶端發送提取的共同的社會化屬性資訊,或發送提取的共同的關係鏈資訊。Step 105: The social network server sends the extracted common social attribute information to the client identified as B, or sends the extracted common relationship chain information.

步驟106:標識為B的用戶端將接收的標識為A的用戶端和標識為B的用戶端共同的社會化屬性資訊或提取的共同的關係鏈資訊進行展示。Step 106: The client identified as B displays the received socialized attribute information or the extracted common relationship chain information of the user end with the identifier A and the user ID identified as B.

其中步驟101中,標識為B的用戶端本地儲存有1個或多個社會化關係列表,如社會化關係列表1中有5個用戶端標識和對應的社會化關係類別,表示標識為C、D、E、F、G的用戶端與標識為B的用戶端的社會化關係類別為1。社會化關係列表2中有3個用戶端標識和對應的社會化關係類別,社會化關係類別為2。表1用於保存社會化關係類別為1的用戶端標識,表2保存社會化關係類別為2的用戶端標識。In step 101, the client identified as B stores one or more socialized relationship lists locally. For example, the socialized relationship list 1 has five client identifiers and corresponding socialized relationship categories, indicating that the identifier is C. The socialized relationship category of the user end of D, E, F, and G and the user end marked as B is 1. There are three user-side identifiers and corresponding socialized relationship categories in the social relationship list 2, and the socialized relationship category is 2. Table 1 is used to store the client identifier of the socialization relationship category 1, and Table 2 stores the client identifier of the socialization relationship category 2.

表1Table 1

表2Table 2

標識為A的用戶端通過社會化網路伺服器向標識為B的用戶端發送加入表1的認證請求消息,用戶端A發送的認證請求消息中攜帶用戶端A的標識資訊A。The client identified as A sends the authentication request message of the join table 1 to the client identified by B through the social network server, and the authentication request message sent by the client A carries the identification information A of the user A.

社會化網路伺服器可以安裝於社會化網路中的任意一台伺服器,比如可以是社會化網路中的伺服器1、伺服器2或伺服器3。The social network server can be installed on any server in the social network, such as server 1, server 2 or server 3 in a social network.

其中步驟102中,社會化網路伺服器收到標識為A的用戶端發送的認證請求消息後,對認證請求消息進行分析,從認證請求消息中提取出標識資訊A和標識資訊B。進一步,社會化網路伺服器確定與用戶端A和用戶端B具有直接社會化網路關係的用戶端有用戶端C和用戶端D,社會化網路伺服器收到用戶端A發送的認證請求消息後,對認證請求消息進行分析,從認證請求消息中提取出接收用戶端的標識資訊B,在社會化網路伺服器的資料庫中儲存有與表1內容相同的表1',根據儲存於社會化網路伺服器中與表1相同的表1',確定與用戶端B具有直接社會化網路關係的用戶端有用戶端C和用戶端D。在本步驟中,社會化網路伺服器可以通過查詢得到與用戶端B具有直接社會化網路關係的用戶端有用戶端包括C和用戶端D,社會化網路伺服器收到用戶端A發送的認證請求消息後,對認證請求消息進行分析,從認證請求消息中提取出發送用戶端的標識資訊A,並根據與用戶端B類似的方法,確定與用戶端A具有直接社會化網路關係的用戶端也包括有用戶端C和用戶端D,作為優選方案用戶端C和用戶端D,與用戶端A有直接社會化網路關係,同時用戶端D和用戶端C,與用戶端B也有直接社會化網路關係。當然也可以是用戶端D和用戶端C,與用戶端B有直接社會化網路關係,同時用戶端D和用戶端C,與用戶端A具有社會化網路關係,但不是直接社會化網路關係。根據預定規則從用戶端C、用戶端D中選取出用戶端C,並獲取用戶端C的標識資訊C。預定規則可以是社會化網路伺服器自動計算用戶端A和用戶端B之間的熟悉度之和最高的一條社會化網路關係鏈,如用戶端A->用戶端C->用戶端B的熟悉度為Y1+X1;另外一條社會化網路關係鏈用戶端A->用戶端D>用戶端B的熟悉度為:Y2+X2.若Y1+X1>Y2+X2那麼,從用戶端D、用戶端C中選取出用戶端C,並獲取用戶端C的標識資訊C。否則選取出用戶端D,本實施例中採用選取出用戶端C作為優選方案。本步驟中是通過熟悉度選取出用戶端D或用戶端C,當然也可以不依據於熟悉度,從用戶端D和用戶端C之中任選其一。或者社會化網路伺服器根據用戶端D社會化網路關係列表和用戶端C的社會化網路關係列表中用戶端標識的數量,從用戶端D和用戶端C之中選擇其一,例如用戶端C的社會化網路關係列表中用戶端標識的數量為10個,用戶端D的社會化網路關係列表中用戶端標識的數量為100個,由於用戶端C的社會化網路關係列表中的用戶端標識數量少於用戶端D,說明用戶端C可能更加慎重的選擇自己的社會化網路關係物件,因此,選擇用戶端C,當然也可以是用戶端B占用戶端C的社會化網路關係列表中用戶端的比例是1/10,用戶端B占用戶端D的社會化網路關係列表中用戶端的比例是1/100,則選擇用戶端C。當然也可以通過設定一個閾值,如1/20,由於用戶端B占用戶端C的社會化網路關係列表中用戶端的比例是1/10,大於閾值1/20,而用戶端B占用戶端D的社會化網路關係列表中用戶端的比例是1/100,小於閾值1/20,因此,選擇用戶端C。In step 102, after receiving the authentication request message sent by the client identified by A, the social network server analyzes the authentication request message, and extracts the identification information A and the identification information B from the authentication request message. Further, the social network server determines that the client having the direct social network relationship with the client A and the client B has the client C and the client D, and the social network server receives the authentication sent by the client A. After requesting the message, analyzing the authentication request message, extracting the identification information B of the receiving client from the authentication request message, and storing the same table 1' as the content of Table 1 in the database of the social network server, according to the storage In the same table 1' of the social network server as in Table 1, it is determined that the client having a direct social network relationship with the client B has the client C and the client D. In this step, the social network server can obtain a direct social network relationship with the client B through the query, and the client includes the C and the client D, and the social network server receives the client A. After the authentication request message is sent, the authentication request message is analyzed, the identification information A of the sending client is extracted from the authentication request message, and a direct social network relationship with the client A is determined according to a method similar to that of the client B. The client side also includes the client terminal C and the client terminal D. As a preferred solution, the client terminal C and the client terminal D have a direct social network relationship with the client terminal A, and the client terminal D and the client terminal C and the client terminal B. There are also direct social networking relationships. Of course, it can also be the client D and the client C, and has a direct social network relationship with the client B. At the same time, the client D and the client C have a social network relationship with the client A, but it is not a direct social network. Road relationship. The user C is selected from the user C and the user D according to a predetermined rule, and the identification information C of the user C is obtained. The predetermined rule may be that the social network server automatically calculates the social network relationship chain with the highest degree of familiarity between the client A and the client B, such as the client A-> client C-> client B The familiarity is Y1+X1; the familiarity of another social network relationship chain client A->user D>user B is: Y2+X2. If Y1+X1>Y2+X2, then from the client D. The client C is selected from the client C, and the identification information C of the client C is obtained. Otherwise, the user terminal D is selected. In this embodiment, the user terminal C is selected as a preferred solution. In this step, the user terminal D or the client terminal C is selected by the familiarity. Of course, one of the user terminal D and the client terminal C may be selected according to the familiarity. Or the social network server selects one of the user terminal D and the client terminal C according to the number of the client identifiers in the social network relationship list of the client D and the social network relationship list of the client C, for example, The number of user identifiers in the social network relationship list of the client C is 10, and the number of user identifiers in the social network relationship list of the client D is 100, due to the social network relationship of the client C. The number of client IDs in the list is less than that of the client D, indicating that the client C may choose its own social network relationship object more carefully. Therefore, the user C is selected, and the user B may also occupy the client C. The proportion of the client in the social network relationship list is 1/10, and the ratio of the client in the social network relationship list of the client D is 1/100, and the client C is selected. Of course, by setting a threshold, such as 1/20, the ratio of the client in the social network relationship list of the client B to the client C is 1/10, which is greater than the threshold 1/20, and the client B occupies the client. The proportion of the client in the social network relationship list of D is 1/100, which is less than the threshold 1/20. Therefore, the client C is selected.

或者社會化網路伺服器自動選擇用戶端C和用戶端D中,與用戶端B熟悉度最高的:如果X1>X2,那麼社會化網路伺服器就選擇用戶端C;否則選擇用戶端D。本實施例中採用選取出用戶端C作為優選方案。Or the social network server automatically selects the client C and the client D, and has the highest familiarity with the client B: if X1>X2, the social network server selects the client C; otherwise, the user D is selected. . In this embodiment, the user terminal C is selected as a preferred solution.

當然除了採用採用預定規則選取出用戶端C外,還可以採用,社會化網路伺服器將用戶端D、用戶端C的標識D和C發送到用戶端A,若用戶端A選擇C則社會化網路伺服器根據用戶端A的選擇選取出用戶端C,否則,若用戶端A選擇D則社會化網路伺服器根據用戶端A的選擇選取出用戶端D。Of course, in addition to adopting the predetermined rule to select the client C, the social network server can send the identifiers D and C of the client D and the client C to the client A, and if the client A selects C, the society The network server selects the client C according to the selection of the client A. Otherwise, if the client A selects D, the social network server selects the client D according to the selection of the client A.

熟悉度可以通過如下的方式獲得,假設兩個用戶端之間具有社會化網路關係的時間(如30天)為N,單位時間(如1天)對應的熟悉度值為M,那麼熟悉度的時間權重值為N×M;並假設兩個用戶端之間在單位時間內進行一次資訊交互對應的熟悉度值為P,那麼單位時間內兩個用戶端進行資訊交互對應的熟悉度值最大為Pmax,Pmax<P*Y(Y為兩個用戶端之間在單位時間內進行資訊交互的最大次數,如假設單位時間為1天,進行了90次資訊交互,那麼Pmax=90P),這樣就可以計算出兩個用戶端之間之間的熟悉度了,為:X1=N1*M1+Min(Y*P,Pmax)。Familiarity can be obtained by the following method. It is assumed that the time (for example, 30 days) between two client terminals is N, and the familiarity value corresponding to unit time (such as 1 day) is M, then familiarity. The time weight value is N×M; and it is assumed that the familiarity value corresponding to the information interaction between the two users in the unit time is P, then the familiarity value corresponding to the information interaction between the two users in the unit time is the largest. Pmax, Pmax<P*Y (Y is the maximum number of information exchanges between two clients in unit time, such as assuming that the unit time is 1 day, 90 information interactions are performed, then Pmax=90P) It is possible to calculate the familiarity between the two clients, namely: X1=N1*M1+Min(Y*P, Pmax).

其中步驟103中,由於社會化網路中的用戶眾多數量在百萬級別,因此本實施例中採用分散式伺服器預先儲存倒排索引檔(Inverted index),當然預先儲存倒排索引檔只是一個優選方案,在本實施例不限定倒排索引檔建立的時間,也可以是提取了標識資訊A和B後再建立倒排索引檔,倒排索引也常被稱為反向索引、置入檔案或反向檔案,是一種索引方法,一般被用來儲存在全文搜索下某個單詞(作為索引的關鍵字Key)在一個文檔或者一組文檔中的儲存位置(索引的欄位值VALUE)的映射。本實施例中僅以圖3中的社會化網路為例進行說明,倒排索引檔中以相互綁定的標識資訊A和標識資訊B(採用(A-B)表示相互綁定的標識資訊A和標識資訊B)作為索引的Key,如Key為(A-B),以標識為A的用戶端和標識為B的用戶端共同的社會化屬性資訊作為索引的VALUE,其中社會化屬性資訊表示與一個用戶端綁定的社會化網路用戶在社會化網路中所具有的屬性,這些社會化屬性資訊可以是用戶在加入社會化網路時註冊的,如註冊時填寫的所在地為:杭州,公司為甲公司,還可以是在社會化網路中的進行活動時產生的資訊:屬於某個魔獸世界群。這些社會化屬性資訊可以從如用戶日誌中獲得,或者通過從用於儲存用戶註冊資訊的資料庫中獲得,之後從不同用戶的社會化屬性資訊中提取出共同的社會化屬性資訊。如索引的VALUE為{“所在地”=>“杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”},伺服器1中儲存的倒排索引檔如表3所示。In the step 103, since the number of users in the social network is in the order of one million, the distributed server pre-stores the inverted index file (Inverted index) in the embodiment, of course, the pre-stored inverted index file is only one Preferably, in this embodiment, the time when the inverted index file is established is not limited, or the inverted index file is created after the identification information A and B are extracted, and the inverted index is also often referred to as an inverted index and a file is placed. Or reverse file, is an index method, generally used to store the storage location of a word (as the index Key) in a document or a group of documents (index field value VALUE) under full-text search. Mapping. In this embodiment, only the socialized network in FIG. 3 is taken as an example. In the inverted index file, the identification information A and the identification information B that are mutually bound are used (the (AB) indicates the binding information A and the binding information. The identification information B) is the key of the index, for example, the key is (AB), and the social attribute information shared by the client identified as A and the user identified as B is indexed as VALUE, wherein the social attribute information is represented by a user. The social network users have the attributes in the social network. These social attribute information can be registered when the user joins the social network. For example, the location where the registration is completed is: Hangzhou, the company is Company A can also be the information generated during the activities in the social network: belonging to a certain World of Warcraft group. These social attribute information can be obtained from, for example, a user log, or obtained from a database for storing user registration information, and then extract common social attribute information from social attribute information of different users. For example, the VALUE of the index is {"location" => "Hangzhou", "company" => "company", "same name" => "male", "industry" => "hardware electronics", "game name" = > "World of Warcraft"}, the inverted index file stored in server 1 is shown in Table 3.

社會化網路伺服器根據從認證請求消息中提取出標識資訊A和標識資訊B,得到(A-B),從儲存倒排索引檔的伺服器1、伺服器2、伺服器3中確定儲存索引記錄的關鍵字為(A-B)的倒排索引檔的伺服器為伺服器1。The social network server obtains (AB) according to the identifier information A and the identification information B extracted from the authentication request message, and determines the storage index record from the server 1, the server 2, and the server 3 that store the inverted index file. The server whose keyword is (AB) is the inverted index file server.

其中步驟104中,社會化網路伺服器從表3中提取出關鍵字為(A-B)的索引記錄,並從中提取對應的VALUE(標識為A的用戶端和標識為B的用戶端共同的社會化屬性資訊){“所在地”=>“杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”}。In step 104, the social network server extracts the index record with the keyword (AB) from Table 3, and extracts the corresponding VALUE (the user identified as A and the user identified as B) Attribute Information) {"Location" => "Hangzhou", "Company" => "Company", "Surname" => "Men", "Industry" => "Hardware Electronics", "Game Name" => "World of Warcraft"}.

社會化網路伺服器提取出關鍵字為(A-B)的索引記錄,從中提取標識為A的用戶端和標識為B的用戶端之間的關係鏈資訊。以用戶端A和用戶端B之間的關係鏈資訊作為索引的VALUE,關係鏈資訊用於表示兩用戶端相互之間具有間接的社會化網路關係,如標識為A的用戶端和標識為D的用戶端具有一定的社會化關係,關係類型為2,用戶端D和用戶端B具有一定的社會化關係,關係類型為1,Key為(A-B)的索引的VALUE為{(A-D,關係類型2),(D-B,關係類型1)},有如用戶端A和用戶端C具有一定的社會化關係,關係類型為2,用戶端C和用戶端B具有一定的社會化關係,關係類型為1,Key為(A-B)的另一個索引的VALUE為{(A-C,關係類型2),(C-B,關係類型1)},伺服器1中儲存的倒排索引檔如表4所示。The social network server extracts the index record with the keyword (A-B), and extracts the relationship chain information between the client identified as A and the client identified as B. The relationship chain information between the client A and the client B is used as an index of the VALUE. The relationship chain information is used to indicate that the two clients have an indirect social network relationship with each other. For example, the client and the identifier identified as A are The user end of D has a certain social relationship, the relationship type is 2, the client D and the client B have a certain social relationship, the relationship type is 1, and the key VALUE of the (AB) index is {(AD, relationship). Type 2), (DB, relationship type 1)}, as for client A and client C have a certain social relationship, relationship type is 2, client C and client B have a certain social relationship, the relationship type is 1, VALUE of another index of (AB) is {(AC, relationship type 2), (CB, relationship type 1)}, and the inverted index file stored in the server 1 is as shown in Table 4.

表4Table 4

其中步驟105中,社會化網路伺服器將提取出的{“所在地”=>‘杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”},發送給標識為B的用戶端。通過{“所在地”=>“杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”}表示與標識為A的用戶端綁定的用戶和標識為B的用戶端綁定的用戶在社會化網路中所具有的共同的屬性。In step 105, the social network server will extract the {"location" => 'Hangzhou", "company" => "company A", "single name" => "male", "industry" => "Hardware Electronics", "Game Name" => "World of Warcraft"}, sent to the client identified as B. By {"Location" => "Hangzhou", "Company" => "Company A", "Surname "=>"Men", "Industry" => "Hardware Electronics", "Game Name" => "World of Warcraft"} indicates that the user bound to the client identified as A is bound to the client identified as B. The common attributes that users have in a social network.

同時,社會化網路伺服器向標識為B的用戶端轉發認證請求消息,在認證請求消息中攜帶上述共同的社會化屬性資訊{“所在地”=>“杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”}。當然社會化網路伺服器也可以分別向標識為B的用戶端發送認證請求消息和上述共同的社會化屬性資訊,在認證請求消息和/或共同的社會化屬性資訊中攜帶說明彼此綁定的資訊。這樣標識為B的用戶端就可以知道收到的共同的社會化屬性資訊對應哪個認證請求消息,並據此共同的社會化屬性資訊對認證請求消息進行認證處理。At the same time, the social network server forwards the authentication request message to the client identified as B, and carries the above-mentioned common social attribute information in the authentication request message {"location" => "Hangzhou", "company" => "A Company", "last name" => "male", "industry" => "hardware electronics", "game name" => "World of Warcraft"}. Of course, the social network server may also send an authentication request message and the above-mentioned common social attribute information to the client identified as B, and carry the instructions in the authentication request message and/or the common social attribute information. News. The UE identified as B can know which authentication request message is received by the received common social attribute information, and perform authentication processing on the authentication request message according to the common social attribute information.

或者,社會化網路伺服器將提取出的{A-D,關係類型2),(D-B,關係類型1)}或{A-C,關係類型2),(C-B,關係類型1)},發送給標識為B的用戶端。通過{A-D,關係類型2),(D-B,關係類型1)}或{A-C,關係類型2),(C-B,關係類型1)}表示用戶端A和用戶端B之間的關係鏈資訊。對於共同的關係鏈資訊,社會化網路伺服器向標識為B的用戶端轉發認證請求消息時,在認證請求消息中攜帶共同的關係鏈資訊,當然社會化網路伺服器也可以分別向標識為B的用戶端發送認證請求消息和用戶端A和用戶端B之間的關係鏈資訊,在認證請求消息和/或“用戶端A和用戶端B之間的關係鏈資訊”中攜帶說明彼此綁定的資訊。這樣標識為B的用戶端就可以知道收到的關係鏈資訊對應哪個認證請求消息,並據此關係鏈資訊對認證請求消息進行認證處理。Or, the social network server will extract the extracted {AD, relationship type 2), (DB, relationship type 1)} or {AC, relationship type 2), (CB, relationship type 1)}, and send it to the identifier as The client side of B. By {A-D, relationship type 2), (D-B, relationship type 1)} or {A-C, relationship type 2), (C-B, relationship type 1)} represents the relationship chain information between the client A and the client B. For the common relationship chain information, when the social network server forwards the authentication request message to the client identified as B, the authentication request message carries the common relationship chain information, and of course, the social network server can also separately identify the identifier. Sending the authentication request message and the relationship chain information between the client A and the client B, and carrying the description in the authentication request message and/or the "relationship chain information between the client A and the client B" Bind information. The UE identified as B can know which authentication request message is received by the received relationship chain information, and perform authentication processing on the authentication request message according to the relationship chain information.

進一步,若步驟103中,社會化網路伺服器從與用戶端A和用戶端B具有直接社會化網路關係的用戶端中,根據預定規則選取出用戶端C,則社會化網路伺服器將用戶端A發送的認證請求消息中攜帶的標識資訊A修改為標識資訊C,社會化網路伺服器收到用戶端A發送的認證請求消息後,查找到該認證請求消息中的標識資訊A並修改為標識資訊C,修改後的認證請求消息包括:標識資訊C和一些修改後的文字說明,標識資訊C用於標識修改後的認證請求消息的發送用戶端,修改後的文字說明可以是:“用戶端A請求加入社會化關係列表1”。因此,修改後的認證請求消息為:發送用戶端標識:C,文字內容“用戶端A請求加入社會化關係列表1”。向用戶端B發送修改標識資訊後的認證請求消息。包括標識資訊C和一些原用戶端A發送的認證請求消息中包括的用於表示請求用戶端B將用戶端A加入社會化關係列表1的文字說明。如通過上述預定規則選擇用戶端C後,可以將修改標識資訊後的認證請求消息先發送給用戶端C,社會化網路伺服器在收到用戶端C響應的OK確認資訊後,再向用戶端B發送修改標識資訊後的認證請求消息,否則不向用戶端B發送修改標識資訊後的認證請求消息。Further, in step 103, the social network server selects the client C according to a predetermined rule from the client having a direct social network relationship with the client A and the client B, and the social network server The identification information A carried in the authentication request message sent by the client A is modified into the identification information C. After receiving the authentication request message sent by the client A, the social network server finds the identification information A in the authentication request message. And modified to identify the information C, the modified authentication request message includes: the identification information C and some modified text descriptions, the identification information C is used to identify the sending client of the modified authentication request message, and the modified text description may be : "User A requests to join the social relationship list 1". Therefore, the modified authentication request message is: sending the client identifier: C, and the text content “user A requests to join the social relationship list 1”. Send an authentication request message after modifying the identification information to the client B. The identifier information C and some text descriptions included in the authentication request message sent by the original client A are used to indicate that the requesting client B adds the client A to the social relationship list 1 . After the user C is selected through the foregoing predetermined rule, the authentication request message after modifying the identification information may be sent to the user C first, and the social network server receives the OK confirmation message of the response from the user C, and then sends the message to the user. End B sends an authentication request message after modifying the identification information. Otherwise, the authentication request message after modifying the identification information is not sent to the user B.

其中步驟106中,標識為B的用戶端會以社會關係驗證訊息方塊的形式,接收標識為A的用戶端發送的與其建立社會化關係的認證請求消息,並在該社會關係驗證訊息方塊中顯示{“所在地”=>“杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”}。In step 106, the client identified as B receives the authentication request message sent by the client identified by A and establishes a social relationship in the form of a social relationship verification message block, and displays the social relationship verification message box. {"Location" => "Hangzhou", "Company" => "Company", "Surname" => "Men", "Industry" => "Hardware Electronics", "Game Name" => "World of Warcraft" }.

本申請提供的第二實施例是一種社會化網路中處理認證請求消息的方法,方法流程如圖4所示,包括:步驟201:標識為A的用戶端通過社會化網路伺服器向標識為B的用戶端發送請求與標識為B的用戶端建立社會化關係的認證請求消息。The second embodiment of the present application is a method for processing an authentication request message in a social network. The method flow is as shown in FIG. 4, and includes: Step 201: A client identified as A uses a social network server to identify the identifier. An authentication request message is generated for the user of B to establish a socialized relationship with the user identified as B.

步驟202:社會化網路伺服器獲知標識為A的用戶端發送請求與標識為B的用戶端建立社會化關係的認證請求消息後,獲取標識為A的用戶端的標識資訊A和標識為B的用戶端的標識資訊B。Step 202: After the social network server learns that the client that is identified by A sends a request to establish a socialized relationship with the user that is identified as B, the authentication information A and the identifier B are obtained. The identification information B of the client.

步驟203:社會化網路伺服器根據標識資訊A和標識資訊B,從儲存倒排索引檔的多個伺服器中確定索引記錄的關鍵字為A的伺服器1和關鍵字為B的伺服器2。當然如果倒排索引檔只是儲存於1個伺服器中,則無需本步驟,例如所有的索引記錄都儲存於社會化網路伺服器1中,則無論關鍵字為A還是B的索引記錄都直接從社會化網路伺服器1中提取。Step 203: The social network server determines, according to the identification information A and the identification information B, the server 1 with the keyword A and the server with the keyword B from the plurality of servers storing the inverted index file. 2. Of course, if the inverted index file is only stored in one server, this step is not needed. For example, all the index records are stored in the social network server 1, and the index records of the keywords A or B are directly Extracted from the social network server 1.

步驟204:從伺服器1中,社會化網路伺服器提取出關鍵字為A的索引記錄中標識為A的用戶端的社會化屬性資訊,從伺服器2中提取出標識為B的用戶端的社會化屬性資訊。Step 204: From the server 1, the social network server extracts the social attribute information of the user terminal identified as A in the index record of the keyword A, and extracts the society of the user terminal identified as B from the server 2. Attribute information.

步驟205:從標識為A的用戶端的社會化屬性資訊和標識為B的用戶端的社會化屬性資訊中提取出共同的社會化屬性資訊。Step 205: Extract common social attribute information from the socialized attribute information of the user end identified as A and the socialized attribute information of the user end identified as B.

步驟206:社會化網路伺服器向標識為B的用戶端發送提取的共同的社會化屬性資訊。Step 206: The social network server sends the extracted common social attribute information to the client identified as B.

步驟207:標識為B的用戶端將接收的標識為A的的用戶端和標識為B的用戶端共同的社會化屬性資訊進行展示。Step 207: The client identified as B displays the received socialized attribute information common to the user end that is identified as A and the user end that is identified as B.

本實施例預存的倒排索引檔中,以各個標識資訊作為索引的Key,以不同標識的用戶端社會化屬性資訊作為對應的索引VALUE,如以標識資訊A作為Key,以標識為A的用戶端社會化屬性資訊作為對應的索引VALUE,以標識資訊B作為Key,以標識為B的用戶端的社會化屬性資訊作為對應的索引VALUE,標識資訊A作為Key對應的索引的VALUE為{“所在地”=>“杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”,“體育項目”=>”足球”,職業”=>”銷售”等},標識資訊B作為Key對應的索引的VALUE為{“所在地”=>“杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”,“體育項目”=>”乒乓球球”,職業”=>”財務人員”等}。社會化網路伺服器從上面的2個VALUE中找出共同的部分{“所在地”=>“杭州”,“公司”=>“甲公司”,“姓別”=>”男”,“行業”=>”五金電子”,“遊戲名稱”=>”魔獸世界”}。In the inverted index file pre-stored in this embodiment, the key with the index information as the index, and the socialized attribute information of the user end with different identifiers are used as the corresponding index VALUE, for example, the information A is used as the key, and the user identified as A is identified. The socialized attribute information is used as the corresponding index VALUE, and the information B is identified as the Key, and the socialized attribute information of the user end of the B is identified as the corresponding index VALUE, and the VALUE of the index A corresponding to the information A is {"location". => "Hangzhou", "Company" => "Company", "Surname" => "Men", "Industry" => "Hardware Electronics", "Game Name" => "World of Warcraft", "Sports Project "=>"Football", occupation"=>"sale", etc., the identification information _ as the index corresponding to the key VALUE is {"location" => "Hangzhou", "company" => "company A", "surname" Don't "=" "Men", "Industry" => "Hardware Electronics", "Game Name" => "World of Warcraft", "Sports Project" => "Table Tennis Ball", Occupation" => "Financial Personnel", etc. }. The social network server finds the common part from the above 2 VALUEs {"location" => "Hangzhou", "company" => "company A", "same name" => "male", "industry ”=>”Hardware Electronics”, “Game Name” => “World of Warcraft”}.

當然步驟205後,還可以是由系統自動判斷提取出共同的社會化屬性資訊的條數,如果條數為10條,正好超過設定的第一閾值9條,則系統會自動把用戶A加入到用戶B的社會化網路關係列表1中,如果條數為5條,正好超過設定的第二閾值4條,則系統會自動把用戶A加入到用戶B的社會化網路關係列表2中。Of course, after step 205, the system may automatically determine the number of pieces of common social attribute information, and if the number of pieces is 10, just exceed the set first threshold of 9, the system will automatically add user A to In the social network relationship list 1 of the user B, if the number of the bars is 5 and just exceeds the set second threshold, the system automatically adds the user A to the social network relationship list 2 of the user B.

本申請提供的第三實施例是一種社會化網路中處理認證請求消息的裝置,其結構如圖5所示,包括:獲取模組301:用於獲知第一用戶端向第二用戶端發送與第二用戶端建立社會化關係的認證請求消息後,獲取第一用戶端和第二用戶端共同的社會化屬性資訊,社會化屬性資訊用於表示社會化網路用戶在社會化網路中所具有的屬性;發送模組302:用於向第二用戶端轉發認證請求消息,並發送獲取的社會化屬性資訊,所述社會化屬性資訊用於第二用戶端對所述認證請求消息進行認證處理。The third embodiment of the present application is a device for processing an authentication request message in a social network, and the structure thereof is as shown in FIG. 5, which includes: an obtaining module 301, configured to learn that the first user end sends the second user end to the second user end. After the authentication request message is established with the second user end, the social attribute information shared by the first user end and the second user end is obtained, and the social attribute information is used to indicate that the socialized network user is in the social network. The sending module 302 is configured to forward the authentication request message to the second user end, and send the obtained socialized attribute information, where the socialized attribute information is used by the second user end to perform the authentication request message. Certification processing.

進一步,獲取模組301:還用於根據第一用戶端的標識資訊,以及用戶端標識資訊和用戶端社會化屬性資訊的對應關係,獲取第一用戶端的社會化屬性資訊,根據第二用戶端的標識資訊,以及用戶端標識資訊和用戶端社會化屬性資訊的對應關係,獲取第二用戶端的社會化屬性資訊,從獲取的第一用戶端的社會化屬性資訊和第二用戶端的社會化屬性資訊中選出第一用戶端和第二用戶端共同的社會化屬性資訊。Further, the obtaining module 301 is further configured to obtain the social attribute information of the first user end according to the identifier information of the first user end, and the correspondence between the user end identification information and the socialized attribute information of the user end, according to the identifier of the second user end. The information, and the correspondence between the client identification information and the socialized attribute information of the user end, obtain the social attribute information of the second user end, and select the social attribute information of the first user end and the social attribute information of the second user end. The social attribute information common to the first user end and the second user end.

進一步,獲取模組301:還用於查找倒排索引檔關鍵字,定位倒排索引檔中關鍵字為第一用戶端的標識資訊的索引記錄和關鍵字為第二用戶端的標識資訊的索引記錄,從定位的索引記錄中獲取第一用戶端的社會化屬性資訊和第二用戶端的社會化屬性資訊,所述倒排索引以用戶端標識資訊作為索引記錄的關鍵字,以用戶端社會化屬性資訊作為索引記錄的欄位值。Further, the obtaining module 301 is further configured to search for an inverted index file keyword, and locate an index record in which the keyword in the inverted index file is the identification information of the first user end and an index record in which the keyword is the identification information of the second user end. Obtaining, from the located index record, the social attribute information of the first user end and the social attribute information of the second user end, wherein the inverted index uses the user end identification information as a key of the index record, and uses the socialized attribute information of the user end as the information The field value of the index record.

進一步,獲取模組301:還用於根據相互綁定的第一用戶端的標識資訊和第二用戶端的標識資訊,以及相互綁定的兩個用戶端標識資訊和兩個用戶端共同的社會化屬性資訊的對應關係,確定第一用戶端和第二用戶端共同的社會化屬性資訊。Further, the obtaining module 301 is further configured to: according to the identification information of the first user end and the identification information of the second user end that are mutually bound, and two user end identification information that are mutually bound and a social attribute common to the two user ends. The correspondence between the information determines the social attribute information common to the first user end and the second user end.

進一步,獲取模組301:還用於查找倒排索引檔關鍵字,定位倒排索引檔中關鍵字為相互綁定的第一用戶端的標識資訊和第二用戶端的標識資訊的索引記錄,從定位的索引記錄中獲取第一用戶端和第二用戶端共同的社會化屬性資訊,所述倒排索引以相互綁定的兩個用戶端標識資訊作為索引記錄的關鍵字,以兩個用戶端共同的社會化屬性資訊作為索引記錄的欄位值。Further, the obtaining module 301 is further configured to: search for an inverted index file keyword, and locate an index record of the first user end of the inverted binding index file and the index information of the second user end identification information in the inverted index file, from the positioning Obtaining the social attribute information common to the first user end and the second user end in the index record, where the inverted index uses two user end identification information that are mutually bound as the index of the index record, and the two users end together The social attribute information is used as the field value of the index record.

進一步,還包括:確定模組303:用於根據第一用戶端的標識資訊和第二用戶端的標識資訊,從多個儲存用戶端標識資訊和用戶端社會化屬性資訊的對應關係的伺服器中,確定儲存第一用戶端標識資訊和其對應的用戶端社會化屬性資訊的伺服器,以及儲存第二用戶端標識資訊和其對應的用戶端社會化屬性資訊的伺服器;獲取模組301:還用於從確定的伺服器中獲取第一用戶端和第二用戶端共同的社會化屬性資訊。Further, the determining module 303 is configured to: according to the identifier information of the first user end and the identifier information of the second user end, from a plurality of servers that store the correspondence between the user end identification information and the socialized attribute information of the user end, Determining a server storing the first user end identification information and the corresponding user socialization attribute information, and a server storing the second user end identification information and the corresponding user socialization attribute information; the obtaining module 301: further And a method for obtaining social attribute information common to the first user end and the second user end from the determined server.

顯然,本領域的技術人員可以對本申請進行各種改動和變型而不脫離本申請的精神和範圍。這樣,倘若本申請的這些修改和變型屬於本申請案之申請專利範圍及其等同技術的範圍之內,則本申請也意圖包含這些改動和變型在內。It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the invention,

圖1為本申請提供的第一實施例網路拓撲圖;1 is a network topology diagram of a first embodiment provided by the present application;

圖2為本申請提供的第一實施例方法流程圖;2 is a flowchart of a method according to a first embodiment provided by the present application;

圖3為本申請提供的社會化網路關係鏈示意圖;3 is a schematic diagram of a social network relationship chain provided by the present application;

圖4為本申請提供的第二實施例方法流程圖;4 is a flowchart of a second embodiment of the present application;

圖5為本申請提供的第三實施例裝置結構圖。FIG. 5 is a structural diagram of a device according to a third embodiment provided by the present application.

Claims (12)

一種社會化網路中處理認證請求消息的方法,其特徵在於,包括:社會化網路伺服器獲知第一用戶端向第二用戶端發送的請求與第二用戶端建立社會化關係的認證請求消息後,獲取第一用戶端和第二用戶端共同的社會化屬性資訊,社會化屬性資訊用於表示社會化網路用戶在社會化網路中所具有的屬性;以及社會化網路伺服器向第二用戶端轉發認證請求消息,並發送獲取的該共同的社會化屬性資訊,該社會化屬性資訊用於第二用戶端對該認證請求消息進行認證處理,其中,獲取第一用戶端和第二用戶端共同的社會化屬性資訊包括:社會化網路伺服器根據第一用戶端的標識資訊,以及用戶端標識資訊和用戶端社會化屬性資訊的對應關係,獲取第一用戶端的社會化屬性資訊;社會化網路伺服器根據第二用戶端的標識資訊,以及用戶端標識資訊和用戶端社會化屬性資訊的對應關係,獲取第二用戶端的社會化屬性資訊;以及社會化網路伺服器從獲取的第一用戶端的社會化屬性資訊和第二用戶端的社會化屬性資訊中選出第一用戶端和第二用戶端共同的社會化屬性資訊。 A method for processing an authentication request message in a social network, comprising: obtaining, by a social network server, an authentication request that a first user sends a request to a second user to establish a social relationship with a second user After the message, the social attribute information shared by the first user end and the second user end is obtained, and the social attribute information is used to indicate the attribute of the social network user in the social network; and the social network server Forwarding the authentication request message to the second user, and transmitting the obtained common social attribute information, where the socialized attribute information is used by the second user end to perform authentication processing on the authentication request message, where the first user end is obtained. The social attribute information common to the second user end includes: the social network server obtains the social attribute of the first user end according to the identification information of the first user end, and the correspondence between the user end identification information and the socialized attribute information of the user end. Information; the social network server is based on the identification information of the second user, and the user identification information and the client community Corresponding relationship of the attribute information, obtaining the social attribute information of the second user end; and the social network server selecting the first user end from the acquired social attribute information of the first user end and the social attribute information of the second user end Social property information shared with the second user. 如申請專利範圍第1項所述的方法,其中,社會化網路伺服器根據第一用戶端的標識資訊,以及用戶端標識 資訊和用戶端社會化屬性資訊的對應關係,獲取第一用戶端的社會化屬性資訊,根據第二用戶端的標識資訊,以及用戶端標識資訊和用戶端社會化屬性資訊的對應關係,獲取第二用戶端的社會化屬性資訊具體為:社會化網路伺服器查找倒排索引檔關鍵字,定位倒排索引檔中關鍵字為第一用戶端的標識資訊的索引記錄和關鍵字為第二用戶端的標識資訊的索引記錄,從定位的索引記錄中獲取第一用戶端的社會化屬性資訊和第二用戶端的社會化屬性資訊,該倒排索引檔以用戶端標識資訊作為索引記錄的關鍵字,以用戶端社會化屬性資訊作為索引記錄的欄位值。 The method of claim 1, wherein the social network server is based on the identification information of the first user end, and the user identifier Corresponding relationship between the information and the socialized attribute information of the user end, obtaining the social attribute information of the first user end, acquiring the second user according to the identification information of the second user end, and the correspondence between the user end identification information and the socialized attribute information of the user end The socialized attribute information of the end is specifically: the social network server searches for the inverted index file keyword, and the index record in which the keyword in the inverted index file is the identification information of the first user end and the keyword is the identification information of the second user end. The index record obtains the social attribute information of the first user end and the social attribute information of the second user end from the located index record, and the inverted index file uses the user end identification information as a key of the index record to the user end society The attribute information is used as the field value of the index record. 如申請專利範圍第1項所述的方法,其中,獲取第一用戶端和第二用戶端共同的社會化屬性資訊包括:社會化網路伺服器根據相互綁定的第一用戶端的標識資訊和第二用戶端的標識資訊,以及相互綁定的兩個用戶端標識資訊和兩個用戶端共同的社會化屬性資訊的對應關係,確定第一用戶端和第二用戶端共同的社會化屬性資訊。 The method of claim 1, wherein obtaining the social attribute information common to the first user end and the second user end comprises: the social network server according to the identification information of the first user end that is mutually bound The identification information of the second user end, and the correspondence between the two user end identification information and the social attribute information shared by the two user ends, determine the social attribute information common to the first user end and the second user end. 如申請專利範圍第3項所述的方法,其中,獲取第一用戶端和第二用戶端共同的社會化屬性資訊包括:社會化網路伺服器查找倒排索引檔關鍵字,定位倒排索引檔中關鍵字為相互綁定的第一用戶端的標識資訊和第二用戶端的標識資訊的索引記錄,從定位的索引記錄中獲取第一用戶端和第二用戶端共同的社會化屬性資訊,該倒排索引以相互綁定的兩個用戶端標識資訊作為索引記錄的關鍵字, 以兩個用戶端共同的社會化屬性資訊作為索引記錄的欄位值。 The method of claim 3, wherein obtaining the social attribute information common to the first user end and the second user end comprises: the social network server searching for the inverted index file keyword, and positioning the inverted index The keyword in the file is an index record of the identification information of the first user end and the identification information of the second user end, and the social attribute information common to the first user end and the second user end is obtained from the located index record. The inverted index uses two client-side identification information that are mutually bound as keywords for index records. The social attribute information common to both users is used as the field value of the index record. 如申請專利範圍第1項所述的方法,其中,獲取第一用戶端和第二用戶端共同的社會化屬性資訊包括:社會化網路伺服器根據第一用戶端的標識資訊和第二用戶端的標識資訊,從多個儲存用戶端標識資訊和用戶端社會化屬性資訊的對應關係的伺服器中,確定儲存第一用戶端標識資訊和與其對應的用戶端社會化屬性資訊,以及第二用戶端標識資訊和與其對應的用戶端社會化屬性資訊的伺服器;以及社會化網路伺服器從確定的伺服器中獲取第一用戶端和第二用戶端共同的社會化屬性資訊。 The method of claim 1, wherein obtaining the social attribute information common to the first user end and the second user end comprises: the social network server according to the identification information of the first user end and the second user end Identifying the information, and determining, from the plurality of servers storing the correspondence between the user end identification information and the socialized attribute information of the user end, storing the first user end identification information and the corresponding social social attribute information of the user, and the second user end And a server that identifies the information and the corresponding socialized attribute information of the client; and the social network server obtains the social attribute information common to the first user and the second user from the determined server. 如申請專利範圍第1項所述的方法,其中,獲取第一用戶端和第二用戶端共同的社會化屬性資訊包括:社會化網路伺服器選出第一用戶端和第二用戶端共同的多維度社會化屬性資訊;以及社會化網路伺服器向第二用戶端發送選出的多維度社會化屬性資訊。 The method of claim 1, wherein obtaining the social attribute information common to the first user end and the second user end comprises: the social network server selecting the first user end and the second user end together Multi-dimensional social attribute information; and the social network server sends the selected multi-dimensional social attribute information to the second user. 如申請專利範圍第1項所述的方法,其中,若獲取的第一用戶端和第二用戶端共同的社會化屬性資訊個數大於設定閾值,則自動建立第一用戶端與第二用戶端的社會化關係。 The method of claim 1, wherein if the number of social attribute information common to the first user end and the second user end is greater than a set threshold, the first user end and the second user end are automatically established. Social relations. 一種社會化網路中處理認證請求消息的裝置,其特徵在於,包括: 獲取模組,用於獲知第一用戶端向第二用戶端發送與第二用戶端建立社會化關係的認證請求消息後,獲取第一用戶端和第二用戶端共同的社會化屬性資訊,社會化屬性資訊用於表示社會化網路用戶在社會化網路中所具有的屬性;以及發送模組,用於向第二用戶端轉發認證請求消息,並發送獲取的社會化屬性資訊,該社會化屬性資訊用於第二用戶端對該認證請求消息進行認證處理,其中,獲取模組還用於根據第一用戶端的標識資訊,以及用戶端標識資訊和用戶端社會化屬性資訊的對應關係,獲取第一用戶端的社會化屬性資訊,根據第二用戶端的標識資訊,以及用戶端標識資訊和用戶端社會化屬性資訊的對應關係,獲取第二用戶端的社會化屬性資訊,從獲取的第一用戶端的社會化屬性資訊和第二用戶端的社會化屬性資訊中選出第一用戶端和第二用戶端共同的社會化屬性資訊。 An apparatus for processing an authentication request message in a social network, comprising: The acquiring module is configured to obtain the socialized attribute information common to the first user end and the second user end after the first user end sends the authentication request message to the second user end to establish a socialized relationship with the second user end, and the social The attribute information is used to represent the attributes of the social network user in the social network; and the sending module is configured to forward the authentication request message to the second user, and send the acquired social attribute information, the society The attribute information is used by the second user end to perform authentication processing on the authentication request message, wherein the obtaining module is further configured to: according to the identification information of the first user end, and the correspondence between the user end identification information and the socialized attribute information of the user end, Obtaining the social attribute information of the first user end, acquiring the social attribute information of the second user end according to the identification information of the second user end, and the correspondence between the user end identification information and the socialized attribute information of the user end, from the obtained first user Selecting the first user end and the second user end in the social attribute information of the end and the social attribute information of the second user end With social attribute information. 如申請專利範圍第8項所述的裝置,其中,獲取模組還用於查找倒排索引檔關鍵字,定位倒排索引檔中關鍵字為第一用戶端的標識資訊的索引記錄和關鍵字為第二用戶端的標識資訊的索引記錄,從定位的索引記錄中獲取第一用戶端的社會化屬性資訊和第二用戶端的社會化屬性資訊,該倒排索引以用戶端標識資訊作為索引記錄的關鍵字,以用戶端社會化屬性資訊作為索引記錄的欄位值。 The device of claim 8, wherein the obtaining module is further configured to search for an inverted index file keyword, and the index record and the keyword of the identifier information of the first user end are located in the inverted index file. An index record of the identification information of the second user end, the social attribute information of the first user end and the social attribute information of the second user end are obtained from the located index record, and the inverted index uses the user end identification information as a key of the index record The user-side socialized attribute information is used as the field value of the index record. 如申請專利範圍第8項所述的裝置,其中,獲取 模組還用於根據相互綁定的第一用戶端的標識資訊和第二用戶端的標識資訊,以及相互綁定的兩個用戶端標識資訊和兩個用戶端共同的社會化屬性資訊的對應關係,確定第一用戶端和第二用戶端共同的社會化屬性資訊。 The device of claim 8, wherein the obtaining The module is further configured to: according to the identification information of the first user end and the identification information of the second user end, and the correspondence between the two user end identification information that are mutually bound and the social attribute information shared by the two user ends, Determining the social attribute information common to the first user end and the second user end. 如申請專利範圍第10項所述的裝置,其中,獲取模組還用於查找倒排索引檔關鍵字,定位倒排索引檔中關鍵字為相互綁定的第一用戶端的標識資訊和第二用戶端的標識資訊的索引記錄,從定位的索引記錄中獲取第一用戶端和第二用戶端共同的社會化屬性資訊,該倒排索引以相互綁定的兩個用戶端標識資訊作為索引記錄的關鍵字,以兩個用戶端共同的社會化屬性資訊作為索引記錄的欄位值。 The device of claim 10, wherein the obtaining module is further configured to search for an inverted index file keyword, wherein the keyword in the inverted index file is the identification information of the first user end and the second binding information. An index record of the identification information of the user end, the social attribute information common to the first user end and the second user end is obtained from the located index record, and the inverted index is recorded by using two client end identification information bound to each other as an index record. The keyword uses the social attribute information common to both clients as the field value of the index record. 如申請專利範圍第10項所述的裝置,其中,還包括:確定模組,用於根據第一用戶端的標識資訊和第二用戶端的標識資訊,從多個儲存用戶端標識資訊和用戶端社會化屬性資訊的對應關係的伺服器中,確定儲存第一用戶端標識資訊和其對應的用戶端社會化屬性資訊的伺服器,以及儲存第二用戶端標識資訊和其對應的用戶端社會化屬性資訊的伺服器;以及獲取模組,還用於從確定的伺服器中獲取第一用戶端和第二用戶端共同的社會化屬性資訊。The device of claim 10, further comprising: a determining module, configured to identify information and a user-side society from the plurality of storage user terminals according to the identification information of the first user end and the identification information of the second user end Determining, by the server corresponding to the attribute information, the server storing the first user end identification information and the corresponding user socialization attribute information, and storing the second user end identification information and the corresponding user socialization attribute thereof The server of the information; and the obtaining module is further configured to obtain the social attribute information common to the first user end and the second user end from the determined server.
TW099106631A 2010-03-08 2010-03-08 Method and apparatus for processing authentication request messages in socialized networks TWI483602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099106631A TWI483602B (en) 2010-03-08 2010-03-08 Method and apparatus for processing authentication request messages in socialized networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099106631A TWI483602B (en) 2010-03-08 2010-03-08 Method and apparatus for processing authentication request messages in socialized networks

Publications (2)

Publication Number Publication Date
TW201132078A TW201132078A (en) 2011-09-16
TWI483602B true TWI483602B (en) 2015-05-01

Family

ID=50180490

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099106631A TWI483602B (en) 2010-03-08 2010-03-08 Method and apparatus for processing authentication request messages in socialized networks

Country Status (1)

Country Link
TW (1) TWI483602B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI291665B (en) * 2005-12-30 2007-12-21 Ind Tech Res Inst Product managing system and method using RFID technology
TWM324352U (en) * 2007-05-31 2007-12-21 R-Hung Chiou Network transaction system of virtual treasure in the virtual on-line game
US20080115192A1 (en) * 2006-11-07 2008-05-15 Rajandra Laxman Kulkarni Customizable authentication for service provisioning
US20080215623A1 (en) * 2005-09-14 2008-09-04 Jorey Ramer Mobile communication facility usage and social network creation
US20090077124A1 (en) * 2007-09-16 2009-03-19 Nova Spivack System and Method of a Knowledge Management and Networking Environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215623A1 (en) * 2005-09-14 2008-09-04 Jorey Ramer Mobile communication facility usage and social network creation
TWI291665B (en) * 2005-12-30 2007-12-21 Ind Tech Res Inst Product managing system and method using RFID technology
US20080115192A1 (en) * 2006-11-07 2008-05-15 Rajandra Laxman Kulkarni Customizable authentication for service provisioning
TWM324352U (en) * 2007-05-31 2007-12-21 R-Hung Chiou Network transaction system of virtual treasure in the virtual on-line game
US20090077124A1 (en) * 2007-09-16 2009-03-19 Nova Spivack System and Method of a Knowledge Management and Networking Environment

Also Published As

Publication number Publication date
TW201132078A (en) 2011-09-16

Similar Documents

Publication Publication Date Title
US9699166B2 (en) Method and apparatus for processing authentication request message in a social network
US8566396B2 (en) Method and apparatus for sending authentication request message in a social network
US10142314B2 (en) Method and apparatus for processing authentication request message in a social network
US10419565B2 (en) Method, device and system for pushing information
US12013905B2 (en) Pairing systems and methods for electronic communications
WO2013026325A1 (en) Person search method, device, and storage medium
TWI483602B (en) Method and apparatus for processing authentication request messages in socialized networks
TWI479873B (en) Method and apparatus for processing authentication request message in social network
TWI524711B (en) The authentication request message sending method and device in the socialized network
JP2005078438A (en) Project management system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees