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

23 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.

Manufacturing method of installation package and related device

The invention discloses a manufacturing method of an installation package and a related device, and relates to the technical field of software engineering. Comprising the steps that a target MakeFile is created, and other instruction items, except for an install instruction item and a unstall instruction item, in the target MakeFile are all empty; obtaining a target compressed package corresponding to the target software; based on the target MakeFile and the target compressed package, constructing an initial project; adding a management script of the target package in the initial project to obtain a target project; and based on the target project, generating a target installation package corresponding to the Kylin Linux operating system. The manufacturing method of the installation package does not depend on source code reconstruction, a large amount of workload for compiling and maintaining complete Makefile in a traditional scheme is omitted, the packaging period is greatly shortened, and meanwhile the compatibility and integrity of the installation package are guaranteed.
Owner:BEIJING GLOBAL CROWN JINYANG TECH DEV CO LTD

Fast test disablement for pull request and continuous integration workflows

A data processing system implements after determining that a test in a target branch of a code repository starts failing, receiving a pull request (PR) onto the target branch and blocking the PR (invoking a build policy and a test policy); after determining that the failing test in the target branch is disabled, tracking the disabled test in a disabled test file; in response to a request to requeue the test policy, determining whether artifact in the build policy is identical with artifact in the test policy; when not identical, fetching all versions of the file within a time period, generating a union content of all versions of the file, and applying the requeued test policy using the union content, the time period being between a start time of the build policy and a start time of the requeued test policy; and unblocking the PR.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Excel file exporting method and system based on Java language

The invention discloses an Excel file exporting method and system based on Java language, and relates to the technical field of computer software development, and the implementation of the method comprises the following steps: receiving an exporting request: the system receives the exporting request of a user through a Web interface or a graphical interface; analyzing template configuration: loading and analyzing an Excel export template specified by a user by a system; data binding and style rendering: the system binds a data set obtained from a database, a cache or other data sources with a template, and performs style rendering according to template configuration; an Excel file is generated, specifically, according to the export format selected by the user, the system calls an Apache POI library to create a Workbook object, and rendered data is written into a worksheet; and returning or storing the file. According to the method, the format and the content of the Excel file can be exported in a self-defined mode according to the configuration information of the user, the development efficiency is improved, and the expandability of the system is enhanced.
Owner:天元大数据信用管理有限公司

Automatic construction and publishing method based on UE5

The invention relates to the technical field of software development, in particular to a UE5-based automatic construction and release method, which comprises the following steps of: 1, constructing a development environment and preparing an automatic tool chain; 2, code management and automatic script construction; step 3, CI / CD tool configuration: configuring an SSH key to connect with a remote server, and realizing automatic deployment; 4, generating Pak file compression resources, and packaging scenes in batches by using a tool; and 5, performing multi-environment deployment, monitoring and feedback. According to the method, through establishment of a development environment and preparation of an automatic tool chain, Visual Studio 2022 + and a corresponding workload are installed, and a UE5 project path and a Windows SDK are configured; the method has the advantages that a version control system is configured, it is ensured that a code warehouse is associated with a UE5 project, Python 3. X and a dependency library are installed, an SSH secret key is configured to be connected with a remote server, automatic deployment is achieved, and therefore the method has the advantages that the publishing efficiency is remarkably improved, and human errors are reduced.
Owner:CHINESE PEOPLES LIBERATION ARMY UNIT 63610

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

Embedded code compiling test method and device, equipment and storage medium

The invention discloses an embedded code compiling test method, device and equipment and a storage medium, and relates to the technical field of embedded testing, and the embedded code compiling test method comprises the steps that a target IO address space corresponding to a to-be-tested target embedded application and corresponding target memory area information located on a nonvolatile memory are determined from an embedded system; generating a Makefile and a link script based on the target memory area information, and determining a target virtual address space corresponding to the target IO address space in a preset non-embedded system; the target IO address space is mapped into the target virtual address space, so that a preset non-embedded system can access the target IO address space, and in the preset non-embedded system, a Makefile and a link script are utilized to perform compiling testing on a to-be-tested embedded code corresponding to the to-be-tested target embedded application. Therefore, according to the method and the device, the embedded code can be effectively operated in the Windows system.
Owner:AVIC (CHENGDU) UAS CO LTD

RTOS-based multi-application development method and apparatus

An RTOS-based, (Real-Time Operating System-based) multi-application development method and apparatus are provided. The method comprises: compiling and packaging an AWTK, (Toolkit Any Where) engine, a Jerryscript engine, and .c files through a GNU, (Gnu's Not Unix) compiler suite to generate a system.bin file; compiling and packaging xml files, js (JavaScript) files, and image files required by multiple applications through the AWTK engine to generate a fat.img containing the multiple applications; and burning the fat.img containing the multiple applications and the system.bin file into a POS (point of sale) machine with an RTOS. The Jerryscript engine and the AWTK engine support the development of JS language, then resource data (data) are generated from all images, XML (describing image elements and coordinates), and JS files used in the development of APPS, and finally, the resource data are compiled by GCC, (GNU Compiler Collection) to generate an APP.bin, thereby achieving multi-application development.
Owner:SHENZHEN TOPWISE COMM CO LTD

Fast test disablement for pull request and continuous integration workflows

A data processing system implements after determining that a test in a target branch of a code repository starts failing, receiving a pull request (PR) onto the target branch and blocking the PR (invoking a build policy and a test policy); after determining that the failing test in the target branch is disabled, tracking the disabled test in a disabled test file; in response to a request to requeue the test policy, determining whether artifact in the build policy is identical with artifact in the test policy; when not identical, fetching all versions of the file within a time period, generating a union content of all versions of the file, and applying the requeued test policy using the union content, the time period being between a start time of the build policy and a start time of the requeued test policy; and unblocking the PR.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

RISC-V soft core development method compatible with Xilinx tool chain

The invention discloses an RISC-V soft core development method compatible with a Xilinx tool chain, and relates to the field of integrated circuit design and development, and the method comprises the steps: carrying out the preprocessing of an RISC-V soft core file in a Vivado development environment according to a Microblaze V soft core specification, obtaining a compatible soft core meeting an XSA standard, importing the compatible soft core into the Vivado development environment, and generating an XSA file in combination with a business demand, according to the method, firstly, a soft core BSP can be automatically generated for software development by utilizing a Vitis development environment, the traditional BSP and SDK development can be skipped, an application software construction link is directly entered, and the method deeply excavates and strengthens the compatibility with a Sailing platform, so that the deployment of the soft core design based on the RISC-V architecture on a Sailing FPGA is smoother, and the development efficiency is improved. The development efficiency and the product quality are obviously improved.
Owner:WUXI ESIONTECH CO LTD

Generation method of time sequence library and power grid library based on Python script

The invention relates to integrated circuit design, in particular to a Python script-based time sequence library and power grid library generation method, the Python script generates a Verilog file according to a module interface information statistical table, the Verilog file is used as an input file of a static time sequence analysis tool PrimeTime, and meanwhile, a Tcl script required by operation of the static time sequence analysis tool PrimeTime and a library compiler Library Compiler is automatically generated; the Python script calls a static time sequence analysis tool PrimeTime, the Tcl script is executed, and a time sequence library Timing Library is automatically generated; according to the time sequence library Timing Library and the power related information in the module interface information statistical table, the Python script is started according to the time sequence library Timing Library and the power related information in the module interface information statistical table; according to the technical scheme provided by the invention, the defect that the time sequence library and the power grid library are difficult to accurately and efficiently generate can be effectively overcome.
Owner:XINSIYUAN MICROELECTRONICS CO LTD

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

Firmware loading method, device and system based on ko file, equipment and medium

The invention discloses a firmware loading method, device, system and equipment based on a ko file and a medium, and belongs to the technical field of firmware, the method is suitable for a LINUX system with multiple cores, and the method comprises the steps that a burning configuration file and a kernel drive code of a target core are obtained respectively, the target core is a non-starting core in a plurality of cores of the LINUX system; mixing the burning configuration file and the kernel drive code to generate a ko file; and loading the ko file to the target core. According to the method, the non-started target core is burnt through the ko file, the core does not need to be restarted in the whole process, the processing time consumption can be shortened, the code development efficiency is improved, meanwhile, the ko file is generated, codes can be prevented from being stolen and decompiled, and the system safety is improved.
Owner:SOUTHERN POWER GRID DIGITAL GRID RESEARCH INSTITUTE 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 system for automatically generating micro-service calling SDK (Software Development Kit) based on GitLab warehouse code

The invention relates to the field of SDK development, and discloses a method and system for automatically generating a micro-service calling SDK based on a GitLab warehouse code, and the method comprises the steps: firstly, submitting a micro-service site code to a GitLab warehouse; after the micro-service site code is submitted to a GitLab warehouse, automatically triggering a script, analyzing the micro-service site code by the script, and generating an SDK (Software Development Kit); according to the code structure of the micro-service site code, finding a version directory defined by a storage interface; analyzing the PHP file through a script, finding out a defined API method, and extracting the name of the API method; generating contents of SDK related files according to the extracted interface metadata; the updated SDK site code is submitted to a GitLab warehouse, and generation and version management of the SDK are completed; the problems that an existing SDK development mode is low in efficiency, version synchronization lags behind, and automatic generation and version management of the SDK are achieved by analyzing a code structure in a GitLab warehouse, automatically analyzing interface metadata and generating an SDK file are solved.
Owner:CAIXUETANG EDUCATION CULTURE MEDIA CHENGDU CO LTD

Assembly line automatic patch making method and system based on low-code SDK (Software Development Kit)

The invention relates to the technical field of low-code application development and continuous integration / continuous deployment, and provides an assembly line automatic patch making method and system based on a low-code SDK (Software Development Kit). The method comprises the steps that an SDK tool is adopted, a specified project is compiled, and a metadata file is obtained; compiling the metadata file under the specified project, and packaging to generate a corresponding metadata packet; extracting a deliverable in the metadata packet; generating a pom file according to maven dependency in a specified project; pushing the pom file, the metadata packet and the jar packet in the deliverable to a specified product warehouse according to the version number of the specified project; and obtaining changes of the configuration files of the two version branches through the assembly line, pulling the products of the corresponding versions from the product warehouse, packaging the pulled products according to the path structure, and generating an incremental patch file. According to the invention, the working efficiency is obviously improved, and the possibility of human errors is reduced.
Owner:INSPUR GENERSOFT 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

A verification method for flexibly selecting modes based on an SSD master control chip

ActiveCN115481034BError detection/correctionAlgorithmMakefile
A verification method for flexibly selecting modes based on an SSD main control chip. By writing a makefile to pass in compilation parameters and simulation parameters, flexibly select test modes by assigning values to multiple parameters, determine whether to call Python in the makefile to randomize the parameter based on the parameter value, count the number of test modes that can exist in combinations of different variable values, perform logical arithmetic assignment by calling the expr function in the makefile according to multiple directed or randomized parameter values, and modify the corresponding code at multiple positions in the verification platform where the makefile needs to pass in variable values. It saves verification manpower, greatly improves verification efficiency, and speeds up the R & D process.
Owner:SHANDONG SINOCHIP SEMICON CO LTD

Dynamic business rule engine execution method and device, equipment and storage medium

The invention discloses a dynamic business rule engine execution method and device, equipment and a storage medium. The method comprises the following steps: receiving a business rule expression submitted by a user; converting the business rule expression into an intermediate expression form; generating an intermediate language code from the intermediate representation form through a namespace, and compiling the intermediate language code into a DLL file; the DLL file is loaded into a memory, and a corresponding execution instance is cached; and calling the execution instance in the cache to execute the rule logic based on the input business data, and returning an execution result. According to the method, the rule expression is directly compiled into the IL code by adopting the Emit technology, and the DLL file is generated, so that the extra overhead of interpretive execution or script calling is avoided, the rule execution efficiency is close to the original compiled code, and the performance in a high-concurrency scene is remarkably improved. And secondly, an intermediate representation form is constructed and a strong type is generated, so that the rule logic is ensured to finish type verification in a compiling stage, and type errors during operation are reduced.
Owner:SHENZHEN KINGSUN SCIENCE & TECHNOLOGY 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

Interface testing method and device, computer equipment and storage medium

The invention provides an interface testing method and device, computer equipment and a storage medium. The method comprises the steps that if it is detected that a new code package exists in a Git warehouse, a test task is constructed in Jenkins, and parameterization construction is conducted according to a preset rule; copying the new code package to a test server, and installing and deploying a test server environment; parameterized variables are transmitted in the Jenkins, and a Jmeter test script is executed to generate a jtl file; wherein the parameterized variable comprises at least one of a URL address, a PORT address, a name of each module, a test version, a script label type and a result comparison version number; calling a preset rule in the jenkins to analyze the jtl file to generate analysis data, comparing the analysis data with historical data to generate a difference result, and generating an html report file according to the difference result and the jtl file; and sending the jtl file and the html report file to the target user. According to the interface testing method disclosed by the invention, the full-automatic testing purpose of customizing and selecting the running script can be realized.
Owner:XIAN WANXIANG ELECTRONICS TECH CO LTD

Update data packaging method, device, equipment and storage medium

The present application relates to the field of development management technology, and provides a packaging method for updating data, packaging resource files, generating Java files, wherein the resource files include data to be updated stored in the application file; obtaining corresponding class files based on the search path of the Java files in a preset directory; generating dex files from the class files, and packaging the dex files to obtain APK files, wherein the APK files include: a variable APK file package and a fixed APK file package, and the variable APK files include: an original variable APK file package and a new variable APK file package; signing the APK files, packaging the signed APK files, and storing them in a designated file directory. This method can greatly save developers' time in data processing. During the packaging process, since data processing is automatically completed by the program, data errors caused by developers' misoperations or omissions are avoided, and the error rate of developers' data processing is reduced.
Owner:PINGAN INT SMART CITY TECH CO LTD