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

A Coexistence Method of Multi-Version Programs in Embedded Software

An embedded software and multi-version technology, applied in the embedded field, can solve the problem that the upgrade version information cannot be updated.

Active Publication Date: 2021-07-20
NINGBO SANXING MEDICAL & ELECTRIC CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The coexistence method of multi-version programs of embedded software can not only solve the problem that version information cannot be updated for field upgrade of embedded software, but also can obtain different version information of embedded software for object code without compiling object code multiple times and the corresponding function

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
  • A Coexistence Method of Multi-Version Programs in Embedded Software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0021] Such as figure 1 As shown, the coexistence method of embedded software multi-version programs in this embodiment includes the following steps 1 to 5:

[0022] Step 1, store different version information for the same embedded software at the end of the object code in advance;

[0023] Step 2, reserve storage space in the embedded software to store the version information of each version of the embedded software and the function classification information corresponding to each version of the embedded software; wherein, in this embodiment, the reserved storage artifact here size is 1k;

[0024] For the same embedded software, there are usually multiple versions, and each version has corresponding version information and function information corresponding to the version; the function information of each version of embedded software is gen...

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 relates to a coexistence method of multi-version programs of embedded software, by storing different version information for the embedded software at the end of the target code in advance; Version information and function classification information; use the target code maintenance tool to change the target code of the embedded software to realize the change of each version information of the embedded software; before production or on-site upgrade of the embedded software, determine the version information of the embedded software and pass the target The code maintenance tool changes the target code of the embedded software so that the target code has version information and / or function classification information; when the external program starts, it reads the version information of the embedded software and uses the version information during the running of the external program Running the corresponding functions of the embedded software realizes that different version information and corresponding functions of the embedded software can be obtained without compiling multiple times for the target code.

Description

technical field [0001] The invention relates to the embedded field, in particular to a method for coexistence of embedded software multi-version programs. Background technique [0002] Existing power low-voltage acquisition terminals mostly use systems such as Linux and Unix, but in order to meet the requirements of cost reduction and production technology, some manufacturers still use single-chip microcomputer programs in order to improve product competitiveness. In order to meet the working needs of the existing low-voltage power collection terminals, embedded software is usually built into the low-voltage power collection terminals. For embedded software, generally one program corresponds to one product; for different versions of the same embedded software, it is usually necessary to compile multiple object codes, that is, each version corresponds to an object code, and different versions of the same embedded software have different functions. This increases the difficul...

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 Patents(China)
IPC IPC(8): G06F8/71
CPCG06F8/71
Inventor 冯丹荣王培慧
Owner NINGBO SANXING MEDICAL & ELECTRIC 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