CN109561070B - Data processing method and device of MGM service, computer equipment and storage medium - Google Patents

Data processing method and device of MGM service, computer equipment and storage medium Download PDF

Info

Publication number
CN109561070B
CN109561070B CN201811257443.3A CN201811257443A CN109561070B CN 109561070 B CN109561070 B CN 109561070B CN 201811257443 A CN201811257443 A CN 201811257443A CN 109561070 B CN109561070 B CN 109561070B
Authority
CN
China
Prior art keywords
character string
random character
mobile phone
desensitization
random
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
Application number
CN201811257443.3A
Other languages
Chinese (zh)
Other versions
CN109561070A (en
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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201811257443.3A priority Critical patent/CN109561070B/en
Publication of CN109561070A publication Critical patent/CN109561070A/en
Application granted granted Critical
Publication of CN109561070B publication Critical patent/CN109561070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0407Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
    • H04L63/0414Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden during transmission, i.e. party's identity is protected against eavesdropping, e.g. by using temporary identifiers, but is known to the other party or parties involved in the communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a data processing method of MGM service, which is used for solving the problem of hidden danger of client information leakage in the statistics of client data of the existing MGM service terminal. The method provided by the invention comprises the following steps: acquiring two random character strings sent by a client; comparing the two obtained random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string; adding the first random string to a target string pool; and establishing a sharing relation between the first random character string and the second random character string, wherein the first random character string and the second random character string respectively correspond to the invited user and the sharing user. The invention also provides a data processing device, computer equipment and a storage medium of the MGM service.

Description

Data processing method and device of MGM service, computer equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method and apparatus for MGM service, a computer device, and a storage medium.
Background
The MGM (member get member) service is an emerging data statistics service, which is mostly used for customer data statistics and analysis in the online marketing process of the enterprise on the internet. For example, the APP product of enterprise development can carry out the user promotion through the mode of promoting the link, and the user accomplishes the registration of APP account through clicking the promotion link to realize the marketing and the customer acquisition of APP product. In the process, the enterprise can provide the client information registered by the APP product to the MGM server, and the MGM server counts the client information, so that the number of newly registered clients, the promotion condition among different clients and other conclusions are analyzed, and the enterprise can adjust the marketing strategy of the APP product.
The most important customer information provided by an enterprise to the MGM server is the mobile phone number of the customer, and the enterprise usually considers that the customer information is leaked and the customer runs off after the mobile phone number of the customer is provided to the MGM server; in addition, some special enterprises, such as banks, have strict regulations and requirements on the management of the mobile phone number of the customer, and it is more inconvenient to provide the mobile phone number of the customer to the MGM server. This clearly greatly hinders the scope and quality of the services offered outside by the MGM service end.
Disclosure of Invention
The embodiment of the invention provides a data processing method and device of an MGM service, computer equipment and a storage medium, and aims to solve the problem that hidden danger of client information leakage exists in statistics of client data of an MGM service end in the prior art.
A data processing method of MGM service comprises the following steps:
the method comprises the steps that two random character strings sent by a client are obtained, and the client is used for generating a unique random character string for a new user when the new user finishes registering on the client, and sending the generated random character string and a random character string corresponding to a user recommending the new user to finish registering out;
comparing the obtained two random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string, wherein the target character string pool records the random character strings corresponding to all registered users of the client, the random character string corresponding to each registered user has uniqueness, the first random character string is a random character string which is inconsistent with the comparison of any random character string in the two random character strings, and the second random character string is a random character string which is consistent with the comparison of any random character string in the two random character strings;
adding the first random string to the pool of target strings;
and establishing a sharing relationship between the first random character string and the second random character string, wherein in the sharing relationship, a user corresponding to the first random character string is an invited user, and a user corresponding to the second random character string is a sharing user.
A data processing apparatus of an MGM service, comprising:
the device comprises a random character string acquisition module, a random character string acquisition module and a random character string acquisition module, wherein the random character string acquisition module is used for acquiring two random character strings sent by a client, and the client is used for generating a unique random character string for a new user and sending the generated random character string and the random character string corresponding to a user recommending the new user to complete registration when the new user completes registration on the client;
the device comprises a character string comparison module, a first random character string and a second random character string, wherein the character string comparison module is used for comparing two acquired random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string, the target character string pool records random character strings corresponding to all registered users of the client, the random character string corresponding to each registered user has uniqueness, the first random character string is a random character string which is inconsistent in comparison with any random character string in the two random character strings, and the second random character string is a random character string which is consistent in comparison with any random character string in the two random character strings;
a character string adding module, configured to add the first random character string to the target character string pool;
and the sharing relationship establishing module is used for establishing a sharing relationship between the first random character string and the second random character string, wherein in the sharing relationship, a user corresponding to the first random character string is an invited user, and a user corresponding to the second random character string is a sharing user.
A computer device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, said processor implementing the steps of the data processing method of the above-mentioned MGM service when executing said computer program.
A computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the above-described data processing method of the MGM service.
Firstly, acquiring two random character strings sent by a client, wherein the client is used for generating a unique random character string for a new user when the new user finishes registering on the client, and sending the generated random character string and a random character string corresponding to a user recommending the new user to finish registering; then, comparing the obtained two random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string, wherein the target character string pool records the random character strings corresponding to all registered users of the client, the random character string corresponding to each registered user has uniqueness, the first random character string is a random character string which is inconsistent with the comparison of any random character string in the two random character strings, and the second random character string is a random character string which is consistent with the comparison of any random character string in the two random character strings; then, adding the first random character string to the target character string pool; and finally, establishing a sharing relationship between the first random character string and the second random character string, wherein in the sharing relationship, the user corresponding to the first random character string is an invited user, and the user corresponding to the second random character string is a sharing user. The method is applied to the MGM server, the client represents the registered user by providing the unique random character string to the MGM server, so that the MGM server can record the registered user of the client according to the random character string, the client does not need to provide the mobile phone number of the client to the MGM server, and the worry of an enterprise using the MGM service is eliminated; and the MGM server can determine which random character string represents the invited user and which random character string represents the sharing user by comparing the two random character strings sent by the client, and accordingly, a sharing relation between the invited user and the sharing user is established, and data support is provided for subsequent statistics of the popularization condition of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic diagram of an application environment of a data processing method for MGM service according to an embodiment of the present invention;
fig. 2 is a flow chart of a data processing method of the MGM service in an embodiment of the present invention;
fig. 3 is a schematic flow chart of a data processing method of an MGM service in determining a target string pool in an application scenario according to an embodiment of the present invention;
fig. 4 is a schematic flow diagram illustrating a process of acquiring a user desensitized mobile phone number in an application scenario by using a data processing method of an MGM service according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a data processing method step 301 of the MGM service in an application scenario according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of a data processing method of an MGM service according to an embodiment of the present invention, which performs user actuation in an application scenario;
fig. 7 is a schematic structural diagram of a data processing apparatus for MGM service according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
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, 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.
The data processing method of the MGM service provided in the present application can be applied to the application environment shown in fig. 1, in which a client communicates with a server bearing an MGM server through a network. Among other things, the client may be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server may be implemented as a stand-alone server or as a server cluster consisting of a plurality of servers.
In an embodiment, as shown in fig. 2, a data processing method for MGM service is provided, which is described by taking the method applied to the server in fig. 1 as an example, and includes the following steps:
101. the method comprises the steps that two random character strings sent by a client are obtained, and the client is used for generating a unique random character string for a new user when the new user finishes registering on the client, and sending the generated random character string and a random character string corresponding to a user recommending the new user to finish registering out;
in this embodiment, the client is in communication connection with a server bearing the MGM server, and the MGM server provides the client with services such as customer statistics and analysis. In a specific application scene, the client can encourage the old user to invite the friend to register an account number on the client, the client generates a special promotion link for the old user, the old user sends the promotion link to the friend of the old user, and the friend becomes a new user of the client after the friend clicks the promotion link and enters a registration interface to complete registration. At this time, the client generates a unique random string for the new user in the background, that is, the random strings corresponding to all users on the client are different from each other. Then, the client sends the random string corresponding to the new user and the random string corresponding to the old user to the MGM server together, so that the MGM server can receive the two random strings sent by the client.
Preferably, when the client generates a unique random character string for a new user, a character string is randomly generated at first, then the client compares the randomly generated character string with random character strings corresponding to other existing users, and if no random character string identical to the character string exists, the character is determined to be the random character string corresponding to the new user; on the contrary, if any random character string identical to the character string exists, the client randomly generates a character string for the new user again until the generated character string is different from the random character strings corresponding to other existing users.
102. Comparing the obtained two random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string, wherein the target character string pool records the random character strings corresponding to all registered users of the client, the random character string corresponding to each registered user has uniqueness, the first random character string is a random character string which is inconsistent with the comparison of any random character string in the two random character strings, and the second random character string is a random character string which is consistent with the comparison of any random character string in the two random character strings;
it can be understood that, in order to facilitate statistics of user data of the client, the MGM server is provided with a target string pool that is dedicated to record random strings corresponding to all registered users of the client. When the MGM server obtains two random character strings, at this time, the MGM server does not know which random character string is of a new user and which random character string is of an old user, and therefore, the MGM server needs to compare the obtained two random character strings with each random character string in a preset target character string pool. After comparison, if one of the random character strings is not consistent with any random character string in the random character strings, the random character string does not exist in the target character string pool, namely the random character string is a random character string corresponding to a new user and is marked as a first random character string; and if the other random character string is consistent with any random character string in the random character strings in comparison, the random character string is present in the target character string pool, namely the random character string is a random character string corresponding to an old user and is marked as a second random character string.
It is easy to understand that, in this embodiment, only after knowing which of the two random character strings is the random character string of the old user and which is the random character string of the new user, the MGM server may perform subsequent operations such as establishment of a sharing relationship and association storage according to the random character string, so as to realize statistics and analysis of the guest data.
Further, as shown in fig. 3, before step 102, the method further includes:
201. determining an enterprise main body to which the client belongs according to a channel adopted by the client to send the two random character strings;
202. and selecting one character string pool corresponding to the enterprise main body from all preset character string pools as the target character string pool, wherein each character string pool has a one-to-one correspondence relationship with each enterprise main body.
It can be understood that, the MGM server serves as a service-based platform for obtaining customer data statistics, and is likely to interface with a plurality of different clients, and even a plurality of different enterprise agents, in this case, the MGM server may set a string pool corresponding to different enterprise agents respectively in order to not cause confusion of customer information between different enterprise agents. Therefore, in this embodiment, before step 102, the MGM server needs to determine the enterprise owner of the client, and further determine the corresponding string pool.
In step 201, it can be known that the channels used when the clients of different enterprise entities are connected to the MGM server are different, and therefore, the MGM server can determine the enterprise entity to which the client belongs according to the channels used when the client sends the two random character strings. It can be understood that different enterprise agents use the client to be communicatively connected to the server through different channels, for example, when the enterprise agent a uses the client to be communicatively connected to the server, the server may obtain the channel number 01 of the enterprise agent a (the channel number is pre-assigned by the server), and when the enterprise agent B uses the client to be communicatively connected to the server, the server may obtain the channel number 02 of the enterprise agent B. When the client sends the random character strings to the server, the server can acquire the corresponding channel numbers while receiving the random character strings. Assuming that the server receives two random strings from channel 02, the server may determine that the enterprise subject at the client sending the two random strings is enterprise subject B.
For step 202, the MGM server presets a one-to-one correspondence relationship between each of the string pools and each of the enterprise subjects, and after determining the enterprise subject to which the client belongs, the MGM server may select one of the string pools corresponding to the enterprise subject from the preset string pools as the target string pool.
103. Adding the first random string to the pool of target strings;
it can be known that the first random string is a random string corresponding to the new user, and is not in the target string pool, and in order to keep the target string pool recording the random strings corresponding to all existing users of the client, the MGM server needs to add the first random string to the target string pool.
104. And establishing a sharing relationship between the first random character string and the second random character string, wherein in the sharing relationship, a user corresponding to the first random character string is an invited user, and a user corresponding to the second random character string is a sharing user.
As can be seen from the above content, the first random character string is a random character string corresponding to a new user, the second random character string is a random character string corresponding to an old user, and in a service scene of the client, the old user requests the new user to complete registration, so that the user corresponding to the first random character string is also an invited user, the user corresponding to the second random character string is also a sharing user, and the MGM server can establish a sharing relationship between the first random character string and the second random character string in order to perform guest obtaining statistics, especially statistics of user invitation friend registration, and represent a relationship in which the sharing user invites the invited user to complete registration.
Further, when the MGM server provides the guest-obtaining information, in order to fully show the effect of the old user inviting the friend to register and play a role of motivating other users, when the MGM server shows the sharing statistical data of a certain user, the MGM server can list the mobile phone numbers of all invited users who the user invites to complete the registration. In order to avoid the leakage of the mobile phone number of the user, the desensitized mobile phone number of the invited user is adopted in the scheme, namely, some digits of the mobile phone number are covered, such as 134 × 5896. Therefore, when the client provides the two random character strings to the MGM server, the client also provides the desensitization mobile phone number of the new user so that the MGM server can acquire and store the desensitization mobile phone number of the invited user. Specifically, as shown in fig. 4, the method may further include:
301. acquiring a target desensitization mobile phone number which is sent together with the two random character strings, wherein the target desensitization mobile phone number is a number obtained after desensitization processing is carried out on the mobile phone number of the new user;
302. after the first random character string is obtained, the first random character string and the target desensitization mobile phone number are stored in an associated mode;
303. when a shared data query request of any user is received, acquiring each third random character string having a sharing relation with the random character string corresponding to the user;
304. counting the number of each third random character string, and acquiring desensitization mobile phone numbers stored in association with each third random character string;
305. and feeding back the counted number and the acquired desensitization mobile phone number according to the shared data query request.
As for step 301, it can be known that when the client sends the two random character strings, the client also sends the target desensitization mobile phone number, so that the MGM server can obtain the target desensitization mobile phone number while obtaining the two random character strings.
For step 302, the first random character string is a random character string corresponding to the new user, and the target desensitization mobile phone number is a number after desensitization processing of the mobile phone number of the new user, so that the MGM server needs to store the association between the first random character string and the target desensitization mobile phone number, so as to manage and query the relevant information of the new user.
With respect to step 303, it can be understood that the MGM server may provide the client and/or the specific user with the guest obtaining data, that is, the specific situation that the user invites the buddy to register. In an application scenario, a user may initiate a shared data query request to the MGM server to query how many friends have been invited to complete registration. At this time, the MGM server may receive a request for querying shared data of the user (i.e., any one of the users), and obtain each third random string having a sharing relationship with the random string corresponding to the user. It can be known that the user corresponding to the third random character strings is an invited user who invites the any user to complete registration.
In steps 304 and 305, no matter for any user or for the client, when querying specific guest-obtaining data of any user, it is desirable to know how many friends that are recommended by any user to complete registration and the mobile phone numbers of the friends that complete registration, so as to bring intuitive and shocking experience to people querying the information. Therefore, after acquiring the third random character strings, the MGM server in step 304 counts the number of each third random character string, and acquires the desensitization mobile phone number stored in association with each third random character string. Then, when step 305 is executed, the counted number and the acquired desensitization mobile phone number are fed back according to the shared data query request. Specifically, the shared data query request may require the MGM server to feed back the number and the desensitized mobile phone number to the terminal device initiating the shared data query request, or feed back the number and the desensitized mobile phone number to other specified terminal devices, which is not specifically limited herein.
In this embodiment, the client may agree with the MGM server, and when a new user completes registration, the client only sends two random strings and one desensitization mobile phone number to the MGM server, and after obtaining the desensitization mobile phone number, the MGM server may determine that the desensitization mobile phone number is the target desensitization mobile phone number. However, in an actual application process, the client may not have an agreement with the MGM server, may not be executed according to the agreement in an actual operation, or may have different agreement situations between multiple clients and the MGM server, and in the face of these complex situations, the MGM server needs to set a determination mechanism by itself, so as to avoid that the MGM server does not know how to process when the received information includes more than two desensitized mobile phone numbers. Therefore, further, as shown in fig. 5, the step 301 may specifically include:
401. acquiring a desensitization mobile phone number which is sent together with the two random character strings;
402. if the number of the sent desensitization mobile phone numbers is one, determining the sent desensitization mobile phone numbers as target desensitization mobile phone numbers;
403. and if the number of the sent desensitization mobile phone numbers is more than two, comparing the sent desensitization mobile phone numbers with the existing desensitization mobile phone numbers stored in association with each random character string in the target character string pool to obtain one desensitization mobile phone number which is inconsistent with the existing desensitization mobile phone numbers in the sent desensitization mobile phone numbers as a target desensitization mobile phone number.
For step 401, it can be understood that, in consideration of various situations, the desensitization mobile phone number acquired by the MGM server may be one, two, or more.
Step 402, when the number of the sent desensitization mobile phone numbers is one, the MGM server may directly determine the sent desensitization mobile phone numbers as target desensitization mobile phone numbers.
Step 403, when the number of the sent desensitization mobile phone numbers is more than two, this indicates that only one desensitization mobile phone number in the sent desensitization mobile phone numbers is a desensitization mobile phone number of a new user, and the other desensitization mobile phone numbers are desensitization mobile phone numbers of an old user. Therefore, the MGM server may compare the sent desensitization mobile phone number with existing desensitization mobile phone numbers stored in association with each random character string in the target character string pool, and determine one desensitization mobile phone number, which is inconsistent with the existing desensitization mobile phone numbers, in the sent desensitization mobile phone numbers as the target desensitization mobile phone number.
Further, in order to encourage more users to actively promote the client and invite more friends to complete registration, the MGM server may also assist the client in giving the user a certain reward, and when the number of the users inviting the friends to complete registration reaches a certain number, the user meeting the standard is given a reward. Specifically, as shown in fig. 6, after step 104, the method may further include:
501. counting the total number of other random character strings sharing the second random character string;
502. judging whether the total quantity exceeds a preset quantity threshold value, if so, executing a step 503, and if not, executing according to a normal flow;
503. and issuing rewards to the users corresponding to the second random character strings according to a preset reward rule.
For step 501, after step 104, the number of the users inviting friends to complete registration corresponding to the second random character string is increased by 1 bit, and at this time, the MGM server may count the total number of other random character strings in the sharing relationship of the second random character string, which is equivalent to counting the number of invited users under the name of the sharing user.
For step 502, after the total number is obtained through statistics, the MGM server may determine whether the total number exceeds a preset number threshold, and if so, it represents that the sharing number of the sharing user reaches the standard, and may issue an award; otherwise, if not, the sharing quantity of the sharing user is not up to the standard, and the sharing can be executed according to a normal flow. The "executing according to the normal flow" may specifically be not to issue an award to the user corresponding to the second random character string, and the specific embodiment is not limited. It should be noted that the preset number threshold may be specifically set according to the service requirement of the client, for example, 10, that is, a certain user may obtain an incentive after inviting more than 10 friends to complete registration.
For step 503, if the total number exceeds a preset number threshold, the MGM server may issue an award to the user corresponding to the second random character string according to a preset award rule. The reward rule mentioned here specifically specifies what form the reward is issued to the user corresponding to the second random character string, specifically, for example, the account level of the user may be upgraded, for example, the "bronze" level is upgraded to the "silver" level, the user may be issued a physical reward by mailing through line, and so on. In practical applications, the reward rule may be set by a manager of the MGM server, which is not limited in this embodiment.
In the embodiment, firstly, two random character strings sent by a client are obtained, when a new user finishes registering on the client, the client generates a unique random character string for the new user, and sends out the generated random character string and a random character string corresponding to a user recommending the new user to finish registering; then, comparing the obtained two random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string, wherein the target character string pool records the random character strings corresponding to all registered users of the client, the random character string corresponding to each registered user has uniqueness, the first random character string is a random character string which is inconsistent with the comparison of any random character string in the two random character strings, and the second random character string is a random character string which is consistent with the comparison of any random character string in the two random character strings; then, adding the first random character string to the target character string pool; and finally, establishing a sharing relationship between the first random character string and the second random character string, wherein in the sharing relationship, the user corresponding to the first random character string is an invited user, and the user corresponding to the second random character string is a sharing user. The method is applied to the MGM server, the client represents the registered user by providing the unique random character string to the MGM server, so that the MGM server can record the registered user of the client according to the random character string, the client does not need to provide the mobile phone number of the client to the MGM server, and the worry of an enterprise using the MGM service is eliminated; and the MGM server can determine which random character string represents the invited user and which random character string represents the sharing user by comparing the two random character strings sent by the client, and accordingly, a sharing relation between the invited user and the sharing user is established, and data support is provided for subsequent statistics of the popularization condition of the user.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, a data processing apparatus of an MGM service is provided, where the data processing apparatus of the MGM service is in one-to-one correspondence with the data processing method of the MGM service in the above-described embodiment. As shown in fig. 7, the data processing apparatus of the MGM service includes a random string obtaining module 601, a string comparing module 602, a string adding module 603, and a sharing relationship establishing module 604. The functional modules are explained in detail as follows:
a random character string obtaining module 601, configured to obtain two random character strings sent by a client, where the client is configured to generate a unique random character string for a new user every time the new user completes registration on the client, and send the generated random character string and a random character string corresponding to a user who recommends the new user to complete registration;
a character string comparison module 602, configured to compare the obtained two random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string, where the target character string pool records random character strings corresponding to all registered users of the client, and the random character string corresponding to each registered user has uniqueness, the first random character string is a random character string in the two random character strings that is inconsistent in comparison with any random character string in the random character strings, and the second random character string is a random character string in the two random character strings that is consistent in comparison with any random character string in the random character strings;
a character string adding module 603, configured to add the first random character string to the target character string pool;
a sharing relationship establishing module 604, configured to establish a sharing relationship between the first random character string and the second random character string, where in the sharing relationship, a user corresponding to the first random character string is an invited user, and a user corresponding to the second random character string is a sharing user.
Further, the data processing apparatus of the MGM service may further include:
a desensitization mobile phone number obtaining module, configured to obtain a target desensitization mobile phone number sent together with the two random character strings, where the target desensitization mobile phone number is a number obtained by desensitizing a mobile phone number of the new user;
the association storage module is used for associating and storing the first random character string and the target desensitization mobile phone number after the first random character string is obtained;
the third character string acquisition module is used for acquiring each third random character string which has a sharing relation with the random character string corresponding to any user when receiving a shared data query request of any user;
the character string counting module is used for counting the number of each third random character string and acquiring desensitization mobile phone numbers stored in association with each third random character string;
and the feedback module is used for feeding back the counted number and the acquired desensitization mobile phone number according to the shared data query request.
Further, the desensitization mobile phone number obtaining module may include:
the mobile phone number acquisition unit is used for acquiring the desensitization mobile phone number which is sent together with the two random character strings;
a desensitization mobile phone number determination unit, configured to determine the sent desensitization mobile phone number as a target desensitization mobile phone number if the sent desensitization mobile phone number is one;
and the mobile phone number comparison unit is used for comparing the sent desensitization mobile phone numbers with the existing desensitization mobile phone numbers stored in the target character string pool in a correlation manner if the number of the sent desensitization mobile phone numbers is more than two, and obtaining one desensitization mobile phone number which is inconsistent with the existing desensitization mobile phone numbers in the sent desensitization mobile phone numbers as the target desensitization mobile phone number.
Further, the data processing device of the MGM service may further include:
the enterprise main body determining module is used for determining an enterprise main body to which the client belongs according to a channel adopted by the client to send the two random character strings;
and the character string pool selecting module is used for selecting one character string pool corresponding to the enterprise main body from all preset character string pools as the target character string pool, wherein each character string pool has a one-to-one correspondence relationship with each enterprise main body.
Further, the data processing apparatus of the MGM service may further include:
the sharing total number counting module is used for counting the total number of other random character strings sharing the second random character string;
the sharing total number judging module is used for judging whether the total number exceeds a preset number threshold value;
and the reward issuing module is used for issuing rewards to the users corresponding to the second random character strings according to a preset reward rule if the judgment result of the total sharing quantity judgment module is yes.
Specific limitations of the data processing apparatus related to the MGM service can be referred to the above limitations of the data processing method related to the MGM service, and are not described herein again. The respective modules in the data processing apparatus of the MGM service described above may be wholly or partially implemented 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.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data involved in the data processing method of the MGM service. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data processing method of an MGM service.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the data processing method of the MGM service in the above embodiment are implemented, for example, steps 101 to 104 shown in fig. 2. Alternatively, the processor, when executing the computer program, implements the functions of each module/unit of the data processing apparatus of the MGM service in the above-described embodiment, for example, the functions of the modules 601 to 604 shown in fig. 7. To avoid repetition, further description is omitted here.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the data processing method of the MGM service in the above-described embodiments, such as steps 101 to 104 shown in fig. 2. Alternatively, the computer program, when executed by the processor, implements the functions of the respective modules/units of the data processing apparatus of the MGM service in the above-described embodiment, for example, the functions of the modules 601 to 604 shown in fig. 7. To avoid repetition, further description is omitted here.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; 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; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A data processing method of MGM service is characterized by comprising the following steps:
the method comprises the steps that two random character strings sent by a client are obtained, the client is used for generating a unique random character string for a new user when the new user finishes registration on the client, and sending the generated random character string and the random character string corresponding to a user recommending the new user to finish registration out, wherein the new user finishes registration on the client through a promotion link, and the promotion link is generated by the client recommending the user finishing registration and sent to the new user;
comparing the obtained two random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string, wherein the target character string pool records the random character strings corresponding to all registered users of the client, the random character string corresponding to each registered user has uniqueness, the first random character string is a random character string which is inconsistent with the comparison of any random character string in the two random character strings, and the second random character string is a random character string which is consistent with the comparison of any random character string in the two random character strings;
adding the first random string to the pool of target strings;
and establishing a sharing relationship between the first random character string and the second random character string, wherein in the sharing relationship, a user corresponding to the first random character string is an invited user, and a user corresponding to the second random character string is a sharing user.
2. The data processing method of the MGM service as claimed in claim 1, further comprising:
acquiring a target desensitization mobile phone number which is sent together with the two random character strings, wherein the target desensitization mobile phone number is a number obtained after desensitization processing is carried out on the mobile phone number of the new user;
after the first random character string is obtained, the first random character string and the target desensitization mobile phone number are stored in an associated mode;
when a shared data query request of any user is received, acquiring each third random character string having a sharing relation with the random character string corresponding to the user;
counting the number of each third random character string, and acquiring desensitization mobile phone numbers stored in association with each third random character string;
and feeding back the counted number and the acquired desensitization mobile phone number according to the shared data query request.
3. The data processing method of the MGM service as claimed in claim 2, wherein the acquiring the target desensitization mobile phone number transmitted together with the two random character strings comprises:
acquiring a desensitization mobile phone number which is sent together with the two random character strings;
if the number of the sent desensitization mobile phone numbers is one, determining the sent desensitization mobile phone numbers as target desensitization mobile phone numbers;
if the number of the desensitization mobile phone numbers sent is more than two, the desensitization mobile phone numbers sent are compared with the existing desensitization mobile phone numbers stored in association with each random character string in the target character string pool, and a desensitization mobile phone number which is inconsistent with the existing desensitization mobile phone numbers in the desensitization mobile phone numbers sent is used as the target desensitization mobile phone number.
4. The data processing method of the MGM service as claimed in claim 1, wherein before comparing the two obtained random strings with each random string in a preset target string pool, the method further comprises:
determining an enterprise main body to which the client belongs according to a channel adopted by the client to send the two random character strings;
and selecting one character string pool corresponding to the enterprise main body from all preset character string pools as the target character string pool, wherein each character string pool is in one-to-one correspondence with each enterprise main body.
5. The data processing method of the MGM service according to any one of claims 1 to 4, further comprising, after establishing the sharing relationship between the first random string and the second random string:
counting the total number of other random character strings sharing the second random character string;
judging whether the total number exceeds a preset number threshold;
and if the total number exceeds a preset number threshold, issuing rewards to the users corresponding to the second random character string according to a preset reward rule.
6. A data processing apparatus of an MGM service, comprising:
the system comprises a random character string acquisition module, a random character string acquisition module and a random character string acquisition module, wherein the random character string acquisition module is used for acquiring two random character strings sent by a client, the client is used for generating a unique random character string for a new user when the new user finishes registration on the client, and sending the generated random character string and a random character string corresponding to a user recommending the new user to finish registration, wherein the new user finishes registration on the client through a promotion link, and the promotion link is generated by the client recommending the user finishing registration and sent to the new user;
the device comprises a character string comparison module, a first random character string and a second random character string, wherein the character string comparison module is used for comparing two acquired random character strings with each random character string in a preset target character string pool to obtain a first random character string and a second random character string, the target character string pool records random character strings corresponding to all registered users of the client, the random character string corresponding to each registered user has uniqueness, the first random character string is a random character string which is inconsistent in comparison with any random character string in the two random character strings, and the second random character string is a random character string which is consistent in comparison with any random character string in the two random character strings;
a string adding module, configured to add the first random string to the target string pool;
and the sharing relationship establishing module is used for establishing a sharing relationship between the first random character string and the second random character string, wherein in the sharing relationship, a user corresponding to the first random character string is an invited user, and a user corresponding to the second random character string is a sharing user.
7. The MGM-served data processing apparatus of claim 6, further comprising:
a desensitization mobile phone number acquisition module, configured to acquire a target desensitization mobile phone number sent together with the two random character strings, where the target desensitization mobile phone number is a number obtained by desensitizing a mobile phone number of the new user;
the association storage module is used for associating and storing the first random character string and the target desensitization mobile phone number after the first random character string is obtained;
the third character string acquisition module is used for acquiring each third random character string which has a sharing relation with the random character string corresponding to any user when receiving a shared data query request of any user;
the character string counting module is used for counting the number of each third random character string and acquiring desensitization mobile phone numbers stored in association with each third random character string;
and the feedback module is used for feeding back the counted number and the acquired desensitization mobile phone number according to the shared data query request.
8. The data processing device of the MGM service as claimed in claim 7, wherein the desensitization mobile phone number obtaining module comprises:
a mobile phone number obtaining unit, configured to obtain a desensitization mobile phone number sent together with the two random character strings;
a desensitization mobile phone number determination unit, configured to determine the sent desensitization mobile phone number as a target desensitization mobile phone number if the sent desensitization mobile phone number is one;
and the mobile phone number comparison unit is used for comparing the sent desensitization mobile phone numbers with the existing desensitization mobile phone numbers stored in the target character string pool in a correlation manner if the number of the sent desensitization mobile phone numbers is more than two, and obtaining one desensitization mobile phone number which is inconsistent with the existing desensitization mobile phone numbers in the sent desensitization mobile phone numbers as the target desensitization mobile phone number.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of a data processing method of an MGM service as claimed in any one of claims 1 to 5.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of a data processing method of an MGM service according to any one of claims 1 to 5.
CN201811257443.3A 2018-10-26 2018-10-26 Data processing method and device of MGM service, computer equipment and storage medium Active CN109561070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811257443.3A CN109561070B (en) 2018-10-26 2018-10-26 Data processing method and device of MGM service, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811257443.3A CN109561070B (en) 2018-10-26 2018-10-26 Data processing method and device of MGM service, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109561070A CN109561070A (en) 2019-04-02
CN109561070B true CN109561070B (en) 2022-10-11

Family

ID=65865325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811257443.3A Active CN109561070B (en) 2018-10-26 2018-10-26 Data processing method and device of MGM service, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109561070B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979526A (en) * 2017-11-07 2018-05-01 天脉聚源(北京)科技有限公司 A kind of method and device of recommended user

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110196725A1 (en) * 2010-02-09 2011-08-11 Valuescout, Inc. System and method for awarding customers for referrals
WO2014117207A1 (en) * 2013-01-31 2014-08-07 Matejka Steven Method and system for rewarding referrals
CN104966211B (en) * 2015-06-04 2019-03-29 有米科技股份有限公司 A kind of method and system of automatic identification Channel Relationship
CN105069125A (en) * 2015-08-13 2015-11-18 上海斐讯数据通信技术有限公司 Social network recommending method and social network recommending system
CN106600329A (en) * 2016-12-15 2017-04-26 广州四三九九信息科技有限公司 Statistical method and equipment for sharing process
CN107343027B (en) * 2017-06-13 2020-08-04 福建省天晴互动娱乐有限公司 APP sharing method
CN107704770A (en) * 2017-09-28 2018-02-16 平安普惠企业管理有限公司 Sensitive information desensitization method, system, equipment and readable storage medium storing program for executing

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979526A (en) * 2017-11-07 2018-05-01 天脉聚源(北京)科技有限公司 A kind of method and device of recommended user

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种应用微信带参二维码识别关注用户来源的安全解决方案;王刚;《网络安全技术与应用》;20151215(第12期);第90-91页 *

Also Published As

Publication number Publication date
CN109561070A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
US10425420B2 (en) Method of and system for generating user profiles
WO2017054504A1 (en) Identity authentication method and device, and storage medium
CN110213523A (en) Video conference processing method, system, device, computer equipment and storage medium
CN111224795B (en) Group application processing method and device, electronic equipment and storage medium
CN110620812A (en) Interactive information pushing method and device, computer equipment and storage medium
CN109684873B (en) Data access control method and device, computer equipment and storage medium
CN109669718A (en) System permission configuration method, device, equipment and storage medium
CN109118291B (en) User authentication method and device in advertisement task popularization and computer equipment
KR20180079741A (en) A matching service system and method of providing using Construction work smart walking application, Construction work smart walking application for storing recording medium
CN112446780A (en) Account management method and device, computer equipment and storage medium
CN112565527A (en) Session state control method and device, electronic equipment and storage medium
US10382914B2 (en) Techniques to leverage data from mobile headers
CN109561070B (en) Data processing method and device of MGM service, computer equipment and storage medium
CN106817296B (en) Information recommendation test method and device and electronic equipment
CN112241544A (en) Business system, access method, device, computer equipment and storage medium
CN111400684B (en) Electronic license information acquisition method, system, device, equipment and storage medium
CN112104671A (en) Interface authorization monitoring method and device, computer equipment and storage medium
CN110597843A (en) Waybill query method and device, computer equipment and storage medium
KR20200032778A (en) Meeting management method and meeting management system using the method
CN112804403A (en) Information interaction method, electronic equipment and readable storage medium
CN111736953A (en) Virtual resource delivery method and device, computer equipment and storage medium
CN111311102A (en) Resource ratio adjusting method, device, equipment and computer readable storage medium
WO2016131257A1 (en) Method and device for information storage, acquisition, and processing
CN111681034A (en) Method and device for distributing resource information
CN113469735B (en) Resource processing method and device, 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
GR01 Patent grant
GR01 Patent grant