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

7 results about "Makefile" patented technology

A makefile is a file (by default named "Makefile") containing a set of directives used by a make build automation tool to generate a target/goal.

Method for automatically generating Binder communication SDK (Software Development Kit) of Android system

The invention relates to the technical field of computer software, in particular to a method for automatically generating an Android system Binder communication SDK (Software Development Kit), which comprises the following steps: defining an AIDL interface source file and compiling to generate a JAR packet; defining an interface configuration JSON file; executing a pre-generation program, and creating an annotation mark Java file; integrating the annotation processor and compiling to generate a final SDK file, wherein the generation process of the final SDK file comprises the following steps: registering and triggering the annotation processor, analyzing the annotation, analyzing an AIDL interface method, constructing a code model and generating the SDK file; and using the generated SDK file. The technical problems that in existing Android application development, due to the fact that Binder communication bottom layer template codes are manually written, the development efficiency is low, the codes are redundant and prone to errors, and unified maintenance is difficult are solved, and normalization and consistency of communication codes among multiple services are fundamentally guaranteed.
Owner:CHINA FAW CO LTD +1

An antlr4-based code generator design method

The application relates to an ANTLR4-based code generator design method and belongs to the field of code generation. The application generates a lexical analyzer and a syntax analyzer corresponding to an IDL syntax rule file; an IDL file is pretreated, the pretreated IDL file is generated into a syntax analysis tree through the lexical analyzer and the syntax analyzer, and the syntax analysis tree is further generated into structured data; a public interface file for generating C / C++, JAVA files is defined; the C / C++, JAVA public interface file reads a project template file, and structured data in the template file is replaced with structured data in step S2 to generate C / C++, JAVA project files. The application realizes the application of cross-platform and cross-language data distribution services.
Owner:BEIJING INST OF COMP TECH & APPL

Method of generating a file, method of configuring a page and device

This disclosure provides a method for generating files, a method for configuring pages, an apparatus, a device, a storage medium, and a program product, relating to the field of computer technology, and particularly to the field of client-side technology. The method for generating files includes: determining a layout file and logical information of a page; generating a target Java class based on the layout file and logical information; and generating a target executable file based on the target Java class. The method for configuring pages includes: obtaining a target executable file corresponding to a target page; generating a class instance of the target Java class based on the target executable file; and configuring the layout and logic of the target page based on the class instance.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

A rule-driven power control system configuration parameter version management method

The application discloses a rule-driven power control system configuration parameter version management method in the technical field of power automation and industrial software, which comprises the following steps: constructing a first version snapshot based on a first structured parameter document and a first configuration file set; grouping and aligning the structured parameter documents in the first version snapshot and pre-constructed historical version snapshots according to node feature keys to generate object-level difference results and attribute-level difference results; performing file-level comparison on the configuration file sets in the first version snapshot and the pre-constructed historical version snapshots to generate file-level difference results; and summarizing the object-level difference results, the attribute-level difference results and the file-level difference results to output unified difference results corresponding to the first version snapshot and the historical version snapshots. The application can alleviate the technical problems of the prior art, such as scattered parameter sources, version solidification relying on manual operation, and difficulty in unified comparison of object structure changes and file changes, thereby affecting the management efficiency.
Owner:NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD

Method and device for quickly establishing post-simulation environment of digital chip and simulation method and device

The invention discloses a method and a device for quickly establishing a post-simulation environment of a digital chip and a simulation method and device. The method comprises the following steps of: establishing a basic file structure; putting a script to be executed in the basic file structure, creating a shortcut key of the script to be executed, and determining a hierarchical structure of a moduleA folder in the basic file structure; the method comprises the following steps of: searching a related file in a fixed directory tree through a script to be executed, generating a file list netlist.f file, and distinguishing an SDF (Software Definition Function) anti-standard command through macro definition to obtain an anti-standard file; according to the key word sdrange and the anti-standard file, the anti-standard content of the testbench file is updated; the method comprises the following steps: accessing a makefile through a script to be executed, extracting case information, and generating a rear imitation folder vcsend in combination with the extracted information; simulation is carried out based on the post-simulation folder, the simulation result is analyzed, and the simulation report is generated, so that one-button post-simulation environment automatic construction is realized, and the efficiency and accuracy of post-simulation process construction are improved.
Owner:纳能微电子(成都)股份有限公司

Method and device for re-implementing function interface emulation function, equipment and storage medium

This application discloses a method, apparatus, device, and storage medium for reimplementing a function interface simulation function. The method includes: generating C language source code files for each basic software interface function based on a preset controller function interface specification, wherein the C language source code files include a first source file and a first header file; processing the first source file and the first header file to generate a first S-Function source file, a first executable file, and a first code generation file for each basic software interface function; optimizing and modifying the first source file and the first header file to generate a simulation executable file suitable for model-in-the-loop simulation; and based on the simulation executable file, encapsulating the S-Function module in the Simulink library and configuring the module parameter dialog box of the S-Function module to expose and receive simulation input data defined by the user for the output parameters. Therefore, by adopting the embodiments of this application, the generation of random values ​​can be fundamentally eliminated, ensuring the feasibility and reliability of model-in-the-loop simulation.
Owner:WEICHAI POWER CO LTD

Model homomorphic transformation method oriented to test demand formalized simulation

The invention discloses a model homomorphic transformation method for test demand formalized simulation, and belongs to the technical field of computer modeling and simulation. The problem that the consistency of a designed system model and a generated FMU file is poor in an existing system modeling and simulation method is solved. According to the method, in the process of generating the FMU file, through unified process definition, system model construction, JSON data, python code generation, code optimization and pythonfmu library tool packaging are conducted to form a complete tool chain of the FMU file, setting consistency is guaranteed, one-key type FMU file automatic generation is achieved, intermediate links are reduced, and efficiency and accuracy are improved. The method and the device are mainly used in the automatic generation of the FMU file and the simulation test.
Owner:HARBIN ENG UNIV +1