CN113821697A - Statistical method and device for user invitation relation - Google Patents

Statistical method and device for user invitation relation Download PDF

Info

Publication number
CN113821697A
CN113821697A CN202111389157.4A CN202111389157A CN113821697A CN 113821697 A CN113821697 A CN 113821697A CN 202111389157 A CN202111389157 A CN 202111389157A CN 113821697 A CN113821697 A CN 113821697A
Authority
CN
China
Prior art keywords
invitation
character string
information
statistical
user
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
Application number
CN202111389157.4A
Other languages
Chinese (zh)
Inventor
徐新明
刘中原
徐晟�
施林坚
周若桦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Jinxianlian Technology Co ltd
Original Assignee
Hangzhou Jinxianlian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Jinxianlian Technology Co ltd filed Critical Hangzhou Jinxianlian Technology Co ltd
Priority to CN202111389157.4A priority Critical patent/CN113821697A/en
Publication of CN113821697A publication Critical patent/CN113821697A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries

Abstract

The embodiment of the invention provides a statistical method and a device for user invitation relation, wherein the method comprises the following steps: when registration information of a user is received, acquiring a first associated character string in a first invitation code, generating a second associated character string corresponding to the user according to the first associated character string and ID information of the user, and generating a second invitation code corresponding to the user; when a sharing request of a user is detected, sending a second invitation code to an invitation object, acquiring a second association character string in the second invitation code, and generating a third association character string corresponding to the invitation object by combining the second association character string with ID information of the invitation object; when the statistical request is detected, acquiring statistical ID information corresponding to the statistical request, detecting a statistical association character string containing the statistical ID information, and determining a statistical graph of the invitation relation according to the statistical association character string. By adopting the method, the invitation relation among the users can be more flexibly counted, the complexity of determining the invitation relation is reduced, and resources are saved.

Description

Statistical method and device for user invitation relation
Technical Field
The invention relates to the technical field of internet, in particular to a statistical method and a statistical device for user invitation relation.
Background
In each software and each platform of the internet, in order to keep the continuous growth and the user viscosity of the user, the active behavior of the user can be used as the platform contribution and fed back by corresponding incentive measures. This feedback not only occurs on its own, but also on his immediate inviters. Meanwhile, a single user can spontaneously form a user organization, and the user organization and an invitation object invited by the user are activated on the platform in a community mode.
However, in the internet, the determination method of the user invitation relation is a reference chain method. I.e. to record the relationship of the user and its superordinate (inviter). Such as A- > B, B- > C, C- > D three records. If all team members of the initial inviter A need to be queried, each level of invitation relation needs to recurse and set query is carried out, so that all team members are queried sequentially at one level and one level, the query mode is not flexible enough, and resources are wasted.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a statistical method and a statistical device for user invitation relations.
The embodiment of the invention provides a statistical method of user invitation relation, which comprises the following steps:
when registration information of a user is received, detecting whether the registration information contains inviter information;
when the registration information contains a first invitation code, acquiring a first associated character string in the first invitation code, generating a second associated character string corresponding to a user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method;
when the sharing request of the user is detected, sending the second invitation code to an invitation object, acquiring a second associated character string in the second invitation code, and generating a third associated character string corresponding to the invitation object by combining the second associated character string with the ID information of the invitation object;
when a statistical request of an invitation relation is detected, acquiring statistical ID information corresponding to the statistical request, detecting a statistical association character string containing the statistical ID information in a total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string, wherein the total association character string contains a first association character string, a second association character string and a third association character string.
In one embodiment, the method further comprises:
the associated character string comprises ID information, invited time and invited levels, and when a plurality of ID information exists in the associated character string, the ID information is comprehensively sorted according to the invited time and the invited levels.
In one embodiment, the method further comprises:
acquiring first ID information at the top of the comprehensive sequencing of the statistical associated character strings, and detecting all associated character strings containing the first ID information;
drawing a statistical graph of the corresponding invitation relation according to all the associated character strings containing the first ID information, wherein the statistical graph comprises an invitation object of the first ID information, and the invited time and the invited level corresponding to the invitation object.
In one embodiment, the method further comprises:
when a modification request of an invitation relation is received, obtaining a modification object corresponding to the modification request, and detecting whether the modification request contains inviter information or not;
when the modification request contains inviter information, acquiring an invitation code corresponding to the inviter information, and acquiring a corresponding associated character string through the invitation code;
and generating a modified associated character string by combining the associated character string corresponding to the inviter information with the ID information of the modified object, and replacing the associated character string of the modified object by the modified associated character string.
In one embodiment, the method further comprises:
and acquiring an invitation object of the modification object, and sequentially modifying the association character strings of the invitation object according to the invitation sequence of the modification association character strings.
In one embodiment, the method further comprises:
and when the registration information does not contain inviter information, generating corresponding associated character strings according to the ID information of the user, wherein the comprehensive sequence of the associated character strings is kept at the top.
The embodiment of the invention provides a statistical device of user invitation relation, comprising:
the receiving module is used for detecting whether the registration information contains inviter information or not when the registration information of the user is received;
the acquisition module is used for acquiring a first associated character string in the first invitation code when the registration information contains the first invitation code, generating a second associated character string corresponding to the user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method;
the first detection module is used for sending the second invitation code to an invitation object when the sharing request of the user is detected, acquiring a second associated character string in the second invitation code, and generating a third associated character string corresponding to the invitation object by combining the second associated character string with the ID information of the invitation object;
the second detection module is used for acquiring statistical ID information corresponding to the statistical request when the statistical request of the invitation relation is detected, detecting a statistical association character string containing the statistical ID information in a total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string, wherein the total association character string contains a first association character string, a second association character string and a third association character string.
In one embodiment, the apparatus further comprises:
and the sorting module is used for comprehensively sorting the ID information according to the invited time and the invited level when the ID information exists in the associated character string.
The embodiment of the invention provides electronic equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the steps of the statistical method of the user invitation relation.
An embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the statistical method for user invitation relations described above.
According to the statistical method and device for the user invitation relation, provided by the embodiment of the invention, when the registration information of a user is received, whether the registration information contains inviter information is detected; when the registration information contains a first invitation code, acquiring a first associated character string in the first invitation code, generating a second associated character string corresponding to the user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method; when a sharing request of a user is detected, sending a second invitation code to an invitation object, acquiring a second association character string in the second invitation code, and generating a third association character string corresponding to the invitation object by combining the second association character string with ID information of the invitation object; when a statistical request of the invitation relation is detected, acquiring statistical ID information corresponding to the statistical request, detecting a statistical association character string containing the statistical ID information in the total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string. Therefore, the invitation relation among the users can be counted more flexibly, the complexity of determining the invitation relation is reduced, and resources are saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart of a statistical method for user invitation relations according to an embodiment of the present invention;
FIG. 2 is a block diagram of a statistical apparatus for user invitation relations according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
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.
Fig. 1 is a schematic flow chart of a method for counting user invitation relations according to an embodiment of the present invention, and as shown in fig. 1, the embodiment of the present invention provides a method for counting user invitation relations, including:
step S101, when receiving the registration information of the user, detecting whether the registration information contains the information of the inviter.
Specifically, when the server terminal of the internet software or platform receives the registration information of the user, it is detected whether the registration information of the user includes inviter information, and specifically, whether the relevant invitation code of the inviter is filled in when the registration information is filled in by the user.
Step S102, when the registration information contains a first invitation code, acquiring a first associated character string in the first invitation code, generating a second associated character string corresponding to the user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method.
Specifically, when the registration information of the user includes a first invitation code, which indicates that the user fills in the invitation code during registration, the first invitation code in the registration information of the user is obtained, and a corresponding first associated character string is obtained according to inviter information included in the invitation code, where the first associated character string may include related information of the inviter, such as ID information and the like, and then, according to the first associated character string, a second associated character string related to the user is generated in combination with ID information of the user determined during registration of the user, and a preset invitation code generation method, such as a method of how to convert the associated character string into a corresponding two-dimensional code, is combined to generate a corresponding second invitation code.
In addition, when the registration information does not include inviter information, the registration information indicates that the user is not invited to register, the registration information is an initial parent set user, corresponding associated character strings are generated according to the ID information of the user during registration, the comprehensive ordering of the associated character strings is kept at the forefront, and the subsequent holding at the forefront is facilitated when the invitation relation is determined.
Step S103, when the sharing request of the user is detected, the second invitation code is sent to an invitation object, a second associated character string in the second invitation code is obtained, and a third associated character string corresponding to the invitation object is generated by combining the second associated character string with the ID information of the invitation object.
Specifically, when the server terminal of the internet software or platform detects a sharing request of the user, a second invitation code of the user needs to be generated and sent to the invitation object, a second association character string in the second invitation code is acquired, and a third association character string corresponding to the invitation object is generated by combining the second association character string with the ID information of the invitation object.
Step S104, when a statistical request of the invitation relation is detected, acquiring statistical ID information corresponding to the statistical request, detecting a statistical association character string containing the statistical ID information in a total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string, wherein the total association character string contains a first association character string, a second association character string and a third association character string.
Specifically, when the server terminal of the internet software or platform detects a statistical request for an invitation relationship of a certain user, the statistical ID information of a request object of the statistical request is obtained, and a statistical association string including the statistical ID information in a total association string can be further detected according to the statistical ID information, where the total association string includes a first association string, a second association string, and a third association string, the first association string may represent a feature code of the inviting user and may be composed of the ID information of the inviting user, the second association string may represent a feature code of an intermediate user and may be composed of the first association string and the ID information of the intermediate user, the third association string may represent a feature code of the invited user and may be composed of the second association string and the ID information of the invited user, after the statistical association string is determined, and further determining a statistical graph of the invitation relation related to the invitation object according to the character information in the statistical association character string.
The statistical method for the user invitation relation provided by the embodiment of the invention detects whether the registration information contains the information of an inviter or not when the registration information of a user is received; when the registration information contains a first invitation code, acquiring a first associated character string in the first invitation code, generating a second associated character string corresponding to the user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method; when a sharing request of a user is detected, sending a second invitation code to an invitation object, acquiring a second association character string in the second invitation code, and generating a third association character string corresponding to the invitation object by combining the second association character string with ID information of the invitation object; when a statistical request of the invitation relation is detected, acquiring statistical ID information corresponding to the statistical request, detecting a statistical association character string containing the statistical ID information in the total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string. Therefore, the invitation relation among the users can be counted more flexibly, the complexity of determining the invitation relation is reduced, and resources are saved.
On the basis of the foregoing embodiment, the statistical method for user invitation relationship further includes:
the associated character string comprises ID information, invited time and invited levels, and when a plurality of ID information exists in the associated character string, the ID information is comprehensively sorted according to the invited time and the invited levels.
In the embodiment of the present invention, the information that may be included in the associated string may include, in addition to the ID information of the user, an invited time (a time when the user registers and fills in the inviter information and completes registration), an invited hierarchy (an invited hierarchy of the user may be determined according to a corresponding associated string in the inviter information filled by the user, for example, if an invitation relationship is a-B-C-D, an invited hierarchy of C is a third hierarchy, and an invited hierarchy of D is a fourth hierarchy), and when a plurality of ID information exists in the associated string, the plurality of ID information are comprehensively sorted according to the invited time and the invited hierarchy, and a specific comprehensive sorting may be, for example, when a is invited first and then B, C, B is successively invited D, E, and C is invited F, the comprehensive sorting may consider the invited hierarchy first, then consider the invited time, and then the associated string of D may be comprehensively sorted as (ID information of the ABD), the comprehensive ordering of the association strings of F may be (ID information of) the ACF, and the ABD precedes the ACF, which enables the association strings to clearly contain the invitation relationship, and the invited hierarchy and the invited precedence relationship in the invitation relationship.
In addition, when the statistical graph of the invitation relationship is determined according to the statistical association character strings, the first ID information (a) with the highest comprehensive ranking in the association character strings in the software/platform server can be counted through internet software and a server terminal of the platform, the association character string (ABCDEF) containing the first ID information is detected, then the corresponding statistical graphs, such as the first level a, the second level BC and the third level, are determined comprehensively according to the invited levels and the invited time, and when the statistical graphs of the corresponding invitation relationship are drawn according to all the association character strings containing the first ID information, the invitation object of the first ID information and the invited time and the invited level corresponding to the invitation object can be marked in the statistical graphs, so that the statistical graphs are clearer, and the invitation relationship is more clear.
According to the embodiment of the invention, when a plurality of ID information exists in the associated character string, the ID information is comprehensively sequenced according to the invited time and the invited level, so that the associated character string can clearly contain the invitation relation and the invited level and the invited precedence relation in the invitation relation, and the statistical chart is clearer and the invitation relation is more clear when the statistical chart is drawn.
On the basis of the foregoing embodiment, the statistical method for user invitation relationship further includes:
when a modification request of an invitation relation is received, obtaining a modification object corresponding to the modification request, and detecting whether the modification request contains inviter information or not;
when the modification request contains inviter information, acquiring an invitation code corresponding to the inviter information, and acquiring a corresponding associated character string through the invitation code;
and generating a modified associated character string by combining the associated character string corresponding to the inviter information with the ID information of the modified object, and replacing the associated character string of the modified object by the modified associated character string.
In the embodiment of the present invention, when a modification request corresponding to an invitation relationship is received, for example, an inviter of B is changed from a to C, a modification object (B) corresponding to the modification request is obtained, whether the modification request includes inviter information is detected, that is, whether the inviter information is modified or deleted is detected, when the modification request includes the inviter information, it is indicated that the inviter information is modified, an association string corresponding to the inviter information is obtained, the association string corresponding to the inviter information is generated by combining the association string (the association string of C) corresponding to the inviter information with ID information of the modification object (B), and the modification of the invitation relationship is completed by replacing the association string of the modification object with the modification association string.
And meanwhile, an invitation object of the modification object can be obtained, for example, B also invites D, E, D also invites F, according to the invitation sequence of the modification association character string, the association character string of the invitation object (DEF association character string) is modified in sequence by referring to the modification method of the association character string, so that the scene of modifying the invitation relation simultaneously and concurrently by the parent set and the subset can be satisfied.
When the invitation relation needs to be modified, the user can be bound to complete the modification of the invitation relation by acquiring the corresponding character string, the modification means is very flexible, and the modification mode can meet the condition that a parent set and a subset modify the invitation relation simultaneously and concurrently.
Fig. 2 is a statistical apparatus for user invitation relationship according to an embodiment of the present invention, including: the device comprises a receiving module S201, an obtaining module S202, a first detecting module S203 and a second detecting module S204, wherein:
the receiving module S201 is configured to detect whether the registration information includes inviter information when receiving the registration information of the user.
An obtaining module S202, configured to obtain a first associated character string in the first invitation code when the registration information includes the first invitation code, generate a second associated character string corresponding to the user according to the first associated character string and the ID information of the user, and generate a second invitation code corresponding to the user by combining a preset invitation code generating method.
And the first detection module S203 is configured to send the second invitation code to an invitation object when detecting the sharing request of the user, acquire a second association character string in the second invitation code, and generate a third association character string corresponding to the invitation object by combining the second association character string with ID information of the invitation object.
The second detection module S204 is configured to, when a statistical request of an invitation relationship is detected, obtain statistical ID information corresponding to the statistical request, detect a statistical association string including the statistical ID information in a total association string, and determine a statistical chart of the invitation relationship according to the statistical association string, where the total association string includes a first association string, a second association string, and a third association string.
In one embodiment, the apparatus may further comprise:
and the sorting module is used for comprehensively sorting the ID information according to the invited time and the invited level when the ID information exists in the associated character string.
In one embodiment, the apparatus may further comprise:
and the second acquisition module is used for acquiring the first ID information with the highest comprehensive sequencing in the statistical association character strings and detecting all the association character strings containing the first ID information.
And the drawing module is used for drawing a statistical graph of the corresponding invitation relation according to all the associated character strings containing the first ID information, wherein the statistical graph comprises an invitation object of the first ID information, and the invited time and the invited level corresponding to the invitation object.
In one embodiment, the apparatus may further comprise:
a third obtaining module, configured to, when a modification request of an invitation relationship is received, obtain a modification object corresponding to the modification request, and detect whether the modification request includes inviter information;
a fourth obtaining module, configured to obtain, when the modification request includes inviter information, an association string corresponding to the inviter information;
and the replacing module is used for generating a modified associated character string by combining the ID information of the modified object with the associated character string corresponding to the inviter information, and replacing the associated character string of the modified object with the modified associated character string.
In one embodiment, the apparatus may further comprise:
and the modification module is used for acquiring the invitation object of the modification object and sequentially modifying the associated character strings of the invitation object according to the invitation sequence of the modified associated character strings.
In one embodiment, the apparatus may further comprise:
and the generating module is used for generating a corresponding associated character string according to the ID information of the user when the registration information does not contain the information of the inviter, and the comprehensive ordering of the associated character string is kept at the top.
The specific definition of the statistical device about the user invitation relation can be referred to the definition of the statistical method about the user invitation relation in the foregoing, and is not described in detail herein. The modules in the user invitation relation counting device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)301, a memory (memory)302, a communication Interface (Communications Interface)303 and a communication bus 304, wherein the processor 301, the memory 302 and the communication Interface 303 complete communication with each other through the communication bus 304. The processor 301 may call logic instructions in the memory 302 to perform the following method: when registration information of a user is received, detecting whether the registration information contains inviter information; when the registration information contains a first invitation code, acquiring a first associated character string in the first invitation code, generating a second associated character string corresponding to the user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method; when a sharing request of a user is detected, sending a second invitation code to an invitation object, acquiring a second association character string in the second invitation code, and generating a third association character string corresponding to the invitation object by combining the second association character string with ID information of the invitation object; when a statistical request of the invitation relation is detected, acquiring statistical ID information corresponding to the statistical request, detecting a statistical association character string containing the statistical ID information in the total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string.
Furthermore, the logic instructions in the memory 302 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented to perform the transmission method provided in the foregoing embodiments when executed by a processor, and for example, the method includes: when registration information of a user is received, detecting whether the registration information contains inviter information; when the registration information contains a first invitation code, acquiring a first associated character string in the first invitation code, generating a second associated character string corresponding to the user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method; when a sharing request of a user is detected, sending a second invitation code to an invitation object, acquiring a second association character string in the second invitation code, and generating a third association character string corresponding to the invitation object by combining the second association character string with ID information of the invitation object; when a statistical request of the invitation relation is detected, acquiring statistical ID information corresponding to the statistical request, detecting a statistical association character string containing the statistical ID information in the total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string.
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. One of ordinary skill in the art can understand and implement it without inventive effort.
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 necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can 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 methods described in 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 statistical method for user invitation relations is characterized by comprising the following steps:
when registration information of a user is received, detecting whether the registration information contains inviter information;
when the registration information contains a first invitation code, acquiring a first associated character string in the first invitation code, generating a second associated character string corresponding to a user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method;
when the sharing request of the user is detected, sending the second invitation code to an invitation object, acquiring a second associated character string in the second invitation code, and generating a third associated character string corresponding to the invitation object by combining the second associated character string with the ID information of the invitation object;
when a statistical request of an invitation relation is detected, acquiring statistical ID information corresponding to the statistical request, detecting a statistical association character string containing the statistical ID information in a total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string, wherein the total association character string contains a first association character string, a second association character string and a third association character string.
2. The statistical method for user invitation relationship according to claim 1, wherein the method further comprises:
the associated character string comprises ID information, invited time and invited levels, and when a plurality of ID information exists in the associated character string, the ID information is comprehensively sorted according to the invited time and the invited levels.
3. The statistical method for user invitation relation according to claim 2, wherein said determining a statistical graph of invitation relation according to said statistical association string comprises:
acquiring first ID information at the top of the comprehensive sequencing of the statistical associated character strings, and detecting all associated character strings containing the first ID information;
drawing a statistical graph of the corresponding invitation relation according to all the associated character strings containing the first ID information, wherein the statistical graph comprises an invitation object of the first ID information, and the invited time and the invited level corresponding to the invitation object.
4. The statistical method for user invitation relationship according to claim 1, wherein the method further comprises:
when a modification request of an invitation relation is received, obtaining a modification object corresponding to the modification request, and detecting whether the modification request contains inviter information or not;
when the modification request contains inviter information, acquiring an invitation code corresponding to the inviter information, and acquiring a corresponding associated character string through the invitation code;
and generating a modified associated character string by combining the associated character string corresponding to the inviter information with the ID information of the modified object, and replacing the associated character string of the modified object by the modified associated character string.
5. The statistical method for user invitation relationship according to claim 4, wherein the method further comprises:
and acquiring an invitation object of the modification object, and sequentially modifying the association character strings of the invitation object according to the invitation sequence of the modification association character strings.
6. The statistical method for user invitation relationship according to claim 1, wherein the method further comprises:
and when the registration information does not contain inviter information, generating corresponding associated character strings according to the ID information of the user, wherein the comprehensive sequence of the associated character strings is kept at the top.
7. An apparatus for counting user invitation relationships, the apparatus comprising:
the receiving module is used for detecting whether the registration information contains inviter information or not when the registration information of the user is received;
the acquisition module is used for acquiring a first associated character string in the first invitation code when the registration information contains the first invitation code, generating a second associated character string corresponding to the user according to the first associated character string and the ID information of the user, and generating a second invitation code corresponding to the user by combining a preset invitation code generation method;
the first detection module is used for sending the second invitation code to an invitation object when the sharing request of the user is detected, acquiring a second associated character string in the second invitation code, and generating a third associated character string corresponding to the invitation object by combining the second associated character string with the ID information of the invitation object;
the second detection module is used for acquiring statistical ID information corresponding to the statistical request when the statistical request of the invitation relation is detected, detecting a statistical association character string containing the statistical ID information in a total association character string, and determining a statistical graph of the invitation relation according to the statistical association character string, wherein the total association character string contains a first association character string, a second association character string and a third association character string.
8. The apparatus for counting user invitation relationships according to claim 7, wherein the apparatus further comprises:
and the sorting module is used for comprehensively sorting the ID information according to the invited time and the invited level when the ID information exists in the related character string.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the statistical method of user invitation relations according to any of claims 1 to 6.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, performs the steps of the statistical method of user invitation relations according to any of claims 1 to 6.
CN202111389157.4A 2021-11-23 2021-11-23 Statistical method and device for user invitation relation Pending CN113821697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111389157.4A CN113821697A (en) 2021-11-23 2021-11-23 Statistical method and device for user invitation relation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111389157.4A CN113821697A (en) 2021-11-23 2021-11-23 Statistical method and device for user invitation relation

Publications (1)

Publication Number Publication Date
CN113821697A true CN113821697A (en) 2021-12-21

Family

ID=78918089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111389157.4A Pending CN113821697A (en) 2021-11-23 2021-11-23 Statistical method and device for user invitation relation

Country Status (1)

Country Link
CN (1) CN113821697A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105427164A (en) * 2015-11-03 2016-03-23 上海华瑞金融科技有限公司 Design method and design system for self-reproduction user system
CN106126576A (en) * 2016-06-19 2016-11-16 叶元庆 A kind of tree-shaped framework user's cross-node self-organizing system and using method thereof
CN110263097A (en) * 2019-06-18 2019-09-20 阿里巴巴集团控股有限公司 Information processing method, device and equipment based on block chain
CN110851439A (en) * 2019-07-11 2020-02-28 江苏一乙生态农业科技有限公司 Invitation code promotion level inquiry system based on B tree and forest
CN112732659A (en) * 2019-10-28 2021-04-30 腾讯科技(深圳)有限公司 Application program sharing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105427164A (en) * 2015-11-03 2016-03-23 上海华瑞金融科技有限公司 Design method and design system for self-reproduction user system
CN106126576A (en) * 2016-06-19 2016-11-16 叶元庆 A kind of tree-shaped framework user's cross-node self-organizing system and using method thereof
CN110263097A (en) * 2019-06-18 2019-09-20 阿里巴巴集团控股有限公司 Information processing method, device and equipment based on block chain
CN110851439A (en) * 2019-07-11 2020-02-28 江苏一乙生态农业科技有限公司 Invitation code promotion level inquiry system based on B tree and forest
CN112732659A (en) * 2019-10-28 2021-04-30 腾讯科技(深圳)有限公司 Application program sharing method and device

Similar Documents

Publication Publication Date Title
CN104603753B (en) A kind of recommendation method, system and the server of application
US8676970B2 (en) Methods and systems for managing device specific content
CN105630977B (en) Application program recommended method, apparatus and system
CN105138371B (en) Method for upgrading software and device
JP2015207316A5 (en)
CN104156246B (en) The method and device of gray scale upgrading
CN111325417B (en) Method and device for realizing privacy protection and realizing multi-party collaborative updating of business prediction model
CN109446171B (en) Data processing method and device
CN110855548A (en) Message pushing method and device
CN105183856A (en) Method and device for evaluating information content quality
CN111800447A (en) Server scheduling method and device for cloud game and readable storage medium
CN116431282A (en) Cloud virtual host server management method, device, equipment and storage medium
CN117056240B (en) Data element development and debugging method and system supporting offline Jar package
CN108229133B (en) Service operation method and device and service permission obtaining method and device
CN115883310A (en) Service deployment method, service deployment system, electronic device, and storage medium
CN113821697A (en) Statistical method and device for user invitation relation
CN114492849B (en) Model updating method and device based on federal learning
CN106469166A (en) A kind of information processing method and device
JP6858082B2 (en) Management equipment, management methods, and programs
CN107330069B (en) Multimedia data processing method and device, server and storage medium
CN105812411A (en) Customization information recommendation method and device
CN112328813B (en) Recommendation information generation method and device based on AI and computer equipment
US8374593B2 (en) Method of providing mobile application
US9661491B1 (en) Communicating information about an update of an application
CN111027999B (en) Method and device for recommending collage renter, electronic equipment and storage medium

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: 20211221

RJ01 Rejection of invention patent application after publication