CN108182131A - Monitor method, apparatus, storage medium and the electronic equipment of application operation state - Google Patents
Monitor method, apparatus, storage medium and the electronic equipment of application operation state Download PDFInfo
- Publication number
- CN108182131A CN108182131A CN201711332880.2A CN201711332880A CN108182131A CN 108182131 A CN108182131 A CN 108182131A CN 201711332880 A CN201711332880 A CN 201711332880A CN 108182131 A CN108182131 A CN 108182131A
- Authority
- CN
- China
- Prior art keywords
- call back
- application program
- back function
- monitoring
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- Stored Programmes (AREA)
- Telephonic Communication Services (AREA)
Abstract
This disclosure relates to a kind of method, apparatus, storage medium and electronic equipment for monitoring application operation state, to solve the problems, such as that monitoring logic and the service logic degree of coupling are high in the relevant technologies.This method includes:During application program creates, the Application classes of application program are called, to complete the initialization of Application classes;Wherein, Application classes are including for monitoring the call back function packet of the operating status of application program, the initialization of Application classes includes:The initialization init functions of call back function packet are performed, to complete the registration to all call back functions in call back function packet;Wherein, each call back function includes the policer operation of trigger event and corresponding trigger event, and each registered call back function is used for, and when trigger event occurs for application program, calls registered call back function to perform the policer operation of corresponding trigger event.
Description
Technical field
This disclosure relates to optimizing application field, and in particular, to a kind of method, apparatus for monitoring application operation state is deposited
Storage media and electronic equipment.
Background technology
The state of application program is monitored primarily to providing operation data to program developer preferably to change
Kind user experience.Mainly include the monitoring to application life cycles, click event etc. to the monitoring of application program at present.
At present, it is most of that application program is monitored by way of burying a little manually in existing the relevant technologies, it will
Monitoring logic is mixed into using in each code snippet.What deserves to be explained is the programming of application program can be divided into two classes:System
Programming and application programming.So-called System Programming in simple terms, exactly writes library;And application programming is exactly various using finishing writing
Library has the program of certain function to write, that is, applies.The relevant technologies write on monitor code in the code of application programming, cause
Make monitoring logic and service logic mixed in together, the degree of coupling is high, and then causes monitoring logic that may influence regular traffic logic
Operation, and monitoring logic can not be multiplexed.
Invention content
It is a general object of the present disclosure to provide a kind of method, apparatus, storage medium and electronics for monitoring application operation state
Equipment, to solve the problems, such as that monitoring logic and the service logic degree of coupling are high in the relevant technologies.
To achieve these goals, disclosure first aspect provides a kind of method for monitoring application program operation, is applied to
Electronic equipment, the method includes:
During the application program creates, the Application classes of the application program are called, to complete
The initialization of Application classes;
Wherein, the Application classes include for monitor the application program operating status call back function packet,
The initialization of the Application classes includes:The initialization init functions of the call back function packet are performed, to complete to described
The registration of all call back functions in call back function packet;
Wherein, each call back function includes the policer operation of trigger event and the corresponding trigger event, each
The registered call back function is used for, and when the trigger event occurs for the application program, is called registered described time
Letter of transfer number corresponds to the policer operation of the trigger event to perform.
Optionally, the call back function packet includes adjusting back letter for monitoring the first kind of the life cycle of the application program
Count and/or monitor the second class call back function of the touch event of the application program page.
Optionally, the call back function packet includes adjusting back letter for monitoring the first kind of the life cycle of the application program
Number, the method further include:
In the application program operational process, if the trigger event of the registered first kind call back function occurs,
The registered first kind call back function is then called, to perform the corresponding life cycle policer operation of the trigger event.
Optionally, the call back function packet includes returning for monitoring the second class of the touch event of the application program page
Letter of transfer number, the second class call back function include touch event monitoring registration function and touch event monitoring function, the side
Method further includes:
In the application program operational process, if page generation event occurs, the touch event monitoring note is called
Volume function to traverse every view in the page, and registers the touch event monitoring function of corresponding every view.
Optionally, the electronic equipment is the electronic equipment for running Android system, and the touch event monitoring function is inherited
Android system AccesibilityDelegate classes, wherein, Android system the application program occur touch event when,
Call the AccesibilityDelegate classes.
Optionally, the method further includes:
After the application program generates the page, if detecting the touch control operation for target view, corresponding institute is called
The touch event monitoring function of target view is stated, to perform the policer operation of the corresponding trigger action.
Second aspect provides a kind of device for monitoring application program operation, and applied to electronic equipment, described device includes:
Using initial creation module, during being created in the application program, the application program is called
Application classes, to complete the initialization of Application classes;
Wherein, the Application classes include for monitor the application program operating status call back function packet,
The application initial creation module initialization Application classes include:Perform the initialization init letters of the call back function packet
Number, to complete the registration to all call back functions in the call back function packet;
Wherein, each call back function includes the policer operation of trigger event and the corresponding trigger event, each
The registered call back function is used for, and when the trigger event occurs for the application program, is called registered described time
Letter of transfer number corresponds to the policer operation of the trigger event to perform.
Optionally, the call back function packet includes adjusting back letter for monitoring the first kind of the life cycle of the application program
Count and/or monitor the second class call back function of the touch event of the application program page.
Optionally, the call back function packet includes adjusting back letter for monitoring the first kind of the life cycle of the application program
Number, described device further include:
First function callback module, in the application program operational process, if occurring registered described first
The trigger event of class call back function then calls the registered first kind call back function, is corresponded to performing the trigger event
Life cycle policer operation.
Optionally, the call back function packet includes returning for monitoring the second class of the touch event of the application program page
Letter of transfer number, the second class call back function include touch event monitoring registration function and touch event monitoring function, the dress
It puts and further includes:
Second function callback module, in the application program operational process, if page generation event occurs, adjusting
Registration function is monitored with the touch event, to traverse every view in the page, and registers the institute of corresponding every view
State touch event monitoring function.
Optionally, the electronic equipment is the electronic equipment for running Android system, and the touch event monitoring function is inherited
Android system AccesibilityDelegate classes, wherein, Android system the application program occur touch event when,
Call the AccesibilityDelegate classes.
Optionally, the second function callback module is additionally operable to:After the application program generates the page, if detecting needle
To the touch control operation of target view, then the touch event monitoring function of the correspondence target view is called, to perform described in correspondence
The policer operation of trigger action.
The third aspect provides a kind of computer readable storage medium, is stored thereon with computer program, which is handled
The step of first aspect the method is realized when device performs.
Fourth aspect provides a kind of electronic equipment, including:
Computer readable storage medium described in the above-mentioned third aspect;And
One or more processor, for performing the program in the computer readable storage medium.
What deserves to be explained is there are one Application classes, the Application by the APP that each applies of electronic equipment
Class possesses long life cycle as application program.Each application program is when starting, the system journey of electronic equipment
Sequence will initialize the application program first, therefore, will be for monitoring the institute of application program using disclosure above-mentioned technical proposal
There is call back function to be encapsulated as a function packet, and integrate the Application classes of the application program, in this way, being created in application
In the process, electronic apparatus system calls Application classes that the registration to call back function can be realized, and is buried manually without developer
Point, and the decoupling of monitoring logic and service logic is realized, influence of the monitoring logic to service logic is avoided, moreover, the use
It can also be multiplexed between application program in the call back function packet of monitoring application state.
Other feature and advantage of the disclosure will be described in detail in subsequent specific embodiment part.
Description of the drawings
Attached drawing is for providing further understanding of the disclosure, and a part for constitution instruction, with following tool
Body embodiment is used to explain the disclosure, but do not form the limitation to the disclosure together.In the accompanying drawings:
Fig. 1 is the flow diagram of the method for a kind of monitoring application program operation that the embodiment of the present disclosure provides;
Fig. 2 is the structure diagram of the device of a kind of monitoring application program operation that the embodiment of the present disclosure provides;
Fig. 3 is the structure diagram for a kind of electronic equipment that the embodiment of the present disclosure provides.
Specific embodiment
The specific embodiment of the disclosure is described in detail below in conjunction with attached drawing.It should be understood that this place is retouched
The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
In order to which those skilled in the art is enable to be easier to understand the technical solution of embodiment of the present disclosure offer, first below
The relevant technologies that the embodiment of the present disclosure is related to simply are introduced.
Application classes are the basic classes for needing to preserve global variable design for those, when package is created
It waits and just and then exists, and program developer is allowed to carry out the realization of oneself, by taking Android system as an example, Application classes
It is a system component of Android frame, Android system can be pair that an Application class is created during the operation of each program
As and only create one, for some global informations of storage system.
Specifically, the Application class partial codes of Android system are as follows:
The embodiment of the present disclosure provides a kind of method for monitoring application program operation, applied to electronic equipment, as shown in Figure 1,
The method includes:
S101, during application program creates, the Application classes of the application program are called, to complete
The initialization of Application classes, wherein, the Application classes of the application program include monitoring the application program
The call back function packet of operating status.
In this way, the initialization of above-mentioned completion Application classes includes:Perform the initialization init letters of the call back function packet
Number, to complete the registration to all call back functions in the call back function packet.
Illustratively, with reference to the program code of above-mentioned Application, call back function packet that the embodiment of the present disclosure provides can be with
It is as follows:
Above-mentioned code represents the specific implementation of call back function, i.e. call back function specifically needs operation to be performed, for monitoring
The call back function of application state can be realized partly herein.
Init (Application app) is used to implement the registration of call back function.
That is, the embodiment of the present disclosure is by for monitoring, the realization of the call back function of application program running state is unified to seal
It is attached in a module (i.e. described call back function packet), which is exposed to mobile application for its tune by its init function
With in this way, when initializing Application classes, the method for init that calling module is provided can be by all call back functions
It succeeds in registration.
With reference to the code of above-mentioned Application classes, with reference to above-mentioned call back function packet, when Application is initialized,
In RegisterActivityLifecycleCallback to Application.In this way, the Activity of application program is created
When will call Application dispatchActivityCreated have the function that monitor application operation state.
Wherein, it should be appreciated that each call back function includes the monitoring behaviour of trigger event and the corresponding trigger event
Make, each registered call back function is used for, and when the trigger event occurs for the application program, is called registered
The call back function corresponds to the policer operation of the trigger event to perform.That is, application program in the process of running, is
System program performs step S102.
S102, in the application program operational process, if the trigger event of the registered call back function occurs,
The registered call back function is called, to perform the corresponding policer operation of the trigger event.
Wherein, which can obtain the data that application program is generated when the trigger event occurs, such as journey
Crash data that sequence generates when collapsing etc., the policer operation for example can be to play log daily records, be checked convenient for developer.
Using the above method, during application creates, electronic apparatus system calls Application classes to can be realized pair
The registration of call back function without developer buries a little, and realizes the decoupling of monitoring logic and service logic manually, avoids monitoring
Influence of the logic to service logic, moreover, the call back function packet for being used to monitor application state can also answer between application program
With.
In order to which those skilled in the art is made more to understand the technical solution that the embodiment of the present disclosure provides, below to the above method
Step is described in detail.
Specifically, monitoring and the application page of life cycle are mainly included for the running state monitoring of application program
The monitoring of the touch event in face, therefore, in a kind of possible realization method of the embodiment of the present disclosure, above-mentioned call back function packet includes
For monitoring the touch-control of the first kind call back function of the life cycle of the application program and/or the monitoring application program page
Second class call back function of event.
In this way, above-mentioned steps S102 includes:In application program operational process, returned if the registered first kind occurs
The trigger event of letter of transfer number then calls the registered first kind call back function, to perform the corresponding life of the trigger event
Order cycle monitoring operation.
The life cycle of application program is that process from all stages for starting to termination, specifically, is joined in Android system
According to the program code of Application classes, application program whole life cycle, to onDestroy () since onCreate ()
Terminate.Wherein, Activity sets all " overall situation " states in onCreate (), and all money is discharged in onDestory ()
Source.Such as some Activity is there are one the thread in running background, for from network downloading data, then the Activity can be with
Thread is created in onCreate (), stops thread in onDestory ().
And visible life cycle, terminate since onStart () to onStop (), in this period, Activity can
With on the screen, while it may be possible to not on foreground, it is impossible to and user's interaction.Between the two interfaces, need to keep being shown to
The UI data of user and resource etc., such as an IntentReceiver can be registered in onStart and carrys out monitored data variation
Lead to the variation of UI, when display is no longer needed, it can be nullified in onStop ().
That is, the call back function packet of the embodiment of the present disclosure is in onCreate () to onDestroy ()
Register the function of the data into monitoring developer's demand.
It is returned in addition, the call back function packet further includes for monitoring the second class of the touch event of the application program page
Letter of transfer number, the second class call back function includes touch event monitoring registration function and touch event monitoring function, such
In the case of, the method that the embodiment of the present disclosure provides further includes:In application program operational process, if page generation event occurs,
The touch event monitoring registration function is then called, to traverse every view in the page, and registers corresponding every view
The touch event monitoring function.
That is, when Application classes initialize, the function of registration is touch event monitoring registration function, should
The trigger event of function is the page generation of application program, and " policer operation " of the corresponding trigger event is to register the corresponding page
The touch event monitoring function of the every view in face.
Illustratively, in the service logic of application program, corresponding sound should be made for the touch event application program of the page
Should, in order to not influence the service logic of application program, in the embodiments of the present disclosure, the touch event monitoring function can be after
Hold the function of the AccesibilityDelegate classes of Android system.
What deserves to be explained is monitor the touch-control of five application page with registering OnClickListener functions in the relevant technologies
Event is different, and AccesibilityDelegate classes are an assisted class in Android system, can monitor the focus of mobile phone, window
Mouth variation, button click etc..That is, Android system when touch event occurs for the application program, can call described
AccesibilityDelegate classes.
AccesibilityDelegate sector of breakdown codes are as follows:
Based on this, the embodiment of the present disclosure provide for touch event monitoring call back function can be as follows:
The partial code is realized for registering assistance agent.
This partial code is used to traverse the every view registered events of the page.It is in this way, all under traversal DecorView
ChildView, and setAccessibilityDelegate will capture phase when user's Click pages in this way
The event answered simultaneously is handled.
That is, the method that the embodiment of the present disclosure provides further includes:After the application program generates the page, if detection
To the touch control operation for target view, then the touch event monitoring function of the corresponding target view is called, to perform correspondence
The policer operation of the trigger action.
Using the above method, the embodiment of the present disclosure is realized using the AccessibilityDelegate of Android system to page
The monitoring of face touch event, compared to the touch-control thing for monitoring five application page in the relevant technologies using OnClickListener functions
Part, the embodiment of the present disclosure further avoid influence of the monitoring logic to service logic.
The embodiment of the present disclosure also provides a kind of device 20 for monitoring application program operation, applied to electronic equipment, such as intelligence
Energy mobile phone, tablet computer etc., as shown in Fig. 2, described device 20 includes:
Using initial creation module 201, during being created in the application program, the application program is called
Application classes, to complete the initialization of Application classes;
Wherein, the Application classes include for monitor the application program operating status call back function packet,
The application initial creation module initialization Application classes include:Perform the initialization init letters of the call back function packet
Number, to complete the registration to all call back functions in the call back function packet;
Wherein, each call back function includes the policer operation of trigger event and the corresponding trigger event, each
The registered call back function is used for, and when the trigger event occurs for the application program, is called registered described time
Letter of transfer number corresponds to the policer operation of the trigger event to perform.
Optionally, the call back function packet includes adjusting back letter for monitoring the first kind of the life cycle of the application program
Count and/or monitor the second class call back function of the touch event of the application program page.
Optionally, the call back function packet includes adjusting back letter for monitoring the first kind of the life cycle of the application program
Number, as shown in the dotted line frame in Fig. 2, described device further includes:
First function callback module 202, in the application program operational process, if occurring registered described the
The trigger event of a kind of call back function then calls the registered first kind call back function, to perform the trigger event pair
The life cycle policer operation answered.
Optionally, the call back function packet includes returning for monitoring the second class of the touch event of the application program page
Letter of transfer number, the second class call back function includes touch event monitoring registration function and touch event monitoring function, in Fig. 2
Dotted line frame shown in, described device further includes:
Second function callback module 203, in the application program operational process, if page generation event occurs,
The touch event monitoring registration function is then called, to traverse every view in the page, and registers corresponding every view
The touch event monitoring function.
Optionally, the electronic equipment is the electronic equipment for running Android system, and the touch event monitoring function is inherited
Android system AccesibilityDelegate classes, wherein, Android system the application program occur touch event when,
Call the AccesibilityDelegate classes.
Optionally, the second function callback module 203 is additionally operable to:After the application program generates the page, if detection
To the touch control operation for target view, then the touch event monitoring function of the corresponding target view is called, to perform correspondence
The policer operation of the trigger action.
Using above device 20, which can call Application classes can be realized during application creates
Registration to call back function without developer buries a little, and realizes the decoupling of monitoring logic and service logic manually, avoids prison
Influence of the logic to service logic is controlled, moreover, the call back function packet for being used to monitor application state can also be between application program
Multiplexing.Also, for the monitoring of five application page touch event, realized using the AccessibilityDelegate of Android system,
Further avoid influence of the monitoring logic to service logic.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Correspondingly, the disclosure also provides a kind of computer readable storage medium, computer program is stored thereon with, the program
The step of method of above-mentioned monitoring application program operation is realized when being executed by processor.
Correspondingly, the disclosure also provides a kind of electronic equipment, including:Above-mentioned computer readable storage medium;And one
A or multiple processors, for performing the program in the computer readable storage medium.
Fig. 3 is the block diagram according to a kind of electronic equipment 300 shown in an exemplary embodiment.As shown in figure 3, the electronics is set
Standby 300 can include:Processor 301, memory 302, multimedia component 303, input/output (I/O) interface 304, communication set
Part 305 and an above-mentioned image capture module.Wherein, processor 301 is used to control the integrated operation of the electronic equipment 300,
To complete all or part of step in the method for above-mentioned monitoring application program operation.Memory 302 is various types of for storing
To support the operation in the electronic equipment 300, these data can for example include in the electronic equipment 300 data of type
Any application program of operation or the instruction of method and the relevant data of application program, such as contact data, transmitting-receiving disappear
Breath, picture, audio, video etc..The memory 302 can by any kind of volatibility or non-volatile memory device or
Combination thereof is realized, such as static RAM (Static Random Access Memory, abbreviation SRAM),
Electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory,
Abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read-Only Memory, letter
Claim EPROM), programmable read only memory (Programmable Read-Only Memory, abbreviation PROM), read-only memory
(Read-Only Memory, abbreviation ROM), magnetic memory, flash memory, disk or CD.Multimedia component 303 can wrap
Include screen and audio component.Wherein screen for example can be touch screen, and audio component is for output and/or input audio signal.
For example, audio component can include a microphone, microphone is used to receive external audio signal.The received audio signal can
To be further stored in memory 302 or be sent by communication component 305.Audio component further includes at least one loud speaker,
For exports audio signal.I/O interfaces 304 provide interface, other above-mentioned interfaces between processor 301 and other interface modules
Module can be keyboard, mouse, button etc..These buttons can be virtual push button or entity button.Communication component 305 is used for
Wired or wireless communication is carried out between the electronic equipment 300 and other equipment.Wireless communication, such as Wi-Fi, bluetooth, near field lead to
Believe (Near Field Communication, abbreviation NFC), 2G, 3G, 4G or 5G or they one or more of combination,
Therefore the corresponding communication component 305 can include:Wi-Fi module, bluetooth module, NFC module, 2G modules, 3G module, 4G moulds
Block or 5G modules.
In one exemplary embodiment, electronic equipment 300 can be by one or more application application-specific integrated circuit
(Application Specific Integrated Circuit, abbreviation ASIC), digital signal processor (Digital
Signal Processor, abbreviation DSP), digital signal processing appts (Digital Signal Processing Device,
Abbreviation DSPD), programmable logic device (Programmable Logic Device, abbreviation PLD), field programmable gate array
(Field Programmable Gate Array, abbreviation FPGA), controller, microcontroller, microprocessor or other electronics member
Part is realized, for performing the method for above-mentioned monitoring application program operation.
The preferred embodiment of the disclosure is described in detail above in association with attached drawing, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure
Monotropic type, these simple variants belong to the protection domain of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case of shield, it can be combined by any suitable means.In order to avoid unnecessary repetition, the disclosure to it is various can
The combination of energy no longer separately illustrates.
In addition, arbitrary combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought should equally be considered as disclosure disclosure of that.
Claims (10)
- A kind of 1. method for monitoring application program operation, which is characterized in that applied to electronic equipment, the method includes:During the application program creates, the Application classes of the application program are called, to complete The initialization of Application classes;Wherein, the Application classes include for monitor the application program operating status call back function packet, it is described The initialization of Application classes includes:The initialization init functions of the call back function packet are performed, to complete to the readjustment The registration of all call back functions in function packet;Wherein, each call back function includes the policer operation of trigger event and the corresponding trigger event, each to have noted The call back function of volume is used for, and when the trigger event occurs for the application program, calls the registered readjustment letter Number corresponds to the policer operation of the trigger event to perform.
- 2. according to the method described in claim 1, it is characterized in that, the call back function packet is including described using journey for monitoring The second class readjustment letter of the first kind call back function of the life cycle of sequence and/or the touch event of the monitoring application program page Number.
- 3. according to the method described in claim 1, it is characterized in that, the call back function packet is including described using journey for monitoring The first kind call back function of the life cycle of sequence, the method further include:In the application program operational process, if the trigger event of the registered first kind call back function occurs, adjust With the registered first kind call back function, to perform the corresponding life cycle policer operation of the trigger event.
- 4. according to the method described in claim 1, it is characterized in that, the call back function packet is including described using journey for monitoring Second class call back function of the touch event of the sequence page, the second class call back function include touch event monitoring registration function with And touch event monitoring function, the method further include:In the application program operational process, if page generation event occurs, the touch event monitoring registration letter is called Number to traverse every view in the page, and registers the touch event monitoring function of corresponding every view.
- 5. according to the method described in claim 4, it is characterized in that, the electronics that the electronic equipment is operation Android system is set The AccesibilityDelegate classes of Android system standby, that the touch event monitoring function is inherited, wherein, Android system exists When touch event occurs for the application program, the AccesibilityDelegate classes are called.
- 6. method according to claim 4 or 5, which is characterized in that the method further includes:After the application program generates the page, if detecting the touch control operation for target view, the corresponding mesh is called The touch event monitoring function of view is marked, to perform the policer operation of the corresponding trigger action.
- 7. a kind of device for monitoring application program operation, which is characterized in that applied to electronic equipment, described device includes:Using initial creation module, during being created in the application program, the application program is called Application classes, to complete the initialization of Application classes;Wherein, the Application classes include for monitor the application program operating status call back function packet, it is described Include using initial creation module initialization Application classes:The initialization init functions of the call back function packet are performed, with Complete the registration to all call back functions in the call back function packet;Wherein, each call back function includes the policer operation of trigger event and the corresponding trigger event, each to have noted The call back function of volume is used for, and when the trigger event occurs for the application program, calls the registered readjustment letter Number corresponds to the policer operation of the trigger event to perform.
- 8. device according to claim 7, which is characterized in that the call back function packet includes described using journey for monitoring The second class readjustment letter of the first kind call back function of the life cycle of sequence and/or the touch event of the monitoring application program page Number.
- 9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claim 1-6 the methods are realized during row.
- 10. a kind of electronic equipment, which is characterized in that including:Computer readable storage medium described in claim 9;AndOne or more processor, for performing the program in the computer readable storage medium.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711332880.2A CN108182131B (en) | 2017-12-13 | 2017-12-13 | Method and device for monitoring application running state, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711332880.2A CN108182131B (en) | 2017-12-13 | 2017-12-13 | Method and device for monitoring application running state, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108182131A true CN108182131A (en) | 2018-06-19 |
CN108182131B CN108182131B (en) | 2021-11-26 |
Family
ID=62545901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711332880.2A Active CN108182131B (en) | 2017-12-13 | 2017-12-13 | Method and device for monitoring application running state, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108182131B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810633A (en) * | 2018-06-28 | 2018-11-13 | 武汉斗鱼网络科技有限公司 | Barrage method for message transmission, device, equipment and storage medium |
CN109284470A (en) * | 2018-10-25 | 2019-01-29 | 天津字节跳动科技有限公司 | Page window communication means and device |
CN109918061A (en) * | 2019-02-13 | 2019-06-21 | 福建星网智慧软件有限公司 | Cross Platform Interface Middleware implementation method and apparatus based on android system |
CN110536143A (en) * | 2019-07-11 | 2019-12-03 | 网宿科技股份有限公司 | Plug-flow method and electronic equipment |
CN111124795A (en) * | 2018-11-01 | 2020-05-08 | 百度在线网络技术(北京)有限公司 | Application start monitoring method, device and equipment |
CN112650473A (en) * | 2019-10-12 | 2021-04-13 | 武汉斗鱼鱼乐网络科技有限公司 | Attribute monitoring method and device |
CN113163453A (en) * | 2021-04-22 | 2021-07-23 | Tcl通讯(宁波)有限公司 | Wifi transmission speed control method, system, storage medium and mobile terminal |
CN113176931A (en) * | 2021-03-30 | 2021-07-27 | 东软集团股份有限公司 | Task flow processing method and device, storage medium and electronic equipment |
CN113760396A (en) * | 2020-07-01 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Application running method and device, electronic equipment and storage medium |
CN114528027A (en) * | 2022-01-25 | 2022-05-24 | 深圳市优易控软件有限公司 | Intelligent equipment response time improving method based on PC platform |
CN116366957A (en) * | 2022-07-21 | 2023-06-30 | 荣耀终端有限公司 | Virtualized camera enabling method, electronic equipment and cooperative work system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102841845A (en) * | 2012-07-30 | 2012-12-26 | 广东欧珀移动通信有限公司 | Automatic testing method of Android device software |
CN105183457A (en) * | 2015-08-13 | 2015-12-23 | 北京金山安全软件有限公司 | Method and device for monitoring interface life cycle callback |
CN105426754A (en) * | 2015-11-13 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Permission management method and permission management system |
CN106326113A (en) * | 2016-08-16 | 2017-01-11 | 腾讯科技(深圳)有限公司 | Game data monitoring method and device |
CN106886413A (en) * | 2017-02-21 | 2017-06-23 | 腾讯科技(深圳)有限公司 | A kind of processing method and terminal of interface element Activity |
CN107340955A (en) * | 2017-07-07 | 2017-11-10 | 广州优视网络科技有限公司 | The method and apparatus for obtaining the positional information after change in location of the view on screen |
-
2017
- 2017-12-13 CN CN201711332880.2A patent/CN108182131B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102841845A (en) * | 2012-07-30 | 2012-12-26 | 广东欧珀移动通信有限公司 | Automatic testing method of Android device software |
CN105183457A (en) * | 2015-08-13 | 2015-12-23 | 北京金山安全软件有限公司 | Method and device for monitoring interface life cycle callback |
CN105426754A (en) * | 2015-11-13 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Permission management method and permission management system |
CN106326113A (en) * | 2016-08-16 | 2017-01-11 | 腾讯科技(深圳)有限公司 | Game data monitoring method and device |
CN106886413A (en) * | 2017-02-21 | 2017-06-23 | 腾讯科技(深圳)有限公司 | A kind of processing method and terminal of interface element Activity |
CN107340955A (en) * | 2017-07-07 | 2017-11-10 | 广州优视网络科技有限公司 | The method and apparatus for obtaining the positional information after change in location of the view on screen |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810633A (en) * | 2018-06-28 | 2018-11-13 | 武汉斗鱼网络科技有限公司 | Barrage method for message transmission, device, equipment and storage medium |
CN108810633B (en) * | 2018-06-28 | 2020-10-16 | 武汉斗鱼网络科技有限公司 | Barrage message transmission method, device, equipment and storage medium |
CN109284470A (en) * | 2018-10-25 | 2019-01-29 | 天津字节跳动科技有限公司 | Page window communication means and device |
CN109284470B (en) * | 2018-10-25 | 2020-12-04 | 天津字节跳动科技有限公司 | Page window communication method and device |
CN111124795B (en) * | 2018-11-01 | 2024-03-26 | 百度在线网络技术(北京)有限公司 | Application starting monitoring method, device and equipment |
CN111124795A (en) * | 2018-11-01 | 2020-05-08 | 百度在线网络技术(北京)有限公司 | Application start monitoring method, device and equipment |
CN109918061A (en) * | 2019-02-13 | 2019-06-21 | 福建星网智慧软件有限公司 | Cross Platform Interface Middleware implementation method and apparatus based on android system |
CN109918061B (en) * | 2019-02-13 | 2022-06-14 | 福建星网智慧软件有限公司 | Cross-platform interface middleware implementation method and device based on android system |
CN110536143A (en) * | 2019-07-11 | 2019-12-03 | 网宿科技股份有限公司 | Plug-flow method and electronic equipment |
CN112650473B (en) * | 2019-10-12 | 2022-05-10 | 武汉斗鱼鱼乐网络科技有限公司 | Attribute monitoring method and device |
CN112650473A (en) * | 2019-10-12 | 2021-04-13 | 武汉斗鱼鱼乐网络科技有限公司 | Attribute monitoring method and device |
CN113760396A (en) * | 2020-07-01 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Application running method and device, electronic equipment and storage medium |
CN113176931A (en) * | 2021-03-30 | 2021-07-27 | 东软集团股份有限公司 | Task flow processing method and device, storage medium and electronic equipment |
CN113176931B (en) * | 2021-03-30 | 2024-04-05 | 东软集团股份有限公司 | Task stream processing method and device, storage medium and electronic equipment |
CN113163453A (en) * | 2021-04-22 | 2021-07-23 | Tcl通讯(宁波)有限公司 | Wifi transmission speed control method, system, storage medium and mobile terminal |
CN114528027A (en) * | 2022-01-25 | 2022-05-24 | 深圳市优易控软件有限公司 | Intelligent equipment response time improving method based on PC platform |
CN116366957B (en) * | 2022-07-21 | 2023-11-14 | 荣耀终端有限公司 | Virtualized camera enabling method, electronic equipment and cooperative work system |
CN116366957A (en) * | 2022-07-21 | 2023-06-30 | 荣耀终端有限公司 | Virtualized camera enabling method, electronic equipment and cooperative work system |
Also Published As
Publication number | Publication date |
---|---|
CN108182131B (en) | 2021-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108182131A (en) | Monitor method, apparatus, storage medium and the electronic equipment of application operation state | |
EP3032412B1 (en) | Method and device for upgrading firmware | |
KR101770931B1 (en) | Method, apparatus, program and computer-readable recording medium of generating communication module firmware and plug-in | |
US11449591B2 (en) | Method and device for triggering function of function widget based on fingerprint recognition, terminal, and storage medium | |
CN104050035B (en) | The processing method and processing device of application program | |
US9886264B2 (en) | Method and device for upgrading firmware | |
CN111427622B (en) | Execution method and device of script codes in application program | |
CN106537288B (en) | The method and device of self-starting is applied in control | |
KR20160064036A (en) | Method and apparatus for memory optimization | |
CN111240694A (en) | Application detection method, application detection device and storage medium | |
CN109117144B (en) | Page processing method, device, terminal and storage medium | |
CN107463372B (en) | Data-driven page updating method and device | |
CN105335200B (en) | Method for upgrading system and device | |
CN104899059B (en) | Operating system update method and device | |
CN105607979A (en) | Network interconnection control method and device | |
CN107239236A (en) | Method for writing data and device | |
CN106354657B (en) | Register access method, device and system | |
CN114065295A (en) | Screen capturing method, device, equipment and medium | |
CN108965412A (en) | More network interface cards simultaneously deposit communication means, device, storage medium and terminal device | |
CN107391128B (en) | Method and device for monitoring virtual file object model vdom | |
CN112835723B (en) | Information processing method, device, terminal and storage medium | |
CN113407020B (en) | Component starting method and device, touch chip and electronic equipment | |
CN114416085B (en) | Data processing method and device, electronic equipment and storage medium | |
CN108958943A (en) | Memory release method and device | |
CN109710334A (en) | Dynamic loading method, device and storage medium |
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 |