CN111459765A - Statistical method, statistical apparatus, electronic device, and storage medium - Google Patents

Statistical method, statistical apparatus, electronic device, and storage medium Download PDF

Info

Publication number
CN111459765A
CN111459765A CN202010298043.8A CN202010298043A CN111459765A CN 111459765 A CN111459765 A CN 111459765A CN 202010298043 A CN202010298043 A CN 202010298043A CN 111459765 A CN111459765 A CN 111459765A
Authority
CN
China
Prior art keywords
calling
application program
total
occurrence
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010298043.8A
Other languages
Chinese (zh)
Other versions
CN111459765B (en
Inventor
颜廷管
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010298043.8A priority Critical patent/CN111459765B/en
Publication of CN111459765A publication Critical patent/CN111459765A/en
Application granted granted Critical
Publication of CN111459765B publication Critical patent/CN111459765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems

Abstract

The application discloses a statistical method for microphone use states of an application program, electronic equipment and a nonvolatile computer readable storage medium. The statistical method comprises the following steps: when the application program runs, monitoring the calling event of the microphone, recording the occurrence state of the calling event, and counting the corresponding relation between the application program and the occurrence state. In the statistical method, the calling of the microphone is monitored during the operation of the application program, the using condition of the microphone is recorded, the corresponding relation is counted when the application program calls the microphone, the user is helped to know the specific condition of the microphone, the privacy of the user can be prevented from being revealed under the condition that the user is unaware of the situation, and the user experience is improved.

Description

Statistical method, statistical apparatus, electronic device, and storage medium
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for counting a microphone usage status of an application program, an electronic device, and a non-volatile computer-readable storage medium.
Background
An application of the mobile terminal often calls the microphone in the background to record, however, the mobile terminal does not have detailed statistics for the call microphone event. Typically, the user is prompted in the notification bar when the application calls the microphone, but is unscrupulous afterwards. With the improvement of the attention of the user to the personal privacy and the enhancement of the protection awareness, how to help the user to know the specific situation of the microphone usage becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a statistical method and a statistical device for microphone use states of an application program, electronic equipment and a non-volatile computer readable storage medium.
The method for counting the microphone using state of the application program comprises the following steps:
monitoring a calling event of a microphone when an application program runs;
recording the occurrence state of the calling event;
and counting the corresponding relation between the application program and the occurrence state.
The device for counting the microphone use state of the application program according to the embodiment of the application program comprises:
the monitoring module is used for monitoring calling events of the microphone when the application program runs.
The recording module is used for recording the occurrence state of the calling event; and
and the counting module is used for counting the corresponding relation between the application program and the occurrence state.
The electronic equipment of the embodiment of the application comprises a processor and a control unit, wherein the processor comprises:
one or more processors, memory; and
one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, the programs comprising instructions for performing any of the statistical methods described above.
The non-transitory computer-readable storage medium of embodiments of the present application contains computer-readable instructions. The computer readable instructions, when executed by a processor, cause the processor to perform the statistical method of microphone usage status of an application program as described above.
According to the method and the device for counting the microphone use states of the application programs, the electronic equipment and the nonvolatile computer readable storage medium, the microphone is called by monitoring the operation of the application programs, so that the use condition of the microphone is recorded, the corresponding relation in the process of calling the microphone by the application programs is counted, the user is helped to know the specific condition of the microphone, therefore, the user privacy can be prevented from being revealed under the condition that the user is unaware of, and the user experience is improved.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flow chart of a statistical method for microphone usage status of an application according to some embodiments of the present disclosure.
FIG. 2 is a block diagram of a statistical device according to some embodiments of the present disclosure.
FIG. 3 is a schematic block diagram of an electronic device according to some embodiments of the present application.
FIG. 4 is a flow chart illustrating a statistical method according to some embodiments of the present application.
FIG. 5 is a flow chart illustrating a statistical method according to some embodiments of the present application.
FIG. 6 is a flow chart illustrating a statistical method according to some embodiments of the present application.
FIG. 7 is a flow chart illustrating a statistical method according to some embodiments of the present application.
FIG. 8 is a flow chart illustrating a statistical method according to some embodiments of the present application.
FIG. 9 is a flow chart illustrating a statistical method according to some embodiments of the present application.
FIG. 10 is a flow chart illustrating a statistical method according to some embodiments of the present application.
FIG. 11 is a scenario diagram illustrating a statistical method according to some embodiments of the present application.
FIG. 12 is a scenario diagram illustrating a statistical method according to some embodiments of the present application.
FIG. 13 is a scenario diagram illustrating a statistical method according to some embodiments of the present application.
FIG. 14 is a scenario diagram illustrating a statistical method according to some embodiments of the present application.
FIG. 15 is a flow chart illustrating a statistical method according to some embodiments of the present application.
FIG. 16 is a scenario diagram illustrating a statistical method according to some embodiments of the present application.
FIG. 17 is a schematic diagram of the interaction of a non-volatile computer readable storage medium and a processor of certain embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the embodiments of the present application.
In the existing mobile terminal, after the application program acquires the recording permission of the microphone, the microphone is often called in the background for recording, however, the mobile terminal does not have detailed statistics for the microphone calling event, and privacy of a user may be leaked under the condition that the user does not know. In the related art, when the application program calls the microphone, the user is prompted in the notification bar, but the user can find the application without track afterwards, so that the user cannot know which applications are recording, and cannot know which applications are recorded by stealing. With the improvement of the attention of the user to the personal privacy and the enhancement of the protection awareness, how to help the user to know the specific situation of the microphone usage becomes a problem to be solved urgently.
Referring to fig. 1 to 3, the present application provides a statistical method for microphone usage status of an application. The statistical method comprises the following steps:
s10: monitoring a calling event of a microphone when an application program runs;
s11: recording the occurrence state of a calling event; and
s12: and counting the corresponding relation between the application program and the occurrence state.
The application also provides a device 100 for counting the microphone use state of the application program. The statistical device 100 includes a monitoring module 10, a recording module 20, and a statistical module 30. Step S10 may be implemented by the monitoring module 10. Step S11 may be implemented by the recording module 20. Step S12 may be implemented by the statistical module 30, that is, the monitoring module 10 may be configured to monitor the calling event of the microphone when the application program is running. The recording module 20 is used for recording the occurrence state of the calling event. The statistic module 30 is used for counting the corresponding relation between the application program and the occurrence state.
The application further provides an electronic device 1000, and the electronic device 1000 includes the processor 200. The processor 200 is configured to monitor a call event of the microphone, record an occurrence state of the call event, and count a corresponding relationship between the application program and the occurrence state when the application program runs.
The electronic device 1000 may be a mobile phone, a tablet computer, an intelligent wearable device (smart watch, smart bracelet, smart helmet, smart glasses, etc.), a virtual reality device, a head display device, and so on. The electronic device 1000 is a mobile phone as an example in the present application, but the form of the electronic device 1000 is not limited to the mobile phone.
The calling event refers to an occurrence process of controlling the microphone by the application program so that the microphone records sound. Generally, an application needs to call a microphone and acquire a system permission, and the application can call the microphone only if the application acquires the call permission of the microphone, and the application described herein refers to an application that acquires the call permission of the microphone.
The processor 200 monitors the microphone for a call event to determine if a microphone program is called during program execution. If the event that the application program calls the microphone exists, recording the name of the application program calling the microphone and the occurrence state of the microphone when the microphone is called, and further counting the corresponding relation between the called application program and the occurrence state of the microphone when the microphone is called.
In the statistical method, the using condition of the microphone is recorded by monitoring the calling of the microphone when the application program operates, and the corresponding relation of the application program calling the microphone in the process is counted, so that a user is helped to know the specific condition of the microphone, the privacy of the user can be prevented from being revealed under the condition that the user is unaware of the situation, and the user experience is improved.
Referring to fig. 4 and 5, in some embodiments, the occurrence status includes an occurrence duration, and step S11 includes:
s111: and recording the occurrence time of the calling event, wherein the occurrence time is the time from self-calling to releasing of the microphone.
Step S12 includes:
s121, accumulating the first total duration of each application program calling event;
s122, accumulating the second total duration of all the application program calling events;
and S123, counting the time length ratio of the calling event of each application program according to the first total time length and the second total time length.
In some embodiments, step S111 may be implemented by the recording module 20, that is, the recording module 20 may also be configured to record an occurrence time length of the call event, where the occurrence time length is a time length from the self-call to the release of the microphone.
The statistical module 30 includes a first accumulation unit 31, a second accumulation unit 32, and a statistical unit 33. Wherein S121 may be implemented by the first accumulation unit 31, S122 may be implemented by the second accumulation unit 32, and S123 may be implemented by the statistic unit 33. Alternatively, the first accumulating unit 31 may be configured to accumulate a first total duration of each application calling event, the second accumulating unit 32 may be configured to accumulate a second total duration of all application calling events, and the counting unit 33 may be configured to count a duration ratio of each application calling event according to the first total duration and the second total duration.
In some embodiments, S111, S121, S122, S123 may be implemented by the processor 200. That is, the processor 200 may be configured to record an occurrence duration of the call event, where the occurrence duration is a duration from self-tuning to releasing of the microphone, accumulate a first total duration of each application call event, accumulate a second total duration of all application call events, and count a duration ratio of the call event of each application according to the first total duration and the second total duration.
Specifically, when monitoring a microphone call event, if the microphone is called by an application program, recording the time of occurrence from the beginning of the call of the microphone, and recording the time of occurrence again when the microphone is released, thereby obtaining the occurrence duration of the microphone call event and the time period of the call event of the microphone.
Upon occurrence of a microphone invocation event, the processor 200 determines which applications invoke the microphones such that the duration of each application invocation event invoking a microphone is accumulated to obtain a first total duration of each application invocation event invoking a microphone. Illustratively, each application invocation event corresponds to a first total duration. For example, when the application programs a and B call microphones, the processor 200 accumulates the durations of the call events of the application program a to obtain a first total duration of the call events of the application program a, and also accumulates the durations of the call events of the application program B to obtain a first total duration of the call events of the application program B.
Further, the first total duration of all the application program calling events is accumulated to obtain a second total duration. The ratio of the first total duration and the second total duration of each application program call is the duration of the call event of each application program. For example, there are five applications that have been called, and the total duration of the five application calling events is 150 minutes, i.e. the second total duration is 150 minutes. The five application programs comprise application programs A and application programs B, the first total duration of the calling event of A is 20 minutes, the first total duration of the calling event of B is 30 minutes, the duration ratio of the calling event of A is 20/150, and the duration ratio of the calling event of B is 30/150.
It should be noted that the time length of the call event is recorded in a period of time, which may be a day or a week, for example, the call time length of the microphone on the day is recorded every day and updated every day.
In this manner, the user can determine the total length of time that the microphone was called by the application, and which applications the microphone was called for during those time periods, and can also know the length of time for each application call event versus the total length of time for all application call events.
Referring to fig. 6 and 7, in some embodiments, the occurrence status includes the number of occurrences and/or the duration of the occurrences, and step S11 further includes:
s112: and recording the occurrence number of the calling event.
Step S12 includes:
s124: accumulating the first total times of each application program calling event;
s125: accumulating a second total number of all application invocation events;
s126: and counting the number of times of calling events of each application program according to the first total times and the second total times.
In some embodiments, step S112 may be implemented by the recording module 20, that is, the recording module 20 may also be configured to record the occurrence number of the call event.
S124 may be implemented by the first accumulation unit 31, S125 may be implemented by the second accumulation unit 32, and S126 may be implemented by the statistic unit 33. Alternatively, the first accumulating unit 31 may be configured to accumulate a first total number of times of each application calling event, the second accumulating unit 32 may be configured to accumulate a second total number of times of all application calling events, and the counting unit 33 may be configured to count a ratio of the number of times of calling events of each application according to the first total number and the second total number.
In some embodiments, the processor 200 may be further configured to record the occurrence number of the call events, accumulate a first total number of times of each application call event, accumulate a second total number of times of all the application call events, and count a ratio of the number of times of the call events of each application according to the first total number and the second total number.
The method comprises the steps of defining a microphone as an occurrence event from the calling of an application program to the calling ending, recording the occurrence frequency of each program calling event, and accumulating to obtain a first total frequency corresponding to each application program calling event. And counting the occurrence frequency of each calling event, and accumulating the calling event frequency of each application program to obtain a first total frequency corresponding to each calling event of each application program. And accumulating the first total times corresponding to all the application program calling events to obtain a second total times of all the application program calling events. The number of the first total times can include a plurality of, each application program calling event corresponds to one first total time, and the number of the second total times is one. For example, if only the application programs a and B have been called in all the running application programs, the application program a calls the event for the first total number of times, the application program B calls the event for the first total number of times, and the second total number of times is the sum of the first total number of times corresponding to the application program a calls the event and the first total number of times corresponding to the application program B calls the event.
Further, the ratio of the first total times and the second total times corresponding to each application program calling event is calculated, and the ratio of the times of calling events of each application program is generated.
For example, there are five applications that have been called, and the total number of times that the five applications called the events is 35, i.e., the second total number of times is 35. The five application programs comprise application programs C and application programs D, wherein the first total number of times of C calling events is 13, the first total number of times of D calling events is 9, the ratio of the number of times of C calling events is 13/35, and the ratio of duration of D calling events is 9/35.
In this manner, the user can determine the total number of times the microphone was invoked by an application, as well as the number of times each application invoked event and the number of times each application invoked event are a percentage of the total number of times all application invoked events.
Referring to fig. 8 and 9, in an embodiment, step S11 further includes:
s113: and recording the occurrence time length and/or the occurrence number of the calling event.
Step S12 further includes:
s127: accumulating a third total duration and/or a third total number of times of calling events by each application program developer;
s128: accumulating the fourth total duration and/or the fourth total times of all the application program calling events;
s129: and counting the duration/frequency ratio of the calling events of each application program developer according to the third total duration and/or the third total frequency and the fourth total duration and/or the fourth total frequency.
In some embodiments, S113 may be implemented by the recording module 20, that is, the recording module 20 is further configured to record the occurrence duration and/or the number of occurrences after the call event.
S127 may be implemented by the first accumulation unit 31, S128 may be implemented by the second accumulation unit 32, and S129 may be implemented by the statistic unit 33. Or, the first accumulating unit 31 may be further configured to accumulate the third total duration and/or the third total number of times of each application developer calling event, the second accumulating unit 32 may be configured to accumulate the fourth total duration and/or the fourth total number of times of all the application developer calling events, and the counting unit 33 may be configured to count the number of times of each application developer calling event according to the third total duration and/or the third total number of times and the fourth total duration and/or the fourth total number of times.
In some embodiments, the processor 200 may also be configured to record the duration and/or number of occurrences of the call event. And accumulating the third total duration and/or the third total number of times of calling events of each application program developer. And accumulating the fourth total duration and/or the fourth total number of times of all the application program calling events. And counting the number of times of calling events of each application program developer according to the third total time length and/or the third total times and the fourth total time length and/or the fourth total times.
The application developer call event means that an application developed by the developer calls a microphone. For example, the three applications are A, B, C, wherein A, B corresponds to K1 and C corresponds to K2.
The processor counts developers of each application that calls the microphone, and accumulates a third total duration of all developed application call events for each developer, and accumulates a third total number of all developed application call events for each developer. Accumulating the fourth total duration of all application call events and the fourth total number of all application call events. And further, calculating the ratio of the third total time length of each developer to the fourth total time lengths of all application program calling events to obtain the calling time length ratio of each developer. And calculating the ratio of the third total times to the fourth total times of each developer to obtain the calling time ratio of each developer.
For example, in some examples, a total of three applications have had a call event. The three applications are A, B, C, wherein the developer of the application a and the developer of the application B are K1, and the developer of the application C is K2. The total number of events occurring in A is 43, the total number of events occurring in B is 15, and the total number of events occurring in C is 30, so that the total number of times of calling the events by the developer K1 is 58 times of the total number of times of A and B. The total number of times that the developer K2 called the event is C, which equals to 30 times. The total number of events occurring for all applications is the sum of the total number of A, B, C, i.e., 88. The developer K1 calls the event number ratio to be 58/88, and the developer K2 calls the event number ratio to be 30/88.
In this manner, the user can determine which developers are often using the developed application to invoke the microphone to violate user privacy. Therefore, the user can purposefully avoid the application programs developed by developers who frequently call the microphone or close the calling authority of the application programs developed by the developers, so as to ensure that the privacy of the user is not violated.
Referring to fig. 10, in some embodiments, the statistical method further includes the steps of:
s13, displaying the statistical results in a predetermined order.
In some embodiments, the statistical apparatus further includes a display module 40, and the S14 can be implemented by the display module 40, or the display module 40 can be used to display the statistical results in a predetermined order.
In some embodiments, the electronic device 1000 further comprises a processor 200, the processor 200 being configured to display the statistical results in a predetermined order.
The statistical result may be the duration/number of each application call event, the total duration/total number of all application call events, the duration/number of each application developer call event, and the duration/number ratio of each application developer call event. The predetermined sequence may be ordered in sequence according to the length of the duration, the number of times, or the ratio of the duration to the times.
When the display displays the statistical results in a predetermined sequence, one group of statistical results may be displayed each time, or multiple groups of statistical results may be displayed each time, and the specific display content is not limited.
Referring to FIG. 11, for example, in some examples, the display displays the set of statistics in a predetermined order based on the duration of the application call event. Specifically, the processor 200 sorts the duration ratio of each application calling event and the application names corresponding to the duration ratio, the sorting order is sorted from large to small according to the duration ratio of the application calling events, and a first display interface is generated. Finally, the processor 200 displays the first display interface.
Referring to FIG. 12, for example, in other examples, the display 300 displays a set of statistics of the number of times an application developer invokes an event in a predetermined order. Specifically, the processor 200 sorts developer names corresponding to the times of calling events by each application developer, and the sorting order is sequentially sorted according to the times of calling events by the application developers, and generates the second display interface. Finally, the second display interface is displayed by the processor 200.
Referring to FIG. 13, for another example, in some examples, the display displays a set of statistics of the number of times the application called an event in a predetermined order. Specifically, the processor 200 sequences the number of times of each application program calling event and the corresponding application program name, the sequencing order is sequentially sequenced from large to small according to the number of times of each application program calling event, a third display interface is generated, and the processor 200 displays the third display interface.
Referring to fig. 14, in other examples, the processor 200 generates a fourth display interface according to the number of times the application calls the event and the duration of the application call event in a predetermined order compared to the two sets of data, and displays the fourth display interface on the display.
Referring to fig. 15, in some embodiments, step S14 includes:
s131: indicating the application that is currently having a call event.
In some embodiments, S131 may be implemented by the display module 40. Or display module 40 may be used to indicate the application currently in the process of invoking an event.
In some embodiments, processor 200 is also used to indicate the application that is currently on which the call event is occurring.
Referring to fig. 11 and 13, in some scenarios, the indicated location is displayed with an interface for the results of the statistics. Specifically, if an application is currently calling the microphone, the application indicating that a call event is occurring indicates that the content is "currently in use" in the results interface for statistics displayed by processor 200.
Referring to FIG. 16, in some scenarios, the indicated location may be in a taskbar in a drop-down interface. If the application is currently invoking an event, the name of the application that invoked the event may be indicated in the drop-down menu taskbar so that the user may know in the drop-down menu which particular application is invoking the microphone.
The present application also provides an electronic device 1000, the electronic device 1000 comprising a processor 200, one or more memories, and one or more programs, the programs comprising instructions for performing any of the statistical methods described above.
Referring to FIG. 17, the present application also provides a non-transitory computer readable storage medium 500 containing computer readable instructions. The computer readable instructions, when executed by the processor 200, cause the processor 200 to perform the statistical method of any one of the above embodiments.
For example, the computer readable instructions, when executed by the processor 200, cause the processor 200 to perform the steps of:
monitoring a calling event of a microphone when an application program runs;
recording the occurrence state of a calling event; and
and counting the corresponding relation between the application program and the occurrence state.
As another example, the computer readable instructions, when executed by the processor 200, cause the processor 200 to perform the steps of:
recording the occurrence time of the calling event, wherein the occurrence time is the time from self-regulation to release of the microphone;
accumulating a first total duration of each application call event
Accumulating the second total duration of all the application program calling events;
and counting the time length ratio of the calling event of each application program according to the first total time length and the second total time length.
As another example, the computer readable instructions, when executed by the processor 200, cause the processor 200 to perform the steps of:
recording the occurrence frequency of the calling event;
accumulating the first total times of each application program calling event;
accumulating a second total number of all application invocation events;
and counting the number of times of calling events of each application program according to the first total times and the second total times.
As another example, the computer readable instructions, when executed by the processor 200, cause the processor 200 to perform the steps of:
recording the occurrence duration and/or the occurrence frequency of the calling event;
accumulating a third total duration and/or a third total number of times of calling events by each application program developer;
accumulating the fourth total duration and/or the fourth total times of all the application program calling events;
and counting the number of times of calling events of each application program developer according to the third total time length and/or the third total times and the fourth total time length and/or the fourth total times.
As another example, the computer readable instructions, when executed by the processor 200, cause the processor 200 to perform the steps of:
the statistical results are displayed in a predetermined order.
In the description herein, references to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example" or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A statistical method for microphone use status of an application program is characterized by comprising the following steps:
monitoring a calling event of a microphone when an application program runs;
recording the occurrence state of the calling event;
and counting the corresponding relation between the application program and the occurrence state.
2. The statistical method of claim 1, wherein the occurrence status comprises an occurrence duration, and wherein the step of recording the occurrence status of the call event comprises:
recording the occurrence time of the calling event, wherein the occurrence time is the time from self-calling to releasing of the microphone;
the step of counting the corresponding relation between the application program and the occurrence state comprises the following steps:
accumulating the first total duration of the calling event of each application program;
accumulating the second total duration of the calling events of all the application programs;
and counting the time length ratio of the calling event of each application program according to the first total time length and the second total time length.
3. The statistical method of claim 1, wherein the occurrence status comprises a number of occurrences, and wherein the step of recording the occurrence status of the call event comprises:
recording the occurrence frequency of the calling event;
the step of recording the occurrence state of the calling event comprises the following steps:
accumulating the first total times of the calling events of each application program;
accumulating a second total number of the calling events of all the application programs;
and counting the number of times of the calling event of each application program according to the first total times and the second total times.
4. The statistical method according to claim 1, wherein the occurrence status comprises occurrence number and/or occurrence duration, and the step of recording the occurrence status of the call event comprises:
recording the occurrence duration and/or the occurrence frequency of the calling event;
the step of recording the occurrence state of the calling event comprises the following steps:
accumulating a third total duration and/or a third total number of times of the call event of each application program developer;
accumulating the fourth total duration and/or the fourth total times of the calling events of all the application programs;
and counting the number of times of the calling events of each application program developer according to the third total time length and/or the third total times and the fourth total time length and/or the fourth total times.
5. Statistical method according to any of claims 1-4, characterized in that the statistical method further comprises the steps of:
displaying the results of the statistics in a predetermined order.
6. The statistical method of claim 5, wherein the step of displaying the statistical result comprises:
indicating the application currently on which the call event is occurring.
7. An apparatus for counting the usage status of a microphone of an application, comprising:
the monitoring module is used for monitoring calling events of the microphone when the application program runs.
The recording module is used for recording the occurrence state of the calling event; and
and the counting module is used for counting the corresponding relation between the application program and the occurrence state.
8. The statistical apparatus according to claim 7, further comprising a display module for displaying the results of the statistics in a predetermined order.
9. An electronic device, comprising:
one or more processors, memory; and
one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, the programs comprising instructions for performing the statistical method of any of claims 1-6.
10. A non-transitory computer-readable storage medium of computer-executable instructions, that when executed by one or more processors, cause the processors to perform the statistical method of any one of claims 1-6.
CN202010298043.8A 2020-04-16 2020-04-16 Statistical method, statistical apparatus, electronic device, and storage medium Active CN111459765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010298043.8A CN111459765B (en) 2020-04-16 2020-04-16 Statistical method, statistical apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010298043.8A CN111459765B (en) 2020-04-16 2020-04-16 Statistical method, statistical apparatus, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN111459765A true CN111459765A (en) 2020-07-28
CN111459765B CN111459765B (en) 2023-02-24

Family

ID=71683917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010298043.8A Active CN111459765B (en) 2020-04-16 2020-04-16 Statistical method, statistical apparatus, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN111459765B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256536A (en) * 2020-10-29 2021-01-22 维沃移动通信(深圳)有限公司 Information display method and device
CN112487436A (en) * 2020-11-16 2021-03-12 深圳市艾捷莫科技有限公司 Monitoring method and system for mobile terminal

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020178206A1 (en) * 2001-05-25 2002-11-28 Siemens Medical Solutions Health Services Corporation System and method for monitoring computer application and resource utilization
WO2002098120A1 (en) * 2001-06-01 2002-12-05 Christian Kazamias Intelligent voice, and data dialing service using electronic application, portable media and m-commerce system
CN103299280A (en) * 2010-11-15 2013-09-11 高通股份有限公司 Arbitrating resource acquisition for applications of a multi-processor mobile communications device
US20140130065A1 (en) * 2011-09-27 2014-05-08 Tencent Technology (Shenzhen) Company Limited Method and Device for Obtaining Using-Frequency of Application Program
EP2733614A2 (en) * 2012-11-16 2014-05-21 Vodafone IP Licensing Limited Mobile device application analysis
WO2015030916A1 (en) * 2013-08-26 2015-03-05 Google Inc. Application resource utilizaton management
WO2016065405A1 (en) * 2014-10-31 2016-05-06 1010 Id Pty Ltd Method and system for activity monitoring
CN106201819A (en) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 The system resource occupancy monitoring method and apparatus of application container engine
CN106647394A (en) * 2016-12-16 2017-05-10 惠州Tcl移动通信有限公司 Method and system for monitoring usage behavior of wearable device
WO2017096799A1 (en) * 2015-12-07 2017-06-15 乐视控股(北京)有限公司 Method and device for monitoring power-consuming application, user terminal, computer program, and storage medium
CN109165145A (en) * 2018-09-11 2019-01-08 北京奇安信科技有限公司 A kind of the service condition statistical method and device of application program
EP3499843A1 (en) * 2017-12-15 2019-06-19 Thomson Licensing Devices, systems, and methods for detecting usage of applications on a device
CN110990834A (en) * 2019-11-19 2020-04-10 重庆邮电大学 Static detection method, system and medium for android malicious software

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020178206A1 (en) * 2001-05-25 2002-11-28 Siemens Medical Solutions Health Services Corporation System and method for monitoring computer application and resource utilization
WO2002098120A1 (en) * 2001-06-01 2002-12-05 Christian Kazamias Intelligent voice, and data dialing service using electronic application, portable media and m-commerce system
CN103299280A (en) * 2010-11-15 2013-09-11 高通股份有限公司 Arbitrating resource acquisition for applications of a multi-processor mobile communications device
US20140130065A1 (en) * 2011-09-27 2014-05-08 Tencent Technology (Shenzhen) Company Limited Method and Device for Obtaining Using-Frequency of Application Program
EP2733614A2 (en) * 2012-11-16 2014-05-21 Vodafone IP Licensing Limited Mobile device application analysis
WO2015030916A1 (en) * 2013-08-26 2015-03-05 Google Inc. Application resource utilizaton management
WO2016065405A1 (en) * 2014-10-31 2016-05-06 1010 Id Pty Ltd Method and system for activity monitoring
WO2017096799A1 (en) * 2015-12-07 2017-06-15 乐视控股(北京)有限公司 Method and device for monitoring power-consuming application, user terminal, computer program, and storage medium
CN106201819A (en) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 The system resource occupancy monitoring method and apparatus of application container engine
CN106647394A (en) * 2016-12-16 2017-05-10 惠州Tcl移动通信有限公司 Method and system for monitoring usage behavior of wearable device
EP3499843A1 (en) * 2017-12-15 2019-06-19 Thomson Licensing Devices, systems, and methods for detecting usage of applications on a device
CN109165145A (en) * 2018-09-11 2019-01-08 北京奇安信科技有限公司 A kind of the service condition statistical method and device of application program
CN110990834A (en) * 2019-11-19 2020-04-10 重庆邮电大学 Static detection method, system and medium for android malicious software

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
广播与电视技术: "广播与电视技术", 《广播与电视技术 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256536A (en) * 2020-10-29 2021-01-22 维沃移动通信(深圳)有限公司 Information display method and device
CN112487436A (en) * 2020-11-16 2021-03-12 深圳市艾捷莫科技有限公司 Monitoring method and system for mobile terminal

Also Published As

Publication number Publication date
CN111459765B (en) 2023-02-24

Similar Documents

Publication Publication Date Title
CN111459765B (en) Statistical method, statistical apparatus, electronic device, and storage medium
CN109739727B (en) Service monitoring method and device in micro-service architecture
CN107038107B (en) Method and device for acquiring application blocking information
US7257692B2 (en) Apparatus and method for detecting memory leaks
EP1693750B1 (en) Data transmission management system, a mobile device and a server used therein
US8555296B2 (en) Software application action monitoring
US8756462B2 (en) Configurable alert delivery for reducing the amount of alerts transmitted in a distributed processing system
CN106681811B (en) Multithreading scheduling method and device based on thread pool
US9026862B2 (en) Performance monitoring for applications without explicit instrumentation
CN111367698B (en) Application program flash back detection and processing method and device and electronic equipment
CN112148505A (en) Data batching system, method, electronic device and storage medium
CN115185777A (en) Abnormity detection method and device, readable storage medium and electronic equipment
CN110851294B (en) Method and device for remedying program running crash
US7950011B2 (en) Leveraging advanced queues to implement event based job scheduling
CN116560834A (en) Method and device for built-in monitoring alarm of dynamic thread pool
US8407674B2 (en) Detecting thread starvation
CN107861855A (en) A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption
EP1785866A1 (en) Alarm consolidaton in IT infrastructures
CN107729167B (en) Application exception handling method and device
CN106970696B (en) Electronic equipment management method and electronic equipment
CN112711515A (en) Real-time monitoring method and device and electronic equipment
CN102549510B (en) Method for testing the real-time capability of an operating system
CN103618643B (en) A kind of message queue dynamic alert monitoring method and device
EP1525763A1 (en) Channel reallocation method and device
CN107145582B (en) Control method of database cursor and database system

Legal Events

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