CN110716962A - Social circle layer dividing method and device based on address book - Google Patents
Social circle layer dividing method and device based on address book Download PDFInfo
- Publication number
- CN110716962A CN110716962A CN201810669261.0A CN201810669261A CN110716962A CN 110716962 A CN110716962 A CN 110716962A CN 201810669261 A CN201810669261 A CN 201810669261A CN 110716962 A CN110716962 A CN 110716962A
- Authority
- CN
- China
- Prior art keywords
- user
- address book
- book data
- social circle
- score
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000012545 processing Methods 0.000 claims description 28
- 238000004364 calculation method Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000013523 data management Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 5
- 238000013500 data storage Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000002790 cross-validation Methods 0.000 description 2
- 238000007418 data mining Methods 0.000 description 2
- 238000013524 data verification Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
技术领域technical field
本申请涉及数据分析领域,特别是涉及基于通讯录的社交圈层划分方法和装置。The present application relates to the field of data analysis, and in particular, to a method and apparatus for dividing social circle layers based on an address book.
背景技术Background technique
现有的社交活动中,用户在通讯录联系人进行存储时,除了姓名和电话之外,有些还会添加简单的描述信息,例如:公司名,职位等,或添加一些常用的分组或标签信息,例如:同学、同事、朋友、客户等备注。此外,社交活动中,用户一般期望结识更多更广的人脉关系,特别是结识人脉关系比自己更宽更广的人。然而,现有技术中社交平台中,对通讯录的数据的利用并不充分,通常是判断用户的通讯录中的联系人是否在平台注册,如果已经注册,则为该用户推荐该联系人以便双方在平台上加为好友。这种处理方式并不能明确该用户在社交圈中的地位或层次,无法对社交圈进行细化,也就不能针对用户特点进行为其扩展人脉关系,也不利于用户的数据挖掘和应用。In the existing social activities, when users store contacts in the address book, in addition to name and phone number, some will add simple description information, such as company name, position, etc., or add some commonly used grouping or label information. , for example: notes from classmates, colleagues, friends, customers, etc. In addition, in social activities, users generally expect to meet more and wider personal connections, especially to meet people whose personal connections are wider and wider than their own. However, in the social platform in the prior art, the data of the address book is not fully utilized. Usually, it is determined whether the contact in the user's address book is registered on the platform, and if it has been registered, the contact is recommended for the user to Both parties added as friends on the platform. This processing method cannot clarify the user's status or level in the social circle, and cannot refine the social circle, so it cannot expand the personal connections for the user according to the characteristics of the user, and it is not conducive to the user's data mining and application.
发明内容SUMMARY OF THE INVENTION
本申请的目的在于克服上述问题或者至少部分地解决或缓减解决上述问题。The purpose of the present application is to overcome the above-mentioned problems or at least partially solve or alleviate the above-mentioned problems.
根据本申请的一个方面,提供了一种基于通讯录的社交圈层划分方法,包括:According to an aspect of the present application, a method for dividing a social circle layer based on an address book is provided, including:
通讯录数据接收步骤:接收第一用户的用户终端传送的通讯录数据;The address book data receiving step: receiving the address book data transmitted by the user terminal of the first user;
通讯录数据处理步骤:对所述通讯录数据进行检验和处理,得到标准通讯录数据;和Address book data processing step: checking and processing the address book data to obtain standard address book data; and
社交圈层确定步骤:根据所述标准通讯录数据中的联系人的社交圈层分值和用户等级,确定所述第一用户的社交圈层分值,以便对所述第一用户进行社交圈层的划分。The step of determining the social circle level: according to the social circle level score and user level of the contacts in the standard address book data, determine the social circle level score of the first user, so as to establish a social circle for the first user. division of layers.
通过该方法,能够对用户的通讯录的数据进行深度挖掘和分析,便于对用户的社交圈层进行划分,明确了该用户在社交圈中的地位或层次,从而为该用户提供更符合其身份和偏好的信息和服务。Through this method, the data of the user's address book can be deeply mined and analyzed, so as to facilitate the division of the user's social circle, clarify the user's status or level in the social circle, and provide the user with a more suitable identity. and preferences for information and services.
可选地,在所述通讯录数据接收步骤之后,该方法还包括:Optionally, after the address book data receiving step, the method further includes:
通讯录数据管理步骤:在所述第一用户首次上传所述通讯录数据的情况下,将所述通讯录数据存储在数据库中;否则,基于所述用户终端传送的通讯录数据更新数据库中该第一用户的通讯录数据。Address book data management step: when the first user uploads the address book data for the first time, store the address book data in the database; otherwise, update the address book data in the database based on the address book data transmitted by the user terminal. The address book data of the first user.
可选地,所述通讯录数据处理步骤包括:Optionally, the address book data processing step includes:
数据检验步骤:对所述通讯录数据中的电话号码的格式进行检验,在不符合预定要求的情况下,对所述电话号码进行修正,在所述电话号码无法修正的情况下,所述电话号码不参与社交圈层分值的计算;和Data verification step: verify the format of the phone number in the address book data, and modify the phone number if it does not meet the predetermined requirements. The number does not participate in the calculation of the social circle score; and
格式转化步骤:将所述通讯录数据进行一致化处理,得到标准通讯录数据。Format conversion step: performing consistent processing on the address book data to obtain standard address book data.
可选地,在所述通讯录数据处理步骤之后,该方法还包括:Optionally, after the address book data processing step, the method further includes:
去重合并步骤:基于所述标准通讯录数据的联系人的信息,查询数据库中已经存储的该联系人的信息,对该联系人的信息进行去重处理,在所述标准通讯录数据的联系人的信息与数据库中已经存储的该联系人的信息不一致的情况下,对该联系人的信息进行合并处理。The step of deduplication and merging: based on the information of the contact person in the standard address book data, query the information of the contact person that has been stored in the database, and perform deduplication processing on the information of the contact person. If the information of the person is inconsistent with the information of the contact already stored in the database, the information of the contact is merged.
可选地,所述社交圈层确定步骤包括:Optionally, the step of determining the social circle layer includes:
用户集合确定步骤:基于所述标准通讯录数据中的联系人,获取用户集合,其中,所述用户集合中的用户属于所述标准通讯录数据中的联系人,并且该用户的标准通讯录数据中包括所述第一用户;和The user set determination step: obtaining a user set based on the contacts in the standard address book data, wherein the users in the user set belong to the contacts in the standard address book data, and the standard address book data of the user including said first user; and
社交圈层分值计算步骤:基于所述用户集合中每个用户的社交圈层分值和该用户的用户等级,计算贡献分数,将所述用户集合中每个用户的贡献分数进行加权平均,得到所述第一用户的社交圈层分值,以便对所述第一用户进行社交圈层的划分。The social circle score calculation step: based on the social circle score of each user in the user set and the user level of the user, calculate the contribution score, and perform a weighted average of the contribution scores of each user in the user set, The social circle score of the first user is obtained, so as to divide the social circle of the first user.
根据本申请的另一个方面,还提供了一种基于通讯录的社交圈层划分装置,包括:According to another aspect of the present application, an apparatus for dividing a social circle layer based on an address book is also provided, including:
通讯录数据接收模块,其配置成用于接收第一用户的用户终端传送的通讯录数据;an address book data receiving module, configured to receive address book data transmitted by the user terminal of the first user;
通讯录数据处理模块,其配置成用于对所述通讯录数据进行检验和处理,得到标准通讯录数据;和an address book data processing module configured to examine and process the address book data to obtain standard address book data; and
社交圈层确定模块,其配置成用于根据所述标准通讯录数据中的联系人的社交圈层分值和用户等级,确定所述第一用户的社交圈层分值,以便对所述第一用户进行社交圈层的划分。A social circle level determination module is configured to determine the social circle level score of the first user according to the social circle level score and user level of the contacts in the standard address book data, so as to determine the social circle level score of the first user. A user divides the social circle.
通过该方法,能够对用户的通讯录的数据进行深度挖掘和分析,便于对用户的社交圈层进行划分,明确了该用户在社交圈中的地位或层次,从而为该用户提供更符合其身份和偏好的信息和服务。Through this method, the data of the user's address book can be deeply mined and analyzed, so as to facilitate the division of the user's social circle, clarify the user's status or level in the social circle, and provide the user with a more suitable identity. and preferences for information and services.
可选地,该装置还包括:Optionally, the device also includes:
去重合并模块,其配置成用于基于所述标准通讯录数据的联系人的信息,查询数据库中已经存储的该联系人的信息,对该联系人的信息进行去重处理,在所述标准通讯录数据的联系人的信息与数据库中已经存储的该联系人的信息不一致的情况下,对该联系人的信息进行合并处理。A deduplication and merging module, configured to query the information of the contact already stored in the database based on the information of the contact person in the standard address book data, and perform deduplication processing on the information of the contact, in the standard If the information of the contact in the address book data is inconsistent with the information of the contact already stored in the database, the information of the contact is merged.
可选地,所述社交圈层确定模块包括:Optionally, the social circle layer determination module includes:
用户集合确定模块,其配置成用于基于所述标准通讯录数据中的联系人,获取用户集合,其中,所述用户集合中的用户属于所述标准通讯录数据中的联系人,并且该用户的标准通讯录数据中包括所述第一用户;和A user set determination module, configured to obtain a user set based on the contacts in the standard address book data, wherein the users in the user set belong to the contacts in the standard address book data, and the user the first user is included in the standard address book data; and
社交圈层分值计算模块,其配置成用于基于所述用户集合中每个用户的社交圈层分值和该用户的用户等级,计算贡献分数,将所述用户集合中每个用户的贡献分数进行加权平均,得到所述第一用户的社交圈层分值,以便对所述第一用户进行社交圈层的划分。The social circle score calculation module is configured to calculate the contribution score based on the social circle score of each user in the user set and the user level of the user, and calculate the contribution of each user in the user set. The scores are weighted and averaged to obtain the social circle score of the first user, so as to divide the social circle of the first user.
根据本申请的另一个方面,还提供了一种计算设备,包括存储器、处理器和存储在所述存储器内并能由所述处理器运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如上所述的方法。According to another aspect of the present application, there is also provided a computing device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor executes the computer The program implements the method described above.
根据本申请的另一个方面,还提供了一种计算机可读存储介质,优选为非易失性可读存储介质,其内存储有计算机程序,所述计算机程序在由处理器执行时实现如上所述的方法。According to another aspect of the present application, there is also provided a computer-readable storage medium, preferably a non-volatile readable storage medium, in which a computer program is stored, and the computer program realizes the above when executed by a processor method described.
根据下文结合附图对本申请的具体实施例的详细描述,本领域技术人员将会更加明了本申请的上述以及其他目的、优点和特征。The above and other objects, advantages and features of the present application will be more apparent to those skilled in the art from the following detailed description of the specific embodiments of the present application in conjunction with the accompanying drawings.
附图说明Description of drawings
后文将参照附图以示例性而非限制性的方式详细描述本申请的一些具体实施例。附图中相同的附图标记标示了相同或类似的部件或部分。本领域技术人员应该理解,这些附图未必是按比例绘制的。附图中:Hereinafter, some specific embodiments of the present application will be described in detail by way of example and not limitation with reference to the accompanying drawings. The same reference numbers in the figures designate the same or similar parts or parts. It will be understood by those skilled in the art that the drawings are not necessarily to scale. In the attached picture:
图1是根据本申请的基于通讯录的社交圈层划分方法的一个实施例的示意性流程图;1 is a schematic flowchart of an embodiment of a method for dividing a social circle layer based on an address book according to the present application;
图2是根据本申请的基于通讯录的社交圈层划分方法的另一个实施例的示意性流程图;2 is a schematic flowchart of another embodiment of a method for dividing a social circle layer based on an address book according to the present application;
图3是根据本申请的基于通讯录的社交圈层划分装置的一个实施例的示意性框图;3 is a schematic block diagram of an embodiment of an apparatus for dividing a social circle layer based on an address book according to the present application;
图4是根据本申请的基于通讯录的社交圈层划分装置的另一个实施例的示意性框图;4 is a schematic block diagram of another embodiment of an apparatus for dividing a social circle layer based on an address book according to the present application;
图5是本申请的计算设备的一个实施例的框图;Figure 5 is a block diagram of one embodiment of a computing device of the present application;
图6是本申请的计算机可读存储介质的一个实施例的框图。6 is a block diagram of one embodiment of a computer-readable storage medium of the present application.
具体实施方式Detailed ways
根据下文结合附图对本申请的具体实施例的详细描述,本领域技术人员将会更加明了本申请的上述以及其他目的、优点和特征。The above and other objects, advantages and features of the present application will be more apparent to those skilled in the art from the following detailed description of the specific embodiments of the present application in conjunction with the accompanying drawings.
本申请的实施方案公开了一种基于通讯录的社交圈层划分方法。图1是根据本申请的基于通讯录的社交圈层划分方法的一个实施例的示意性流程图。该方法可以包括以下步骤:The embodiment of the present application discloses a method for dividing a social circle layer based on an address book. FIG. 1 is a schematic flowchart of an embodiment of a method for dividing a social circle layer based on an address book according to the present application. The method may include the following steps:
S100通讯录数据接收步骤:接收第一用户的用户终端传送的通讯录数据。Step S100 of receiving the address book data: receiving the address book data transmitted by the user terminal of the first user.
S300通讯录数据处理步骤:对所述通讯录数据进行检验和处理,得到标准通讯录数据。S300 address book data processing step: checking and processing the address book data to obtain standard address book data.
S500社交圈层确定步骤:根据所述标准通讯录数据中的联系人的社交圈层分值和用户等级,确定所述第一用户的社交圈层分值,以便对所述第一用户进行社交圈层的划分。S500 social circle determination step: determining the social circle score of the first user according to the social circle score and user level of the contacts in the standard address book data, so as to socialize the first user The division of circles.
通过该方法,能够对用户的通讯录的数据进行深度挖掘和分析,便于对用户的社交圈层进行划分,明确了该用户在社交圈中的地位或层次,从而为该用户提供更符合其身份和偏好的信息和服务。Through this method, the data of the user's address book can be deeply mined and analyzed, so as to facilitate the division of the user's social circle, clarify the user's status or level in the social circle, and provide the user with a more suitable identity. and preferences for information and services.
该方法可以应用在服务器,该服务器上存储有能够执行上述的方法的系统,例如,社交平台系统或者社交圈层分析系统等。The method can be applied to a server, where a system capable of executing the above method is stored, for example, a social platform system or a social circle layer analysis system.
在S100通讯录数据接收步骤中,第一用户的用户终端通过应用程序(APP)上传通讯录数据,在第一用户授权的情况下,应用程序不定期地将通讯录数据同步到系统,由服务器的数据接口负责通讯录数据的接收。In the step of receiving the address book data in S100, the user terminal of the first user uploads the address book data through an application program (APP), and in the case of the authorization of the first user, the application program synchronizes the address book data to the system from time to time, and the server The data interface is responsible for receiving the address book data.
在一个可选的实施例中,在所述S100通讯录数据接收步骤之后,该方法还可以包括:In an optional embodiment, after the step of receiving address book data in S100, the method may further include:
S200通讯录数据管理步骤:在所述第一用户首次上传所述通讯录数据的情况下,将所述通讯录数据存储在数据库中;否则,基于所述用户终端传送的通讯录数据更新数据库中该第一用户的通讯录数据。例如,图2是根据本申请的基于通讯录的社交圈层划分方法的另一个实施例的示意性流程图。S200 address book data management step: when the first user uploads the address book data for the first time, storing the address book data in a database; otherwise, updating the database based on the address book data transmitted by the user terminal address book data of the first user. For example, FIG. 2 is a schematic flowchart of another embodiment of a method for dividing a social circle layer based on an address book according to the present application.
该方法能够根据用户通讯录上传时的状态设置存储的方式,能够对通讯录数据进行统一的管理,当用户已经上传过通讯录后,只需对数据库中的信息进行更新,而不同替换或者重复存储,提高了数据存储的速度,节省了存储空间。The method can set the storage method according to the state of the user's address book when uploading, and can manage the address book data in a unified manner. Storage, improves the speed of data storage and saves storage space.
数据接口负责接收APP的通讯录数据,并且判断用户是否首次上传通讯录数据,根据判断结果新建用户通讯录数据或者更新用户通讯录数据。当第一用户的通讯录数据有变更的时候,应用程序能够自动触发通讯录数据上传步骤,将通讯录数据传送给服务器。此时,可选地,应用程序可以上传第一用户全部的通讯录数据,由服务器通过信息比对的方式对数据库中该第一用户的通讯录数据进行更新。可选地,应用程序也可以上传更新的数据,由服务器将更新的数据加入到数据库中该第一用户的通讯录数据中。The data interface is responsible for receiving the address book data of the APP, and judging whether the user uploads the address book data for the first time, and creates or updates the user address book data according to the judgment result. When the address book data of the first user is changed, the application program can automatically trigger the address book data uploading step, and transmit the address book data to the server. At this time, optionally, the application program can upload all the address book data of the first user, and the server updates the address book data of the first user in the database by means of information comparison. Optionally, the application program can also upload updated data, and the server adds the updated data to the address book data of the first user in the database.
可选地,所述S300通讯录数据处理步骤包括:Optionally, the address book data processing step of S300 includes:
数据检验步骤:对所述通讯录数据中的电话号码的格式进行检验,在不符合预定要求的情况下,对所述电话号码进行修正,在所述电话号码无法修正的情况下,所述电话号码不参与社交圈层分值的计算;Data verification step: verify the format of the phone number in the address book data, and modify the phone number if it does not meet the predetermined requirements. The number does not participate in the calculation of the social circle score;
格式转化步骤:将所述通讯录数据进行一致化处理,得到标准通讯录数据。Format conversion step: performing consistent processing on the address book data to obtain standard address book data.
该方法在使用通讯录数据计算之前,能够对通讯录数据进行检验、清洗和转换,从而过滤无效数据,使得进入计算流程的数据都是合法和有效的通讯录数据。Before using the address book data for calculation, the method can check, clean and convert the address book data, thereby filtering invalid data, so that the data entering the calculation process are all legal and valid address book data.
数据检验步骤主要是检验通讯录数据中的电话号码的格式是否符合要求,例如,是否符合国内标准。检验的项目可以包括:电话号码部分是否都为数字、是否包括区号、是否包括国家代码等。如果不符合要求,系统会尝试去修正电话号码,对于无法修正的数据,系统将会忽略该电话号码,该电话号码不参与后续社交圈层分值的计算,以避免引发错误。可选地,系统可以删除所述电话号码,或者对该电话号码进行标记,以便在后续社交圈层分值计算不使用该电话号码。The data checking step is mainly to check whether the format of the telephone number in the address book data meets the requirements, for example, whether it meets the domestic standard. The items to be checked may include: whether all parts of the phone number are digits, whether the area code is included, whether the country code is included, and so on. If it does not meet the requirements, the system will try to correct the phone number. For data that cannot be corrected, the system will ignore the phone number, and the phone number will not participate in the calculation of subsequent social circle scores to avoid errors. Optionally, the system can delete the phone number, or mark the phone number, so that the phone number is not used in subsequent social circle score calculation.
格式转化步骤主要是将第一用户填写的数据,例如,手机号码的格式、座机号码的格式、采用简体字或繁体字记录的联系人姓名、公司名称、职位名称等,按照系统要求的统一的格式和规范,进行一致化的处理,从而提高数据的存储和匹配效率。The format conversion step is mainly to convert the data filled in by the first user, such as the format of the mobile phone number, the format of the landline number, the contact name, company name, job title, etc. recorded in simplified or traditional Chinese characters, according to the unified format required by the system. and specifications, and perform consistent processing, thereby improving the efficiency of data storage and matching.
在一个可选的实施例中,参见图2,在所述S300通讯录数据处理步骤之后,该方法还可以包括:In an optional embodiment, referring to FIG. 2, after the address book data processing step of S300, the method may further include:
S400去重合并步骤:基于所述标准通讯录数据的联系人的信息,查询数据库中已经存储的该联系人的信息,对该联系人的信息进行去重处理,在所述标准通讯录数据的联系人的信息与数据库中已经存储的该联系人的信息不一致的情况下,对该联系人的信息进行合并处理。S400 deduplication and merging step: based on the information of the contact person in the standard address book data, query the information of the contact person that has been stored in the database, and perform deduplication processing on the information of the contact person. If the information of the contact is inconsistent with the information of the contact already stored in the database, the information of the contact is merged.
该方法能够避免数据的重复存储,节省了存储空间,提高数据处理和匹配的效率。The method can avoid repeated storage of data, save storage space, and improve the efficiency of data processing and matching.
如下表一所示,在用户A的用户终端和用户B的用户终端中都存储了用户C的信息,系统对用户A的通讯录数据进行了保存,在存储用户B的通讯录信息时,系统通过对比,确认存储信息一致,执行去重处理,数据库中仅需存储一份用户C的信息,而不必再次存储用户C的信息。例如,在用户B的用户终端和用户C的用户终端中都存储了用户D的信息,系统对用户B的通讯录数据进行了保存,在存储用户C的通讯录信息时,系统通过对比发现基本信息大部分都都一致,仅职位信息不一致,在用户B存储的信息中,用户D的职位是董事长,而在用户C存储的信息中,用户D的职位是CEO,因此系统不能简单的执行去重处理,而是在用户D的职位信息中对用户B和用户C记录的信息进行合并,在数据库中用户D的职位具有两个数据,分别是董事长和CEO。As shown in Table 1 below, user C's information is stored in both user A's user terminal and user B's user terminal. The system saves user A's address book data. When storing user B's address book information, the system Through comparison, it is confirmed that the stored information is consistent, and the deduplication process is performed. Only one copy of the information of user C is stored in the database, and there is no need to store the information of user C again. For example, user D's information is stored in both user B's user terminal and user C's user terminal, and the system saves user B's address book data. When storing user C's address book information, the system finds the basic Most of the information is consistent, only the position information is inconsistent. In the information stored by user B, user D's position is the chairman, while in the information stored by user C, user D's position is CEO, so the system cannot simply execute In the deduplication process, the information recorded by user B and user C is merged in the position information of user D. In the database, the position of user D has two data, namely the chairman and the CEO.
表一Table I
可选地,所述S500社交圈层确定步骤包括:Optionally, the step of determining the social circle layer of S500 includes:
用户集合确定步骤:基于所述标准通讯录数据中的联系人,获取用户集合,其中,所述用户集合中的用户属于所述标准通讯录数据中的联系人,并且该用户的标准通讯录数据中包括所述第一用户;The user set determination step: obtaining a user set based on the contacts in the standard address book data, wherein the users in the user set belong to the contacts in the standard address book data, and the standard address book data of the user including the first user;
社交圈层分值计算步骤:基于所述用户集合中每个用户的社交圈层分值和该用户的用户等级,计算贡献分数,将所述用户集合中每个用户的贡献分数进行加权平均,得到所述第一用户的社交圈层分值,以便对所述第一用户进行社交圈层的划分。The social circle score calculation step: based on the social circle score of each user in the user set and the user level of the user, calculate the contribution score, and perform a weighted average of the contribution scores of each user in the user set, The social circle score of the first user is obtained, so as to divide the social circle of the first user.
采用该方法,能够基于通讯录中的社交关系信息对第一用户进行的社交圈层的划分,由于采用通讯录数据的交叉验证,能够确保第一用户和联系人之间存在的社交关系的真实性,因此基于该数据计算得到的社交圈层数据,更加准确,更加符合真实情况。By adopting this method, the social circle layer of the first user can be divided based on the social relationship information in the address book, and since the cross-validation of the address book data is adopted, the authenticity of the social relationship existing between the first user and the contact can be ensured Therefore, the social circle data calculated based on this data is more accurate and more in line with the real situation.
对于用户M,在获得用户M的电话号码和通讯录数据后,对于通讯录数据中的每一个联系人,首先查询数据库中该联系人的通讯录数据中是否存在用户M的电话号码;如果存在,判断该联系人是否是社交平台的注册用户;如果是注册用户,则将该联系人放入用户集合US中。该方法对通讯录数据进行了的交叉验证,用户M和联系人彼此存有对方的电话号码能够表明用户M和该联系人之间存在真实的社交关系。For user M, after obtaining the phone number and address book data of user M, for each contact in the address book data, first query whether the phone number of user M exists in the address book data of the contact in the database; if there is , determine whether the contact is a registered user of the social platform; if it is a registered user, put the contact into the user set US . The method performs cross-validation on the address book data, and the fact that the user M and the contact have each other's phone numbers can indicate that there is a real social relationship between the user M and the contact.
如果获取用户集合Us中每一位用户的社交圈层分值Si。对于系统中每位注册的用户,系统都会计算出一个社交圈层分值Si。其中,Si的计算与用户M的社交圈层分值的算法相同或者近似,也是根据该用户的通讯录中联系人的社交圈层分值和该用户的用户等级进行计算。If the social circle score S i of each user in the user set Us is obtained. For each registered user in the system, the system will calculate a social circle score S i . The calculation of S i is the same as or similar to the algorithm of the social circle score of user M, and is also calculated according to the social circle score of the contacts in the user's address book and the user level of the user.
获取每个用户在社交平台系统或者社交圈层分析系统中的用户等级值Ri。例如,用户等级值Ri可以采用如下方式进行设置:Obtain the user level value R i of each user in the social platform system or the social circle layer analysis system. For example, the user level value R i can be set as follows:
对于会员用户,用户等级值Ri=400;For member users, the user level value R i =400;
对于海客用户,Ri=300;For Haike users, R i =300;
对于实名认证用户,Ri=280;For real-name authentication users, R i =280;
对于注册用户,Ri=200;For registered users, R i =200;
对于员工用户,Ri=100。For employee users, R i =100.
将Si和Ri相乘,得到这个用户对用户M的贡献分数Ui,遍历用户集合US后,得出每个用户对用户M的贡献分数。对贡献分数进行加权平均,得到用户M的社交圈层分值UM,计算过程用公式表示如下:Multiply S i and Ri to obtain the user's contribution score U i to user M , and after traversing the user set U S , obtain each user's contribution score to user M. The weighted average of the contribution scores is used to obtain the user M's social circle score U M . The calculation process is expressed as follows:
其中,n表示用户集合US中用户的个数,Ui表示第i个用户的贡献分数。Among them, n represents the number of users in the user set US, and U i represents the contribution score of the ith user.
采用该方法,能够对现有的通讯录数据进行深入挖掘和分析,有助于对整体通讯录数据进行统一的分析,能方便的展示出不通社交圈层用户的数据和特征,对于后续的用户数据挖掘和应用都是极有价值的。By adopting this method, the existing address book data can be deeply excavated and analyzed, which is helpful for the unified analysis of the overall address book data, and the data and characteristics of users who do not know the social circle can be conveniently displayed. Both data mining and applications are extremely valuable.
本申请的另一个实施方案还提供了一种基于通讯录的社交圈层划分装置。图3是根据本申请的基于通讯录的社交圈层划分装置的一个实施例的示意性框图。该装置可以包括:Another embodiment of the present application also provides a device for dividing a social circle layer based on an address book. FIG. 3 is a schematic block diagram of an embodiment of an apparatus for dividing a social circle layer based on an address book according to the present application. The apparatus may include:
通讯录数据接收模块100,其配置成用于接收第一用户的用户终端传送的通讯录数据;an address book data receiving module 100, which is configured to receive the address book data transmitted by the user terminal of the first user;
通讯录数据处理模块300,其配置成用于对所述通讯录数据进行检验和处理,得到标准通讯录数据;和an address book data processing module 300 configured to examine and process the address book data to obtain standard address book data; and
社交圈层确定模块500,其配置成用于根据所述标准通讯录数据中的联系人的社交圈层分值和用户等级,确定所述第一用户的社交圈层分值,以便对所述第一用户进行社交圈层的划分。The social circle level determination module 500 is configured to determine the social circle level score of the first user according to the social circle level score and user level of the contacts in the standard address book data, so as to determine the social circle level score of the first user. The first user divides the social circle layer.
通过该装置,能够对用户的通讯录的数据进行深度挖掘和分析,便于对用户的社交圈层进行划分,明确了该用户在社交圈中的地位或层次,从而为该用户提供更符合其身份和偏好的信息和服务。Through the device, the data of the user's address book can be deeply excavated and analyzed, so as to facilitate the division of the user's social circle, clarify the user's status or level in the social circle, and provide the user with a more suitable identity. and preferences for information and services.
可选地,图4是根据本申请的基于通讯录的社交圈层划分装置的另一个实施例的示意性框图。该装置还可以包括:通讯录数据管理模块200,其配置成用于在所述第一用户首次上传所述通讯录数据的情况下,将所述通讯录数据存储在数据库中;否则,基于所述用户终端传送的通讯录数据更新数据库中该第一用户的通讯录数据。Optionally, FIG. 4 is a schematic block diagram of another embodiment of an apparatus for dividing a social circle layer based on an address book according to the present application. The apparatus may further include: an address book data management module 200, which is configured to store the address book data in a database when the first user uploads the address book data for the first time; otherwise, based on the The address book data transmitted by the user terminal updates the address book data of the first user in the database.
可选地,所述通讯录数据处理模块300可以包括:Optionally, the address book data processing module 300 may include:
数据检验模块,其配置成用于对所述通讯录数据中的电话号码的格式进行检验,在不符合预定要求的情况下,对所述电话号码进行修正,在所述电话号码无法修正的情况下,所述电话号码不参与社交圈层分值的计算;A data checking module, which is configured to check the format of the phone number in the address book data, and correct the phone number if it does not meet the predetermined requirements, and if the phone number cannot be corrected , the phone number does not participate in the calculation of the social circle score;
格式转化模块,其配置成用于将所述通讯录数据进行一致化处理,得到标准通讯录数据。A format conversion module, which is configured to perform consistent processing on the address book data to obtain standard address book data.
可选地,参见图4,该装置还可以包括:去重合并模块400,其配置成用于基于所述标准通讯录数据的联系人的信息,查询数据库中已经存储的该联系人的信息,对该联系人的信息进行去重处理,在所述标准通讯录数据的联系人的信息与数据库中已经存储的该联系人的信息不一致的情况下,对该联系人的信息进行合并处理。Optionally, referring to FIG. 4, the apparatus may further include: a de-duplication and merging module 400, which is configured to query the information of the contact already stored in the database based on the information of the contact in the standard address book data, De-duplication processing is performed on the information of the contact, and when the information of the contact in the standard address book data is inconsistent with the information of the contact already stored in the database, the information of the contact is merged.
可选地,所述社交圈层确定模块500可以包括:Optionally, the social circle layer determining module 500 may include:
用户集合确定模块,其配置成用于基于所述标准通讯录数据中的联系人,获取用户集合,其中,所述用户集合中的用户属于所述标准通讯录数据中的联系人,并且该用户的标准通讯录数据中包括所述第一用户;A user set determination module, configured to obtain a user set based on the contacts in the standard address book data, wherein the users in the user set belong to the contacts in the standard address book data, and the user The standard address book data includes the first user;
社交圈层分值计算模块,其配置成用于基于所述用户集合中每个用户的社交圈层分值和该用户的用户等级,计算贡献分数,将所述用户集合中每个用户的贡献分数进行加权平均,得到所述第一用户的社交圈层分值,以便对所述第一用户进行社交圈层的划分。The social circle score calculation module is configured to calculate the contribution score based on the social circle score of each user in the user set and the user level of the user, and calculate the contribution of each user in the user set. The scores are weighted and averaged to obtain the social circle score of the first user, so as to divide the social circle of the first user.
该装置能够对现有的通讯录数据进行深入挖掘和分析,有助于对整体通讯录数据进行统一的分析,能方便的展示出不通社交圈层用户的数据和特征,对于后续的用户数据挖掘和应用都是极有价值的。The device can conduct in-depth mining and analysis of the existing address book data, which is helpful for the unified analysis of the overall address book data, and can easily display the data and characteristics of users who do not know the social circle. and applications are extremely valuable.
本申请的实施方案还提供了一种计算设备,参照图5,该计算设备包括存储器1120、处理器1110和存储在所述存储器1120内并能由所述处理器1110运行的计算机程序,该计算机程序存储于存储器1120中的用于程序代码的空间1130,该计算机程序在由处理器1110执行时实现用于执行任一项根据本发明的方法步骤1131。Embodiments of the present application also provide a computing device, referring to FIG. 5 , the computing device includes a memory 1120, a processor 1110, and a computer program stored in the memory 1120 and executable by the processor 1110, the computer The program is stored in the space 1130 in the memory 1120 for the program code which, when executed by the processor 1110, implements for performing any one of the method steps 1131 according to the invention.
本申请的实施方案还提供了一种计算机可读存储介质。参照图6,该计算机可读存储介质包括用于程序代码的存储单元,该存储单元设置有用于执行根据本发明的方法步骤的程序1131’,该程序被处理器执行。Embodiments of the present application also provide a computer-readable storage medium. Referring to Figure 6, the computer-readable storage medium comprises a storage unit for program codes provided with a program 1131' for performing the method steps according to the invention, the program being executed by a processor.
本申请实施例还提供了一种包含指令的计算机程序产品。当该计算机程序产品。Embodiments of the present application also provide a computer program product including instructions. when the computer program product.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、获取其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer loads and executes the computer program instructions, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, Solid State Disk (SSD)), among others.
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals should be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令处理器完成,所述的程序可以存储于计算机可读存储介质中,所述存储介质是非短暂性(英文:non-transitory)介质,例如随机存取存储器,只读存储器,快闪存储器,硬盘,固态硬盘,磁带(英文:magnetic tape),软盘(英文:floppy disk),光盘(英文:optical disc)及其任意组合。Those of ordinary skill in the art can understand that all or part of the steps in the method of implementing the above embodiments can be completed by instructing the processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is non-transitory ( English: non-transitory) media, such as random access memory, read only memory, flash memory, hard disk, solid state disk, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.
以上所述,仅为本申请较佳的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。The above are only the preferred specific embodiments of the present application, but the protection scope of the present application is not limited to this. Substitutions should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669261.0A CN110716962A (en) | 2018-06-26 | 2018-06-26 | Social circle layer dividing method and device based on address book |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669261.0A CN110716962A (en) | 2018-06-26 | 2018-06-26 | Social circle layer dividing method and device based on address book |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110716962A true CN110716962A (en) | 2020-01-21 |
Family
ID=69208842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810669261.0A Pending CN110716962A (en) | 2018-06-26 | 2018-06-26 | Social circle layer dividing method and device based on address book |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110716962A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111858692A (en) * | 2020-07-30 | 2020-10-30 | 重庆新申言科技有限公司 | A network computing system and method based on classmate records |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105659223A (en) * | 2012-12-03 | 2016-06-08 | 谷歌技术控股有限责任公司 | Method and apparatus for developing social hierarchy |
CN105701706A (en) * | 2016-01-28 | 2016-06-22 | 北京量科邦信息技术有限公司 | A method for determining the credit rating of a user according to credit standing of contact persons |
CN105991418A (en) * | 2015-02-16 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Communication method, device, server and electronic equipment |
US20170075894A1 (en) * | 2015-09-15 | 2017-03-16 | Facebook, Inc. | Contacts Confidence Scoring |
-
2018
- 2018-06-26 CN CN201810669261.0A patent/CN110716962A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105659223A (en) * | 2012-12-03 | 2016-06-08 | 谷歌技术控股有限责任公司 | Method and apparatus for developing social hierarchy |
CN105991418A (en) * | 2015-02-16 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Communication method, device, server and electronic equipment |
US20170075894A1 (en) * | 2015-09-15 | 2017-03-16 | Facebook, Inc. | Contacts Confidence Scoring |
CN105701706A (en) * | 2016-01-28 | 2016-06-22 | 北京量科邦信息技术有限公司 | A method for determining the credit rating of a user according to credit standing of contact persons |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111858692A (en) * | 2020-07-30 | 2020-10-30 | 重庆新申言科技有限公司 | A network computing system and method based on classmate records |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110311891B (en) | Account management method and device, computer equipment and storage medium | |
CN105894028B (en) | User identification method and device | |
US20110167114A1 (en) | Automatically synchronizing new contacts across multiple social networking sites | |
US10262039B1 (en) | Proximity-based searching on online social networks | |
CN106850794A (en) | Method and apparatus, server and terminal for operating group | |
CN112860997A (en) | Medical resource recommendation method, device, equipment and storage medium | |
WO2013097026A1 (en) | Systems and methods for visualizing social graphs | |
CN106095814A (en) | Contact person's processing method and server | |
CN104765793A (en) | Software recommending method and server | |
CN113301203B (en) | Method and device for updating historical information data based on address book | |
CN106790738B (en) | User contact information query method and server | |
WO2016165414A1 (en) | Method and device for push information | |
CN107656959B (en) | Message leaving method and device and message leaving equipment | |
US9529855B2 (en) | Systems and methods for point of interest data ingestion | |
CN108012558B (en) | Phone number normalization and information discoverability | |
CN110716962A (en) | Social circle layer dividing method and device based on address book | |
CN114817340A (en) | Data tracing method and device, computer equipment and storage medium | |
WO2016197884A1 (en) | Identity-based data processing method and device | |
CN111694993B (en) | Method, device, electronic equipment and medium for creating data index | |
US9600782B2 (en) | Mobile information processing terminal, social networking service system, server, and processing method | |
CN109471903A (en) | Method, device and computer equipment for sharing blockchain information | |
CN112906091B (en) | A method, device, terminal and medium for drawing geographic information based on CAD | |
CN110580200B (en) | Data synchronization method and device | |
CN114675776B (en) | Resource storage method and device, storage medium and electronic device | |
CN112329424B (en) | Business data processing method and device, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200121 |
|
RJ01 | Rejection of invention patent application after publication |