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

Code compiling method and device for system upgrading

A technology of system upgrade and compilation method, which is applied in the field of code compilation method and device for system upgrade, can solve the problems of long time-consuming recompilation, etc., and achieve the effect of solving the long time-consuming centralized compilation, ensuring development efficiency, and avoiding long time-consuming

Pending Publication Date: 2022-04-12
RUIJIE NETWORKS CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a code compilation method and device for system upgrade to solve the problem of long time-consuming recompilation of all components existing in the system upgrade in the prior art

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
  • Code compiling method and device for system upgrading
  • Code compiling method and device for system upgrading
  • Code compiling method and device for system upgrading

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Aiming at the problem of time-consuming recompilation of all components existing in the system upgrade in the prior art, the code compilation method for system upgrade provided by the embodiment of the present invention is to perform real-time time-sharing compilation of the components, and replace and Packaging, to achieve the purpose of quickly generating system image upgrade packages. The flow process of the inventive method is as figure 1 As shown, the execution steps are as follows:

[0051] Step 101, when it is detected that a new code is put into storage, identify the first component corresponding to the code;

[0052] When a new code is submitted and put into the library after passing the review, the code change will be identified, and the component corresponding to the code will be identified according to the corresponding relationship between the code and the component. For the convenience of expression, this component is called the first component.

[0053]...

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 invention discloses a code compiling method and device for system upgrade, and the method comprises the steps: recognizing a first component corresponding to a code when detecting that a new code is stored; performing component compiling on the first component and a second component depending on the first component based on a baseline mirror image package stored by a system to obtain a software deb package; the baseline mirror image package comprises compiling information required by component compiling; and when a packaging instruction input by a user is received, updating the deb packet to the baseline mirror image packet, and packaging based on the updated baseline mirror image packet to obtain a new system mirror image upgrading bin packet. According to the embodiment of the invention, time-sharing component compiling can be realized, the problem of long time consumption of centralized compiling is solved, component compiling is carried out in real time while codes are updated, and deb package replacement and mirror image package manufacturing are carried out after a packaging instruction is received, so that the problem of long time consumption of recompiling all components is avoided, and the development efficiency of a project is ensured.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a code compiling method and device for system upgrade. Background technique [0002] The current Linux embedded operating system mostly adopts the development method of componentization (that is, each module has an independent software deb package). The function of the system is composed of many components. Composition, different products are combined by selecting different components and packaged together to form a complete system image upgrade package bin package, which contains the complete system functions of a product, and end users can use this bin package to upgrade the device. [0003] Because the bin package contains a lot of functions, that is, there are a lot of components that need to be compiled, so it takes several hours to compile them in order each time to generate and compile them, and finally package them into a system image upgrade package, compi...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65G06F8/71G06F8/41
Inventor 李伟滨
Owner RUIJIE NETWORKS 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