CN108062313B - Method, electronic device, server, and computer-readable storage medium for persisting user analytics - Google Patents

Method, electronic device, server, and computer-readable storage medium for persisting user analytics Download PDF

Info

Publication number
CN108062313B
CN108062313B CN201610977185.0A CN201610977185A CN108062313B CN 108062313 B CN108062313 B CN 108062313B CN 201610977185 A CN201610977185 A CN 201610977185A CN 108062313 B CN108062313 B CN 108062313B
Authority
CN
China
Prior art keywords
retention
time
last
updating
current
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
CN201610977185.0A
Other languages
Chinese (zh)
Other versions
CN108062313A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610977185.0A priority Critical patent/CN108062313B/en
Publication of CN108062313A publication Critical patent/CN108062313A/en
Application granted granted Critical
Publication of CN108062313B publication Critical patent/CN108062313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method, electronic equipment and a server for user analysis retention. The method comprises the following steps: in response to launching an application installed in an electronic device, updating, in the electronic device, a retention time and a retention state of a user of the application; assembling the equipment information, the visit information, the retention time and the retention state into a log in the electronic equipment and storing the assembled log; and sending the log to a server such that the server performs a persisted user analysis from the log.

Description

Method, electronic device, server, and computer-readable storage medium for persisting user analytics
Technical Field
The present disclosure relates to the field of data analysis, and in particular, to a method, electronic device, server, and computer-readable storage medium for a retained user analysis, wherein the method is capable of quickly performing a retained user analysis regardless of a statistical period, thereby reducing resource consumption and computation time.
Background
As the number of mobile internet users increases at a rapid pace, statistical analysis of mobile devices becomes increasingly important.
In the field of e-commerce, it is a goal of every business platform to retain old users and develop new users, and therefore, it is additionally important to retain user analysis. However, when the user retention analysis is performed at the mobile terminal, the current statistical method is often cumbersome, and a large amount of data association analysis is required to achieve the purpose of analysis. For example, in the prior art, when performing user retention statistical analysis, a user access log is often used to perform rearrangement processing, then all users who have accessed the application are found out from the last statistical period, all revisited users are found out in the current statistical period, and finally data association is performed. If the user is present in both clusters, it indicates that the user is a current surviving user. However, since the access behavior log volume of the user is very large, the re-ranking judgment can only satisfy the retention analysis in a short statistical period. For retention analysis in a long statistical period, screening is often required in a huge amount of logs, so that resource consumption is very large, and a situation that cluster resources cannot meet analysis requirements may exist.
Therefore, there is a need for a method, an electronic device, and a server for a retained user analysis, wherein the method can quickly perform the retained user analysis regardless of the length of the statistical period, thereby reducing resource consumption and computation time.
Disclosure of Invention
An aspect of the present disclosure is to address at least the above problems and/or disadvantages and to provide at least the advantages described below.
According to a first aspect of the present invention there is provided a method for persisting user analytics, comprising: in response to launching an application installed in an electronic device, updating, in the electronic device, a retention time and a retention state of a user of the application; assembling the equipment information, the visit information, the retention time and the retention state into a log in the electronic equipment and storing the assembled log; and sending the log to a server such that the server performs a persisted user analysis from the log.
Preferably, the updating the retention time and the retention state of the user of the application in the electronic device comprises: responding to the application installed in the electronic equipment to be started, and recording and storing the current starting time; determining whether the current access is a primary access; and updating the retention time and retention state according to the determination result.
Preferably, the updating the retention time and the retention state according to the determination result includes: when the current visit time is determined not to be the first visit, recording the last current starting time as the last starting time; comparing the current starting time with each retention time to determine whether the corresponding retention relation is met; if the corresponding retention relationship is determined to be satisfied, maintaining the corresponding retention time and the retention state; and if the corresponding retention relationship is determined not to be satisfied, updating the corresponding retention time and the retention state according to the last starting time.
Preferably, the updating the corresponding retention time and retention state according to the last boot time comprises: if the last starting time is in the corresponding retention statistical period, updating the corresponding retention time to the last starting time, and modifying the value of the retention state to 1; and if the last boot time is not within the corresponding retention statistic period, keeping the corresponding retention time as an empty field, and keeping the value of the retention state as 0.
Preferably, the updating the retention time and the retention state according to the determination further comprises: when the current visit is determined to be the first visit, recording the current starting time as the last starting time; and maintaining each retention time and retention state at initial values.
According to a second aspect of the present invention there is provided a method for persisting user analytics, comprising: receiving, from an electronic device, a signal indicating launching of an application installed in the electronic device; updating, at the server-side, a retention time and a retention state of a user of the application in response to receiving the signal; assembling the equipment information, the access information, the retention time and the retention state into a log and storing the assembled log; and performing a user analysis from the log.
According to a third aspect of the present invention, there is provided an electronic apparatus in which an application is installed, the electronic apparatus comprising: a memory configured to store a log of a user of the application, a processor configured to update a retention time and a retention state of the user of the application in response to starting the application, and to assemble device information, access information, the retention time, and the retention state into the log, the assembled log being stored in the memory; and a communicator configured to transmit the log to a server such that the server receives the log and performs a user-preserving analysis from the log.
Preferably, the processor is further configured to: recording and storing the current starting time in response to starting the application; determining whether the current access is a primary access; and updating the retention time and retention state according to the determination result.
Preferably, the processor is further configured to: when the current visit time is determined not to be the first visit, recording the last current starting time as the last starting time; comparing the current starting time with each retention time to determine whether the corresponding retention relation is met; if the corresponding retention relationship is determined to be satisfied, maintaining the corresponding retention time and the retention state; and if the corresponding retention relationship is determined not to be satisfied, updating the corresponding retention time and the retention state according to the last starting time.
Preferably, the processor is further configured to: if the last starting time is in the corresponding retention statistical period, updating the corresponding retention time to the last starting time, and modifying the value of the retention state to 1; and if the last boot time is not within the corresponding retention statistic period, keeping the corresponding retention time as an empty field, and keeping the value of the retention state as 0.
Preferably, the processor is further configured to: when the current visit is determined to be the first visit, recording the current starting time as the last starting time; and maintaining each retention time and retention state at initial values.
According to a fourth aspect of the present invention, there is provided a server for communicating with an electronic device having an application installed therein, the server comprising: a communicator configured to receive a signal indicating to launch an application installed in an electronic device from the electronic device; a memory configured to store a log of users of the application; and a processor configured to update a retention time and a retention state of a user of the application in response to receiving the signal; assembling the device information, the access information, the retention time and the retention state into a log and storing the assembled log in the memory; and performing a user analysis from the log.
According to a fifth aspect of the present invention, there is provided an electronic apparatus comprising: a memory; and a processor coupled to the memory, the processor configured to perform a method for preserving user analytics as described in the first aspect of the invention based on instructions stored in the memory.
According to a sixth aspect of the present invention there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement a method for persisting user analytics as described in the first aspect of the invention.
According to a seventh aspect of the present invention, there is provided a server comprising: a memory; and a processor coupled to the memory, the processor configured to perform a method for preserving user analytics as described in the second aspect of the invention based on instructions stored in the memory.
According to an eighth aspect of the present invention there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement a method for persisting user analytics as described in the second aspect of the present invention.
Drawings
The above and other aspects, features and advantages of example embodiments of the present disclosure will become more apparent from the following description when taken in conjunction with the accompanying drawings, in which:
FIG. 1 shows a schematic diagram of an application environment according to an example embodiment of the invention;
FIG. 2 shows a schematic structural diagram of an electronic device for performing the retained user analysis method of the present invention, according to an example embodiment of the present invention;
FIG. 3 shows a flow diagram of a method for retention user analysis according to an example embodiment of the present invention;
FIG. 4 illustrates particular steps of an operation to update a retention time and a retention state according to an example embodiment of the invention; and
fig. 5 shows a schematic structural diagram of a server for performing the retained user analysis method of the present invention according to an example embodiment of the present invention.
Detailed Description
Example implementations of the present invention are described below with reference to the accompanying drawings. The invention provides a method, an electronic device and a server for analysis of retention users, wherein the method can quickly execute the analysis of the retention users regardless of the length of a statistical period, thereby reducing resource consumption and calculation time.
Currently, when operational analysis is performed, statistical analysis needs to be performed on retention records of users of APPs, such as weekly retention, monthly retention, quarterly retention, and annual retention. A large amount of data correlation analysis is required for each situation in order to get statistics of the remaining users. However, since the amount of streaming data of a large website is very large, the resources consumed for analysis for a long statistical period are very large, and the calculation cannot be performed from the huge amount of data due to the limitation of the resources. In particular, when the analysis is required every day, a large amount of resources are consumed to calculate the index, resulting in a low input-output ratio.
The present invention therefore proposes a method for persisting user analytics. In particular, computational stress can be distributed while also simplifying the log statistics approach by placing computations within the APP client in the manner of a Software Development Kit (SDK). That is, the calculation requirement can be satisfied only by recording a small amount of logs generated at the time of user startup every day, and resource consumption and calculation time are greatly reduced.
Fig. 1 shows a schematic diagram of an application environment according to an exemplary embodiment of the present invention. As shown in fig. 1, the application environment includes an electronic device 10 and a server 20 communicatively connected to each other. The electronic device 10 is installed with one or more applications, wherein the retention user analysis is performed for an application 100 of the one or more applications.
The method for persisting user analytics according to an example embodiment of the present invention may be performed by the electronic device 10, or may be performed at the server side 20. The present invention is described below with the method for persisting user analytics by the electronic device 10 being performed as an example, according to an example embodiment of the present invention.
In the present disclosure, the electronic device may be a device relating to a communication function. For example, the electronic device may be a smart phone, a tablet PC (personal computer), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a PDA (personal digital assistant), a PMP (portable multimedia player), an MP3 player, a portable medical device, a digital camera, or a wearable device (e.g., an HMD (head mounted device) such as electronic glasses, an electronic garment, an electronic bracelet, an electronic necklace, an electronic accessory (appdress), or a smart watch).
According to some embodiments, the electronic device may be an intelligent household appliance involving communication functions. For example, the electronic device may be a TV, a DVD (digital video disc) player, an audio device, a refrigerator, an air conditioner, a cleaner, an oven, a microwave oven, a washing machine, an air cleaner, a set-top box, a TV box, a game machine, an electronic dictionary, an electronic key, a camcorder, or an electronic photo frame.
According to some embodiments, the electronic device may be a medical device (e.g., MRA (magnetic resonance angiography), MRI (magnetic resonance imaging), CT (computed tomography), ultrasonography, etc.), a navigation device, a GPS (global positioning system) receiver, EDR (event data recorder), FDR (flight data recorder), vehicle infotainment (entertainment) device, a marine electronic device (e.g., marine navigation system, compass, etc.), an avionics device, a security device, or an industrial or domestic robot.
According to some embodiments, the electronic device may be a piece of furniture or a building/structure having a communication function, an electronic board, an electronic signature receiving device, a projector, or various measuring instruments (e.g., a water meter, an electric meter, a gas meter, a wave meter, or the like). The electronic devices disclosed herein may be one of the above devices or any combination of the above devices. As understood by those skilled in the art: the above-described electronic devices are merely exemplary and should not be considered as limiting the present disclosure.
Fig. 2 shows a schematic structural diagram of the electronic device 10 according to an exemplary embodiment of the present invention. Specifically, an application 100 is installed in the electronic device 10, and the electronic device 10 includes: a memory 110 configured to store a log of users of the application; a processor 120 configured to update a retention time and a retention state of a user of the application in response to starting the application, and assemble device information, access information, the retention time, and the retention state into a log, store the assembled log in the memory 110; and a communicator 130 configured to transmit the log to a server such that the server receives the log and performs a user-preserving analysis based on the log. In various embodiments, a "processor" includes at least one core and may be defined as a standalone entity capable of interacting with other components of the device.
In one embodiment, the processor 120 may be further configured to: recording and storing the current starting time in response to starting the application; determining whether the current access is a primary access; and updating the retention time and retention state according to the determination result.
In one embodiment, the processor 120 may be further configured to: when the current visit time is determined not to be the first visit, recording the last current starting time as the last starting time; comparing the current starting time with each retention time to determine whether the corresponding retention relation is met; if the corresponding retention relationship is determined to be satisfied, maintaining the corresponding retention time and the retention state; and if the corresponding retention relation is determined not to be satisfied, updating the corresponding retention time and the retention state according to the last starting time. In particular, the processor 120 may be configured to: if the last starting time is in the corresponding retention statistical period, updating the corresponding retention time to the last starting time, and modifying the value of the retention state to 1; and if the last boot time is not within the corresponding retention statistic period, keeping the corresponding retention time as an empty field, and keeping the value of the retention state as 0.
In one embodiment, the processor 120 may be further configured to: when the current visit is determined to be the first visit, recording the current starting time as the last starting time; and maintaining each retention time and retention state at initial values.
FIG. 3 shows a flow diagram of a method for retention user analysis according to an example embodiment of the present invention. Specifically, the method may include: in response to launching an application installed in the electronic device (S0), updating, in the electronic device, a retention time and a retention state of a user of the application (i.e., visit initialization, S1); then assembling the device information, the access time information, the retention time, and the retention state into a log in the electronic device and storing the assembled log in the memory 110 (S2); and sending the log to the server (S3) such that the server performs a surviving user analysis from the log (S4).
Specifically, the operation S1 of updating the retention time and the retention state of the user of the application in the electronic device may include: in response to starting an application installed in the electronic device, the processor 120 records and stores a current start time at step S1100; next, in step S1200, it is determined whether the current access is a primary access; subsequently, in step S1300, the retention time and the retention state are updated according to the determination result. In one embodiment, partial fields are reserved in the SDK to record a retention time and a retention state, where the retention time refers to the retention time of the corresponding period of the user (e.g., the last time accessed, last boot time, last week, | last month, | last season, | last year, etc.); and the retention state refers to the retention state of the user for the corresponding period (e.g., whether the last week | last month | last season | last year, etc. is retained), the field is an enumerated value and the value is 0 or 1(0 means no retention, 1 means retention). In one embodiment, the retention time and the initial value of the retention state may both be set to 0. When the APP client is started, the initialization method of the SDK is actively called, and the SDK judges whether the current visit is 1 (namely, whether the current visit is the initial visit of the user). Finally, the retention time and the retention state are updated according to the determination result.
FIG. 4 shows specific steps of an operation to update a retention time and a retention state according to an example embodiment of the invention.
Specifically, if it is determined that the current access is not the primary access (step S1200 — no), the processor 120 records the last current boot time as the last boot time in step S1310; next, in step S1312, the processor 120 compares the current start time with each retention time to determine whether the corresponding retention relationship is satisfied; wherein if it is determined that the corresponding retention relationship is satisfied (step S1312-YES), no operation is performed and the corresponding retention time and retention state are maintained; and if it is determined that the corresponding retention relationship is not satisfied (step S1312 — no), then at step S1314, the retention time and the retention state that do not satisfy the retention relationship are cleared, and then the corresponding retention time and the retention state are updated according to the last boot time. That is, in step S1316, it is determined whether the last boot time is within the retention statistic period. If the last boot time is within the corresponding retention statistic period (step S1316-YES), the corresponding retention time is updated to the last boot time and the value of the retention state is modified to 1 at step S1318. If the last boot time is not within the corresponding retention statistic period (step S1316-No), then no update operation is performed and the corresponding retention time is kept as an empty field and the retention state value is kept as 0. Further, when it is determined in step S1200 that the current access is the initial access, no operation is performed, that is, each retention time and retention state are held at the initial values (for example, 0). Alternatively, when it is determined that the current access is the initial access, the current boot time may also be set to the last boot time.
An embodiment of the method for persisting user statistics of the present invention is illustrated below. For example: the first time the user starts the application is 2014, 12, 31, 28 seconds, the last time the user visits is 2014-12-3112: 31:28, i.e. the current start time is 2014-12-3112: 31:28, the last start time may also be 2014-12-3112: 31:28, and the user's retention time and retention status for each statistical period (e.g. last year, quarter, month) are both 0.
The second starting time of the user is 2015, 1, 9, 39 minutes and 1 second, the starting time of the current visit is 2015-01-0109: 39:01, and the last starting time is 2014-12-3112: 31: 28. Since the last boot time meets the retention conditions of the last year, the last quarter and the last month, the last use time of the last year, the last quarter and the last month is updated to be 2014-12-3112: 31:28, and the retention states of the last year, the last quarter and the last month are updated to be 1.
The third starting time of the user is 2016, No. 7 and No. 1, 10, 39 minutes and 1 second, the starting time of the current visit is '2016-07-0110: 39: 01', and the last starting time is '2015-01-0109: 39: 01'. Since the current boot time does not satisfy the retention condition compared to the retention time of the last year, quarter, and month, the retention time and retention state of the last year, quarter, and month are cleared to 0. Then, whether the last startup time is within each statistical period is judged by using the last startup time. Since the last boot time "2015-01-0109: 39: 01" is within the statistical period of the last year, the last use time of the last year is updated to "2015-01-0109: 39: 01", and the retention state of the last year is updated to 1. Specifically, the above update process may be represented as table 1.
TABLE 1
Figure GDA0002675090970000091
The log is then assembled and stored. In one embodiment, the SDK records the device information, access information, and the related retention time, retention status, and the like, and assembles them into a log to be stored locally at the client during the initialization process. The last row in table 1 represents the log generated after the update is completed.
The electronic device then reports the log to the server via the communicator 130 (e.g., a log reporting interface) for the server to perform a retention statistics analysis. Specifically, the visit records of the current user are re-arranged and screened according to the user, each user only reserves one log, and then the corresponding time retention state is collected and obtained according to the corresponding statistical period aiming at the part of records, so that the user retention analysis can be completed.
The foregoing describes a method performed by the electronic device 10 for persisting user analytics in accordance with an example embodiment of the present invention. It should be noted that the above description is only exemplary, and in addition to the above manner, the determination of the retention time and the retention state and the retention statistics may be collectively processed on the server 20 side by using the server time as the determination basis. Fig. 5 shows a schematic structural diagram of a server for performing a method for persisting user analytics according to an example embodiment of the present invention.
As shown in fig. 5, when the method for persisting user analytics according to an exemplary embodiment of the present invention is performed by the server 20, the server 20 communicates with the electronic device 10 in which the application 100 is installed. In one embodiment, server 20 may include a communicator 230 configured to receive a signal from an electronic device indicating to launch an application installed in the electronic device; a memory 210 configured to store a log of users of the application; and a processor 220 configured to update a retention time and a retention state of a user of the application in response to receiving the signal; assembling the device information, the access information, the retention time and the retention state into a log and storing the assembled log in the memory; and performing a user analysis from the log. The specific method performed by the server 20 for persisting user analysis is similar to the specific method performed by the electronic device 10 for persisting user analysis, with the only difference being that: the server 20 receives a signal indicating the start of an application installed in the electronic apparatus from the electronic apparatus 10, instead of the assembled log information; and the judgment of the retention time and the retention state and the operation of the user analysis are executed at the server side. Therefore, the method for retaining user analysis at the server side will not be described again.
Therefore, the invention provides a method, electronic equipment and a server for analyzing the retention user, wherein the method can simplify the retention analysis mode, and simplify the original large amount of log analysis into single log analysis of the user, thereby reducing the data volume and the data computing resource. The method for retention user analysis according to an example embodiment of the present invention may also reduce the resource consumption of daily analysis, enabling a large time span of retention analysis.
It should be noted that the above solution is only one specific implementation showing the inventive concept, and the invention is not limited to the above implementation. Some of the processing in the above-described implementations may be omitted or skipped without departing from the spirit and scope of the present invention.
The foregoing methods may be embodied in the form of executable program instructions by various computer devices and recorded in computer-readable recording media. In this case, the computer-readable recording medium may include a program command, a data file, a data structure, or a combination thereof alone. Meanwhile, the program command recorded in the recording medium may be specially designed or configured for the present invention or may be applied as known to those skilled in the art of computer software. The computer-readable recording medium includes a magnetic medium such as a hard disk, a floppy disk, or a magnetic tape, an optical medium such as a compact disc read only memory (CD-ROM) or a Digital Versatile Disc (DVD), a magneto-optical medium such as a magneto-optical floppy disk, and a hardware device such as a ROM, a RAM, a flash memory, etc. which stores and executes a program command. Further, the program command includes a machine language code formed by a compiler and a high-level language executable by a computer by using an interpreter. The foregoing hardware devices may be configured to operate as at least one software module to perform the operations of the present invention, and vice versa.
Although the operations of the methods herein are shown and described in a particular order, the order of the operations of each method may be changed so that the particular operations may be performed in a reverse order or so that the particular operations may be performed at least partially concurrently with other operations. Furthermore, the present invention is not limited to the above-described exemplary embodiments, and it may include one or more other components or operations or omit one or more other components or operations without departing from the spirit and scope of the present disclosure.
The present invention has been shown in connection with the preferred embodiments of the present invention, but it will be understood by those skilled in the art that various modifications, substitutions and changes may be made thereto without departing from the spirit and scope of the present invention. Accordingly, the present invention should not be limited by the above-described embodiments, but should be defined by the appended claims and their equivalents.

Claims (12)

1. A method for retained user analysis in an electronic device, comprising:
in response to launching an application installed in an electronic device, updating, in the electronic device, a retention time and a retention state of a user of the application;
assembling the equipment information, the visit information, the retention time and the retention state into a log in the electronic equipment and storing the assembled log; and
the log is sent to a server in the form of a log,
wherein said updating the retention time and retention state of the user of the application in the electronic device comprises:
in response to launching an application installed in the electronic device, storing a current launch time and updating a last launch time, wherein the updating the last launch time comprises: determining whether the current access is a primary access; in response to determining that the current access is not the primary access, updating a previously stored current boot time to a last boot time; and
the retention time and the retention state are updated in sequence according to the current starting time and the last starting time,
wherein updating the retention time and the retention state in sequence according to the current start time and the last start time comprises: updating the retention time and the retention state under the corresponding retention relationship by determining whether the current starting time and each retention time meet the corresponding retention relationship,
wherein the method further comprises: and in response to determining that the current start time and each retention time do not satisfy the corresponding retention relationship, updating the retention time and the retention state according to the last start time.
2. The method of claim 1, wherein said updating a retention time and a retention state according to a last boot time comprises:
if the last starting time is in the statistical period corresponding to the retention relationship, updating the retention time to the last starting time, and modifying the value of the retention state to 1; and
and if the last starting time is not in the counting period corresponding to the retention relationship, keeping the retention time as an empty field, and keeping the value of the retention state as 0.
3. The method of claim 1, wherein said updating a retention time and a retention state further comprises:
when the current visit is determined to be the first visit, recording the current starting time as the last starting time; and
the retention time and retention state are held to initial values.
4. A method for retained user analysis in a server, comprising:
receiving, from an electronic device, a signal indicating launching of an application installed in the electronic device;
updating, at the server-side, a retention time and a retention state of a user of the application in response to receiving the signal;
assembling the equipment information, the access information, the retention time and the retention state into a log and storing the assembled log; and
performing a user-preserving analysis from the log,
wherein updating the retention time and the retention state of the user of the application comprises:
storing the current boot time and updating the last boot time, wherein the updating the last boot time comprises: determining whether the current access is a primary access; in response to determining that the current access is not the primary access, updating a previously stored current boot time to a last boot time; and
the retention time and the retention state are updated in sequence according to the current starting time and the last starting time,
wherein updating the retention time and the retention state in sequence according to the current start time and the last start time comprises: updating the retention time and the retention state under the corresponding retention relationship by determining whether the current starting time and each retention time meet the corresponding retention relationship,
wherein the method further comprises: and in response to determining that the current start time and each retention time do not satisfy the corresponding retention relationship, updating the retention time and the retention state according to the last start time.
5. An electronic device in which an application is installed, the electronic device comprising:
a memory configured to store a log of users of the application,
a processor configured to update a retention time and a retention state of a user of the application in response to starting the application, and assemble device information, access information, the retention time, and the retention state into a log, store the assembled log in a memory; and
a communicator configured to transmit the log to a server,
wherein the processor is further configured to update a retention time and a retention state of a user of the application by:
storing the current boot time and updating the last boot time, wherein the updating the last boot time comprises: determining whether the current access is a primary access; in response to determining that the current access is not the primary access, updating a previously stored current boot time to a last boot time; and
the retention time and the retention state are updated in sequence according to the current starting time and the last starting time,
wherein the processor is further configured to: updating the retention time and the retention state under the corresponding retention relationship by determining whether the current starting time and each retention time meet the corresponding retention relationship,
wherein the processor is further configured to: and in response to determining that the current starting time and each retention time do not meet the corresponding retention relationship, updating the retention time and the retention state according to the last starting time.
6. The electronic device of claim 5, wherein the processor is further configured to:
if the last time of starting is in the statistical period corresponding to the retention relationship, updating the corresponding retention time to the last time of starting, and modifying the value of the retention state to 1; and
and if the last starting time is not in the counting period corresponding to the retention relationship, keeping the corresponding retention time as an empty field, and keeping the value of the retention state as 0.
7. The electronic device of claim 5, wherein the processor is further configured to:
when the current visit is determined to be the first visit, recording the current starting time as the last starting time; and
the retention time and retention state are held to initial values.
8. A server in communication with an electronic device having an application installed therein, the server comprising:
a communicator configured to receive a signal indicating to launch an application installed in an electronic device from the electronic device;
a memory configured to store a log of users of the application; and
a processor configured to update a retention time and a retention state of a user of the application in response to receiving the signal; assembling the device information, the access information, the retention time and the retention state into a log and storing the assembled log in the memory; and performing a user-preserving analysis from the log,
wherein the processor is further configured to update a retention time and a retention state of a user of the application by:
storing the current boot time and updating the last boot time, wherein the updating the last boot time comprises: determining whether the current access is a primary access; in response to determining that the current access is not the primary access, updating a previously stored current boot time to a last boot time; and
the retention time and the retention state are updated in sequence according to the current starting time and the last starting time,
wherein the processor is further configured to: updating the retention time and the retention state under the corresponding retention relationship by determining whether the current starting time and each retention time meet the corresponding retention relationship,
wherein the processor is further configured to: and in response to determining that the current starting time and each retention time do not meet the corresponding retention relationship, updating the retention time and the retention state according to the last starting time.
9. An electronic device, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method for persisting user analytics of any of claims 1 to 3 based on instructions stored in the memory.
10. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement a method for persisting user analytics as claimed in any one of claims 1 to 3.
11. A server, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method for persisting user analytics as recited in claim 4 based on instructions stored in the memory.
12. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the method for persisting user analytics as claimed in claim 4.
CN201610977185.0A 2016-11-07 2016-11-07 Method, electronic device, server, and computer-readable storage medium for persisting user analytics Active CN108062313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610977185.0A CN108062313B (en) 2016-11-07 2016-11-07 Method, electronic device, server, and computer-readable storage medium for persisting user analytics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610977185.0A CN108062313B (en) 2016-11-07 2016-11-07 Method, electronic device, server, and computer-readable storage medium for persisting user analytics

Publications (2)

Publication Number Publication Date
CN108062313A CN108062313A (en) 2018-05-22
CN108062313B true CN108062313B (en) 2020-11-24

Family

ID=62137707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610977185.0A Active CN108062313B (en) 2016-11-07 2016-11-07 Method, electronic device, server, and computer-readable storage medium for persisting user analytics

Country Status (1)

Country Link
CN (1) CN108062313B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408559A (en) * 2018-10-09 2019-03-01 北京易观智库网络科技有限公司 Retain the method, apparatus and storage medium of analysis
CN111459783B (en) * 2020-04-03 2023-04-18 北京字节跳动网络技术有限公司 Application program optimization method and device, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5962106B2 (en) * 2012-03-22 2016-08-03 日本電気株式会社 Log creation device, log creation system, log creation program, and log creation method
CN105656858B (en) * 2014-11-17 2018-11-06 阿里巴巴集团控股有限公司 A kind of data-updating method and device
CN104504084B (en) * 2014-12-24 2018-07-31 小米科技有限责任公司 Determine the method and device of user's retention ratio
CN105975351A (en) * 2016-04-25 2016-09-28 乐视控股(北京)有限公司 User behavior message reporting method and apparatus

Also Published As

Publication number Publication date
CN108062313A (en) 2018-05-22

Similar Documents

Publication Publication Date Title
US20220269529A1 (en) Task completion through inter-application communication
CN110400612B (en) Managing user information
US10650048B2 (en) Managing complex service dependencies in a data integration system
US10853373B1 (en) Dynamic data layouts for time-series data
US10970311B2 (en) Scalable snapshot isolation on non-transactional NoSQL
WO2015081915A1 (en) File recommendation method and device
CN107133263B (en) POI recommendation method, device, equipment and computer readable storage medium
US20160062732A1 (en) Method for providing additional functions based on information
CN106484848B (en) Application recommendation method and device
CN111144952A (en) Advertisement recommendation method, device, server and storage medium based on user interests
US20170185636A1 (en) ORDER CONSTRAINT FOR TRANSACTION PROCESSING WITH SNAPSHOT ISOLATION ON NON-TRANSACTIONAL NoSQL SERVERS
CN108062313B (en) Method, electronic device, server, and computer-readable storage medium for persisting user analytics
CN109033103A (en) content recommendation method and system
CN110674397B (en) Method, device, equipment and readable medium for training age point prediction model
US20180267998A1 (en) Contextual and cognitive metadata for shared photographs
US20180329900A1 (en) Prediction models for concurrency control types
CN111177562A (en) Recommendation and sorting processing method and device for target objects and server
US20150170068A1 (en) Determining analysis recommendations based on data analysis context
CN109947799B (en) Method and device for carrying out reverse compression reading on historical data
CN112632266B (en) Data writing method and device, computer equipment and readable storage medium
US20160132583A1 (en) Representative sampling of relational data
US10242707B1 (en) Timing index writes to a tape medium
US10649979B1 (en) System, method, and computer program for maintaining consistency between a NoSQL database and non-transactional content associated with one or more files
KR20150114087A (en) Method and apparatus for providing updated news contents
US9246982B2 (en) Reducing network usage of computing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant