User activity monitoring method and device

By analyzing the reasons for abnormal user visit data and distinguishing actual factors from interference factors, the problem of high false alarm rate in the existing technology is solved, and accurate monitoring and processing of fluctuations in the number of daily active users are achieved.

CN113626289BInactive Publication Date: 2024-10-11BANK OF CHINA
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110998477.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology has a high false alarm rate when monitoring user activity, and cannot accurately analyze the specific reasons for the fluctuations in the number of daily active users, resulting in the inability to make accurate processing decisions.

Method used

By identifying the target interface with abnormal user visit data, analyze the reasons for the abnormality, distinguish actual factors and interference factors, eliminate interference factors, and make response strategies based on actual factors, including product influence, fault reasons, and non-fault reasons.

Benefits of technology

It improves the ability to accurately analyze and process fluctuations in the number of daily active users, reduces the false alarm rate, and ensures the accuracy and effectiveness of user activity monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113626289B_ABST
    Figure CN113626289B_ABST
Patent Text Reader

Abstract

The present invention discloses a user activity monitoring method and device, which relates to the field of communication technology, and is used to monitor whether the number of daily active users of an interface fluctuates, and analyze the reasons for the fluctuations when fluctuations occur, including: determining a target interface with abnormal user access volume data; analyzing the abnormal reasons corresponding to the abnormal user access volume data of each target interface, the abnormal reasons include actual factors and interference factors, the actual factors are data anomalies caused by product influence, and the interference factors include: data anomalies caused by fault-related reasons and data anomalies caused by non-fault-related reasons; outputting the data anomaly reasons corresponding to each target interface, excluding some target interfaces with data anomalies due to interference factors, and making response strategies for some target interfaces with data anomalies due to actual factors. The embodiment of the present invention is applied to the scenario of monitoring whether the number of daily active users of an interface fluctuates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular to a method and device for monitoring user activity. Background Art

[0002] With the continuous development of mobile Internet technology, various products (clients or web pages) are also being released and updated continuously, with the aim of improving user activity and increasing the number of active users, so as to maximize the benefits of the product (client or web page). Therefore, it is necessary to always pay attention to the changes in the number of daily active users of the product. When the number of daily active users increases, the reasons for the increase can be analyzed and corresponding summaries can be made in time; when the number of daily active users decreases, the reasons for the decrease can be analyzed and corresponding problem analysis can be made and handled in time.

[0003] In the existing technical solutions, whether the number of daily active users has changed is determined by monitoring the number of user visits and performing year-on-year or month-on-month changes. This results in a high false alarm rate and makes it impossible to accurately determine the main interface causing the change in the number of daily active users. Therefore, when the number of daily active users fluctuates, it is impossible to accurately analyze and determine the specific reasons for the fluctuation in the number of daily active users, and thus it is impossible to make accurate processing decisions to deal with the abnormal fluctuation in the number of daily active users. Summary of the invention

[0004] Embodiments of the present invention provide a user activity monitoring method and device, which are used to monitor whether the number of daily active users of an interface fluctuates, and analyze the cause of the fluctuation if fluctuation occurs.

[0005] To achieve the above object, the embodiments of the present invention adopt the following technical solutions:

[0006] In a first aspect, a user activity monitoring method is provided, the method comprising: determining a target interface with abnormal user access data; analyzing abnormal causes corresponding to the abnormal user access data of each target interface, the abnormal causes comprising actual factors and interference factors, the actual factors being data anomalies caused by product influence, the interference factors comprising: data anomalies caused by fault-related causes and data anomalies caused by non-fault-related causes; outputting the data anomaly cause corresponding to each target interface, excluding some target interfaces with data anomalies due to interference factors, and formulating response strategies for some target interfaces with data anomalies due to actual factors.

[0007] In one possible implementation, determining a target interface with abnormal user access volume data includes: obtaining the user access volume of a first interface in each unit time as basic data, and comparing the basic data with the first year-on-year data corresponding to the first interface to determine a first year-on-year difference; when the first year-on-year difference is greater than or equal to a preset threshold, determining that the basic data corresponding to the first interface has data anomalies, and determining the first interface as the target interface.

[0008] In a possible implementation, when the first year-on-year difference is greater than or equal to a preset threshold, a user activity monitoring method also includes: when the first year-on-year difference is greater than or equal to the preset threshold, obtaining the user access volume of the second interface in each unit time as comparison data, the second interface being the upstream interface or downstream interface of the first interface; comparing the comparison data with the second year-on-year data corresponding to the second interface to determine the second year-on-year difference; when the second year-on-year difference is greater than or equal to the preset threshold, determining that there is no data anomaly in the basic data corresponding to the first interface, and the first interface is not the target interface.

[0009] In a possible implementation, a user activity monitoring method also includes: when the first year-on-year difference is greater than or equal to a preset threshold and the second year-on-year difference is less than the preset threshold, determining that there is a data anomaly in the basic data corresponding to the first interface; analyzing the abnormal reasons corresponding to the user access data anomaly of each target interface, including: filtering out interfaces whose user access data anomalies are caused by interference factors, and screening out interfaces whose user access data anomalies are caused by actual factors; data anomalies caused by fault-related reasons include at least one of the following: data anomalies caused by client operation anomalies, data anomalies caused by server operation anomalies, and data anomalies caused by network anomalies; data anomalies caused by non-fault-related reasons include at least one of the following: data anomalies caused by holidays, data anomalies caused by hot news, and data anomalies caused by operational activities.

[0010] In a second aspect, a user activity monitoring device is provided, which includes: a determination unit, an analysis unit and a processing unit; the determination unit is used to determine the target interface with abnormal user access data; the analysis unit is used to analyze the abnormal reasons corresponding to the abnormal user access data of each target interface, the abnormal reasons include actual factors and interference factors, the actual factors are data anomalies caused by product influence, and the interference factors include: data anomalies caused by fault-related reasons and data anomalies caused by non-fault-related reasons; the processing unit is used to output the data anomaly reasons corresponding to each target interface, exclude some target interfaces with data anomalies due to interference factors, and make response strategies for some target interfaces with data anomalies due to actual factors.

[0011] In a third aspect, a computer-readable storage medium storing one or more programs is provided. The one or more programs include instructions. When the instructions are executed by a computer, the computer executes a user activity monitoring method as described in the first aspect.

[0012] In a fourth aspect, an electronic device comprises: a processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the electronic device is running, the processor executes the computer execution instructions stored in the memory to enable the electronic device to perform a user activity monitoring method as in the first aspect.

[0013] An embodiment of the present invention provides a user activity monitoring method and device, which are applied to a scenario in which the number of daily active users of a monitoring interface fluctuates. First, the user access volume corresponding to all interfaces is determined, and the user access volume corresponding to each interface is analyzed to determine whether there is data anomaly, and the interface with abnormal user access volume data is determined as the target interface; further, the abnormal reasons corresponding to the abnormal user access volume data of each target interface are specifically analyzed to divide the interfaces with abnormal user access volume data into two categories: data anomalies caused by actual factors and data anomalies caused by interference factors, wherein the actual factors can be understood as data anomalies caused by product influence, and the interference factors can be understood as data anomalies caused by fault-related reasons and data anomalies caused by non-fault-related reasons; finally, the data anomaly reasons corresponding to each target interface can be output, and some target interfaces with data anomalies due to interference factors are excluded, and response strategies are made for some target interfaces with data anomalies due to actual factors, so as to effectively respond to the situation in which the number of daily active users of the interface fluctuates, and improve the effect of monitoring the number of daily active users of the interface. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A schematic diagram of the structure of a user activity monitoring system provided by an embodiment of the present invention;

[0015] Figure 2 A flowchart of an existing user activity monitoring method is shown;

[0016] Figure 3 A user activity monitoring method provided by an embodiment of the present invention Figure 1 ;

[0017] Figure 4 A schematic diagram of a user activity monitoring method module provided by an embodiment of the present invention;

[0018] Figure 5 A user activity monitoring method provided by an embodiment of the present invention Figure 2 ;

[0019] Figure 6 A user activity monitoring data line diagram provided by an embodiment of the present invention Figure 1 ;

[0020] Figure 7 A user activity monitoring method provided by an embodiment of the present invention Figure 3 ;

[0021] Figure 8 A user activity monitoring data line diagram provided by an embodiment of the present invention Figure 2 ;

[0022] Fig. 9 A user activity monitoring method provided by an embodiment of the present invention Figure 4 ;

[0023] Fig.10 A user activity monitoring method provided by an embodiment of the present invention Figure 5 ;

[0024] Fig.11 A schematic diagram of a user activity monitoring device provided by an embodiment of the present invention Figure 1 ;

[0025] Fig.12 A schematic diagram of a user activity monitoring device provided by an embodiment of the present invention Figure 2 ;

[0026] Fig.13 A schematic diagram of an electronic device structure provided by an embodiment of the present invention Figure 1 ;

[0027] Fig.14 A schematic diagram of an electronic device structure provided by an embodiment of the present invention Figure 2 . DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0029] In the description of the present invention, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" and "plurality" refer to two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0030] A user activity monitoring method provided by an embodiment of the present invention can be applied to a user activity monitoring system. Figure 1 FIG. 1 shows a schematic diagram of the structure of the user activity monitoring system. Figure 1 As shown, the user activity monitoring system 10 includes an electronic device 11 and a server 12. The electronic device 11 is connected to the server 12. The electronic device 11 and the server 12 may be connected in a wired manner or in a wireless manner, which is not limited in the embodiment of the present invention.

[0031] The electronic device 11 may be used in the Internet of Things, and the electronic device 11 may include hardware such as multiple central processing units (CPUs), multiple memories, and storage devices storing multiple operating systems.

[0032] The electronic device 11 can be used to exchange instructions or data with the server 12. For example, the electronic device 11 can obtain instructions or data sent by the server 12, and then execute the instructions sent by the server 12, or store the data sent by the server 12.

[0033] The server 12 can also be used in the Internet of Things to send instructions or data to the electronic device 11.

[0034] It should be noted that the electronic device 11 and the server 12 may be independent devices or integrated into the same device, and the present invention does not specifically limit this.

[0035] When the electronic device 11 and the server 12 are integrated into the same device, the communication between the electronic device 11 and the server 12 is the communication between the internal modules of the device. In this case, the communication process between the two is the same as "the communication process between the electronic device 11 and the server 12 when they are independent of each other".

[0036] In the following embodiments provided by the present invention, the present invention is described by taking the electronic device 11 and the server 12 as being independently configured.

[0037] Most of the existing technical solutions are based on simple year-on-year data to determine the changes in the number of daily active users, which has a large number of false positives, and cannot analyze the reasons for fluctuations, nor can it filter out normal fluctuations. Figure 2 As shown in the figure, the current daily active user number monitoring only monitors the fluctuation of the number of user visits at the hourly level year-on-year or month-on-month level. For example, if the current hourly user visits are 90,000, and the hourly user visits last week were 80,000, and the fluctuation threshold is set to 10%, then the year-on-year fluctuation is greater than 10%, triggering an alarm.

[0038] The existing technology has a high false alarm rate and cannot exclude the fluctuation of user access caused by natural fluctuations, real-time hot spots, network equipment failures, holidays and other factors. For example, when comparing the data of this Friday with the data of last Friday, if this Friday is a legal holiday, the comparison in this case is likely to have false alarms such as fluctuations in the number of active users. And it is not possible to find the main interface for fluctuations in the number of daily active users based on the relationship between the upstream and downstream interfaces of the interface. For example, if the fluctuation of the sub-interface is affected by the parent interface, there is no need to alarm both interfaces.

[0039] The daily activity of users is the beating heart of a product. Keeping an eye on its changes plays an important role in guiding the value of the product. By monitoring the increase in the number of daily active users, we can further determine if it is caused by a fault and repair it; if it is a hot event, follow up on the hot spot in a timely manner; if it is caused by product activities, evaluate the effect of the activities; if it is caused by product optimization, summarize the optimization experience and continue to iterate; monitor the decrease in the number of daily active users, further analyze whether it is caused by a fault and repair it in time to stop the loss; if it is a natural decline, quickly formulate product optimization and operation activity plans.

[0040] A user activity monitoring method provided by an embodiment of the present invention is described below with reference to the accompanying drawings.

[0041] like Figure 3 As shown, a user activity monitoring method provided by an embodiment of the present invention is applied to an electronic device including multiple memories and multiple central processing units (CPUs), including: S201-S203:

[0042] S201. The electronic device determines a target interface with abnormal user access data.

[0043] As a possible implementation method, the electronic device monitors the user access volume per unit time corresponding to each interface in real time in a preset manner, and each interface can be any of the following: a web page interface, a product terminal interface, an application program interface, etc.

[0044] As a possible implementation method, after the electronic device detects the user access volume per unit time corresponding to each interface, the electronic device can detect these data to filter out user access volume with abnormal data from all data centers and determine the target interface corresponding to the user access volume with abnormal data.

[0045] S202: The electronic device analyzes the abnormal reasons corresponding to the abnormal user access volume data of each target interface.

[0046] Among them, the abnormal causes include actual factors and interference factors. The actual factors are data anomalies caused by product influence, and the interference factors include: data anomalies caused by fault-related reasons and data anomalies caused by non-fault-related reasons.

[0047] As a possible implementation method, after the electronic device determines the target interface corresponding to the user access volume with abnormal data, the electronic device can further analyze the reasons causing the abnormal user access volume data of the target interface and timely adopt corresponding strategies to adjust the target interface.

[0048] It should be noted that during the long-term operation of a device or network, uncertain factors (the influence of the product) may cause abnormalities in the user access data of certain interfaces. These factors can be called actual factors. For example, competing products attract users and cause a decrease in user access to the interface of this product.

[0049] The other part that causes abnormal user access data of the interface can be called interference factors. For example, equipment failure or network failure causes users to be unable to access the interface, resulting in a decrease in user access to the interface of this product. These factors can be understood as unavoidable factors and are called failure-related reasons. Or factors such as user loss due to holidays, and a decrease in users due to insufficient highlights of operational activities can be called non-fault-related reasons. These reasons can be repaired or improved in a timely manner, thereby eliminating fluctuations in user access.

[0050] S203. The electronic device outputs the reason for the data anomaly corresponding to each target interface, excludes some target interfaces with data anomaly due to interference factors, and formulates a response strategy for some target interfaces with data anomaly due to actual factors.

[0051] As a possible implementation method, after the electronic device analyzes and determines the abnormal cause corresponding to the abnormal user access data of each target interface, the electronic device can output the data abnormal cause of each target interface for the user (holder of the product corresponding to the interface) to view.

[0052] As a possible implementation method, the electronic device can further analyze the cause of the data anomaly corresponding to each target interface to classify the target interface according to the cause of the data anomaly, so as to determine whether the data anomaly corresponding to the target interface is caused by actual factors or interference factors.

[0053] As a possible implementation method, the electronic device can exclude some target interfaces with data anomalies caused by interference factors. The data anomalies caused by interference factors on these target interfaces can eliminate the data anomalies of user access volume over time and restore normal user access volume.

[0054] As a possible implementation method, the electronic device can also formulate corresponding response strategies for the target interface where data anomalies are caused by practical factors. For example, if data anomalies are caused by product influence, the product version can be updated and iterated in a timely manner, or new modules can be developed and added to the product, and users can be attracted through various activities to cope with fluctuations in user access.

[0055] As a possible implementation, combining Figure 4 As shown, it is a module architecture diagram provided in an embodiment of the present application, which specifically includes a data acquisition module: basic data, monitoring data, operational data, and iterative data; a recall analysis module: data standardization analysis, recall layer, and analysis layer; and a result processing module: a disposal layer and a storage layer.

[0056] In an embodiment of the present invention, the daily user activity is like a beating heart for the product. Developers (users) need to pay attention to changes in the daily user activity at all times. When monitoring the increase in the number of daily active users, it is possible to promptly locate whether it is caused by a fault, so as to make timely repairs and restore accurate monitoring; if it is caused by a hot event, follow up on the event in a timely manner and strengthen the monitoring of user activity; if it is caused by an official activity, the effect of the activity is promptly evaluated; if it is caused by product version optimization, the experience is summarized to prepare for the next version iteration. When monitoring the decrease in the number of daily active users, it is possible to further analyze whether it is caused by equipment failure or network failure, so as to make timely repairs; if it is caused by natural factors, a product optimization and operation activity plan is quickly formulated. In this way, it is possible to efficiently monitor whether the user access data is abnormal.

[0057] In one design, there is an abnormal interface for initially obtaining user access data, such as Figure 5 As shown, S201 provided in the embodiment of the present invention may specifically include the following S301-S302.

[0058] S301. The electronic device obtains the user access volume of the first interface in each unit time as basic data, and compares the basic data with the first year-on-year data corresponding to the first interface to determine a first year-on-year difference.

[0059] As a possible implementation, in order to filter out interfaces with abnormal user access data from all interfaces, a basic filtering layer may be defined to filter out interfaces with abnormal data from all interfaces through the basic filtering layer.

[0060] As a possible implementation, combining Figure 6As shown, by obtaining the number of user visits to the first interface of the day within a unit time (for example, one hour), and the year-on-year data (that is, the data of the corresponding time on the same day in recent weeks is used as a baseline) to make a trend chart for comparison, and the difference exceeding the preset threshold is determined to be abnormal data.

[0061] As a possible implementation method, the above-mentioned first interface is any interface among all interfaces, and the first year-on-year data corresponding to the above-mentioned first interface is: the number of user visits to the first interface per unit time in the past period of time. For example, the basic data is the data corresponding to 19:00 on the 24th of the current month, and the first year-on-year data can be the data corresponding to 19:00 on the 24th of the previous month.

[0062] It should be noted that this step is described by taking one interface as an example, and similarly, any interface among all interfaces can be implemented through the exemplary description of the present invention.

[0063] S302: When the first year-on-year difference is greater than or equal to a preset threshold, the electronic device determines that there is a data anomaly in the basic data corresponding to the first interface, and determines the first interface as a target interface.

[0064] As a possible implementation method, the difference between the user access volume of the first interface in unit time (i.e., basic data) and the corresponding year-on-year data (i.e., first year-on-year data) is determined, and it is judged whether the difference exceeds a preset threshold, so as to determine whether the basic data corresponding to the first interface is abnormal data.

[0065] In an embodiment of the present invention, the electronic device can obtain the number of user visits to the first interface in each unit time as basic data, and obtain the first year-on-year data corresponding to the first interface in the past time, so as to compare the basic data with the first year-on-year data to determine a first year-on-year difference, and judge the first year-on-year difference by a preset threshold, so as to determine that there is data anomaly in the basic data corresponding to the first interface when the first year-on-year difference is greater than or equal to the preset threshold, thereby accurately screening out the target interface with data anomaly.

[0066] In one design, in order to accurately determine the interface with abnormal user access data, such as Figure 7 As shown, when the first year-on-year difference is greater than or equal to a preset threshold, a user activity monitoring method provided by an embodiment of the present invention may further include the following S401-S403.

[0067] S401: When the first year-on-year difference is greater than or equal to a preset threshold, the electronic device obtains the number of user visits to the second interface in each unit time as comparison data.

[0068] The second interface is an upstream interface or a downstream interface of the first interface.

[0069] As a possible implementation, combining Figure 8 As shown, when it is determined that the first year-on-year difference corresponding to the first interface is greater than or equal to the preset threshold, the data corresponding to the upstream and downstream interfaces (i.e., the second interface) of the first interface can be obtained (i.e., comparison data). If the data corresponding to the upstream and downstream interfaces show the same trend, it is considered that the data fluctuation of the first interface is normal.

[0070] S402: The electronic device compares the comparison data with the second year-on-year data corresponding to the second interface to determine a second year-on-year difference.

[0071] As a possible implementation method, the electronic device can obtain the user access volume of the second interface within a unit time (i.e., comparison data), and obtain the second year-on-year data corresponding to the second interface (i.e., the user access volume within the corresponding year-on-year time) to compare and determine the second year-on-year difference.

[0072] As a possible implementation manner, when the second year-on-year difference of the second interface within the same period of time also exceeds the preset threshold, it is determined that the data fluctuation of the first interface is a normal phenomenon.

[0073] S403: When the second year-on-year difference is greater than or equal to a preset threshold, the electronic device determines that there is no data anomaly in the basic data corresponding to the first interface and the first interface is not the target interface.

[0074] As a possible implementation method, if the second year-on-year difference corresponding to the second interface and the first year-on-year difference corresponding to the first interface are both greater than or equal to a preset threshold, it can be determined that there is no abnormality in the basic data corresponding to the first interface.

[0075] As a possible implementation method, when the first year-on-year difference corresponding to the first interface is greater than or equal to a preset threshold, and the second year-on-year difference corresponding to the second interface is less than the preset threshold, it is determined that there is an abnormality in the basic data corresponding to the first interface for further analysis and judgment.

[0076] In an embodiment of the present invention, when it is determined that the first year-on-year difference is greater than or equal to a preset threshold, in order to accurately determine whether there is data anomaly in the user access data of the first interface, the electronic device can obtain the user access data of the second interface upstream and downstream of the first interface in each unit time as comparison data, and compare the comparison data with the second year-on-year data corresponding to the second interface to determine the second year-on-year difference, so that further, when the second year-on-year difference is greater than or equal to the preset threshold, the electronic device can determine that there is no data anomaly in the basic data corresponding to the first interface, and when the second year-on-year difference is less than the preset threshold, the electronic device can determine that there is data anomaly in the basic data corresponding to the first interface.

[0077] In one design, in order to determine the reason why the user access volume data of the outbound interface is abnormal, such as Fig. 9 As shown, a user activity monitoring method provided by an embodiment of the present invention may further include the following S501, and S202 provided by an embodiment of the present invention may further include the following S502.

[0078] S501: When the first year-on-year difference is greater than or equal to a preset threshold and the second year-on-year difference is less than the preset threshold, the electronic device determines that there is a data anomaly in the basic data corresponding to the first interface.

[0079] As a possible implementation method, in order to more accurately determine the interface with abnormal user access data, the user access volume of the second interface upstream and downstream of the first interface can be analyzed simultaneously, so as to more accurately determine whether the user access data of the first interface is abnormal.

[0080] S502: The electronic device filters out interfaces whose user access data is abnormal due to interference factors, and selects interfaces whose user access data is abnormal due to actual factors.

[0081] Among them, data anomalies caused by fault-related reasons include at least one of the following: data anomalies caused by client operation abnormalities, data anomalies caused by server operation abnormalities, and data anomalies caused by network abnormalities; data anomalies caused by non-fault-related reasons include at least one of the following: data anomalies caused by holidays, data anomalies caused by hot news, and data anomalies caused by operational activities.

[0082] As a possible implementation method, an influencing factor model filter layer may be defined to filter out interfaces where data anomalies are caused by interference factors.

[0083] As a possible implementation method, since the core purpose of monitoring the number of daily active users is to determine whether the value of the product can guide users to use it, when the number of daily active users fluctuates, analyzing the value of the product is the core, and fluctuations caused by other factors do not have much guiding value. Therefore, it is necessary to accurately determine the reasons for the fluctuations in the number of daily active users.

[0084] As a possible implementation method, when determining whether the user access volume data of an interface is abnormal, it is necessary to determine whether the data abnormality is caused by a fault. It is necessary to filter by fault conditions and iteratively call multiple fault discrimination models to determine the specific cause of the interface data abnormality.

[0085] As a possible implementation method, to determine whether the data anomaly is caused by non-fault reasons, it is necessary to filter by non-fault conditions, iteratively call multiple non-fault discrimination models, and determine the specific cause of the interface data anomaly.

[0086] As a possible implementation, combining Fig.10 As shown, the present invention is described in detail through a more specific process in the diagram, which may specifically include a basic filtering layer and an impact factor model filtering layer, wherein the impact factor model filtering layer includes a fault filtering model and a non-fault filtering model.

[0087] In the embodiment of the present invention, by defining the basic filtering layer, interfaces with abnormal user access volume are filtered out, and by defining the influencing factor model filtering layer, interfaces with abnormal user access volume caused by interference factors are filtered out. Therefore, when the number of daily active users is monitored to increase or decrease, the specific reasons can be further located and corresponding response strategies can be formulated.

[0088] An embodiment of the present invention provides a user activity monitoring method and device, which are applied to a scenario in which the number of daily active users of a monitoring interface fluctuates. First, the user access volume corresponding to all interfaces is determined, and the user access volume corresponding to each interface is analyzed to determine whether there is data anomaly, and the interface with abnormal user access volume data is determined as the target interface; further, the abnormal reasons corresponding to the abnormal user access volume data of each target interface are specifically analyzed to divide the interfaces with abnormal user access volume data into two categories: data anomalies caused by actual factors and data anomalies caused by interference factors, wherein the actual factors can be understood as data anomalies caused by product influence, and the interference factors can be understood as data anomalies caused by fault-related reasons and data anomalies caused by non-fault-related reasons; finally, the data anomaly reasons corresponding to each target interface can be output, and some target interfaces with data anomalies due to interference factors are excluded, and response strategies are made for some target interfaces with data anomalies due to actual factors, so as to effectively respond to the situation in which the number of daily active users of the interface fluctuates, and improve the effect of monitoring the number of daily active users of the interface.

[0089] The above mainly introduces the solution provided by the embodiment of the present invention from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiment disclosed in this article, the embodiment of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0090] The embodiment of the present invention can divide the functional modules of a user activity monitoring device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present invention is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0091] Fig.11 A schematic diagram of the structure of a user activity monitoring device provided by an embodiment of the present invention. Fig.11 As shown, a user activity monitoring device 50 is used to monitor whether the number of daily active users of an interface fluctuates, and analyze the cause of the fluctuation if fluctuation occurs, for example, to perform Figure 3 A user activity monitoring method is shown. The user activity monitoring device 50 includes: a determination unit 501, an analysis unit 502 and a processing unit 503.

[0092] The determination unit 501 is used to determine the target interface of the abnormal user access volume data. Figure 3 As shown, the determining unit 501 can be used to execute S201.

[0093] The analysis unit 502 is used to analyze the abnormal reasons corresponding to the abnormal user access volume data of each target interface. The abnormal reasons include actual factors and interference factors. The actual factors are data abnormalities caused by product influence. Interference factors include data abnormalities caused by fault-related reasons and data abnormalities caused by non-fault-related reasons. Figure 3 As shown, the analysis unit 502 can be used to execute S202.

[0094] The processing unit 503 is used to output the data anomaly reason corresponding to each target interface, exclude some target interfaces with data anomaly due to interference factors, and formulate a response strategy for some target interfaces with data anomaly due to actual factors. Figure 3 As shown, the processing unit 503 can be used to execute S203.

[0095] Optional, combined Fig.11 ,like Fig.12 As shown, a user activity monitoring device 50 provided by an embodiment of the present invention further includes: an acquisition unit 504.

[0096] The acquisition unit 504 is used to acquire the user access volume of the first interface in each unit time as basic data, and compare the basic data with the first year-on-year data corresponding to the first interface to determine a first year-on-year difference. Figure 5 As shown, the acquisition unit 504 can be used to execute S301.

[0097] The determination unit 501 is specifically configured to determine that the basic data corresponding to the first interface has data anomalies when the first year-on-year difference is greater than or equal to a preset threshold, and determine the first interface as a target interface. Figure 5 As shown, the determining unit 501 can be used to execute S302.

[0098] Optional, such as Fig.12 As shown, the acquisition unit 504 provided in the embodiment of the present invention is also used to acquire the user access volume of the second interface in each unit time as comparison data when the first year-on-year difference is greater than or equal to a preset threshold, and the second interface is an upstream interface or a downstream interface of the first interface. Figure 7 As shown, the acquisition unit 504 can be used to execute S401.

[0099] The determination unit 501 is further configured to compare the comparison data with the second year-on-year data corresponding to the second interface to determine a second year-on-year difference. Figure 7 As shown, the determining unit 501 can be used to execute S402.

[0100] The determination unit 501 is further configured to determine that the basic data corresponding to the first interface does not have data anomalies and the first interface is not the target interface when the second year-on-year difference is greater than or equal to a preset threshold. Figure 7 As shown, the determining unit 501 can be used to execute S403.

[0101] Optional, such as Fig.12 As shown, the determination unit 501 provided in the embodiment of the present invention is also used to determine that the basic data corresponding to the first interface has data anomalies when the first year-on-year difference is greater than or equal to a preset threshold and the second year-on-year difference is less than the preset threshold. Fig. 9 As shown, the determining unit 501 can be used to execute S501.

[0102] The analysis unit 502 is specifically used to filter out interfaces with abnormal user access data caused by interference factors, and filter out interfaces with abnormal user access data caused by actual factors; data anomalies caused by fault-related reasons include at least one of the following: data anomalies caused by abnormal client operation, data anomalies caused by abnormal server operation, and data anomalies caused by network anomalies; data anomalies caused by non-fault-related reasons include at least one of the following: data anomalies caused by holidays, data anomalies caused by hot news, and data anomalies caused by operational activities. For example, Fig. 9 As shown, the analyzing unit 502 may be used to execute S502.

[0103] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present invention provides another possible structural diagram of the electronic device involved in the above-mentioned embodiment. Fig.13 As shown, an electronic device 60 is used to efficiently evaluate the situation in which the product activity changes due to the adjustment of product content during product iteration and update, for example, Figure 3 A user activity monitoring method is shown. The electronic device 60 includes a processor 601, a memory 602 and a bus 603. The processor 601 and the memory 602 may be connected via a bus 603.

[0104] The processor 601 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 601 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0105] As an embodiment, the processor 601 may include one or more CPUs, such as Figure 7 CPU 0 and CPU 1 are shown in .

[0106] The memory 602 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0107] As a possible implementation, the memory 602 may exist independently of the processor 601, and the memory 602 may be connected to the processor 601 via a bus 603 to store instructions or program codes. When the processor 601 calls and executes the instructions or program codes stored in the memory 602, a user activity monitoring method provided in an embodiment of the present invention can be implemented.

[0108] In another possible implementation, the memory 602 may also be integrated with the processor 601 .

[0109] The bus 603 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0110] It should be pointed out that Fig.13 The structure shown does not constitute a limitation on the electronic device 60. Fig.13 In addition to the components shown, the electronic device 60 may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0111] As an example, combining Fig.11 The functions implemented by the determination unit 501, the analysis unit 502 and the processing unit 503 in the electronic device are similar to those Fig.13 The function of processor 601 in is the same.

[0112] Optional, such as Fig.13 As shown, the electronic device 60 provided in the embodiment of the present invention may further include a communication interface 604 .

[0113] The communication interface 604 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 604 may include a receiving unit for receiving data and a sending unit for sending data.

[0114] In one design, in the electronic device provided by an embodiment of the present invention, the communication interface may also be integrated into the processor.

[0115] Fig.14 FIG. 2 shows another hardware structure of an electronic device in an embodiment of the present invention. Fig.14 As shown, the electronic device 80 may include a processor 801, a communication interface 802, a memory 803 and a bus 804. The processor 801 is coupled to the communication interface 802 and the memory 803.

[0116] The functions of the processor 801 may refer to the description of the processor 601. In addition, the processor 801 also has a storage function, which may refer to the function of the memory 602.

[0117] The communication interface 802 is used to provide data to the processor 801. The communication interface 802 may be an internal interface of the communication device, or an external interface of the communication device (equivalent to the communication interface 604).

[0118] It should be pointed out that Figure 8 The structure shown in the figure does not constitute a limitation on the electronic device 80, except Fig.14 In addition to the components shown, the electronic device 80 may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0119] Through the description of the above implementation methods, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0120] An embodiment of the present invention further provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiment.

[0121] An embodiment of the present invention provides a computer program product including instructions. When the instructions are executed on a computer, the computer is enabled to execute a user activity monitoring method in the above method embodiment.

[0122] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium in a suitable combination of the above, or numerical values ​​in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). In embodiments of the present invention, computer-readable storage media may be any tangible media that contains or stores a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0123] Since the electronic device, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present invention will not be described in detail here.

[0124] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A user activity monitoring method, applied to electronic equipment, It is characterized in that include: Acquire the user access volume of the first interface in each unit time as basic data, and compare the basic data with the first year-on-year data corresponding to the first interface to determine a first year-on-year difference; When the first year-on-year difference is greater than or equal to a preset threshold, it is determined that the basic data corresponding to the first interface has data anomalies, and the first interface is determined as a target interface; Analyze the abnormal reasons corresponding to the abnormal user access data of each target interface, the abnormal reasons include actual factors and interference factors, the actual factors are data anomalies caused by product influence, the interference factors include: data anomalies caused by fault-related reasons and data anomalies caused by non-fault-related reasons, the product influence indicates the attractiveness of the product to users, the data anomalies caused by fault-related reasons include at least one of the following: data anomalies caused by client operation abnormalities, data anomalies caused by server operation abnormalities, and data anomalies caused by network abnormalities; the data anomalies caused by non-fault-related reasons include at least one of the following: data anomalies caused by holidays, data anomalies caused by hot news, and data anomalies caused by operational activities; The data anomaly reason corresponding to each target interface is output, some target interfaces with data anomaly caused by the interference factors are excluded, and a response strategy is made for some target interfaces with data anomaly caused by the actual factors.

2. The method according to claim 1, It is characterized in that When the first year-on-year difference is greater than or equal to the preset threshold, the user activity monitoring method further includes: When the first year-on-year difference is greater than or equal to the preset threshold, obtaining the user access volume of the second interface in each unit time as comparison data, where the second interface is an upstream interface or a downstream interface of the first interface; Compare the comparison data with the second year-on-year data corresponding to the second interface to determine a second year-on-year difference; When the second year-on-year difference is greater than or equal to the preset threshold, it is determined that there is no data anomaly in the basic data corresponding to the first interface, and the first interface is not the target interface.

3. The method according to claim 2, It is characterized in that The user activity monitoring method further includes: When the first year-on-year difference is greater than or equal to the preset threshold, and the second year-on-year difference is less than the preset threshold, it is determined that the basic data corresponding to the first interface has data anomaly; The analysis of the abnormal reasons corresponding to the abnormal user access volume data of each target interface includes: The interfaces whose user access volume data is abnormal due to the interference factors are filtered out, and the interfaces whose user access volume data is abnormal due to the actual factors are screened out.

4. A user activity monitoring device, It is characterized in that include: an acquisition unit, a determination unit, an analysis unit, and a processing unit; The acquisition unit is used to acquire the user access volume of the first interface in each unit time as basic data, and compare the basic data with the first year-on-year data corresponding to the first interface to determine a first year-on-year difference; The determining unit is configured to determine that the basic data corresponding to the first interface has a data anomaly when the first year-on-year difference is greater than or equal to a preset threshold, and determine the first interface as a target interface; The analysis unit is used to analyze the abnormal reasons corresponding to the abnormal user access data of each target interface, the abnormal reasons include actual factors and interference factors, the actual factors are data abnormalities caused by product influence, the interference factors include: data abnormalities caused by fault-related reasons and data abnormalities caused by non-fault-related reasons, the product influence indicates the attractiveness of the product to users, the data abnormalities caused by fault-related reasons include at least one of the following: data abnormalities caused by client operation abnormalities, data abnormalities caused by server operation abnormalities, and data abnormalities caused by network abnormalities; the data abnormalities caused by non-fault-related reasons include at least one of the following: data abnormalities caused by holidays, data abnormalities caused by hot news, and data abnormalities caused by operational activities; The processing unit is used to output the data anomaly reason corresponding to each target interface, exclude some target interfaces with data anomaly caused by the interference factor, and formulate a response strategy for some target interfaces with data anomaly caused by the actual factor.

5. A user activity monitoring device according to claim 4, It is characterized in that The acquisition unit is further configured to acquire, when the first year-on-year difference is greater than or equal to the preset threshold, the number of user visits of the second interface in each unit time as comparison data, the second interface being an upstream interface or a downstream interface of the first interface; The determining unit is further configured to compare the comparison data with second year-on-year data corresponding to the second interface to determine a second year-on-year difference; The determination unit is further configured to determine, when the second year-on-year difference is greater than or equal to the preset threshold, that there is no data anomaly in the basic data corresponding to the first interface and that the first interface is not the target interface.

6. A user activity monitoring device according to claim 5, It is characterized in that The determining unit is further configured to determine that the basic data corresponding to the first interface has a data anomaly when the first year-on-year difference is greater than or equal to the preset threshold and the second year-on-year difference is less than the preset threshold; The analysis unit is specifically used to filter out interfaces whose user access data is abnormal due to the interference factors, and screen out interfaces whose user access data is abnormal due to the actual factors.

7. A computer-readable storage medium storing one or more programs, It is characterized in that The one or more programs include instructions, which, when executed by a computer, enable the computer to perform a user activity monitoring method according to any one of claims 1 to 3.

8. An electronic device, It is characterized in that include: A processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory to enable the electronic device to perform a user activity monitoring method described in any one of claims 1-3.

Citation Information

Patent Citations

  • An exception handling method and apparatus

    CN109257196A

  • Traffic data monitoring method and device, electronic equipment and computer readable medium

    CN110995524A

  • Abnormity detection and attribution method and device, equipment and computer readable storage medium

    CN111901171A

  • Monitoring method, device and equipment of online service system and storage medium

    CN113204467A

  • Data collection-based interface service function monitoring method, and system

    WO2021027422A1