A method, system, device, and medium for algorithmic selection
By utilizing race condition mechanisms and mutex lock selection algorithms in the field of encryption machines, the problems of complexity in the selection of encryption and decryption algorithms and instability caused by environmental differences in existing technologies are solved, and the optimal algorithm selection and execution in real-world environments are achieved.
CN114968606BActive Publication Date: 2026-07-03INSPUR SUZHOU INTELLIGENT TECH CO LTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2022-05-30
- Publication Date
- 2026-07-03
Smart Images

Figure CN114968606B_ABST
Abstract
This invention relates to the field of encryption machines and discloses a method, system, device, and medium for algorithm optimization. The method includes: creating a mutex lock and a function pointer to an algorithm, and creating corresponding threads based on different implementations of the algorithm; starting the threads and executing the algorithm implementation corresponding to each thread; preempting the mutex lock according to the execution sequence; obtaining the thread that has locked the mutex lock and is pointed to by the function pointer, thereby obtaining the optimal implementation of the algorithm. This disclosed method facilitates the selection of the optimal algorithm in the current execution environment, and therefore allows for dynamic selection of the algorithm implementation according to actual needs, making it more flexible in use and operation.
Need to check novelty before this filing date? Find Prior Art