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

2 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

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

PendingCN122173129Aaddress independenceaddress flexibilityResource allocationVersion controlSoftware engineeringModularity
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