[go: up one dir, main page]

WO2018161310A1 - Method for classifying social network user, and client terminal - Google Patents

Method for classifying social network user, and client terminal Download PDF

Info

Publication number
WO2018161310A1
WO2018161310A1 PCT/CN2017/076142 CN2017076142W WO2018161310A1 WO 2018161310 A1 WO2018161310 A1 WO 2018161310A1 CN 2017076142 W CN2017076142 W CN 2017076142W WO 2018161310 A1 WO2018161310 A1 WO 2018161310A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
information
user information
tags
category
Prior art date
Application number
PCT/CN2017/076142
Other languages
French (fr)
Chinese (zh)
Inventor
罗健
熊星
Original Assignee
深圳市华第时代科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市华第时代科技有限公司 filed Critical 深圳市华第时代科技有限公司
Priority to PCT/CN2017/076142 priority Critical patent/WO2018161310A1/en
Publication of WO2018161310A1 publication Critical patent/WO2018161310A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a social user classification method and a client.
  • strong social relationships refer to basically daily contact and long-term interaction. People, mutual trust in people is higher than trust in things; weak social relationships are people who are not in contact with each other, but basically friends, classmates, colleagues, relatives, or weaker micro-relationships, or People who gather in a group with the same interest or other common points on the network, weak social relationships are effective bridges for transmitting messages between different social clusters, play a very important role in the social structure, but the existing network social platform It is not yet able to provide information search and query using weak social relationships, and it is not able to provide users with a good weak social experience.
  • the main purpose of the present invention is to solve the problem that the existing social network platform cannot provide information search and query using weak social relationships, and cannot provide a good weak social experience for users.
  • the present invention provides a social user classification method, the method comprising:
  • the client obtains user information from the database through the server, where the user information includes one or more user tags;
  • the client classifies and groups the user information according to the user tag.
  • the classifying and grouping the user information according to the user label according to the user label specifically includes:
  • the plurality of user information having N identical user tags are divided into one category, and accordingly, a corresponding user classification table is generated, where N is greater than or equal to 1 Natural number
  • the plurality of user information having M identical user tags are divided into one group, and correspondingly generated for each category User grouping table.
  • the social user classification method further includes:
  • the client displays the user classification table and the user group table
  • the client selects one or more user tags, and locates one or more user information from the user classification table and the user group table according to the selected user tag;
  • the corresponding user account is obtained from the located user information, and the chat interface corresponding to the user account is displayed.
  • the social user classification method further includes:
  • the user tag is determined according to the academic information and the working background information in the user information.
  • the present invention further provides a client, where the client includes:
  • An obtaining module configured to obtain user information from a database by using a server, where the user information includes one or more user labels;
  • a classification module configured to classify and group the user information according to the user label.
  • the classification module is further configured to determine whether there is a plurality of user information having N identical user tags in all user information, and when there are multiple user information having N identical user tags, The plurality of user information of the same user label is divided into one category, and accordingly, a corresponding user classification table is generated, wherein N is a natural number greater than or equal to 1, and all user information in each category in the user classification table is determined. Whether there is a plurality of user information having M identical user tags, where M is a natural number greater than N, and when all user information in a certain category in the user classification table has multiple user information having M identical user tags, A plurality of user information having M identical user tags are divided into one group, and a corresponding user group table is generated for each category.
  • the client further includes:
  • a communication module configured to display the user classification table and the user group table after generating a corresponding user group table for each category, and select one or more user labels, according to the selected user label Locating one or more user information in the user classification table and the user grouping table;
  • a judging module configured to determine whether the queried loyalty information includes the locating user information, and when the queried loyalty information includes the locating user information, obtain the corresponding user information from the locating user information
  • the user account displays the chat interface corresponding to the user account.
  • the determining module is further configured to: when the authenticated friend information does not include the located user information, obtain a corresponding user account from the located user information, according to the user account. Make friend authentication.
  • the user tag is determined according to the academic information and the working background information in the user information.
  • the social user classification method and the client provided by the present invention can obtain user information from a database, classify and group the user information according to user tags included in the user information, and can search for user information in a weak social relationship according to the user tag. Query to improve the success rate of users finding effective information in weak social relationships, and provide users with a good weak social experience.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a social user classification method according to the present invention
  • FIG. 2 is a schematic diagram of a specific refinement process of the user information classification and grouping according to the user label in step S20 of FIG. 1;
  • FIG. 3 is a schematic flowchart of generating a corresponding user group table for each category in step S24 of FIG. 2;
  • FIG. 4 is a schematic diagram of functional modules of an embodiment of a client according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of another embodiment of a client according to the present invention.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a social user classification method according to the present invention.
  • the social user classification method includes:
  • Step S10 The client obtains user information from the database through the server, where the user information includes one or more user tags, wherein the user tags are determined according to the academic information and the working background information in the user information.
  • the client and the server in this embodiment communicate through the network, and can fully utilize the hardware environment advantages of the client and the server, and allocate tasks to the client and the server in a reasonable manner, thereby reducing communication overhead during the running process.
  • TCP Transmission Control Protocol
  • IP Internet Protocol
  • UDP User Datagram Protocol
  • UDP and TCP protocols are transport layer protocols
  • IP protocol is the network layer protocol
  • TCP protocol is based on the connection protocol, before the official data transmission and reception, must establish a reliable connection with the other party, the reliability Highly demanding data communication systems often use the TCP protocol to transmit data.
  • the non-connected UDP protocol does not establish a connection with the other party and directly sends the data packet to the other party.
  • Step S20 The client classifies and groups the user information according to the user label.
  • the user label is a concise and accurate summary of the user information, that is, the user label is a highly relevant keyword, and can accurately describe and classify the user information so as to be able to be customized according to requirements.
  • User information is searched and shared. Specifically, user information having one same user label can be classified into one category, and user information having two or more identical user labels in the same category is divided into one group. Complete classification and grouping of user information.
  • FIG. 2 is a schematic diagram of a specific refinement process in which the client classifies and groups the user information according to the user label in step S20 of FIG.
  • the step of collecting, by the client, the user information according to the user label in the step S20 includes:
  • Step S21 Determine whether there is a plurality of user information having N identical user tags in all the user information, wherein the user tags are determined according to the academic information and the working background information in the user information.
  • Step S22 When there are multiple pieces of user information having N identical user tags, the plurality of user information having N identical user tags are divided into one category, and a corresponding user classification table is generated, where N is greater than or equal to The natural number of 1.
  • Step S23 Determine whether there is a plurality of user information having M identical user tags in all user information in each category in the user classification table, where M is a natural number greater than N.
  • Step S24 When there is a plurality of user information having M identical user tags in all user information in a category in the user classification table, the plurality of user information having M identical user tags are divided into one group, for each The category generates a corresponding user grouping table.
  • the user information of at least one common tag is divided into one class, and the user information in the weak social environment is classified into the maximum range, according to the user tag.
  • a class of classified user information is grouped, which can more precisely classify user information on the basis of classification, and can improve the accuracy of positioning user information.
  • all user information includes the following four users: Zhang San, Tsinghua undergraduate, Huawei incumbent, intellectual property engineer; Li Si, Tsinghua undergraduate, Huawei incumbent, intellectual property engineer; Wang Wu, Peking University undergraduate, ZTE , intellectual property engineer; Zhao Liu, Peking University undergraduate, ZTE incumbent, software engineer.
  • N is a natural number greater than or equal to 1, when it is determined that there are Zhang San, Li Si, Wang
  • the information of five or three users includes the user label of “Intellectual Property Engineer”
  • the three users Zhang San, Li Si and Wang Wu are divided into one category, and Zhao Six is divided into one category, including Zhang San and Li. 4.
  • Zhao Liu who has the “Software Engineer” user label
  • Zhang San, Li Si, Wang Wu who have the common user label of “Intellectual Property Engineer” Divided into one category
  • Zhao Liu who has the “Software Engineer” user label
  • the user information is grouped, and Zhang San and Li Si are divided into two groups according to the two common user labels of "Tsinghua undergraduate" and "Huawei in-service”, and Zhao six is divided into another group, which can be used as the basis for classification of user information. More detailed division is carried out to improve the accuracy of locating user information.
  • the related user information can be accurately located to improve communication efficiency.
  • FIG. 3 is a schematic diagram of a flow after generating a corresponding user group table for each category in step S24 of FIG. 2. After the corresponding user grouping table is generated for each category in step S24, the social user classification method further includes:
  • Step S25 The client displays the user classification table and the user group table.
  • Step S26 The client selects one or more user tags, and locates one or more user information from the user classification table and the user grouping table according to the selected user tag.
  • the specific manner in which the client selects one or more user tags includes: displaying a plurality of user tags on the touch screen, and selecting one or more user tags through the touch signals received by the touch screen.
  • Step S27 The client determines whether the authenticated friend information includes the located user information.
  • step S28 when the authenticated friend information includes the located user information, the corresponding user account is obtained from the located user information, and the chat interface corresponding to the user account is displayed.
  • Step S29 When the authenticated friend information does not include the located user information, the corresponding user account is obtained from the located user information, and the friend authentication is performed according to the user account.
  • Zhang San, Li Si, and Wang Wu who have the "Intellectual Property Engineer” common user label, are classified into one category, and there will be "software engineer”.
  • the user's label is classified into a category.
  • the user classification table is generated according to the two categories divided, and the user classification table is displayed.
  • Zhang San who has two common user labels, “Tsinghua undergraduate” and “Huawei in-service” will be displayed.
  • Li Si is divided into one group
  • Wang Wu is divided into another group.
  • the user group table is generated according to the divided two groups, and the user group table is displayed.
  • the client selects three user tags: “Intellectual Property Engineer”, “Tsinghua Undergraduate”, and “Huawei In-service”, the user information of Zhang San and Li Si is located from the user classification table and the user group table.
  • the client judges whether the authenticated friend information includes the user information of Zhang San and Li Si.
  • the authenticated friend information includes the user information of the positioned Zhang San and Li Si
  • the positioned Zhang San and Li Si are located.
  • the corresponding user accounts of Zhang San and Li Si are obtained, and the chat interface corresponding to the user accounts of Zhang San and Li Si is displayed.
  • the authenticated friend information does not include the user information of the positioned Zhang San and Li Si
  • the user accounts of Zhang San and Li Si are obtained from the user information of the positioned Zhang San and Li Si, according to Zhang San, Li Si's user account is used for friend authentication.
  • the social user classification method provided by the foregoing embodiment can obtain user information from a database, classify and group the user information according to the user tags included in the user information, and can search and query the user information in the weak social relationship according to the user tag. Improve the success rate of users finding effective information in weak social relationships, and provide users with a good weak social experience.
  • FIG. 4 is a schematic diagram of functional modules of an embodiment of a client according to the present invention.
  • the client 100 includes an obtaining module 110 and a classification module 120.
  • the obtaining module 110 is configured to obtain user information from a database by using a server, where the user information includes one or more user tags, and the user tags are determined according to the academic information and the working background information in the user information.
  • the classification module 120 is configured to classify and group user information according to user tags.
  • the client and the server communicate through the network, and the hardware environment advantages of the client and the server can be fully utilized, and the tasks are allocated to the client and the server in a reasonable manner, thereby reducing the communication overhead during the running process.
  • the client and the server communicate via TCP/IP and UDP protocols.
  • the UDP and TCP protocols are transport layer protocols, the IP protocol is the network layer protocol, and the TCP protocol is based on the connection protocol.
  • the data communication system with high reliability requirements often uses the TCP protocol to transmit data, and the non-connected UDP protocol does not establish a connection with the other party, and directly sends the data packet to the other party.
  • the user label is a concise and accurate summary of the user information, that is, the user label is a highly relevant keyword, and can accurately describe and classify the user information.
  • user information with one same user tag can be divided into one category, and users with two or more identical user tags in the same category.
  • the information is divided into groups to complete the classification and grouping of user information.
  • FIG. 5 is a schematic diagram of functional modules of another embodiment of a client according to the present invention.
  • the client 100 includes: an obtaining module 110, a classifying module 120, a communication module 130, and a determining module 140.
  • the obtaining module 110 is configured to obtain user information from a database by using a server, where the user information includes one or more user tags, and the user tags are determined according to the academic information and the working background information in the user information.
  • the classification module 120 is configured to classify and group user information according to user tags.
  • the classification module 120 is further configured to determine whether there are multiple user information having N identical user tags in all user information, and when there are multiple user information having N identical user tags, A plurality of user information having N identical user tags is divided into one category, and accordingly, a corresponding user classification table is generated, wherein N is a natural number greater than or equal to 1, and all of the categories in the user classification table are determined.
  • a plurality of user information having M identical user tags where M is a natural number greater than N, and when there is a plurality of user information having M identical user tags in all user information in a certain category in the user classification table At the same time, a plurality of user information having M identical user tags are divided into one group, and a corresponding user group table is generated for each category.
  • the user information of at least one common tag is divided into one class, and the user information in the weak social environment can be classified into the largest range, and the user tags are classified according to each category.
  • the user information is grouped, and the user information can be divided into more detailed on the basis of classification, which can improve the accuracy of positioning the user information.
  • all user information includes the following four users: Zhang San, Tsinghua undergraduate, Huawei incumbent, intellectual property engineer; Li Si, Tsinghua undergraduate, Huawei incumbent, intellectual property engineer; Wang Wu, Peking University undergraduate, ZTE , intellectual property engineer; Zhao Liu, Peking University undergraduate, ZTE incumbent, software engineer.
  • the classifying module 120 is specifically configured to: after obtaining the information of the four users, whether there is a plurality of user information having N identical user tags in all user information, where N is a natural number greater than or equal to 1, when determining When the information of the three users of Zhang San, Li Si and Wang Wu includes the user label of “Intellectual Property Engineer”, the three users Zhang San, Li Si and Wang Wu are divided into one category, and Zhao Six is divided into A class that generates a category including Zhang San, Li Si, and Wang Wu, and generates a category including Zhao Liu, and generates a user classification table according to the divided two categories.
  • the categories including Zhang San, Li Si, and Wang Wu have a plurality of user information having M identical user tags, wherein M is a natural number greater than N, and when it is determined that there are Zhang San and Li Si
  • M is a natural number greater than N
  • the categories of Zhang San, Li Si, and Wang Wu are divided into user groups including Zhang San and Li Si, and including Wang.
  • the user grouping of five generates a user grouping table according to the divided two groups.
  • Zhao Liu who has the “Software Engineer” user label
  • the categories of Zhang San, Li Si, and Wang Wu are classified according to the user label. Grouping can classify the user information more precisely based on the classification, and improve the accuracy of locating the user information.
  • the user selects one or more user tags through the client, the user information can be accurately located and improved. Communication efficiency.
  • the communication module 130 is configured to display the user classification table and the user group table after generating the user classification table and the user group table, and select one or more user labels, according to the selected user label.
  • One or more user information is located in the user classification table and the user group table.
  • the specific manner in which the client selects one or more user tags includes: displaying a plurality of user tags on the touch screen, and selecting one of the touch signals received through the touch screen. Or multiple user tags. It should be noted that the user tag is determined according to the academic information and the working background information in the user information.
  • the determining module 140 is configured to determine whether the authenticated friend information includes the located user information, and when the authenticated friend information includes the located user information, obtain the corresponding user account from the located user information.
  • the determining module 140 is further configured to: when the authenticated friend information does not include the located user information, obtain the corresponding user account from the located user information, and perform friend authentication according to the user account. .
  • the existing user information includes the following four pieces of user information: information of four users: Zhang San, Tsinghua undergraduate, Huawei in-service, intellectual property engineer; Li Si, Tsinghua undergraduate, Huawei in-service, intellectual property engineer Wang Wu, Peking University undergraduate, ZTE incumbent, intellectual property engineer; Zhao Liu, Peking University undergraduate, ZTE incumbent, software engineer.
  • the classification module 120 classifies Zhang San, Li Si, and Wang Wu, which have the common user label of the “Intellectual Property Engineer”, into a category, and classifies the Zhao 6 with the “Software Engineer” user label as a category, according to the division. Two categories generate user classification tables. After the user classification table is generated, the communication module 130 is configured to display the user classification table.
  • the classification module 120 is specifically configured to group Zhang San and Li Si, which have two common user labels of “Tsinghua undergraduate” and “Huawei in-service”, and divide Wang 5 into a group according to the division. Groups generate user grouping tables. After generating the user group table, the communication module 130 is configured to display the user group table. When the client selects three user tags of "Intellectual Property Engineer”, “Tsinghua Undergraduate”, and “Huawei In-service", the communication module 130 is used to user Zhang San and Li Si from the user classification table and the user group table. Information is located.
  • the determining module 140 is configured to determine whether the authenticated friend information includes the user information of Zhang San and Li Si, and when the authenticated friend information includes the user information of the positioned Zhang San and Li Si, the positioning is performed.
  • the user information of Zhang San and Li Si obtains the corresponding user accounts of Zhang San and Li Si, and displays the chat interface corresponding to the user accounts of Zhang San and Li Si.
  • the authenticated friend information does not include the user information of the positioned Zhang San and Li Si
  • the corresponding user accounts of Zhang San and Li Si are obtained from the user information of the positioned Zhang San and Li Si, according to Zhang.
  • Li Si's user account for friend authentication is configured to determine whether the authenticated friend information includes the user information of Zhang San and Li Si, and when the authenticated friend information includes the user information of the positioned Zhang San and Li Si, the positioning is performed.
  • the user information of Zhang San and Li Si obtains the corresponding user accounts of Zhang San and Li Si, and displays the chat interface corresponding to the user accounts of Zhang San and Li Si.
  • the client provided by the above embodiment can obtain user information from the database, classify and group the user information according to the user tags included in the user information, and can search and query the user information in the weak social relationship according to the user tag, thereby improving the user. Finding the success rate of effective information in weak social relationships provides users with a good weak social experience.

Landscapes

  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A method for classifying a social network user, and client terminal. The method comprises: a client terminal acquiring, via a server and from a database, user information including one or more user tags (S10); and the client terminal classifying and grouping, according to the user tags, the user information (S20). The present invention enables searching and querying of user information in a weakly tied social relationship according to a user tag, thus improving a success rate of searching for valid information in a weakly tied social relationship for a user, and providing superior user experience related to a weakly tied social relationship.

Description

社交用户分类方法及客户端  Social user classification method and client 技术领域Technical field
本发明涉及通讯技术领域,尤其涉及一种社交用户分类方法及客户端。The present invention relates to the field of communications technologies, and in particular, to a social user classification method and a client.
背景技术Background technique
随着通信技术的发展,通过网络建立的社交活动越来越多,在网络社交活动中存在强社交关系、弱社交关系,其中,强社交关系是指基本上每天都能接触、有长期互动的人,相互之间对人的信赖高于对事的信赖;弱社交关系是指不是每天接触的人,但是基本上为曾经的朋友、同学、同事、亲戚,或者更弱的微关系,或者在网络上同一兴趣或者其他共同点而聚集在一个群体中的人,弱社交关系是不同社会集群之间传递消息的有效桥梁,在社会结构中起着非常重要的作用,但是现有的网络社交平台还不能提供运用弱社交关系进行信息搜索、查询的功能,无法为用户提供良好的弱社交体验。With the development of communication technology, there are more and more social activities established through the network. There are strong social relationships and weak social relationships in online social activities. Among them, strong social relationships refer to basically daily contact and long-term interaction. People, mutual trust in people is higher than trust in things; weak social relationships are people who are not in contact with each other, but basically friends, classmates, colleagues, relatives, or weaker micro-relationships, or People who gather in a group with the same interest or other common points on the network, weak social relationships are effective bridges for transmitting messages between different social clusters, play a very important role in the social structure, but the existing network social platform It is not yet able to provide information search and query using weak social relationships, and it is not able to provide users with a good weak social experience.
技术问题technical problem
本发明的主要目的在于解决现有的网络社交平台不能提供运用弱社交关系进行信息搜索、查询的功能,无法为用户提供良好的弱社交体验的问题。The main purpose of the present invention is to solve the problem that the existing social network platform cannot provide information search and query using weak social relationships, and cannot provide a good weak social experience for users.
技术解决方案Technical solution
为实现上述目的,本发明提供一种社交用户分类方法,所述方法包括:To achieve the above objective, the present invention provides a social user classification method, the method comprising:
客户端通过服务器从数据库中获取用户信息,其中,所述用户信息包括一个或多个用户标签;The client obtains user information from the database through the server, where the user information includes one or more user tags;
所述客户端根据所述用户标签将所述用户信息进行分类及分组。The client classifies and groups the user information according to the user tag.
优选地,所述客户端根据所述用户标签将所述用户信息进行分类及分组具体包括:Preferably, the classifying and grouping the user information according to the user label according to the user label specifically includes:
判断所有用户信息中是否存在具有N个相同用户标签的多个用户信息;Determining whether there is a plurality of user information having N identical user tags in all user information;
当存在具有N个相同用户标签的多个用户信息时,将该具有N个相同用户标签的多个用户信息分为一个类别,据此生成相应的用户分类表,其中,N为大于或等于1的自然数;When there are multiple user information having N identical user tags, the plurality of user information having N identical user tags are divided into one category, and accordingly, a corresponding user classification table is generated, where N is greater than or equal to 1 Natural number
判断所述用户分类表中的每个类别中所有用户信息是否存在具有M个相同用户标签的多个用户信息,其中,M为大于N的自然数;Determining whether there is a plurality of user information having M identical user tags in all user information in each category in the user classification table, where M is a natural number greater than N;
当用户分类表中的某一类别中所有用户信息存在具有M个相同用户标签的多个用户信息时,将具有M个相同用户标签的多个用户信息分为一个组,针对每个类别生成相应的用户分组表。When there is a plurality of user information having M identical user tags in all user information in a category in the user classification table, the plurality of user information having M identical user tags are divided into one group, and correspondingly generated for each category User grouping table.
优选地,所述针对每个类别生成相应的用户分组表之后,所述社交用户分类方法还包括:Preferably, after the generating the corresponding user grouping table for each category, the social user classification method further includes:
所述客户端将所述用户分类表及所述用户分组表显示出来;The client displays the user classification table and the user group table;
所述客户端选择一个或多个用户标签,根据所述选择的用户标签从所述用户分类表及所述用户分组表中定位出一个或多个用户信息;The client selects one or more user tags, and locates one or more user information from the user classification table and the user group table according to the selected user tag;
所述客户端判断已认证的好友信息中是否包括所述定位出的用户信息;Determining, by the client, whether the located user information is included in the authenticated friend information;
当已认证的好友信息中包括所述定位出的用户信息时,从所述定位出的用户信息中获取对应的用户账号,将所述用户账号对应的聊天界面显示出来。When the authenticated friend information includes the located user information, the corresponding user account is obtained from the located user information, and the chat interface corresponding to the user account is displayed.
优选地,当已认证的好友信息中不包括所述定位出的用户信息时,所述的社交用户分类方法还包括: Preferably, when the authenticated friend information does not include the located user information, the social user classification method further includes:
从所述定位出的用户信息中获取出对应的用户账号,根据所述用户账号进行好友认证。Obtaining a corresponding user account from the located user information, and performing friend authentication according to the user account.
优选地,所述用户标签根据所述用户信息中的学历信息、工作背景信息确定。 Preferably, the user tag is determined according to the academic information and the working background information in the user information.
此外,为实现上述目的,本发明还提供一种客户端,所述客户端包括:In addition, to achieve the above object, the present invention further provides a client, where the client includes:
获取模块,用于通过服务器从数据库中获取用户信息,其中,所述用户信息包括一个或多个用户标签;An obtaining module, configured to obtain user information from a database by using a server, where the user information includes one or more user labels;
分类模块,用于根据所述用户标签将所述用户信息进行分类及分组。And a classification module, configured to classify and group the user information according to the user label.
优选地,所述分类模块,具体还用于判断所有用户信息中是否存在具有N个相同用户标签的多个用户信息,当存在具有N个相同用户标签的多个用户信息时,将该具有N个相同用户标签的多个用户信息分为一个类别,据此生成相应的用户分类表,其中,N为大于或等于1的自然数,并判断所述用户分类表中的每个类别中所有用户信息是否存在具有M个相同用户标签的多个用户信息,其中,M为大于N的自然数,当用户分类表中的某一类别中所有用户信息存在具有M个相同用户标签的多个用户信息时,将具有M个相同用户标签的多个用户信息分为一个组,针对每个类别生成相应的用户分组表。 Preferably, the classification module is further configured to determine whether there is a plurality of user information having N identical user tags in all user information, and when there are multiple user information having N identical user tags, The plurality of user information of the same user label is divided into one category, and accordingly, a corresponding user classification table is generated, wherein N is a natural number greater than or equal to 1, and all user information in each category in the user classification table is determined. Whether there is a plurality of user information having M identical user tags, where M is a natural number greater than N, and when all user information in a certain category in the user classification table has multiple user information having M identical user tags, A plurality of user information having M identical user tags are divided into one group, and a corresponding user group table is generated for each category.
优选地,所述客户端还包括:Preferably, the client further includes:
通信模块,用于当针对每个类别生成相应的用户分组表之后,将所述用户分类表及所述用户分组表显示出来,选择一个或多个用户标签,根据所述选择的用户标签从所述用户分类表及所述用户分组表中定位出一个或多个用户信息; a communication module, configured to display the user classification table and the user group table after generating a corresponding user group table for each category, and select one or more user labels, according to the selected user label Locating one or more user information in the user classification table and the user grouping table;
判断模块,用于判断已认证的好友信息中是否包括所述定位出的用户信息,当已认证的好友信息中包括所述定位出的用户信息时,从所述定位出的用户信息获取对应的用户账号,将所述用户账号对应的聊天界面显示出来。a judging module, configured to determine whether the queried loyalty information includes the locating user information, and when the queried loyalty information includes the locating user information, obtain the corresponding user information from the locating user information The user account displays the chat interface corresponding to the user account.
优选地,所述判断模块,还用于当已认证的好友信息中不包括所述定位出的用户信息时,从所述定位出的用户信息中获取出对应的用户账号,根据所述用户账号进行好友认证。Preferably, the determining module is further configured to: when the authenticated friend information does not include the located user information, obtain a corresponding user account from the located user information, according to the user account. Make friend authentication.
优选地,所述用户标签根据所述用户信息中的学历信息、工作背景信息确定。Preferably, the user tag is determined according to the academic information and the working background information in the user information.
有益效果Beneficial effect
本发明提供的社交用户分类方法及客户端,能从数据库获取用户信息,根据用户信息中包括的用户标签对用户信息进行分类、分组,能根据用户标签对弱社交关系中的用户信息进行搜索、查询,提高用户在弱社交关系中查找有效信息的成功率,为用户提供良好的弱社交体验。The social user classification method and the client provided by the present invention can obtain user information from a database, classify and group the user information according to user tags included in the user information, and can search for user information in a weak social relationship according to the user tag. Query to improve the success rate of users finding effective information in weak social relationships, and provide users with a good weak social experience.
附图说明DRAWINGS
图1为本发明的社交用户分类方法一实施例的流程示意图;FIG. 1 is a schematic flowchart diagram of an embodiment of a social user classification method according to the present invention;
图2为图1中步骤S20客户端根据用户标签将用户信息进行分类及分组的一具体细化流程示意图;2 is a schematic diagram of a specific refinement process of the user information classification and grouping according to the user label in step S20 of FIG. 1;
图3为图2中步骤S24中针对每个类别生成相应的用户分组表之后的流程示意图;3 is a schematic flowchart of generating a corresponding user group table for each category in step S24 of FIG. 2;
图4为本发明的客户端一实施例的功能模块示意图;4 is a schematic diagram of functional modules of an embodiment of a client according to the present invention;
图5为本发明的客户端另一实施例的功能模块示意图。FIG. 5 is a schematic diagram of functional modules of another embodiment of a client according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
本发明的实施方式Embodiments of the invention
应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments described herein are to be construed as illustrative only and not limiting.
本发明提供一种社交用户分类方法。参照图1,图1为本发明的社交用户分类方法一实施例的流程示意图。在该实施例中,所述社交用户分类方法包括:The present invention provides a social user classification method. Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of an embodiment of a social user classification method according to the present invention. In this embodiment, the social user classification method includes:
步骤S10、客户端通过服务器从数据库中获取用户信息,其中,用户信息包括一个或多个用户标签,其中,所述用户标签根据所述用户信息中的学历信息、工作背景信息确定。Step S10: The client obtains user information from the database through the server, where the user information includes one or more user tags, wherein the user tags are determined according to the academic information and the working background information in the user information.
本实施例中的客户端、服务器是通过网络进行通信,可以充分利用客户端、服务器的硬件环境优势,将任务合理地分配到客户端和服务端来实现,降低运行过程中的通讯开销,具体来说,客户端和服务器之间通过传输控制协议(Transmission Control Protocol,TCP)、因特网互联协议(Internet Protoco,IP)和用户数据协议(User Datagram Protocol,UDP)进行通讯,UDP和TCP协议是传输层的协议,IP协议是网络层的协议,TCP协议是基于连接的协议,在正式收发数据前,必须和对方建立可靠的连接,对可靠性要求高的数据通信系统往往使用TCP协议传输数据,面向非连接的UDP协议不与对方建立连接,直接将数据包发给对方。The client and the server in this embodiment communicate through the network, and can fully utilize the hardware environment advantages of the client and the server, and allocate tasks to the client and the server in a reasonable manner, thereby reducing communication overhead during the running process. For example, the transmission control protocol between the client and the server (Transmission) Control Protocol, TCP), Internet Protocol (Internet Protoco, IP) and User Datagram (User Datagram) Protocol, UDP) for communication, UDP and TCP protocols are transport layer protocols, IP protocol is the network layer protocol, TCP protocol is based on the connection protocol, before the official data transmission and reception, must establish a reliable connection with the other party, the reliability Highly demanding data communication systems often use the TCP protocol to transmit data. The non-connected UDP protocol does not establish a connection with the other party and directly sends the data packet to the other party.
步骤S20、客户端根据用户标签将用户信息进行分类及分组。Step S20: The client classifies and groups the user information according to the user label.
在本实施例中,用户标签是对用户信息的简洁、准确的概括,也就是说,用户标签是相关性很强的关键字,能准确的对用户信息进行描述、分类,以便于能根据需求对用户信息进行检索和分享,具体来说,可将具有一个相同用户标签的用户信息分为一个类别,同时对同一类别中具有两个或两个以上相同用户标签的用户信息分为一个组,完成对用户信息的分类及分组处理。In this embodiment, the user label is a concise and accurate summary of the user information, that is, the user label is a highly relevant keyword, and can accurately describe and classify the user information so as to be able to be customized according to requirements. User information is searched and shared. Specifically, user information having one same user label can be classified into one category, and user information having two or more identical user labels in the same category is divided into one group. Complete classification and grouping of user information.
参见图2,图2为图1中步骤S20客户端根据用户标签将用户信息进行分类及分组的一具体细化流程示意图。其中,步骤S20中客户端根据用户标签将用户信息进行分类及分组具体包括:Referring to FIG. 2, FIG. 2 is a schematic diagram of a specific refinement process in which the client classifies and groups the user information according to the user label in step S20 of FIG. The step of collecting, by the client, the user information according to the user label in the step S20 includes:
步骤S21、判断所有用户信息中是否存在具有N个相同用户标签的多个用户信息,其中,所述用户标签根据所述用户信息中的学历信息、工作背景信息确定。Step S21: Determine whether there is a plurality of user information having N identical user tags in all the user information, wherein the user tags are determined according to the academic information and the working background information in the user information.
步骤S22、当存在具有N个相同用户标签的多个用户信息时,将该具有N个相同用户标签的多个用户信息分为一个类别,生成相应的用户分类表,其中,N为大于或等于1的自然数。Step S22: When there are multiple pieces of user information having N identical user tags, the plurality of user information having N identical user tags are divided into one category, and a corresponding user classification table is generated, where N is greater than or equal to The natural number of 1.
步骤S23、判断所述用户分类表中的每个类别中所有用户信息是否存在具有M个相同用户标签的多个用户信息,其中,M为大于N的自然数。Step S23: Determine whether there is a plurality of user information having M identical user tags in all user information in each category in the user classification table, where M is a natural number greater than N.
步骤S24、当用户分类表中的某一类别中所有用户信息存在具有M个相同用户标签的多个用户信息时,将具有M个相同用户标签的多个用户信息分为一个组,针对每个类别生成相应的用户分组表。Step S24: When there is a plurality of user information having M identical user tags in all user information in a category in the user classification table, the plurality of user information having M identical user tags are divided into one group, for each The category generates a corresponding user grouping table.
在上述实施例中,在将所有用户信息进行用户分类过程中,将至少有一个共同标签的用户信息划分为一类,将弱社交环境下的用户信息进行最大范围的分类,根据用户标签针对每一类分类后的用户信息进行分组,能对用户信息在分类的基础上进行更细致的划分,能提高定位用户信息的精确程度。 In the above embodiment, in the process of classifying all the user information, the user information of at least one common tag is divided into one class, and the user information in the weak social environment is classified into the maximum range, according to the user tag. A class of classified user information is grouped, which can more precisely classify user information on the basis of classification, and can improve the accuracy of positioning user information.
举例来说,假设所有用户信息包括以下4位用户的信息:张三、清华本科,华为在职、知识产权工程师;李四、清华本科、华为在职、知识产权工程师;王五、北大本科、中兴在职、知识产权工程师;赵六、北大本科、中兴在职、软件工程师。在获取上述的4位用户的信息后,判断所有用户信息中是否存在具有N个相同用户标签的多个用户信息,N为大于或等于1的自然数,当判断出有张三、李四、王五3位用户的信息均包括“知识产权工程师”的用户标签时,将3位用户张三、李四、王五划分为一个类别,以及将赵六划分为一个类,生成包括张三、李四、王五的一个类别,以及生成包括赵六的一个类别,根据划分的两个类别生成用户分类表。然后,判断包括张三、李四、王五的类别中所有用户信息是否存在具有M个相同用户标签的多个用户信息,其中,M为大于N的自然数,当判断出有张三、李四2位用户的信息均包括“清华本科”、“华为在职”的2个用户标签时,将张三、李四、王五所属的类别划分为包括张三、李四的用户分组、以及包括王五的用户分组,根据划分的两个组生成用户分组表。For example, assume that all user information includes the following four users: Zhang San, Tsinghua undergraduate, Huawei incumbent, intellectual property engineer; Li Si, Tsinghua undergraduate, Huawei incumbent, intellectual property engineer; Wang Wu, Peking University undergraduate, ZTE , intellectual property engineer; Zhao Liu, Peking University undergraduate, ZTE incumbent, software engineer. After obtaining the information of the four users mentioned above, it is determined whether there are multiple user information with N identical user tags in all user information, and N is a natural number greater than or equal to 1, when it is determined that there are Zhang San, Li Si, Wang When the information of five or three users includes the user label of “Intellectual Property Engineer”, the three users Zhang San, Li Si and Wang Wu are divided into one category, and Zhao Six is divided into one category, including Zhang San and Li. 4. A category of Wang Wu, and generating a category including Zhao Liu, generating a user classification table according to the two categories divided. Then, it is judged whether all the user information in the categories including Zhang San, Li Si, and Wang Wu have a plurality of user information having M identical user tags, wherein M is a natural number greater than N, and when it is determined that there are Zhang San and Li Si When the information of the two users includes the two user labels of "Tsinghua Undergraduate" and "Huawei in-service", the categories to which Zhang San, Li Si, and Wang Wu belong are divided into user groups including Zhang San and Li Si, and including Wang. The user grouping of five generates a user grouping table according to the divided two groups.
在上述具体实例中,在对张三、李四、王五、赵六四位用户的信息进行用户分类过程中,将具有“知识产权工程师”共同的用户标签的张三、李四、王五划分为一类,将具有“软件工程师”用户标签的赵六划为另一类,能将弱社交环境下的用户信息进行最大范围的分类,针对张三、李四、王五的类别中的用户信息进行分组,将张三、李四按照“清华本科”、“华为在职”的2个共同的用户标签划分为一个组,将赵六划分为另一组,能对用户信息在分类的基础上进行更细致的划分,提高定位用户信息的精确程度,当用户通过客户端选择一个或多个用户标签时,能准确的定位出相关的用户信息,提高沟通效率。In the above specific example, in the process of classifying the information of four users of Zhang San, Li Si, Wang Wu and Zhao Liu, Zhang San, Li Si, Wang Wu, who have the common user label of “Intellectual Property Engineer” Divided into one category, Zhao Liu, who has the “Software Engineer” user label, is classified into another category, which can classify user information in a weak social environment to the largest extent, in the categories of Zhang San, Li Si, and Wang Wu. The user information is grouped, and Zhang San and Li Si are divided into two groups according to the two common user labels of "Tsinghua undergraduate" and "Huawei in-service", and Zhao six is divided into another group, which can be used as the basis for classification of user information. More detailed division is carried out to improve the accuracy of locating user information. When the user selects one or more user tags through the client, the related user information can be accurately located to improve communication efficiency.
参见图3,图3是图2中步骤S24中针对每个类别生成相应的用户分组表之后的流程示意图。其中,在步骤S24中针对每个类别生成相应的用户分组表之后之后,所述社交用户分类方法还包括:Referring to FIG. 3, FIG. 3 is a schematic diagram of a flow after generating a corresponding user group table for each category in step S24 of FIG. 2. After the corresponding user grouping table is generated for each category in step S24, the social user classification method further includes:
步骤S25、客户端将用户分类表及用户分组表显示出来。Step S25: The client displays the user classification table and the user group table.
步骤S26、客户端选择一个或多个用户标签,根据选择的用户标签从用户分类表及用户分组表中定位出一个或多个用户信息。Step S26: The client selects one or more user tags, and locates one or more user information from the user classification table and the user grouping table according to the selected user tag.
在上述实施例中,客户端选择一个或多个用户标签的具体方式包括:将许多用户标签显示在触摸屏上,通过触摸屏接收的触摸信号选择一个或多个用户标签。In the above embodiment, the specific manner in which the client selects one or more user tags includes: displaying a plurality of user tags on the touch screen, and selecting one or more user tags through the touch signals received by the touch screen.
步骤S27、客户端判断已认证的好友信息中是否包括定位出的用户信息。Step S27: The client determines whether the authenticated friend information includes the located user information.
步骤S28、当已认证的好友信息中包括定位出的用户信息时,从定位出的用户信息中获取对应的用户账号,将用户账号对应的聊天界面显示出来。In step S28, when the authenticated friend information includes the located user information, the corresponding user account is obtained from the located user information, and the chat interface corresponding to the user account is displayed.
步骤S29、当已认证的好友信息中不包括定位出的用户信息时,从定位出的用户信息中获取出对应的用户账号,根据用户账号进行好友认证。Step S29: When the authenticated friend information does not include the located user information, the corresponding user account is obtained from the located user information, and the friend authentication is performed according to the user account.
在上述实施例中,沿用对于图2进行说明时使用的具体实例,假设将具有“知识产权工程师”共同用户标签的张三、李四、王五的划为一个类别,将有“软件工程师”用户标签的赵六划为一个类别,根据划分的两个类别生成用户分类表,并将用户分类表显示出来,同时,将具有“清华本科”“华为在职”两个共同的用户标签的张三、李四的划为一组、以及将王五划分为另一组,根据划分的两个组生成用户分组表,并将用户分组表显示出来。当客户端选择“知识产权工程师”、“清华本科”、“华为在职”3个用户标签时,从用户分类表及用户分组表中将张三、李四的用户信息定位出来。客户端判断已认证的好友信息中是否包括张三、李四的用户信息,当已认证的好友信息中包括定位出的张三、李四的用户信息时,从定位出的张三、李四的用户信息中获取对应的张三、李四的用户账号,将张三、李四的用户账号对应的聊天界面显示出来。当已认证的好友信息中不包括定位出的张三、李四的用户信息时,从定位出的张三、李四的用户信息中获取出张三、李四的用户账号,根据张三、李四的用户账号进行好友认证。In the above embodiment, along with the specific example used in the description of FIG. 2, it is assumed that Zhang San, Li Si, and Wang Wu, who have the "Intellectual Property Engineer" common user label, are classified into one category, and there will be "software engineer". The user's label is classified into a category. The user classification table is generated according to the two categories divided, and the user classification table is displayed. At the same time, Zhang San, who has two common user labels, “Tsinghua undergraduate” and “Huawei in-service” will be displayed. Li Si is divided into one group, and Wang Wu is divided into another group. The user group table is generated according to the divided two groups, and the user group table is displayed. When the client selects three user tags: “Intellectual Property Engineer”, “Tsinghua Undergraduate”, and “Huawei In-service”, the user information of Zhang San and Li Si is located from the user classification table and the user group table. The client judges whether the authenticated friend information includes the user information of Zhang San and Li Si. When the authenticated friend information includes the user information of the positioned Zhang San and Li Si, the positioned Zhang San and Li Si are located. In the user information, the corresponding user accounts of Zhang San and Li Si are obtained, and the chat interface corresponding to the user accounts of Zhang San and Li Si is displayed. When the authenticated friend information does not include the user information of the positioned Zhang San and Li Si, the user accounts of Zhang San and Li Si are obtained from the user information of the positioned Zhang San and Li Si, according to Zhang San, Li Si's user account is used for friend authentication.
以上实施例提供的社交用户分类方法,能从数据库获取用户信息,根据用户信息中包括的用户标签对用户信息进行分类、分组,能根据用户标签对弱社交关系中的用户信息进行搜索、查询,提高用户在弱社交关系中查找有效信息的成功率,为用户提供良好的弱社交体验。The social user classification method provided by the foregoing embodiment can obtain user information from a database, classify and group the user information according to the user tags included in the user information, and can search and query the user information in the weak social relationship according to the user tag. Improve the success rate of users finding effective information in weak social relationships, and provide users with a good weak social experience.
本发明进一步提供一种客户端。参照图4,图4为本发明的客户端一实施例的功能模块示意图。在该实施例中,所述客户端100包括:获取模块110、分类模块120。其中,所述获取模块110,用于通过服务器从数据库中获取用户信息,其中,用户信息包括一个或多个用户标签,所述用户标签根据所述用户信息中的学历信息、工作背景信息确定。所述分类模块120,用于根据用户标签将用户信息进行分类及分组。The invention further provides a client. Referring to FIG. 4, FIG. 4 is a schematic diagram of functional modules of an embodiment of a client according to the present invention. In this embodiment, the client 100 includes an obtaining module 110 and a classification module 120. The obtaining module 110 is configured to obtain user information from a database by using a server, where the user information includes one or more user tags, and the user tags are determined according to the academic information and the working background information in the user information. The classification module 120 is configured to classify and group user information according to user tags.
本实施例中的客户端、服务器是通过网络进行通信的,可以充分利用客户端、服务器的硬件环境优势,将任务合理地分配到客户端和服务端来实现,降低运行过程中的通讯开销,具体来说,客户端和服务器之间通过TCP/IP和UDP协议进行通讯,UDP和TCP协议是传输层的协议,IP协议是网络层的协议,TCP协议是基于连接的协议,在正式收发数据前,必须和对方建立可靠的连接,对可靠性要求高的数据通信系统往往使用TCP协议传输数据,面向非连接的UDP协议不与对方建立连接,直接将数据包发给对方。进一步补充说明的是,在本实施例中,用户标签是对用户信息的简洁、准确的概括,也就是说,用户标签是相关性很强的关键字,能准确的对用户信息进行描述、分类,以便于能根据需求对用户信息进行检索和分享,具体来说,可将具有一个相同用户标签的用户信息分为一个类别,同时对同一类别中具有两个或两个以上相同用户标签的用户信息分为一个组,完成对用户信息的分类及分组处理。In this embodiment, the client and the server communicate through the network, and the hardware environment advantages of the client and the server can be fully utilized, and the tasks are allocated to the client and the server in a reasonable manner, thereby reducing the communication overhead during the running process. Specifically, the client and the server communicate via TCP/IP and UDP protocols. The UDP and TCP protocols are transport layer protocols, the IP protocol is the network layer protocol, and the TCP protocol is based on the connection protocol. Before, it is necessary to establish a reliable connection with the other party. The data communication system with high reliability requirements often uses the TCP protocol to transmit data, and the non-connected UDP protocol does not establish a connection with the other party, and directly sends the data packet to the other party. It is further added that, in this embodiment, the user label is a concise and accurate summary of the user information, that is, the user label is a highly relevant keyword, and can accurately describe and classify the user information. In order to be able to retrieve and share user information according to requirements, in particular, user information with one same user tag can be divided into one category, and users with two or more identical user tags in the same category. The information is divided into groups to complete the classification and grouping of user information.
参照图5,图5为本发明的客户端另一实施例的功能模块示意图。在该实施例中,所述客户端100包括:获取模块110、分类模块120、通信模块130、判断模块140。其中,所述获取模块110,用于通过服务器从数据库中获取用户信息,其中,用户信息包括一个或多个用户标签,所述用户标签根据用户信息中的学历信息、工作背景信息确定。所述分类模块120,用于根据用户标签将用户信息进行分类及分组。Referring to FIG. 5, FIG. 5 is a schematic diagram of functional modules of another embodiment of a client according to the present invention. In this embodiment, the client 100 includes: an obtaining module 110, a classifying module 120, a communication module 130, and a determining module 140. The obtaining module 110 is configured to obtain user information from a database by using a server, where the user information includes one or more user tags, and the user tags are determined according to the academic information and the working background information in the user information. The classification module 120 is configured to classify and group user information according to user tags.
在上述实施例中,分类模块120,具体还用于判断所有用户信息中是否存在具有N个相同用户标签的多个用户信息,当存在具有N个相同用户标签的多个用户信息时,将该具有N个相同用户标签的多个用户信息分为一个类别,据此生成相应的用户分类表,其中,N为大于或等于1的自然数,并判断所述用户分类表中的每个类别中所有用户信息是否存在具有M个相同用户标签的多个用户信息,其中,M为大于N的自然数,当用户分类表中的某一类别中所有用户信息存在具有M个相同用户标签的多个用户信息时,将具有M个相同用户标签的多个用户信息分为一个组,针对每个类别生成相应的用户分组表。在将所有用户信息进行用户分类过程中,将至少有一个共同标签的用户信息划分为一类,能将弱社交环境下的用户信息进行最大范围的分类,根据用户标签针对每一类分类后的用户信息进行分组,能对用户信息在分类的基础上进行更细致的划分,能提高定位用户信息的精确程度。In the above embodiment, the classification module 120 is further configured to determine whether there are multiple user information having N identical user tags in all user information, and when there are multiple user information having N identical user tags, A plurality of user information having N identical user tags is divided into one category, and accordingly, a corresponding user classification table is generated, wherein N is a natural number greater than or equal to 1, and all of the categories in the user classification table are determined. Whether there is a plurality of user information having M identical user tags, where M is a natural number greater than N, and when there is a plurality of user information having M identical user tags in all user information in a certain category in the user classification table At the same time, a plurality of user information having M identical user tags are divided into one group, and a corresponding user group table is generated for each category. In the process of classifying all user information, the user information of at least one common tag is divided into one class, and the user information in the weak social environment can be classified into the largest range, and the user tags are classified according to each category. The user information is grouped, and the user information can be divided into more detailed on the basis of classification, which can improve the accuracy of positioning the user information.
举例来说,假设所有用户信息包括以下4位用户的信息:张三、清华本科,华为在职、知识产权工程师;李四、清华本科、华为在职、知识产权工程师;王五、北大本科、中兴在职、知识产权工程师;赵六、北大本科、中兴在职、软件工程师。所述分类模块120,具体用于在获取上述的4位用户的信息后,判断所有用户信息中是否存在具有N个相同用户标签的多个用户信息,N为大于或等于1的自然数,当判断出有张三、李四、王五3位用户的信息均包括“知识产权工程师”的用户标签时,将3位用户张三、李四、王五划分为一个类别,以及将赵六划分为一个类,生成包括张三、李四、王五的一个类别,以及生成包括赵六的一个类别,根据划分的两个类别生成用户分类表。然后,判断包括张三、李四、王五的类别中所有用户信息是否存在具有M个相同用户标签的多个用户信息,其中,M为大于N的自然数,当判断出有张三、李四2位用户的信息均包括“清华本科”、“华为在职”的2个用户标签时,将张三、李四、王五所在的类别分为包括张三、李四的用户分组、以及包括王五的用户分组,根据划分的两个组生成用户分组表。For example, assume that all user information includes the following four users: Zhang San, Tsinghua undergraduate, Huawei incumbent, intellectual property engineer; Li Si, Tsinghua undergraduate, Huawei incumbent, intellectual property engineer; Wang Wu, Peking University undergraduate, ZTE , intellectual property engineer; Zhao Liu, Peking University undergraduate, ZTE incumbent, software engineer. The classifying module 120 is specifically configured to: after obtaining the information of the four users, whether there is a plurality of user information having N identical user tags in all user information, where N is a natural number greater than or equal to 1, when determining When the information of the three users of Zhang San, Li Si and Wang Wu includes the user label of “Intellectual Property Engineer”, the three users Zhang San, Li Si and Wang Wu are divided into one category, and Zhao Six is divided into A class that generates a category including Zhang San, Li Si, and Wang Wu, and generates a category including Zhao Liu, and generates a user classification table according to the divided two categories. Then, it is judged whether all the user information in the categories including Zhang San, Li Si, and Wang Wu have a plurality of user information having M identical user tags, wherein M is a natural number greater than N, and when it is determined that there are Zhang San and Li Si When the information of the two users includes the two user labels of "Tsinghua Undergraduate" and "Huawei in-service", the categories of Zhang San, Li Si, and Wang Wu are divided into user groups including Zhang San and Li Si, and including Wang. The user grouping of five generates a user grouping table according to the divided two groups.
在上述具体实例中,在对张三、李四、王五、赵六四位用户的信息进行用户分类过程中,将具有“知识产权工程师”共同标签的张三、李四、王五划分为一类,将具有“软件工程师”用户标签的赵六划为另一类,能将弱社交环境下的用户信息进行最大范围的分类,将张三、李四、王五所在类别按照用户标签进行分组,能对用户信息在分类的基础上进行更细致的划分,提高定位用户信息的精确程度,当用户通过客户端选择一个或多个用户标签时,能准确的定位出相关的用户信息,提高沟通效率。In the above specific example, in the process of classifying users' information of Zhang San, Li Si, Wang Wu, and Zhao Liu, Zhang San, Li Si, and Wang Wu, who have the common label of “Intellectual Property Engineers”, are divided into In the first category, Zhao Liu, who has the “Software Engineer” user label, is classified into another category, which can classify the user information in a weak social environment to the largest extent, and the categories of Zhang San, Li Si, and Wang Wu are classified according to the user label. Grouping can classify the user information more precisely based on the classification, and improve the accuracy of locating the user information. When the user selects one or more user tags through the client, the user information can be accurately located and improved. Communication efficiency.
在本实施例中,所述通信模块130,用于当生成用户分类表、用户分组表之后,将用户分类表及用户分组表显示出来,选择一个或多个用户标签,根据选择的用户标签从用户分类表及用户分组表中定位出一个或多个用户信息,其中,客户端选择一个或多个用户标签的具体方式包括:将许多用户标签显示在触摸屏上,通过触摸屏接收的触摸信号选择一个或多个用户标签。需要说明的是,用户标签根据用户信息中的学历信息、工作背景信息确定。所述判断模块140,用于判断已认证的好友信息中是否包括定位出的用户信息,当已认证的好友信息中包括定位出的用户信息时,从定位出的用户信息获取对应的用户账号,将用户账号对应的聊天界面显示出来。补充说明的是,所述判断模块140,还用于当已认证的好友信息中不包括定位出的用户信息时,从定位出的用户信息中获取出对应的用户账号,根据用户账号进行好友认证。In this embodiment, the communication module 130 is configured to display the user classification table and the user group table after generating the user classification table and the user group table, and select one or more user labels, according to the selected user label. One or more user information is located in the user classification table and the user group table. The specific manner in which the client selects one or more user tags includes: displaying a plurality of user tags on the touch screen, and selecting one of the touch signals received through the touch screen. Or multiple user tags. It should be noted that the user tag is determined according to the academic information and the working background information in the user information. The determining module 140 is configured to determine whether the authenticated friend information includes the located user information, and when the authenticated friend information includes the located user information, obtain the corresponding user account from the located user information. Display the chat interface corresponding to the user account. It is to be noted that the determining module 140 is further configured to: when the authenticated friend information does not include the located user information, obtain the corresponding user account from the located user information, and perform friend authentication according to the user account. .
在上述实施例中,假设现有的用户信息包括以下4位用户信息:4位用户的信息:张三、清华本科,华为在职、知识产权工程师;李四、清华本科、华为在职、知识产权工程师;王五、北大本科、中兴在职、知识产权工程师;赵六、北大本科、中兴在职、软件工程师。所述分类模块120,将具有“知识产权工程师”共同用户标签的张三、李四、王五的划为一个类别,将有“软件工程师”用户标签的赵六划为一个类别,根据划分的两个类别生成用户分类表。在生成用户分类表之后,所述通信模块130,用于将用户分类表显示出来。所述分类模块120,具体还用于将具有“清华本科”“华为在职”两个共同用户标签的张三、李四的划为一组、以及将王五划分为一组,根据划分的两个组生成用户分组表。在生成用户分组表之后,所述通信模块130,用于将用户分组表显示出来。当客户端选择“知识产权工程师”、“清华本科”、“华为在职”3个用户标签时,所述通信模块130,用于从用户分类表及用户分组表中将张三、李四的用户信息定位出来。所述判断模块140,用于判断已认证的好友信息中是否包括张三、李四的用户信息,当已认证的好友信息中包括定位出的张三、李四的用户信息时,从定位出的张三、李四的用户信息中获取对应的张三、李四的用户账号,将张三、李四的用户账号对应的聊天界面显示出来。当已认证的好友信息中不包括定位出的张三、李四的用户信息时,从定位出的张三、李四的用户信息中获取出对应的张三、李四的用户账号,根据张三、李四的用户账号进行好友认证。In the above embodiment, it is assumed that the existing user information includes the following four pieces of user information: information of four users: Zhang San, Tsinghua undergraduate, Huawei in-service, intellectual property engineer; Li Si, Tsinghua undergraduate, Huawei in-service, intellectual property engineer Wang Wu, Peking University undergraduate, ZTE incumbent, intellectual property engineer; Zhao Liu, Peking University undergraduate, ZTE incumbent, software engineer. The classification module 120 classifies Zhang San, Li Si, and Wang Wu, which have the common user label of the “Intellectual Property Engineer”, into a category, and classifies the Zhao 6 with the “Software Engineer” user label as a category, according to the division. Two categories generate user classification tables. After the user classification table is generated, the communication module 130 is configured to display the user classification table. The classification module 120 is specifically configured to group Zhang San and Li Si, which have two common user labels of “Tsinghua undergraduate” and “Huawei in-service”, and divide Wang 5 into a group according to the division. Groups generate user grouping tables. After generating the user group table, the communication module 130 is configured to display the user group table. When the client selects three user tags of "Intellectual Property Engineer", "Tsinghua Undergraduate", and "Huawei In-service", the communication module 130 is used to user Zhang San and Li Si from the user classification table and the user group table. Information is located. The determining module 140 is configured to determine whether the authenticated friend information includes the user information of Zhang San and Li Si, and when the authenticated friend information includes the user information of the positioned Zhang San and Li Si, the positioning is performed. The user information of Zhang San and Li Si obtains the corresponding user accounts of Zhang San and Li Si, and displays the chat interface corresponding to the user accounts of Zhang San and Li Si. When the authenticated friend information does not include the user information of the positioned Zhang San and Li Si, the corresponding user accounts of Zhang San and Li Si are obtained from the user information of the positioned Zhang San and Li Si, according to Zhang. Third, Li Si's user account for friend authentication.
以上实施例提供的客户端,能从数据库获取用户信息,根据用户信息中包括的用户标签对用户信息进行分类、分组,能根据用户标签对弱社交关系中的用户信息进行搜索、查询,提高用户在弱社交关系中查找有效信息的成功率,为用户提供良好的弱社交体验。The client provided by the above embodiment can obtain user information from the database, classify and group the user information according to the user tags included in the user information, and can search and query the user information in the weak social relationship according to the user tag, thereby improving the user. Finding the success rate of effective information in weak social relationships provides users with a good weak social experience.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种社交用户分类方法,其特征在于,包括:  A social user classification method, comprising:
    客户端通过服务器从数据库中获取用户信息,其中,所述用户信息包括一个或多个用户标签;The client obtains user information from the database through the server, where the user information includes one or more user tags;
    所述客户端根据所述用户标签将所述用户信息进行分类及分组。The client classifies and groups the user information according to the user tag.
  2. 如权利要求1所述的社交用户分类方法,其特征在于,所述客户端根据所述用户标签将所述用户信息进行分类及分组具体包括:The social user classification method according to claim 1, wherein the classifying and grouping the user information according to the user label comprises:
    判断所有用户信息中是否存在具有N个相同用户标签的多个用户信息;Determining whether there is a plurality of user information having N identical user tags in all user information;
    当存在具有N个相同用户标签的多个用户信息时,将该具有N个相同用户标签的多个用户信息分为一个类别,据此生成相应的用户分类表,其中,N为大于或等于1的自然数;When there are multiple user information having N identical user tags, the plurality of user information having N identical user tags are divided into one category, and accordingly, a corresponding user classification table is generated, where N is greater than or equal to 1 Natural number
    判断所述用户分类表中的每个类别中所有用户信息是否存在具有M个相同用户标签的多个用户信息,其中,M为大于N的自然数;Determining whether there is a plurality of user information having M identical user tags in all user information in each category in the user classification table, where M is a natural number greater than N;
    当用户分类表中的某一类别中所有用户信息存在具有M个相同用户标签的多个用户信息时,将具有M个相同用户标签的多个用户信息分为一个组,针对每个类别生成相应的用户分组表。When there is a plurality of user information having M identical user tags in all user information in a category in the user classification table, the plurality of user information having M identical user tags are divided into one group, and correspondingly generated for each category User grouping table.
  3. 如权利要求2所述的社交用户分类方法,其特征在于,所述针对每个类别生成相应的用户分组表之后,所述社交用户分类方法还包括:The social user classification method according to claim 2, wherein after the generating a corresponding user grouping table for each category, the social user classification method further comprises:
    所述客户端将所述用户分类表及所述用户分组表显示出来;The client displays the user classification table and the user group table;
    所述客户端选择一个或多个用户标签,根据所述选择的用户标签从所述用户分类表及所述用户分组表中定位出一个或多个用户信息;The client selects one or more user tags, and locates one or more user information from the user classification table and the user group table according to the selected user tag;
    所述客户端判断已认证的好友信息中是否包括所述定位出的用户信息;Determining, by the client, whether the located user information is included in the authenticated friend information;
    当已认证的好友信息中包括所述定位出的用户信息时,从所述定位出的用户信息中获取对应的用户账号,将所述用户账号对应的聊天界面显示出来。When the authenticated friend information includes the located user information, the corresponding user account is obtained from the located user information, and the chat interface corresponding to the user account is displayed.
  4. 如权利要求3所述的社交用户分类方法,其特征在于,当已认证的好友信息中不包括所述定位出的用户信息时,所述的社交用户分类方法还包括:The social user classification method according to claim 3, wherein when the authenticated friend information does not include the located user information, the social user classification method further includes:
    从所述定位出的用户信息中获取出对应的用户账号,根据所述用户账号进行好友认证。Obtaining a corresponding user account from the located user information, and performing friend authentication according to the user account.
  5. 如权利要求1-4所述的社交用户分类方法,其特征在于,所述用户标签根据所述用户信息中的学历信息、工作背景信息确定。The social user classification method according to any one of claims 1-4, wherein the user tag is determined according to the academic information and the work background information in the user information.
  6. 一种客户端,其特征在于,包括: A client, comprising:
    获取模块,用于通过服务器从数据库中获取用户信息,其中,所述用户信息包括一个或多个用户标签;An obtaining module, configured to obtain user information from a database by using a server, where the user information includes one or more user labels;
    分类模块,用于根据所述用户标签将所述用户信息进行分类及分组。And a classification module, configured to classify and group the user information according to the user label.
  7. 如权利要求6所述的客户端,其特征在于,The client of claim 6 wherein:
    所述分类模块,具体用于判断所有用户信息中是否存在具有N个相同用户标签的多个用户信息,当存在具有N个相同用户标签的多个用户信息时,将该具有N个相同用户标签的多个用户信息分为一个类别,据此生成相应的用户分类表,其中,N为大于或等于1的自然数,判断所述用户分类表中的每个类别中所有用户信息是否存在具有M个相同用户标签的多个用户信息,其中,M为大于N的自然数,当用户分类表中的某一类别中所有用户信息存在具有M个相同用户标签的多个用户信息时,将具有M个相同用户标签的多个用户信息分为一个组,针对每个类别生成相应的用户分组表。The classification module is specifically configured to determine whether there are multiple user information with N identical user tags in all user information, and when there are multiple user information with N identical user tags, the N has the same user tag. The plurality of user information is divided into one category, and accordingly, a corresponding user classification table is generated, where N is a natural number greater than or equal to 1, and it is determined whether all user information in each category in the user classification table has M Multiple user information of the same user tag, where M is a natural number greater than N, and when all user information in a certain category in the user classification table has multiple user information having M identical user tags, there will be M identical The plurality of user information of the user tag is divided into one group, and a corresponding user group table is generated for each category.
  8. 如权利要求7所述的社交用户分类客户端,其特征在于,还包括:The social user classification client according to claim 7, further comprising:
    通信模块,用于当针对每个类别生成相应的用户分组表之后,将所述用户分类表及所述用户分组表显示出来,选择一个或多个用户标签,根据所述选择的用户标签从所述用户分类表及所述用户分组表中定位出一个或多个用户信息; a communication module, configured to display the user classification table and the user group table after generating a corresponding user group table for each category, and select one or more user labels, according to the selected user label Locating one or more user information in the user classification table and the user grouping table;
    判断模块,用于判断已认证的好友信息中是否包括所述定位出的用户信息,当已认证的好友信息中包括所述定位出的用户信息时,从所述定位出的用户信息获取对应的用户账号,将所述用户账号对应的聊天界面显示出来。a judging module, configured to determine whether the queried loyalty information includes the locating user information, and when the queried loyalty information includes the locating user information, obtain the corresponding user information from the locating user information The user account displays the chat interface corresponding to the user account.
  9. 如权利要求8所述的客户端,其特征在于,The client of claim 8 wherein:
    所述判断模块,还用于当已认证的好友信息中不包括所述定位出的用户信息时,从所述定位出的用户信息中获取出对应的用户账号,根据所述用户账号进行好友认证。The determining module is further configured to: when the authenticated friend information does not include the located user information, obtain a corresponding user account from the located user information, and perform friend authentication according to the user account. .
  10. 如权利要求6-9所述的客户端,其特征在于,所述用户标签根据所述用户信息中的学历信息、工作背景信息确定。 The client according to any one of claims 6-9, wherein the user tag is determined according to academic information and work background information in the user information.
PCT/CN2017/076142 2017-03-09 2017-03-09 Method for classifying social network user, and client terminal WO2018161310A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/076142 WO2018161310A1 (en) 2017-03-09 2017-03-09 Method for classifying social network user, and client terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/076142 WO2018161310A1 (en) 2017-03-09 2017-03-09 Method for classifying social network user, and client terminal

Publications (1)

Publication Number Publication Date
WO2018161310A1 true WO2018161310A1 (en) 2018-09-13

Family

ID=63447220

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/076142 WO2018161310A1 (en) 2017-03-09 2017-03-09 Method for classifying social network user, and client terminal

Country Status (1)

Country Link
WO (1) WO2018161310A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271957A1 (en) * 2011-04-22 2012-10-25 Verizon Patent And Licensing Inc. Method and system for associating a contact with multiple tag classifications
CN104869048A (en) * 2014-02-24 2015-08-26 腾讯科技(北京)有限公司 Grouping processing method, device and system of MicroBlog data
CN105808771A (en) * 2016-03-22 2016-07-27 珠海格力电器股份有限公司 Group information management method and device
CN106886948A (en) * 2017-03-09 2017-06-23 深圳市华第时代科技有限公司 Social user classification method and client

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271957A1 (en) * 2011-04-22 2012-10-25 Verizon Patent And Licensing Inc. Method and system for associating a contact with multiple tag classifications
CN104869048A (en) * 2014-02-24 2015-08-26 腾讯科技(北京)有限公司 Grouping processing method, device and system of MicroBlog data
CN105808771A (en) * 2016-03-22 2016-07-27 珠海格力电器股份有限公司 Group information management method and device
CN106886948A (en) * 2017-03-09 2017-06-23 深圳市华第时代科技有限公司 Social user classification method and client

Similar Documents

Publication Publication Date Title
CN111555988B (en) Network asset mapping discovery method and device based on big data
WO2020155758A1 (en) Data encryption transmission control method and device, computer apparatus, and storage medium
CN102882990B (en) A kind of wireless sensor network identification analytic method
WO2016037411A1 (en) Intelligent home system and method thereof for binding user terminal and device terminal
CN206686205U (en) The multiple-protection network architecture
WO2013120388A1 (en) Login method, login server, and computer storage medium
CN110071853A (en) A kind of message statistical method and the network equipment
CN105376754A (en) Method for testing number of connectable wireless users of router
CA2939978C (en) Manage encrypted network traffic using spoofed addresses
WO2014086111A1 (en) Fingerprint authentication based information management system and information management method
US20180069934A1 (en) Physical location determination of internal network components
WO2018161310A1 (en) Method for classifying social network user, and client terminal
US11963128B2 (en) Evaluating IP location on a client device
WO2012068835A1 (en) Method and apparatus for registering in constrained application protocol (coap) network
CN114338244A (en) Equipment network behavior classification recording method and device and backtracking evidence-proving method and device
Cheng et al. Grcol-ppfl: User-based group collaborative federated learning privacy protection framework
US9400729B2 (en) System and method for determining topology of monitored entities
CN112104590B (en) Method and system for detecting private connection of network equipment in private network to public network
WO2019000304A1 (en) Public opinion monitoring method and system
CN103036773B (en) Network instant communication instrument flux recognition system and recognition methods
Karamollahi Pandemic Effects on Campus Network Traffic
WO2017000150A1 (en) Data interaction processing method and device
WO2015147348A1 (en) Method and system for exchanging electronic business cards among multiple parties
WO2017000170A1 (en) Method for establishing interaction relationship, and interaction terminal
CN103873237A (en) Method for querying public key certificates of users between PKI (public key infrastructure)-system-based application systems

Legal Events

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

Ref document number: 17899385

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 15/01/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17899385

Country of ref document: EP

Kind code of ref document: A1