CN107085514A - Shared library upgrade method and device - Google Patents

Shared library upgrade method and device Download PDF

Info

Publication number
CN107085514A
CN107085514A CN201710127929.4A CN201710127929A CN107085514A CN 107085514 A CN107085514 A CN 107085514A CN 201710127929 A CN201710127929 A CN 201710127929A CN 107085514 A CN107085514 A CN 107085514A
Authority
CN
China
Prior art keywords
shared library
function
target
former
system memory
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
Application number
CN201710127929.4A
Other languages
Chinese (zh)
Other versions
CN107085514B (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.)
Beijing An Polytron Technologies Inc
Original Assignee
Beijing An Polytron Technologies Inc
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 Beijing An Polytron Technologies Inc filed Critical Beijing An Polytron Technologies Inc
Priority to CN201710127929.4A priority Critical patent/CN107085514B/en
Publication of CN107085514A publication Critical patent/CN107085514A/en
Application granted granted Critical
Publication of CN107085514B publication Critical patent/CN107085514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses a kind of shared library upgrade method and device, wherein, methods described includes:When detecting the operation of the former shared library of target shared library covering, the target shared library is loaded into Installed System Memory;It is determined that the function in the former shared library being being currently used;The storage address of the function is read from the target shared library;The corresponding address of the function pre-seted is replaced using the storage address;When replacing the address for completing whole functions, the former shared library is deleted from the Installed System Memory.The technical scheme of the embodiment of the present invention, can be in the state of not influenceing program to run, delete former shared library, to realize dynamic replacement of the shared library in Installed System Memory, so as to avoid equipment from restarting, and then the time of shared library upgrading can not only be saved, additionally it is possible to keep current all business process to continuously carry out, improve the execution efficiency of business process.

Description

Shared library upgrade method and device
Technical field
The application is related to operating system field, more particularly to a kind of shared library upgrade method and device.
Background technology
The executable program of (SuSE) Linux OS includes the executable program of static linkage and the executable journey of dynamic link Sequence, wherein, the executable program of static linkage includes all functions needed for performing, and the executable program of dynamic link is not wrapped Containing the function needed for execution, operationally, it is necessary to read respective function from the shared library for safeguarding the function needed for performing.Its In, the program for the application software run based on (SuSE) Linux OS is the executable program of dynamic link.
Specifically, " function tool box " that shared library is run as application software, be stored with multiple Application Software Program fortune The required function of row, accordingly, each application software also safeguards the function identification for needing call function in advance.When detecting application When software needs to call certain function, usual operating system reads the function identification of the function, and sets up function identification with it altogether The corresponding relation of storage address in storehouse is enjoyed, then, operating system triggering application software determines depositing for the function by corresponding relation Address is stored up, and then, application software reads the function from the storage address, and calls the function configuration processor.
In the prior art, if operating system goes wrong, generally by changing the function in shared library, or shared The mode for adding modulation intelligence in storehouse is repaired.Because the content of shared library is modified, the storage address of wherein function there occurs Change, so, amended shared library should be regard as the basis of function call.However, the need for due to program operation, operation System can not replace the shared library before modification using amended shared library immediately, therefore, when operating system sets up function identification During with the corresponding relation of its storage address, two storage address can be found, so that program can be caused chaotic, it is impossible to perform.
In view of this, in the prior art, after amended shared library is generated, generally by way of restarting equipment, Shared library before Force Deletion modification, so that operating system is setting up the corresponding relation of function identification and its storage address When, unique corresponding storage address can be obtained.However, restarting equipment is not only lost time, but also it can cut off current all The process of business, reduces the execution efficiency of business process.
The content of the invention
This application provides a kind of shared library upgrade method and device, lost time with solving prior art, cut-out is current The problem of business process.
In a first aspect, this application provides a kind of shared library upgrade method, methods described includes:
When detecting the operation of the former shared library of target shared library covering, the target shared library is loaded into system Deposit;
It is determined that the function in the former shared library being being currently used;
The storage address of the function is read from the target shared library;
The corresponding address of the function pre-seted is replaced using the storage address;
When replacing the address for completing whole functions, the former shared library is deleted from the Installed System Memory.
Optionally, it is described the target shared library is loaded into Installed System Memory to include:
Call monitoring process that the target shared library is loaded into Installed System Memory by hard disk;
Or,
Call the operation process of current idle that the target shared library is loaded into Installed System Memory by hard disk.
Optionally, the storage address that the function is read from the target shared library, including:
It is determined that calling the application software of the function;
The target process of the application software is called to travel through the target shared library, wherein, the target process is to use The function performs the process of operation;
When finding the function, function corresponding address in the target shared library is read.
Optionally, before the target process traversal target shared library of the application software is called, methods described is also Including:
Monitoring process is called to detect whether the target process performs operation using the function;
When the function, which is not used, in the target process performs operation, the target of the application software is called described in execution Process travels through the operation of the target shared library.
Optionally, methods described also includes:
The total quantity of function associated by the former shared library of monitoring in real time;
It is described when replace complete all addresses of the functions when, the former shared library is deleted from the Installed System Memory Including:
When the total quantity of the function of former shared place connection is zero, the former shared library is deleted from the Installed System Memory Remove.
Second aspect, present invention also provides a kind of shared library update device, it is characterised in that described device includes:
Load-on module, for when detecting the operation of the former shared library of target shared library covering, by the target shared library It is loaded into Installed System Memory;
Function in determining module, the former shared library being being currently used for determination;
Read module, the storage address for reading the function from the target shared library;
Replacement module, for replacing the corresponding address of the function pre-seted using the storage address;
Performing module, for replace complete all addresses of the functions when, by the former shared library from the system Deleted in internal memory.
Optionally, the load-on module, specifically for calling monitoring process to be loaded into the target shared library by hard disk Installed System Memory;Or, call the operation process of current idle that the target shared library is loaded into Installed System Memory by hard disk.
Optionally, the read module, the application software of the function is called specifically for determination;Call the application soft The target process of part travels through the target shared library, wherein, the target process is the process that operation is performed using the function; And when finding the function, read function corresponding address in the target shared library.
Optionally, the read module, the target process for calling the application software travel through the target shared library it Before, it is additionally operable to call monitoring process to detect whether the target process performs operation using the function;And in the mesh When the function execution operation is not used in mark process, the target process of the application software is called to travel through the target described in execution The operation of shared library.
Optionally, described device also includes monitoring modular, wherein,
The monitoring modular, the total quantity for monitoring the function associated by former shared library in real time;
The performing module, is additionally operable to when the total quantity of the function of former shared place connection is zero, will be described former shared Deleted from the Installed System Memory in storehouse.
Compared with prior art, the technical scheme that the present embodiment is provided has advantages below and feature:
In scheme provided in an embodiment of the present invention, target shared library covering after the former shared library in hard disk is updated Afterwards, target shared library is loaded into Installed System Memory by operating system, then, it is determined that function currently called in former shared library, And by the corresponding address of the function safeguarded in advance, replace with storage address of the function in target shared library.When what is safeguarded in advance After the completion of function address is all replaced, then it is assumed that there is no function to be called in former shared library, operating system will be by former shared library Deleted from Installed System Memory, so as to complete dynamic replacement of the shared library in Installed System Memory.As can be seen here, the embodiment of the present invention Technical scheme, operating system can in the process of running, and dynamic resolution removes the incidence relation of former shared library and the program currently run, So as in the state of not influenceing program to run, former shared library be deleted, to realize dynamic of the shared library in Installed System Memory Replace, so as to avoid equipment from restarting, and then the time of shared library upgrading can not only be saved, additionally it is possible to keep current all Business process continuously carry out, improve business process execution efficiency.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme of the application, letter will be made to the required accompanying drawing used in embodiment below Singly introduce, it should be apparent that, for those of ordinary skills, without having to pay creative labor, Other accompanying drawings can also be obtained according to these accompanying drawings.
The method flow diagram for the shared library upgrade method that Fig. 1 provides for the application;
Information exchange schematic diagram between the process that Fig. 2 provides for the application;
The structural representation for the shared library update device that Fig. 3 provides for the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Whole description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, the method flow diagram for the shared library upgrade method that Fig. 1 provides for the application.It is described herein shared Storehouse upgrade method, can be during operating system, dynamic update shared library, so as to avoid equipment from restarting, and saves Time.
This method comprises the following steps:
Step S101, Installed System Memory is loaded into by the target shared library.
, wherein it is desired to which explanation, shared library is maintained in system disk, operating system is led to before using shared library Shared library is first often loaded into Installed System Memory from hard disk, then, triggering application software is adjusted from the shared library in Installed System Memory Use function.Therefore, when shared library is upgraded, the shared library before being changed in hard disk is covered first by amended shared library, then, The Installed System Memory that operating system again loads amended shared library.It is pointed out that in the application, will be shared before modification Storehouse is named as former shared library, and amended shared library is named as into target shared library.
Specifically, operating system can by detecting the running log of hard disk, judge it is current whether there is shared library to be capped, When there is covering behavior generation, illustrate there is shared library renewal in hard disk, can determine that what is updated shares by the mark of shared library Storehouse, and then the target shared library in hard disk is loaded into Installed System Memory.
In addition it should be pointed out that, generally original shared library is identical with the mark of target shared library, and in Installed System Memory in advance Be stored with former shared library, therefore, and in order to clearly distinguish former shared library and target shared library, operating system loaded targets are total to When enjoying storehouse, target is shared into the library storage position different from former shared library into Installed System Memory.
Step S102, it is determined that the function in the former shared library being being currently used.
Description based on above-mentioned steps is understood, is loaded into after Installed System Memory, is deposited in Installed System Memory by target shared library The shared library of two identical shared library marks is contained, and in the shared library of two like-identifieds, the most of phase of function of maintenance Together.Due to before application software calls certain function, operating system need previously according to function identification determine the function identification with Corresponding storage address, is the storage address in target shared library in order to ensure the corresponding storage address of function identification therefore, should When the former shared library in deletion system internal memory.However, when having function just when called in former shared library, in order to ensure related journey Sequence is normally run, it is impossible to delete the former shared library, therefore, before former shared library is deleted, can release first it is current by The function used and the corresponding relation of former shared library.
Specifically, in this step, when application software call function, operating system can record called function and its The corresponding relation of shared library, after some shared library updates, operating system can determine phase from the corresponding relation safeguarded in advance The function being currently currently being used in former shared library is answered, to carry out subsequent operation.
Furthermore, it is necessary to explanation, the purpose of this step is that the institute for releasing former shared library is relevant, therefore, Target shared library is loaded into after Installed System Memory, when new function is called, operating system can be given tacit consent to using target shared library as tune With basis.
Step S103, reads the storage address of the function from the target shared library.
Wherein, can be by way of the storage address of the called function of modification in technical scheme described herein, solution Except the incidence relation of respective function and former shared library, thus can either dynamic Modification growth function association shared library, ensure that again The normal operation of relative program.
Specifically, respective function can be determined in target shared library in storage address, this step first, operating system can It is corresponding when finding the function identification in target shared library to travel through target shared library according to the function identification of respective function During function, the storage address of function reading correspondence target shared library.
Step S104, the corresponding address of the function pre-seted is replaced using the storage address.
Wherein, the storage address that called function is currently associated is corresponding with former shared library, on the basis of above-mentioned steps, Its corresponding relation with target shared library can be set up with the storage address of Modification growth function.
The storage address form of function can be:Shared library address/position of the function in shared library, based on foregoing description Understand, storage address of the target shared library in Installed System Memory with original shared library differ, therefore, using target shared library as When calling basis, the corresponding shared library address of respective function is required to change.In addition, target shared library is the base in former shared library On plinth, obtained after execution increase function, Modification growth function and/or deletion function operation, therefore, Same Function is shared in target Corresponding storage location is different from the storage location in former shared library in storehouse, therefore, position of the respective function in shared library It is also required to change.
For example, address of the former shared library in Installed System Memory is 01a, called function A is in former shared library Storage location is eighth row, then storage address current function A is 01a/08.The corresponding target shared library loading of former shared library To the 02b positions of Installed System Memory, and 10 rows of the function A in target shared library, then the storage of function A correspondence target shared libraries Address is then 02b/10.
Furthermore, it is necessary to explanation, when application software is using called function configuration processor, the functional dependence All parameters can not change, therefore, when performing this step, operating system may determine that respective function is current whether Used, if respective function is currently not used by, the operation of the replacement storage address of this step is performed, if respective function Currently it is currently being used, does not then perform any operation, until corresponding program is finished, then performs the replacement storage of this step The operation of location.
Step S105, the former shared library is deleted from the Installed System Memory.
Wherein, when function is employed software transfer, is safeguarded with the corresponding relation of former shared library by storage address, work as function Storage address be replaced after, function and the corresponding relation of former shared library are released, and are adjusted when all in former shared library After the storage address of function is replaced, then it is considered that there is no function to be called in former shared library, former shared library Operation of the state on current application software will not produce influence, therefore, can be by original when replacing the address for completing whole functions Shared library is deleted from Installed System Memory.
As can be seen here, the technical scheme described in the present embodiment, can release letter by the corresponding storage address of renewal function Number and the incidence relation of former shared library, so as to which under conditions of not influenceing application software to run, dynamic resolution removes former shared library Institute it is relevant, so as to dynamic replacement shared library, it is to avoid equipment is restarted, save the time.
The technical scheme of the application is described on the whole for above-described embodiment, in order that those skilled in the art's energy Enough clearer, detailed technical schemes for understanding the application, this programme is described with reference to example.
It should be noted that operating system is in configuration processor, by creating process as the execution unit of this section of program, Accordingly, the implementation of each step is substantially the information exchange between different processes in the application, and the present embodiment will be from The angle of information exchange between different processes, the application is described.
Referring to Fig. 2, the information exchange schematic diagram between the process that Fig. 2 provides for the application, in this example, it is assumed that former Shared library is shared library B, and target shared library is shared library C, and the corresponding process Z of current application software S have called into shared library B In function X.Wherein, process Z is the process that operation is performed using function X, in the present embodiment, can be used as application software Target process.
Specifically, operating system works as hard disk generally by calling monitoring process to monitor the state of all shared libraries in hard disk In shared library B be shared storehouse C covering after, operating system can call monitoring process that shared library C is loaded into Installed System Memory. Because operating system is advance in process Z call function X, by calling monitoring process to maintain function X mark together Storehouse B corresponding relation is enjoyed, therefore, monitoring process can also generate announcement information, and this is notified while shared library C is loaded Information is sent to process Z, to notify process Z renewal functions X storage address.Wherein, announcement information includes shared library C and is being Address in system internal memory.
When using function X configuration processors due to process Z, extraneous any data are not received, only in an idle state Exogenous data can be received, and is responded, therefore, then can be to when process Z detects current function X and is in idle condition Monitoring process sends response message, and when process Z detects current function X and is currently being used, is then saved in announcement information Caching.
When function X is in idle condition, process Z traversal shared library C, and when finding function X, read the storage Location, then updates the function X safeguarded in advance storage address, i.e. replace it using storage address of the function X in shared library C Storage address in shared library B.When function X is currently being used, then after using terminating, above-mentioned traversal and replacement are performed Operation, and complete information to monitoring process transmission replacement after completion is replaced.
Because the storage address for changing function X is to release function X and shared library C incidence relation, therefore, this implementation In example, monitoring process can monitor the total quantity of the function associated by shared library B in real time, and receive process Z transmissions Replace and complete after information, total quantity is subtracted 1.When the total quantity of the function associated by monitoring process monitors shared library B is 0, Then think there is no function to be called in the B of current shared storehouse, shared library B is deleted from Installed System Memory, so as to complete shared library Dynamic replacement.
In addition, in the present embodiment, monitoring process is detected in hard disk after shared library C covering shared libraries B, can be with Mr. Into announcement information, and the process for currently calling function in shared library B is sent to, upon receiving the responses, it may be determined that current empty Not busy operation process, and then may call upon the operation that the operation process of free time performs loading shared library C.Specifically, this implementation Example is no longer described in detail herein.
From above-described embodiment as can be seen that the technical scheme of the embodiment of the present invention, operating system can in the process of running, Dynamic resolution removes the incidence relation of former shared library and the program currently run, so as in the state of not influenceing program to run, Former shared library is deleted, to realize dynamic replacement of the shared library in Installed System Memory, so as to avoid equipment from restarting, and then not only The time of shared library upgrading can be saved, additionally it is possible to keep current all business process to continuously carry out, improve business process Execution efficiency.
Corresponding with above-mentioned implementation method, present invention also provides a kind of shared library update device.It is referring to Fig. 3, Fig. 3 The structural representation for the shared library update device that the application is provided.Described device can be arranged in above-mentioned (SuSE) Linux OS, For performing the shared library upgrade method corresponding to Fig. 1 and Fig. 2.
Described device includes:Load-on module 11, determining module 12, read module 13, replacement module 14 and performing module 15. Wherein, load-on module 11, for when detecting the operation of the former shared library of target shared library covering, the target shared library to be added It is downloaded to Installed System Memory;Function in determining module 12, the former shared library being being currently used for determination;Read module 13, the storage address for reading the function from the target shared library;Replacement module 14, for using the storage Replace the corresponding address of the function pre-seted in location;Performing module 15, for replacing the address for completing all functions When, the former shared library is deleted from the Installed System Memory.
On the basis of foregoing description, in a specific embodiment, the load-on module 11, specifically for calling monitoring The target shared library is loaded into Installed System Memory by process by hard disk;Or, the operation process of current idle is called by the mesh Mark shared library is loaded into Installed System Memory by hard disk.
In another embodiment, the read module 13, the application software of the function is called specifically for determination;Adjust The target shared library is traveled through with the target process of the application software, wherein, the target process is held using the function The process of row operation;And when finding the function, read function corresponding address in the target shared library.
In addition, on the basis of above-described embodiment, the read module 13 is calling the target process of the application software Travel through before the target shared library, be additionally operable to call monitoring process to detect whether the target process uses the function Perform operation;And when the target process is not used the function and performs operation, the application software is called described in execution Target process travels through the operation of the target shared library.
On the basis of above-described embodiment, described device also includes monitoring modular, wherein, the monitoring modular, for reality When the former shared library of monitoring associated by function total quantity;In the present embodiment, the performing module 15, is additionally operable to shared in original When the total quantity of the function of place connection is zero, the former shared library is deleted from the Installed System Memory.
As can be seen here, the technical scheme of the embodiment of the present invention, operating system can in the process of running, and dynamic resolution is except former common Storehouse and the incidence relation for the program currently run are enjoyed, so as in the state of not influenceing program to run, delete former shared library, To realize dynamic replacement of the shared library in Installed System Memory, so as to avoid equipment from restarting, and then it can not only save shared The time of qurush level, additionally it is possible to keep current all business process to continuously carry out, improve the execution efficiency of business process.
In the specific implementation, the application also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored There is program, the program may include the part or all of step in each embodiment for the method for calling that the present invention is provided when performing.Institute The storage medium stated can be magnetic disc, CD, read-only memory (English:Read-only memory, referred to as:ROM) or with Machine storage memory (English:Random access memory, referred to as:RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software The mode of general hardware platform realize.Understood based on such, the technical scheme in the embodiment of the present invention substantially or Say that the part contributed to prior art can be embodied in the form of software product, the computer software product can be deposited Storage is in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment (can be with It is personal computer, server, or network equipment etc.) perform some part institutes of each of the invention embodiment or embodiment The method stated.
Between the embodiment of each in this specification identical similar part mutually referring to.Especially for shared qurush For level embodiment of the method, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to side Explanation in method embodiment.
Invention described above embodiment is not intended to limit the scope of the present invention..

Claims (10)

1. a kind of shared library upgrade method, it is characterised in that methods described includes:
When detecting the operation of the former shared library of target shared library covering, the target shared library is loaded into Installed System Memory;
It is determined that the function in the former shared library being being currently used;
The storage address of the function is read from the target shared library;
The corresponding address of the function pre-seted is replaced using the storage address;
When replacing the address for completing whole functions, the former shared library is deleted from the Installed System Memory.
2. shared library upgrade method as claimed in claim 1, it is characterised in that described be loaded into the target shared library be System internal memory includes:
Call monitoring process that the target shared library is loaded into Installed System Memory by hard disk;
Or,
Call the operation process of current idle that the target shared library is loaded into Installed System Memory by hard disk.
3. shared library upgrade method as claimed in claim 1, it is characterised in that described to read institute from the target shared library The storage address of function is stated, including:
It is determined that calling the application software of the function;
The target process of the application software is called to travel through the target shared library, wherein, the target process is using described Function performs the process of operation;
When finding the function, function corresponding address in the target shared library is read.
4. shared library upgrade method as claimed in claim 3, it is characterised in that calling the target process of the application software Travel through before the target shared library, methods described also includes:
Monitoring process is called to detect whether the target process performs operation using the function;
When the function, which is not used, in the target process performs operation, the target process of the application software is called described in execution Travel through the operation of the target shared library.
5. shared library upgrade method as claimed in claim 1, it is characterised in that methods described also includes:
The total quantity of function associated by the former shared library of monitoring in real time;
It is described when replace complete all addresses of the functions when, the former shared library is deleted into bag from the Installed System Memory Include:
When the total quantity of the function of former shared place connection is zero, the former shared library is deleted from the Installed System Memory.
6. a kind of shared library update device, it is characterised in that described device includes:
Load-on module, for when detecting the operation of the former shared library of target shared library covering, the target shared library to be loaded To Installed System Memory;
Function in determining module, the former shared library being being currently used for determination;
Read module, the storage address for reading the function from the target shared library;
Replacement module, for replacing the corresponding address of the function pre-seted using the storage address;
Performing module, for replace complete all addresses of the functions when, by the former shared library from the Installed System Memory It is middle to delete.
7. shared library update device as claimed in claim 6, it is characterised in that
The load-on module, Installed System Memory is loaded into specifically for calling monitoring process by the target shared library by hard disk;Or Person, calls the operation process of current idle that the target shared library is loaded into Installed System Memory by hard disk.
8. shared library update device as claimed in claim 6, it is characterised in that
The read module, the application software of the function is called specifically for determination;The target of the application software is called to enter Journey travels through the target shared library, wherein, the target process is the process that operation is performed using the function;And finding During the function, function corresponding address in the target shared library is read.
9. shared library update device as claimed in claim 8, it is characterised in that
The read module, before the target process traversal target shared library of the application software is called, is additionally operable to adjust Detect whether the target process is performing operation using the function with monitoring process;And be not used in the target process When the function performs operation, the target process of the application software is called to travel through the behaviour of the target shared library described in execution Make.
10. shared library update device as claimed in claim 6, it is characterised in that described device also includes monitoring modular, its In,
The monitoring modular, the total quantity for monitoring the function associated by former shared library in real time;
The performing module, is additionally operable to when the total quantity of the function of former shared place connection is zero, by the former shared library from Deleted in the Installed System Memory.
CN201710127929.4A 2017-03-06 2017-03-06 Shared library upgrading method and device Active CN107085514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710127929.4A CN107085514B (en) 2017-03-06 2017-03-06 Shared library upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710127929.4A CN107085514B (en) 2017-03-06 2017-03-06 Shared library upgrading method and device

Publications (2)

Publication Number Publication Date
CN107085514A true CN107085514A (en) 2017-08-22
CN107085514B CN107085514B (en) 2021-02-19

Family

ID=59615023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710127929.4A Active CN107085514B (en) 2017-03-06 2017-03-06 Shared library upgrading method and device

Country Status (1)

Country Link
CN (1) CN107085514B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579192A (en) * 2019-09-30 2021-03-30 北京京东尚科信息技术有限公司 Information processing method, device, system and computer readable storage medium
CN112667285A (en) * 2021-01-25 2021-04-16 青岛海信传媒网络技术有限公司 Application upgrading method, display device and server

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1732458A (en) * 2002-12-23 2006-02-08 摩托罗拉公司 Method and apparatus for shared libraries on mobile devices
US20090259999A1 (en) * 2008-04-11 2009-10-15 Oracle International Corporation Method and system for applying a patch during application execution
CN101702130A (en) * 2009-11-12 2010-05-05 深圳市五巨科技有限公司 Method for loading sharing function library with movable terminal and device thereof
CN101984409A (en) * 2010-11-10 2011-03-09 南京南瑞继保电气有限公司 Method for injecting test codes for Linux system
CN102147743A (en) * 2011-03-28 2011-08-10 博视联(苏州)信息科技有限公司 Method for accelerating startup of embedded system application program
CN103294457A (en) * 2012-02-27 2013-09-11 百度在线网络技术(北京)有限公司 Method and device for dynamically substituting C/C + + function in main program
CN103513995A (en) * 2012-06-18 2014-01-15 联想(北京)有限公司 Control method and electronic equipment
US20140282462A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Dynamic library replacement
US9081896B1 (en) * 2012-03-21 2015-07-14 Amazon Technologies, Inc. Generating a replacement binary for emulation of an application
CN105335203A (en) * 2014-06-30 2016-02-17 华为技术有限公司 Binary translation execution method of shared libraries and device
CN105825087A (en) * 2016-03-16 2016-08-03 福建联迪商用设备有限公司 ELF shared library protection method and system thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1732458A (en) * 2002-12-23 2006-02-08 摩托罗拉公司 Method and apparatus for shared libraries on mobile devices
US20090259999A1 (en) * 2008-04-11 2009-10-15 Oracle International Corporation Method and system for applying a patch during application execution
CN101702130A (en) * 2009-11-12 2010-05-05 深圳市五巨科技有限公司 Method for loading sharing function library with movable terminal and device thereof
CN101984409A (en) * 2010-11-10 2011-03-09 南京南瑞继保电气有限公司 Method for injecting test codes for Linux system
CN102147743A (en) * 2011-03-28 2011-08-10 博视联(苏州)信息科技有限公司 Method for accelerating startup of embedded system application program
CN103294457A (en) * 2012-02-27 2013-09-11 百度在线网络技术(北京)有限公司 Method and device for dynamically substituting C/C + + function in main program
US9081896B1 (en) * 2012-03-21 2015-07-14 Amazon Technologies, Inc. Generating a replacement binary for emulation of an application
CN103513995A (en) * 2012-06-18 2014-01-15 联想(北京)有限公司 Control method and electronic equipment
US20140282462A1 (en) * 2013-03-15 2014-09-18 International Business Machines Corporation Dynamic library replacement
CN105335203A (en) * 2014-06-30 2016-02-17 华为技术有限公司 Binary translation execution method of shared libraries and device
CN105825087A (en) * 2016-03-16 2016-08-03 福建联迪商用设备有限公司 ELF shared library protection method and system thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高海彬; 王清阳; 裴海龙: ""数控软件系统的升级及实时控制性能的测试"", 《计算机工程与设计》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579192A (en) * 2019-09-30 2021-03-30 北京京东尚科信息技术有限公司 Information processing method, device, system and computer readable storage medium
CN112667285A (en) * 2021-01-25 2021-04-16 青岛海信传媒网络技术有限公司 Application upgrading method, display device and server
CN112667285B (en) * 2021-01-25 2023-11-03 Vidaa(荷兰)国际控股有限公司 Application upgrading method, display device and server

Also Published As

Publication number Publication date
CN107085514B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
US20060218545A1 (en) Server system and online software update method
RU2498394C2 (en) Synchronisation of life cycles of virtual machine and application
CN109491698B (en) System updating method and device based on hot patch
CN111610989B (en) Application publishing/updating method and system for offline container cloud environment
CN108196940B (en) Method for deleting container and related equipment
CN108255708B (en) Method, device, storage medium and equipment for accessing production file in test environment
CN106789741A (en) The consuming method and device of message queue
CN107911741A (en) Free memory method for improving, smart television and computer-readable recording medium
CN108829420A (en) A kind of distributed memory system method for upgrading software based on RPM packet
CN107085514A (en) Shared library upgrade method and device
CN106512397A (en) Data loading method for game server and game server
CN101877655A (en) Network management system, network management server and method
CN104881241A (en) Swap operation implementation method and apparatus
US6336215B1 (en) Apparatus and method for on-line code only replacement of a running program using checkpoints
CN110019083A (en) Storage method, device, electronic equipment and the storage medium of distributed file system
CN112667711B (en) MySQL read-only instance management method, system and computer readable medium
CN108388440A (en) A kind of method that web application systems automatically update
CN103713911B (en) A kind of single version upgrade method and device
CN116775086A (en) Partition upgrading method and related device of android device
US11630656B2 (en) Communication device and information processing method
KR101461319B1 (en) Methods and device for upgrading firmware of set-top box
US6205581B1 (en) Method for replace-block loading in a multiprocessor system
CN115080309A (en) Data backup system, method, storage medium, and electronic device
CN114443102A (en) Gray level switching method and device for transaction upgrading
CN114168261A (en) OpenStack-based high availability method and device for managing bare metal instances

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