Method, device, electronic device and storage medium for determining user activity
By acquiring and analyzing user login logs from different terminal devices, classifying and calculating the activity information of newly added users, the problem of inaccurate determination of the activity of the same user on different terminal devices is solved, and more accurate user activity analysis is achieved.
Patent Information
- Application Number
- CN202210635584.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-06
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2042-06-06
AI Technical Summary
In the prior art, game versions run by the same user on different types of terminal devices are regarded as independent accounts, resulting in inaccurate determination of user activity.
By obtaining user login logs from statistical terminals and reference terminals, new users are classified according to login time and historical login status, different types of new users are identified, and their activity information is calculated.
It improves the accuracy of user activity information, comprehensively considers the user's login status on different terminal devices, and provides more accurate user activity analysis.
Smart Images

Figure CN115129809B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of electronic digital data processing, and in particular to a method, device, electronic device, and storage medium for determining user activity. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the present disclosure that are recited in the claims. No statement herein is admitted to be prior art by virtue of its inclusion in this section.
[0003] User activity metrics refer to indicators that reflect changes in user numbers and user stickiness during the game's operation. User activity metrics reflect user feedback on game content and operational strategies, and are valuable for game development and operations.
[0004] However, the same game may run different versions on different types of devices. Specifically, for different types of devices, such as PCs, mobile devices, and consoles (e.g., PS5, Xbox), there are three versions of the game: PC, mobile, and console. In this case, the existing technology treats the same user as three separate accounts for different versions of the terminal device, which does not effectively reflect the user's game usage, i.e., user activity. Summary of the Invention
[0005] In view of this, the purpose of the present disclosure is to provide a method, device, electronic device and storage medium for determining user activity.
[0006] Based on the above objectives, an exemplary embodiment of the present disclosure provides a method for determining user activity, including:
[0007] Obtaining a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the statistical terminal and the reference terminal are of different terminal types;
[0008] Determining new users of the statistical terminal according to the first user login log, and classifying the new users according to the second user login log to obtain different types of new users;
[0009] For any type of new user, determine the user activity information corresponding to the new user of that type.
[0010] In some exemplary embodiments, classifying the newly added users according to the second user login log to obtain different types of newly added users includes:
[0011] determining, based on the second user login log, the first login time of the newly added user on the reference terminal;
[0012] The newly added users are classified according to the first login time of the newly added users on the reference terminal to obtain different types of newly added users.
[0013] In some exemplary embodiments, classifying the new users according to their first login time on the reference terminal to obtain different types of new users includes:
[0014] In response to determining that the first login time of the new user at the reference terminal is earlier than the first login time of the statistical terminal, determining that the new user is a first type of new user;
[0015] In response to determining that the first login time of the new user at the reference terminal is the same as the first login time of the statistical terminal, determining that the new user is a second type of new user;
[0016] In response to determining that the newly added user has not logged in to the reference terminal before the statistical terminal logs in for the first time, the newly added user is determined to be a third type of newly added user.
[0017] In some exemplary embodiments, the user activity information includes at least one of the following:
[0018] User retention information, user return information, user churn information and user active days information.
[0019] In some exemplary embodiments, the user activity information includes user retention information;
[0020] The step of determining user activity information corresponding to any type of newly added user includes:
[0021] In response to determining that the new user logs into the statistical terminal in a statistical period after the first login time of the statistical terminal, the new user is determined to be a retained user, and the user retention information is generated according to the retained user.
[0022] In some exemplary embodiments, the user activity information includes user return flow information;
[0023] The step of determining user activity information corresponding to any type of newly added user includes:
[0024] In response to determining that the newly added user has not logged into the reference terminal within a preset time period before the first login time of the statistical terminal, and the newly added user has logged into the statistical terminal in each statistical period within a preset time period after the first login time of the statistical terminal, the newly added user is determined to be a returning user, and the user returning information is generated based on the returning user.
[0025] In some exemplary embodiments, the user activity information includes user churn information;
[0026] The step of determining user activity information corresponding to any type of newly added user includes:
[0027] In response to determining that the new user has not logged into the statistical terminal during a statistical period after the first login time of the statistical terminal, the new user is determined to be a lost user, and the user loss information is generated according to the lost user.
[0028] In some exemplary embodiments, the user activity information includes user active days information;
[0029] The step of determining user activity information corresponding to any type of newly added user includes:
[0030] In response to determining that the new user has logged into the statistical terminal for multiple statistical periods within a preset time period after the first login time of the statistical terminal, the new user is determined to be an active user, and the user active days information is generated based on the active user.
[0031] In some exemplary embodiments, the method further comprises:
[0032] Obtain a server log, and remove abnormal data from the first user login log and the second user login log based on the server log.
[0033] In some exemplary embodiments, after determining, for any type of new user, user activity information corresponding to the new user of that type, the method further includes:
[0034] A chart is constructed based on the user activity information and outputted.
[0035] Based on the same inventive concept, the exemplary embodiments of the present disclosure further provide a device for determining user activity, including:
[0036] A user login log acquisition module is configured to acquire a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the statistical terminal and the reference terminal are of different terminal types;
[0037] a new user determination and classification module configured to determine new users of the statistical terminal based on the first user login log, and classify the new users based on the second user login log to obtain different types of new users;
[0038] The user activity information determination module is configured to determine, for any type of newly added user, the user activity information corresponding to the newly added user of that type.
[0039] Based on the same inventive concept, an exemplary embodiment of the present disclosure further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above methods when executing the program.
[0040] Based on the same inventive concept, an exemplary embodiment of the present disclosure further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute any of the above methods.
[0041] From the above, it can be seen that the method, device, electronic device and storage medium for determining user activity provided by the embodiments of the present disclosure include: obtaining a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the terminal types of the statistical terminal and the reference terminal are different; determining new users of the statistical terminal based on the first user login log, and classifying the new users based on the second user login log to obtain different types of new users; for any type of new user, determining the user activity information corresponding to the new user of that type. The present disclosure classifies the new users of the statistical terminal based on the data of the reference terminal, and determines the user activity information on this basis, comprehensively considering the login status of the users in the statistical terminal and the reference terminal, thereby improving the accuracy of the determined user activity information. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0043] Figure 1 A schematic diagram of an application scenario of the method for determining user activity provided by an embodiment of the present disclosure;
[0044] Figure 2A flowchart of a method for determining user activity provided by an embodiment of the present disclosure;
[0045] Figure 3 A schematic diagram of the structure of a device for determining user activity provided by an embodiment of the present disclosure;
[0046] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0047] To make the objectives, technical solutions, and advantages of the present disclosure more clearly understood, the principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided solely to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0048] According to an embodiment of the present disclosure, a method, apparatus, electronic device, and storage medium for determining user activity are proposed.
[0049] It should be understood herein that any number of elements in the drawings is for illustration only and not for limitation, and any naming is only for distinction and does not have any limiting meaning.
[0050] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should have the usual meanings understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative position relationships. When the absolute position of the described object changes, the relative position relationship may also change accordingly.
[0051] The principles and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure.
[0052] In the related art, for the same game with different versions running on different types of terminal devices, the determined user activity is inaccurate.
[0053] The inventors of the present disclosure have discovered that the reason for the inaccurate determination of user activity in the above-mentioned related technologies is that with the development of technology, some games will develop mobile and host versions (such as PS5, Xbox, etc.) after developing the PC version. In this case, for the same game, the versions running on different types of terminal devices are different. For example, corresponding to different types of terminal devices such as PC devices, mobile devices and host devices (such as PS5, Xbox, etc.), the versions of the game are PC version, mobile version and host version. In this case, the related technology regards the same user as three independent accounts under different terminal device versions. However, these three accounts belong to the same user and therefore cannot effectively reflect the user's usage of the game, that is, the user's activity.
[0054] In order to solve the above problems, the present disclosure provides a solution for determining user activity, which specifically includes: obtaining a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the terminal types of the statistical terminal and the reference terminal are different; determining new users of the statistical terminal based on the first user login log, and classifying the new users based on the second user login log to obtain different types of new users; for any type of new user, determining the user activity information corresponding to the new user of that type. The present disclosure classifies the new users of the statistical terminal based on the data of the reference terminal, and determines the user activity information on this basis, comprehensively considering the login status of the users in the statistical terminal and the reference terminal, thereby improving the accuracy of the determined user activity information.
[0055] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.
[0056] refer to Figure 1, which is a schematic diagram of an application scenario of the method for determining user activity provided by an embodiment of the present disclosure. The application scenario includes a terminal device 101, a server 102 and a data storage system 103. Among them, the terminal device 101, the server 102 and the data storage system 103 can be connected through a wired or wireless communication network. The terminal device 101 includes but is not limited to a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a personal digital assistant (PDA) or other electronic devices that can realize the above functions. The server 102 and the data storage system 103 can both be independent physical servers, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0057] The server 102 is used to provide a user activity determination service to the user of the terminal device 101. The terminal device 101 is installed with a client that communicates with the server 102. The user can input configuration information including statistical games, statistical periods, and statistical items through the client. After clicking the OK button, the client sends the configuration information to the server 102. The server 102 performs the user activity determination method provided by the embodiment of the present disclosure according to the configuration information, including: obtaining a first user login log corresponding to the statistical terminal and a second user login log corresponding to the reference terminal, wherein the terminal types of the statistical terminal and the reference terminal are different; determining new users of the statistical terminal according to the first user login log, and classifying the new users according to the second user login log to obtain different types of new users; for any type of new user, determining the user activity information corresponding to the new user of that type. After obtaining the user activity information, the server 102 is used to send the user activity information to the client, and the client displays the user activity information to the user to help the user perform user activity analysis.
[0058] The data storage system 103 stores a large amount of user login log data, including user login information corresponding to terminals of different terminal types, such as a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal.
[0059] The following combination Figure 1The method for determining user activity according to an exemplary embodiment of the present disclosure is described using an application scenario. It should be noted that the above application scenario is only provided to facilitate understanding of the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in this respect. On the contrary, the embodiments of the present disclosure can be applied to any applicable scenario.
[0060] refer to Figure 2 , which is a flow chart of a method for determining user activity provided by an embodiment of the present disclosure.
[0061] The method for determining user activity may include the following steps:
[0062] Step S210: Acquire a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the statistical terminal and the reference terminal are of different terminal types.
[0063] Among them, terminal types can include: PC devices (such as desktop computers and laptops, etc.), mobile devices (such as mobile phones and tablets, etc.) and host devices (such as PS5 and Xbox, etc.).
[0064] In a specific implementation, for example, when a mobile terminal is used as a statistical terminal, at least one of a PC terminal and a host terminal can be used as a reference terminal.
[0065] It should be noted that terminal devices of different terminal types, such as PC devices, mobile devices and host devices, can all be used as statistical terminals and reference terminals. When any terminal device is used as a statistical terminal, at least one of the other terminals shall be used as a reference terminal.
[0066] The log may be an event record that records descriptions of relevant operations such as time, user, and action; and the user login log may be the portion of the log that is related to login.
[0067] In specific implementation, the user login log may include: user identity (such as user ID number, user email address and game ID) and login time.
[0068] Step S220: Determine new users of the statistical terminal according to the first user login log, and classify the new users according to the second user login log to obtain different types of new users.
[0069] In some exemplary embodiments, a method for determining a newly added user may include:
[0070] For any user, in response to determining that the user has not logged into the statistical terminal before the statistical period, the user is determined to be a new user of the statistical terminal in the statistical period.
[0071] During specific implementation, the statistical period can be configured as needed, such as hours, days, weeks, months, and years. Correspondingly, new users are hourly new users, daily new users, weekly new users, monthly new users, and annual new users.
[0072] In some exemplary embodiments, a method for determining the type of a newly added user may include:
[0073] determining, based on the second user login log, the first login time of the newly added user on the reference terminal;
[0074] The newly added users are classified according to the first login time of the newly added users on the reference terminal to obtain different types of newly added users.
[0075] In some exemplary embodiments, a method for determining the type of a newly added user may specifically include:
[0076] In response to determining that the first login time of the new user at the reference terminal is earlier than the first login time of the statistical terminal, determining that the new user is a first type of new user;
[0077] In response to determining that the first login time of the new user at the reference terminal is the same as the first login time of the statistical terminal, determining that the new user is a second type of new user;
[0078] In response to determining that the newly added user has not logged in to the reference terminal before the statistical terminal logs in for the first time, the newly added user is determined to be a third type of newly added user.
[0079] In specific implementation, for example: taking mobile devices as statistical terminals and PC devices as reference terminals, the game version running on mobile devices is called mobile games, and the game version running on PC devices is called client games. Assuming that a user logs in to the mobile game for the first time on the 11th, if the user has logged in to the client game before the 11th (excluding the 11th), then the user is a first-category new user; if the user has logged in to the client game on the 11th, then the user is a second-category new user; if the user has not logged in to the client game on or before the 11th, then the user is a third-category new user.
[0080] The type of new users can reflect the reason for the user's addition to a certain extent, the user's stickiness to a certain extent, and whether the user needs operational guidance and the extent to which the user needs operational guidance.
[0081] In some exemplary embodiments, the operation instructions may include no operation instructions, brief operation instructions, and detailed operation instructions. In response to determining that the new user is a first-category new user, no operation instructions or brief operations may be provided; in response to determining that the new user is a second-category new user, brief operations or detailed operation instructions may be provided; in response to determining that the new user is a third-category new user, detailed operation instructions may be provided.
[0082] In some exemplary embodiments, in response to a user selecting a type of operation guide, a corresponding type of operation guide may be provided.
[0083] Step S230: For any type of newly added user, determine the user activity information corresponding to the newly added user of that type.
[0084] In some exemplary embodiments, the user activity information includes at least one of the following:
[0085] User retention information, user return information, user churn information and user active days information.
[0086] In some exemplary embodiments, the user activity information may be user retention information; then, a method for determining the user retention information includes:
[0087] In response to determining that the new user logs into the statistical terminal in a statistical period after the first login time of the statistical terminal, the new user is determined to be a retained user, and the user retention information is generated according to the retained user.
[0088] In specific implementation, for example, if an account newly added to the statistical terminal has logged in to the statistical terminal on the nth day from the date of addition, it will be recorded as the account being retained on the nth day.
[0089] In some exemplary embodiments, the user activity information may be user reflow information; then, a method for determining the user reflow information includes:
[0090] In response to determining that the newly added user has not logged into the reference terminal within a preset time period before the first login time of the statistical terminal, and the newly added user has logged into the statistical terminal in each statistical period within a preset time period after the first login time of the statistical terminal, the newly added user is determined to be a returning user, and the user returning information is generated based on the returning user.
[0091] In specific implementation, for example: m days before the day when the statistical terminal is newly added, if there is no login on the reference terminal and there is a login behavior on the statistical terminal for (n - m) consecutive days, it is recorded as a return on the nth day. The target group of the returned users is the above-mentioned first type of newly added users, that is, the account group whose new date on the reference terminal is greater than or equal to x days earlier than the new date on the statistical terminal. For example: Account x is newly added to the PC game on the 1st and to the mobile game on the 10th. For the 7-day return, there is no login in the 4 days before the 10th and there is a login in the mobile game in the 3 days after the 10th. Then, the 7-day return of this account can be calculated on the 12th day; Account y is newly added to the PC game on the 9th and to the mobile game on the 10th. Since 10 - 9 < m and m = 4, this account is not within the scope of the 7-day return statistics.
[0092] In some exemplary embodiments, the user activity information may be user churn information; then, the method for determining user churn information includes:
[0093] In response to determining that the newly added user has not logged in to the statistical terminal within a statistical period after the first login time of the newly added user on the statistical terminal, determining that the newly added user is a churned user, and generating the user churn information based on the churned user.
[0094] In specific implementation, for example: on the nth day after the day when the statistical terminal is newly added, if there is no login on the statistical terminal, it is recorded that the account churns on the nth day.
[0095] In some exemplary embodiments, the user activity information may be user active days information; then, the method for determining user active days information includes:
[0096] For any type of newly added user, determining the user activity information corresponding to the newly added user of this type includes:
[0097] In response to determining that the newly added user has logged in to the statistical terminal in multiple statistical periods within a preset time period after the first login time of the newly added user on the statistical terminal, determining that the newly added user is an active user, and generating the user active days information based on the active user.
[0098] In specific implementation, for example: within n days after the day when a certain account is newly added, the active days are k. If the total number of newly added accounts is m, then the average active days in n days = (k1 + k2… + km) / m.
[0099] In some implementation manners, in order to reduce the storage cost and improve the processing efficiency, preprocess the user login logs. The method for preprocessing the user login logs includes:
[0100] Based on the first user login log corresponding to the statistical terminal and the second user login log corresponding to the reference terminal, a statistical terminal newly added user table, a statistical terminal login user table, and a reference terminal login user table are generated. The statistical terminal newly added user table includes information such as the user identity and the time the user was added; the statistical terminal login user table includes information such as the user identity and the time the user was logged in; and the reference terminal login user table includes information such as the user identity and the time the user was logged in.
[0101] Therefore, based on the above statistical terminal newly added user table, statistical terminal login user table and reference terminal login user table, the newly added user type and user activity information are determined.
[0102] In some exemplary embodiments, the method further comprises:
[0103] For any type of new users, a return rate corresponding to the new users of this type is determined. In response to determining that the return rate is greater than or equal to a preset threshold, it is determined that the statistical terminal has a recall effect on lost users of the reference terminal.
[0104] In some exemplary embodiments, the method further comprises:
[0105] Obtain a server log, and remove abnormal data from the first user login log and the second user login log based on the server log.
[0106] In specific implementation, for example: obtaining information about the server being shut down, undergoing maintenance, and client bugs that prevent users from logging in normally, and eliminating the impact of this data on the aforementioned data statistics. For example, data on users not logging in during the statistical period of server shutdown, maintenance, and client bugs will be ignored or recorded as logins.
[0107] In some exemplary embodiments, after determining, for any type of new user, user activity information corresponding to the new user of that type, the method further includes:
[0108] A chart is constructed based on the user activity information and outputted.
[0109] In specific implementation, for example, a chart may include new user types, as well as information on the number of new users, retention information, return information, churn information, and active days corresponding to each new user type.
[0110] In some exemplary embodiments, the account health check is performed based on the chart.
[0111] In specific implementation, for example: the data in the chart can be color-coded using different color levels according to a preset threshold. For example, for data with positive evaluation effects such as the number of new users, retention information, return information, and active days information, if it is above the preset threshold, it is marked with green, and the higher the value, the darker the green; if it is below the preset threshold, it is marked with red, and the lower the value, the darker the red; and for data with negative evaluation effects such as churn information, if it is below the preset threshold, it is marked with green, and the lower the value, the darker the green; if it is above the preset threshold, it is marked with red, and the higher the value, the darker the red.
[0112] The above display method can intuitively locate the indicator data that needs to be analyzed through color marking, so as to perform data analysis on this basis.
[0113] From the above, it can be seen that the method, device, electronic device and storage medium for determining user activity provided by the embodiments of the present disclosure include: obtaining a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the terminal types of the statistical terminal and the reference terminal are different; determining new users of the statistical terminal based on the first user login log, and classifying the new users based on the second user login log to obtain different types of new users; for any type of new user, determining the user activity information corresponding to the new user of that type. The present disclosure classifies the new users of the statistical terminal based on the data of the reference terminal, and determines the user activity information on this basis, comprehensively considering the login status of the users in the statistical terminal and the reference terminal, thereby improving the accuracy of the determined user activity information.
[0114] It should be noted that the method of the embodiments of the present disclosure can be performed by a single device, such as a computer or server. The method of the embodiments of the present disclosure can also be applied in a distributed scenario, where multiple devices cooperate to perform the method. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiments of the present disclosure, and the multiple devices will interact with each other to complete the method.
[0115] It should be noted that the above description is limited to some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0116] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a device for determining user activity.
[0117] refer to Figure 3 , the device for determining user activity includes:
[0118] The user login log acquisition module 310 is configured to acquire a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the statistical terminal and the reference terminal are of different terminal types.
[0119] The new user determination and classification module 320 is configured to determine new users of the statistical terminal according to the first user login log, and classify the new users according to the second user login log to obtain different types of new users.
[0120] In some exemplary embodiments, a new user determination and classification module 320 is specifically configured to:
[0121] determining, based on the second user login log, the first login time of the newly added user on the reference terminal;
[0122] The newly added users are classified according to the first login time of the newly added users on the reference terminal to obtain different types of newly added users.
[0123] In some exemplary embodiments, a new user determination and classification module 320 is specifically configured to:
[0124] In response to determining that the first login time of the new user at the reference terminal is earlier than the first login time of the statistical terminal, determining that the new user is a first type of new user;
[0125] In response to determining that the first login time of the new user at the reference terminal is the same as the first login time of the statistical terminal, determining that the new user is a second type of new user;
[0126] In response to determining that the newly added user has not logged in to the reference terminal before the statistical terminal logs in for the first time, the newly added user is determined to be a third type of newly added user.
[0127] The user activity information determination module 330 is configured to determine, for any type of newly added user, the user activity information corresponding to the newly added user of that type.
[0128] In some exemplary embodiments, the user activity information includes at least one of the following:
[0129] User retention information, user return information, user churn information and user active days information.
[0130] In some exemplary embodiments, the user activity information includes user retention information; the user activity information determination module 330 is specifically configured to:
[0131] In response to determining that the new user logs into the statistical terminal in a statistical period after the first login time of the statistical terminal, the new user is determined to be a retained user, and the user retention information is generated according to the retained user.
[0132] In some exemplary embodiments, the user activity information includes user return flow information; the user activity information determination module 330 is specifically configured to:
[0133] In response to determining that the newly added user has not logged into the reference terminal within a preset time period before the first login time of the statistical terminal, and the newly added user has logged into the statistical terminal in each statistical period within a preset time period after the first login time of the statistical terminal, the newly added user is determined to be a returning user, and the user returning information is generated based on the returning user.
[0134] In some exemplary embodiments, the user activity information includes user churn information; the user activity information determination module 330 is specifically configured to:
[0135] In response to determining that the new user has not logged into the statistical terminal during a statistical period after the first login time of the statistical terminal, the new user is determined to be a lost user, and the user loss information is generated according to the lost user.
[0136] In some exemplary embodiments, the user activity information includes user active days information; the user activity information determination module 330 is specifically configured to:
[0137] In response to determining that the new user has logged into the statistical terminal for multiple statistical periods within a preset time period after the first login time of the statistical terminal, the new user is determined to be an active user, and the user active days information is generated based on the active user.
[0138] In some exemplary embodiments, the user activity determination device is further configured to:
[0139] Obtain a server log, and remove abnormal data from the first user login log and the second user login log based on the server log.
[0140] In some exemplary embodiments, the user activity determination device is further configured to:
[0141] A chart is constructed based on the user activity information and outputted.
[0142] For the convenience of description, the above devices are described as being functionally divided into various modules. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0143] The apparatus of the above embodiment is used to implement the corresponding method for determining user activity in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0144] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for determining user activity described in any of the above embodiments is implemented.
[0145] Figure 4 10 is a schematic diagram showing a more specific hardware structure of an electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other within the device via the bus 1050.
[0146] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0147] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 1020 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0148] The input / output interface 1030 is used to connect an input / output module to implement information input and output. The input / output module can be configured as a component in the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and output devices may include a display, speaker, vibrator, indicator light, etc.
[0149] The communication interface 1040 is used to connect to a communication module (not shown) to enable communication between the device and other devices. The communication module can communicate via a wired method (such as USB, network cable, etc.) or a wireless method (such as mobile network, WiFi, Bluetooth, etc.).
[0150] The bus 1050 comprises a path for transmitting information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).
[0151] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, it will be understood by those skilled in the art that the above device may only include the components necessary to implement the embodiments of this specification, and does not necessarily include all the components shown in the figure.
[0152] The electronic device of the above embodiment is used to implement the corresponding method for determining user activity in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0153] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method for determining user activity as described in any of the above embodiments.
[0154] The above-mentioned non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROMs, EPROMs, EEPROMs, non-volatile memories (NAND FLASH), solid-state drives (SSDs)), etc.
[0155] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method for determining user activity as described in any embodiment in the above exemplary method section, and have the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0156] Those skilled in the art will appreciate that embodiments of the present disclosure may be implemented as a system, method, or computer program product. Therefore, the present disclosure may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, resident software, microcode, etc.), or in a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, the present disclosure may also be implemented in the form of a computer program product in one or more computer-readable media containing computer-readable program code.
[0157] Any combination of one or more computer-readable media can be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive examples) of computer-readable storage media can include, for example: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0158] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0159] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0160] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0161] It should be understood that each block in the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine. These computer program instructions are executed by the computer or other programmable data processing device to produce a device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0162] These computer program instructions can also be stored in a computer-readable medium that enables a computer or other programmable data processing device to operate in a specific manner. In this way, the instructions stored in the computer-readable medium produce a product that includes an instruction device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0163] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, such that the instructions executed on the computer or other programmable apparatus provide a process that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0164] Furthermore, although the operations of the disclosed method are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in that particular order, or that all of the operations shown must be performed to achieve the desired results. Rather, the steps depicted in the flowcharts may be performed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into a single step, and / or a single step may be broken down into multiple steps.
[0165] The use of the verbs "comprise", "include" and their conjugations in the application documents does not exclude the presence of elements or steps other than those stated in the application documents. The article "a" or "an" preceding an element does not exclude the presence of a plurality of such elements.
[0166] Although the spirit and principles of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the specific embodiments disclosed, and the division into various aspects does not mean that the features of these aspects cannot be combined to benefit. Such division is merely for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the appended claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Claims
1. A method for determining user activity, characterized in that: include: Obtaining a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the statistical terminal and the reference terminal are of different terminal types; Determining a new user of the statistical terminal based on the first user login log, and determining the first login time of the new user on the reference terminal based on the second user login log; classifying the new users according to the first login time of the new users on the reference terminal to obtain different types of new users; For any type of new user, determine the user activity information corresponding to the new user of that type.
2. The method according to claim 1, characterized in that The classifying the new users according to the first login time of the new users on the reference terminal to obtain different types of new users includes: In response to determining that the first login time of the new user at the reference terminal is earlier than the first login time of the statistical terminal, determining that the new user is a first type of new user; In response to determining that the first login time of the new user at the reference terminal is the same as the first login time of the statistical terminal, determining that the new user is a second type of new user; In response to determining that the newly added user has not logged in to the reference terminal before the statistical terminal logs in for the first time, the newly added user is determined to be a third type of newly added user.
3. The method according to claim 1, characterized in that The user activity information includes at least one of the following: User retention information, user return information, user churn information and user active days information.
4. The method according to claim 1, wherein The user activity information includes user retention information; The step of determining user activity information corresponding to any type of newly added user includes: In response to determining that the new user logs into the statistical terminal in a statistical period after the first login time of the statistical terminal, the new user is determined to be a retained user, and the user retention information is generated according to the retained user.
5. The method according to claim 1, wherein The user activity information includes user return information; The step of determining user activity information corresponding to any type of newly added user includes: In response to determining that the newly added user has not logged into the reference terminal within a preset time period before the first login time of the statistical terminal, and the newly added user has logged into the statistical terminal in each statistical period within a preset time period after the first login time of the statistical terminal, the newly added user is determined to be a returning user, and the user returning information is generated based on the returning user.
6. The method according to claim 1, characterized in that The user activity information includes user churn information; The step of determining user activity information corresponding to any type of newly added user includes: In response to determining that the new user has not logged into the statistical terminal during a statistical period after the first login time of the statistical terminal, the new user is determined to be a lost user, and the user loss information is generated according to the lost user.
7. The method according to claim 1, characterized in that The user activity information includes user active days information; The step of determining user activity information corresponding to any type of newly added user includes: In response to determining that the new user has logged into the statistical terminal for multiple statistical periods within a preset time period after the first login time of the statistical terminal, the new user is determined to be an active user, and the user active days information is generated based on the active user.
8. The method according to claim 1, characterized in that The method further comprises: Obtain a server log, and remove abnormal data from the first user login log and the second user login log based on the server log.
9. The method according to claim 1, characterized in that After determining the user activity information corresponding to any type of newly added user, the method further includes: A chart is constructed based on the user activity information and outputted.
10. A device for determining user activity, characterized in that: include: A user login log acquisition module is configured to acquire a first user login log corresponding to a statistical terminal and a second user login log corresponding to a reference terminal, wherein the statistical terminal and the reference terminal are of different terminal types; a new user determination and classification module configured to determine a new user of the statistical terminal based on the first user login log, and to determine the first login time of the new user on the reference terminal based on the second user login log; and to classify the new user according to the first login time of the new user on the reference terminal to obtain different types of new users; The user activity information determination module is configured to determine, for any type of newly added user, the user activity information corresponding to the newly added user of that type.
11. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 9 is implemented.
12. A non-transitory computer-readable storage medium, characterized in that The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Game platform information pushing method and system, storage medium and equipment
CN110222267A
Task display method, terminal, server and medium
CN110399197A