CN107741910A - Application program installation capability method of testing, device, computing device and storage medium - Google Patents
Application program installation capability method of testing, device, computing device and storage medium Download PDFInfo
- Publication number
- CN107741910A CN107741910A CN201710972191.1A CN201710972191A CN107741910A CN 107741910 A CN107741910 A CN 107741910A CN 201710972191 A CN201710972191 A CN 201710972191A CN 107741910 A CN107741910 A CN 107741910A
- Authority
- CN
- China
- Prior art keywords
- time
- crucial
- specified
- application program
- time information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- 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/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3409—Recording 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 for performance assessment
- G06F11/3419—Recording 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 for performance assessment by assessing time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of application program installation capability method of testing, device, computing device and computer-readable storage medium, wherein, application program installation capability method of testing includes:During specified application is installed, the working condition of pair each process corresponding with specified application is monitored, and generates monitored results;The monitored results generated are analyzed and processed, obtain crucial run time information;According to crucial run time information, specified time is calculated.According to technical scheme provided by the invention, by being monitored during application program is installed to the working condition of each process, the test to specified times such as set-up times can be realized, the testing efficiency and test accuracy rate of specified time are effectively improved, resulting test result can reflect the actual installation capability of application program exactly.
Description
Technical field
The present invention relates to Internet technical field, and in particular to a kind of application program installation capability method of testing, device, meter
Calculate equipment and computer-readable storage medium.
Background technology
In Application testing, not only need to pay close attention to the test to concrete function in application program, it is also necessary to concern pair
The test of application program installation capability, such as the set-up time needed for installation application program, application program main interface are gone out first
The test of the specified times such as existing required time.At present can by manually pinch the modes such as table or sectional drawing realize to it is above-mentioned specified when
Between test.Wherein, it is entirely by manually realizing, causing efficiency low, it is necessary to expend excessive manpower manually to pinch table mode;Though
Compared with manually pinching table mode, its efficiency increases right sectional drawing mode, but still can not meet testing requirement, resulting
Test result can not reflect the actual installation capability of application program exactly.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State application program installation capability method of testing, device, computing device and the computer-readable storage medium of problem.
According to an aspect of the invention, there is provided application program installation capability method of testing, this method include:
During specified application is installed, the working condition of pair each process corresponding with specified application is entered
Row monitoring, generates monitored results;
The monitored results generated are analyzed and processed, obtain crucial run time information;
According to crucial run time information, specified time is calculated.
According to another aspect of the present invention, there is provided a kind of application program installation capability test device, the device include:
Monitoring module, suitable for during specified application is installed, it is pair corresponding with specified application it is each enter
The working condition of journey is monitored, and generates monitored results;
Analysis module, suitable for being analyzed and processed to the monitored results generated, obtain crucial run time information;
Computing module, suitable for according to crucial run time information, calculating specified time.
According to another aspect of the invention, there is provided a kind of computing device, including:Processor, memory, communication interface and
Communication bus, processor, memory and communication interface complete mutual communication by communication bus;
Memory is used to deposit an at least executable instruction, and executable instruction makes the above-mentioned application program installation of computing device
Operated corresponding to performance test methods.
In accordance with a further aspect of the present invention, there is provided a kind of computer-readable storage medium, be stored with least one in storage medium
Executable instruction, executable instruction make computing device be operated as corresponding to above-mentioned application program installation capability method of testing.
According to technical scheme provided by the invention, during specified application is installed, pair and specified application
The working condition of corresponding each process is monitored, and generates monitored results, then the monitored results generated are analyzed
Processing, obtains crucial run time information, then according to crucial run time information, calculates specified time.Carried using the present invention
The technical scheme of confession, by being monitored during application program is installed to the working condition of each process, it can realize
Test to specified times such as set-up times, the testing efficiency and test accuracy rate of specified time are effectively improved, it is resulting
Test result can reflect the actual installation capability of application program exactly.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows the schematic flow sheet of application program installation capability method of testing according to an embodiment of the invention;
Fig. 2 shows the flow signal of application program installation capability method of testing in accordance with another embodiment of the present invention
Figure;
Fig. 3 shows the structured flowchart of application program installation capability test device according to an embodiment of the invention;
Fig. 4 shows the structured flowchart of application program installation capability test device in accordance with another embodiment of the present invention;
Fig. 5 shows a kind of structural representation of computing device according to embodiments of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 shows the schematic flow sheet of application program installation capability method of testing according to an embodiment of the invention,
As shown in figure 1, this method comprises the following steps:
Step S100, during specified application is installed, pair each process corresponding with specified application
Working condition is monitored, and generates monitored results.
In the present invention, the working conditions of the multiple processes included by monitoring application program is realized to application program
The test of installation capability, specifically, main content of testing include the specified times such as set-up time, main interface time of occurrence.When need
When testing the installation capability of specified application, in the step s 100, during specified application is installed,
Using predetermined system adviser tool, the working condition of pair each process corresponding with specified application is monitored, generation
Monitored results.Wherein, those skilled in the art can set predetermined system adviser tool according to being actually needed, and not limit herein.
Wherein, monitored results may include many information, for example, (process is known by process operation temporal information, process title, PID
Alias, Process Identification), operation information, routing information and operation result information etc..Those skilled in the art
Installation capability when installing application program first is tested using method provided by the invention, this method pair can also be used
Installation capability during covering installation application program is tested.
Step S101, the monitored results generated are analyzed and processed, obtain crucial run time information.
Specifically, can be to the process operation temporal information in monitored results, process title (or PID) and operation information
Analyzed and processed etc. information, obtain crucial run time information, wherein, crucial run time information may include:Each process
Process initiation time point and process post-set time point.
Step S102, according to crucial run time information, calculate specified time.
Wherein, specified time includes:Set-up time, tray icon time of occurrence, main interface time of occurrence etc..Specifically,
Set-up time refers to that the specified application terminates time needed for installation from starting to be installed to;Tray icon time of occurrence refers to
There is the required time first from starting to be installed to icon corresponding to the specified application in pallet in the specified application;
Main interface time of occurrence refers to that the specified application goes out first from starting to be installed to main interface corresponding to the specified application
The existing required time.
The application program installation capability method of testing provided according to the present embodiment, in the process of installation specified application
In, the working condition of pair each process corresponding with specified application is monitored, and monitored results is generated, then to being generated
Monitored results analyzed and processed, obtain crucial run time information, then according to crucial run time information, calculate and specify
Time.Using technical scheme provided by the invention, by during application program is installed to the working condition of each process
Be monitored, the test to specified times such as set-up times can be realized, be effectively improved specified time testing efficiency and
Test accuracy rate, resulting test result can reflect the actual installation capability of application program exactly.
Fig. 2 shows the flow signal of application program installation capability method of testing in accordance with another embodiment of the present invention
Figure, as shown in Fig. 2 this method comprises the following steps:
Step S200, during specified application is installed, using predetermined system adviser tool, couple with specifying application
Operation of each process to file and registration table is monitored corresponding to program, generates monitored results.
Those skilled in the art can set predetermined system adviser tool according to being actually needed, and not limit herein.It is for example, pre-
If system monitoring tool can be Procmon instruments.When user wants to utilize predetermined system adviser tool pair and specified application
When the working condition of corresponding each process is monitored, user can supervise the title of specified application added to predetermined system
Depending in configuration file corresponding to instrument, then during specified application is installed, so that it may monitor work using predetermined system
Tool, a pair operation of each process corresponding with specified application to file and registration table are monitored, and generate monitored results.Its
In, monitored results may include:Process operation temporal information, process title, PID, operation information, routing information and operation result letter
The information such as breath.
Step S201, the monitored results generated are analyzed and processed, obtain crucial run time information.
After step S200 generates monitored results, in step s 201, when can be to process operation in monitored results
Between the information such as information, process title (or PID) and operation information analyzed and processed, obtain crucial run time information,
Wherein, crucial run time information may include:The process initiation time point of each process and process post-set time point.
After crucial run time information has been obtained, so that it may according to crucial run time information, specified time is calculated,
In the present embodiment, set-up time, tray icon time of occurrence and main interface time of occurrence are calculated.In addition, when survey
When test result does not meet default performance requirement, in order that application developer can understand the situation in time, this method is also
Including:Judge whether specified time exceedes preset time threshold, obtaining specified time exceedes preset time threshold, gives birth to if judging
The step of into warning message.Warning message can be transmitted by modes such as short message, mails.Those skilled in the art can be according to reality
Border needs to set preset time threshold, does not limit herein.Specifically, in the present embodiment, step S202 to step can be passed through
S210 is realized.
Step S202, the erection schedule in crucial run time information start time point and erection schedule post-set time
Point, calculate the set-up time.
Assuming that the entitled setup.exe of erection schedule corresponding to specified application, then process setup.exe can be used
Corresponding post-set time point, which subtracts, starts time point corresponding to process setup.exe, the resulting time is the set-up time.
Step S203, judge the set-up time whether more than the first preset time threshold;If so, then perform step S204;If
No, then this method terminates.
Wherein, the first preset time threshold is the preset time threshold corresponding to the set-up time, and those skilled in the art can
The first preset time threshold is set according to being actually needed, not limited herein.If the obtained set-up time is tested more than first
Preset time threshold, illustrate that the set-up time of the application program in this test does not meet that the default set-up time requires, need
Want application developer that application program is further improved, then perform step S204;If test the obtained set-up time
Not less than the first preset time threshold, when illustrating that the set-up time of the application program in this test disclosure satisfy that default installation
Between require, then this method terminates.
Step S204, generate the first warning message.
In the case where judging to obtain the set-up time through step S203 more than the first preset time threshold, illustrate to survey at this
The set-up time of application program does not meet that the default set-up time is required, it is necessary to which application developer enters to application program in examination
Row further improves, and therefore, the first warning message is generated in step S204, the first warning message can pass through short message, mail etc.
Mode is transmitted, and application developer can facilitate according to the first warning message, understand the situation in time, to locate as early as possible
Manage the problem.
Step S205, the erection schedule in crucial run time information start time point and tray icon process initiation
At time point, calculate tray icon time of occurrence.
Assuming that the entitled setup.exe of erection schedule corresponding to specified application, support corresponding to specified application
The entitled tray.exe of tray icon process, then can start time point corresponding to process tray.exe subtracts process
Start time point corresponding to setup.exe, the resulting time is tray icon time of occurrence.
Step S206, judge tray icon time of occurrence whether more than the second preset time threshold;If so, then perform step
S207;If it is not, then this method terminates.
Wherein, the second preset time threshold be corresponding to tray icon time of occurrence preset time threshold, this area skill
Art personnel can set the second preset time threshold according to being actually needed, and not limit herein.If test obtained tray icon
Time of occurrence illustrates that the tray icon time of occurrence of the application program in this test is not full more than the second preset time threshold
The requirement of foot default tray icon time of occurrence is then performed, it is necessary to application program is further improved application developer
Step S207;If testing obtained tray icon time of occurrence not less than the second preset time threshold, illustrate to test at this
The tray icon time of occurrence of middle application program disclosure satisfy that default tray icon time of occurrence requirement, then this method terminates.
Step S207, generate the second warning message.
In the case where judging to obtain tray icon time of occurrence through step S206 more than the second preset time threshold, explanation
In this test the tray icon time of occurrence of application program do not meet default tray icon time of occurrence requirement, it is necessary to
Application program is further improved application developer, therefore, the second warning message is generated in step S207.
Step S208, when the erection schedule in crucial run time information starts time point and main interface process initiation
Between point, calculate main interface time of occurrence.
Assuming that the entitled setup.exe of erection schedule corresponding to specified application, master corresponding to specified application
The entitled safe.exe of interface process, then can start time point corresponding to process safe.exe subtracts process
Start time point corresponding to setup.exe, the resulting time is main interface time of occurrence.
Step S209, judge main interface time of occurrence whether more than the 3rd preset time threshold;If so, then perform step
S210;If it is not, then this method terminates.
Wherein, the 3rd preset time threshold be corresponding to main interface time of occurrence preset time threshold, art technology
Personnel can set the 3rd preset time threshold according to being actually needed, and not limit herein.If test obtained main interface to occur
Time more than the 3rd preset time threshold, illustrates that the main interface time of occurrence of the application program in this test does not meet to preset
The requirement of main interface time of occurrence, it is necessary to application program is further improved application developer, then perform step S210;
If testing obtained main interface time of occurrence not less than the 3rd preset time threshold, illustrate the application program in this test
Main interface time of occurrence disclosure satisfy that default main interface time of occurrence requirement, then this method terminates.
Step S210, generate the 3rd warning message.
In the case where judging to obtain main interface time of occurrence through step S209 more than the 3rd preset time threshold, illustrate
The main interface time of occurrence of application program does not meet default main interface time of occurrence requirement, it is necessary to which program is opened in this time testing
Application program is further improved hair personnel, therefore, the 3rd warning message is generated in step S210.
The application program installation capability method of testing provided according to the present embodiment, by during application program is installed
The working condition of each process is monitored, the test to the time of various dimensions can be realized, specifically, test content includes
Set-up time, tray icon time of occurrence and main interface time of occurrence, it is effectively improved testing efficiency and the survey of specified time
Accuracy rate is tried, the test result of resulting various dimensions can reflect the actual installation of application program more comprehensively, exactly
Energy.
Fig. 3 shows the structured flowchart of application program installation capability test device according to an embodiment of the invention, such as
Shown in Fig. 3, the device includes:Monitoring module 310, analysis module 320 and computing module 330.
Monitoring module 310 is suitable to:It is pair corresponding with specified application each during specified application is installed
The working condition of process is monitored, and generates monitored results.
Analysis module 320 is suitable to:The monitored results generated are analyzed and processed, obtain crucial run time information.
Computing module 330 is suitable to:According to crucial run time information, specified time is calculated.
The application program installation capability test device provided according to the present embodiment, in the process of installation specified application
In, the working condition of monitoring module pair each process corresponding with specified application is monitored, and generates monitored results, analysis
Module is analyzed and processed to the monitored results generated, obtains crucial run time information, and computing module is run according to key
Temporal information, calculate specified time.Using technical scheme provided by the invention, by during application program is installed to each
The working condition of individual process is monitored, and can realize the test to specified times such as set-up times, is effectively improved specified
The testing efficiency and test accuracy rate of time, resulting test result can reflect the actual installation of application program exactly
Energy.
Fig. 4 shows the structured flowchart of application program installation capability test device in accordance with another embodiment of the present invention,
As shown in figure 4, the device includes:Monitoring module 410, analysis module 420, computing module 430, judge module 440 and generation mould
Block 450.
Monitoring module 410 is suitable to:During specified application is installed, using predetermined system adviser tool, pair with
Operation of each process to file and registration table is monitored corresponding to specified application, generates monitored results.
Analysis module 420 is suitable to:The monitored results generated are analyzed and processed, obtain crucial run time information.
Wherein, analysis module 420 is further adapted for:The monitored results generated are analyzed and processed, obtain it is each enter
The process initiation time point of journey and process post-set time point.
Computing module 430 is suitable to:According to crucial run time information, specified time is calculated.
Wherein, specified time includes:Set-up time, tray icon time of occurrence and main interface time of occurrence.Specifically, count
Module 430 is calculated to be further adapted for:Erection schedule in crucial run time information starts time point and erection schedule exits
At time point, calculate the set-up time;Erection schedule in crucial run time information starts time point and tray icon process
Start time point, calculate tray icon time of occurrence;Erection schedule in crucial run time information start time point and
At main interface process initiation time point, calculate main interface time of occurrence.
Judge module 440 is suitable to:Judge whether specified time exceedes preset time threshold.
Specifically, judge module 440 is further adapted for:Judge the set-up time whether more than the first preset time threshold;Sentence
Whether disconnected tray icon time of occurrence is more than the second preset time threshold;Judge whether main interface time of occurrence is default more than the 3rd
Time threshold.
Generation module 450 is suitable to:If judge module 440 judges that obtaining specified time exceedes preset time threshold, generates
Warning message.
Specifically, generation module 450 is further adapted for:It is pre- more than first that if the judgement of judge module 440 obtains the set-up time
If time threshold, then the first warning message is generated;If whether judge module 440 judges to obtain tray icon time of occurrence more than the
Two preset time thresholds, then generate the second warning message;If judge module 440 judges to obtain whether main interface time of occurrence exceedes
3rd preset time threshold, then generate the 3rd warning message.
The application program installation capability test device provided according to the present embodiment, by during application program is installed
The working condition of each process is monitored, the test to the time of various dimensions can be realized, specifically, test content includes
Set-up time, tray icon time of occurrence and main interface time of occurrence, it is effectively improved testing efficiency and the survey of specified time
Accuracy rate is tried, the test result of resulting various dimensions can reflect the actual installation of application program more comprehensively, exactly
Energy.
Present invention also offers a kind of nonvolatile computer storage media, computer-readable storage medium is stored with least one can
Execute instruction, executable instruction can perform the application program installation capability method of testing in above-mentioned any means embodiment.
Fig. 5 shows a kind of structural representation of computing device according to embodiments of the present invention, the specific embodiment of the invention
The specific implementation to computing device does not limit.
As shown in figure 5, the computing device can include:Processor (processor) 502, communication interface
(Communications Interface) 504, memory (memory) 506 and communication bus 508.
Wherein:
Processor 502, communication interface 504 and memory 506 complete mutual communication by communication bus 508.
Communication interface 504, for being communicated with the network element of miscellaneous equipment such as client or other servers etc..
Processor 502, for configuration processor 510, it is real can specifically to perform above-mentioned application program installation capability method of testing
Apply the correlation step in example.
Specifically, program 510 can include program code, and the program code includes computer-managed instruction.
Processor 502 is probably central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that computing device includes, can be same type of processor, such as one or more CPU;Also may be used
To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 506, for depositing program 510.Memory 506 may include high-speed RAM memory, it is also possible to also include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 510 specifically can be used for so that processor 502 performs the application program peace in above-mentioned any means embodiment
Fill performance test methods.The specific implementation of each step may refer to above-mentioned application program installation capability test implementation in program 510
Corresponding description in corresponding steps and unit in example, will not be described here.Those skilled in the art can be understood that
Arrive, for convenience and simplicity of description, the equipment of foregoing description and the specific work process of module, may be referred to preceding method implementation
Corresponding process description in example, will not be repeated here.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) are come one of some or all parts in realizing according to embodiments of the present invention
A little or repertoire.The present invention is also implemented as setting for performing some or all of method as described herein
Standby or program of device (for example, computer program and computer program product).Such program for realizing the present invention can deposit
Storage on a computer-readable medium, or can have the form of one or more signal.Such signal can be from because of spy
Download and obtain on net website, either provide on carrier signal or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The invention discloses:A1. a kind of application program installation capability method of testing, methods described include:
During specified application is installed, the working condition of pair each process corresponding with specified application is entered
Row monitoring, generates monitored results;
The monitored results generated are analyzed and processed, obtain crucial run time information;
According to the crucial run time information, specified time is calculated.
A2. the method according to A1, wherein, it is described during specified application is installed, pair with specify application
The working condition of each process is monitored corresponding to program, and generation monitored results further comprise:
During specified application is installed, using the predetermined system adviser tool, pair and specified application
Operation of the corresponding each process to file and registration table is monitored, and generates monitored results.
A3. the method according to A1 or A2, wherein, the monitored results to being generated analyze and process, and obtain
Crucial run time information further comprises:
The monitored results generated are analyzed and processed, the process initiation time point and process for obtaining each process exit
Time point.
A4. the method according to A3, wherein, it is described to be entered according to the crucial run time information, calculating specified time
One step includes:
Erection schedule in the crucial run time information starts time point and erection schedule post-set time point, meter
Calculate the set-up time.
A5. the method according to A3, wherein, it is described to be entered according to the crucial run time information, calculating specified time
One step includes:
Erection schedule in the crucial run time information starts time point and tray icon process initiation time
Point, calculate tray icon time of occurrence.
A6. the method according to A3, wherein, it is described to be entered according to the crucial run time information, calculating specified time
One step includes:
Erection schedule in the crucial run time information starts time point and main interface process initiation time point,
Calculate main interface time of occurrence.
A7. the method according to any one of A1-A6, wherein, described according to the crucial run time information, calculate
After specified time, methods described also includes:
Judge whether the specified time exceedes preset time threshold;If so, then generate warning message.
The invention also discloses:B8. a kind of application program installation capability test device, described device include:
Monitoring module, suitable for during specified application is installed, it is pair corresponding with specified application it is each enter
The working condition of journey is monitored, and generates monitored results;
Analysis module, suitable for being analyzed and processed to the monitored results generated, obtain crucial run time information;
Computing module, suitable for according to the crucial run time information, calculating specified time.
B9. the device according to B8, wherein, the monitoring module is further adapted for:
During specified application is installed, using the predetermined system adviser tool, pair and specified application
Operation of the corresponding each process to file and registration table is monitored, and generates monitored results.
B10. the device according to B8 or B9, wherein, the analysis module is further adapted for:
The monitored results generated are analyzed and processed, the process initiation time point and process for obtaining each process exit
Time point.
B11. the device according to B10, wherein, the computing module is further adapted for:
Erection schedule in the crucial run time information starts time point and erection schedule post-set time point, meter
Calculate the set-up time.
B12. the device according to B10, wherein, the computing module is further adapted for:
Erection schedule in the crucial run time information starts time point and tray icon process initiation time
Point, calculate tray icon time of occurrence.
B13. the device according to B10, wherein, the computing module is further adapted for:
Erection schedule in the crucial run time information starts time point and main interface process initiation time point,
Calculate main interface time of occurrence.
B14. the device according to any one of B8-B13, wherein, described device also includes:
Judge module, suitable for judging whether the specified time exceedes preset time threshold;
Generation module, if judging to obtain the specified time suitable for the judge module exceedes preset time threshold, give birth to
Into warning message.
The invention also discloses:C15. a kind of computing device, including:Processor, memory, communication interface and communication are total
Line, the processor, the memory and the communication interface complete mutual communication by the communication bus;
The memory is used to deposit an at least executable instruction, and the executable instruction makes the computing device such as
Operated corresponding to application program installation capability method of testing any one of A1-A7.
The invention also discloses:D16. a kind of computer-readable storage medium, being stored with least one in the storage medium can hold
Row instruction, the executable instruction make application program installation capability test side of the computing device as any one of A1-A7
Operated corresponding to method.
Claims (10)
1. a kind of application program installation capability method of testing, methods described include:
During specified application is installed, the working condition of pair each process corresponding with specified application is supervised
Control, generate monitored results;
The monitored results generated are analyzed and processed, obtain crucial run time information;
According to the crucial run time information, specified time is calculated.
2. according to the method for claim 1, wherein, it is described during specified application be installed, pair with specify answer
The working condition of each process is monitored corresponding to program, and generation monitored results further comprise:
It is pair corresponding with specified application using the predetermined system adviser tool during specified application is installed
Operation of each process to file and registration table be monitored, generate monitored results.
3. method according to claim 1 or 2, wherein, the monitored results to being generated analyze and process, and obtain
Crucial run time information further comprises:
The monitored results generated are analyzed and processed, obtain the process initiation time point and process post-set time of each process
Point.
4. the method according to claim 11, wherein, it is described according to the crucial run time information, calculate specified time
Further comprise:
Erection schedule in the crucial run time information starts time point and erection schedule post-set time point, calculates peace
ETL estimated time of loading.
5. the method according to claim 11, wherein, it is described according to the crucial run time information, calculate specified time
Further comprise:
Erection schedule in the crucial run time information starts time point and tray icon process initiation time point, meter
Calculate tray icon time of occurrence.
6. the method according to claim 11, wherein, it is described according to the crucial run time information, calculate specified time
Further comprise:
Erection schedule in the crucial run time information starts time point and main interface process initiation time point, calculates
Main interface time of occurrence.
7. according to the method described in claim any one of 1-6, wherein, described according to the crucial run time information, meter
After calculating specified time, methods described also includes:
Judge whether the specified time exceedes preset time threshold;If so, then generate warning message.
8. a kind of application program installation capability test device, described device include:
Monitoring module, suitable for during specified application is installed, pair each process corresponding with specified application
Working condition is monitored, and generates monitored results;
Analysis module, suitable for being analyzed and processed to the monitored results generated, obtain crucial run time information;
Computing module, suitable for according to the crucial run time information, calculating specified time.
9. a kind of computing device, including:Processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
The memory is used to deposit an at least executable instruction, and the executable instruction makes the computing device such as right will
Ask and operated corresponding to the application program installation capability method of testing any one of 1-7.
10. a kind of computer-readable storage medium, an at least executable instruction, the executable instruction are stored with the storage medium
Make operation corresponding to application program installation capability method of testing of the computing device as any one of claim 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710972191.1A CN107741910B (en) | 2017-10-18 | 2017-10-18 | Application program installation performance testing method and device, computing equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710972191.1A CN107741910B (en) | 2017-10-18 | 2017-10-18 | Application program installation performance testing method and device, computing equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107741910A true CN107741910A (en) | 2018-02-27 |
CN107741910B CN107741910B (en) | 2021-06-29 |
Family
ID=61237463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710972191.1A Active CN107741910B (en) | 2017-10-18 | 2017-10-18 | Application program installation performance testing method and device, computing equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107741910B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109344634A (en) * | 2018-09-28 | 2019-02-15 | 东软集团股份有限公司 | Permission giving method, device, terminal and the computer readable storage medium of application |
CN109446040A (en) * | 2018-09-21 | 2019-03-08 | 网宿科技股份有限公司 | A kind of acquisition methods, device and the terminal device of application interface starting duration |
CN110874299A (en) * | 2018-08-29 | 2020-03-10 | 北京京东尚科信息技术有限公司 | Storage monitoring method and device |
CN113849274A (en) * | 2021-09-27 | 2021-12-28 | 中国建设银行股份有限公司 | Process inspection method and device, storage medium and electronic equipment |
CN116028108A (en) * | 2023-03-31 | 2023-04-28 | 深圳复临科技有限公司 | Method, device, equipment and storage medium for analyzing dependent package installation time |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140289722A1 (en) * | 2013-03-22 | 2014-09-25 | International Business Machines Corporation | Parallel program installation and configuration |
CN104199693A (en) * | 2014-08-25 | 2014-12-10 | 北京金山安全软件有限公司 | Method, device and terminal for obtaining boot time |
CN104360923A (en) * | 2014-11-03 | 2015-02-18 | 中国银行股份有限公司 | Monitoring method and monitoring system for batch application process |
CN106708728A (en) * | 2016-11-18 | 2017-05-24 | 武汉斗鱼网络科技有限公司 | Method and system for automatically testing Android application startup time |
CN107122205A (en) * | 2017-04-11 | 2017-09-01 | 上海众开信息科技有限公司 | The set-up time of installation procedure determines method and device |
-
2017
- 2017-10-18 CN CN201710972191.1A patent/CN107741910B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140289722A1 (en) * | 2013-03-22 | 2014-09-25 | International Business Machines Corporation | Parallel program installation and configuration |
CN104199693A (en) * | 2014-08-25 | 2014-12-10 | 北京金山安全软件有限公司 | Method, device and terminal for obtaining boot time |
CN104360923A (en) * | 2014-11-03 | 2015-02-18 | 中国银行股份有限公司 | Monitoring method and monitoring system for batch application process |
CN106708728A (en) * | 2016-11-18 | 2017-05-24 | 武汉斗鱼网络科技有限公司 | Method and system for automatically testing Android application startup time |
CN107122205A (en) * | 2017-04-11 | 2017-09-01 | 上海众开信息科技有限公司 | The set-up time of installation procedure determines method and device |
Non-Patent Citations (1)
Title |
---|
梁波等: "第9章注册表工具探索", 《2009注册表全攻略》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110874299A (en) * | 2018-08-29 | 2020-03-10 | 北京京东尚科信息技术有限公司 | Storage monitoring method and device |
CN109446040A (en) * | 2018-09-21 | 2019-03-08 | 网宿科技股份有限公司 | A kind of acquisition methods, device and the terminal device of application interface starting duration |
CN109446040B (en) * | 2018-09-21 | 2021-01-22 | 网宿科技股份有限公司 | Method and device for acquiring starting duration of application interface and terminal equipment |
CN109344634A (en) * | 2018-09-28 | 2019-02-15 | 东软集团股份有限公司 | Permission giving method, device, terminal and the computer readable storage medium of application |
CN109344634B (en) * | 2018-09-28 | 2021-04-13 | 东软集团股份有限公司 | Permission granting method and device for application, terminal and computer readable storage medium |
CN113849274A (en) * | 2021-09-27 | 2021-12-28 | 中国建设银行股份有限公司 | Process inspection method and device, storage medium and electronic equipment |
CN116028108A (en) * | 2023-03-31 | 2023-04-28 | 深圳复临科技有限公司 | Method, device, equipment and storage medium for analyzing dependent package installation time |
Also Published As
Publication number | Publication date |
---|---|
CN107741910B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107741910A (en) | Application program installation capability method of testing, device, computing device and storage medium | |
US20190317888A1 (en) | Application testing for security vulnerabilities | |
US9703690B2 (en) | Determining test case efficiency | |
US8799874B2 (en) | Static analysis of computer software applications | |
US20190005168A1 (en) | Performance testing method and apparatus for industrial system deployed on cloud | |
EP2766810A1 (en) | Methods and systems for planning execution of an application in a cloud computing system | |
CN111369081A (en) | Flow configuration method and device, electronic equipment and storage medium | |
CN111290941A (en) | Method and device for testing multiple interfaces, computing equipment and medium | |
US10387144B2 (en) | Method and system for determining logging statement code coverage | |
US20140101769A1 (en) | Remediation of security vulnerabilities in computer software | |
US20070288295A1 (en) | Method and system for determining asset reliability | |
US20120284695A1 (en) | Error simulation | |
US20160217017A1 (en) | Determining workflow completion state | |
US10360403B2 (en) | Cognitive API policy manager | |
Walter et al. | Mapping of service level objectives to performance queries | |
CN107577946A (en) | Analysis method, device, system and the PC equipment of iOS application programs | |
US11119763B2 (en) | Cognitive selection of software developer for software engineering task | |
Gruber et al. | Co-engineering-in-the-loop | |
CN109726086A (en) | The method and apparatus of testing server performance | |
CN113127362A (en) | Object testing method, object testing device, electronic device, and readable storage medium | |
Kaalen et al. | Branching transitions for semi-Markov processes with application to safety-critical systems | |
US9239926B2 (en) | Static analysis for discovery of timing attack vulnerabilities in a computer software application | |
Tchana et al. | A self-scalable and auto-regulated request injection benchmarking tool for automatic saturation detection | |
CN107679398A (en) | Virtual machine I/O data stream detection method and device, computing device, storage medium | |
US20240235949A1 (en) | Queue-based orchestration simulation |
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 |