Source code compiling method and ciphertext calculation instruction code executing method and device
By identifying and determining specified strings in the ciphertext computation source code through instruction set compilation methods, and compiling them into ciphertext computation instruction codes, the problem of low compilation and execution efficiency of ciphertext computation source code is solved, achieving efficient ciphertext computation that is applicable to various ciphertext computation engines.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAKONG TSINGJIAO INFORMATION SCI BEIJING LTD
- Filing Date
- 2022-11-15
- Publication Date
- 2026-07-17
AI Technical Summary
Among existing multi-party secure computation technologies, the compilation and execution efficiency of encrypted computation source code is relatively low, making it difficult to efficiently share and compute data while protecting privacy information.
It adopts an instruction set compilation method to identify the specified strings in the ciphertext calculation source code, and determines the corresponding instructions according to the instruction set, compiling them into ciphertext calculation instruction codes, including in-place calculation, unary calculation, binary calculation, ternary calculation, positional operation and memory operation instructions, supporting operand types such as Clabel and MemoryData, and is suitable for different ciphertext calculation engines.
It improves the compilation and execution efficiency of ciphertext computation source code, simplifies the programming process, reduces statement analysis, eliminates variable coupling, improves code optimization efficiency, and supports the execution of multiple ciphertext computation engines.
Smart Images

Figure CN115794109B_ABST