Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

3 results about "Logical Function" patented technology

The OR function is a basic logical function that is used to compare any two statements or values. If you’re familiar with any kind of programming language, you have most probably used it before.

High-availability and high-performance formula execution method based on analysis-free

The invention belongs to the technical field of industrial dynamic formula execution, and discloses an analysis-free high-availability and high-performance formula execution method. The method comprises the following steps: S1, formula extraction and function body construction: receiving a calculation formula input by a user, and taking the calculation formula as a function body core calculation logic; s2, function packaging: adding a function head and a return value statement for a function body, and constructing a complete function definition character string; wherein the function head comprises a function name and a parameter list; and S3, function persistence and dynamic import execution: writing a function character string into an independent Python module file, and calling and executing through a dynamic import mechanism. According to the method, function packaging is adopted, the repeated lexical analysis and grammar analysis process which must be carried out when a traditional event () method is executed each time is eliminated, and the problems that a formula is forcibly required to only comprise functions of input parameters, calculation expressions and return values, and the bottleneck of industrial real-time application and the fragility of a whole framework are solved.
Owner:HUANENG POWER INT INC DALIAN POWER PLANT

Method and device for converting CUDA C language into Triton language and medium

The invention discloses a method and equipment for converting a CUDA C language into a Triton language and a medium, and relates to the technical field of electric digital data processing. The method comprises the following steps: analyzing a CUDA C code so as to decompose the CUDA C code into a plurality of lexical units; constructing an abstract syntax tree corresponding to the lexical unit; performing semantic analysis on the abstract syntax tree to determine a keyword corresponding to each node in the abstract syntax tree; determining a mapping mode corresponding to the CUDA C code according to the logic function of the CUDA C code, and loading a mapping rule between a CUDA C language and a Triton language based on the mapping mode; extracting the meaning of a target key element corresponding to the keyword through a mapping rule, and performing equivalent mapping on the keyword according to the meaning of the target key element so as to convert the CUDA C code into a Triton code of which the meaning of the corresponding keyword is the same as the meaning of the target key element; and carrying out performance test on the Triton code, and determining whether the Triton code keeps functional equivalence with the CUDA C code or not according to an obtained test result.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Program modularization method, device, equipment, storage medium and computer program product

The application discloses a program modularization method and device, equipment, a storage medium and a computer program product, and relates to the technical field of computers. The method comprises the following steps: generating a code dynamic library based on to-be-modularized Go code and a programming language type corresponding to the to-be-modularized Go code; determining whether a function name identical to a target function name corresponding to a to-be-executed logic function exists in a global logic function table in the code dynamic library; if the function name exists, determining a target internal logic function based on the target function name; and calling and executing a target programming language type corresponding to the target internal logic function in the code dynamic library. By applying the technical solution, the technical problem that, in the prior art, a Go plugin mechanism is used to realize Go language program modularization, and the program needs to be compiled by using specific parameters, thereby resulting in low independence and flexibility of the program is solved.
Owner:BEIJING HONGTENG INTELLIGENT TECH CO LTD