CN109491698A - Method for updating system and device based on hot patch - Google Patents
Method for updating system and device based on hot patch Download PDFInfo
- Publication number
- CN109491698A CN109491698A CN201811637628.7A CN201811637628A CN109491698A CN 109491698 A CN109491698 A CN 109491698A CN 201811637628 A CN201811637628 A CN 201811637628A CN 109491698 A CN109491698 A CN 109491698A
- Authority
- CN
- China
- Prior art keywords
- update
- file
- plane process
- data plane
- patch
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
This application discloses a kind of method for updating system and device based on hot patch, method include: acquisition hot patch cluster, include check information and patch file in hot patch cluster;According to check information, the legitimacy of hot patch cluster is verified;If hot patch cluster is legal, according to patch file, the system process for needing to update is determined;If system process is control plane process, start timer, and when timer reaches the first preset duration, updates control plane process;If system process is data plane process, renewal model is set by data plane process, updates data plane process.In the application, communication equipment verifies the legitimacy of hot patch cluster by the check information in hot patch cluster, guarantees that file and data are safe in hot patch cluster.For controlling plane process, the storehouse safety of process is ensured by timer;For data plane process, by the way that renewal model is arranged, it is ensured that the storehouse safety of data.Therefore the safety of system can be improved when updating.
Description
Technical field
This application involves field of computer technology, in particular to a kind of method for updating system and device based on hot patch.
Background technique
With the development of communication technology, embedded communication equipment provides various characteristic services for people, operation
The units such as quotient, enterprise, school deploy a large amount of embedded communication equipment, and device manufacturer safeguards that pressure is larger, Added Business function
Can and device software fault restoration all the industry of embedded communication equipment user is often interrupted in released version, software upgrading again
Business, influences wide.In the case where not influencing business normal operation, device software system is carried out more usually using hot patch
Newly, including what's new, function renewal, fault restoration etc..
Hot patch technology provides a kind of method in the case where not interrupting system operation, realizing system partial modification.
On the one hand, what hot patch technology provided system mistake in a kind of operation of amendment in time facilitates means;On the other hand, by vulcanizing
Fourth technology add-on system function, it is possible to reduce whole system edition upgrading number, with meet non-interrupting service can carry out it is seamless
The demand of upgrading.
In the prior art, hot patch technology is by while more new system, not interrupt the operation of system as primary
Target.Due to needing to take into account system operation when updating, the safety of system is not high when causing to update.
Summary of the invention
The application provides a kind of method for updating system and device based on hot patch, can be used for solution in the prior art, by
In needing to take into account system operation when updating, the safety of system not high problem when caused update.
In a first aspect, the application provides a kind of method for updating system based on hot patch, which comprises
Hot patch cluster is obtained, includes check information and the patch file for system update in the hot patch cluster;
According to the check information, the legitimacy of the hot patch cluster is verified;
If the hot patch cluster is legal, according to the patch file, the system process for needing to update is determined;
If desired the system process updated is control plane process, then starts timer, and reaches the in the timer
When one preset duration, according to the patch file, the control plane process is updated;
If desired the system process updated is data plane process, then sets the data plane process to updating mould
Formula, and according to the patch file, update the data plane process;The renewal model refers at data plane process stopping
The mode of reason and forwarding data.
Optionally, the check information includes Magic number, hardware information and version information, and the hardware information is used to indicate
The applicable hardware structure of the hot patch cluster, the version information are used to indicate the version of system update;
It is described according to the check information, verify the legitimacy of the hot patch cluster, comprising:
Detect whether the Magic number in the check information matches with the Magic number of storage, indicated by the hardware information
Whether hardware structure correct and the version information indicated by version it is whether correct;
If the Magic number in the check information is matched with the Magic number of the storage, hard indicated by the hardware information
Part framework is correct, and version indicated by the version information is correct, it is determined that the hot patch cluster is legal.
Optionally, the patch file includes: that catalogue file and each corresponding update of system process for needing to update are total
Enjoy library;
It include the replacement function needed for corresponding system process updates in the update shared library;
The catalogue file includes each system process, each update shared library and each replacement function for needing to update
Between corresponding relationship and replacement function update shared library in location information.
Optionally, the control plane process is updated, comprising:
According to the catalogue file, the corresponding update shared library of the control plane process is determined;
Replacement function in the corresponding update shared library of the control plane process is loaded onto memory;
Determine that the first memory address and the second memory address, first memory address refer in the control plane process
The address of the original function for needing to update in memory, second memory address refer to the corresponding update of the control plane process
The address of replacement function in memory in shared library;
According to first memory address and second memory address, the first replacement instruction, first replacement are generated
Instruction is used to indicate address of the control plane process by calling original function when, is replaced with by first memory address described
Second memory address;
Original function in the corresponding system file of the control plane process is replaced in corresponding update shared library
Replacement function.
Optionally, the data plane process is updated, comprising:
According to the catalogue file, the corresponding update shared library of the data plane process is determined;
Replacement function in the corresponding update shared library of the data plane process is loaded onto memory;
Determine that third memory address and the 4th memory address, the third memory address refer in the data plane process
The address of the original function for needing to update in memory, the 4th memory address refer to the corresponding update of the data plane process
The address of replacement function in memory in shared library;
According to the third memory address and the 4th memory address, the second replacement instruction, second replacement are generated
Instruction is used to indicate address of the data plane process by calling original function when, is replaced with by the third memory address described
4th memory address;
Original function in the corresponding system file of the data plane process is replaced in corresponding update shared library
Replacement function.
Optionally, the method also includes:
Rollback file is generated, the rollback file is used to back up the corresponding system file of system process for needing to modify
In original function.
Optionally, after the generation rollback file, further includes:
According to the patch file, the system process for needing rollback is determined;
If desired the system process of rollback is control plane process, then starts the timer, and reach in the timer
When to first preset duration, according to the rollback file, plane process is controlled described in rollback;
If desired the system process of rollback is data plane process, then sets the update for the data plane process
Mode, and according to the rollback file, data plane process described in rollback.
Second aspect, the application provide a kind of system updating device based on hot patch, and described device includes:
Module is obtained, includes check information and for system update for obtaining hot patch cluster, in the hot patch cluster
Patch file;
Correction verification module, for verifying the legitimacy of the hot patch cluster according to the check information;
Update module, for according to the patch file, determining the system for needing to update when the hot patch cluster is legal
Process;
The update module, is also used to: when the system process for needing to update is controls plane process, start timer,
And after the timer reaches the first preset duration, according to the patch file, the control plane process is updated;Work as needs
When the system process of update is data plane process, renewal model is set by the data plane process, and according to the benefit
Fourth file updates the data plane process;The renewal model refers to that data plane process stops processing and forwards data
Mode.
In this application, communication equipment carries out school to the legitimacy of hot patch cluster by the check information in hot patch cluster
It tests, guaranteeing to update file in the hot patch cluster that uses and data is legitimate secure;Moreover, when updating control plane process,
Communication equipment ensures the storehouse safety of process by timer;When updating data plane process, by the way that data plane process is set
It is set to renewal model, to ensure the storehouse safety of data.It, can be because ensure that the safety of file, data and storehouse
The safety of system is improved when update.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of flow chart of method for updating system based on hot patch shown according to an exemplary embodiment;
Fig. 2 is the flow chart of hot patch cluster production method shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of method for unloading patch shown according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of system updating device based on hot patch shown according to an exemplary embodiment.
Specific embodiment
For the purpose for making the application, technical solution and advantage are clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
Method provided by the embodiments of the present application, the executing subject of each step can be the communication equipment for needing to update, such as
Embedded communication equipment, the monitoring process being also possible in communication equipment.The monitoring process refer to be responsible for verification, storage, load,
Unloading and deletion hot patch etc. update the process of relevant operation.It is updated by system of the hot patch to above-mentioned communication equipment,
It is generally necessary to be updated to the function of system process each in system, i.e. Modification growth function.Wherein, to the function of system process
Modification, also includes the modification to the global variable of functional dependence.
Above system process in communication equipment includes data plane process and control plane process.Data plane process is
Refer to process relevant to data plane, for handling and forwarding various types of data on the various different ports of communication equipment,
Such as the processing of the various specific data such as accesses control list (Access Control List, ACL), multicast, security protection turns
Hair.Control plane process refers to that process relevant to control plane is provided for controlling and managing the operation of all-network agreement
The required various network informations and forwarding inquiries list item before the data processing forwarding of data plane.Wherein, data plane process is again
Referred to as Forwarding plane process.
Fig. 1 is a kind of flow chart of method for updating system based on hot patch shown according to an exemplary embodiment.It should
Method may include the following steps:
Step S10 obtains hot patch cluster.
Firstly, communication equipment needs to obtain the hot patch cluster updated for hot patch to update itself system.It vulcanizes
Fourth packet is the compressed file including check information and the patch file for system update.Communication equipment can be by school
It tests information and is verified legitimacy to determine hot patch cluster, and then determine whether based on the hot patch cluster more new system.Patch
File includes specific data needed for system update, such as the code for the function for needing to modify, the data comprising needing to modify
Text file etc..
Communication equipment obtains hot patch cluster, and to be really controlling terminal upload hot patch cluster to communication equipment.The controlling terminal can
To be the terminal for generating hot patch cluster, it is also possible to be used only for the terminal of storage hot patch cluster.Specifically, controlling terminal passes through
Hypertext transfer protocol (HyperText Transfer Protocol, HTTP) by internet (World Wide Web, WEB),
Alternatively, passing through File Transfer Protocol (File Transfer Protocol, FTP), Simple File Transfer Protocol (Trivial
File Transfer Protocol, TFTP) hot patch cluster uploaded by order line.
When controlling terminal is to generate the terminal of hot patch cluster, as shown in Fig. 2, it includes such as that controlling terminal, which generates hot patch cluster,
Lower specific steps.
Step S101 extracts replacement function.
Step S102 compiles replacement function, generates and updates shared library.
Step S103 generates catalogue file.
Step S104 extracts text modification record.
Text modification record is added to and updates script file and rollback script file by step S105.
Step S106, compression update shared library, and catalogue file, update script file and rollback script file, generation are vulcanized
Fourth packet.
Firstly, controlling terminal according to technical staff to the modification record of the code of this system update, extraction needs to update
System process involved in replacement function.Replacement function refers to the function after modification code.It include multiple systems in communication equipment
System process, and each system process corresponds to multiple functions.It is primary to update, may need to update in communication equipment part system into
Journey, it is also possible to update all system process in communication equipment.Wherein, in the system process that each needs updates, at least
One corresponding function is modified.
After extracting replacement function, controlling terminal compiles replacement function, and generates at least one and update shared library.Each more
The new corresponding system process for needing to update of shared library, and include the replacement function in the system process for needing to update.Example
It such as, include two system process for needing to update: aaa and bbb in communication equipment, then controlling terminal generates two and updates and shares
Library: aaa.so.Y and bbb.so.Y.Wherein, aaa and bbb is the title of system process.Shared library is updated with the name of system process
Claim name.So, communication equipment can determine its corresponding system process when getting update shared library.Y indicates to update altogether
Enjoy the version number in library.
After generating the corresponding update shared library of each system process, controlling terminal generates catalogue file, such as patch_
App.ini file.In catalogue file line by line the title of writing system process, the corresponding title for updating shared library, replace in library
The title and replacement function of function are in the corresponding location information updated in shared library.Therefore, in addition to replacement function is corresponding to more
Outside position in new shared library, catalogue file includes needing each system process updated, each update shared library and each replacing
Corresponding relationship between exchange the letters number.
In the primary system of communication equipment updates, other than the function for needing to update system process, it is also necessary to update system
Text file in system file.For text file, state of a control extracts text file by diff or svn diff tool
Text modification record, and text modification record is added to and updates script file and rollback script file, such as patch_
Install.sh file and patch_uninstall.sh file.So, communication equipment executes text and updates in more new system
Script file, according to text modification record modification text file.Communication equipment executes text rollback script text when unloading update
Part records according to text modification and repairs text file.
It should be noted that above-mentioned steps S104 and step S105 can be held before above-mentioned steps S101 to step S103
Row, can also execute after above-mentioned steps S101 to step S103, may also be performed simultaneously.If text file is not more
Newly, step S104 and step S105 can not also be executed.
Finally, controlling terminal will update shared library, and catalogue file, update script file and rollback script file are stored to one
In a file, it is compressed, generates hot patch cluster.In addition, controlling terminal is in the file packet header for generating hot patch cluster
Add check information.
Step S11 verifies the legitimacy of hot patch cluster.
After communication equipment gets hot patch cluster, the legitimacy of hot patch cluster is verified according to check information.Hot patch inclusion
Method indicates that communication equipment can then follow the steps S12 according to the hot patch cluster more new system;The illegal expression of hot patch cluster is vulcanized
There are security risks for fourth packet, then communication equipment refusal is according to the hot patch cluster more new system.
In a kind of possible embodiment, check information includes Magic number, hardware information and version information.Magic number is
The unique character string that equipment generates, for uniquely indicating an equipment.Magic number may include the series number of equipment, net
Network hardware address or clock etc..Whether the Magic number in communication equipment detection check information matches with the Magic number of storage.Storage
Magic number refer to the Magic number of pre-stored above-mentioned controlling terminal.By detecting Magic number, to detect coming for hot patch cluster
Source.If Magic number matches, it is determined that hot patch cluster comes from above-mentioned controlling terminal, safe source;If Magic number mismatches, it is determined that
Hot patch cluster source is dangerous, refuses this update.
In the embodiment of the present application, the hardware structure of communication equipment includes: X86 hardware structure and without inner interlocked pipelining-stage
Microprocessor (Microprocessor without interlocked piped stages, MIPS) hardware structure.Hardware
Information is used to indicate the applicable hardware structure of hot patch cluster.Whether just communication equipment detects hardware structure indicated by hardware information
Really, refer to whether hardware structure indicated by detection hardware information is consistent with the hardware structure of itself.If consistent, illustrate hardware
Hardware structure indicated by information is correct;If inconsistent, illustrate that hardware structure indicated by hardware information is incorrect.
Version information is used to indicate the version of system update.Whether just communication equipment detects version indicated by version information
Really, really detect whether version indicated by version information is higher than the current version of system.If being higher than, version information is signified
The version shown is correct;If being not higher than, version error indicated by version information.For example, the current version of system is 1.0.05,
And version indicated by version information is 1.0.04, the version current lower than system, then communication equipment determines version error.
When the Magic number in check information is matched with the Magic number of storage, hardware structure indicated by hardware information is correct,
And version indicated by version information it is correct when, communication equipment determines that hot patch cluster is legal.When in check information Magic number with
The Magic number of storage mismatches, alternatively, hardware structure indicated by hardware information is incorrect, alternatively, indicated by version information
When version is incorrect, communication equipment determines that hot patch cluster is illegal, refuses this update.
It should be noted that the verification for check information and to hot patch cluster legitimacy, the embodiment of the present application are only shown
A kind of possible embodiment is gone out.Check information can also include other contents for legitimacy verifies, such as files classes
Type, file version information, the cryptographic Hash of file header, cryptographic Hash of file content etc..The embodiment of the present application to this no longer one by one
It enumerates.
In another embodiment, communication equipment also detects the quantity of hot patch cluster.When the quantity of hot patch cluster is greater than in advance
If when quantity, refusing the upload of this hot patch cluster.Preset quantity can be set based on practical experience, such as setting is default
Quantity is 5.
In addition, after determining that hot patch cluster is legal, communication is set for the communication apparatus under dual computer group or distributed environment
It is standby that patch file in hot patch cluster is synchronized to the standby host in dual computer group, alternatively, on distributed business board.
Step S12 determines the system process for needing to update according to patch file.
Hot patch cluster is legal, then communication equipment can be according to the hot patch cluster more new system.For more new system, communication is set
It is standby it needs to be determined which system process this update needs to update.Therefore, communication equipment needs to update according to patch file, determination
System process.Specifically, catalogue file in communication equipment load patch file, and the corresponding relationship recorded according to catalogue file
Determine the system process for needing to update.For example, communication equipment parses catalogue file, the name of the system process in catalogue file is obtained
Claim, determines that the corresponding system process of title is the system process for needing to update.
In another embodiment, communication equipment is after determining that hot patch cluster is legal, can not more new system immediately, but
First store hot patch cluster.When needing to update, then hot patch cluster is decompressed, obtains patch file and be updated.Specifically, work as needs
When update, the version information of hot patch cluster is encapsulated as by the first interprocess communication (Inter-Process by WEB or order line
Communication, IPC) message, it is then sent to monitoring process.First IPC message is used to indicate monitoring process and starts more
New system.Correspondingly, after monitoring process receives the first IPC message, whether version indicated by detection version information, which is higher than, is
It unites current version.Further ensure that this safety updated.It is current that the version indicated by the version information is higher than system
When version, monitoring process decompresses hot patch cluster, reads the catalogue file in patch file, determines the system process for needing to update.
When the version current not higher than system of the version indicated by the version information, monitoring process refuses this update.
After determining the system process that needs update, communication equipment is sent out by the system process that monitoring process is updated to needs
More new signal is sent, needs the system process updated to be updated to trigger.For example, SIGUSR2 signal can be sent.Communication equipment
System process in include control plane process and data plane process.The mode that the two updates is different.When system process is control
When plane process processed, step S13 is executed;When system process is data plane process, step S14 is executed.
Optionally, before triggering needs the system process updated to be updated, can detect communication equipment is communication equipment
Whether system is updating.If updating, cancel this update;If not updating, the system process for needing to update is triggered
It is updated.Specifically, the monitoring process detection of communication equipment updates state value.The update state value is 0 or 1.When update shape
When state value is 0, expression system is not updating;When updating state value is 1, expression system is updating.When triggering needs to update
System process when being updated, monitoring process will update state value and be set as 1. at the end of updating, and monitoring process will update shape
State value is reset.
Step S13 starts timer, and when timer reaches the first preset duration, according to patch file, updates control
Plane process.
Pass through hot patch more new system, it is desirable that keep the normal operation of system.Therefore, when updating control plane process,
Also the normal operation for guaranteeing to control plane process is required.When control plane process handles business relevant to control plane, rely on
In the storehouse of control plane process.In order to avoid update influences the safety of storehouse, such as lead to the stack problems such as stack overflow.
When detecting the more new signal that monitoring process is sent, communication equipment starts timer by control plane process.When in timing
When device reaches the first preset duration, further according to patch file, control plane process is updated.It can be according to reality when the first preset duration
Experience setting in border will not influence the storehouse safety of control plane process to guarantee to be updated after the first preset duration.Pass through
Timer avoids immediately being updated control plane process, can ensure the storehouse safety of control plane process.
Optionally, control plane process registration signal handles function, and synchronous registration patch handles call back function.When control is flat
When face process detection is to more new signal, the signal process function of registration, and one timing of synchronous addition are called, for protecting control
The safety of plane process storehouse processed.After timer reaches the first preset duration, calls the patch of registration to handle call back function and carry out
It updates.
Optionally, updating control plane process includes following sub-step:
S13a determines the corresponding update shared library of control plane process according to catalogue file.
S13b, the replacement function that will be controlled in the corresponding update shared library of plane process are loaded onto memory.
S13c determines the first memory address and the second memory address.
S13d generates the first replacement instruction according to the first memory address and the second memory address.
S13e will control the original function in the corresponding system file of plane process and replace with the replacement letter updated in shared library
Number.
Firstly, communication equipment is according to the corresponding pass between system process each in catalogue file and each update shared library
System determines the corresponding update shared library of control plane process.There is control plane process in this update in the update shared library
Function, that is, replacement function of modification.Communication equipment is further according to the replacement function recorded in catalogue file in the position for updating shared library
Information reads replacement function from updating in shared library, and is loaded onto memory.
After load, communication equipment determines the first memory address and the second memory address.First memory address refers to that control is flat
The address of the original function load for needing to update in the process of face in memory.Second memory address refers to that control plane process is corresponding
Update the address of replacement function load in memory in shared library.Communication equipment is according to the first memory address and the second memory
Location calculates relative distance between the two, and thus generates the first replacement instruction.Control plane process calls former letter in memory
When number, the address of calling can be jumped into the second memory by the first memory address according to the relative distance in the first replacement instruction
Address.Therefore, in the updating, control plane process calls original function really to have invoked modified replacement function, to protect
Even if card modifies to original function, the normal operation of control plane process will not be interrupted.
After generating the first replacement instruction, communication equipment has been simply to ensure that control plane process can be operated normally and be adjusted
With replacement function, but the original function of system file is not modified also.Therefore, communication equipment modification is to the system text with original function
The access limit of part allows to modify to the system file.Communication equipment will control in the corresponding system file of plane process
Original function replace with modified replacement function, to complete to update.
Step S14 sets renewal model for system process, and according to patch file, updates system process.
Data plane process is used to handling and forwarding various types of data on the various different ports of communication equipment.In order to
Guarantee that system can operate normally when updating, it is desirable that guarantee the storehouse safety of the various data of data plane.Therefore, communication equipment
First renewal model is set by data plane process.New number is not reprocessed and forwarded to data plane process in renewal model
According to.Then, it after data plane process is by the data processing having been received and forwarding, further according to patch file, updates
Data plane process.After the completion of update, the renewal model of data plane process is released.Data plane process is started to process and is forwarded
New data.By setting renewal model for data plane process, when guarantee is updated, data plane process do not handle and
New data are forwarded, to guarantee the storehouse safety of the data of data plane.
Optionally, data plane process registers signal process function, synchronous addition patch handle call back function.Data plane
Process registers model handles function.Data plane process is first arranged to renewal model, for protecting data plane process relevant
The storehouse safety of data.Data plane process first carries out operation relevant to the data that itself is being handled, after the completion same stepping
Row updates relevant operation.After the completion of data plane process determines update, a timer is added.It is released more after timers trigger
New model carries out normal business processing.
Optionally, updating data plane process includes following sub-step:
S13a determines the corresponding update shared library of data plane process according to catalogue file.
Replacement function in the corresponding update shared library of data plane process is loaded onto memory by S13b.
S13c determines third memory address and the 4th memory address.
S13d generates the second replacement instruction according to third memory address and the 4th memory address.
Original function in the corresponding system file of data plane process is replaced with the replacement letter updated in shared library by S13e
Number.
Firstly, communication equipment is according to the corresponding pass between system process each in catalogue file and each update shared library
System, determines the corresponding update shared library of data plane process.There is data plane process in this update in the update shared library
Function, that is, replacement function of modification.Communication equipment is further according to the replacement function recorded in catalogue file in the position for updating shared library
Information reads replacement function from updating in shared library, and is loaded onto memory.
After load, communication equipment determines third memory address and the 4th memory address.Third memory address refers to that data are flat
The address of the original function load for needing to update in the process of face in memory.4th memory address refers to that data plane process is corresponding
Update the address of replacement function load in memory in shared library.Communication equipment is according to third memory address and the 4th memory
Location calculates relative distance between the two, and thus generates the second replacement instruction.Data plane process calls former letter in memory
When number, the address of calling can be jumped into the 4th memory by third memory address according to the relative distance in the second replacement instruction
Address.Therefore, in the updating, data plane process calls original function really to have invoked modified replacement function, to protect
Even if card modifies to original function, the normal operation of data plane process will not be interrupted.
After generating the second replacement instruction, communication equipment modifies the access limit to the system file with original function, permits
Perhaps it modifies to the system file.Original function in the corresponding system file of data plane process is replaced with and is repaired by communication equipment
Replacement function after changing, to complete to update.
After the completion of update, communication equipment modifies the version information of system version, and adds match relevant to system reboot
Set file.
It should be noted that no matter being updated in above-mentioned steps S13 to control plane process, or in above-mentioned steps
Data plane process is updated in S14, is updated to system process.The two is simply updated preceding to the preposition of process
Processing is different, and the concrete mode updated is identical.
In another embodiment, the system process for needing to update include need it is out of service can just be updated restart
Process.For restarting process, communication equipment reads the update script file in patch file, executes the foot updated in script file
This, the original function updated to the needs restarted in process is modified and is backed up.After the completion of update, Restart Signal is sent again
Start this and restarts process.For example, sending kill signal.In addition, when updating in script file includes text modification record, communication
Equipment modifies update to the text file in system file according to text modification record when executing above-mentioned script.
In the embodiment of the present application, communication equipment is by the check information in hot patch cluster, to the legitimacy of hot patch cluster
It is verified, guaranteeing to update file in the hot patch cluster that uses and data is legitimate secure;Moreover, update control plane into
Cheng Shi, communication equipment ensure the storehouse safety of process by timer;Update data plane process when, by by data plane into
Journey is set as renewal model, to ensure the storehouse safety of data.Because ensure that the safety of file, data and storehouse, energy
Enough safeties that system is improved when updating.
In some embodiments of the present application, communication equipment is also supported to the unloading operation for updating patch.Patch is unloaded
It carries and rollback really is carried out to the content modified in update, restore the content before updating.Therefore, patch is unloaded in order to realize
It carries, communication equipment needs to record the original function for updating and being modified in preceding each system process.Specifically, communication equipment is in update
In the process, the original function in the corresponding system file of system process that backup needs to modify, generates rollback file.
The method for unloading patch is similar to above-mentioned update method shown in fig. 1.Specifically, as shown in figure 3, unloading patch
Method includes the following steps.
Step S30 determines the system process for needing rollback according to catalogue file.
In order to unload patch, which system process communication equipment it needs to be determined that have updated.Therefore, communication equipment is according to patch
File determines the system process for completing to update.During unloading patch, the system process of rollback is needed just to refer to system more
The system process for needing to update when new.
Specifically, catalogue file in communication equipment load patch file, and the corresponding relationship recorded according to catalogue file, really
The fixed system process for being completed to update according to the patch file.
Optionally, when needing to unload patch, pass through the version information for the hot patch cluster that WEB or order line unload needs
It is encapsulated as the 2nd IPC message, is then sent to monitoring process.2nd IPC message is used to indicate monitoring process unloading patch.Accordingly
Ground, after monitoring process receives the 2nd IPC message, detect version and the current version of system indicated by version information whether one
It causes.When the version indicated by the version information is consistent with the current version of system, monitoring process decompresses hot patch cluster, reads patch
Catalogue file in file determines the system process for needing rollback.Version and the current version of system indicated by the version information
When this is inconsistent, monitoring process refuses this unloading.
When determining that communication equipment is by monitoring process to needing the system process of rollback to send out after needing the system process of rollback
It sends rolling signal back to, needs the system process of rollback to carry out rolling back action to trigger.When system process is control plane process, hold
Row step S31;When system process is data plane process, step S32 is executed.
Optionally, communication equipment can equally detect communication before triggering needs the system process progress rolling back action of rollback
Whether the system of equipment is updating.If updating, cancel this unloading;If not updating, triggering needs rollback
System process carries out rolling back action.Specifically, the monitoring process detection of communication equipment updates state value.It is 0 when updating state value
When, expression system is not updating;When updating state value is 1, expression system is updating.
Step S31 starts timer, and when timer reaches the first preset duration, according to rollback file, rollback control
Plane process.
It is identical when with system update, when rollback controls plane process, also require the normal operation for guaranteeing control plane.Cause
This, when detecting the rollback signal that monitoring process is sent, communication equipment also can start timer by control plane process.When
When timer reaches the first preset duration, further according to rollback file, rollback controls plane process.By timer, avoid standing
Rolling back action is carried out to control plane process, can ensure the storehouse safety of control plane process.
Specifically, communication equipment reads the original function for the control plane process being written in rollback file, and original function is added
It is loaded onto memory.After load, communication equipment determines the first memory address and the second memory address.Communication equipment is according to the first memory
Location and the second memory address, calculate relative distance between the two, and thus generate third replacement instruction.Control plane process exists
It, can be according to the relative distance in third replacement instruction, by the second memory by the address of calling when calling replacement function in memory
Location jumps to the first memory address.Therefore, in the updating, control plane process calls updated replacement function really to call
Original function before update, so that the normal operation of control plane process will not be interrupted when guaranteeing to carry out rolling back action.
After generating third replacement instruction, communication equipment modifies the access limit to the system file with replacement function,
Allow to modify to the system file.Communication equipment repairs the replacement function controlled in the updated system file of plane process
It is changed to original function, to complete the rolling back action of control plane process, completes the unloading of patch.
Data plane process is set renewal model by step S32, and according to rollback file, rollback data plane process.
It is identical when with system update, in rollback data plane process, also to guarantee the storehouse peace of the data of data plane
Entirely.Therefore, communication equipment first sets renewal model for data plane process.Then, when data plane process will be received
After the completion of the data processing and forwarding arrived, further according to rollback file, rollback data plane process.After the completion of rollback, data are released
The renewal model of plane process.Data plane process starts to process and forwards new data.By the way that data plane process is arranged
For renewal model, when guaranteeing to carry out rolling back action, data plane process does not handle and forwards new data, to guarantee that data are flat
The storehouse safety of the various data in face.
Specifically, communication equipment reads the original function for the data plane process being written in rollback file, and original function is added
It is loaded onto memory.After load, communication equipment determines third memory address and the 4th memory address.Communication equipment is according to third memory
Location and the 4th memory address, calculate relative distance between the two, and thus generate the 4th replacement instruction.Data plane process exists
It, can be according to the relative distance in the 4th replacement instruction, by the 4th memory by the address of calling when calling replacement function in memory
Location jumps to third memory address.Therefore, in the updating, data plane process calls updated replacement function really to call
Original function before update, so that the normal operation of data plane process will not be interrupted when guaranteeing to carry out rolling back action.
After generating the 4th replacement instruction, communication equipment modifies the access limit to the system file with replacement function,
Allow to modify to the system file.Communication equipment repairs the replacement function in the updated system file of data plane process
It is changed to original function, to complete the rolling back action of data plane process, completes the unloading of patch.
In another embodiment, the system process for needing rollback includes above-mentioned restarting process.For restarting process, communicate
Equipment reads the update rollback file in patch file, the script in rollback script file is executed, to the needs restarted in process
The original function of rollback carries out rolling back action.After the completion of rolling back action, transmission Restart Signal restarts this and restarts process.This
Outside, when in rollback script file including text modification record, communication equipment is remembered when executing above-mentioned script according to text modification
It records and rolling back action is carried out to the text file in system file, be the state before updating by text file reparation.
After unloading patch, the version information of system version is reverted to the version information before updating by communication equipment, and is deleted
The configuration file and temporary file generated when except using hot patch cluster more new system.
In other embodiments of the application, communication equipment can be vulcanized after the completion of update alternatively, deleting after unloading patch
Fourth packet.Specifically, the version information of hot patch cluster is encapsulated as the 3rd IPC message by WEB or order line, be then sent to monitor into
Journey.After receiving the 3rd IPC message, monitoring process is by updating whether the system that state value detects communication equipment is updating.
If updating, unerase;If not updating, hot patch corresponding with the version information in the 3rd IPC message is detected
Whether the patch file in packet loads in memory;If so, unerasing;If it is not, then deleting corresponding hot patch cluster.
It should be noted that in above method example, if communication equipment is setting in dual computer group or distributed environment
It is standby, then it either updates system process, unloading patch or deletes hot patch cluster, two-shipper collection can be all simultaneously indicated in communication apparatus
Standby host in group, alternatively, distributed business board executes identical operation.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Fig. 4 is a kind of block diagram of system updating device based on hot patch shown according to an exemplary embodiment.The dress
It sets to have and realizes the exemplary function of the above method, the function can also be executed corresponding soft by hardware realization by hardware
Part is realized.The apparatus may include: obtain module 401, correction verification module 402 and update module 403.
Module 401 is obtained, includes check information for obtaining hot patch cluster, in the hot patch cluster and is used for system update
Patch file.
Correction verification module 402, for verifying the legitimacy of the hot patch cluster according to the check information;
Update module 403, according to the patch file, determines what needs updated if legal for the hot patch cluster
System process.
The update module 403, is also used to: when the system process for needing to update is controls plane process, starting timing
Device, and after the timer reaches the first preset duration, according to the patch file, update the control plane process;When
When the system process for needing to update is data plane process, renewal model is set by the data plane process, and according to institute
Patch file is stated, the data plane process is updated;The renewal model refers to that data plane process stops processing and forwarding number
According to mode.
In device provided by the embodiments of the present application, communication equipment is by the check information in hot patch cluster, to hot patch
The legitimacy of packet is verified, and guaranteeing to update file in the hot patch cluster that uses and data is legitimate secure;Moreover, updating
When controlling plane process, communication equipment ensures the storehouse safety of process by timer;Update data plane process when, pass through by
Data plane process is set as renewal model, to ensure the storehouse safety of data.Because ensure that the peace of file, data and storehouse
Entirely, so the safety of system can be improved when updating.
Optionally, the check information includes Magic number, hardware information and version information, and the hardware information is used to indicate
The applicable hardware structure of the hot patch cluster, the version information are used to indicate the version of system update.
The correction verification module 402, is specifically used for:
Detect whether the Magic number in the check information matches with the Magic number of storage, indicated by the hardware information
Whether hardware structure correct and the version information indicated by version it is whether correct;Magic in the check information
Word is matched with the Magic number of the storage, and hardware structure indicated by the hardware information is correct, and the version information is signified
When the version shown is correct, determine that the hot patch cluster is legal.
Optionally, the patch file includes: that catalogue file and each corresponding update of system process for needing to update are total
Enjoy library.It include the replacement function needed for corresponding system process updates in the update shared library.The catalogue file includes needing
Each system process, each corresponding relationship and replacement function updated between shared library and each replacement function to be updated
Updating the location information in shared library.
Optionally, the update module 403, is specifically used for: according to the catalogue file, determining the control plane process
Corresponding update shared library;Replacement function in the corresponding update shared library of the control plane process is loaded onto memory;Really
Fixed first memory address and the second memory address, first memory address, which refers to, in the control plane process to be needed to update
The address of original function in memory, second memory address refer in the corresponding update shared library of the control plane process
The address of replacement function in memory;According to first memory address and second memory address, generates the first replacement and refer to
It enables, first replacement instruction is used to indicate address of the control plane process by calling original function when, in described first
It deposits address and replaces with second memory address;Original function in the corresponding system file of the control plane process is replaced with
Replacement function in corresponding update shared library.
Optionally, the update module 403, is specifically used for: according to the catalogue file, determining the data plane process
Corresponding update shared library;Replacement function in the corresponding update shared library of the data plane process is loaded onto memory;Really
Determine third memory address and the 4th memory address, the third memory address refers to be needed to update in the data plane process
The address of original function in memory, the 4th memory address refer in the corresponding update shared library of the data plane process
The address of replacement function in memory;According to the third memory address and the 4th memory address, generates the second replacement and refer to
It enables, second replacement instruction is used to indicate address of the data plane process by calling original function when, by the third
It deposits address and replaces with the 4th memory address;Original function in the corresponding system file of the data plane process is replaced with
Replacement function in corresponding update shared library.
Optionally, described device further include: backup module.The backup module, for generating rollback file, the rollback
File is used to back up the original function in the corresponding system file of system process for needing to modify.
Optionally, described device further include: Unload module.The Unload module, for determining according to the patch file
Need the system process of rollback;When needing the system process of rollback to control plane process, start the timer, and in institute
It states after timer reaches first preset duration, according to the rollback file, controls plane process described in rollback;When needing back
When the system process of rolling is data plane process, the renewal model is set by the data plane process, and according to described
Rollback file, data plane process described in rollback.
In the specific implementation, the application also provides a kind of computer storage medium, wherein the computer storage medium can store
There is program, which may include step some or all of in each embodiment of method provided by the present application when executing.Described
Storage medium can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory
(Random Access Memory, RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the application or embodiment
The method stated.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (8)
1. a kind of method for updating system based on hot patch, which is characterized in that the described method includes:
Hot patch cluster is obtained, includes check information and the patch file for system update in the hot patch cluster;
According to the check information, the legitimacy of the hot patch cluster is verified;
If the hot patch cluster is legal, according to the patch file, the system process for needing to update is determined;
If desired the system process updated is control plane process, then starts timer, and reach first in advance in the timer
If when duration, according to the patch file, updating the control plane process;
If desired the system process updated is data plane process, then sets renewal model for the data plane process, and
According to the patch file, the data plane process is updated;The renewal model refer to data plane process stop processing and
Forward the mode of data.
2. the method according to claim 1, wherein the check information includes Magic number, hardware information and version
This information, the hardware information are used to indicate the applicable hardware structure of the hot patch cluster, and the version information, which is used to indicate, is
The version that system updates;
It is described according to the check information, verify the legitimacy of the hot patch cluster, comprising:
Detect the Magic number in the check information whether matched with the Magic number of storage, hardware indicated by the hardware information
Whether framework correct and the version information indicated by version it is whether correct;
If the Magic number in the check information is matched with the Magic number of the storage, hardware frame indicated by the hardware information
Structure is correct, and version indicated by the version information is correct, it is determined that the hot patch cluster is legal.
3. the method according to claim 1, wherein the patch file includes: catalogue file and each needs
The corresponding update shared library of the system process of update;
It include the replacement function needed for corresponding system process updates in the update shared library;
The catalogue file includes between each system process, each update shared library and each replacement function for needing to update
Corresponding relationship and replacement function update shared library in location information.
4. according to the method described in claim 3, it is characterized in that, updating the control plane process, comprising:
According to the catalogue file, the corresponding update shared library of the control plane process is determined;
Replacement function in the corresponding update shared library of the control plane process is loaded onto memory;
Determine the first memory address and the second memory address, first memory address refers to be needed in the control plane process
The address of the original function of update in memory, second memory address refer to that corresponding update of the control plane process is shared
The address of replacement function in memory in library;
According to first memory address and second memory address, the first replacement instruction, first replacement instruction are generated
It is used to indicate address of the control plane process by calling original function when, replaces with described second by first memory address
Memory address;
Original function in the corresponding system file of the control plane process is replaced with to the replacement in corresponding update shared library
Function.
5. according to the method described in claim 3, it is characterized in that, updating the data plane process, comprising:
According to the catalogue file, the corresponding update shared library of the data plane process is determined;
Replacement function in the corresponding update shared library of the data plane process is loaded onto memory;
Determine third memory address and the 4th memory address, the third memory address refers to be needed in the data plane process
The address of the original function of update in memory, the 4th memory address refer to that corresponding update of the data plane process is shared
The address of replacement function in memory in library;
According to the third memory address and the 4th memory address, the second replacement instruction, second replacement instruction are generated
It is used to indicate address of the data plane process by calling original function when, replaces with the described 4th by the third memory address
Memory address;
Original function in the corresponding system file of the data plane process is replaced with into the replacement in corresponding update shared library
Function.
6. the method according to claim 1, wherein the method also includes:
Rollback file is generated, the rollback file is used to back up in the corresponding system file of system process for needing to modify
Original function.
7. according to the method described in claim 6, it is characterized in that, after the generation rollback file, further includes:
According to the patch file, the system process for needing rollback is determined;
If desired the system process of rollback is control plane process, then starts the timer, and reach institute in the timer
When stating the first preset duration, according to the rollback file, plane process is controlled described in rollback;
If desired the system process of rollback is data plane process, then sets the update mould for the data plane process
Formula, and according to the rollback file, data plane process described in rollback.
8. a kind of system updating device based on hot patch, which is characterized in that described device includes:
Module is obtained, includes check information and the patch for system update in the hot patch cluster for obtaining hot patch cluster
File;
Correction verification module, for verifying the legitimacy of the hot patch cluster according to the check information;
Update module, for when the hot patch cluster is legal, according to the patch file, determine the system that needs to update into
Journey;
The update module, is also used to: when the system process for needing to update is controls plane process, starting timer, and
After the timer reaches the first preset duration, according to the patch file, the control plane process is updated;When needing to update
System process when being data plane process, set renewal model for the data plane process, and according to the patch text
Part updates the data plane process;The renewal model refers to that data plane process stops the mode of processing and forwarding data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811637628.7A CN109491698B (en) | 2018-12-29 | 2018-12-29 | System updating method and device based on hot patch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811637628.7A CN109491698B (en) | 2018-12-29 | 2018-12-29 | System updating method and device based on hot patch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109491698A true CN109491698A (en) | 2019-03-19 |
CN109491698B CN109491698B (en) | 2022-07-08 |
Family
ID=65713436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811637628.7A Active CN109491698B (en) | 2018-12-29 | 2018-12-29 | System updating method and device based on hot patch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491698B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543322A (en) * | 2019-07-19 | 2019-12-06 | 浪潮思科网络科技有限公司 | hot patching method and device for Loongson platform |
CN111158735A (en) * | 2019-12-05 | 2020-05-15 | 青岛海信移动通信技术股份有限公司 | Hot patch file processing method and communication terminal |
CN111522615A (en) * | 2020-04-23 | 2020-08-11 | 平安国际智慧城市科技股份有限公司 | Method, device and equipment for updating command line interface and storage medium |
CN112463198A (en) * | 2020-12-09 | 2021-03-09 | 深圳智药科技有限公司 | Updating method and system based on Electron |
CN112631632A (en) * | 2020-12-30 | 2021-04-09 | 北京天融信网络安全技术有限公司 | System upgrading method, framework, electronic equipment and readable storage medium |
CN112685063A (en) * | 2020-12-30 | 2021-04-20 | 北京天融信网络安全技术有限公司 | Feature library updating method and device, network equipment and readable storage medium |
CN113110864A (en) * | 2021-03-19 | 2021-07-13 | 深圳市腾讯网络信息技术有限公司 | Application program updating method and device and storage medium |
CN113342376A (en) * | 2021-06-23 | 2021-09-03 | 支付宝(杭州)信息技术有限公司 | Method and device for upgrading operating system of Internet of things equipment |
CN113885921A (en) * | 2021-11-09 | 2022-01-04 | 南京慧尔视智能科技有限公司 | Method and equipment for updating embedded system |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1475909A (en) * | 2002-08-16 | 2004-02-18 | 华为技术有限公司 | realization of isertion type system soft ware patch and control method |
CN103765406A (en) * | 2011-06-30 | 2014-04-30 | 亚马逊科技公司 | Methods and apparatus for remotely updating executing processes |
CN103916277A (en) * | 2014-04-11 | 2014-07-09 | 杭州华三通信技术有限公司 | Method and device for not interrupting forwarding service in rebooting process |
CN104239082A (en) * | 2013-06-20 | 2014-12-24 | 上海博达数据通信有限公司 | Hot patching implementation method of embedded system |
US9335986B1 (en) * | 2013-12-11 | 2016-05-10 | Amazon Technologies, Inc. | Hot patching to update program code and/or variables using a separate processor |
US20160216962A1 (en) * | 2015-01-22 | 2016-07-28 | Futurewei Technologies, Inc. | Systems and methods to update source code files |
CN106502763A (en) * | 2016-11-01 | 2017-03-15 | 上海优刻得信息科技有限公司 | A kind of Oftware updating method and device |
CN107766069A (en) * | 2017-10-17 | 2018-03-06 | 安徽皖通邮电股份有限公司 | A kind of embedded system hot patch implementation method |
US10031763B1 (en) * | 2015-08-24 | 2018-07-24 | Amazon Technologies, Inc. | Network switch recovery after reboot |
CN108712298A (en) * | 2018-08-28 | 2018-10-26 | 深信服科技股份有限公司 | Upgrading network equipment method, apparatus, the network equipment and storage medium |
-
2018
- 2018-12-29 CN CN201811637628.7A patent/CN109491698B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1475909A (en) * | 2002-08-16 | 2004-02-18 | 华为技术有限公司 | realization of isertion type system soft ware patch and control method |
CN103765406A (en) * | 2011-06-30 | 2014-04-30 | 亚马逊科技公司 | Methods and apparatus for remotely updating executing processes |
CN104239082A (en) * | 2013-06-20 | 2014-12-24 | 上海博达数据通信有限公司 | Hot patching implementation method of embedded system |
US9335986B1 (en) * | 2013-12-11 | 2016-05-10 | Amazon Technologies, Inc. | Hot patching to update program code and/or variables using a separate processor |
CN103916277A (en) * | 2014-04-11 | 2014-07-09 | 杭州华三通信技术有限公司 | Method and device for not interrupting forwarding service in rebooting process |
US20160216962A1 (en) * | 2015-01-22 | 2016-07-28 | Futurewei Technologies, Inc. | Systems and methods to update source code files |
US10031763B1 (en) * | 2015-08-24 | 2018-07-24 | Amazon Technologies, Inc. | Network switch recovery after reboot |
CN106502763A (en) * | 2016-11-01 | 2017-03-15 | 上海优刻得信息科技有限公司 | A kind of Oftware updating method and device |
CN107766069A (en) * | 2017-10-17 | 2018-03-06 | 安徽皖通邮电股份有限公司 | A kind of embedded system hot patch implementation method |
CN108712298A (en) * | 2018-08-28 | 2018-10-26 | 深信服科技股份有限公司 | Upgrading network equipment method, apparatus, the network equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
MING LI: ""Design of Control Plane Architecture Based on Cloud Platform and Experimental Network Demonstration for Multi-domain SDON "", 《8TH INTERNATIONAL CONFERENCE ON ADVANCED INFOCOMM TECHNOLOGY》 * |
郑嘉琦: "数据中心网络数据平面更新策略研究", 《中国博士学位论文全文数据库 信息科技辑》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110543322A (en) * | 2019-07-19 | 2019-12-06 | 浪潮思科网络科技有限公司 | hot patching method and device for Loongson platform |
CN111158735A (en) * | 2019-12-05 | 2020-05-15 | 青岛海信移动通信技术股份有限公司 | Hot patch file processing method and communication terminal |
CN111522615B (en) * | 2020-04-23 | 2023-08-15 | 深圳赛安特技术服务有限公司 | Method, device, equipment and storage medium for updating command line interface |
CN111522615A (en) * | 2020-04-23 | 2020-08-11 | 平安国际智慧城市科技股份有限公司 | Method, device and equipment for updating command line interface and storage medium |
CN112463198A (en) * | 2020-12-09 | 2021-03-09 | 深圳智药科技有限公司 | Updating method and system based on Electron |
CN112631632A (en) * | 2020-12-30 | 2021-04-09 | 北京天融信网络安全技术有限公司 | System upgrading method, framework, electronic equipment and readable storage medium |
CN112685063A (en) * | 2020-12-30 | 2021-04-20 | 北京天融信网络安全技术有限公司 | Feature library updating method and device, network equipment and readable storage medium |
CN112631632B (en) * | 2020-12-30 | 2024-03-12 | 北京天融信网络安全技术有限公司 | System upgrade method, framework, electronic device and readable storage medium |
CN112685063B (en) * | 2020-12-30 | 2023-11-28 | 北京天融信网络安全技术有限公司 | Feature library updating method, device, network equipment and readable storage medium |
CN113110864A (en) * | 2021-03-19 | 2021-07-13 | 深圳市腾讯网络信息技术有限公司 | Application program updating method and device and storage medium |
CN113110864B (en) * | 2021-03-19 | 2023-01-20 | 深圳市腾讯网络信息技术有限公司 | Application program updating method and device and storage medium |
CN113342376A (en) * | 2021-06-23 | 2021-09-03 | 支付宝(杭州)信息技术有限公司 | Method and device for upgrading operating system of Internet of things equipment |
CN113885921A (en) * | 2021-11-09 | 2022-01-04 | 南京慧尔视智能科技有限公司 | Method and equipment for updating embedded system |
Also Published As
Publication number | Publication date |
---|---|
CN109491698B (en) | 2022-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109491698A (en) | Method for updating system and device based on hot patch | |
WO2017067448A1 (en) | Firmware-over-the-air upgrade method, system and computer storage medium | |
CN104679534B (en) | System application installation package loading processing method, apparatus and terminal | |
KR100915564B1 (en) | Method, software and apparatus for application upgrade during execution | |
JP4426736B2 (en) | Program correction method and program | |
US20170206079A1 (en) | Method and Device for Upgrading Software | |
EP2840492A1 (en) | Method and apparatus for modifying a computer program in a trusted manner | |
US9244758B2 (en) | Systems and methods for repairing system files with remotely determined repair strategy | |
CN104918114B (en) | A kind of operating system update method and device | |
CN107783776B (en) | Processing method and device of firmware upgrade package and electronic equipment | |
CN106815049B (en) | Method and device for upgrading feature library | |
TW201621647A (en) | Operating system updating method | |
CN105260209A (en) | Hot-update solution of program | |
US8612799B2 (en) | Method and apparatus of backing up subversion repository | |
CN107220074A (en) | To the access of supporting layer software function, upgrade method and device | |
WO2018024198A1 (en) | Application upgrade method and system for set-top box, and set-top box | |
CN109558151A (en) | Oftware updating method and system | |
CN107844306A (en) | Restorative procedure, device, storage medium and the terminal of application program | |
US20170364406A1 (en) | Security patch tool | |
CN108322540A (en) | Customized data lead-in method, terminal and computer readable storage medium | |
WO2017198156A1 (en) | Service deployment method, apparatus and system | |
EP4050850A1 (en) | Service upgrading method, device and system | |
CN103713911B (en) | A kind of single version upgrade method and device | |
CN105594184B (en) | Method for upgrading software version, device and equipment | |
CN117311764A (en) | Firmware upgrading and restoring method, device, equipment and storage medium |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230414 Address after: 100120 room c0310, building 6, No.3, Dongbinhe Road, Deshengmen, Xicheng District, Beijing Patentee after: BEIJING ABT NETWORKS CO.,LTD. Address before: 430070 No.01, 2 / F, building A4, financial port backstage service center phase I, 77 Guanggu Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province Patentee before: WUHAN SIPULING TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |