CN109669956B - Memory, user relationship determination method, device and equipment - Google Patents
Memory, user relationship determination method, device and equipment Download PDFInfo
- Publication number
- CN109669956B CN109669956B CN201811575452.7A CN201811575452A CN109669956B CN 109669956 B CN109669956 B CN 109669956B CN 201811575452 A CN201811575452 A CN 201811575452A CN 109669956 B CN109669956 B CN 109669956B
- Authority
- CN
- China
- Prior art keywords
- user
- group
- relationship
- users
- identity
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000002596 correlated effect Effects 0.000 claims abstract description 8
- 230000000694 effects Effects 0.000 claims description 33
- 238000004891 communication Methods 0.000 claims description 6
- 230000000875 corresponding effect Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a memory, a user relationship determination method, a device and equipment, wherein the method comprises the steps of respectively obtaining a record table of each user group; according to the record table, establishing association relations between the users and other users in the same user group in each user group; traversing each user group, and counting the times of occurrence of the same association relation; the same incidence relation is that two correlated users in incidence relations of different user groups are the same; generating a relationship label between each user and other users according to the occurrence frequency of the same association relationship and the identity of the associated user; when the number of times of occurrence of the same association relation exceeds a certain number, it is indicated that two users associated with the association relation are not accidentally in the same user group, and therefore, the relationship between the two users can be determined as a friendship.
Description
Technical Field
The invention relates to the field of internet information, in particular to a method, a device and equipment for determining a relation between a memory and a user.
Background
WeChat, as an application platform with a huge active user amount, has a huge user information data amount, and how to effectively utilize the user information and fully develop the utilization value thereof is an important subject in the field.
In the prior art, based on a WeChat applet of a WeChat platform, a WeChat user can initiate a 'group-leading red packet' activity to establish a user group and become a group leader of the user group, and then sends a link to the WeChat group or a WeChat friend, and then other people can participate in the user group through the link and become a group member of the user group; when the group number of the group members of the user group reaches the preset number within the appointed time, the group length and the group members of the user group can receive the corresponding red envelope.
The inventor has found through research that the number of users participating in the above-mentioned "group leader red envelope" activity is huge, and a large amount of relevant user information data can be generated, but in the prior art, the user information data generated by the activity has not been effectively utilized.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
Disclosure of Invention
The invention aims to provide a memory, a user relationship determination method, a device and equipment, so as to overcome the defect that user information data is not effectively utilized in the prior art.
To achieve the above object, according to a first aspect of the present invention, there is provided a user relationship determination method, comprising the steps of:
respectively acquiring a record table of each user group; the record table at least comprises a group identifier, a user identifier and an identity identifier; the community identification is used for identifying a user community; the user identification is used for identifying users in a user group; the identity is used for identifying identity attributes of the user in the user group, and the identity attributes comprise group length and group members;
according to the record table, establishing association relations between the users and other users in the same user group in each user group;
traversing each user group, and counting the times of occurrence of the same association relation; the same incidence relation is that two correlated users in incidence relations of different user groups are the same;
generating a relationship label between each user and other users according to the occurrence frequency of the same association relationship and the identity of the associated user; the relationship label comprises a relationship level and an identity relationship; the relationship level is used for identifying the degree of closeness of the relationship between the users; the identity relationships include being their clique, being their clique and being a clique together.
Further, in the above technical solution, the user identifier includes a mobile phone number of the user.
Further, in the above technical solution, the establishing, according to the record table, an association relationship between each user and other users in the user group in each user group includes:
self-table connection is carried out in the record table of each user group, and pairwise association relation of each user in the user group is established;
and deleting the self-associated association relation of the user.
Further, in the foregoing technical solution, the dividing of the relationship level includes:
group relationships and friend relationships.
Further, in the above technical solution, the generating a relationship label between each user and other users according to the number of times of occurrence of the same association relationship and the identity of the associated user includes:
when the times of the same incidence relation belong to a first preset interval, recording the relation label as a group relation; and when the times of the same incidence relation belong to a second preset interval, recording the relation label as a friend relation.
Further, in the above technical solution, the method further includes: and counting the number of the relation labels of the target user, and determining the group participation activity of the target user according to the number of the relation labels.
Further, in the above technical solution, the method further includes: counting the times of the group growth in the identity relationship of the target user according to the identity relationship in the relationship label; .
And determining the group building activity of the target user according to the times of the target user as the group growth.
According to a second aspect of the present invention, the present invention further provides a user relationship determining apparatus, including:
the recording acquisition unit is used for respectively acquiring the recording tables of all the user groups; the record table at least comprises a group identifier, a user identifier and an identity identifier; the community identification is used for identifying a user community; the user identification is used for identifying users in a user group; the identity is used for identifying identity attributes of the user in the user group, and the identity attributes comprise group length and group members;
the association unit is used for respectively establishing association relations between the users and other users in the user group in each user group according to the record table;
the statistical unit is used for traversing each user group and counting the occurrence times of the same incidence relation; the same incidence relation is that two correlated users in incidence relations of different user groups are the same;
the label generating unit is used for generating a relationship label between each user and other users according to the occurrence frequency of the same association relationship and the identity of the associated user; the relationship label comprises a relationship level and an identity relationship; the relationship level is used for identifying the degree of closeness of the relationship between the users; the identity relationships include being their clique, being their clique and being a clique together.
To solve the above technical problems, embodiments of the present invention also provide a memory, which includes a non-transitory computer-readable storage medium storing computer-executable instructions for performing the method according to the above aspects and achieving the same technical effects.
To solve the above technical problem, an embodiment of the present invention further provides a user relationship determining apparatus, including a computer program stored on a memory, the computer program including program instructions, which, when executed by a computer, cause the computer to execute the method of the above aspects and achieve the same technical effects.
Advantageous effects
The memory, the user relationship determining method, the user relationship determining device and the user relationship determining equipment provided by the embodiment of the invention are used for acquiring the record table generated in the 'group leader red envelope' activity process, and determining the closeness degree of the user relationship among the micro credit users by counting and analyzing the specific user information data.
Particularly, in the activity of 'group leading red envelope', every two users belonging to the same user group may have a friendship relationship, and each user can obtain the WeChat dynamics of the other user at any time; it is also possible that two users do not know each other, for example, one of the users and the other users in the user group join a wechat group, and join the user group through a red packet group link in the wechat group.
In the embodiment of the invention, in order to determine whether two users are in a friend relationship, firstly, according to a record table of a user group, one-to-one association relationship between each user in the user group and other users is respectively established; after the establishment of the association relation is carried out on each user group; the association relationship can be analyzed and counted; specifically, in the embodiment of the present invention, the association relationship that two associated users are the same is referred to as the same association relationship; thus, when the number of times of occurrence of the same association relationship of a certain association relationship exceeds a certain number, it is indicated that two users associated with the association relationship are not accidentally in the same user group, but are extremely likely to be mutually WeChat friends; thus, the relationship of the two users can be determined as a friendship.
The application scenarios of the embodiment of the present invention may be: by determining the relationship between each user and other users, a corresponding social relationship graph can be established according to the friend relationship of each user, so that the users can be further known, the requirements of the users can be better met, and the product experience can be optimized. Meanwhile, the method can also carry out targeted marketing by utilizing the friendship, reduce the user reaction degree, find the target user more accurately and improve the marketing conversion rate.
Furthermore, the method and the device can determine the degree of closeness of the relationship between each user and other users; the possibility of realizing data communication interaction between the users can be predicted according to the degree of closeness of the relationship between the users; therefore, the propagation range and the propagation speed of a certain WeChat activity in the WeChat users can be predicted according to the degree of closeness of the relationship among the users, and corresponding data support is provided for the WeChat activity.
Further, in the embodiment of the present invention, the number of the users (i.e. the target users) participating in the user group may be determined according to the number of the relationship tag generation of the users, so that the activity level of the users for participating in the user group may be known.
In addition, in the embodiment of the present invention, the number of times of the target user in the identity relationship as the clique in the user clique can be counted through the identity relationship in the relationship tag of the user, so as to determine the activity degree of the user for building the clique.
In the embodiment of the invention, the activity degree of the user to the participating user group is determined, or the activity degree of the user to the building group is determined. Effective data support can be provided for predicting the propagation range and the propagation trend of a certain wechat activity in the whole wechat user group.
Other features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic step diagram of a user relationship determining method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a user relationship determining apparatus according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of a user relationship determining device according to an embodiment of the present invention.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, methods, means, elements well known to those skilled in the art have not been described in detail so as not to obscure the present invention.
Example 1
Fig. 1 shows a flowchart of a user relationship determining method provided in an embodiment of the present invention, where the method may be executed by an electronic device, such as a network device, a terminal device, or a server device. In other words, the method may be performed by software or hardware installed in a network device, a terminal device, or a server device. The server includes but is not limited to: a single server, a cluster of servers, etc. Referring to fig. 1, the method includes the following steps.
S11, respectively obtaining a record table of each user group; the record table at least comprises a group identifier, a user identifier and an identity identifier; the community identification is used for identifying a user community; the user identification is used for identifying users in a user group; the identity is used for identifying identity attributes of the user in the user group, and the identity attributes comprise group length and group members;
the application scene of the embodiment of the invention is based on the 'group-leading red packet' activity developed by the WeChat platform applet; the creditworthiness user participating in the activity may establish a user community (at which point the user may become the community of the user community) or may join a certain user community (at which point the user may become a community of the user community) via a link.
It should be noted that the user in the embodiment of the present invention refers to a wechat user, and the user identifier (e.g., a mobile phone number) of the user may be obtained through a wechat platform.
The 'group-leading red packet' activity can generate a plurality of user groups, each user group is provided with a record table, the record table not only comprises the identification of the user group, but also comprises the user identification and the identity identification of each group-participating user, and the user identification is used for identifying the users in the user groups; the identity is used for identifying the identity attribute of the user in the user group, and the identity attribute comprises the group length and the group member.
In practical applications, the user identifier may be a mobile phone number of the user or a micro signal. In the embodiment of the present invention, a mobile phone number is taken as an example for explanation; in the embodiment of the invention, the identity mark is used for marking whether the user is a group building user or a group member of a user group which is added only through an active link.
S12, according to the record table, establishing the association relationship between each user and other users in the same user group in each user group;
in the embodiment of the invention, in order to determine whether two users are in a friendship, firstly, according to a record table of a user group, one-to-one association relationship between each user in the user group and other users is respectively established; after the establishment of the association relation is carried out on each user group; the association can be analyzed and counted.
In practical application, the specific way of respectively establishing the association relationship between each user and other users in the user group in each user group may be as follows:
self-table connection (also called internal connection) is carried out in the record table of each user group, and pairwise association relation of each user in the user group is established; and deleting the self-associated association relation of the user. Therefore, the efficiency and the accuracy of establishing the incidence relation between every two users in each user group are improved.
S13, traversing each user group, and counting the occurrence times of the same incidence relation; the same incidence relation is that two correlated users in incidence relations of different user groups are the same;
it should be noted that, in the embodiment of the present invention, an association relationship that two associated users are the same is referred to as an identical association relationship; for example, in the user group a, there is an association relationship between the user a and the user b; in the user group B, the user a and the user B have a relationship; then the two associations that are separated into two user groups (i.e., user group a and user group B) are referred to as the same association; in the embodiment of the present invention, the number of times of occurrence of the same association relationship refers to the number of times that a certain association relationship is determined to be the same as an association relationship in another user group.
In practical applications, there is a possibility that a certain association occurs only once, that is, there is no same association of the association, or there is a possibility that the same association of a certain association occurs many times.
S14, generating a relationship label between each user and other users according to the occurrence frequency of the same association relationship and the identity of the associated user; the relationship label comprises a relationship level and an identity relationship; the relationship level is used for identifying the degree of closeness of the relationship between the users; the identity relationships include being their clique, being their clique and being a clique together.
When the number of times of occurrence of the same association relation exceeds a certain number, it is indicated that two users associated with the association relation are not accidentally in the same user group, and therefore, the relationship between the two users can be determined as a friendship.
For example, if there is an association between the user a and the user b in the user group a; in the user group B, the user a and the user B have a relationship; then, it means that there is more than one user group in which the user a and the user b participate together, and at this time, there is a high possibility that the user a and the user b know each other (are mutually believable friends), and therefore, the relationship between the two users can be determined as a friendship relationship. On the contrary, if the user c and the user d have a relationship only in one user group, it indicates that the relationship between the two is not tight, and is likely to refer to the user group because one user joins through the links in the WeChat groups of other users in the user group.
In practical application, the relationship label between each two users may include two parts of the content of relationship level and identity relationship; the relationship level is used for identifying the relationship closeness degree between the users, and the identity relationship is to determine the identity relationship of the two users in the user group through three types of group length, group membership and the same group membership when the association relationship is established.
The application scenarios of the embodiment of the present invention may be: by determining the relationship between each user and other users, a corresponding social relationship graph can be established according to the friend relationship of each user, so that the users can be further known, the requirements of the users can be better met, and the product experience can be optimized. Meanwhile, the method can also carry out targeted marketing by utilizing the friendship, reduce the user reaction degree, find the target user more accurately and improve the marketing conversion rate.
Furthermore, the method and the device can determine the degree of closeness of the relationship between each user and other users; the possibility of realizing data communication interaction between the users can be predicted according to the degree of closeness of the relationship between the users; therefore, the propagation range and the propagation speed of a certain WeChat activity in the WeChat users can be predicted according to the degree of closeness of the relationship among the users, and corresponding data support is provided for the WeChat activity.
Further, in the embodiment of the present invention, the number of the users (i.e. the target users) participating in the user group may be determined according to the number of the relationship tag generation of the users, so that the activity level of the users for participating in the user group may be known.
In addition, in the embodiment of the present invention, the number of times of the target user in the identity relationship as the clique in the user clique can be counted through the identity relationship in the relationship tag of the user, so as to determine the activity degree of the user for building the clique.
In the embodiment of the invention, the activity degree of the user to the participating user group is determined, or the activity degree of the user to the building group is determined. Effective data support can be provided for predicting the propagation range and the propagation trend of a certain wechat activity in the whole wechat user group.
Example 2
Fig. 2 is a schematic structural diagram of a user relationship determining apparatus according to an embodiment of the present invention, where the user relationship determining apparatus is an apparatus corresponding to the user relationship determining method in embodiment 1, that is, the user relationship determining method in embodiment 1 is implemented by a virtual apparatus, and each virtual module constituting the user relationship determining apparatus may be executed by an electronic device, such as a network device, a terminal device, or a server.
Specifically, the user relationship determining apparatus in the embodiment of the present invention includes:
the record obtaining unit 01 is used for respectively obtaining a record table of each user group; the record table at least comprises a group identifier, a user identifier and an identity identifier; the community identification is used for identifying a user community; the user identification is used for identifying users in a user group; the identity is used for identifying identity attributes of the user in the user group, and the identity attributes comprise group length and group members;
the association unit 02 is used for respectively establishing association relations between each user and other users in the same user group in each user group according to the record table;
the counting unit 03 is used for traversing each user group and counting the occurrence times of the same association relation; the same incidence relation is that two correlated users in incidence relations of different user groups are the same;
the label generating unit 04 is configured to generate a relationship label between each user and another user according to the number of times that the same association relationship occurs and the identity of the associated user; the relationship label comprises a relationship level and an identity relationship; the relationship level is used for identifying the degree of closeness of the relationship between the users; the identity relationships include being their clique, being their clique and being a clique together.
Since the working principle and the beneficial effects of the user relationship determining apparatus in the embodiment of the present invention have been described and illustrated in the user relationship determining method in embodiment 1, they may be referred to each other and are not described herein again.
Example 3
Embodiments of the present invention provide a memory, which may be a non-transitory (non-volatile) computer storage medium storing computer-executable instructions, which can perform the steps of the user relationship determination method in any of the above method embodiments, and achieve the same technical effect.
Example 4
The embodiment of the present invention provides a user relationship determining device, wherein a memory included in the user relationship determining device includes a corresponding computer program product, and when a program instruction included in the computer program product is executed by a computer, the computer can execute the user relationship determining method in the above aspects, and achieve the same technical effect.
Fig. 3 is a schematic diagram of a hardware structure of a user relationship determining device as an electronic device according to an embodiment of the present invention, and as shown in fig. 3, the device includes one or more processors 610 and a memory 620. Take a processor 610 as an example. The apparatus may further include: an input device 630 and an output device 640.
The processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, and are exemplified by a bus in fig. 3.
The memory 620, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 610 executes various functional applications and data processing of the electronic device, i.e., the processing method of the above-described method embodiment, by executing the non-transitory software programs, instructions and modules stored in the memory 620.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data and the like. Further, the memory 620 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 620 optionally includes memory located remotely from the processor 610, which may be connected to the processing device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 630 may receive input numeric or character information and generate a signal input. The output device 640 may include a display device such as a display screen.
The one or more modules are stored in the memory 620 and, when executed by the one or more processors 610, perform:
respectively acquiring a record table of each user group; the record table at least comprises a group identifier, a user identifier and an identity identifier; the community identification is used for identifying a user community; the user identification is used for identifying users in a user group; the identity is used for identifying identity attributes of the user in the user group, and the identity attributes comprise group length and group members;
according to the record table, establishing association relations between the users and other users in the same user group in each user group;
traversing each user group, and counting the times of occurrence of the same association relation; the same incidence relation is that two correlated users in incidence relations of different user groups are the same;
generating a relationship label between each user and other users according to the occurrence frequency of the same association relationship and the identity of the associated user; the relationship label comprises a relationship level and an identity relationship; the relationship level is used for identifying the degree of closeness of the relationship between the users; the identity relationships include being their clique, being their clique and being a clique together.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The electronic device of the embodiments of the present invention exists in various forms including, but not limited to, the following devices.
(1) Mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for determining user relationships, comprising the steps of:
respectively acquiring a record table of each user group; the record table at least comprises a group identifier, a user identifier and an identity identifier; the community identification is used for identifying a user community; the user identification is used for identifying users in a user group; the identity is used for identifying identity attributes of the user in the user group, and the identity attributes comprise group length and group members; the user group comprises a user group established by WeChat users participating in a 'group-leading red packet' activity developed by a WeChat platform applet;
according to the record table, establishing association relations between the users and other users in the same user group in each user group;
traversing each user group, and counting the times of occurrence of the same association relation; the same incidence relation is that two correlated users in incidence relations of different user groups are the same;
generating a relationship label between each user and other users according to the occurrence frequency of the same association relationship and the identity of the associated user; the relationship label comprises a relationship level and an identity relationship; the relationship level is used for identifying the degree of closeness of the relationship between the users; the identity relationships include being their clique, being their clique and being a clique together.
2. The method of claim 1, wherein the user identifier comprises a mobile phone number of the user.
3. The method according to claim 1, wherein the establishing, according to the record table, the association relationship between each user and other users in the user group in each user group respectively comprises:
self-table connection is carried out in the record table of each user group, and pairwise association relation of each user in the user group is established;
and deleting the self-associated association relation of the user.
4. The method of claim 1, wherein the dividing of the relationship level comprises:
group relationships and friend relationships.
5. The method according to claim 4, wherein the generating a relationship label between each user and other users according to the number of times of occurrence of the same association relationship and the identities of the associated users comprises:
when the times of the same incidence relation belong to a first preset interval, recording the relation label as a group relation; and when the times of the same incidence relation belong to a second preset interval, recording the relation label as a friend relation.
6. The method of determining user relationships of claim 4, further comprising: and counting the number of the relation labels of the target user, and determining the group participation activity of the target user according to the number of the relation labels.
7. The method of determining user relationships of claim 6, further comprising: counting the times of the group growth in the identity relationship of the target user according to the identity relationship in the relationship label;
and determining the group building activity of the target user according to the times of the target user as the group growth.
8. A user relationship determination apparatus, comprising:
the recording acquisition unit is used for respectively acquiring the recording tables of all the user groups; the record table at least comprises a group identifier, a user identifier and an identity identifier; the community identification is used for identifying a user community; the user identification is used for identifying users in a user group; the identity is used for identifying identity attributes of the user in the user group, and the identity attributes comprise group length and group members; the user group comprises a user group established by WeChat users participating in a 'group-leading red packet' activity developed by a WeChat platform applet;
the association unit is used for respectively establishing association relations between the users and other users in the user group in each user group according to the record table;
the statistical unit is used for traversing each user group and counting the occurrence times of the same incidence relation; the same incidence relation is that two correlated users in incidence relations of different user groups are the same;
the label generating unit is used for generating a relationship label between each user and other users according to the occurrence frequency of the same association relationship and the identity of the associated user; the relationship label comprises a relationship level and an identity relationship; the relationship level is used for identifying the degree of closeness of the relationship between the users; the identity relationships include being their clique, being their clique and being a clique together.
9. A memory comprising a set of instructions adapted to be executed by a processor to perform the steps of the user relationship determination method according to any one of claims 1 to 7.
10. A user relationship determination device comprising a bus, a communication module, a processor and a memory as claimed in claim 9;
the bus is used for connecting the memory, the communication module and the processor;
the communication module is used for communicating with a client;
the processor is configured to execute a set of instructions in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811575452.7A CN109669956B (en) | 2018-12-22 | 2018-12-22 | Memory, user relationship determination method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811575452.7A CN109669956B (en) | 2018-12-22 | 2018-12-22 | Memory, user relationship determination method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109669956A CN109669956A (en) | 2019-04-23 |
CN109669956B true CN109669956B (en) | 2021-05-18 |
Family
ID=66145888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811575452.7A Active CN109669956B (en) | 2018-12-22 | 2018-12-22 | Memory, user relationship determination method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109669956B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110765435B (en) * | 2019-10-23 | 2022-05-17 | 北京旷视科技有限公司 | Method and device for determining personnel identity attribute and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049496B (en) * | 2012-12-07 | 2016-08-17 | 北京百度网讯科技有限公司 | A kind of multiple users are carried out the method for customer group division, device and equipment |
CN105574045B (en) * | 2014-10-17 | 2019-12-10 | 深圳市腾讯计算机系统有限公司 | Video recommendation method and server |
CN104834695B (en) * | 2015-04-24 | 2018-04-20 | 南京邮电大学 | Activity recommendation method based on user interest degree and geographical location |
CN106339948A (en) * | 2016-08-26 | 2017-01-18 | 微梦创科网络科技(中国)有限公司 | Associated user mining method and device based on social network |
-
2018
- 2018-12-22 CN CN201811575452.7A patent/CN109669956B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109669956A (en) | 2019-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10116607B2 (en) | Splitting posts in a thread into a new thread | |
US20190122260A1 (en) | Method and apparatus for generating targeted label, and storage medium | |
CN108970116B (en) | Virtual role control method and device | |
CN109600344B (en) | Method and device for identifying risk group and electronic equipment | |
US10719890B1 (en) | Machine learning system and method for clustering | |
WO2018196553A1 (en) | Method and apparatus for obtaining identifier, storage medium, and electronic device | |
CN108833453A (en) | A kind of method and apparatus determined using account | |
WO2015120789A1 (en) | Information processing method and game server | |
CN107104949B (en) | Type of database acquisition methods, device and electronic equipment | |
CN111026969B (en) | Content recommendation method and device, storage medium and server | |
CN106846034A (en) | Share generation method, device and the electronic equipment of the page | |
CN103874019A (en) | Voice interaction method and device | |
CN112165390B (en) | Information processing method and device, electronic equipment and computer readable storage medium | |
CN108334494B (en) | Method and device for constructing user relationship network | |
Li et al. | On diffusion-restricted social network: A measurement study of wechat moments | |
CN111557014A (en) | Method and system for providing multiple personal data | |
CN109669956B (en) | Memory, user relationship determination method, device and equipment | |
CN106971296B (en) | Method for processing information object, electronic equipment and storage medium | |
KR101509888B1 (en) | Method and apparatus for message spreading in social network | |
CN110781066B (en) | User behavior analysis method, device, equipment and storage medium | |
US10872121B2 (en) | Systems and methods for matching users | |
CN111191143A (en) | Application recommendation method and device | |
CN112396151B (en) | Rumor event analysis method, rumor event analysis device, rumor event analysis equipment and computer readable storage medium | |
CN112422480B (en) | Method and device for determining account attribute, storage medium and electronic device | |
CN111130983B (en) | Method and equipment for sending information and generating result information |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |