Application usage result generation method, device, electronic device and storage medium

By analyzing the characteristic parameters in the network data generated by the user terminal and determining the application whose weighting sum exceeds the threshold, the problem of inaccurate judgment of the application usage time in the prior art is solved, and higher accuracy is achieved.

CN112948209BActive Publication Date: 2024-11-29EVERSEC BEIJING TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110213478.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-25
Publication Date
2024-11-29
Estimated Expiration
2041-02-25

AI Technical Summary

Technical Problem

Existing technologies cannot accurately judge the length of time users use applications, resulting in insufficient accuracy in determining the degree of application usage.

Method used

By obtaining the total network data generated by the user during the use of the terminal, including characteristic parameters such as usage time, network capacity and number of connections, analyzing the values ​​of these parameters, determining the application with weighted sum exceeding the threshold, and generating usage results to improve the accuracy of judgment Spend.

Benefits of technology

It improves the accuracy of judging the usage time of the application, can more accurately reflect the user's use of the application, and meet the needs of users and network operators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112948209B_ABST
    Figure CN112948209B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention disclose a method, device, electronic device and storage medium for generating application usage results. The method comprises: obtaining total network data generated by a user in the process of using a terminal; wherein the total network data comprises at least one characteristic parameter and application usage attributes; if the application usage attributes comprise preset attributes, analyzing the value of the at least one characteristic parameter in the total network data; determining the application whose final value exceeds a threshold value according to the value of the at least one characteristic parameter; wherein the final value is a weighted sum of the values; and counting the application usage results, and generating the usage results to the terminal. The use of the above-mentioned technical means can achieve the purpose of improving the accuracy of judging the application usage time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for generating application usage results. Background Art

[0002] At present, more and more people interact through terminals, but the existing technology can only distinguish the applications used by users, but cannot accurately determine the length of time users use the applications. For users or network operators, the length of time is a major reference value for judging the degree of application usage.

[0003] Therefore, there is an urgent need for a method for generating application usage results that can improve the accuracy of determining application usage time. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, electronic device and storage medium for generating application usage results, so as to achieve the purpose of improving the accuracy of determining the application usage time.

[0005] In a first aspect, an embodiment of the present invention provides a method for generating an application usage result, comprising:

[0006] Obtaining total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameter includes the total time for which the user uses at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the use of at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time;

[0007] If the application usage attribute includes a preset attribute, analyzing a value of the at least one characteristic parameter in the total network data;

[0008] Determine, according to the value of the at least one characteristic parameter, an application whose final value exceeds a threshold; wherein the final value is a weighted sum of the values;

[0009] The usage results of the application are counted and generated to the terminal.

[0010] Optionally, after acquiring the total network data generated by the user in the process of using the terminal, the method further includes:

[0011] If the application in the total network data is in the blacklist, the network data generated by the application is deleted from the total network data.

[0012] Optionally, after acquiring the total network data generated by the user in the process of using the terminal, the method further includes:

[0013] If the domain name address of the application exists in the total network data and is in the preset list, the network data generated by the application is deleted from the total network data.

[0014] Optionally, after deleting the network data generated by the application from the total network data, the method further includes:

[0015] If there are different applications corresponding to the same access address in the total network data, the application closest to the access address in time order is used as the application corresponding to the access address;

[0016] The duration corresponding to the access address is recorded as the usage duration of the application program.

[0017] Optionally, after determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes:

[0018] If there are two applications with the same identification information in the same time period, the usage status of the two applications is compared with the mapping table; wherein the identification information is information used to characterize the user's use of the application;

[0019] The same application as in the mapping table is regarded as the application whose final value exceeds the threshold value in the time period.

[0020] Optionally, after determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes:

[0021] If the application program calls other applications during use, the other applications are deleted from the list; wherein the list presents applications whose final values ​​exceed a threshold.

[0022] Optionally, after determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes:

[0023] If there is an application in the whitelist whose characteristic parameters do not exceed the threshold, the usage results of the application are counted and generated to the terminal.

[0024] Optionally, after acquiring the total network data generated by the user in the process of using the terminal, the method further includes:

[0025] If the application usage attribute does not include a preset attribute, the analysis of the value of the at least one characteristic parameter in the total network data is terminated.

[0026] Optionally, before determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes:

[0027] Different thresholds are set according to the operating system type of the terminal.

[0028] In a second aspect, an embodiment of the present invention further provides a device for generating application usage results, including:

[0029] A total network data acquisition module is used to acquire the total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameter includes the total time of the user using at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the user using at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time;

[0030] a characteristic parameter value analysis module, configured to analyze the value of the at least one characteristic parameter in the total network data if the application usage attribute includes a preset attribute;

[0031] An application determination module, configured to determine, based on the value of the at least one characteristic parameter, an application whose final value exceeds a threshold; wherein the final value is a weighted sum of the values;

[0032] The usage result generation module is used to collect statistics on the usage results of the application program and generate the usage results to the terminal.

[0033] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for generating application usage results as described in any one of the embodiments of the present invention is implemented.

[0034] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for generating application usage results as described in any one of the embodiments of the present invention.

[0035] The embodiment of the present invention obtains the total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameters include the total time the user uses at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the use of at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time; if the application usage attribute includes a preset attribute, the value of the at least one characteristic parameter in the total network data is analyzed; based on the value of the at least one characteristic parameter, the application whose final value exceeds the threshold is determined; wherein the final value is the weighted sum of the values; the usage results of the application are counted, and the usage results are generated to the terminal. The use of the above technical means can achieve the purpose of improving the accuracy of judging the usage time of the application. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a flowchart of a method for generating application usage results provided in the first embodiment of the present invention;

[0037] Figure 2 It is a structural diagram of a device for generating application usage results provided in Embodiment 2 of the present invention;

[0038] Figure 3 It is a structural schematic diagram of an electronic device provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0039] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0040] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0041] Embodiment 1

[0042] Figure 11 is a flow chart of a method for generating application usage results provided by the first embodiment of the present invention. This embodiment can be applied to the case of determining the length of time a user uses an application. The method can be executed by an application usage result generating device, which can be implemented in software and / or hardware. The method specifically includes the following steps:

[0043] S110: Obtain total network data generated by the user when using the terminal.

[0044] Among them, the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameters include the total time the user uses at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the user's use of at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time.

[0045] In this embodiment, the total network data is the data generated after the user connects to the network during the process of using the terminal. For example, the total network data generated by the user watching the video through the application on the terminal. In this embodiment, the characteristic parameter is a parameter used to characterize the characteristics of the total network data. For example, if the total network data generated by the user using the terminal video application is obtained, the characteristic parameters in the total network data include the total time the user uses the application to watch the video and the network capacity generated by the user using the application to watch the video.

[0046] Optionally, before determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes:

[0047] Different thresholds are set according to the operating system type of the terminal.

[0048] Optionally, after acquiring the total network data generated by the user in the process of using the terminal, the method further includes:

[0049] If the application in the total network data is in the blacklist, the network data generated by the application is deleted from the total network data.

[0050] In this embodiment, the applications in the blacklist are pre-set. The applications in the blacklist will automatically update their versions or plug-ins in the background. The network data generated by the automatic version update or plug-in update in the background is not generated by the user operating the application. The advantage of this setting is that the calculated usage of the application can be more in line with the actual situation.

[0051] Optionally, after acquiring the total network data generated by the user in the process of using the terminal, the method further includes:

[0052] If the domain name address of the application exists in the total network data and is in the preset list, the network data generated by the application is deleted from the total network data.

[0053] In the embodiment of the present invention, the preset list is to update the domain name address of the application when the application is not started, thereby consuming network data. Therefore, in order to ensure the accuracy of the application usage calculated in the end, the network data generated by the above application needs to be deleted from the total network data in advance.

[0054] Optionally, after deleting the network data generated by the application from the total network data, the method further includes:

[0055] If there are different applications corresponding to the same access address in the total network data, the application closest to the access address in time order is used as the application corresponding to the access address;

[0056] The duration corresponding to the access address is recorded as the usage duration of the application program.

[0057] In this embodiment, if the same access address is AAA, and the applications corresponding to the access address are application B and application C, and the access time sequence is closest to the time point of application B, then the duration of the access address AAA belongs to the usage duration of application B.

[0058] S120: If the application usage attribute includes a preset attribute, analyzing the value of the at least one characteristic parameter in the total network data.

[0059] Application usage attributes include preset attributes, where preset attributes refer to the attributes of a certain application usage in the total network data. Non-preset attributes include three types of attributes, which can be definite attributes of an application that is definitely used, uncertain attributes of an application that is uncertainly used, and public attributes of an application that uses a public access address.

[0060] Different steps are performed for different applications that use properties.

[0061] Optionally, after acquiring the total network data generated by the user in the process of using the terminal, the method further includes:

[0062] If the application usage attribute does not include a preset attribute, the analysis of the value of the at least one characteristic parameter in the total network data is terminated.

[0063] S130. Determine, based on the value of the at least one characteristic parameter, an application program whose final value exceeds a threshold; wherein the final value is a weighted sum of the values.

[0064] In this embodiment, the threshold is pre-set, and the thresholds of different operating systems are different. After obtaining the value of at least one characteristic parameter, the value of the at least one characteristic parameter is weighted and calculated to obtain a final value, and it is determined whether the final value exceeds the threshold. If it exceeds the threshold, the application corresponding to the final value is an application that the user uses more frequently.

[0065] Optionally, after determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes:

[0066] If there are two applications with the same identification information in the same time period, the usage status of the two applications is compared with the mapping table; wherein the identification information is information used to characterize the user's use of the application;

[0067] The same application as in the mapping table is regarded as the application whose final value exceeds the threshold value in the time period.

[0068] In this embodiment, the identification information carried by two applications in the same time period is the same, which means that one of the two applications is a mini-program of another application. The mapping table is the actual use of applications by users in different time periods. For example, a user watches Tencent Video through WeChat, and both WeChat and Tencent Video will generate network data, but in fact the user only uses WeChat. Therefore, the network data generated by Tencent Video in this time period needs to be deleted. Specifically, if the identification information of WeChat and Tencent Video is the same in this time period, the usage status of the two applications is compared with the mapping table. If the mapping table only starts WeChat in this time period, WeChat will be used as the application whose final value exceeds the threshold in this time period.

[0069] Optionally, after determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes:

[0070] If the application program calls other applications during use, the other applications are deleted from the list; wherein the list presents applications whose final values ​​exceed a threshold.

[0071] In this embodiment, for example, the user uses the bicycle application to call the map application, but in fact, the user mainly uses the bicycle application, so the map application is deleted from the list. The advantage of this setting is that the user's use of the application can be determined more accurately.

[0072] Optionally, after determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes:

[0073] If there is an application in the whitelist whose characteristic parameters do not exceed the threshold, the usage results of the application are counted and generated to the terminal.

[0074] In this embodiment, the application in the whitelist is characterized by a relatively small value of network data generated. For example, the value of network data generated by the reading application is relatively small, and even if the usage time is relatively long, it does not exceed the threshold. Therefore, it is necessary to set a separate whitelist for this type of application to prevent miscalculation of application usage.

[0075] S140: Count the usage results of the application program and generate the usage results to the terminal.

[0076] In this embodiment, the usage results of the application include the name of the application, the startup time of the application, the frequency of use of the application, and the usage duration of the application. The usage results can be output in the form of a table or a graph, and the final usage results are displayed on the terminal for user reference.

[0077] The embodiment of the present invention obtains the total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; if the application usage attributes include preset attributes, the value of the at least one characteristic parameter in the total network data is analyzed; based on the value of the at least one characteristic parameter, the application whose final value exceeds the threshold is determined; wherein the final value is the weighted sum of the values; the use results of the application are counted, and the use results are generated to the terminal. The use of the above technical means can achieve the purpose of improving the accuracy of judging the use time of the application.

[0078] Embodiment 2

[0079] Figure 2 Schematic diagram of the structure of an application usage result generating device provided in the second embodiment of the present invention. The application usage result generating device provided in the embodiment of the present invention can execute an application usage result generating method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Figure 2 As shown, the device comprises:

[0080] The total network data acquisition module 210 is used to acquire the total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameter includes the total time of the user using at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the user using at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time;

[0081] a characteristic parameter value analysis module 220, configured to analyze the value of the at least one characteristic parameter in the total network data if the application usage attribute includes a preset attribute;

[0082] An application determination module 230, configured to determine, based on the value of the at least one characteristic parameter, an application whose final value exceeds a threshold; wherein the final value is a weighted sum of the values;

[0083] The usage result generating module 240 is used to collect statistics on the usage results of the application program and generate the usage results to the terminal.

[0084] Optionally, the device further comprises:

[0085] The network data deletion module is used to delete the network data generated by the application from the total network data if the application in the total network data is in the blacklist.

[0086] Optionally, the device further comprises:

[0087] The network data deletion module is used to delete the network data generated by the application from the total network data if the domain name address of the application in the total network data is in a preset list.

[0088] Optionally, the device further comprises:

[0089] A usage duration recording module, for, if there are different applications corresponding to the same access address in the total network data, taking the application closest to the access address in time order as the application corresponding to the access address;

[0090] The duration corresponding to the access address is recorded as the usage duration of the application program.

[0091] Optionally, the device further comprises:

[0092] An application comparison module, used for comparing the usage status of the two applications with the mapping table if there are two applications with the same identification information in the same time period; wherein the identification information is information used to characterize the user's use of the application;

[0093] The same application as in the mapping table is regarded as the application whose final value exceeds the threshold value in the time period.

[0094] Optionally, the device further comprises:

[0095] The application program deletion module is used to delete other application programs that are called during the use of the application program from the list; wherein the list presents the application programs whose final values ​​exceed the threshold value.

[0096] Optionally, the device further comprises:

[0097] The whitelist application determination module is used to collect statistics on the use results of the application if there is an application in the whitelist whose characteristic parameters do not exceed the threshold, and generate the use results to the terminal.

[0098] Optionally, the device further comprises:

[0099] The termination analysis module is used to terminate the analysis of the value of the at least one characteristic parameter in the total network data if the application usage attribute does not include the preset attribute.

[0100] Optionally, the device further comprises:

[0101] The threshold setting module is used to set different thresholds according to the operating system type of the terminal.

[0102] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0103] Embodiment 3

[0104] Figure 3 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention, Figure 3 A schematic diagram of the structure of an exemplary device suitable for implementing the embodiment of the present invention is shown. Figure 3 The device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0105] like Figure 3As shown, device 12 is in the form of a general purpose computing device. Components of device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects various system components (including system memory 28 and processing unit 16).

[0106] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0107] Device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by device 12, including volatile and non-volatile media, removable and non-removable media.

[0108] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 3 not shown, usually called a "hard drive"). Although Figure 3 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0109] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described in the embodiments of the present invention.

[0110] The device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, etc.), one or more devices that enable a user to interact with the device 12, and / or any device that enables the device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. Figure 3 As shown, the network adapter 20 communicates with other modules of the device 12 via the bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0111] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, for example, implementing a method for generating application usage results provided by an embodiment of the present invention, including:

[0112] Obtaining total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameter includes the total time for which the user uses at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the use of at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time;

[0113] If the application usage attribute includes a preset attribute, analyzing a value of the at least one characteristic parameter in the total network data;

[0114] Determine, according to the value of the at least one characteristic parameter, an application whose final value exceeds a threshold; wherein the final value is a weighted sum of the values;

[0115] The usage results of the application are counted and generated to the terminal.

[0116] Embodiment 4

[0117] Embodiment 4 of the present invention further provides a computer-readable storage medium on which a computer program (or computer-executable instructions) is stored. When the program is executed by a processor, a method for generating application usage results described in any of the above embodiments can be implemented, including:

[0118] Obtaining total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameter includes the total time for which the user uses at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the use of at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time;

[0119] If the application usage attribute includes a preset attribute, analyzing a value of the at least one characteristic parameter in the total network data;

[0120] Determine, according to the value of the at least one characteristic parameter, an application whose final value exceeds a threshold; wherein the final value is a weighted sum of the values;

[0121] The usage results of the application are counted and generated to the terminal.

[0122] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. 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 (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0123] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0124] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0125] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0126] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for generating application usage results, characterized in that: include: Obtaining total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameter includes the total time for which the user uses at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the use of at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time; If the application usage attribute includes a preset attribute, analyzing a value of the at least one characteristic parameter in the total network data; Determine, according to the value of the at least one characteristic parameter, an application whose final value exceeds a threshold; wherein the final value is a weighted sum of the values; Collecting statistics on the usage results of the application and generating the usage results to the terminal; After determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes: If there are two applications with the same identification information in the same time period, the usage status of the two applications is compared with the mapping table; wherein the identification information is information used to characterize the user's use of the application; the mapping table represents the actual use of the application by the user in different time periods; Using the same application as in the mapping table as the application whose final value exceeds the threshold value during the time period; Before determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes: Different thresholds are set according to the operating system type of the terminal.

2. The method according to claim 1, characterized in that After obtaining the total network data generated by the user in the process of using the terminal, the method further includes: If the application in the total network data is in the blacklist, the network data generated by the application is deleted from the total network data.

3. The method according to claim 1, characterized in that After obtaining the total network data generated by the user in the process of using the terminal, the method further includes: If the domain name address of the application exists in the total network data and is in the preset list, the network data generated by the application is deleted from the total network data.

4. The method according to claim 3, characterized in that After deleting the network data generated by the application from the total network data, the method further includes: If there are different applications corresponding to the same access address in the total network data, the application closest to the access address in time order is used as the application corresponding to the access address; The duration corresponding to the access address is recorded as the usage duration of the application program.

5. The method according to claim 1, characterized in that After determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes: If the application program calls other applications during use, the other applications are deleted from the list; wherein the list presents applications whose final values ​​exceed a threshold.

6. The method according to claim 1, characterized in that After determining the application program whose final value exceeds the threshold value according to the value of the at least one characteristic parameter, the method further includes: If there is an application in the whitelist whose characteristic parameters do not exceed the threshold, the usage results of the application are counted and generated to the terminal.

7. The method according to claim 1, characterized in that After obtaining the total network data generated by the user in the process of using the terminal, the method further includes: If the application usage attribute does not include a preset attribute, the analysis of the value of the at least one characteristic parameter in the total network data is terminated.

8. An application usage result generating device, characterized in that: include: A total network data acquisition module is used to acquire the total network data generated by the user in the process of using the terminal; wherein the total network data includes at least one characteristic parameter and application usage attributes; the characteristic parameter includes the total time of the user using at least one application, the network capacity of the user using at least one application, the number of connections generated by the user with the corresponding application during the user using at least one application, the number of connections generated by the user with at least one application per unit time, and the network capacity of the user using at least one application per unit time; a characteristic parameter value analysis module, configured to analyze the value of the at least one characteristic parameter in the total network data if the application usage attribute includes a preset attribute; An application determination module, configured to determine, based on the value of the at least one characteristic parameter, an application whose final value exceeds a threshold; wherein the final value is a weighted sum of the values; A usage result generation module, used for collecting statistics on the usage results of the application program and generating the usage results to the terminal; An application comparison module, used for comparing the usage status of the two applications with a mapping table if there are two applications with the same identification information in the same time period; wherein the identification information is information used to characterize the user's use of the application; and the mapping table represents the actual use of the application by the user in different time periods; Using the same application as in the mapping table as the application whose final value exceeds the threshold value during the time period; The threshold setting module is used to set different thresholds according to the operating system type of the terminal.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for generating application usage results as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for generating application usage results as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Network traffic processing method and device

    CN110138638A

  • Terminal use duration reminding method and device thereof, terminal and storage medium

    CN111479016A