A kind of software probe method of software probe
Technical field
The present invention relates to a kind of software probe methods of software probe, belong to computer software technical field.
Background technique
The various kinds of equipment based on computer software operation all kinds of at present are in the fields such as routine office work, automation control
It is widely used, in actual operation, in order to improve equipment reliability of operation and stability, and meets equipment to not
With the needs of working condition operation, it is required to carry out failure detection to the operating status of the software run in each equipment, but current
When carrying out software systems detect operation, mainly by being run by dedicated software probe class software to target software
It is detected in the process, although this mode can satisfy the needs to software probe operation, but detect operation efficiency is relatively
It is low, while easily leading to detected software when one side detect operation and being unable to operate normally, on the other hand also easily lead to detect operation
Result be often only capable of obtaining simple fault message and effective counter-measure lacked to the failure detected, so as to cause working as
The preceding working efficiency when carrying out software probe operation is relatively poor, and reliability is relatively low, therefore is directed to this problem, urgently
Need to develop a kind of completely new software probe method, to meet the needs of actual use.
Summary of the invention
The object of the invention, which is that, overcomes above-mentioned deficiency, provides a kind of software probe method of software probe.
To achieve the above object, the present invention is to be achieved through the following technical solutions:
A kind of software probe method of software probe, comprising the following steps:
The first step, software identification, will be equipped with first the test equipment of software probe by data communication mechanism with to
Inspection software operation terminal room interlinks, and then carries out identification by test equipment and operation terminal room, and complete body
After part identification, the identification information of current runs software is sent from operation terminal to test equipment, and visit in the software of test equipment
It surveys device to complete after identifying software identification information, the software copy backup to be detected in terminal will be run into test equipment, so
Establish the software probe information recognized list based on software identification information and software information list to be detected respectively afterwards, and by software
Detection information recognized list and software information list to be detected interlink with software probe;
Second step, fault case collect, complete first step operation after, according to the first step acquire software identification information, by
Test equipment collects the most common failure and troubleshooting case that match with each software identification information by communication network, then ties
Software fault identification information root to be detected is established in the software information list to be detected for closing the first step, then will collect to
Inspection software most common failure and troubleshooting case are saved under software fault identification information root to be detected, then by software
Detector interlinks with software fault identification information root to be detected;
After completing the first step, it is to be checked in test equipment to directly drive backup by test equipment for third step, software emulation
It surveys software copy backup part and carries out simulation run, then during carrying out simulation run, by software probe to be detected soft
The operating status of part copy backup part is monitored;
4th step, software probe after completing second step operation, identify according to software collected in the first step believe first
Breath, recognizes current runs software essential information, is then started according to software identification information corresponding in software probe
Code is detected, and by the detection code building detection data recognized list of each starting, and is set in detection data recognized list
At least one detection pointer, then by detection pointer respectively with current simulation run software, software probe information recognized list, to
Inspection software information list and software fault identification information root to be detected establish data link, and in simulation software operation
When occurring with the corresponding data segment of pointer data is detected, then by software probe software probe information recognized list, to be detected soft
Part information list and software fault identification information root to be detected establish data link, on the one hand prompt current simulation software event
Hinder information, on the other hand immediately arrive at fault message and corresponding troubleshooting methods, to complete to carry out detection work to software
Industry;
5th step, detection result push, after completing the 4th step operation, the detection failure knot that will be obtained after simulation run
On the one hand fruit and troubleshooting methods information are stored in test equipment, be on the other hand pushed directly to corresponding operation terminal position
Set place.
Further, in the first step software identification information include software version information, it is software check value information, soft
Part updates policy information.
Further, in the second step, the software most common failure to be detected collected and troubleshooting side
In case, when a failure has multiple troubleshooting methods, each troubleshooting methods are mutually juxtaposed, and according to troubleshooting side
Case, which corresponds to program and arrives from childhood, to be arranged greatly, and establishes software fault identification information level-one specific item to be detected after completing arrangement
Record.
Further, in the third step, when software carries out simulation run, continuous operation 2-5 times, respectively to each fortune
Row carries out operating status complete monitoring.
Further, in the 4th step, detecting data in pointer is octal system, appointing in hexadecimal structured data
Anticipate one kind, and detecting pointer content includes interruption subroutine and identification data segment, and interruption subroutine respectively with identification data
Section, current simulation run software, software probe information recognized list, software information list to be detected and software fault to be detected are known
Other information root establishes data link.
Further, the identification data segment includes the identification information of software, probe software fault identification information, detection
Code information.
Further, in the 4th step, when detection pointer is two and is more than two, each interruption for detecting pointer
Program is identical, and identification data segment content is different.
Further, the interruption subroutine includes software addressing retrieval subprogram, counting statistics subprogram, degree of belief
Counting subroutine and data sorting subprogram.
The method of the present invention is simple, and operation and implementation are easy, and on the one hand when carrying out software probe operation, will not influence software
Equipment operates normally, to effectively raise the convenience of software probe operation, flexibility and reliability, on the other hand into
When row software probe operation, the effective working efficiency and precision for improving detect operation, while being also convenient for directly obtaining and detect
The corresponding processing method of the failure arrived.
Detailed description of the invention
Fig. 1 is flow diagram of the present invention;
Fig. 2 is that detection pointer data links schematic diagram.
Specific embodiment
As illustrated in fig. 1 and 2, a kind of software probe method of software probe, comprising the following steps:
The first step, software identification, will be equipped with first the test equipment of software probe by data communication mechanism with to
Inspection software operation terminal room interlinks, and then carries out identification by test equipment and operation terminal room, and complete body
After part identification, the identification information of current runs software is sent from operation terminal to test equipment, and visit in the software of test equipment
It surveys device to complete after identifying software identification information, the software copy backup to be detected in terminal will be run into test equipment, so
Establish the software probe information recognized list based on software identification information and software information list to be detected respectively afterwards, and by software
Detection information recognized list and software information list to be detected interlink with software probe;
Second step, fault case collect, complete first step operation after, according to the first step acquire software identification information, by
Test equipment collects the most common failure and troubleshooting case that match with each software identification information by communication network, then ties
Software fault identification information root to be detected is established in the software information list to be detected for closing the first step, then will collect to
Inspection software most common failure and troubleshooting case are saved under software fault identification information root to be detected, then by software
Detector interlinks with software fault identification information root to be detected;
After completing the first step, it is to be checked in test equipment to directly drive backup by test equipment for third step, software emulation
It surveys software copy backup part and carries out simulation run, then during carrying out simulation run, by software probe to be detected soft
The operating status of part copy backup part is monitored;
4th step, software probe after completing second step operation, identify according to software collected in the first step believe first
Breath, recognizes current runs software essential information, is then started according to software identification information corresponding in software probe
Code is detected, and by the detection code building detection data recognized list of each starting, and is set in detection data recognized list
At least one detection pointer, then by detection pointer respectively with current simulation run software, software probe information recognized list, to
Inspection software information list and software fault identification information root to be detected establish data link, and in simulation software operation
When occurring with the corresponding data segment of pointer data is detected, then by software probe software probe information recognized list, to be detected soft
Part information list and software fault identification information root to be detected establish data link, on the one hand prompt current simulation software event
Hinder information, on the other hand immediately arrive at fault message and corresponding troubleshooting methods, to complete to carry out detection work to software
Industry;
5th step, detection result push, after completing the 4th step operation, the detection failure knot that will be obtained after simulation run
On the one hand fruit and troubleshooting methods information are stored in test equipment, be on the other hand pushed directly to corresponding operation terminal position
Set place.
In the present embodiment, in the first step software identification information include software version information, software check value information,
Software upgrading policy information.
In the present embodiment, in the second step, the software most common failure to be detected collected and troubleshooting
In scheme, when a failure has multiple troubleshooting methods, each troubleshooting methods are mutually juxtaposed, and according to troubleshooting
Scheme, which corresponds to program and arrives from childhood, to be arranged greatly, and establishes software fault identification information level-one specific item to be detected after completing arrangement
Record.
In the present embodiment, in the third step, when software carries out simulation run, continuous operation 2-5 times, respectively to every
Secondary operation carries out operating status complete monitoring.
In the present embodiment, in the 4th step, detecting data in pointer is octal system, in hexadecimal structured data
Any one, and detecting pointer content includes interruption subroutine and identification data segment, and interruption subroutine respectively with identification number
According to section, current simulation run software, software probe information recognized list, software information list to be detected and software fault to be detected
Identification information root establishes data link.
In the present embodiment, the identification data segment includes the identification information of software, probe software fault identification information, inspection
Survey code information.
In the present embodiment, in the 4th step, when detection pointer is two and is more than two, each interruption for detecting pointer
Subprogram is identical, and identification data segment content is different.
In the present embodiment, the interruption subroutine includes software addressing retrieval subprogram, counting statistics subprogram, trusts
Spend counting subroutine and data sorting subprogram.
The method of the present invention is simple, and operation and implementation are easy, and on the one hand when carrying out software probe operation, will not influence software
Equipment operates normally, to effectively raise the convenience of software probe operation, flexibility and reliability, on the other hand into
When row software probe operation, the effective working efficiency and precision for improving detect operation, while being also convenient for directly obtaining and detect
The corresponding processing method of the failure arrived.
The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this
The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.