CN109032907B - Data monitoring method and system for equipment application - Google Patents

Data monitoring method and system for equipment application Download PDF

Info

Publication number
CN109032907B
CN109032907B CN201810797639.5A CN201810797639A CN109032907B CN 109032907 B CN109032907 B CN 109032907B CN 201810797639 A CN201810797639 A CN 201810797639A CN 109032907 B CN109032907 B CN 109032907B
Authority
CN
China
Prior art keywords
application
current
state
monitoring
original display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810797639.5A
Other languages
Chinese (zh)
Other versions
CN109032907A (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN201810797639.5A priority Critical patent/CN109032907B/en
Publication of CN109032907A publication Critical patent/CN109032907A/en
Application granted granted Critical
Publication of CN109032907B publication Critical patent/CN109032907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system

Abstract

The application provides a data monitoring method and system for equipment application, wherein the method comprises the following steps: acquiring a monitoring instruction; monitoring at least one target application to obtain the current state information of each application state of the at least one target application and original display content matched with the state information of each application state; and storing the state information and the original display content; and processing each stored original display content based on the monitoring task information included in the monitoring instruction. Therefore, the method and the device for monitoring the equipment application realize a scheme for monitoring the equipment application, and based on the scheme, at least one target application with a monitoring requirement can be effectively monitored, and monitoring data conforming to monitoring task information can be obtained. Therefore, the method and the device fill up the technical blank in the monitoring aspect of the device application (such as mobile application) in the prior art, and provide a data base for subsequent related applications.

Description

Data monitoring method and system for equipment application
Technical Field
The invention belongs to the technical field of application data monitoring and processing, and particularly relates to a data monitoring method and system for equipment application.
Background
With the development and popularization of mobile devices such as smart phones and tablet computers (pads), the mobile devices have become important hardware platforms or life tools in daily life of people, and correspondingly, various mobile applications installed and running on the mobile devices have become one of the main sources for people to obtain information and entertainment.
The mobile application is closely coupled with data on the application (such as data generated during interaction between a device user and the mobile application or data received by the mobile application based on a network, etc.), and the data can provide a data base for a big data application or a private service for the device user, however, currently, there is no effective means or tool for monitoring and acquiring the internal data of the mobile application, and the internal data of the mobile application cannot be acquired.
Disclosure of Invention
In view of this, the present invention aims to provide a data monitoring method and system for device-oriented applications, which aims to fill up the technical gap existing in the prior art in the aspect of mobile application monitoring, implement monitoring on mobile applications and obtain data thereof, and further provide a data base for subsequent related applications.
Therefore, the invention discloses the following technical scheme:
a data monitoring method facing to equipment application comprises the following steps:
acquiring a monitoring instruction for monitoring equipment application; the monitoring instruction comprises an application identifier of at least one target application to be monitored and monitoring task information aiming at the at least one target application;
monitoring the at least one target application to obtain the current state information of each application state of the at least one target application and original display content matched with the state information of each application state; and storing the state information of each application state and the original display content;
and processing each stored original display content based on the monitoring task information to obtain monitoring data conforming to the monitoring task information.
Preferably, the obtaining of the monitoring instruction for monitoring the device application includes:
acquiring an application identifier of the appointed at least one target application and the set monitoring task information;
and generating the monitoring instruction according to the application identifier of the at least one target application and the monitoring task information.
Preferably, the obtaining of the state information of each current application state of the at least one target application and the original display content matched with the state information of each application state, and storing the state information of each application state and the original display content includes:
for each target application in the at least one target application, acquiring current operation information and current original display content corresponding to the target application in a current access stage;
calculating the current ASI of the target application based on the current operation information and the current original display content; the current ASI is used for marking the current application state corresponding to the current access stage of the target application;
determining whether the current application state has been accessed based on the current ASI; if yes, returning to the state of the previous level accessed in the current application state, and determining the application state needing to be accessed next based on the operable elements corresponding to the state of the previous level accessed; if not, storing the current ASI and the current original display content, marking the operation corresponding to the accessed upper-level application state to the current application state, and continuing the next step;
determining all operable elements corresponding to the current application state based on the current original display content; and selecting the elements which are not operated in all the operable elements for operation based on the marked states and the operation between the states so as to enter the access of the next stage, and repeating the processing process in the access of the next stage until a preset condition is met.
Preferably, the obtaining of the current operation information and the current original display content corresponding to the target application in the current access stage includes:
obtaining the activity name of the activity of the target application in the current access stage;
and acquiring the current original display content in the form of an XML document.
The above method, preferably, the ASI includes:
an activity name;
a content structure tree; the content structure tree is a structure obtained by organizing all page elements of original display content in an XML document form according to a tree structure.
Preferably, in the method, the processing each stored original display content based on the monitoring task information includes:
and integrating the stored original display contents based on the monitoring task information.
In the method, preferably, the device application is a mobile application on a mobile device.
A device application oriented data monitoring system comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a monitoring instruction for monitoring equipment application; the monitoring instruction comprises an application identifier of at least one target application to be monitored and monitoring task information aiming at the at least one target application;
the monitoring and storage unit is used for monitoring the at least one target application to obtain the current state information of each application state of the at least one target application and the original display content matched with the state information of each application state; and storing the state information of each application state and the original display content;
and the processing unit is used for processing each stored original display content based on the monitoring task information so as to obtain monitoring data conforming to the monitoring task information.
Preferably, in the above system, the obtaining unit is specifically configured to:
acquiring an application identifier of the appointed at least one target application and the set monitoring task information;
and generating the monitoring instruction according to the application identifier of the at least one target application and the monitoring task information.
Preferably, the monitoring and storing unit of the system is specifically configured to:
for each target application in the at least one target application, acquiring current operation information and current original display content corresponding to the target application in a current access stage;
calculating the current ASI of the target application based on the current operation information and the current original display content; the current ASI is used for marking the current application state corresponding to the current access stage of the target application;
determining whether the current application state has been accessed based on the current ASI; if yes, returning to the state of the previous level accessed in the current application state, and determining the application state needing to be accessed next based on the operable elements corresponding to the state of the previous level accessed; if not, storing the current ASI and the current original display content, marking the operation corresponding to the accessed upper-level application state to the current application state, and continuing the next step;
determining all operable elements corresponding to the current application state based on the current original display content; and selecting the elements which are not operated in all the operable elements for operation based on the marked states and the operation between the states so as to enter the access of the next stage, and repeating the processing process in the access of the next stage until a preset condition is met.
According to the above scheme, the present application provides a data monitoring method and system for device-oriented applications, where the method includes: acquiring a monitoring instruction; monitoring at least one target application to obtain the current state information of each application state of the at least one target application and original display content matched with the state information of each application state; and storing the state information and the original display content; and processing each stored original display content based on the monitoring task information included in the monitoring instruction. Therefore, the method and the device for monitoring the equipment application realize a scheme for monitoring the equipment application, and based on the scheme, at least one target application with a monitoring requirement can be effectively monitored, and monitoring data conforming to monitoring task information can be obtained. Therefore, the method and the device fill up the technical blank in the monitoring aspect of the device application (such as mobile application) in the prior art, and provide a data base for subsequent related applications.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a data monitoring method for device-oriented applications according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating processing logic for a dynamic tolerant mobile application access/discovery method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a mobile application sandbox system according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of a data monitoring system for device-oriented applications according to a third embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to fill up the technical blank in the aspect of mobile application monitoring in the prior art, realize monitoring of mobile applications and obtaining data thereof, and further provide a data base for subsequent related applications, the present application provides a data monitoring method and system for device-oriented applications, and the data monitoring method and system for device-oriented applications of the present application will be described below through a plurality of embodiments.
Referring to fig. 1, a flowchart of a first embodiment of a data monitoring method for device Application provided in the present Application is shown, where the device Application obviously may be a mobile Application installed on a mobile device such as a smart phone, a tablet computer, and the like, such as various apps (Application programs) running in an android system, an iOS, and the like, but in the present Application, the device Application may also be a desktop Application installed on a desktop device such as various computer devices such as a notebook, a desktop, and an all-in-one machine, that is, the solution of the present invention may be applicable to both the mobile Application and the desktop Application, and the following embodiments mainly use the Application in the mobile Application as an example to describe the method and the system of the present Application in detail.
As shown in fig. 1, in this embodiment, the method for monitoring data for device-oriented application includes the following steps:
step 101, obtaining a monitoring instruction for monitoring equipment application; the monitoring instruction comprises an application identification of at least one target application to be monitored and monitoring task information aiming at the at least one target application.
The method can be applied to, but is not limited to, a server, such as a private mobile data center server, and the like, and more preferably, the method can be implemented in a virtual machine form.
When a device user of a mobile device has a monitoring requirement for one or more mobile applications on the device, the user can specify one or more target applications to be monitored, correspondingly set monitoring task information for the applications, and then submit the requirement information of the user to a server by the mobile device based on corresponding communication means (such as the internet and 3G/4G mobile communication technology).
After receiving the information, the server may generate corresponding monitoring instructions based on the application identifiers of one or more target applications specified by the user and the monitoring task information set for the target applications, so as to trigger a mobile application monitoring process for the information submitted by the user, so as to meet the user requirements.
Of course, in a specific implementation, the server may also automatically trigger a monitoring process for at least one target application when a predetermined condition is met, for example, when a predetermined time node for periodic monitoring is reached, automatically trigger a data monitoring process for one (some) mobile applications set by default in the user mobile device, and the like, which is not limited in this embodiment.
102, monitoring the at least one target application to obtain the current state information of each application state of the at least one target application and original display content matched with the state information of each application state; and storing the state information of each application state and the original display content.
Monitoring of a target Application, such as a mobile Application, generally needs to be based on accessing or retrieving data content of the mobile Application, for example, monitoring of the mobile Application and obtaining data content thereof simultaneously through traversal access of the data content of the mobile Application, and accessing or retrieving data content of the mobile Application needs to be premised on being able to effectively mark the content of the mobile Application, however, effective means for marking the content of the mobile Application are not provided in the prior art, and in view of this, in order to solve the problem of lacking of marking of the content of the mobile Application, the inventor proposes a concept of an Application State Identifier (ASI) model, and marks the content of the mobile Application based on the proposed ASI.
Among them, ASI contains 2 main parameters:
1) activity Name (Android Activity Name)
An Activity (Activity) is one of the basic components of a mobile application, and each Activity can support a user to complete a certain task through interaction with an interface by providing a corresponding screen interface, such as dialing, taking a picture and the like. Each activity is given a window on which a user interface can be drawn. An application is usually composed of a plurality of activities, and information of a current window during execution of the mobile application can be obtained through a corresponding command (such as a command for acquiring display content) of the virtual machine.
2) Content structure tree
In the process of executing the mobile application, the virtual machine may obtain all the content displayed by the current screen of the application, the obtained content may be stored in a form of, but not limited to, an Extensible Markup Language (XML) document, on this basis, all page elements (such as titles, information items, content of each information item (text content, image content, etc.), buttons, etc.) in the original display content in the form of the XML document may be organized through a tree structure, and the finally obtained tree structure is a content structure tree. The mobile application screen presentation content may be distinguished by comparing their corresponding content structure trees.
ASI can be expressed by the following formula:
ASI=(N,V); (1)
wherein N is the activity name and V is the content structure tree.
For two ASI, the discrimination function is:
D(ASI1,ASI2)=DN(N1,N2)∧DV(V1,V2) (2)
in the above formula (2), DNAs a differentiating function of the activities of the mobile devices, in particular:
Figure BDA0001736322940000071
DVfor the differentiating function of the content structure tree, in particular:
Figure BDA0001736322940000072
wherein, E (V)1,V2) Is a V1And V2The minimum edit distance between, for a labeled ordered tree, contains three operations: 1) inserting a node as a child node of a certain existing node, wherein the sequence of the atomic node of the node is not changed; 2) deleting a certain node, and connecting a father node and a child node of the certain node; 3) and modifying the mark. ElimitIs the edit distance threshold.
On the basis of the above-mentioned ASI, the active name of the mobile application and the original display content corresponding to the corresponding activity are extracted, and the corresponding ASI is calculated by using the information, so that the mobile application content is effectively marked based on the ASI.
On the basis of effectively marking the content of the mobile application through the proposed ASI, the present application further provides a dynamic tolerance mobile application access/exploration method, so as to achieve the purpose of acquiring the data content of the mobile application in the process of monitoring the mobile application, and the method mainly includes the following steps:
1) for each target application in the at least one target application, acquiring current operation information and current original display content corresponding to the target application in a current access stage;
the current running information at least comprises an activity name of an activity in which a target application (such as a certain mobile application) is currently located. The current original display content, as described above, may be page content in the form of an XML document.
2) Calculating a current application state identifier model (ASI) of the target application based on the current operation information and the current original display content; the current ASI is used for marking the current application state corresponding to the current access stage of the target application;
that is, the ASI may be used as state information of the application state for marking the application state.
3) Determining whether the current application state has been accessed based on the current ASI; if yes, returning to the state of the previous level accessed in the current application state, and determining the application state needing to be accessed next based on the operable elements corresponding to the state of the previous level accessed; if not, storing the current ASI and the current original display content, marking the operation corresponding to the accessed upper-level application state to the current application state, and continuing the next step;
for example, but not by way of limitation, the operation corresponding to the previous application state to the current application state may be, for example, clicking a certain button on the previous screen interface, selecting a certain information item, and entering the screen interface corresponding to the current application state.
4) Determining all operable elements corresponding to the current application state based on the current original display content; and selecting the elements which are not operated in all the operable elements for operation based on the marked states and the operation between the states so as to enter the access of the next stage, and repeating the processing process in the access of the next stage until a preset condition is met.
The predetermined condition may be, for example, that no unvisited application state exists in the current round of access (that is, traversal of all application states is completed in the current round of access), or that a predetermined interrupt monitoring condition is reached, which is not limited in this embodiment as well.
Compared with the traditional deep search, the method provided by the application does not mark the state, but marks the state transition operation, so that the compatibility of the dynamic content can be improved, the state can be repeatedly accessed, the repeated operation can be reduced, and the exploration efficiency is improved. The processing logic corresponding to the method can be specifically referred to as shown in fig. 2.
Through the monitoring process, the original display content corresponding to at least one target application of the device user in different application states can be obtained and stored. Such as obtaining original display contents corresponding to applications of WeChat, QQ, various mailboxes and the like in different application states. In the present application, the original display content is preferably stored in the form of an XML document, and may include, but is not limited to, various aspects/types of application information, such as information on life, information on work, information on learning of a user, or push-type information such as advertisements and news received by an application, which are included in applications such as WeChat, QQ, various mailboxes, and the like.
And 103, processing each stored original display content based on the monitoring task information to obtain monitoring data corresponding to the monitoring task information.
The monitoring task information is used for reflecting the specific monitoring requirements of the user, and may include, but is not limited to, monitoring task content, account information, and the like set by the user, for example, a monitoring task set by the user for monitoring work information and life information in a certain micro signal, a QQ number, various mailboxes, and the like.
In view of this, after various application states and original display contents corresponding to the application states are obtained by monitoring at least one target application, the corresponding original display contents in the application states can be processed based on monitoring task information set by a user, so as to obtain monitoring data corresponding to the monitoring task information.
For example, work information and life information in applications such as WeChat, QQ and various mailboxes of the mobile device are classified, various types of information are integrated, and the like, so that a data basis is provided for various related applications on the basis of application monitoring. For example, the application scheme may be applied to a private mobile data center server, and various social mobile applications of a mobile device user are monitored, original display contents in various application states of the mobile device user are obtained, classified and integrated, and various information or instant messages of the mobile device user in the working aspect or the life aspect are finally fed back to the mobile device user for the mobile device user to view, avoid omission and the like.
According to the above scheme, the data monitoring method for the device application provided by the application comprises the following steps: acquiring a monitoring instruction; monitoring at least one target application to obtain the current state information of each application state of the at least one target application and original display content matched with the state information of each application state; and storing the state information and the original display content; and processing each stored original display content based on the monitoring task information included in the monitoring instruction. Therefore, the method and the device for monitoring the equipment application realize a scheme for monitoring the equipment application, and based on the scheme, at least one target application with a monitoring requirement can be effectively monitored, and monitoring data conforming to monitoring task information can be obtained. Therefore, the method and the device fill up the technical blank in the monitoring aspect of the device application (such as mobile application) in the prior art, and provide a data base for subsequent related applications.
In the following second embodiment, a specific application example of the method of the present application is provided.
Referring to a schematic structural diagram of a mobile application sandbox system shown in fig. 3, the embodiment implements a private data center-oriented Android mobile application sandbox system based on a scheme of the present application, and the system is deployed on a private mobile data center server. As shown in fig. 3, the entities included in the mobile application sandbox system and the specific division of labor of each entity are as follows:
1) android virtual machine: the method comprises the steps that an operating environment is provided for mobile application, and a virtual machine based on an Android operating system replaces actual hardware, so that control and large-scale deployment on a private data center server are facilitated;
2) a control module: the method comprises the steps that an operating environment is provided for mobile application, and a virtual machine based on an Android operating system replaces actual hardware, so that control and large-scale deployment on a private data center server are facilitated;
here, it should be noted that the Android virtual machine is different from the control module in that the virtual machine is a generic name of all modules, and includes the control module and the mobile application, and the main functions implemented by the virtual machine are functions implemented by the control module.
3) A logic module: the method comprises the steps that core operation logic is included, a control command is generated according to the requirements of application monitoring and data acquisition, and the generated control command is sent to a virtual machine control module so as to drive the virtual machine to operate;
4) a data storage module: the acquired Application State Information (ASI) and data (original display content in XML) are stored.
Based on the entities and the division of labor of the entities, the work flow of the mobile application sandbox system is as follows:
1) a user specifies target mobile application and sandbox operation settings, including monitoring task content, account information and the like;
2) the logic module generates an application monitoring task logic (namely the application content access logic based on the ASI in the above) according to the application running setting, generates a control instruction and starts a monitoring task;
3) the logic module sends the generated control instruction to the control module, and the control module controls the virtual machine to complete the corresponding instruction and acquire the original display content of the corresponding target mobile application in each application state;
4) the control module returns the instruction execution result to the logic module;
5) and the logic module sends information and content (application state information, display content and the like) to be recorded to the data storage module for storage according to the execution result.
During the operation of the mobile application sandbox system, the processing instructions related to the logic module and the control module may include, but are not limited to:
1) installing an application (installing a mobile application to be monitored in a virtual machine running environment);
2) running the application (controlling the mobile application to run in the virtual machine runtime environment);
3) acquiring operation information;
4) acquiring display content;
5) clicking a screen;
6) sliding the screen;
7) the application is closed.
In this embodiment, the mobile application sandbox system may automatically start and operate the Android mobile application program through the virtual machine, simulate various actual interactions of the user on the application program, monitor the running condition of the application program, and obtain the application state information and the internal display content of the application program, thereby implementing efficient information extraction and monitoring on the mobile application, and providing a data basis for the private data center to develop related data services.
Referring to fig. 3, it is a schematic structural diagram of a data monitoring system for device-oriented applications provided in the present application, and as shown in fig. 3, the system includes:
an obtaining unit 401, configured to obtain a monitoring instruction for monitoring an apparatus application; the monitoring instruction comprises an application identification of at least one target application to be monitored and monitoring task information aiming at the at least one target application.
A monitoring and storing unit 402, configured to monitor the at least one target application, and obtain state information of each application state of the at least one target application at present, and original display content matched with the state information of each application state; and storing the state information of each application state and the original display content.
A processing unit 403, configured to process each stored original display content based on the monitoring task information to obtain monitoring data that conforms to the monitoring task information.
In an implementation manner of the embodiment of the present application, the obtaining unit 401 is specifically configured to: acquiring an application identifier of the appointed at least one target application and the set monitoring task information; and generating the monitoring instruction according to the application identifier of the at least one target application and the monitoring task information.
In an implementation manner of the embodiment of the present application, the monitoring and storing unit 402 is specifically configured to:
for each target application in the at least one target application, acquiring current operation information and current original display content corresponding to the target application in a current access stage;
calculating the current ASI of the target application based on the current operation information and the current original display content; the current ASI is used for marking the current application state corresponding to the current access stage of the target application;
determining whether the current application state has been accessed based on the current ASI; if yes, returning to the state of the previous level accessed in the current application state, and determining the application state needing to be accessed next based on the operable elements corresponding to the state of the previous level accessed; if not, storing the current ASI and the current original display content, marking the operation corresponding to the accessed upper-level application state to the current application state, and continuing the next step;
determining all operable elements corresponding to the current application state based on the current original display content; and selecting the elements which are not operated in all the operable elements for operation based on the marked states and the operation between the states so as to enter the access of the next stage, and repeating the processing process in the access of the next stage until a preset condition is met.
In an implementation manner of the embodiment of the present application, the acquiring, by the monitoring and storing unit 402, current operation information and current original display content corresponding to the target application at a current access stage specifically includes: obtaining the activity name of the activity of the target application in the current access stage; and acquiring the current original display content in the form of an XML document.
In an implementation manner of the embodiment of the present application, the ASI includes: an activity name; a content structure tree; the content structure tree is a structure obtained by organizing all page elements of original display content in an XML document form according to a tree structure.
In an implementation manner of the embodiment of the present application, the processing unit 403 is specifically configured to: and integrating the stored original display contents based on the monitoring task information.
For the data monitoring system for the device-oriented application disclosed in the third embodiment of the present application, since it corresponds to the data monitoring method for the device-oriented application disclosed in the above embodiments, the description is relatively simple, and for the relevant similarities, please refer to the description of the data monitoring method for the device-oriented application in the above embodiments, and details are not described here.
To sum up, compared with the prior art, the data monitoring method and system for the device application provided by the application have the following beneficial effects:
1) the method is more targeted by taking the acquired content as the center;
2) the efficiency is high, and the method is suitable for large-scale deployment;
3) the configurability is strong, and the method is suitable for various application environments;
4) the data is modeled, and the data value is high.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A data monitoring method facing to equipment application is characterized by comprising the following steps:
acquiring a monitoring instruction for monitoring equipment application; the monitoring instruction comprises an application identifier of at least one target application to be monitored and monitoring task information aiming at the at least one target application;
monitoring the at least one target application to obtain the current state information of each application state of the at least one target application and original display content matched with the state information of each application state; and storing the state information of each application state and the original display content;
processing each stored original display content based on the monitoring task information to obtain monitoring data conforming to the monitoring task information;
the application state of the application is marked based on an application state marker model (ASI) to obtain state information of the application state, the application ASI comprises an activity name and a content structure tree which are applied in a certain state, the activity name is the mark name of a current application interactive interface, and the content structure tree of the application is a content structure which is obtained by organizing page elements in original display content displayed by a current application screen through a tree structure.
2. The method of claim 1, wherein obtaining monitoring instructions for monitoring device applications comprises:
and generating the monitoring instruction according to the application identifier of the at least one target application and the monitoring task information.
3. The method according to claim 1, wherein the obtaining of the state information of each application state at present by the at least one target application and the original display content matched with the state information of each application state, and storing the state information of each application state and the original display content comprises:
for each target application in the at least one target application, acquiring current operation information and current original display content corresponding to the target application in a current access stage;
calculating a current application state identifier model (ASI) of the target application based on the current operation information and the current original display content; the current ASI is used for marking the current application state corresponding to the current access stage of the target application;
determining whether the current application state has been accessed based on the current ASI; if yes, returning to the state of the previous level accessed in the current application state, and determining the application state needing to be accessed next based on the operable elements corresponding to the state of the previous level accessed; if not, storing the current ASI and the current original display content, marking the operation corresponding to the accessed upper-level application state to the current application state, and continuing the next step;
determining all operable elements corresponding to the current application state based on the current original display content; and selecting the elements which are not operated in all the operable elements for operation based on the marked states and the operation between the states so as to enter the access of the next stage, and repeating the processing process in the access of the next stage until a preset condition is met.
4. The method according to claim 3, wherein the obtaining of the current running information and the current original display content corresponding to the target application in the current access stage comprises:
obtaining the activity name of the activity of the target application in the current access stage;
and acquiring the current original display content in the form of an extensible markup language XML document.
5. The method of claim 1, wherein processing each of the stored raw display contents based on the monitoring task information comprises:
and integrating the stored original display contents based on the monitoring task information.
6. The method of any of claims 1-5, wherein the device application is a mobile application on a mobile device.
7. A data monitoring system for device-oriented applications, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a monitoring instruction for monitoring equipment application; the monitoring instruction comprises an application identifier of at least one target application to be monitored and monitoring task information aiming at the at least one target application;
the monitoring and storage unit is used for monitoring the at least one target application to obtain the current state information of each application state of the at least one target application and the original display content matched with the state information of each application state; and storing the state information of each application state and the original display content;
the processing unit is used for processing each stored original display content based on the monitoring task information so as to obtain monitoring data conforming to the monitoring task information;
the application state of the application is marked based on an application state marker model (ASI) to obtain state information of the application state, the application ASI comprises an activity name and a content structure tree which are applied in a certain state, the activity name is the mark name of a current application interactive interface, and the content structure tree of the application is a content structure which is obtained by organizing page elements in original display content displayed by a current application screen through a tree structure.
8. The system according to claim 7, wherein the obtaining unit is specifically configured to:
and generating the monitoring instruction according to the application identifier of the at least one target application and the monitoring task information.
9. The system of claim 7, wherein the monitoring and storage unit is specifically configured to:
for each target application in the at least one target application, acquiring current operation information and current original display content corresponding to the target application in a current access stage;
calculating the current ASI of the target application based on the current operation information and the current original display content; the current ASI is used for marking the current application state corresponding to the current access stage of the target application;
determining whether the current application state has been accessed based on the current ASI; if yes, returning to the state of the previous level accessed in the current application state, and determining the application state needing to be accessed next based on the operable elements corresponding to the state of the previous level accessed; if not, storing the current ASI and the current original display content, marking the operation corresponding to the accessed upper-level application state to the current application state, and continuing the next step;
determining all operable elements corresponding to the current application state based on the current original display content; and selecting the elements which are not operated in all the operable elements for operation based on the marked states and the operation between the states so as to enter the access of the next stage, and repeating the processing process in the access of the next stage until a preset condition is met.
CN201810797639.5A 2018-07-19 2018-07-19 Data monitoring method and system for equipment application Active CN109032907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810797639.5A CN109032907B (en) 2018-07-19 2018-07-19 Data monitoring method and system for equipment application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810797639.5A CN109032907B (en) 2018-07-19 2018-07-19 Data monitoring method and system for equipment application

Publications (2)

Publication Number Publication Date
CN109032907A CN109032907A (en) 2018-12-18
CN109032907B true CN109032907B (en) 2020-11-03

Family

ID=64643612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810797639.5A Active CN109032907B (en) 2018-07-19 2018-07-19 Data monitoring method and system for equipment application

Country Status (1)

Country Link
CN (1) CN109032907B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094228A (en) * 2021-03-19 2021-07-09 联想(北京)有限公司 Task monitoring method and device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2409788A1 (en) * 2002-10-25 2004-04-25 Ibm Canada Limited-Ibm Canada Limitee Architecture for dynamically monitoring computer application data
CN1934539A (en) * 2004-03-31 2007-03-21 咕果公司 Profile based capture component for monitoring events in applications
CN101815013A (en) * 2009-12-24 2010-08-25 航天恒星科技有限公司 Method for monitoring operation of satellite application system based on Ajax and Web service technology
US8090688B2 (en) * 2007-08-29 2012-01-03 International Business Machines Corporation Indicating review activity of a document in a content management system
CN107608852A (en) * 2017-09-01 2018-01-19 清华大学 A kind of process monitoring method and device
CN108170843A (en) * 2018-01-17 2018-06-15 百度在线网络技术(北京)有限公司 For obtaining the method and apparatus of data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7209898B2 (en) * 2002-09-30 2007-04-24 Sap Aktiengesellschaft XML instrumentation interface for tree-based monitoring architecture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2409788A1 (en) * 2002-10-25 2004-04-25 Ibm Canada Limited-Ibm Canada Limitee Architecture for dynamically monitoring computer application data
CN1934539A (en) * 2004-03-31 2007-03-21 咕果公司 Profile based capture component for monitoring events in applications
US8090688B2 (en) * 2007-08-29 2012-01-03 International Business Machines Corporation Indicating review activity of a document in a content management system
CN101815013A (en) * 2009-12-24 2010-08-25 航天恒星科技有限公司 Method for monitoring operation of satellite application system based on Ajax and Web service technology
CN107608852A (en) * 2017-09-01 2018-01-19 清华大学 A kind of process monitoring method and device
CN108170843A (en) * 2018-01-17 2018-06-15 百度在线网络技术(北京)有限公司 For obtaining the method and apparatus of data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《运用可扩展标记语言弹性结构电子病历的中医科研数据分析统计方法探索研究》;梁志伟等;《世界科学技术(中医药现代化)》;20100220;全文 *

Also Published As

Publication number Publication date
CN109032907A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN101373431B (en) Enhanced widget composition platform
US11093715B2 (en) Method and system for learning and enabling commands via user demonstration
CN107408010A (en) The voice command for dynamically inferring that software operates is manipulated by the user of electronic equipment
US11341589B2 (en) Method and system for providing a cooperative working environment that facilitates management of property
WO2016082311A1 (en) System and method for generating machining control data of numerical control machine tool
US10108698B2 (en) Common data repository for improving transactional efficiencies of user interactions with a computing device
US20200210053A1 (en) Systems, devices and methods for electronic determination and communication of location information
CN101853157B (en) Automatic identification method for application software GUI object
CN1934539A (en) Profile based capture component for monitoring events in applications
JPH08501401A (en) Object-oriented notification framework system
CN107071512B (en) A kind of dubbing method, apparatus and system
CN102054217B (en) Entity morphing in metamodel-based tools
AU2017216248B2 (en) Systems and methods for generating electronic document templates and electronic documents
CN113505082B (en) Application program testing method and device
CN104680588A (en) BIM-based event marking method and system
JP7280388B2 (en) Apparatus and method, equipment and medium for implementing a customized artificial intelligence production line
US20190310976A1 (en) Search Results Modulator
CN104834715A (en) Website generating method and system based on components and container
CN109032907B (en) Data monitoring method and system for equipment application
CN103337050A (en) A climate diagnosis and value simulation integration analysis system
US20180349932A1 (en) Methods and systems for determining persona of participants by the participant use of a software product
CN105988992A (en) Icon pushing method and device
CN114895884A (en) Method and system for compiling and executing RPA script of terminal equipment
CN112732379A (en) Operation method of application program on intelligent terminal, terminal and storage medium
KR101987183B1 (en) Apparatus, method and server for app development supporting front-end development using app development utility

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