CN100512146C - Method for realizing patch management - Google Patents

Method for realizing patch management Download PDF

Info

Publication number
CN100512146C
CN100512146C CNB2006100630035A CN200610063003A CN100512146C CN 100512146 C CN100512146 C CN 100512146C CN B2006100630035 A CNB2006100630035 A CN B2006100630035A CN 200610063003 A CN200610063003 A CN 200610063003A CN 100512146 C CN100512146 C CN 100512146C
Authority
CN
China
Prior art keywords
patch
equipment
automatic
information
application strategy
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.)
Expired - Fee Related
Application number
CNB2006100630035A
Other languages
Chinese (zh)
Other versions
CN1946032A (en
Inventor
杨文凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100630035A priority Critical patent/CN100512146C/en
Publication of CN1946032A publication Critical patent/CN1946032A/en
Application granted granted Critical
Publication of CN100512146C publication Critical patent/CN100512146C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

This invention discloses a method for realizing mend management including: setting a mend information library in the network management system, logging in related information of the mend and configuring its applied strategy, setting an automatic renewed switch for the device, polling to the network device to get the mend information of the device, comparing the mend information of the current and that in the library to judge if the mend is the latest, if not, it enters into the next step, judging if the automatic renewed switch is turned-on, if so, it loads the applied strategy of the mend to operate relatively, if not, it does not renew automatically.

Description

A kind of method that realizes patch management
Technical field
The present invention relates to communication technique field, relate in particular to a kind of method that realizes patch management.
Background technology
Patch is a term in software systems and the Software Engineering, typically refers to one section program working out for some mistake in the existing software is made amendment, exists with the form of stand alone software unit.Patch can reduce upgrade cost, the risk of avoiding edition upgrading to bring; The problem that can utilize patch online modification systems soft ware to exist, not traffic affecting operation during operation.Therefore, patch has obtained using widely in the network equipment, yet a large amount of uses of patch just have been with managerial problem.
The management of patch generally include to equipment carry out patch loading, check.But, because the state of patch comprises deactivated state, activated state, run mode, conversion between these states needs corresponding operation, therefore, the management of patch also comprises following operation: activate (from the deactivated state to the activated state), deexcitation (from the activated state to the deactivated state), operation (from the activated state to the run mode), deletion (unloading patch).The deactivated state of patch represents that patch file has been positioned in the patch area of network element system, but the instruction and data in this patch file can not use by system, and promptly patch code can not be performed; Activated state represents that the code of this patch file just moves in network element system, but this state is a kind of trial status, and after the active and standby usefulness of system restart or system was switched, the state of patch was automatically migrated to deactivated state; Run mode represents that the code in the patch file just moves in network element system, and the state of patch file keeps always, be not subjected to the influence of system reset or system's masterslave switchover, under this state, when system restart or masterslave switchover after patch state can automatically restore to run mode.
Initial patch management will or utilize serial ports to take the mode of telnet that Device Host is operated by maintenance network port, operation has different Command Line Interfaces because different equipment is for patch, so for the user, require very high and the interface is unfriendly, also increased the time of user learning; In addition, this method can not be carried out batch operation to equipment, if exist multiple devices to need management, will a tableland lands these equipment and operates, and therefore this method is just used in the laboratory or during equipment beginning.
By network equipment is carried out the main flow that telemanagement is present technology to patch, we can be in webmaster selection equipment, equipment is carried out the loading of patch and further management, different equipment has identical operations inlet and method of operation to the user.Webmaster generally passes through Simple Network Management Protocol (SNMP to the operation of equipment patch, Simple Network Management Protocol) carries out, as long as equipment is supported SNMP agency's (SNMP Agent) function, network management system just can be carried out patch management to this equipment.But there is shortcoming equally in this technology:
Though can utilize webmaster that patch is carried out batch operation, the operation of each patch all needs the user to carry out by hand, if the patch of the device version of safeguarding or each version correspondence is all a lot, the workload that the user safeguards will be very huge.
Summary of the invention
In view of this, the invention provides a kind of method that realizes patch management, can realize flexible management, upgrade patch automatically, reduce the workload of human configuration patch.
A kind of method of patch management that realizes provided by the invention is achieved in that
The patch information storehouse is set in network management system, the relevant information of typing patch also disposes the application strategy of patch, described patch application strategy comprises: the device version that this patch is used number, the device polling mode of the state of this patch and this patch after the application, wherein said polling mode comprises poll immediately, automatic regular polling and periodic polls, described poll immediately is meant and this patch is applied on current all equipment that allow to upgrade at once, described automatic regular polling is meant selects a reasonable time to use patch, described periodic polls is meant periodically carries out the patch inspection to whole network equipment, and the equipment of new networking is detected; For the network equipment is provided with automatic renewal switch; Further comprising the steps of:
Network management system is carried out poll according to the polling mode that sets in the patch application strategy to the network equipment;
When described polling mode during for poll immediately, network management system is applied to this patch on current all equipment that allow to upgrade at once;
When described polling mode is automatic regular polling, select a reasonable time to use patch;
When described polling mode is periodic polls,
Initiate periodic polls to the network equipment, obtain the patch information of equipment;
The patch information of this equipment in the existing patch information of compare facilities and the patch information storehouse, whether the patch of judgment device is up-to-date, if the patch of equipment is not up-to-date,
Whether the automatic renewal switch of judgment device is opened, if then load the application strategy of patch, and take corresponding actions according to the application strategy of patch; If not, then do not upgrade automatically.
Wherein, described relevant information to patch information storehouse typing patch comprises:
Basic version, numbering and the type information of input patch.
Wherein, the application strategy of described patch comprises:
When the device version that patch is used number, the state of using the back patch or patch are used to the polling mode of equipment.
Wherein, the application strategy of described configuration patch is specially:
The user dynamically disposes the application strategy of patch according to the actual requirements.
Wherein, the described corresponding actions of taking specifically comprises:
Remind the user to load patch by hand or upgrade patch automatically.
Wherein, described automatic renewal patch comprises:
Automatic loading patch, the automatic loading and automatic activation patch, or automatic the loading and the automatic patch that moves.
By technique scheme as can be known, the present invention has following characteristics and advantage:
(1) because employing is upgraded patch automatically to the mode of device polling, has intelligent characteristics, reduced user's maintenance workload widely, significantly reduced maintenance cost;
(2) owing to be provided with automatic renewal switch, distinct device can adopt different update strategies, has flexibility and specific aim;
(3) owing to can dispose different application strategies and dynamically revise application strategy according to the actual requirements for patch, therefore, the application mode of patch be very flexible;
(4) different equipment have the identical operations interface, and the style unanimity has significantly reduced time of user's repetitive learning.
Description of drawings
Fig. 1 is a method schematic diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing 1, the embodiment of the inventive method is described:
The patch information storehouse is set in network management system, when increasing new patch, imports the relevant informations such as basic version, numbering and type of this patch, also need to dispose the application strategy of patch.The application strategy of patch comprises: the device version that this patch is used number, use after the state, the device polling mode of this patch of this patch; Wherein polling mode comprises poll, automatic regular polling and periodic polls immediately.Poll immediately: can at once this patch be applied on current all equipment that allow to upgrade; Automatic regular polling: can select a reasonable time to use patch; Periodic polls: can periodically carry out the patch inspection to whole network equipment, convenient equipment to new networking detects.At ordinary times, be responsible for safeguarding the essential information and the application strategy of patch by network management system.Of particular note, application strategy is to make amendment at any time according to user's actual demand.In addition, whether network management system is upgraded switch automatically for each device setup, equipment is upgraded automatically by user's control, for the equipment that does not need to upgrade automatically, the user can close the automatic renewal switch of this equipment, selects that this equipment is carried out craft and loads patch.
Concrete implementation step is as follows:
101) network management system is carried out poll according to the polling mode that sets in the patch application strategy to the network equipment, and when described polling mode during for poll immediately, network management system is applied to this patch on current all equipment that allow to upgrade at once;
When described polling mode is automatic regular polling, select a reasonable time to use patch;
When described polling mode is periodic polls, initiate periodic polls, the patch information in the query facility to the network equipment;
102) network management system compares the patch information of this equipment in the existing patch information of this equipment and the patch information storehouse, and whether the patch of judgment device is up-to-date; If be up-to-date, then enter step 103; Otherwise enter step 104;
104) whether the automatic renewal switch of judgment device is opened, if then enter step 105; If not, then enter step 103;
105) load the application strategy of patch, and take corresponding actions,, then enter step 106 if application strategy is to remind the user to load patch by hand according to the application strategy of patch; Otherwise enter step 107;
106) remind the user to load patch by hand;
107) upgrade patch automatically; The automatic renewal patch here comprises: load patch, automatic loading and automatic patch, automatic loading and the automatic operation patch of activating automatically.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1, a kind of method that realizes patch management, it is characterized in that, the patch information storehouse is set in network management system, the relevant information of typing patch also disposes the application strategy of patch, described patch application strategy comprises: the device version that this patch is used number, the device polling mode of the state of this patch and this patch after the application, wherein said polling mode comprises poll immediately, automatic regular polling and periodic polls, described poll immediately is meant and this patch is applied on current all equipment that allow to upgrade at once, described automatic regular polling is meant selects a reasonable time to use patch, described periodic polls is meant periodically carries out the patch inspection to whole network equipment, and the equipment of new networking is detected; For the network equipment is provided with automatic renewal switch; Further comprising the steps of:
Network management system is carried out poll according to the polling mode that sets in the patch application strategy to the network equipment; When described polling mode during for poll immediately, network management system is applied to this patch on current all equipment that allow to upgrade at once;
When described polling mode is automatic regular polling, select a reasonable time to use patch;
When described polling mode is periodic polls, initiate periodic polls to the network equipment, obtain the patch information of equipment; The patch information of this equipment in the existing patch information of compare facilities and the patch information storehouse, whether the patch of judgment device is up-to-date, if the patch of equipment is not up-to-date, whether the automatic renewal switch of judgment device is opened, if then load the application strategy of patch and take corresponding actions; If not, then do not upgrade automatically.
2, the method for claim 1 is characterized in that, described relevant information to patch information storehouse typing patch comprises:
Basic version, numbering and the type information of input patch.
3, the method for claim 1 is characterized in that, the application strategy of described patch comprises:
When the device version that patch is used number, the state of using the back patch or patch are used to the polling mode of equipment.
4, the method for claim 1 is characterized in that, the application strategy of described configuration patch is specially:
The user dynamically disposes the application strategy of patch according to the actual requirements.
5, the method for claim 1 is characterized in that, the described corresponding actions of taking specifically comprises:
Remind the user to load patch by hand or upgrade patch automatically.
6, method as claimed in claim 5 is characterized in that, described automatic renewal patch comprises:
Automatic loading patch, the automatic loading and automatic activation patch, or automatic the loading and the automatic patch that moves.
CNB2006100630035A 2006-09-30 2006-09-30 Method for realizing patch management Expired - Fee Related CN100512146C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100630035A CN100512146C (en) 2006-09-30 2006-09-30 Method for realizing patch management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100630035A CN100512146C (en) 2006-09-30 2006-09-30 Method for realizing patch management

Publications (2)

Publication Number Publication Date
CN1946032A CN1946032A (en) 2007-04-11
CN100512146C true CN100512146C (en) 2009-07-08

Family

ID=38045254

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100630035A Expired - Fee Related CN100512146C (en) 2006-09-30 2006-09-30 Method for realizing patch management

Country Status (1)

Country Link
CN (1) CN100512146C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156650A (en) * 2011-03-02 2011-08-17 奇智软件(北京)有限公司 Method and device capable of implementing automatic analysis of patch

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272275B (en) * 2008-05-07 2011-04-27 华为技术有限公司 Network management equipment, method and system for acquiring network appliance configuration information
CN101739278B (en) * 2009-12-17 2013-08-07 中国电力科学研究院 Enterprise-level application software updating method and system
CN102479092A (en) * 2010-11-30 2012-05-30 中兴通讯股份有限公司 Method and device for updating patch of software system
CN103955377A (en) * 2011-03-02 2014-07-30 北京奇虎科技有限公司 Method and device for realizing automatic analysis of patch
CN103955380A (en) * 2011-03-02 2014-07-30 北京奇虎科技有限公司 Patch treatment method
CN103577203A (en) * 2012-07-25 2014-02-12 施耐德电器工业公司 Special CPU (Central Process Unit) with storage card and automatic batch update method
RU2015156493A (en) * 2013-05-31 2017-07-05 Конинклейке Филипс Н.В. SYSTEM AND METHOD FOR AUTOMATIC DOWNLOAD, DOWNLOAD AND UPDATE OF DATA, SUCH AS DATA OF STUDYING A PATIENT DURING SLEEP
CN104468153B (en) * 2013-09-13 2018-10-30 华为技术有限公司 Alarm method, equipment and group system in a kind of group system
CN105468395B (en) * 2014-09-10 2019-11-05 阿里巴巴集团控股有限公司 Update method, apparatus and system
CN105812528B (en) * 2014-12-31 2019-04-09 展讯通信(天津)有限公司 Mobile terminal addressbook variation and device
CN106330516A (en) * 2015-07-01 2017-01-11 中兴通讯股份有限公司 Method and device for patch maintenance
CN108363926A (en) * 2017-10-19 2018-08-03 北京安天网络安全技术有限公司 A kind of loophole defence method and system
CN110502309B (en) * 2019-09-30 2021-07-20 维沃移动通信有限公司 Display control method and electronic equipment
CN113542884A (en) * 2021-07-14 2021-10-22 视若飞信息科技(上海)有限公司 Method for synchronizing JS patch files between smart television browser and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156650A (en) * 2011-03-02 2011-08-17 奇智软件(北京)有限公司 Method and device capable of implementing automatic analysis of patch
CN102156650B (en) * 2011-03-02 2014-06-25 奇智软件(北京)有限公司 Method and device capable of implementing automatic analysis of patch

Also Published As

Publication number Publication date
CN1946032A (en) 2007-04-11

Similar Documents

Publication Publication Date Title
CN100512146C (en) Method for realizing patch management
CN100541393C (en) The apparatus and method of power supply in the managing computer system
CN102981981B (en) USB device, communication system and working mode switching method thereof
CN102693201A (en) SAS controller with persistent port configuration
CN101689106A (en) Multiprocessor control device, multiprocessor control method, and multiprocessor control circuit
CN101286095A (en) Intelligent type computer external apparatus interface switch controller
CN101582797B (en) Management board and two-unit standby system and method
CN102075985B (en) The version upgrading method of RTR veneer and device
CN107807630B (en) Switching control method of main and standby equipment, switching control system and device thereof
CN101788845A (en) Methods and systems to perform a computer task in a reduced power consumption state
CN102014021A (en) Method and device for controlling connection/disconnection of data link
CN103294534A (en) Task management system and method of distributed system
CN102541787A (en) Serial switching using system and method
CN104320475A (en) Equipment upgrading method and device
CN100517177C (en) Combined type reset system processing method and device
CN101150811A (en) A device and method for standby control in mobile terminal
CN110083491A (en) A kind of BIOS initialization method, apparatus, equipment and storage medium
CN100393141C (en) Method for parallel downloading mobile communication system software
CN102567251B (en) Control method and control device for BIOS (basic input/output system)
CN104199789A (en) Port self-adaptive configuration method and system, management system and driving system
CN101646227A (en) Power management method for mobile terminal and mobile terminal
CN100395962C (en) Method and system for equipment switching in communication system
CN101022633A (en) Allocation data recovering method, system and device
CN201218931Y (en) Interface switch controller for peripheral unit of intelligent computer
CN113900911B (en) Health management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090708

Termination date: 20160930