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

724results about "Code compilation" patented technology

Method and related device for code analysis

The application provides a code analysis method and related equipment. The method comprises the following steps: a server acquires identity information of a change file and a position of a changed code block in the change file, wherein the changed code block is located in a terminal of a distributed system, and the distributed system comprises a plurality of terminals for providing code writing; the server determines a base version of the change file according to the identity information of the change file; and further, according to the position of the changed code block in the change file, the server determines whether the base version of the change file comprises a target code block overlapping with the position of the changed code block, and if the base version comprises the target code block, the server gives a warning to at least one terminal in the distributed system. The above method can give a warning in time under the condition that the changed code block is determined to be modified. In this way, in the process of collaborative development, a developer can know the modification condition of the code in time, so as to determine whether the modified code will affect the program written by the developer.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Policy scheduling method and system, electronic device and storage medium

This application provides a strategy scheduling method, system, electronic device, and storage medium that combines method-level strategy encapsulation with pre-compiled execution, relating to the fields of software architecture and runtime scheduling optimization. The method encapsulates multiple strategy methods with the same predefined commonalities within each strategy category using a small number of methods, changing "class-level" encapsulation to "method-level" encapsulation to reduce the number of strategy classes at the source. It optimizes calls by replacing traditional reflection calls with pre-compiled execution handles and constructs a hierarchical concurrent caching structure, designing a concurrent index layer and a hotspot caching layer. High-frequency strategies are directly retrieved from the hotspot caching layer, and all strategies are distributed across the two caching layers to reduce hash collisions. A hotspot update mechanism maintains the caching of high-frequency strategies in the hotspot caching layer, improving retrieval and scheduling efficiency under high concurrency. Compared to traditional class-level strategy implementation schemes, this method achieves significant performance and resource optimization in scenarios with a large number of strategies and high concurrency scheduling.
Owner:CHENGDU CHENGDIAN YIXING DIGITAL HEALTH SOFTWARE CO LTD

Software development kit compilation method and apparatus

PendingCN122111436AReduce risk of leakageAvoid direct exposureProgram documentationCode compilationSoftware engineeringCore component
The application discloses a software development package compiling method and device, and relates to the technical field of computers. A specific implementation of the method comprises the following steps: performing encapsulation based on a second programming language on a first type of module of any core component in a software development package, extracting a header file of the first type of module and a header file of a second type of module after the encapsulation to generate a common umbrella header file of the core component; and after compiling core component source code and upper layer component source code in the software development package into an executable file, processing the common umbrella header file of any core component in the software development package, so that the common umbrella header file only contains declaration content configured in advance for the core component. The implementation can effectively reduce the risk of core code leakage.
Owner:BEIJING WODONG TIANJUN INFORMATION TECH CO LTD

Development environment device, device control method, and non-transitory computer-readable storage medium

A development environment device includes a memory in which a program is stored, and a processor coupled to the memory and configured to perform processing by executing the program. The processing includes determining whether a first waiting period is equal to or longer than a predetermined first period, the first waiting period being a period from transmission of a change instruction for a reception frequency of the tuner to the device environment until reception of a change completion response to the change instruction from the device environment, when the first waiting period is shorter than the first period, sequentially performing transmission and reception with the device environment for a plurality of checks, and when the first waiting period is equal to or longer than the first period, omitting transmission and reception during the plurality of checks, and performing transmission and reception with the device environment for a last check.
Owner:PANASONIC AUTOMOTIVE SYST CO LTD

Application programming interface (API) governance method, apparatus, device, and program product

The present disclosure provides an application programming interface (API) governance method, device, equipment and program product, and relates to the technical field of software development. The API governance method comprises: generating a target API based on a data configuration request, the target API being used to provide a data query service corresponding to the data configuration request; generating a permission identifier corresponding to an application request of the target API in response to the application request; the application request at least comprising a first request party identifier and a target API identifier corresponding to the target API, the permission identifier being used to mark the calling permission of the target API of a first request party with the first request party identifier; verifying based on the permission identifier in response to a calling request of the target API, the calling request at least comprising the target API identifier and the permission identifier, and providing the data query service based on the target API after the verification is passed. The whole process management of the API from generation, permission application to calling can be realized.
Owner:SHANGHAI HODE INFORMATION TECH CO LTD

An intelligent parameterized UI generation system and method for professional analysis software

The application provides an intelligent parameterized UI generation system and method suitable for professional analysis software, receives UI requirements in the form of natural language or pictures through a user interaction layer, analyzes the requirements by an AI intelligent processing layer, and automatically generates an initial configuration file containing components, styles and logic in combination with a domain knowledge base and a reference style. A user can adjust and analyze the configuration file through a configuration editing and analyzing layer. A parameterized UI generation layer dynamically constructs UI components with tree hierarchical relationships based on the analyzed structured data, automatically configures interaction logic, data binding and professional field processing, realizes two-way synchronization of GUI and backend data, and finally outputs an interactive interface by a UI rendering layer. The application changes highly customized and fragmented UI development into an automated and standardized generation process, greatly improves development efficiency, guarantees the consistency of interface style and operation logic, significantly reduces maintenance cost, and enhances the flexibility of software function expansion.
Owner:粤港澳大湾区(广东)国创中心

A method for decoupling a Linux operating system image from peripheral device drivers

The application relates to the technical field of driving updating, and discloses a method for decoupling a Linux operating system image and peripheral driving, which comprises the following steps: S1, acquiring a basic image and a new version of driving; S2, storing a ko file and a software package of the new version of driving into an external driving warehouse; S3, connecting a storage medium of the external driving warehouse to a device; S4, mounting the external driving warehouse to the device; if the mounting is successful, a hidden file is newly created in the external driving warehouse, and step S5 is executed; if the mounting is not successful, original driving is loaded, and step S6 is executed; S5, judging the new version of driving and the original driving; if the new version of driving exists, the new version of driving is loaded, driving information is stored into the hidden file, and step S6 is executed; if the new version of driving does not exist, the original driving is loaded, and step S6 is executed; S6, installing an operating system; and S7, installing the new version of driving.
Owner:KYLIN CORP

Self-contained mobile application processing and integration

A developer's application (app) is compiled and linked to a first processing environment associated with a cloud / server. Metadata is created to define the source code for the app, source code used with the app from the first processing environment, and settings for the app and the first processing environment. The metadata is stored on cloud / server location associated with a link. Optionally, the link is published to message threads / boards and / or a task of a workflow. A user of a mobile device provides the link / code within the context of a mobile app of the mobile device. The mobile app obtains the metadata using the link from the location and instantiates a container / shell that is provided the metadata. The container / shell configures as a self-contained instance of the developer's app within a second and self-contained processing environment and the self-contained instance is executed within a user interface window of the mobile app.
Owner:CARET HOLDINGS INC

AI-based software pipeline transformation

A data processing system implements receiving a definition of a software pipeline in an entry point file and referenced templates; dividing the definition of the software pipeline into a pipeline definition skeleton and tasks which definitions included in the definition of the software pipeline; determining each of the tasks as allowed or disallowed according to an output template, and applying a code-driven or AI-driven function to modify any disallowed task into converted / allowed task(s); constructing a first prompt by appending the allowed task and the converted / allowed task(s) to a first instruction string including instructions to a generative model to re-arrange the allowed task and the converted / allowed task(s) into a new definition of the software pipeline; providing the first prompt to the generative model and receiving the new definition of the software pipeline from the generative model; and delivering the new definition of the software pipeline to a user device.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Methods, devices, and media for converting markdown to notion api applicable structs

The application discloses a method, device and medium for converting Markdown into a Notion API applicable structure, and relates to the technical field of data conversion, and comprises the following steps: obtaining a Markdown text string, calling a parser to parse the Markdown text string, and generating a list of mark objects, each mark object having a type identifier; initializing a converter factory, the converter factory maintaining a plurality of conversion processors; inputting the mark objects in the list of mark objects into the converter factory in sequence, and matching a corresponding target conversion processor according to the type identifier of the current mark object through the converter factory; passing the current mark object to the target conversion processor, and generating at least one block structure conforming to a Notion API specification through the target conversion processor; storing the generated block structure into a block structure set; and outputting the block structure set as a list of Notion API applicable structures after completing the processing of all mark objects. The application can effectively convert Markdown text into a Notion API applicable structure.
Owner:深圳市和讯华谷信息技术有限公司

Method for computing data dependence relationship in program, and computer readable storage medium

The present disclosure relates to a method for computing data dependence relationships in a program and a computer readable storage medium, which are applied to a computing apparatus. The computing apparatus is included in an integrated circuit apparatus. The integrated circuit apparatus includes a general interconnection interface and other processing apparatus. The computing apparatus interacts with other processing apparatus to jointly complete a computing operation specified by a user. The integrated circuit apparatus further includes a storage apparatus. The storage apparatus is connected to the computing apparatus and other processing apparatus, respectively. The storage apparatus is used for data storage of the computing apparatus and other processing apparatus.
Owner:CAMBRICON (XIAN) SEMICON CO LTD

A method and system for describing page structure through JavaScript objects

The application relates to a method and system for describing a page structure through a JavaScript object, and the method comprises the following steps: constructing a Schema structure for describing a page layout through a JavaScript Object, each node in the Schema structure being provided with a type field, a life cycle hook burying point and a business capability burying point; constructing a layout container component, constructing context information and an EventBus instance which need to be passed in the layout container component; parsing the Schema structure through the layout container component, rendering a component of a corresponding type according to the type field in the Schema structure; inheriting the context information and the EventBus instance of the layout container component for the rendered component; and executing the life cycle hook burying point and the business capability burying point in the Schema structure on the component which has inherited the context information and the EventBus instance. Compared with the prior art, the application can highly centralize the management of codes such as the structure, behavior and style of a page, does not need to pay attention to how the page is laid out and the style of each component, and avoids most redundant work.
Owner:SHANGHAI DEFINESYS INFORMATION TECH CO LTD

Cross-natural language code retrieval model training method, cross-natural language code retrieval method, device, equipment and medium

The application discloses a cross-natural language code retrieval model training method, a cross-natural language code retrieval method, a device, equipment and a medium, and relates to the technical field of artificial intelligence and software engineering. The cross-natural language code retrieval model training method comprises the following steps: obtaining an original corpus database, and constructing training data according to the original corpus database; performing confusion and inversion on main language codes to obtain main language code samples, wherein the main language code samples comprise main language code positive samples and main language code negative samples; and training an initial model through a gradient inversion layer according to the training data and the main language code samples to obtain a target model. According to the application, the natural language-specific "fingerprint" features in the codes can be removed, the embedding space alignment direction can be unified, the sampling distribution deviation in the training process can be reduced, and the consistency and generalization capability of cross-language code retrieval can be improved.
Owner:GUANGDONG-HONG KONG-MACAO GREATER BAY AREA DIGITAL ECONOMY RESEARCH INSTITUTE (INTERNATIONAL ADVANCED TECHNOLOGY APPLICATION PROMOTION CENTER (SHENZHEN)

A rule generation method based on Vue

This invention relates to the field of thread pool resource scheduling technology, and particularly to a Vue-based rule generation method. This Vue-based rule generation method uses Vue combined with the Element component to develop a rule generator; it generates fixed rules and rapidly expandable rules through the rule generator, provides custom rule editing, and supports any type of rule configuration; it parses the generated rule expressions, updates the view, and populates form input boxes. This Vue-based rule generation method transforms the originally complex Cron rule syntax into an intuitive operation, allowing ordinary non-technical personnel to manage scheduled tasks safely and efficiently without mastering Cron rule syntax, truly realizing an agile operation model where business needs directly drive technical execution.
Owner:INSPUR SOFTWARE CO LTD

Supply chain finance-oriented management platform system and non-sensing upgrading method thereof

The application discloses a management platform system for supply chain finance and a non-sensing upgrade method thereof, has the effects of local pilot, small flow verification, automatic observation, rapid rollback, and protects the consistency of in-transit instances and the continuity of key transactions. The system comprises: an infrastructure layer, which provides process arrangement, rule and model execution, event driving, configuration management, task compensation, security authentication and full-link observability, supports the non-sensing upgrade core mechanism including multi-version parallel running, shadow verification, gray release and automatic rollback of the upper-layer business, an interaction layer, which provides unified authentication, permission and configurable menu, supports displaying differentiated functions according to organizations / roles, a domain service layer, which is used for encapsulating business logic operations in the platform, coordinating multiple parties to complete cross-entity transactional tasks, and ensuring the consistency and integrity of business rules, and a fund and channel adaptation layer, which abstracts multiple protocols by using a contract / interface definition language, automatically generates basic adapters, and unifies strategies.
Owner:SHANGHAI HUIFU LIANKE INFORMATION TECHNOLOGY CO LTD

Hallucination mitigation techniques for text-to-code conversions

PCT designated stageWO2026135898A1Healthcare managementPatient healthcareEngineeringCode transformation
Various embodiments of the present disclosure provide hallucination mitigation techniques for text-to-code conversions that improves the functionality of a computer in various aspects. The techniques comprise receiving a text-based file that defines a set of standards for a prediction domain; generating, using a machine learning model, a decision tree based on (i) the text-based file and (ii) a decisioning prompt for the text-based file; generating, using the machine learning model, computer programmable code for the set of standards based on the decision tree and a code conversion prompt for the decision tree; and providing the computer programmable code to implement an automated task for the prediction domain.
Owner:OPTUM INC

An API misuse detection and correction method based on feedback mechanism

The application provides an API misuse detection and correction method based on a feedback mechanism, comprising the following steps: 1) collecting an application programming interface (API) correct use dataset and an API misuse dataset, and obtaining a source code collection; 2) after obtaining the API correct use and misuse source code, mining API correct use patterns and API misuse patterns from the source code, thereby generalizing the API use condition; 3) giving the code to be detected, converting the code to an API usage graph (AUG) to be detected, and utilizing a graph distance algorithm to complete the detection of whether API misuse occurs; and 4) after detecting API misuse, providing modification suggestions for the misuse API, thereby facilitating user correction. The method utilizes two opposite datasets, an API project collection and an API misuse code collection, to detect API misuse of the code to be detected from two opposite aspects. The application details the usage of different feedback information, and utilizes user interaction to further improve the accuracy of API misuse detection and API misuse correction.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Hardware-based mixed instruction set architecture scheduler for machine learning accelerator

Systems are generally described for mixed hardware instruction set architecture (ISA) scheduling. An example system includes one or more processors, a first hardware configured to execute instructions from a first ISA, and a second hardware configured to execute instructions from a second ISA. The example system may also be configured to receive a set of computer software instructions comprising a software instruction to apply a neural network operator, compile the set of computer software instructions to produce a set of hardware ISA instructions comprising a first hardware ISA instruction for the first hardware and a second hardware ISA instruction for the second hardware, send the first hardware ISA instruction to the first hardware, and send the second hardware ISA instruction to the second hardware.
Owner:AMAZON TECH INC

A pre-processing method for finite element program generator

The application discloses a preprocessing method for a finite element program generator, which is used for automatically translating and converting a high-level XML format physical problem description file, i.e., an.flc file, written by a user into underlying C language source code and a series of input scripts required by a finite element program generator (FEPG) solver, and specifically includes a parsing mode and a modification mode; and the application can automatically translate a high-level physical problem description into underlying source code and input scripts.
Owner:INST OF ROCK & SOIL MECHANICS CHINESE ACAD OF SCI

A digital test scenario design method based on large model agent cooperation

The application discloses a kind of digital test scenario design methods based on large model intelligent agent cooperation, comprising: the collaborative system is built by design intelligent agent and code generation intelligent agent, and the standardized interaction interface and responsibility boundary of both are established;Receive mixed test requirements containing structured engineering parameters and unstructured natural language description, call domain knowledge base through design intelligent agent based on search enhancement generation technology, complete requirement analysis and parameter completion, generate initial test scenario text;Automatic reasoning matches multidimensional evaluation index set, and generates the final confirmed structured scenario configuration file in combination with man-machine interaction feedback;Through code generation intelligent agent, complete simulation code conversion and compilation verification, based on running feedback reverse correction scenario parameter, form closed loop iteration until verification passes.The application solves the problem that natural language and engineering constraint are split in traditional scenario design, logic self-consistency is insufficient, and evaluation index subjectivity is strong, and realizes the automation of scenario design.
Owner:BEIHANG UNIV

Code generation method and device, electronic equipment and computer readable storage medium

The present disclosure provides a code generation method and device, electronic equipment and computer readable storage medium, relates to the field of computers, in particular to the technical field of source code. The specific implementation scheme is: obtaining a to-be-declared attribute in an attribute of an object in a code segment that meets a preset attribute condition; determining a data type of the to-be-declared attribute based on an attribute name of the to-be-declared attribute; determining first attribute declaration code corresponding to the to-be-declared attribute based on the data type of the to-be-declared attribute, the first attribute declaration code being used to define the data type of the to-be-declared attribute. Based on the present scheme, the attribute declaration code corresponding to the to-be-declared attribute can be automatically determined, which can replace the manual writing of the attribute declaration code, thereby improving the development efficiency.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Method for realizing interoperability of aviation heterogeneous electronic systems

The application provides an aviation heterogeneous electronic system interoperation implementation method, comprising the following steps: step 1, editing an interface control file according to the composition of the heterogeneous electronic system; step 2, combining the interface control file, configuring the interoperation relationship of input messages and output messages, and generating an interoperation information support file; step 3, transmitting the generated interoperation information support file to an on-board memory; and step 4, reading the interoperation information support file in the memory by on-board interoperation software, outputting after message analysis and conversion after receiving the input messages, and realizing the interoperation capability. The aviation heterogeneous electronic system interoperation implementation method provided by the application does not need to modify the on-board interoperation software, and is convenient for quick upgrading in the mode of the interoperation information support file, and is helpful to improve the development and integration efficiency.
Owner:10TH RES INST OF CETC

Hierarchical service change code extraction system and method based on autonomous positioning algorithm

The application relates to a hierarchical business change code extraction system and method based on an autonomous positioning algorithm. The method comprises the following steps: obtaining a business code submission record of a user; obtaining difference data and code file content according to the business code submission record; analyzing the difference data through an autonomous extraction algorithm of key character recognition and / or sequential sliding mark disassembly, and extracting change information, wherein the change information comprises a change method, a change line number and newly added change code; extracting formatting information from the code file, wherein the formatting information comprises package information, import information, method definition and parameter information of a class file; and hierarchically storing the change information and the formatting information to support business change code extraction. The hierarchical business change code extraction system and method based on the autonomous positioning algorithm can realize automatic, structured and high-precision analysis of business code changes, and improve the extraction efficiency after code changes.
Owner:SHANGHAI QIYU INFORMATION TECH CO LTD

A device state analysis method and system based on DSL and dynamic compilation technology

The application discloses a device state analysis method and system based on DSL and dynamic compilation technology, wherein the method comprises the following steps: S1, importing a DSL file of device state parameters; S2, analyzing the DSL file through a T4 text template engine to dynamically generate C# intermediate code; S3, using a Roslyn compiler to dynamically compile to generate an assembly; S4, loading the assembly through reflection to receive a device state byte array data frame; S5, matching a structure type corresponding to the byte array to convert the byte array into a structure instance through memory mapping; S6, calling built-in or extended analysis methods through reflection to convert the structure into a general parameter class object; S7, outputting the instantiated object; and S8, transmitting, displaying or saving the device parameter instantiated object according to actual requirements. The application greatly shortens the analysis rule configuration time; and a new device protocol only needs to write a DSL file, without the need of redeploying the system; in addition, the application supports plug-in extension of custom analysis methods.
Owner:HEFEI ZHONGKE TIANTONG TECHNOLOGY CO LTD