CN109800126A - The analysis method and device of patch install failure - Google Patents
The analysis method and device of patch install failure Download PDFInfo
- Publication number
- CN109800126A CN109800126A CN201811610086.4A CN201811610086A CN109800126A CN 109800126 A CN109800126 A CN 109800126A CN 201811610086 A CN201811610086 A CN 201811610086A CN 109800126 A CN109800126 A CN 109800126A
- Authority
- CN
- China
- Prior art keywords
- patch
- install failure
- install
- failure
- supervision platform
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The analysis method and device of a kind of patch install failure provided in an embodiment of the present invention, by in target patch file install failure at the terminal, the terminal obtains the install failure information for corresponding to the target patch file, it is matched according to the install failure information with the patch failure rule file prestored, when matching does not obtain install failure reason, the install failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to cloud, receive the new patch failure rule file of the monitor supervision platform feedback, and match with the install failure information and obtain install failure reason, the install failure reason is sent to monitor supervision platform to show, realization is quickly found out install failure reason, convenient for finding solution, improve subsequent patch installation success rate.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of analysis methods and device of patch install failure.
Background technique
Installation system patch inside current enterprise, the case where being frequently encountered install failure, because patch is
The program of official's publication, because install failure reason is unknown, can only ignore patch installation after install failure.In fact one
A little patch confirm by reason, still can install success.
Summary of the invention
The present invention provides the analysis method and device of a kind of patch install failure, for solving the above problems.
In a first aspect, the embodiment of the present invention provides a kind of analysis method of patch install failure, comprising:
In target patch file install failure at the terminal, the terminal, which obtains, corresponds to the target patch file
Install failure information;
It is matched according to the install failure information with the patch failure rule file prestored, when matching is not installed
When failure cause, the install failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to cloud;
The new patch failure rule file of the monitor supervision platform feedback is received, and is matched with the install failure information
Install failure reason is obtained, the install failure reason is sent to monitor supervision platform and is shown;
Wherein, the new patch failure rule file is after patch code and patch installation log are analyzed in the cloud
It obtains.
Second aspect, the embodiment of the present invention provide a kind of analytical equipment of patch install failure, comprising:
Module is obtained, for obtaining and corresponding to the target patch in target patch file install failure at the terminal
The install failure information of file;
Matching module, for being matched according to the install failure information with the patch failure rule file prestored, when
When matching does not obtain install failure reason, the install failure information is sent to monitor supervision platform, so that on the monitor supervision platform
Pass to cloud;
Receiving module for receiving the new patch failure rule file of the monitor supervision platform feedback, and loses with the installation
It loses information and carries out matching acquisition install failure reason, the install failure reason is sent to monitor supervision platform and is shown;
Wherein, the new patch failure rule file is after patch code and patch installation log are analyzed in the cloud
It obtains.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, including memory, processor and is stored in memory
Computer program that is upper and can running on a processor, the processor realize the step such as the above method when executing described program
Suddenly.
Fourth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with calculating
Machine program is realized when the computer program is executed by processor such as the step of the above method.
As shown from the above technical solution, the analysis method and dress of a kind of patch install failure provided in an embodiment of the present invention
It sets, corresponds to the target patch file by the way that in target patch file install failure at the terminal, the terminal is obtained
Install failure information is matched according to the install failure information with the patch failure rule file prestored, when matching does not obtain
When obtaining install failure reason, the install failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to cloud,
The new patch failure rule file of the monitor supervision platform feedback is received, and match being installed with the install failure information
The install failure reason is sent to monitor supervision platform and shown by failure cause, and realization is quickly found out install failure reason, just
In finding solution, subsequent patch installation success rate is improved.
Detailed description of the invention
Fig. 1 is the flow diagram of the analysis method for the patch install failure that one embodiment of the invention provides;
Fig. 2 is the structural schematic diagram of the analytical equipment for the patch install failure that one embodiment of the invention provides;
Fig. 3 is the structural schematic diagram for the electronic equipment that one embodiment of the invention provides.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below
Example is not intended to limit the scope of the invention for illustrating the present invention.
Fig. 1 shows a kind of analysis method of patch install failure of one embodiment of the invention offer, comprising:
S11, in target patch file install failure at the terminal, the terminal, which obtains, corresponds to the target patch text
The install failure information of part;
S12, it is matched according to the install failure information with the patch failure rule file prestored, when matching does not obtain
When install failure reason, the install failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to cloud;
S13, the new patch failure rule file for receiving the monitor supervision platform feedback, and carried out with the install failure information
Matching obtains install failure reason, and the install failure reason is sent to monitor supervision platform and is shown;
Wherein, the new patch failure rule file is after patch code and patch installation log are analyzed in the cloud
It obtains.
For above-mentioned steps S11- step S13, it should be noted that in embodiments of the present invention, peace inside current enterprise
The case where filling system mend file, being frequently encountered install failure.It is described when target patch file install failure at the terminal
Terminal obtains the install failure information for corresponding to the target patch file.Herein, the install failure information includes exiting
Code and patch installation log.In the present embodiment, when any process exits, it can all leave and exit code, operating system is according to exiting
Code is known that process whether normal operation.Exit code be usually it is some be greater than or equal to 0 integer, usual 0 indicates normally to exit,
The different mistake of other digital representations.In general, corresponding installation log can be generated by implementing installation software.
In the present embodiment, when in the target patch file including multiple correction items, install failure information includes to move back
The patch installation log of code and the correction item of corresponding install failure out.The purpose for the arrangement is that avoid obtaining all installation logs,
Operation element amount is reduced, uploading bandwidth is reduced, reduces the quantity of analysis data.
In the present embodiment, it is matched according to the install failure information with the patch failure rule file prestored.?
Here, patch failure rule file according to before install failure experience summed up peace can be analyzed to patch file
Fill the matching files of failure cause.
When matching does not obtain install failure reason, then illustrate that the patch prestored failure rule file can not be to install failure
Information makes judge conclusion.At this point, monitor supervision platform need to be sent to the install failure information, so that the monitor supervision platform uploads
To cloud.Cloud can analyze comprehensively install failure information after receiving install failure information, to analyze unsuccessfully former
Cause, and the new patch failure rule file of corresponding generation.
Terminal can receive the new patch failure rule file of monitor supervision platform feedback, and with the install failure information into
Row matching obtains install failure reason, and the install failure reason is sent to monitor supervision platform and is shown.
In addition, being matched according to the install failure information with the patch failure rule file prestored, when matching obtains
After install failure reason, the install failure reason is sent to monitor supervision platform and is shown.
A kind of analysis method of patch install failure provided in an embodiment of the present invention, by target patch file in terminal
When upper install failure, the terminal obtains the install failure information for corresponding to the target patch file, is lost according to the installation
It loses information to be matched with the patch failure rule file prestored, when matching does not obtain install failure reason, by the installation
Failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to cloud, receives the new benefit of the monitor supervision platform feedback
Fourth failure rule file, and match with the install failure information and obtain install failure reason, the install failure is former
It is shown because being sent to monitor supervision platform, realization is quickly found out install failure reason, convenient for finding solution, improves subsequent
Patch installs success rate.
Fig. 2 shows a kind of analytical equipments for patch install failure that one embodiment of the invention provides, including obtain module
21, matching module 22, receiving module 23, in which:
Module 21 is obtained, corresponds to target benefit for obtaining in target patch file install failure at the terminal
The install failure information of fourth file;
Matching module 22, for being matched according to the install failure information with the patch failure rule file prestored,
When matching does not obtain install failure reason, the install failure information is sent to monitor supervision platform, so that the monitor supervision platform
Upload to cloud;
Receiving module 23, the new patch for receiving monitor supervision platform feedback fail rule file, and with the installation
Failure information carries out matching and obtains install failure reason, and the install failure reason is sent to monitor supervision platform and is shown;
Wherein, the new patch failure rule file is after patch code and patch installation log are analyzed in the cloud
It obtains.
The matching module is also used to:
It is matched according to the install failure information with the patch failure rule file prestored, is lost when matching obtains installation
After losing reason, the install failure reason is sent to monitor supervision platform and is shown.
Since described device of the embodiment of the present invention is identical as the principle of above-described embodiment the method, for more detailed
Explain that details are not described herein for content.
It should be noted that can be by hardware processor (hardware processor) come real in the embodiment of the present invention
Existing related function module.
A kind of analytical equipment of patch install failure provided in an embodiment of the present invention, by target patch file in terminal
When upper install failure, the terminal obtains the install failure information for corresponding to the target patch file, is lost according to the installation
It loses information to be matched with the patch failure rule file prestored, when matching does not obtain install failure reason, by the installation
Failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to cloud, receives the new benefit of the monitor supervision platform feedback
Fourth failure rule file, and match with the install failure information and obtain install failure reason, the install failure is former
It is shown because being sent to monitor supervision platform, realization is quickly found out install failure reason, convenient for finding solution, improves subsequent
Patch installs success rate.
Fig. 3 illustrates the entity structure schematic diagram of a kind of electronic equipment, as shown in figure 3, the electronic equipment may include: place
Manage device (processor) 310, communication interface (Communications Interface) 320,330 He of memory (memory)
Communication bus 340, wherein processor 310, communication interface 320, memory 330 complete mutual lead to by communication bus 340
Letter.Processor 310 can call the logical order in memory 330, to execute following method: in target patch file in terminal
When upper install failure, the terminal obtains the install failure information for corresponding to the target patch file, is lost according to the installation
It loses information to be matched with the patch failure rule file prestored, when matching does not obtain install failure reason, by the installation
Failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to cloud, receives the new benefit of the monitor supervision platform feedback
Fourth failure rule file, and match with the install failure information and obtain install failure reason, the install failure is former
It is shown because being sent to monitor supervision platform.
In addition, the logical order in above-mentioned memory 330 can be realized by way of SFU software functional unit and conduct
Independent product when selling or using, can store in a non-transient computer readable storage medium.Based on such reason
Solution, substantially the part of the part that contributes to existing technology or the technical solution can in other words for technical solution of the present invention
To be expressed in the form of software products, which is stored in a storage medium, including some instructions
With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution present invention is each
The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk
Etc. the various media that can store program code.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses 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" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Those of ordinary skill in the art will appreciate that: the above embodiments are only used to illustrate the technical solution of the present invention., and
It is non-that it is limited;Although present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art
It is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, either to part of or
All technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution this hair
Bright claim limited range.
Claims (10)
1. a kind of analysis method of patch install failure characterized by comprising
In target patch file install failure at the terminal, the terminal obtains the installation for corresponding to the target patch file
Failure information;
It is matched according to the install failure information with the patch failure rule file prestored, when matching does not obtain install failure
When reason, the install failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to cloud;
The new patch failure rule file of the monitor supervision platform feedback is received, and carries out matching acquisition with the install failure information
The install failure reason is sent to monitor supervision platform and shown by install failure reason;
Wherein, the new patch failure rule file is to obtain after patch code and patch installation log are analyzed in the cloud
?.
2. the method according to claim 1, wherein further include:
It is matched according to the install failure information with the patch failure rule file prestored, when matching obtains install failure original
Because after, the install failure reason is sent to monitor supervision platform and is shown.
3. the method according to claim 1, wherein the install failure information includes exiting code and patch installation
Log.
4. according to the method described in claim 3, it is characterized in that, when including multiple correction items in the target patch file
When, install failure information includes to exit the patch installation log of the correction item of code and corresponding install failure.
5. a kind of analytical equipment of patch install failure characterized by comprising
Module is obtained, for obtaining and corresponding to the target patch file in target patch file install failure at the terminal
Install failure information;
Matching module works as matching for being matched according to the install failure information with the patch failure rule file prestored
When not obtaining install failure reason, the install failure information is sent to monitor supervision platform, so that the monitor supervision platform uploads to
Cloud;
Receiving module for receiving the new patch failure rule file of the monitor supervision platform feedback, and is believed with the install failure
Breath carries out matching and obtains install failure reason, and the install failure reason is sent to monitor supervision platform and is shown;
Wherein, the new patch failure rule file is to obtain after patch code and patch installation log are analyzed in the cloud
?.
6. device according to claim 5, which is characterized in that the matching module is also used to:
It is matched according to the install failure information with the patch failure rule file prestored, when matching obtains install failure original
Because after, the install failure reason is sent to monitor supervision platform and is shown.
7. device according to claim 5, which is characterized in that the install failure information includes exiting code and patch installation
Log.
8. device according to claim 7, which is characterized in that when in the target patch file include multiple correction items
When, install failure information includes to exit the patch installation log of the correction item of code and corresponding install failure.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor is realized when executing described program such as any one of Claims 1-4 the method
Step.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer
It is realized when program is executed by processor such as the step of any one of Claims 1-4 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811610086.4A CN109800126A (en) | 2018-12-27 | 2018-12-27 | The analysis method and device of patch install failure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811610086.4A CN109800126A (en) | 2018-12-27 | 2018-12-27 | The analysis method and device of patch install failure |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109800126A true CN109800126A (en) | 2019-05-24 |
Family
ID=66557703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811610086.4A Pending CN109800126A (en) | 2018-12-27 | 2018-12-27 | The analysis method and device of patch install failure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109800126A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1061447A2 (en) * | 1999-06-17 | 2000-12-20 | DaimlerChrysler AG | Partitioning and monitoring of software controlled systems |
CN102156651A (en) * | 2011-03-02 | 2011-08-17 | 奇智软件(北京)有限公司 | Method and device for realizing installation of patches |
CN106406956A (en) * | 2016-09-23 | 2017-02-15 | 北京小米移动软件有限公司 | An application program installing method and device |
CN106406952A (en) * | 2016-09-21 | 2017-02-15 | 广州爱九游信息技术有限公司 | An electronic terminal and an application program management device and method |
CN106843957A (en) * | 2017-01-17 | 2017-06-13 | 青岛海信移动通信技术股份有限公司 | System firmware upgrade method and device |
-
2018
- 2018-12-27 CN CN201811610086.4A patent/CN109800126A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1061447A2 (en) * | 1999-06-17 | 2000-12-20 | DaimlerChrysler AG | Partitioning and monitoring of software controlled systems |
CN102156651A (en) * | 2011-03-02 | 2011-08-17 | 奇智软件(北京)有限公司 | Method and device for realizing installation of patches |
CN106406952A (en) * | 2016-09-21 | 2017-02-15 | 广州爱九游信息技术有限公司 | An electronic terminal and an application program management device and method |
CN106406956A (en) * | 2016-09-23 | 2017-02-15 | 北京小米移动软件有限公司 | An application program installing method and device |
CN106843957A (en) * | 2017-01-17 | 2017-06-13 | 青岛海信移动通信技术股份有限公司 | System firmware upgrade method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109726093B (en) | Method, apparatus and computer program product for executing test cases | |
US20200004660A1 (en) | Systems and methods of integrated testing and deployment in a continuous integration continuous deployment (cicd) system | |
US9602598B2 (en) | Coordinating application migration processes | |
US9959201B2 (en) | Automated test generation for multi-interface enterprise virtualization management environment | |
US20150213376A1 (en) | Methods and systems for generating classifiers for software applications | |
US10079745B2 (en) | Measuring virtual infrastructure performance as a function of physical infrastructure performance | |
CN106484453B (en) | Method and device for realizing system upgrading | |
US10698800B2 (en) | Indicating a readiness of a change for implementation into a computer program | |
US8806475B2 (en) | Techniques for conditional deployment of application artifacts | |
US20160364286A1 (en) | Resolving and preventing computer system failures caused by changes to the installed software | |
US10817275B2 (en) | Automated internet of things based software patching | |
US11157380B2 (en) | Device temperature impact management using machine learning techniques | |
CN110740188B (en) | Mirror image file uploading method, device, equipment and computer readable storage medium | |
CN106874135B (en) | Method, device and equipment for detecting machine room fault | |
CN111258913A (en) | Automatic algorithm testing method and device, computer system and readable storage medium | |
EP4122163A1 (en) | Causality determination of upgrade regressions via comparisons of telemetry data | |
CN114647572A (en) | Method and system for software application component testing | |
US10956918B1 (en) | Analytically generated micro-service consumer-driven contracts and automated tests | |
US20130226921A1 (en) | Identifying an auto-complete communication pattern | |
CN109800126A (en) | The analysis method and device of patch install failure | |
CN111381995A (en) | Method and device for restoring user operation and computer | |
US20220066917A1 (en) | Candidate program release evaluation | |
US9331916B1 (en) | Data-driven detection of servers and clients | |
CN109660431A (en) | The processing method and processing device of tracking equipment presence | |
CN112799797A (en) | Task management method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190524 |