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

Method and device for processing data in embedded system

An embedded system and data processing technology, applied in the field of cryptography, can solve the problem of long time-consuming data processing

Active Publication Date: 2014-06-04
BEIJING HONGSI ELECTRONICS TECH
View PDF5 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 data processing method and device in an embedded system, which is used to solve the problem of long time-consuming data processing 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
  • Method and device for processing data in embedded system
  • Method and device for processing data in embedded system
  • Method and device for processing data in embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0091] Embodiment 1 discloses a data processing method in an embedded system, see figure 1 ,Specific steps are as follows:

[0092] Step 101: receiving the first data to be processed and the second data to be processed, judging whether the second data to be processed is an odd number, if so, perform step 102, otherwise end the operation;

[0093] Step 102: judge whether the bit length of the first data to be processed is greater than the bit length of the second data to be processed, if yes, execute step 103, otherwise end the operation;

[0094] Step 103: generating a first parameter according to the second data to be processed, starting from the lowest bit, dividing the first data to be processed according to the bit length of the second data to be processed, and sequentially obtaining a plurality of data units;

[0095] Specifically, the first parameter is a result calculated with the base 2 and the bit length of the second data to be processed as a power;

[0096]Prefera...

Embodiment 2

[0130] Embodiment 2 discloses a data processing method in an embedded system. In the embedded system, the first storage area is preset to store the dividend, the second storage area is used to store the divisor, and the third storage area is used to The operation result is stored, and the operation times variable is preset, and the initial value of the operation times variable is 0. see figure 2 ,Specific steps are as follows:

[0131] Step 201: the embedded system receives the third data to be processed and the fourth data to be processed;

[0132] Specifically, the bit length of the third data to be processed is the first bit length, and the bit length of the fourth data to be processed is the second bit length;

[0133] Preferably, in this embodiment, the first bit length and the second bit length are integer multiples of 8, the third data to be processed is stored in the first storage area, and the fourth data to be processed stored in the second storage area;

[0134...

Embodiment 3

[0160] Embodiment 3 discloses a data processing method in an embedded system. In the embedded system, the fifth storage area is preset to store the dividend, the sixth storage area is used to store the divisor, and the seventh storage area is used to store the divisor. The operation result is stored, and the capacity of the fifth storage area is twice the capacity of the sixth storage area. see image 3 ,Specific steps are as follows:

[0161]Step 301: the embedded system receives the fifth data to be processed and the sixth data to be processed;

[0162] Specifically, the bit length of the fifth data to be processed is the third bit length, the bit length of the sixth data to be processed is the fourth bit length, and the third bit length and the fourth bit length are 8 Integer multiples of , and the third bit length is greater than the fourth bit length;

[0163] The fifth data to be processed is stored in a fifth storage area, and the sixth data to be processed is stored...

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 method and a device for processing data in an embedded system, wherein the method comprises the following steps: acquiring first to-be-processed data and second to-be-processed data; generating a plurality of data segments with a bit length equal to a second bit length according to the first to-be-processed data; according to the second to-be-processed data and the second bit length, respectively carrying out processing on all high-bit data segments so as to obtain data segment processing results respectively corresponding to each high-bit data segment, and according to the data segment processing results, the second to-be-processed data and the lowest-bit data segment, generating a data processing result; or, according to the data segment processing results, the second bit length and the lowest-bit data segment, sequentially processing each high-bit data segment and the data segment processing result corresponding to the high-bit data segment so as to obtain a data processing result. By using the technical scheme in the invention, the time for data processing can be effectively reduced, and the speed for data processing can be improved.

Description

technical field [0001] The invention relates to the field of cryptography, in particular to a data processing method and device in an embedded system. Background technique [0002] The operation of large numbers involves many fields and has a wide range of applications. Large number operations are not only used in cryptography, but also in physics, biology, chemistry and other subjects. Large number operations mean that the values ​​and calculation results usually involved in the operation are integer operations between hundreds of digits, thousands of digits, and greater lengths. For example, the value of pi is well known to everyone. In general numerical calculations, the use of pi does not require too high precision, but when calculating the volume or area of ​​some planets or galaxies, the error appears to be large, which requires The accuracy of π value calculation reaches several million digits or even higher, so as to reduce the error. The efficiency of manual calcu...

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): G06F7/72
Inventor 陆舟于华章
Owner BEIJING HONGSI ELECTRONICS TECH