Anti-piracy encryption method for static library files in embedded system

An embedded system and encryption method technology, which is applied in the direction of program/content distribution protection, instruments, electronic digital data processing, etc., can solve the problems of not being able to guarantee the use of library files within the legal scope, insufficient protection methods, and deciphering, so as to reduce deciphering and the risk of misappropriation, increasing difficulty, and the effect of guaranteeing rights and interests

Inactive Publication Date: 2017-02-01
T CHIP ELECTRONICS TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method only protects the ownership of the source code. If the other party is not interested in the implementation method, but only to obtain the implementation result for other purposes, then this protection method will inevitably be beyond its reach.
[0004] At present, there are very few methods for encrypting stat...

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
  • Anti-piracy encryption method for static library files in embedded system
  • Anti-piracy encryption method for static library files in embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The scheme of this application is further described in conjunction with the accompanying drawings as follows:

[0027] See attached figure 1 , an anti-piracy encryption method for static library files in an embedded system. The implementation of encryption requires a soft encryption program of the embedded system and a matching encryption IC (integrated circuit integrated circuit), which specifically includes the following steps:

[0028] S01. The embedded system starts and connects to the encryption IC to generate random numbers N1 and N2;

[0029] SO2, the soft encryption program of the embedded system obtains the random numbers N1 and N2, and encrypts another random number with any random number as a key to generate encryption result 1; similarly, the encryption IC obtains the random numbers N1 and N2 N2, perform the same encryption operation to generate encryption result two, and feed back the encryption result two to the embedded system;

[0030] S03. The embedde...

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 proposes an anti-piracy encryption method for static library files in an embedded system. The method specifically comprises the following steps that the embedded system is started and connected with an encryption IC, and random numbers N1 and N2 are generated; a soft encryption program of the embedded system obtains the random numbers N1 and N2, and encrypts the other random number by taking any one random number as a key to generate an encryption result I; likewise, the encryption IC obtains the random numbers N1 and N2, executes the same encryption operation to generate an encryption result II, and feeds back the encryption result II to the embedded system; the embedded system compares the encryption result I obtained in the step S02 with the encryption result II, and if the encryption result I is consistent with the encryption result II, the system runs normally; and if the encryption result is inconsistent with the encryption result II, the system does not make a response. According to the method, the usage range of the library files is limited by adopting means of double authentication of random number encryption, hardware encryption IC and library file software encryption, so that the risk of decoding and embezzling the library files is greatly lowered.

Description

technical field [0001] The invention relates to an anti-piracy encryption method for static library files in an embedded system. Background technique [0002] In computer development, to implement a function, programmers must first write source code files (.c and .h files, the file language is a computer programming language and can be read) to control the computer and realize certain functions. After compiling with gcc (GNUCompiler Collection, a compilation suite supporting multiple programming languages), many object files (.o) will be obtained, which contain the implementation code of the program function (binary machine code, not capable of reading sex), and finally get the executable file after linking. [0003] In this process, in order to protect the code written by the creator, the object file (.o) file compiled by the gcc tool that needs to be packaged can be packaged into a static link library (.a file), so that only the .h index needs to be provided The header f...

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): G06F21/12
CPCG06F21/123
Inventor 黄其勇江德智蔡小勋宋建峰林佳操
Owner T CHIP ELECTRONICS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products