Unlock instant, AI-driven research and patent intelligence for your innovation.

An Embedded Software Update Method Based on Code Similarity Preservation

A technology of embedded software and update method, which is applied in the direction of program loading/starting, program control device, etc., and can solve the problems of high energy consumption and inapplicability of wireless transmission

Active Publication Date: 2017-01-04
ZHEJIANG UNIV
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, some existing methods are not suitable for resource-constrained wireless sensor networks because too much data is sent to the wireless network, resulting in excessive wireless transmission energy consumption.

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
  • An Embedded Software Update Method Based on Code Similarity Preservation
  • An Embedded Software Update Method Based on Code Similarity Preservation
  • An Embedded Software Update Method Based on Code Similarity Preservation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] In order to make the technical problems and beneficial effects solved by the present invention clearer, the following in conjunction with the appended picture and Examples further describe the present invention in detail. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0016] The following combination figure 1 , 2 , the present invention will be described in detail with specific embodiments.

[0017] The code similarity protection technology is mainly to eliminate the reduction of code similarity caused by the reference address offset caused by code update, increase the similarity between the new version and the old version of the code, so that the difference algorithm can find more common code segments, Generate smaller delta files.

[0018] address space generation bits through the new version code picture segment picture Each bit represents the address ...

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 an embedded software updating method based on code similarity keeping. The method comprises the following steps: generating a bitmap segment according to the address space of a new version code, or representing that an instruction of a corresponding address in the new version code comprises a quote by '1' in the bitmap segment and representing that an instruction of a corresponding address in the new version code does not comprise a quote by '0' in the bitmap segment, or representing that an instruction of a corresponding address in the new version code comprises a quote by '0' in the bitmap segment and representing that an instruction of a corresponding address in the new version code does not comprise a quote by '1' in the bitmap segment; generating a new version locating table by using all quoted target addresses in the new version code, and replacing each quoted target address in the new version code by a corresponding index of the quoted target address in the new version locating table to generate a code segment, wherein each quoted target address has a unique quote in the new version locating table.

Description

technical field [0001] The invention belongs to the field of wireless ad hoc networks and resource-limited sensor networks, and relates to an embedded software updating method, which is used for updating programs in the wireless sensor network in real time. Background technique [0002] With the increasing maturity of communication, sensor manufacturing, and embedded computing, large-scale wireless sensor network technology has developed rapidly and has been widely used in many fields such as environment, national defense, disaster relief, and urban management. A typical wireless sensor network is composed of a large number of miniature sensor nodes, which can be rapidly deployed in harsh and dangerous environments, and form a network through wireless self-organization, which is not limited by the existing wired network infrastructure. Sensing data is gathered to the data processing center through multi-hop relay through wireless communication. Wireless sensor networks enab...

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): G06F9/44G06F9/445
Inventor 董玮卜佳俊陈纯王永刚莫璧源
Owner ZHEJIANG UNIV