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

10 results about "Type checking" patented technology

Type checking is a program analysis that verifies something about the types that are used in the program. In the strictest sense, the sense found in programming language analysis conferences, the analysis verifies (when it is successful) that the analyzed program will not have type errors when it executes (i.e. it will be TypeSafe).

Automatic verification method and system for power distribution station project file

The invention relates to an automatic verification method and system for a power distribution station project file, and the method comprises the following steps: deep analysis of multi-modal information: receiving design assets of a power project of a power distribution station, carrying out the multi-modal structured analysis, and generating structured design data; performing rigidity specification verification: inputting the structured design data into a rule engine, executing rigidity specification verification in combination with rule terms, and outputting a first type of verification result; prediction-reasoning evaluation: performing risk prediction and optimization reasoning on the structured design assets based on a large language model to obtain a second type of evaluation result; and intelligent report generation: fusing the first type of verification result and the second type of evaluation result, and automatically generating a visual review report. Compared with the prior art, the system has the advantages of intelligent examination and the like.
Owner:STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO

Hardware description language code generation system based on TypeScript

The invention provides a hardware description language code generation system based on TypeScript, comprising a configuration conversion unit, a type verification unit, a parameter calculation unit, an intermediate representation construction unit and a code generation unit, through a type system of TypeScript, type inconformity can be effectively captured in a coding stage, illegal configuration with parameter type inconformity is effectively intercepted, and the code generation efficiency is improved. Therefore, the design error risk and the later debugging cost are reduced; meanwhile, based on the object-oriented characteristic of the TypeScript, the target hardware description language code with the structured hierarchy can be generated, so that the readability of the target hardware description language code is high, and then the maintainability and development efficiency of hardware design are improved.
Owner:BEIJING AIJIE KEXIN TECHNOLOGY CO LTD

Fortran program parallel optimization method based on intelligent dependency analysis

The invention discloses a Fortran program parallel optimization method based on intelligent dependency analysis. The method comprises the following steps: firstly, constructing a parallel optimization system consisting of a loop extraction module, a loop nested relation analysis module, a semantic analysis module, an intelligent dependency analysis engine, a variable classification module and an instruction generation and injection module; the loop extraction module analyzes a nested relation and a variable action range of loops; the loop nesting relation analysis module determines a nesting relation between loops; the semantic analysis module constructs a row-level data access view; the variable classification module identifies private variables and reduction variables; the intelligent dependency analysis engine executes loop type check, I / O operation check and data dependency check; and the instruction generation and injection module generates a parallelization instruction and inserts the parallelization instruction into the source code to obtain a parallelized program source code. The method can solve the problems that an existing parallelization method is low in cyclic dependency relation recognition accuracy and safety, and parallelization errors cannot be accurately recognized.
Owner:NAT UNIV OF DEFENSE TECH

An intelligent Scala code generation method and system based on artificial intelligence

The application provides an intelligent Scala code generation method and system based on artificial intelligence, which comprises the following steps: obtaining a user natural language requirement description, performing semantic understanding and information extraction, extracting function, input and output type and constraint condition to form standardized technical elements, and mapping to a Scala syntax and programming paradigm to generate a requirement semantic vector; performing static analysis on a project code library, extracting code structure, dependency relationship and coding style, constructing a multi-level context knowledge graph, and obtaining a context vector through a graph neural network and an attention mechanism; fusing the two types of vectors to generate a joint vector, relying on a pre-trained Scala code generation model to generate a code framework and core code, generating and optimizing a candidate scheme through a beam search algorithm, and determining an optimal code scheme; performing formatting, type checking, performance optimization and test verification on the optimal code scheme, automatically generating document annotations, and obtaining a final perfect code. The application realizes perfect balance between performance and reliability.
Owner:BEIJING YULORE INNOVATION TECH

A low-code device information digital twin model creation method

The present application relates to the technical field of digital twinning, in particular to a low-code device information digital twinning model creation method, which builds a model framework by dragging and dropping predefined input, output and logic processing components from a component library to a canvas, flexibly configures component parameters using a context attribute panel, and establishes data flow between component ports using intuitive graphical connection operations, and performs real-time data type checking to ensure the correctness of the connection. Finally, by configuring the address binding of I / O components with external controllers or data sources, and supporting real-time data monitoring and input forced assignment during the simulation stage, a device information model is constructed that is complete in function and can directly interact with the real control system for data verification. The traditional code writing work is transformed into visual configuration and connection operation, greatly reducing the technical threshold and development workload, enabling domain experts to quickly build, modify and debug models without deep programming background.
Owner:CIVIL AVIATION LOGISTICS TECH

Database operation statement generation method and device and computer equipment

PendingCN122086912ASimplify learning and development costsPower digital transformationSpecial data processing applicationsCode compilationTable (database)Digital transformation
This invention provides a method, apparatus, and computer device for generating database operation statements. By using a chained approach to call application programming interfaces (APIs) to generate input instructions, it simplifies the learning and development process for developers. By passing the fields required by the APIs called by the input instructions through method references, it achieves compile-time type checking, avoiding runtime exceptions caused by spelling errors or table structure changes. By generating ORM-compatible database operation statements from the input instructions based on the mapping relationship between entity classes and the database, it eliminates the need for inheriting specific classes, configuring numerous annotations, or generating auxiliary classes, enabling seamless integration into existing application systems. This invention addresses the pain points of traditional SQL generation tools, such as complex syntax, high code invasiveness, high integration costs, and steep learning curves, providing developers with an efficient, secure, and flexible solution for dynamically constructing database operation statements, thus supporting enterprise digital transformation.
Owner:KANGCHENG INVESTMENT CHINA

Verification method and system for anti-quantum cryptography hybrid programming language program

The invention relates to an anti-quantum cryptography hybrid programming language program verification method and an anti-quantum cryptography hybrid programming language program verification system. The method comprises the following steps: inputting a password protocol program to be verified in Rocq based on a hybrid programming language; subprograms in the cryptographic protocol program are modeled in a formalized mode through a module system, and classic program behaviors and quantum program behaviors in the cryptographic protocol program are described based on a unified grammar framework of a hybrid programming language; performing type checking and grammar checking on a program written based on a unified grammar framework and a module system; generating semantics of the program according to grammar for the program passing the check; protocol properties needing to be proved are described in a formalized mode according to grammar; establishing an inference rule based on program rewriting on the basis of grammar; and carrying out interactive certification on the formally described protocol property in the Rocq by using a certification strategy of the Rocq. According to the method, the security of the complex password protocol can be completely and accurately described and automatically verified, and the verification reliability and efficiency are remarkably improved.
Owner:INST OF SOFTWARE - CHINESE ACAD OF SCI

Dynamic form automatic mapping method and system for multi-modal data

PendingCN122633682AData packLinguistic model
The application discloses a kind of dynamic form automatic mapping methods and systems for multi-modal data.The method comprises: obtaining multi-modal original data and target dynamic form unit information;The multi-modal original data is preprocessed to obtain structured intermediate data;For form field dynamically generating structured prompt word template;Structured intermediate data and prompt word template are input into large language model, and structured data segment containing field value, confidence and source position is obtained;The output JSON Schema matched with form structure is constructed, and the data segment is organized as standard JSON data package;After the field value in JSON data package is matched by semantics, type checking and logical constraint, it is automatically filled into the corresponding control of form, and the automatic mapping of multi-modal data to dynamic form is completed.By the present application, multi-modal original data can be automatically mapped, filled and configured to any dynamic form with high precision, which greatly improves data entry efficiency and reduces error rate.
Owner:SHANGHAI RENXUN TECHNOLOGY CO LTD

Dynamic language grammar extension and type description method based on prefer block

This invention discloses a method for dynamic language syntax extension and type description based on Prefer blocks. The method includes: performing lexical and syntactic analysis on the dynamic language source code containing Prefer blocks to construct an abstract syntax tree (AST) containing Prefer nodes; parsing the Prefer nodes in the AST to extract type constraint information declared in the Prefer blocks; associating the type constraint information with the corresponding function and variable nodes in the AST to obtain an associated syntax tree; and performing type checking and code generation on the dynamic language source code based on the associated syntax tree to obtain a bytecode file. By setting non-intrusive Prefer blocks and describing type constraints using syntax classes, type information is introduced into the dynamic language without modifying the core syntax or intruding on business logic code, thus solving the problems of tight coupling, poor extensibility, and strong intrusion between the type description mechanism and the core syntax.
Owner:GUANGZHOU YUNBIAO NETWORK TECH CO LTD

Java language LINQ expression implementation method based on chain call

The application is suitable for the field of computer programming and provides a Java language LINQ expression implementation method based on chain calling, which comprises the following steps: providing a LinqQuery interface, the LinqQuery interface defines a chain operator where operator and select, and type safety is provided through a generic T; a user generates an operator tree through calling the chain operator of the LinqQuery interface, the operator tree is used for recording query logic; the operator tree is parsed, query is executed in layers, and a result set is returned; the application has the beneficial effects that compared with traditional loop and conditional branch implementation, the number of code lines is reduced by about 40%, the readability is significantly improved, through an open operator interface, a developer can easily extend query functions, through generic constraints, type checking of query logic is completed at the compilation stage, runtime errors are reduced, and unified query of various scenes such as memory collection, database query and file reading is supported.
Owner:GUANGZHOU JUNBO NETWORK TECH INC