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

139results about "Transformation of program code" patented technology

Discovery platform for modernization of legacy program code

Methods and systems for improving modernization of legacy software using an intelligent discovery platform are described herein. A client-based agent may generate metadata regarding the received legacy software. The code metadata may be analyzed by a code classifier module, which computes a plurality of score factors from the metrics from the legacy software metadata using a knowledge base from a modernization platform. The classified code metadata may be used by a project-specific model to derive a plurality of sub-scores based on the plurality of score factors associated with the legacy software. An analytics engine may then identify a code module from the legacy software having a greatest derived vulnerability score factor. A graphical interface including reconstructed code, corresponding modern code, and an explanation of vulnerabilities may then be generated by the analytics and reporting component for the identified code module.
Owner:IONATE INC

XML semantic editing system and method based on aviation knowledge graph

The invention belongs to the field of Web application technology, XML document processing technology and online editor technology, and discloses an XML semantic editing system based on an aviation knowledge graph. The system comprises a front-end application module, an XML processing engine module, a DTD rule verification module, a visual editing module, a plug-in extension module, a collaborative editing module and an aviation knowledge graph integration module. According to the method, professional and efficient editing of XML documents in the aviation field is achieved through the full-process design of front-end interaction, XML processing, DTD verification, visual editing, semantic assistance and collaborative management, and the Web technology, the XML processing technology, the DTD verification technology, the knowledge graph technology and the collaborative editing technology are integrated, so that the XML documents in the aviation field are edited in a professional and efficient mode. The problems that an existing XML editing tool is difficult to deploy, poor in compliance, low in efficiency and weak in cooperation in the aviation maintenance field are solved, and a specialized and efficient XML semantic editing scheme is provided for the aviation maintenance industry.
Owner:WUHAN YIFAN IOT TECHNOLOGY CO LTD

Programming language migration operation method and device

The invention relates to a programming language migration operation method and device, an M language function can be recognized from M language script codes and converted into a Python function, in addition, for other codes with complex M language grammar forms, the other codes can be uniformly mapped and converted into the Python function, and through the functions of context and the like in the Python function, the programming language migration operation can be achieved. Different functions are implemented or different processing logics are executed for different types. The realization difficulty is greatly reduced, complex functions can be quickly realized, and the M language can be effectively operated without depending on a core library of Matlab.
Owner:CHANGSHA KELIANG TECH CO LTD

Automatic test case generation method, system and equipment for Web component and medium

The invention relates to the technical field of Web component testing, in particular to an automatic test case generation method, system and device for a Web component and a medium, and the method comprises the following steps: extracting a front-end frame type and code features to which the Web component belongs, constructing a visual state transition network, and constructing a unified data flow diagram; based on the code features, the visual state transition network and the unified data flow diagram, semantic reasoning is carried out by utilizing a large language model to generate a test path combination, and a minimum complete test case set is generated by applying a combination test algorithm; generating a composite assertion logic; frame type conversion is executed, and the minimum complete test case set and the composite assertion logic are converted into test codes capable of being executed by a front-end frame type; the test code is executed, and the minimum complete test case set and the composite assertion logic are updated and circulated based on Web component change or test failure in the execution process. According to the method and the device, the Web component automatic test which is high in accuracy, cross-frame adaptive and capable of realizing continuous self-healing can be realized.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

General purpose command system and interface for a live broadcast

A GPI device includes a communication port for receiving a GPI signal from a first device, one or more processors; and a memory comprising program instructions. The program instructions, when executed by the one or more processors, cause the GPI device to assign a command to the GPI signal when the GPI device receives the GPI signal from the first device and transmit the command to a second device. The transmission of the command may be triggered by the received GPI signal. The command may include a script, such as a python script. The command may also include triggering transmission of a live broadcast, switching between graphics during the live broadcast, or a combination thereof.
Owner:PGA TOUR ENTERPRISES LLC

A general service method and system applied to a satellite platform

The application discloses a general service method and system applied to a satellite platform and belongs to the field of remote sensing / communication satellite platforms, and solves the technical problems that in the prior art, due to the need of new load access for new adaptability development and test work, a long development cycle is caused, and under the condition that test is not comprehensive, there is a risk of load service failure, and maintenance is difficult. Step 1, a general service template table is constructed; step 2, after the general service template table is filled in, the general service template table is converted into satellite on-service instructions; and step 3, a general service program is designed and is used for executing the satellite on-service instructions. The application is used for realizing the general service method without special customization development for different loads.
Owner:CHANGGUANG SATELLITE TECH CO LTD

Updating method and device of front-end framework, equipment and storage medium

The invention relates to a front-end framework updating method and device, equipment and a storage medium. The method is applied to a Vue framework. Comprising the following steps: determining an ecological dependency packet from dependency data packets according to a preset recursive relationship among the dependency data packets in a Vue framework; the dependency data packet represents a data packet of a project application in the Vue framework, and the ecological dependency packet represents a dependency data packet belonging to the Vue framework; if the ecological dependency package meets a preset condition, generating a first AST of the ecological dependency package according to a source code file of the first framework; the first framework represents a Vue framework before updating, the first AST represents an abstract syntax tree of the ecological dependency packet in the first framework, and the source code file comprises code information corresponding to each dependency data packet; according to the first AST of the ecological dependency package, obtaining code information of the ecological dependency package in a second framework; the second framework represents the updated Vue framework; and determining a source code file of the second framework according to the code information of each ecological dependency package in the second framework.
Owner:CHONGQING CHANGAN AUTOMOBILE CO LTD

Power grid analysis program code migration method and system based on large model

The invention relates to a power grid analysis program code migration method and system based on a large model, and belongs to the technical field of software development and intellectualization. The method comprises the steps that preprocessing of structuralization, semantization and information density optimization is conducted on MATLAB source codes, and standardized codes are generated; disambiguation anchor point cue words are constructed based on a power grid calculation scene, wherein the disambiguation anchor point cue words comprise index, operation and return value mapping rules and examples; the standardized codes and the cue words are input into a large model, four-layer semantic alignment migration is conducted by the large model according to the sequence of an algorithm layer, a data layer, a control layer and a calculation layer, verification logic is executed after migration of each layer to ensure semantic alignment, and Python codes are obtained; and finally, verifying the migration code and iteratively optimizing the cue word until the core index is consistent with the MATLAB source code. According to the method, the problems of semantic ambiguity and nesting overload existing when a large model migrates a power grid program are solved through the integrated design of preprocessing, migration and verification, and high-precision and automatic code migration is achieved.
Owner:FUJIAN AGRI & FORESTRY UNIV

Programming language migration running method and apparatus

ActiveCN120950074BTransformation of program codeProgram code adaptionPython (programming language)MATLAB
The application relates to a programming language migration running method and device, which can recognize M language functions from M language script codes, convert the M language functions into Python functions, and uniformly map and convert the remaining codes with complex M language syntax forms into Python functions, so that different functions or different processing logics for different types are realized through the context and other functions in the Python functions. The implementation difficulty is greatly reduced, complex functions can be quickly realized, and the M language can be effectively run without depending on the core library of Matlab.
Owner:CHANGSHA KELIANG TECH CO LTD

A multi-source heterogeneous code conversion method and device for cross-language development

The application discloses a multi-source heterogeneous code conversion method for cross-language development, which comprises the following steps: constructing a code sample set by constructing each code sample and a unit code block separated from the code sample into a format of { 'code' x c , 'code type' y c , 'code description' x d}; then using the code sample set to sequentially perform first training of internal features of the model, second training of consistency of code semantics and third training of consistency of mixed codes; taking embedding mapping functions obtained by the model after the first training and the third training as embedding models, obtaining embedding representation vectors after embedding representation mapping by using the two embedding models; in actual use, inputting an initial prompt word into the two embedding models to obtain retrieval enhancement information; and finally inputting the initial prompt word and the retrieval enhancement information into a large language model after splicing to obtain a code conversion result. The application can improve the accuracy of code conversion.
Owner:ZHEJIANG UNIV

A method, system, device, and medium for visual component linkage based on a state relay engine.

This invention discloses a visualization component linkage method, system device, and medium based on a state relay engine. The method includes: constructing a global state repository in memory to store composite state objects containing state values, version stamps, and component subscription lists; the state relay engine performing debouncing processing on asynchronous state data reported by source components; performing multi-dimensional conflict suppression verification on the processed data; updating the state values ​​and version stamps after successful verification; based on the subscription list, calling a custom script through a multi-level transformation pipeline to logically process and asynchronously transform the state values, generating transformation data adapted to the target component; and accurately distributing the transformation data to the target component via a unidirectional data stream according to the trigger protocol type, driving updates to its interface parameters or attribute states. This invention achieves deep decoupling and reliable linkage between components, significantly improving the flexibility, performance, and stability of the configuration visualization platform in complex interactive scenarios.
Owner:JIANGSU ANKEREI MICROGRID RES INST CO LTD +2

Method for converting multiple scheduling settings of directed acyclic graph of programming model into program code with aid of graphical user interface

A method for converting multiple scheduling settings of a directed acyclic graph (DAG) of a programming model into a program code with aid of a graphical user interface (GUI) includes: displaying the DAG via the GUI; receiving a user input via the GUI, wherein the user input comprises scheduling information associated with the multiple scheduling settings; and converting the multiple scheduling settings into the program code according to the scheduling information.
Owner:MEDIATEK INC

Language resource configuration and loading method and device, equipment and storage medium

The invention discloses a language resource configuration and loading method, device and equipment and a storage medium, and relates to the technical field of language loading.The language resource configuration and loading method comprises the steps that a language configuration file is obtained, and a key name format mapping relation between an interface component library and a time processing library is generated according to the language configuration file; receiving a language switching instruction, and extracting a corresponding language code according to the language switching instruction; determining a target language resource file according to the language code and the key name format mapping relation; and loading the target language resource file. According to the method, the loading efficiency of the language resources can be improved.
Owner:SHENZHEN DINSTAR TECH

Computational Dataflow Architecture

An exemplary integrated circuit comprises an array of circuit tiles and interconnects coupling the circuit tiles in the array, the interconnects including interconnect tiles each having a plurality of connections, the plurality of connections including a connection to at least one of the circuit tiles and a plurality of connections to at least one other interconnect tile, the integrated circuit comprising a plurality of local crossbars in each of the interconnect tiles, the plurality of local crossbars coupled to form a non-blocking crossbar, and each of the plurality of local crossbars comprising a handshake circuit for asynchronous communication.
Owner:XILINX INC

Systems and methods for hardware-in-the-loop ai feedback for processor-optimized code generation with selectable metrics

A computing system is disclosed with hardware-in-the-loop AI feedback for processor-optimized code generation with selectable objective metrics. The computing system includes one or more processors; and one or more non-transitory computer-readable media collectively storing instructions that are collectively executed by the one or more processors, to cause the computing system to perform operations. The operations instruct the computing system to: interface, via a profiling module, with hardware or emulated hardware to collect execution data of input source code; train a large language model (LLM) to propose code optimization strategies based on code logic generalization across multiple programming languages; employ, via an optimization strategy discovery module, LLM-generated strategies to generate code optimization tasks; and apply, via a code transformation module, the generated code optimization tasks to the source code to produce an optimized version of the source code that is tailored to specific processing platforms.
Owner:CODE METAL

Code extraction method and device, electronic equipment and storage medium

The invention provides a code extraction method and device, electronic equipment and a storage medium. The method comprises the following steps: receiving a code extraction request, wherein the code extraction request comprises server address information, a plurality of module identifiers and extraction field information corresponding to each target module identifier; according to the code extraction request, determining a code server corresponding to the server address information, and obtaining multiple pieces of target submission information from the code server; performing identification processing on the multiple pieces of target submission information according to the multiple pieces of target module identification, and determining multiple pieces of sub-submission information corresponding to each target module identification; and according to the extraction field information corresponding to each target module identifier, performing extraction processing on the multiple pieces of sub-submission information corresponding to each target module identifier to obtain a sub-code set corresponding to each target module identifier. According to the scheme, the code is automatically extracted from the code server through an automatic program, so that the code extraction accuracy is improved.
Owner:CHENGDU TD TECH LTD

Method and system for converting low-code deployment configuration into Kubernetes standard resource file

The invention discloses a method and system for converting low-code deployment configuration into a Kubernetes standard resource file, and relates to the technical field of cloud computing and software engineering.The method comprises the steps that when low-code deployment configuration data is received on a low-code operation page, data preprocessing is conducted on the low-code deployment configuration data to obtain corresponding target field data, and the corresponding target field data are sent to a Kubernetes standard resource file; and on the basis of a preset low-code rule base, generating a corresponding intermediate deployment model according to the target field data, rendering the intermediate deployment model according to a preset resource file template to obtain a corresponding Kubernetes standard resource file, and displaying the Kubernetes standard resource file on a low-code operation page. The technical problems that existing Kubernetes have high technical requirements for users, and use requirements of non-professional users for Kubernetes are difficult to meet are solved.
Owner:SHANGHAI DONGFANG HOPE SOFTWARE TECH CO LTD

Code conversion method and system based on artificial intelligence large model

The invention belongs to the technical field of software development and artificial intelligence deep fusion, and provides a code conversion method and system based on an artificial intelligence large model, and the method comprises the steps: generating a technical stack according to a selected code, and selecting a corresponding prompt word from a pre-configured system prompt word bank; the prompt word bank is stored in the form of a JS key value pair data template, and placeholders are used in the template; according to a technical stack-page type-design semantic three-layer key matching template, if a completely matched key does not exist, upward backtracking according to a longest prefix rule; the template is accurately matched through three layers of secret keys, the problem of code generation confusion of different technical stacks is avoided, it can be ensured that output codes conform to target framework specifications, standardized cues are stored in the template through JS key values, a placeholder mechanism supports dynamic parameter injection, and the workload of repeatedly compiling similar cues is reduced; meanwhile, the approximate scene template can be matched through the longest prefix backtracking rule, and the code generation availability of the edge scene is improved.
Owner:SHANDONG LUNENG SOFTWARE TECH

Cross-platform Matlab real-time calculation method

The invention discloses a cross-platform Matlab real-time calculation method, which comprises the following steps of: 1) defining a function signature of a matlab algorithm function under a c / c + + language specification and a data structure of interaction between the function signature and an application program; 2) defining a function pointer, and initializing the function pointer to be null; 3) writing codes of the application program; 4) writing a script program of a matlab algorithm function; 5) converting a script program of the matlab algorithm function into a c / c + + code; 6) modifying a function pointer to point to an entry function address of the c / c + + code; 7) copying the c / c + + code and the code of the application program to a new directory, scanning all source files in the new directory, and compiling the source files into an executable program in the target running environment; 8, the executable program is transmitted to the target operation environment to be executable. According to the calculation method, the strong calculation capacity of Matlab is achieved, real-time data processing is achieved, the data processing performance is greatly improved, and the popularization value is high.
Owner:AVIC GENERAL TECH CO LTD

File conversion method, device, equipment, medium and product

The application discloses a file conversion method, device, equipment, medium and product, and relates to the technical field of software. The file conversion method comprises the following steps: acquiring a software design file; receiving a file conversion request; and converting the software design file into a development file in response to the file conversion request, wherein the development file is a file that can be imported into a database. According to the scheme disclosed by the application, the software development efficiency can be improved.
Owner:CHINA CONSTRUCTION BANK

Layout design rule checking method and device, electronic equipment and storage medium

The invention provides a layout design rule checking method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The layout design rule checking method comprises the following steps: receiving a natural language text which is input by a user and is used for describing a layout design rule checking requirement; performing natural language processing on the natural language text, and extracting key rule information corresponding to the layout design rule inspection requirement; on the basis of the key rule information, calling a generative artificial intelligence model to generate a domain specific language DSL code conforming to layout design rule inspection of the superconducting quantum computing chip; converting the DSL code into a rule checking script which can be executed by a layout design tool; and executing the rule checking script to obtain a checking result of the layout design rule. Therefore, the development difficulty of the layout design rule check code in the superconducting quantum computing chip design is remarkably reduced, and the complexity and the error-prone property of traditional manual script writing are avoided.
Owner:SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD

Transparent data encryption method and device based on parameter resolver agent and electronic equipment

This invention provides a transparent data encryption method, apparatus, and electronic device based on a parameter parser proxy. In this method, by constructing an encryption proxy parser that encapsulates the original parameter parser and replacing the default parser chain in Spring MVC, unified transparent automatic encryption of various heterogeneous request parameter types is achieved without intruding on business code (because the types of the original parameter parsers in the enhanced parser chain are diverse). This technology sinks the encryption logic from the business layer to the parameter binding stage of the framework layer, not only completely eliminating the burden and risk of omissions for developers to manually write repetitive encryption code and ensuring that sensitive data is converted to ciphertext before entering business logic, but also significantly improving the system's data security compliance and code maintainability.
Owner:CHERY AUTOMOBILE CO LTD

Proton exchange membrane fuel cell power system fault simulation method

The invention discloses a proton exchange membrane fuel cell power system fault simulation method, which comprises the following steps: establishing a fault library, determining a simulated fault set X = {X1, X2, X3,... Xn}, and establishing a fault description set Xdm for any fault Xm; code conversion of the fault set: for each fault, converting the fault into a code to form a data stream to realize fault injection and management in modeling; and fault management: for any fault Xm, performing fault management on the fault Xm by using the fault position and the information parameter Pm. According to the method, the system fault response rules under different application scenes and working conditions are obtained in a low-cost and high-efficiency mode, and support is provided for safety improvement and engineering application of the fuel cell power system.
Owner:NANJING UNIV OF AERONAUTICS & ASTRONAUTICS

Code migration and merging methods, devices, electronic devices, and readable storage media

This invention provides a code migration and merging method, apparatus, electronic device, and readable storage medium. The method includes: responding to a code merging instruction, running a preset merging script, and obtaining first engine code and second engine code; determining a first engine format for the first engine code based on first resource information; parsing the second resource information according to the first engine format, and migrating and merging the first engine code to the second engine code based on the parsed second resource information. By running the preset merging script and parsing the second resource information according to the first engine format, it is possible to merge not only the corresponding resource statements while merging functional code, but also to unify the format during code merging. In the case of automatically merging localized functional code of the old engine to achieve a one-time merging purpose, the automation based on the preset merging script reduces labor costs and improves merging efficiency.
Owner:NETEASE (HANGZHOU) NETWORK CO LTD

Method for exporting NC programs in batches based on CATIA

The invention provides a method for exporting NC programs in batches based on CATIA. The method comprises the steps of judging document types, checking PP Table, selecting an output mode, obtaining a program object set, screening program objects, extracting or initializing post-processing information, operating an interface and storing settings, extracting and recording attribute data, outputting APT and converting the APT into the NC programs. The effects that the NC programs are output in batches through one-time setting and accurate tool information of the NC program heads are guaranteed are achieved, when the NC programs are output again, the setting information can be reused, the output efficiency of the machining programs can be remarkably improved, and the quality risk can be reduced.
Owner:中航贵州飞机有限责任公司

Ai inference compiler and runtime tool chain

Embodiments include systems and methods for processing sensor data and generating operational instructions of hardware of egos (e.g., autonomous vehicles, robots). The ego includes any number of machine-learning architectures, often neural network architectures, for processing sensor data and recognizing the environment around the ego and making decisions on the ego's behavior. The neural network architectures of the ego ingest sensor data and execute any number of operations related to a particular domain or task, such as object recognition or path planning, using the sensor data. A graph partitioner is trained to assign functions in the software of the neural networks and the sensor data to certain hardware processing units. Several compilers are used to generate the instructions based upon the assigned type of processing unit.
Owner:TESLA INC