Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software module updating method and apparatus

A software module and update method technology, applied in the information field, can solve problems such as inability to realize hot update of software modules

Active Publication Date: 2015-09-09
ZHUHAI BAOQU TECH CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the host process needs to be restarted, the hot update of the software module cannot be realized

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software module updating method and apparatus
  • Software module updating method and apparatus
  • Software module updating method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0034] figure 1 It is a schematic flowchart of a method for updating a software module proposed in an embodiment of the present invention, and the method includes:

[0035] S11: Perform serialization processing on multiple access requests of the loaded software modules to obtain a serialized request queue, wherein the multiple access requests include an update request for...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a software module updating method and apparatus. The software module updating method comprises steps of: performing serialization processing on a plurality of access requests for a loaded software module to obtain a serialized request queue, wherein the plurality of access requests comprise an update request used to instruct the software module to perform updating; a single thread successively reading the access requests from the serialized request queue; and when a read access request is the update request, the single thread unloading the software module and reloading the updated software module. The method can implement hot updating of software modules.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a method and device for updating software modules. Background technique [0002] The software design will modularize the functions, and different functions are realized by different modules, so that the coupling between the modules is reduced and the probability of errors is reduced. When the software is running, the host process loads the software module into the memory, and calls the functions of the software module. The software module update is to reload the new version of the software module to replace the old version of the software module. [0003] The hot update of the software module refers to completing the update of the software module without restarting the host process. [0004] In the prior art, multiple threads may exist in the host process to access the loaded software module at the same time. In order to ensure safe uninstallation, when the software module...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445
Inventor 刘欢杨振辉
Owner ZHUHAI BAOQU TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products