CN105975373A - Running monitoring method and apparatus for software program - Google Patents
Running monitoring method and apparatus for software program Download PDFInfo
- Publication number
- CN105975373A CN105975373A CN201610262845.7A CN201610262845A CN105975373A CN 105975373 A CN105975373 A CN 105975373A CN 201610262845 A CN201610262845 A CN 201610262845A CN 105975373 A CN105975373 A CN 105975373A
- Authority
- CN
- China
- Prior art keywords
- information
- software programs
- running status
- monitoring
- state
- 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.)
- Pending
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
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a running monitoring method and apparatus for a software program. The method comprises the steps of obtaining information of a current running state of a target software program in a running process of the target software program; and if the current running state is a predetermined running monitoring state, activating log output of the target software program to record running data in the running monitoring state. According to the running monitoring method and apparatus for the software program, provided by embodiments of the invention, logs of the target software program can be controlled to be abstemiously output when a target application is in the predetermined running monitoring state of jamming or the like, thereby avoiding influence on normal running of the software program.
Description
Technical field
The present invention relates to areas of information technology, particularly relate to a kind of operational monitoring method of software program
And device.
Background technology
Along with the development of technology, the kind of the mobile terminal product that can provide the user and class
Type also gets more and more, such as: smart mobile phone, panel computer and e-book etc..For variety classes
Mobile terminal, the application software that businessman provides the user also gets more and more, formal at application software
Before issue, it is typically necessary tester and relative application software is tested.
During application software testing, can be by the operation shape of the tested application software of log recording
State, to reach to test the purpose of application software.But, due to application software meeting in running
Such as the multiple situations such as card occur, if the most frequently the running status of application software being carried out day
Will exports, and will certainly affect the normal operating condition of tested application software, and then cannot obtain reality
Test result.
Summary of the invention
It is an object of the invention to, it is provided that the operational monitoring method and device of a kind of software program, with
Realize being at destination application under the predetermined operational monitoring states such as card, control target software
The low-keyed output of program daily record, it is to avoid affect the properly functioning of software program.
According to an aspect of the present invention, it is provided that a kind of operational monitoring method of software program, including:
In the running of targeted software programs, obtain the running status that described targeted software programs is current
Information;If described current running status is predetermined operational monitoring state, activate described mesh
The daily record output of mark software program, to record the service data under described operational monitoring state.
Further, after the information of the current running status of the described targeted software programs of described acquisition,
Described method also includes: whether the information monitoring the current running status of described targeted software programs is
Predetermined operational monitoring state.
Further, the information of the running status that described targeted software programs is current includes misoperation shape
The information of state;Whether the information of the running status that the described targeted software programs of described monitoring is current is pre-
Fixed operational monitoring state includes: obtain the operational factor of described targeted software programs;Judge described
Whether the information of the running status that operational factor is corresponding is the information of abnormal operating condition;If it is described
The information of the running status that operational factor is corresponding is the information of abnormal operating condition, determines described target
The information of the running status that software program is current is predetermined operational monitoring state.
Further, the information of the running status that described targeted software programs is current includes that data interaction is different
The often information of state;Whether the information of the running status that the described targeted software programs of described monitoring is current
Include for predetermined operational monitoring state: the network obtaining described targeted software programs place terminal passes
Defeated speed;Judge that whether described network transmission speed is less than presetting network transmission speed;If it is described
Network transmission speed, less than presetting network transmission speed, determines the fortune that described targeted software programs is current
The information of row state is predetermined operational monitoring state.
Further, the daily record output of the described targeted software programs of described activation includes: detect described pre-
The affiliated rank of fixed operational monitoring state;Export described targeted software programs relative with affiliated rank
The daily record answered.
According to a further aspect in the invention, also provide for the device for monitoring running of a kind of software program, bag
Include: data obtaining module, in the running of targeted software programs, obtain described target
The information of the running status that software program is current;Daily record output active module, for described currently
Running status when being predetermined operational monitoring state, the daily record activating described targeted software programs is defeated
Go out, to record the service data under described operational monitoring state.
Further, described device also includes: monitoring state module, is used for monitoring described target software
Whether the information of the running status that program is current is predetermined operational monitoring state.
Further, the information of the running status that described targeted software programs is current includes misoperation shape
The information of state;Described monitoring state module includes: operational factor acquiring unit, is used for obtaining described
The operational factor of targeted software programs;Abnormal operating condition judging unit, is used for judging described operation
Whether the information of the running status that parameter is corresponding is the information of abnormal operating condition;First operational monitoring
Status determining unit, the information for the running status corresponding in described operational factor is misoperation
During the information of state, determine that the information of the current running status of described targeted software programs is predetermined
Operational monitoring state.
Further, the information of the running status that described targeted software programs is current includes that data interaction is different
The often information of state;Described monitoring state module includes: network transmission speed acquiring unit, is used for
Obtain the network transmission speed of described targeted software programs place terminal;Network transmission speed judges single
Unit, is used for judging that whether described network transmission speed is less than presetting network transmission speed;Second runs
Monitoring state determines unit, is used for when described network transmission speed is less than default network transmission speed,
The information determining the current running status of described targeted software programs is predetermined operational monitoring state.
Further, described daily record output active module includes: level detection unit, is used for detecting institute
State the affiliated rank of predetermined operational monitoring state;Daily record output unit, is used for exporting described target
The daily record that software program is corresponding with affiliated rank.
The operational monitoring method and device of the software program that the embodiment of the present invention provides, in intended application
Program is in card when waiting due to situations such as internal operation state are the most smooth, can control the output of daily record,
Avoid input journal always in prior art, affect the actual motion of software, application program may be made
Become more to block and time;It is in the most high external factor of network transmission speed at destination application to draw
When the operation risen is not smooth, this destination application can be activated and export more detailed daily record, in order to after
Platform operation maintenance personnel can be better understood upon the running status of destination application according to this daily record.
Accompanying drawing explanation
Fig. 1 is the flow chart of the operational monitoring method of the software program illustrating according to embodiments of the present invention;
Fig. 2 is the flow chart of the operational monitoring method of the software program illustrating according to embodiments of the present invention two;
Fig. 3 is the logic diagram of the device for monitoring running of the software program illustrating according to embodiments of the present invention three;
Fig. 4 is the logic diagram of the device for monitoring running of the software program illustrating according to embodiments of the present invention four;
Fig. 5 is the hardware architecture diagram of the terminal unit illustrating according to embodiments of the present invention five.
Detailed description of the invention
The basic conception of the present invention has been to provide a kind of software program in running, to software
Program daily record generates the technical scheme being controlled.In the running of destination application, logical
Cross the acquisition of information to this destination application running status, if this destination application is current
The information of running status is predetermined operational monitoring state, then activate the day of this destination application
Will exports, in order to record this intended application software under this operational monitoring state by this daily record output
Service data.
Compared with prior art, on the one hand, be in card at destination application and wait owing to transporting inside
During the situations such as row state is the most smooth, the output of daily record can be controlled, it is to avoid prior art inputs always
Daily record, affects the actual motion of software, application program may be made to become more block time;The opposing party
Face, is in, at destination application, the operation that the most high external factor of network transmission speed causes the most smooth
Time, this destination application can be activated and export more detailed daily record, in order to backstage operation maintenance personnel can
To be better understood upon the running status of destination application according to this daily record.
Describe the operational monitoring of the exemplary embodiment software program of the present invention below in conjunction with the accompanying drawings in detail
Method and device.
Embodiment one
Fig. 1 is the flow process of the operational monitoring method of the software program illustrating according to embodiments of the present invention
Figure.The method can be performed on the device for monitoring running of the software program as described in embodiment three.
With reference to Fig. 1, in step s 110, in the running of targeted software programs, obtain mesh
The information of the running status that mark software program is current.
Targeted software programs in embodiment can be the application program installed in terminal, it is also possible to be
The system program installed in terminal.Therefore, can applying in correspondence of the embodiment that the present invention provides
With the daily record output facet of software, it is also possible to apply at system program daily record output facet.
In the running of targeted software programs, there is the running status of oneself, such as: run
In startup, properly functioning in, in misoperation and run close medium.For record object software
The running status of program, needs targeted software programs is carried out daily record output, in order to staff's root
Its running status is checked in the daily record exported according to this targeted software programs, and then upgrades it or beat benefit
Fourth, revises the bug (leak) etc. in intended application software program.
In the step s 120, if current running status is predetermined operational monitoring state, activate
The daily record output of targeted software programs, to record the service data under operational monitoring state.
When running status in targeted software programs is predetermined operational monitoring state, activate this target
The daily record output of software program.This predetermined operational monitoring state, can be abnormal operating condition,
Here abnormal operating condition, can be owing to this targeted software programs internal operation is abnormal, as interior
Deposit what the reasons such as spilling caused, it is also possible to external factor causes owing to network condition is bad etc..
Therefore, time under the operational monitoring state that targeted software programs is predetermined, this target is activated soft
The daily record output of part program, if being in test phase at software, can make tester according to this
This targeted software programs is debugged by the daily record of targeted software programs output;If reached the standard grade at software
Stage, then the daily record that developer can be made to export according to this targeted software programs is analyzed,
If this targeted software programs is leaky, then developer can be made quickly to understand this target software
Bug place, in order to this targeted software programs is upgraded.
The operational monitoring method of the software program that the embodiment of the present invention provides, at destination application
When card waits due to situations such as internal operation state are the most smooth, the output of daily record can be controlled, it is to avoid
Input journal always in prior art, affects the actual motion of software, and application program may be made to become
More card etc.;It is in what the most high external factor of network transmission speed caused at destination application
When running not smooth, this destination application can be activated and export more detailed daily record, in order to backstage is transported
Dimension personnel can be better understood upon the running status of destination application according to this daily record.
Embodiment two
Fig. 2 is the flow process of the operational monitoring method of the software program illustrating according to embodiments of the present invention two
Figure, described embodiment can be considered another concrete implementation scheme of Fig. 1.Can be as shown in Figure 4
Software program device for monitoring running on perform the method.
In step S210, in the running of targeted software programs, obtain targeted software programs
The information of current running status.
Here, this step is identical with step S110 processing mode in above-described embodiment one, specifically can join
See the step content of above-mentioned S110, do not repeat them here.
In step S220, whether the information of the running status that monitoring objective software program is current is pre-
Fixed operational monitoring state.
This predetermined monitoring running state state can be user-defined state, such as, if
User needs the start-up course checking targeted software programs the most normal, then this predetermined operation shape
State monitoring state is the starting state of this targeted software programs, certainly, as required, it is also possible to be
Running status in running.With targeted software programs running in the embodiment that the present invention provides
In state as a example by illustrate, but the embodiment of the present invention is not limited to this.
Exemplary, monitoring running state state predetermined for targeted software programs is defined as abnormal fortune
The information of row state and the information of data interaction abnormality.
In the information that monitoring running state state is abnormal operating condition that targeted software programs is predetermined
Time, step S220 just may comprise steps of:
S1, obtains the operational factor of targeted software programs.
In the running of targeted software programs, the operation of this targeted software programs can be detected
Parameter, such as shared memory headroom etc..
S2, it is judged that whether the information of the running status that operational factor is corresponding is the letter of abnormal operating condition
Breath.
After getting the operational factor of targeted software programs, it is possible to according to this targeted software programs
Fortune whether deposit parameter abnormal to the running status judging this targeted software programs.Exemplary, certain
Application software occupied terminal internal memory in normal course of operation is less than 5M, if be detected that should
With software currently shared memory headroom more than 5M, it is likely to internal memory overflows, and then just can draw
The running status of this application software is abnormal operating condition.
S3, if the information that information is abnormal operating condition of running status corresponding to operational factor,
The information determining the current running status of targeted software programs is predetermined operational monitoring state.
Therefore, at the letter of the running status judging correspondence according to the operational factor of targeted software programs
When breath is for abnormal operating condition information, i.e. can determine that the current running status of this targeted software programs
Information is predetermined operational monitoring state.
Exemplary, it is that data interaction is different in the monitoring running state state that targeted software programs is predetermined
During the information of normal state, step S220 just may comprise steps of:
S4, obtains the network transmission speed of targeted software programs place terminal.
At the letter that monitoring running state state is data interaction abnormality that targeted software programs is predetermined
It can be understood as owing to external factor causes this targeted software programs operation exception, here during breath
External factor refers to the network transmission speed situation of this targeted software programs place terminal.Exemplary,
If this targeted software programs is Online Video player, if the network transmission speed that terminal is current
The lowest, then to be likely to result in what this Online Video player cannot be watched needed for normal play user
Video.
S5, it is judged that whether network transmission speed is less than presetting network transmission speed.
Therefore, after getting the network transmission speed that terminal is current, need to judge that this network transmits
Whether speed is more than presetting network transmission speed.Wherein, this default network transmission speed can be to broadcast
Put device and play the network transmission speed needed for video the most online.
S6, if network transmission speed is less than presetting network transmission speed, determines targeted software programs
The information of current running status is predetermined operational monitoring state.
This network transmission speed less than preset network transmission speed time, then illustrate this player without
Method plays video the most online, and the Online Video of player plays can be caused the phenomenons such as card occur,
Can be so predetermined operational monitoring state by the running state information of this player.
In step S230, if current running status is predetermined operational monitoring state, detection
The affiliated rank of predetermined operational monitoring state, output targeted software programs is corresponding with affiliated rank
Daily record, to record the service data under operational monitoring state.
According to the above-mentioned statement in embodiment, it is in predetermined operational monitoring shape in targeted software programs
During state, if this predetermined operational monitoring state is drawn owing to this targeted software programs self-operating is abnormal
Rise, then at this time need the daily record of low-keyed output targeted software programs, if daily record output
Too much, the properly functioning of targeted software programs can be affected further.Therefore, this is the daily record of output
Corresponding level entry is less, such as error, fatal etc..
If this predetermined operational monitoring state causes targeted software programs to run due to external factor
Abnormal, as relatively low in network transmission speed etc., then the speed of download of targeted software programs can be affected,
But not affecting its speed of service, the daily record level entry the most at this moment exported can be more detailed,
Such as info, warning, error, fatal etc..
The operational monitoring method of the software program that the embodiment of the present invention provides, at destination application
In running, by the acquisition of information to this destination application running status, if this target
The information of the running status that application program is current is predetermined operational monitoring state, then activate this mesh
The daily record output of mark application program, in order to record this intended application software at this by this daily record output
Service data under operational monitoring state.
Therefore, compared with prior art, the operational monitoring of the software program that the embodiment of the present invention provides
Method can produce following beneficial effect:
On the one hand, it is in card at destination application to wait due to situations such as internal operation state are the most smooth
Time, the low-keyed output of daily record can be controlled, it is to avoid input journal always in prior art, impact
The actual motion of software, may make application program become more to block time.
On the other hand, it is in the most high external factor of network transmission speed at destination application to cause
Operation smooth time, this destination application can be activated and export more detailed daily record, in order to backstage
Operation maintenance personnel can be better understood upon the running status of destination application according to this daily record.
Embodiment three
Based on identical technology design, Fig. 3 be illustrate according to embodiments of the present invention three software program
The logic diagram of device for monitoring running.May be used to perform the fortune of software program as described in embodiment one
Row monitoring method flow process.
With reference to Fig. 3, the device for monitoring running of software program includes: data obtaining module 310 and day
Will output active module 320.
Data obtaining module 310, in the running of targeted software programs, obtains described mesh
The information of the running status that mark software program is current;
It is predetermined operation prison that daily record output active module 320 is used in described current running status
During survey state, activate the daily record output of described targeted software programs, to record described operational monitoring shape
Service data under state.
The device for monitoring running of the software program that the embodiment of the present invention provides, at destination application
When card waits due to situations such as internal operation state are the most smooth, the output of daily record can be controlled, it is to avoid
Input journal always in prior art, affects the actual motion of software, and application program may be made to become
More card etc.;It is in what the most high external factor of network transmission speed caused at destination application
When running not smooth, this destination application can be activated and export more detailed daily record, in order to backstage is transported
Dimension personnel can be better understood upon the running status of destination application according to this daily record.
Embodiment four
Based on identical technology design, Fig. 4 be illustrate according to embodiments of the present invention four terminal soft
The logic diagram of the device for monitoring running of part program.May be used to perform software journey as described in embodiment two
The operational monitoring method flow of sequence.
With reference to Fig. 4, on the basis of previous embodiment, according to the preferred embodiment of the present invention, this dress
Put and can also include: monitoring state module 330.
Wherein, the information in the current running status of described targeted software programs includes misoperation shape
During the information of state, monitoring state module 330 specifically includes: operational factor acquiring unit 331, different
Often running status judging unit 332 and the first operational monitoring status determining unit 333, wherein,
Operational factor acquiring unit 331 is for obtaining the operational factor of described targeted software programs;
Abnormal operating condition judging unit 332 is for judging the running status that described operational factor is corresponding
Information be whether the information of abnormal operating condition;
First operational monitoring status determining unit 333 is for the operation shape corresponding in described operational factor
When the information of state is the information of abnormal operating condition, determine the operation that described targeted software programs is current
The information of state is predetermined operational monitoring state.
Information in the current running status of described targeted software programs includes data interaction abnormality
Information, monitoring state module 330 specifically may include that network transmission speed acquiring unit 334,
Network transmission speed judging unit 335 and the second operational monitoring status determining unit 336, wherein,
Network transmission speed acquiring unit 334 is for obtaining described targeted software programs place terminal
Network transmission speed;
Network transmission speed judging unit 335 is used for judging that whether described network transmission speed is less than pre-
If network transmission speed;
Second operational monitoring status determining unit 336 is preset for being less than at described network transmission speed
During network transmission speed, determine that the information of the current running status of described targeted software programs is predetermined
Operational monitoring state.
Further, daily record output active module 320 includes:
Level detection unit 321 is for detecting the affiliated rank of described predetermined operational monitoring state;
Daily record output unit 322 is corresponding with affiliated rank for exporting described targeted software programs
Daily record.
The device for monitoring running of the software program that the embodiment of the present invention provides, at destination application
In running, by the acquisition of information to this destination application running status, if this target
The information of the running status that application program is current is predetermined operational monitoring state, then activate this mesh
The daily record output of mark application program, in order to record this intended application software at this by this daily record output
Service data under operational monitoring state.
Compared with prior art, the device for monitoring running of the software program that the embodiment of the present invention provides can
To produce following beneficial effect:
On the one hand, it is in card at destination application to wait due to situations such as internal operation state are the most smooth
Time, the low-keyed output of daily record can be controlled, it is to avoid input journal always in prior art, impact
The actual motion of software, may make application program become more to block time.
On the other hand, it is in the most high external factor of network transmission speed at destination application to cause
Operation smooth time, this destination application can be activated and export more detailed daily record, in order to backstage
Operation maintenance personnel can be better understood upon the running status of destination application according to this daily record.
Embodiment five
Embodiments providing a kind of terminal unit, its hardware architecture diagram is as shown in Figure 5.
Terminal unit includes processor 510, transceiver 520 and bus 530.Wherein, processor
510, transceiver 520 is communicated by bus 530.
Transceiver 520, in the running of targeted software programs, obtains described target software
The information of the running status that program is current.
If this processor 510 is predetermined operational monitoring shape for described current running status
State, activates the daily record output of described targeted software programs, to record under described operational monitoring state
Service data.
In the optional embodiment of one, processor 510 is additionally operable to monitor described target software journey
Whether the information of the running status that sequence is current is predetermined operational monitoring state.
In the optional embodiment of one, processor 510 is additionally operable to obtain described target software journey
The operational factor of sequence;Whether the information judging running status corresponding to described operational factor is abnormal fortune
The information of row state;If the information of the running status that described operational factor is corresponding is misoperation shape
The information of state, determines that the information of the current running status of described targeted software programs is predetermined operation
Monitoring state.
In the optional embodiment of one, processor 510 is additionally operable to obtain described target software journey
The network transmission speed of sequence place terminal;Judge that whether described network transmission speed is less than presetting network
Transfer rate;If described network transmission speed is less than presetting network transmission speed, determine described mesh
The information of the running status that mark software program is current is predetermined operational monitoring state.
In the optional embodiment of one, processor 510 is additionally operable to detect described predetermined operation
The affiliated rank of monitoring state;Export the daily record that described targeted software programs is corresponding with affiliated rank.
Should be understood that the terminal unit provided according to embodiments of the present invention can realize in Fig. 1 to Fig. 2
The corresponding flow process of each method, for sake of simplicity, do not repeat them here, in said method embodiment
Associated description is also applied for the present embodiment.
Additionally, the embodiment of the present invention additionally provides a kind of computer program, this computer program includes
Computer-readable code, when this computer-readable code runs on the terminal device, causes terminal
Equipment performs the operational monitoring method of the software program of any one in aforesaid plurality of embodiment of the method.
Further, the embodiment of the present invention additionally provides a kind of computer-readable medium, wherein stores
The computer program stated.
It may be noted that according to the needs implemented, all parts/step described in this application can be torn open
It is divided into more components/steps, it is possible to by two or more components/steps or the part of components/steps
The components/steps that operational group synthesis is new, to realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as depositing
Store up the software in record medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk)
Or computer code, or be implemented through original storage that network downloads at remotely record medium or
In nonvolatile machine readable media and the computer code in local recording medium will be stored in, from
And method described here can be stored in use general purpose computer, application specific processor or able to programme
Or the such software processes on the record medium of specialized hardware (such as ASIC or FPGA).Can
To understand, computer, processor, microprocessor controller or programmable hardware include storing or
Receive software or the storage assembly (such as, RAM, ROM, flash memory etc.) of computer code, when
When described software or computer code are by computer, processor or hardware access and execution, it is achieved
This processing method described.Additionally, when general purpose computer accesses for realizing the process being shown in which
Code time, general purpose computer is converted to for performing the process being shown in which by the execution of code
Special-purpose computer.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not
Be confined to this, any those familiar with the art in the technical scope that the invention discloses,
Change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, originally
The protection domain of invention should be as the criterion with described scope of the claims.
Claims (10)
1. the operational monitoring method of a software program, it is characterised in that described method includes:
In the running of targeted software programs, obtain the operation that described targeted software programs is current
The information of state;
If described current running status is predetermined operational monitoring state, activate described target soft
The daily record output of part program, to record the service data under described operational monitoring state.
The operational monitoring method of software program the most according to claim 1, it is characterised in that
After the information of the current running status of the described targeted software programs of described acquisition, described method is also
Including:
Whether the information monitoring the current running status of described targeted software programs is predetermined operation prison
Survey state.
The operational monitoring method of software program the most according to claim 2, it is characterised in that
The information of the running status that described targeted software programs is current includes the information of abnormal operating condition;
Whether the information of the running status that the described targeted software programs of described monitoring is current is predetermined fortune
Row monitoring state includes:
Obtain the operational factor of described targeted software programs;
Judge that whether the information of running status corresponding to described operational factor be the letter of abnormal operating condition
Breath;
If the information of the running status that described operational factor is corresponding is the information of abnormal operating condition,
The information determining the current running status of described targeted software programs is predetermined operational monitoring state.
The operational monitoring method of software program the most according to claim 2, it is characterised in that
The information of the running status that described targeted software programs is current includes the letter of data interaction abnormality
Breath;
Whether the information of the running status that the described targeted software programs of described monitoring is current is predetermined fortune
Row monitoring state includes:
Obtain the network transmission speed of described targeted software programs place terminal;
Judge that whether described network transmission speed is less than presetting network transmission speed;
If described network transmission speed is less than presetting network transmission speed, determine described target software
The information of the running status that program is current is predetermined operational monitoring state.
The operational monitoring method of software program the most according to claim 1, it is characterised in that
The daily record output of the described targeted software programs of described activation includes:
Detect the affiliated rank of described predetermined operational monitoring state;
Export the daily record that described targeted software programs is corresponding with affiliated rank.
6. the device for monitoring running of a software program, it is characterised in that described device includes:
Data obtaining module, in the running of targeted software programs, obtains described target
The information of the running status that software program is current;
Daily record output active module, being used in described current running status is predetermined operational monitoring
During state, activate the daily record output of described targeted software programs, to record described operational monitoring state
Under service data.
The device for monitoring running of software program the most according to claim 6, it is characterised in that
Described device also includes:
Monitoring state module, for monitoring the information of the current running status of described targeted software programs
Whether it is predetermined operational monitoring state.
The device for monitoring running of software program the most according to claim 7, it is characterised in that
The information of the running status that described targeted software programs is current includes the information of abnormal operating condition;Institute
State monitoring state module to include:
Operational factor acquiring unit, for obtaining the operational factor of described targeted software programs;
Abnormal operating condition judging unit, for judging running status corresponding to described operational factor
Whether information is the information of abnormal operating condition;
First operational monitoring status determining unit, for the running status corresponding in described operational factor
The information that information is abnormal operating condition time, determine the operation shape that described targeted software programs is current
The information of state is predetermined operational monitoring state.
The device for monitoring running of software program the most according to claim 7, it is characterised in that
The information of the running status that described targeted software programs is current includes the letter of data interaction abnormality
Breath;Described monitoring state module includes:
Network transmission speed acquiring unit, for obtaining the net of described targeted software programs place terminal
Network transfer rate;
Network transmission speed judging unit, is used for judging that whether described network transmission speed is less than presetting
Network transmission speed;
Second operational monitoring status determining unit, presets net for being less than at described network transmission speed
During network transfer rate, determine that the information of the current running status of described targeted software programs is predetermined
Operational monitoring state.
The device for monitoring running of software program the most according to claim 6, it is characterised in that
Described daily record output active module includes:
Level detection unit, for detecting the affiliated rank of described predetermined operational monitoring state;
Daily record output unit, for exporting the day that described targeted software programs is corresponding with affiliated rank
Will.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610262845.7A CN105975373A (en) | 2016-04-25 | 2016-04-25 | Running monitoring method and apparatus for software program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610262845.7A CN105975373A (en) | 2016-04-25 | 2016-04-25 | Running monitoring method and apparatus for software program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975373A true CN105975373A (en) | 2016-09-28 |
Family
ID=56994673
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610262845.7A Pending CN105975373A (en) | 2016-04-25 | 2016-04-25 | Running monitoring method and apparatus for software program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975373A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108804324A (en) * | 2018-06-07 | 2018-11-13 | 广州金山安全管理系统技术有限公司 | The detection method and device of application program, storage medium, electronic device |
CN109495340A (en) * | 2018-11-02 | 2019-03-19 | 国电南京自动化股份有限公司 | A kind of Android application performance monitoring statisticss method and system |
CN110069925A (en) * | 2019-04-03 | 2019-07-30 | 北京奇安信科技有限公司 | Software monitors method, system and computer readable storage medium |
CN110505159A (en) * | 2018-05-18 | 2019-11-26 | 佳能株式会社 | Data processing equipment, data processing method, recording medium and data processing system |
CN112711518A (en) * | 2019-10-25 | 2021-04-27 | 腾讯科技(深圳)有限公司 | Log uploading method and device |
-
2016
- 2016-04-25 CN CN201610262845.7A patent/CN105975373A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110505159A (en) * | 2018-05-18 | 2019-11-26 | 佳能株式会社 | Data processing equipment, data processing method, recording medium and data processing system |
CN110505159B (en) * | 2018-05-18 | 2023-05-16 | 佳能株式会社 | Data processing device, data processing method, recording medium, and data processing system |
CN108804324A (en) * | 2018-06-07 | 2018-11-13 | 广州金山安全管理系统技术有限公司 | The detection method and device of application program, storage medium, electronic device |
CN109495340A (en) * | 2018-11-02 | 2019-03-19 | 国电南京自动化股份有限公司 | A kind of Android application performance monitoring statisticss method and system |
CN110069925A (en) * | 2019-04-03 | 2019-07-30 | 北京奇安信科技有限公司 | Software monitors method, system and computer readable storage medium |
CN110069925B (en) * | 2019-04-03 | 2020-09-25 | 奇安信科技集团股份有限公司 | Software monitoring method, system and computer readable storage medium |
CN112711518A (en) * | 2019-10-25 | 2021-04-27 | 腾讯科技(深圳)有限公司 | Log uploading method and device |
CN112711518B (en) * | 2019-10-25 | 2024-04-12 | 腾讯科技(深圳)有限公司 | Log uploading method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975373A (en) | Running monitoring method and apparatus for software program | |
CN109302522B (en) | Test method, test device, computer system, and computer medium | |
US9703694B2 (en) | Techniques for testing software | |
KR102537875B1 (en) | Method and apparatus for dinamically injecting fault for vehicle ecu software test | |
CN110673576B (en) | Automatic test method and device, vehicle and storage medium | |
CN112326070B (en) | Temperature sensor fault diagnosis method and device, electronic equipment and storage medium | |
CN108009085B (en) | Channel package testing method | |
CN111897724A (en) | Automatic testing method and device suitable for cloud platform | |
CN113009903B (en) | Fault diagnosis method and device, vehicle and storage medium | |
CN111693089A (en) | Product quality control method, device, equipment and storage medium for assembly line | |
CN111427732A (en) | Aging test method, aging test device, terminal and computer-readable storage medium | |
CN110990289B (en) | Method and device for automatically submitting bug, electronic equipment and storage medium | |
CN109508547A (en) | A kind of localization method of vulnerability of application program, device, storage medium and terminal | |
CN106201787A (en) | Terminal control method and device | |
CN113127331B (en) | Test method and device based on fault injection and computer equipment | |
CN109426607A (en) | Method for testing software, device and rail vehicle | |
CN116775498A (en) | Software testing method and device, electronic equipment and storage medium | |
Hänsel et al. | Towards collective online and offline testing for dynamic software product line systems | |
EP3070611A1 (en) | Statistical model-based test design for effective test case generation | |
CN108519950A (en) | Terminal, the fault detection method of application software and its device and readable storage medium storing program for executing | |
KR101626581B1 (en) | Test method for error applition of portable communication terminal | |
CN114338451A (en) | Controller local area network bus test system, method and storage medium | |
CN112327800A (en) | Vehicle detection method and device and diagnosis equipment | |
CN112632702A (en) | Vehicle protocol diagnostic tool detection method and device | |
CN107797915B (en) | Fault repairing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160928 |
|
WD01 | Invention patent application deemed withdrawn after publication |