CN111415200B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN111415200B
CN111415200B CN202010200785.2A CN202010200785A CN111415200B CN 111415200 B CN111415200 B CN 111415200B CN 202010200785 A CN202010200785 A CN 202010200785A CN 111415200 B CN111415200 B CN 111415200B
Authority
CN
China
Prior art keywords
retention
user
period
coding data
sparse coding
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
CN202010200785.2A
Other languages
Chinese (zh)
Other versions
CN111415200A (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.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen 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 Tencent Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN202010200785.2A priority Critical patent/CN111415200B/en
Publication of CN111415200A publication Critical patent/CN111415200A/en
Application granted granted Critical
Publication of CN111415200B publication Critical patent/CN111415200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a data processing method and a device, wherein the data processing method comprises the following steps: acquiring sparse coding data of a preset user, and acquiring preset retention analysis parameters, wherein the retention analysis parameters comprise initial operation related parameters and retention operation related parameters, in the preset user, determining a user to be examined, of which the sparse coding data meets the initial operation related parameters, and in the user to be examined, determining a retention user of which the sparse coding data meets the retention operation related parameters; and determining the user retention rate based on the number of the users to be examined and the number of the retention users. By adopting the technical scheme, the retention rate of the user can be rapidly calculated through the sparse coding data, and the calculation efficiency of the retention rate of the user is improved.

Description

Data processing method and device
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a data processing method and apparatus.
Background
The rapid development of science and technology has appeared more and more application programs that facilitate people's life, and in the internet trade, the owner of application program is concerned about the user's survival rate of application program, and user's survival rate can embody the quality of application program and keep user's ability on the one hand, on the other hand embodies the function utilization rate of application program and confirms the optimization iterative direction of application.
In the prior art, to obtain the retention rate of the user, the original log needs to be traversed firstly to determine the user to be examined in the first time period, then the original log is traversed again, and the retention user which is subjected to specific follow-up operation in the second time period in the user to be examined is screened out, so that the retention rate of the user is calculated, and under the condition of huge number of users, the method for calculating the retention rate of the user is very low in efficiency.
Disclosure of Invention
The embodiment of the invention provides a data processing method and device, which can quickly calculate the user retention rate through sparse coding data and improve the calculation efficiency of the user retention rate.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
acquiring sparse coding data of a preset user, wherein the sparse coding data is used for recording the operation of the preset user on a target application program;
obtaining preset retention analysis parameters, wherein the retention analysis parameters comprise initial operation related parameters and retention operation related parameters; wherein the start operation related parameter is used for representing a start operation performed on the target application program, and the save operation related parameter is used for representing a save operation performed on the target application program;
Determining a to-be-examined user with sparse coding data meeting the initial operation related parameters in the preset users, and determining a reserved user with sparse coding data meeting the reserved operation related parameters in the to-be-examined user;
and determining the user retention rate based on the number of the users to be examined and the number of the retention users.
In a possible embodiment, the generating step of the sparse coding data of the preset user includes:
generating a bitmap code corresponding to a single recording period of the preset user according to at least one operation of the preset user on the target application program in the single recording period, wherein the bitmap code comprises at least one code value, and the code value is used for indicating whether the preset user executes the operation corresponding to the code value on the target application program or not;
obtaining an operation behavior value corresponding to the bitmap encoding of the recording period;
obtaining a period index value corresponding to the recording period;
and generating sparse coding data corresponding to the preset user according to the operation behavior value and the period index value.
In a possible embodiment, the obtaining the period index value corresponding to the recording period includes:
If the operation behavior value corresponding to the bitmap encoding of the recording period is not null, obtaining a period index value corresponding to the recording period;
if the operation behavior value corresponding to the bitmap encoding of the recording period is null, the step of obtaining the period index value corresponding to the recording period is not executed.
In a possible embodiment, the obtaining the preset retention analysis parameter includes:
outputting at least one retention parameter option if the user retention calculation instruction is detected;
and receiving the operation of the user on the at least one retention parameter option, and obtaining a preset retention analysis parameter according to the operation of the user on the at least one parameter option.
In a possible implementation embodiment, the preset user includes a plurality of users, one user corresponds to one sparse coded data, and the initial operation related parameters include: initiating an operational behavior and an operational time period;
the determining, among the preset users, the to-be-examined user whose sparse coding data satisfies the initial operation related parameters includes:
determining a first periodic index value corresponding to the starting operation time period;
determining R sparse coding data comprising a first period index value from a plurality of sparse coding data corresponding to the plurality of users, wherein R is an integer greater than or equal to 1;
And determining N sparse coding data from the R sparse coding data according to the initial operation behaviors, and determining N users corresponding to the N sparse coding data as users to be examined, wherein the operation behavior values in the N sparse coding data indicate that the users to be examined execute the initial operation behaviors on the target application program in a recording period corresponding to the first period index value.
In a possible implementation embodiment, the persisting operation related parameters include: a retention operation behavior and a retention operation time period;
and determining a retention user with sparse coding data meeting the retention operation related parameters in the users to be examined, wherein the method comprises the following steps:
determining a second period index value corresponding to the retention operation period;
m sparse coding data comprising a second period index value is determined from N sparse coding data corresponding to the N users, wherein M is an integer greater than or equal to 1, and M is a value less than or equal to N;
and determining S sparse coding data from the M sparse coding data according to the retention operation behaviors, and determining S users to be examined corresponding to the S sparse coding data as retention users, wherein the operation behavior values in the S sparse coding data indicate that the retention users execute the retention operation behaviors on the target application program in a recording period corresponding to the second period index value.
In a second aspect, an embodiment of the present invention provides a data processing apparatus, including:
the first acquisition module is used for acquiring sparse coding data of a preset user, wherein the sparse coding data are used for recording the operation of the preset user on a target application program;
the second obtaining module is used for obtaining preset retention analysis parameters, wherein the retention analysis parameters comprise initial operation related parameters and retention operation related parameters; wherein the start operation related parameter is used for representing a start operation performed on the target application program, and the save operation related parameter is used for representing a save operation performed on the target application program;
the first determining module is used for determining a to-be-examined user with sparse coding data meeting the initial operation related parameters in the preset users and determining a reserved user with sparse coding data meeting the reserved operation related parameters in the to-be-examined user;
and the second determining module is used for determining the user retention rate based on the number of the users to be examined and the number of the retention users.
In a possible implementation embodiment, the first obtaining module includes:
a first generating unit, configured to generate, according to at least one operation performed by the preset user on the target application program in a single recording period, a bitmap code corresponding to the single recording period of the preset user, where the bitmap code includes at least one code value, where the code value is used to indicate whether the preset user performs an operation corresponding to the code value on the target application program;
A first obtaining unit, configured to obtain an operation behavior value corresponding to bitmap encoding of the recording period;
a second obtaining unit, configured to obtain a period index value corresponding to the recording period;
and the second generation unit is used for generating sparse coding data corresponding to the preset user according to the operation behavior value and the period index value.
In a possible embodiment, the second obtaining unit is specifically configured to:
if the operation behavior value corresponding to the bitmap encoding of the recording period is not null, obtaining a period index value corresponding to the recording period;
if the operation behavior value corresponding to the bitmap encoding of the recording period is null, the step of obtaining the period index value corresponding to the recording period is not executed.
In a possible implementation embodiment, the second obtaining module includes:
the output unit is used for outputting at least one retention parameter option if the user retention calculation instruction is detected;
and the receiving unit is used for receiving the operation of the user on the at least one retention parameter option and obtaining a preset retention analysis parameter according to the operation of the user on the at least one parameter option.
In a possible implementation embodiment, the preset user includes a plurality of users, one user corresponds to one sparse coded data, and the initial operation related parameters include: initiating an operational behavior and an operational time period;
The first determining module includes:
a first determining unit configured to determine a first period index value corresponding to the start operation period;
a second determining unit, configured to determine R sparse coding data including a first period index value from a plurality of sparse coding data corresponding to the plurality of users, where R is an integer greater than or equal to 1;
and a third determining unit, configured to determine N sparse coding data from the R sparse coding data according to the initial operation behavior, and determine N users corresponding to the N sparse coding data as users to be examined, where an operation behavior value in the N sparse coding data indicates that the users to be examined have executed the initial operation behavior on the target application program in a recording period corresponding to the first period index value.
In a possible implementation embodiment, the persisting operation related parameters include: a retention operation behavior and a retention operation time period;
the second determining module includes:
a fourth determining unit configured to determine a second period index value corresponding to the retention operation period;
a fifth determining unit, configured to determine M sparse coding data including a second period index value from N sparse coding data corresponding to the N users, where M is an integer greater than or equal to 1, and M is a value less than or equal to N;
And a sixth determining unit, configured to determine S sparse coding data from the M sparse coding data according to the retention operation behavior, and determine S users to be examined corresponding to the S sparse coding data as retention users, where an operation behavior value in the S sparse coding data indicates that the retention user has executed the retention operation behavior on the target application program in a recording period corresponding to the second period index value.
In a third aspect, an embodiment of the present invention provides a data processing apparatus, including a processor, a memory, and a communication interface, where the processor, the memory, and the communication interface are connected to each other, where the communication interface is configured to receive and send data, the memory is configured to store program code, and the processor is configured to invoke the program code to execute the method described in the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer storage medium storing a computer program comprising program instructions which, when executed by a processor, perform the method of the first aspect.
In the embodiment of the invention, by obtaining sparse coding data of a preset user and obtaining preset retention analysis parameters, wherein the retention analysis parameters comprise initial operation related parameters and retention operation related parameters, in the preset user, a user to be examined, for which the sparse coding data meet the initial operation related parameters, is determined, and in the user to be examined, a retention user for which the sparse coding data meet the retention operation related parameters is determined; and determining the user retention rate based on the number of the users to be examined and the number of the retention users. By adopting the technical scheme, each user in the target application program is subjected to sparse coding, the retention rate of the user is rapidly calculated according to the sparse coding data, and the calculation efficiency of the retention rate of the user is improved.
Drawings
In order to illustrate embodiments of the invention or solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a method for generating sparse coding data corresponding to a preset user according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a sparse coding storage method for bitmap encoding according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a method for generating sparse coded data according to bitmap encoding according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a method for updating sparse coded data according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a method for obtaining retention analysis parameters according to an embodiment of the present invention;
fig. 7 is a schematic diagram of retention rates corresponding to users to be examined in a plurality of start times according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of retention line graph analysis according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
The data processing method provided by the embodiment of the invention will be described in detail with reference to fig. 1 to 8.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention. As shown in fig. 1, the data processing method according to the embodiment of the present invention may include the following steps S101 to S104.
S101, sparse coding data of a preset user are obtained.
The sparse coding data are used for recording the operation of a preset user on a target application program, wherein the preset user comprises a plurality of users, and one user corresponds to one sparse coding data. Each user enters the target application program, the operation behaviors of each user on the target application program are recorded by using sparse codes, and the sparse code data recorded with the operation behaviors of the users are stored.
Optionally, as shown in fig. 2, a schematic diagram of a method for generating sparse coding data corresponding to a preset user according to an embodiment of the present invention may include steps S21 to S24.
S21, generating bitmap codes corresponding to the single recording period of the preset user according to at least one operation of the preset user on the target application program in the single recording period.
First, a recording period is preset, wherein the recording period refers to a basic period for recording operation behaviors of a user when the user performs sparse coding after entering a target application program, and for example, the recording period includes, but is not limited to, hours, days and the like. Note that the recording period is generally set to the analysis time granularity of the retention analysis, or a subunit of the analysis time granularity.
Wherein, a recording period corresponds to a piece of recording data of the user, and a piece of recording data can comprise one or more pieces of recording sub-data, and the recording sub-data is used for representing the operation behavior of the user on the target application program in the recording period. One implementation of the recording is in a bitmap mode, the recorded data includes one or more bits, and different bits correspond to different operation behaviors. If the user executes a certain operation action on the target application program in the recording period, the bit corresponding to the operation action in the recorded data of the user is 1, and conversely, if the user does not execute a certain operation action on the target application program in the recording period, the bit corresponding to the operation action in the recorded data of the user is 0. The bitmap mode is bitmap coding (bitmap coding), and the bitmap coding comprises at least one coding value, wherein the coding value is used for indicating whether a preset user executes an operation corresponding to the coding value on a target application program, the at least one coding value is at least one bit, and one bit corresponds to one operation behavior of the preset user on the target application program.
Specifically, each new user obtains an ID after entering the target application program, and performs bitmap encoding on the operation behavior of the target application program in each recording period by each new user, where the bitmap encoding includes at least one bit, and one bit is used to represent an operation behavior of a user in one recording period. For example, the first bit in the bitmap encoding is used to indicate the operation behavior of the user to log in the target application, if the user logs in the target application in the recording period corresponding to the bitmap encoding, the value of the first bit in the bitmap encoding is 1, and if the user does not log in the target application in the recording period corresponding to the bitmap encoding, the value of the first bit in the bitmap encoding is 0. For example, if the user listens to the song in the target application program in the recording period corresponding to the bitmap code, the value of the second bit in the bitmap code is 1, and if the user does not listen to the song in the target application program in the recording period corresponding to the bitmap code, the value of the second bit in the bitmap code is 0, so that the method stores the operation behavior of each new user on the target application program in each recording period.
It should be noted that at least one bit in the bitmap encoding corresponds to at least one operation behavior, one bit corresponds to one operation behavior, and a user can customize setting. Through the above process, various operation behaviors of the user on the target application program in a plurality of different recording periods can be recorded. For example, it is recorded which operational actions the user has performed on the target application program each day during a year.
S22, obtaining an operation behavior value corresponding to the bitmap encoding of the recording period.
S23, obtaining a period index value corresponding to the recording period;
s24, generating sparse coding data corresponding to the preset user according to the operation behavior value and the period index value.
As shown in fig. 3, a schematic diagram of a method for storing bitmap codes in sparse coding is provided in an embodiment of the present invention, as shown in fig. 3, after bitmap codes are stored for each operation behavior of each user in each recording period in a target application program, bitmap codes corresponding to each user are stored in sparse coding, where a structure schematic diagram of the sparse coding data is 4 columns of data shown in fig. 3, that is, uid, period number, period index value, operation behavior value, and fig. 3 may be sparse coding data corresponding to one user. In fig. 3 uid represents a user identification id; the number of cycles indicates the number of recording cycles, for example, the operation behavior of the user at 365 days is recorded in total, and the number of cycles is 365; the period index value set specifically refers to a set of period index values of recording periods, wherein one period index value corresponds to one recording period.
If the operation behavior value corresponding to the bitmap encoding of the recording period is not null, the period index value corresponding to the recording period is obtained, and if the operation behavior value corresponding to the bitmap encoding of the recording period is null, the step of obtaining the period index value corresponding to the recording period is not executed. In order to reduce the waste of the storage space, the period index value set may store only the period index value of the recording period of which the bitmap encoding is not empty, wherein the bitmap encoding is empty, that is, each bit in the bitmap encoding is 0, that is, the user does not have the operation action performed on the target application program in the recording period. That is, the user has an operation behavior on the target application program in one recording period, and the period index value of the recording period only exists in the sparse coding data corresponding to the user. For example, if the user performs an operation on the target application program in the first recording period (for example, 1 month No. 1), the sparse code data corresponding to the user identifier includes a period index value of 1, that is, the period index value set includes a period index value of 1, and if the user does not perform any operation on the target application program in the second recording period (for example, 1 month No. 2), the period index value set does not include a period index value of 2.
The operation behavior value corresponding to the period index value in the sparse coding data represents a set of bitmap coding data, which can also be called as an operation behavior value set, and specifically includes bitmap coding data of a recording period corresponding to each period index value in the period index value set. In one implementation, the operation behavior value is a explicit representation of bitmap encoding data, where the explicit representation refers to a value obtained by performing some encoding operation on bitmap encoding. For example, as shown in fig. 3, a bitmap corresponding to a certain operation behavior of a certain user is coded 11000000 1110000010100000 11101100 … …, and the display obtained by the coding operation is represented as a first bitmap coded value, namely, 0.1.
Fig. 4 is a schematic diagram of generating a bitmap according to a sparse coding method according to bitmap coding, and fig. 4 is a schematic diagram of performing bitmap coding on operation behaviors of each user in each recording period, and performing sparse coding according to bitmap coding corresponding to each user. Each bit in the bitmap encoding is used to represent one operational behaviour of the user, and the entire sparse encoded storage represents the operational behaviour of all history periods of the user. The operation behavior in all recording periods of each user is represented by sparse coding, and the bitmap coding of a single recording period represents the user operation behavior of one recording period. And only storing the period index value corresponding to the record period when the user corresponding to the user identifier has the operation action on the target application program in the sparse coding data, and if the user corresponding to the user identifier does not have the operation action on the target application program in a certain record period, not storing the period index value corresponding to the certain time period, thereby saving a large amount of storage and calculation cost.
Therefore, after obtaining the bitmap code corresponding to each recording period, the user obtains the operation behavior value corresponding to the bitmap code of the recording period, obtains the period index value corresponding to the recording period, and generates sparse coding data corresponding to the user according to the operation behavior value and the period index value.
Referring to fig. 5, a schematic diagram of a method for updating sparse coding data according to an embodiment of the present invention is shown in fig. 5, in which after a user performs an operation on a target application program in a newly added recording period, the user performs bitmap coding on the operation on the newly added recording period, and then updates sparse coding data corresponding to the user.
For example, the first bit in the bitmap encoding is set to represent login, the second bit to represent listening to a song, the third bit to represent viewing of a MV, the user with ID 2019010122 has logged in QQ music at 1 month No. 1 and listened to the song, has logged in QQ music at 1 month No. 2 and listened to the song and viewed the MV, has logged in QQ music at 1 month No. 3 and viewed the MV, has not logged in QQ music at 1 month No. 4, and does not perform any operation. First, after a user logs in QQ music 1 month 1, the user first performs bitmap encoding on the operation behavior performed on the QQ music on the same day (period: day), and then the bitmap encoding 1 month 1 is 11000000. After bitmap encoding is carried out, the bitmap encoding corresponding to 1 month No. 1 is subjected to sparse encoding, the number of periods in the sparse encoding data is 1, the period index value set comprises 1, and the operation behavior value comprises 0.1. After the user performs the operation action on the QQ music in 1 month 2, firstly performing bitmap encoding on the operation action in 1 month 2, namely 11100000 is the bitmap encoding in 1 month 2, then acquiring historical sparse encoded data of the user, updating the historical sparse encoded data according to the bitmap encoding in 1 month 2, wherein the number of periods in the updated sparse encoded data is 2, the period index value set is {1,2}, and the operation action value set is {0.1,0.2}. Similarly, the bitmap coded data of the user in 1 month No. 3 is 10100000, the period number in the sparse coded data is 3, the period index value set is {1,2,3}, and the operation behavior value set is {0.1,0.2,0.3}; the bitmap code of the user in 1 month No. 4 is 00000000, and since the user does not perform any operation on the QQ music in 1 month No. 4, the period index value and the operation value corresponding to 1 month No. 4 are not stored in the sparse code data corresponding to the user.
S102, obtaining preset retention analysis parameters, wherein the retention analysis parameters comprise initial operation related parameters and retention operation related parameters.
Wherein the start operation related parameter is used to represent a start operation performed on the target application and the save operation related parameter is used to represent a save operation performed on the target application. And outputting at least one retention parameter option if the user retention calculation instruction is detected, receiving the operation of the user on the at least one retention parameter option, and obtaining a preset retention analysis parameter according to the operation of the user on the at least one parameter option.
Referring to fig. 6, a schematic diagram of a retention analysis configuration interface provided by an embodiment of the present invention is shown in fig. 6, where a user may set a retention analysis table in the retention analysis configuration interface, and obtain preset retention analysis parameters according to the retention analysis table. In the retention analysis table, the user may designate the user to be examined as all users, new users, reflow users, and the like, or may designate the user to be examined as the user corresponding to the specific number package ID.
The user can also customize an initial operation and a retention operation which need to analyze the retention rate of the user through a retention analysis table, wherein the initial operation refers to a certain operation behavior of a user to be inspected, which is performed in an initial time period, and the initial operation can also be called a first target operation behavior; the save operation refers to some operation behavior of the user under investigation that is performed in a subsequent investigation period after the initial behavior is performed, and may also be referred to as a second target operation behavior. Both the initiation and the retention operations may be specific actions, e.g., the initiation operations may be: the "My" page-My-Activity center-browse, the save operation may be: the song is listened, and the corresponding user retention rate is the proportion of users who 'listen to the song' in a period of time in users who browse the 'activity center' on the same day. The default state may be persisted for the log-in of the user group. It should be noted that the start operation and the save operation may be set to any operation behavior, such as a registration behavior, a login behavior, and the like.
The user may also set the start operation period by persisting the analysis table, as shown in fig. 6, and the user sets the start time dates 2019-01-01 to 2019-01-08, and the period is acquired as the start operation period. It should be noted that the initial operation period may be a fixed time point or any other period of time defined by a user.
The initial operation related parameters include: the initial operation behavior, the initial operation time period, and the initial operation time period are used for determining an initial user, and specifically, a user in the user group who has performed the initial operation behavior in the initial operation time period may be determined as the initial user. The user group may be set by a persistent analysis table, as shown in fig. 6, where the user group is set as a new user in the large-disc user, and of course, the user group is only an illustration, and may be set as a user group in other ranges according to actual requirements. It should be noted that, the initial user may also be referred to as a user to be examined.
The user may also set an analysis granularity, i.e. the size of the time period for which the user retention needs to be analyzed, by a retention analysis table, which may also be referred to as retention period. The retention period indicates whether the user performs a retention operation within the time period. As shown in fig. 6, the analysis granularity (retention period) is daily, which means that it is necessary to determine whether the user has performed the song listening behavior during the day. It should be noted that the analysis granularity may be set as, but not limited to: natural days, natural weeks, natural months, every 7 days, every 30 days, respectively corresponding to daily retention, zhou Liucun, month retention, 7 days retention, 30 days retention.
The retention operation related parameters include: the retention operation behavior, the retention operation time period, and the retention operation time period are used for determining a retention user, specifically, a user performing the retention operation in the retention operation time period after the initial operation time period in the initial user is determined as the retention user. Wherein the retention operation period is the retention period described above.
After the initial user and the retention user are determined, the user retention rate can be calculated. The user retention rate refers to the ratio of the retention user to the initial user, and is generally used for measuring the value of the product. In general, we see that the large disc is started and logged in for retention, but in the embodiment of the invention, the user retention rate of some fine scenes can be obtained through user-defined retention operation, for example, the user retention rate of some fine scenes can be effectively analyzed, such as listening song retention on a certain page, video playing retention on a certain page, core behavior retention, and retention of some operation activity number package.
It should be noted that, after the initial operation period, there may be a plurality of retention periods, and the user retention rate may be calculated for each retention period. As shown in FIG. 6, after the initial operational period 2019-01-08, the retention of the day can be calculated separately every day. The number of user retention periods calculated may be determined by a retention analysis period, which may also be referred to as a retention observation period, representing the number of retention periods needed to analyze the user retention. As shown in fig. 6, the user sets the retention analysis period to 30 by the retention analysis table, which means that the daily user retention rate needs to be calculated for 30 days after 2019-01-08.
The user can input the retention analysis parameters through a retention analysis configuration interface provided by the front end, store the corresponding retention analysis parameters, trigger a background calculation task and generate the retention analysis calculation task according to the retention analysis parameters.
S103, determining a to-be-examined user with sparse coding data meeting the initial operation related parameters in the preset users, and determining a reserved user with sparse coding data meeting the reserved operation related parameters in the to-be-examined user.
After determining the to-be-examined user and the reserved user, the number of the to-be-examined users and the number of the reserved users can be obtained according to the stored sparse coding data.
Alternatively, after the initial operation related parameters are obtained according to the retention analysis table, the first period index value may be determined according to an initial operation time period in the initial operation related parameters. R sparse coded data comprising a first periodic index value is determined from a plurality of sparse coded data corresponding to a plurality of users, wherein R is an integer greater than or equal to 1. And determining N sparse coding data from the R sparse coding data according to the initial operation behaviors in the initial operation related parameters, and determining N users corresponding to the N sparse coding data as the users to be examined, wherein the operation behavior values in the N sparse coding data indicate that the users to be examined execute the initial operation behaviors on the target application program in the recording period corresponding to the first period index value.
For example, the initial operation period is 20181231-20190106 according to the retention analysis table, and the initial operation behavior is a login behavior. If the recording period is set to be a day, a period index value corresponding to the initial operation period 20181231-20190106 is determined, and the first period index value includes a plurality of period index values, namely 20181231, 20190101, 20190102, 20190103, 20190104, 20190105, 20190106. And determining R sparse coding data comprising the period index values from a plurality of sparse coding data corresponding to a plurality of users, obtaining operation behavior values corresponding to the first period index values, such as 0.1, 0.2, 0.3, 0.4, 0.5, 0.6 and 0.7, from the R sparse coding data, and obtaining bitmap codes of recording periods corresponding to the first period index values according to the plurality of operation behavior values. If the first bit in the bitmap encoding is set to be login, according to the initial operation behavior, acquiring N sparse encoded data with the value of the first bit in the bitmap encoding being 1 from R sparse encoded data, and determining N users corresponding to the N sparse encoded data as users to be examined, namely, the operation behavior value in the N sparse encoded data indicates that the users to be examined log in the target application program in the recording period corresponding to the first period index value.
After the user to be inspected is determined according to the initial operation related parameters, determining the retention user meeting the retention operation related parameters in sparse coding data corresponding to the user to be inspected. The second period index value corresponding to the retention operation time period may be determined according to the retention operation time period, and then M sparse coded data including the second period index value may be determined from the sparse coded data corresponding to the N users to be examined, where M is an integer greater than or equal to 1, and M is a value less than or equal to N. And determining S sparse coding data from the M sparse coding data according to the retention operation behaviors in the retention related parameters, and determining S users to be examined corresponding to the S sparse coding data as retention users, wherein the operation behavior values in the S sparse coding data indicate that the retention users execute the retention operation behaviors on the target application program in the recording period corresponding to the second period index value.
For example, if the retention operation period is 20190107-20190217 from the retention analysis table, a second period index value corresponding to the retention operation period is determined from the retention operation period, and the second period index value is 20190107-20190217, i.e., the date of each day, and M pieces of sparse coded data including the second period index value are determined from the N pieces of sparse coded data. And obtaining the operation behavior value corresponding to the second period index value from the M sparse coding data, thereby obtaining the bitmap coding of the recording period corresponding to the second period index value. If the second bit in the bitmap encoding is set as the listen to the song, if the operation action is listen to the song, S sparse encoded data with the value of the second bit of the bitmap encoding being 1 are obtained from the M sparse encoded data, S users corresponding to the S sparse encoded data are determined as the hold users, namely the operation action value in the S sparse encoded data indicates that the hold users execute the operation action of listening to the song on the target application program in the recording period corresponding to the second period index value.
S104, determining the user retention rate based on the number of the users to be examined and the number of the retention users.
And determining the user retention rate of each retention period according to the acquired number of the users to be examined and the number of the retention users in each retention period.
As shown in fig. 7, in a schematic diagram of retention analysis corresponding to a user to be examined in a plurality of start times provided in the embodiment of the present invention, as shown in fig. 7, there are 230398 users who perform start operation behavior "listen to song" on a target application program in a start operation period 20181231-20190106, and users who perform retention operation behavior "listen to song" on a target application program in the current week are 230398, so that the retention of users in the current week is 100%. The user who performs the operation of keeping the target application program for "listening" in the first week is reduced to 188603, and the user keeping rate after 1 week is obtained according to the proportion of the number 230398 of users to be examined and the number 188603 of users to be kept after 1 week. The user retention rate of retention periods after 2 weeks, after 3 weeks, etc. can be obtained by this calculation, and the user retention rate of other initial operation periods can also be calculated, which will not be described here.
Fig. 8 is a schematic diagram of retention ratio line graph analysis provided in the embodiment of the present invention, and fig. 8 is a line graph of retention ratios of 230398 users who perform initial operation behavior "listen to songs" on a target application program in the initial operation period 20181231-20190106 after 1 week, after 2 weeks, and after 3 weeks.
In the embodiment of the invention, by obtaining sparse coding data of a preset user and obtaining preset retention analysis parameters, the retention analysis parameters comprise initial operation related parameters and retention operation related parameters, in the preset user, a user to be examined, for which the sparse coding data meets the initial operation related parameters, is determined, and in the user to be examined, a retention user for which the sparse coding data meets the retention operation related parameters is determined; and determining the user retention rate based on the number of the users to be examined and the number of the retention users. Compared with the complex and tedious calculation mode in the prior art, the method and the device have the advantages that the user retention rate in a single period or multiple periods is only decoded and summed, so that the calculation speed and efficiency are obviously improved, the problem that the calculation mode of the user retention rate in the prior art is low in speed and low in efficiency is solved, and the effects of improving the calculation speed and the calculation efficiency are achieved; meanwhile, the retention rate of any user can be calculated, retention analysis of the user on various behavior operations can be met by utilizing at least one bit in bitmap coding data, multi-period analysis can be met by utilizing sparse coding data storage, a large amount of analysis cost can be saved, the calculation speed and efficiency are obviously improved, and the problems of low calculation mode speed and low efficiency of the user retention rate in the prior art are solved.
Referring to fig. 9, a schematic structural diagram of a data processing apparatus is provided in an embodiment of the present invention. As shown in fig. 9, the data processing apparatus according to the embodiment of the present invention may include:
a first obtaining module 11, configured to obtain sparse coding data of a preset user, where the sparse coding data is used to record an operation performed by the preset user on a target application program;
a second obtaining module 12, configured to obtain preset retention analysis parameters, where the retention analysis parameters include an initial operation related parameter and a retention operation related parameter; wherein the start operation related parameter is used for representing a start operation performed on the target application program, and the save operation related parameter is used for representing a save operation performed on the target application program;
a first determining module 13, configured to determine, among the preset users, a user to be examined whose sparse coding data satisfies the initial operation related parameter, and determine, among the users to be examined, a leave-in user whose sparse coding data satisfies the leave-in operation related parameter;
a second determining module 14, configured to determine a user retention rate based on the number of users to be examined and the number of retention users.
Optionally, the first obtaining module includes a first generating unit, a first obtaining unit, a second obtaining unit, and a second generating unit.
A first generating unit, configured to generate, according to at least one operation performed by the preset user on the target application program in a single recording period, a bitmap code corresponding to the single recording period of the preset user, where the bitmap code includes at least one code value, where the code value is used to indicate whether the preset user performs an operation corresponding to the code value on the target application program;
a first obtaining unit configured to obtain an operation behavior value corresponding to bitmap encoding of the recording period;
a second obtaining unit, configured to obtain a period index value corresponding to the recording period;
and the second generation unit is used for generating sparse coding data corresponding to the preset user according to the operation behavior value and the period index value.
Wherein the second obtaining unit is specifically configured to:
if the operation behavior value corresponding to the bitmap encoding of the recording period is not null, obtaining a period index value corresponding to the recording period;
if the operation behavior value corresponding to the bitmap encoding of the recording period is null, the step of obtaining the period index value corresponding to the recording period is not executed.
Optionally, the second obtaining module includes an output unit and an accepting unit.
The output unit is used for outputting at least one retention parameter option if the user retention calculation instruction is detected;
and the receiving unit is used for receiving the operation of the user on the at least one retention parameter option and obtaining a preset retention analysis parameter according to the operation of the user on the at least one parameter option.
Wherein the preset user comprises a plurality of users, one user corresponds to one sparse coding data, and the initial operation related parameters comprise: initiating an operational behavior and an operational time period;
optionally, the first determining module includes a first determining unit, a second determining unit, and a third determining unit.
A first determining unit configured to determine a first period index value corresponding to the start operation period;
a second determining unit, configured to determine R sparse coding data including a first period index value from a plurality of sparse coding data corresponding to the plurality of users, where R is an integer greater than or equal to 1;
and a third determining unit, configured to determine N sparse coding data from the R sparse coding data according to the initial operation behavior, and determine N users corresponding to the N sparse coding data as users to be examined, where an operation behavior value in the N sparse coding data indicates that the users to be examined have executed the initial operation behavior on the target application program in a recording period corresponding to the first period index value.
Wherein the retention operation related parameters include: retention of operation behavior, retention of operation time period.
The second determining module comprises a fourth determining unit, a fifth determining unit and a sixth determining unit.
A fourth determining unit configured to determine a second period index value corresponding to the retention operation period;
a fifth determining unit, configured to determine M sparse coding data including a second period index value from N sparse coding data corresponding to the N users, where M is an integer greater than or equal to 1, and M is a value less than or equal to N;
and a sixth determining unit, configured to determine S sparse coding data from the M sparse coding data according to the retention operation behavior, and determine S users to be examined corresponding to the S sparse coding data as retention users, where an operation behavior value in the S sparse coding data indicates that the retention user has executed the retention operation behavior on the target application program in a recording period corresponding to the second period index value.
It should be noted that, the specific implementation process may refer to the specific description of the above embodiment of the data processing method, and will not be described herein.
In the embodiment of the invention, by obtaining sparse coding data of a preset user and obtaining preset retention analysis parameters, the retention analysis parameters comprise initial operation related parameters and retention operation related parameters, in the preset user, a user to be examined, for which the sparse coding data meets the initial operation related parameters, is determined, and in the user to be examined, a retention user for which the sparse coding data meets the retention operation related parameters is determined; and determining the user retention rate based on the number of the users to be examined and the number of the retention users. Compared with the complex and tedious calculation mode in the prior art, the method and the device have the advantages that the user retention rate in a single period or multiple periods is only decoded and summed, so that the calculation speed and efficiency are obviously improved, the problem that the calculation mode of the user retention rate in the prior art is low in speed and low in efficiency is solved, and the effects of improving the calculation speed and the calculation efficiency are achieved; meanwhile, the retention rate of any user can be calculated, retention analysis of the user on various behavior operations can be met by utilizing at least one bit in bitmap coding data, multi-period analysis can be met by utilizing sparse coding data storage, a large amount of analysis cost can be saved, the calculation speed and efficiency are obviously improved, and the problems of low calculation mode speed and low efficiency of the user retention rate in the prior art are solved.
Referring to fig. 10, a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention, as shown in fig. 10, the data processing apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one communication interface 1003, memory 1004, at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. Communication interface 1003 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1004 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1004 may also optionally be at least one storage device located remotely from the processor 1001. As shown in fig. 10, an operating system, network communication modules, and program instructions may be included in memory 1004, which is a type of computer storage medium.
In the data processing apparatus 1000 shown in fig. 10, a processor 1001 may be used to load program instructions stored in a memory 1004 and specifically perform the following operations:
acquiring sparse coding data of a preset user, wherein the sparse coding data is used for recording the operation of the preset user on a target application program;
Obtaining preset retention analysis parameters, wherein the retention analysis parameters comprise initial operation related parameters and retention operation related parameters; wherein the start operation related parameter is used for representing a start operation performed on the target application program, and the save operation related parameter is used for representing a save operation performed on the target application program;
determining a to-be-examined user with sparse coding data meeting the initial operation related parameters in the preset users, and determining a reserved user with sparse coding data meeting the reserved operation related parameters in the to-be-examined user;
and determining the user retention rate based on the number of the users to be examined and the number of the retention users.
In a possible embodiment, the generating step of the sparse coding data of the preset user includes:
generating a bitmap code corresponding to a single recording period of the preset user according to at least one operation of the preset user on the target application program in the single recording period, wherein the bitmap code comprises at least one code value, and the code value is used for indicating whether the preset user executes the operation corresponding to the code value on the target application program or not;
Obtaining an operation behavior value corresponding to the bitmap encoding of the recording period;
obtaining a period index value corresponding to the recording period;
and generating sparse coding data corresponding to the preset user according to the operation behavior value and the period index value.
In a possible embodiment, the obtaining the period index value corresponding to the recording period includes:
if the operation behavior value corresponding to the bitmap encoding of the recording period is not null, obtaining a period index value corresponding to the recording period;
if the operation behavior value corresponding to the bitmap encoding of the recording period is null, the step of obtaining the period index value corresponding to the recording period is not executed;
in a possible embodiment, the obtaining the preset retention analysis parameter includes:
outputting at least one retention parameter option if the user retention calculation instruction is detected;
and receiving the operation of the user on the at least one retention parameter option, and obtaining a preset retention analysis parameter according to the operation of the user on the at least one parameter option.
In a possible implementation embodiment, the preset user includes a plurality of users, one user corresponds to one sparse coded data, and the initial operation related parameters include: initiating an operational behavior and an operational time period;
The determining, among the preset users, the to-be-examined user whose sparse coding data satisfies the initial operation related parameters includes:
determining a first periodic index value corresponding to the starting operation time period;
determining R sparse coding data comprising a first period index value from a plurality of sparse coding data corresponding to the plurality of users, wherein R is an integer greater than or equal to 1;
and determining N sparse coding data from the R sparse coding data according to the initial operation behaviors, and determining N users corresponding to the N sparse coding data as users to be examined, wherein the operation behavior values in the N sparse coding data indicate that the users to be examined execute the initial operation behaviors on the target application program in a recording period corresponding to the first period index value.
In a possible implementation embodiment, the persisting operation related parameters include: a retention operation behavior and a retention operation time period;
and determining a retention user with sparse coding data meeting the retention operation related parameters in the users to be examined, wherein the method comprises the following steps:
determining a second period index value corresponding to the retention operation period;
M sparse coding data comprising a second period index value is determined from N sparse coding data corresponding to the N users, wherein M is an integer greater than or equal to 1, and M is a value less than or equal to N;
and determining S sparse coding data from the M sparse coding data according to the retention operation behaviors, and determining S users to be examined corresponding to the S sparse coding data as retention users, wherein the operation behavior values in the S sparse coding data indicate that the retention users execute the retention operation behaviors on the target application program in a recording period corresponding to the second period index value.
It should be noted that, the specific implementation process may refer to the specific description of the method embodiment shown in fig. 1, and will not be described herein.
The embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are adapted to be loaded by a processor and execute the steps of the method shown in the embodiment of fig. 1, and the specific execution process may refer to the specific description of the embodiment shown in fig. 1, which is not repeated herein.
Those skilled in the art will appreciate that implementing all or part of the above-described embodiment methods may be accomplished by way of a computer program, which may be stored on a computer readable storage medium, which when executed comprises the steps of embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.

Claims (12)

1. A method of data processing, comprising:
acquiring sparse coding data of a preset user, wherein the sparse coding data is used for recording the operation of the preset user on a target application program;
obtaining preset retention analysis parameters, wherein the retention analysis parameters comprise initial operation related parameters and retention operation related parameters; wherein the start operation related parameter is used for representing a start operation performed on the target application program, and the save operation related parameter is used for representing a save operation performed on the target application program;
determining a to-be-examined user with sparse coding data meeting the initial operation related parameters in the preset users, and determining a reserved user with sparse coding data meeting the reserved operation related parameters in the to-be-examined user;
determining a user retention rate based on the number of users to be examined and the number of retention users;
the generating step of the sparse coding data of the preset user comprises the following steps:
generating a bitmap code corresponding to a single recording period of the preset user according to at least one operation of the preset user on the target application program in the single recording period, wherein the bitmap code comprises at least one code value, and the code value is used for indicating whether the preset user executes the operation corresponding to the code value on the target application program or not;
Obtaining an operation behavior value corresponding to the bitmap encoding of the recording period;
obtaining a period index value corresponding to the recording period;
and generating sparse coding data corresponding to the preset user according to the operation behavior value and the period index value.
2. The method of claim 1, wherein the obtaining the period index value corresponding to the recording period comprises:
if the operation behavior value corresponding to the bitmap encoding of the recording period is not null, obtaining a period index value corresponding to the recording period;
if the operation behavior value corresponding to the bitmap encoding of the recording period is null, the step of obtaining the period index value corresponding to the recording period is not executed.
3. The method according to claim 1 or 2, wherein said obtaining preset retention analysis parameters comprises:
if a user retention calculation instruction is detected, outputting at least one retention parameter option;
and receiving the operation of the user on the at least one retention parameter option, and obtaining a preset retention analysis parameter according to the operation of the user on the at least one parameter option.
4. The method of claim 1, wherein the predetermined users comprise a plurality of users, one user corresponding to each sparse coded data, and the initiating operation related parameters comprise: initiating an operational behavior and an operational time period;
The determining, among the preset users, the to-be-examined user whose sparse coding data satisfies the initial operation related parameters includes:
determining a first periodic index value corresponding to the starting operation time period;
determining R sparse coding data comprising a first period index value from a plurality of sparse coding data corresponding to the plurality of users, wherein R is an integer greater than or equal to 1;
and determining N sparse coding data from the R sparse coding data according to the initial operation behaviors, and determining N users corresponding to the N sparse coding data as users to be examined, wherein the operation behavior values in the N sparse coding data indicate that the users to be examined execute the initial operation behaviors on the target application program in a recording period corresponding to the first period index value.
5. The method of claim 1, wherein the persisting operation-related parameters comprise: a retention operation behavior and a retention operation time period;
and determining a retention user with sparse coding data meeting the retention operation related parameters in the users to be examined, wherein the method comprises the following steps:
determining a second period index value corresponding to the retention operation period;
M sparse coding data comprising a second period index value is determined from N sparse coding data corresponding to the N users, wherein M is an integer greater than or equal to 1, and M is a value less than or equal to N;
and determining S sparse coding data from the M sparse coding data according to the retention operation behaviors, and determining S users to be examined corresponding to the S sparse coding data as retention users, wherein the operation behavior values in the S sparse coding data indicate that the retention users execute the retention operation behaviors on the target application program in a recording period corresponding to the second period index value.
6. A data processing apparatus, comprising:
the first acquisition module is used for acquiring sparse coding data of a preset user, wherein the sparse coding data are used for recording the operation of the preset user on a target application program;
the second obtaining module is used for obtaining preset retention analysis parameters, wherein the retention analysis parameters comprise initial operation related parameters and retention operation related parameters; wherein the start operation related parameter is used for representing a start operation performed on the target application program, and the save operation related parameter is used for representing a save operation performed on the target application program;
The first determining module is used for determining a to-be-examined user with sparse coding data meeting the initial operation related parameters in the preset users and determining a reserved user with sparse coding data meeting the reserved operation related parameters in the to-be-examined user;
the second determining module is used for determining the user retention rate based on the number of the users to be examined and the number of the retention users;
wherein the first obtaining module includes:
a first generating unit, configured to generate, according to at least one operation performed by the preset user on the target application program in a single recording period, a bitmap code corresponding to the single recording period of the preset user, where the bitmap code includes at least one code value, where the code value is used to indicate whether the preset user performs an operation corresponding to the code value on the target application program;
a first obtaining unit configured to obtain an operation behavior value corresponding to bitmap encoding of the recording period;
a second obtaining unit, configured to obtain a period index value corresponding to the recording period;
and the second generation unit is used for generating sparse coding data corresponding to the preset user according to the operation behavior value and the period index value.
7. The apparatus of claim 6, wherein the second obtaining unit is specifically configured to:
if the operation behavior value corresponding to the bitmap encoding of the recording period is not null, obtaining a period index value corresponding to the recording period;
if the operation behavior value corresponding to the bitmap encoding of the recording period is null, the step of obtaining the period index value corresponding to the recording period is not executed.
8. The apparatus of claim 6 or 7, wherein the second obtaining module comprises:
the output unit is used for outputting at least one retention parameter option if the user retention calculation instruction is detected;
and the receiving unit is used for receiving the operation of the user on the at least one retention parameter option and obtaining a preset retention analysis parameter according to the operation of the user on the at least one parameter option.
9. The apparatus of claim 6, wherein the predetermined users comprise a plurality of users, one user corresponding to each sparse coded data, and the initial operation related parameters comprise: initiating an operational behavior and an operational time period;
the first determining module includes:
a first determining unit configured to determine a first period index value corresponding to the start operation period;
A second determining unit, configured to determine R sparse coding data including a first period index value from a plurality of sparse coding data corresponding to the plurality of users, where R is an integer greater than or equal to 1;
and a third determining unit, configured to determine N sparse coding data from the R sparse coding data according to the initial operation behavior, and determine N users corresponding to the N sparse coding data as users to be examined, where an operation behavior value in the N sparse coding data indicates that the users to be examined have executed the initial operation behavior on the target application program in a recording period corresponding to the first period index value.
10. The apparatus of claim 6, wherein the leave-on operation related parameters comprise: a retention operation behavior and a retention operation time period;
the second determining module includes:
a fourth determining unit configured to determine a second period index value corresponding to the retention operation period;
a fifth determining unit, configured to determine M sparse coding data including a second period index value from N sparse coding data corresponding to the N users, where M is an integer greater than or equal to 1, and M is a value less than or equal to N;
And a sixth determining unit, configured to determine S sparse coding data from the M sparse coding data according to the retention operation behavior, and determine S users to be examined corresponding to the S sparse coding data as retention users, where an operation behavior value in the S sparse coding data indicates that the retention user has executed the retention operation behavior on the target application program in a recording period corresponding to the second period index value.
11. A data processing apparatus comprising a processor, a memory and a communication interface, the processor, memory and communication interface being interconnected, wherein the communication interface is adapted to receive and transmit data, the memory is adapted to store program code, and the processor is adapted to invoke the program code to perform the method of any of claims 1-5.
12. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which is executed by a processor to implement the method of any one of claims 1 to 5.
CN202010200785.2A 2020-03-20 2020-03-20 Data processing method and device Active CN111415200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010200785.2A CN111415200B (en) 2020-03-20 2020-03-20 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010200785.2A CN111415200B (en) 2020-03-20 2020-03-20 Data processing method and device

Publications (2)

Publication Number Publication Date
CN111415200A CN111415200A (en) 2020-07-14
CN111415200B true CN111415200B (en) 2023-05-26

Family

ID=71491265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010200785.2A Active CN111415200B (en) 2020-03-20 2020-03-20 Data processing method and device

Country Status (1)

Country Link
CN (1) CN111415200B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269726A (en) * 2020-10-22 2021-01-26 腾讯音乐娱乐科技(深圳)有限公司 Data processing method and device
CN113269370B (en) * 2021-06-18 2023-12-12 腾讯科技(成都)有限公司 Active user prediction method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630972A (en) * 2015-12-24 2016-06-01 网易(杭州)网络有限公司 Data processing method and device
CN106997431A (en) * 2016-01-22 2017-08-01 阿里巴巴集团控股有限公司 A kind of data processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105630972A (en) * 2015-12-24 2016-06-01 网易(杭州)网络有限公司 Data processing method and device
CN106997431A (en) * 2016-01-22 2017-08-01 阿里巴巴集团控股有限公司 A kind of data processing method and device

Also Published As

Publication number Publication date
CN111415200A (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN111415200B (en) Data processing method and device
CN106815254B (en) Data processing method and device
CN109561117B (en) Data acquisition method and device
CN104504084A (en) Method and device for determining user retention rate
CN110471652B (en) Task arrangement method, task arranger, task arrangement device and readable storage medium
CN113157545A (en) Method, device and equipment for processing service log and storage medium
CN110321273A (en) A kind of business statistical method and device
CN103699637A (en) Code productivity statistic method and system
CN105183669A (en) Data storage method and device
CN111431926A (en) Data association analysis method, system, equipment and readable storage medium
CN109062769B (en) Method, device and equipment for predicting IT system performance risk trend
CN111679979A (en) Destructive testing method and device
CN114928574A (en) Information sending method, information sending device, electronic equipment and computer readable medium
CN113205230A (en) Data prediction method, device and equipment based on model set and storage medium
CN112862013A (en) Problem diagnosis method and device for quantitative transaction strategy
CN111597093B (en) Exception handling method, device and equipment thereof
CN109558403B (en) Data aggregation method and device, computer device and computer readable storage medium
CN115480948A (en) Hard disk failure prediction method and related equipment
CN109933506A (en) Server big data method of evaluating performance, system and electronic equipment and storage medium
CN117131059A (en) Report data processing method, device, equipment and storage medium
US10509659B1 (en) Input processing logic to produce outputs for downstream systems using configurations
CN113485864B (en) Abnormality detection, abnormality analysis method, abnormality detection device, abnormality analysis device, electronic apparatus, and storage medium
CN113419957A (en) Rule-based big data offline batch processing performance capacity scanning method and device
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN112685456A (en) User access data processing method and device and computer system

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