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

Data processing method and processing core

A data processing and processing core technology, applied in the computer field, can solve problems such as large circuit resource overhead, high hardware cost consumption, and difficulty in meeting the needs of massive data computing scenarios, and achieve the goal of reducing circuit area and circuit area overhead Effect

Active Publication Date: 2021-11-09
HUAKONG TSINGJIAO INFORMATION SCI BEIJING LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The modular multiplication operation and modular exponentiation operation of large integers require multiple iterative operations, and the calculation cost is high. If the calculation is performed directly through software, the calculation efficiency is difficult to meet the needs of massive data calculation scenarios.
If the calculation is performed by hardware circuits, since the modular multiplication operation and the modular exponentiation operation are separate modules, the overall circuit area will be the sum of the circuit area of ​​each operation unit, resulting in a large overhead of circuit resources, which not only consumes a lot of hardware costs, but also Computational performance affecting privacy computing systems

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
  • Data processing method and processing core
  • Data processing method and processing core
  • Data processing method and processing core

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0054] method embodiment

[0055] refer to figure 1 , shows a flow chart of the steps of an embodiment of a data processing method of the present invention, the method is applied to a processing core in a chip, and the processing core includes the following modules: a state machine, a Montgomery computing unit, and a multiplexer , the method may specifically include the following steps:

[0056] Step 101, receiving a calculation instruction, the calc...

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 embodiment of the invention provides a data processing method and a processing core. The method comprises the steps of receiving a calculation instruction, wherein the calculation instruction carries input data and a calculation type, and the calculation type comprises a modular multiplication type or a modular exponentiation type; according to the calculation type, determining a state sequence of a state machine, each state in the state sequence corresponding to a preset operation step; switching the state of the state machine according to the state sequence, outputting a first control signal to a corresponding multiplexer in each state of the state machine so as to control calculation data input into a Montgomery calculation unit through the multiplexer in each state, and executing operation steps corresponding to all the states based on the calculation data by the Montgomery calculation unit, wherein the calculation data comprises input data and / or an intermediate result obtained in a previous state; and after the operation step corresponding to the last state of the state sequence is executed, obtaining a calculation result of the calculation instruction. According to the embodiment of the invention, on the basis of reducing the circuit area overhead, the speed and concurrency of modular operation can be improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a data processing method and a processing core. Background technique [0002] Security and privacy computing uses cryptographic protocols based on semi-homomorphic or homomorphic encryption protocols for ciphertext calculation and transmission of big data. The modular multiplication operation and modular exponentiation operation of large integers are the basic operation units for realizing semi-homomorphic and homomorphic encryption algorithms. In addition, in a typical semi-homomorphic and homomorphic algorithm, there are usually both modular multiplication and modular exponentiation. Therefore, the underlying implementation of the algorithm needs to support both the modular multiplication of large integers and the modular exponentiation of large integers. [0003] Modular multiplication and modular exponentiation of large integers require multiple iterative operations, and t...

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): G06F7/72
CPCG06F7/722G06F7/723
Inventor 王雪强李艺
Owner HUAKONG TSINGJIAO INFORMATION SCI BEIJING 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