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

188results about "Programming languages/paradigms" patented technology

Multi-agent task arrangement method and system

The invention discloses a multi-agent task arrangement method and system, and relates to the technical field of artificial intelligence. In the method, firstly, a task demand is obtained, key information and intention of the task demand are extracted, and task semantics are obtained; secondly, based on the task semantics and the business standard process template, obtaining a business standard process template matched with the task demand; then, according to the matched business standard process template and task semantics, a task context is constructed, and a domain specific language DSL is generated through reasoning according to the task context; thirdly, the DSL is analyzed, a task dependency graph is constructed according to the DSL analysis result, and the task dependency graph is converted into BPMN process model data; and finally, sub-task scheduling and execution of the sub-agents are carried out according to the BPMN process model data. According to the method provided by the invention, the dependence on professional developers or process engineers can be reduced, the response and planning time of complex tasks can be shortened, the result predictability can be improved, and the reasoning cost can be obviously reduced.
Owner:HANGZHOU EASTCOM SOFTWARE TECH

Multi-Agent collaboration AADL model AGREE verification statement automatic generation and verification method

The invention discloses a multi-Agent cooperation AADL model AGREE verification statement automatic generation and verification method. The method comprises the following steps: S1, constructing a domain knowledge base; s2, the Agent is analyzed by the AADL model to extract key information; s3, the demand analysis Agent splits atomic propositions from the natural language demand; s4, the AGREE generator Agent generates an AGREE attachment code; s5, the model fusion Agent automatically embeds the AGREE specification into the target AADL component; s6, the AADL verification Agent performs iterative verification and automatic repair, and a multi-dimensional verification system is constructed; and S7, executing AGREE-based AADL architecture formalized verification, and performing logic attribute verification on the grammar compliance model. According to the invention, innovative fusion of a formalized verification method and an intelligent technology is realized, and the core problem that formalized verification of the AADL architecture is difficult to implement is effectively solved.
Owner:HARBIN UNIV

Code processing method and device of integrated circuit, electronic equipment and storage medium

The invention provides a code processing method and device of an integrated circuit, electronic equipment and a storage medium. The method comprises the steps that a source code is obtained, the source code comprises parameter information of a sub-module in the integrated circuit, and the source code is a register transfer level code; constructing a structured encapsulation unit tree based on the source code; packaging the structured packaging unit tree according to a high-level hardware description language to obtain a structured object; instantiating the structured object to obtain a hardware description language module; and in response to the received connection instruction, code generation is performed based on the connection instruction and the hardware description language module to obtain a connection code, the connection instruction comprises a connection relationship between the sub-modules in the integrated circuit, the connection code indicates a signal transmission path between the sub-modules in the integrated circuit, and the connection code is a hardware description language code. According to the invention, the connection efficiency of signal transmission paths between modules in an integrated circuit design can be improved.
Owner:SHANGHAI ORIENTAL COMPUTER TECHNOLOGY CO LTD

Command line completion method, TCL command line interaction system, device, medium and product

The invention relates to the technical field of EDA software application, in particular to a command line completion method, a TCL command line interaction system, equipment, a medium and a product. The command line completion method comprises the following steps: receiving an input to-be-processed command, and obtaining an actual version number corresponding to the to-be-processed command; based on a preset command set corresponding to the actual version number, the to-be-processed command is matched, and matching means that at least part of continuous characters, starting from the first character, of the preset command in the preset command set are consistent with the to-be-processed command; when the to-be-processed command is matched with the preset command in the preset command set, judging whether the matched preset command is unique or not, and if the matched preset command is unique, outputting the unique matched preset command; and if not, outputting a command list containing all the matched preset commands. The TCL command line interaction system, the computer equipment, the computer readable storage medium and the computer program product have the same beneficial effects as a command line completion method.
Owner:HUAXIN GIANTS (HANGZHOU) MICROELECTRONICS CO LTD

Code review opinion automatic classification and priority ranking method based on AI

The invention provides an AI-based code review opinion automatic classification and priority ranking method. The method comprises the steps of collecting code review historical data; data preprocessing: preprocessing the collected data, and constructing a training data set; an AI model is selected and trained; inputting a new review opinion; automatic classification: the model automatically classifies the review suggestions, and classification categories include but are not limited to code errors, code style problems, performance optimization suggestions and potential safety hazard prompts; performing priority ranking: performing priority ranking on the review opinions based on a preset priority rule and the classification result; and generating result output. According to the code review method and device, automatic classification and priority ranking of the code review opinions are achieved through the AI model, a traditional manual processing mode is replaced, the problems that manual classification is low in efficiency and priority ranking is high in subjectivity are effectively solved, and the overall efficiency and result accuracy of code review are improved.
Owner:GUANGDONG KAITUO DIGITAL INNOVATION TECHNOLOGY CO LTD

Embedded software real-time interaction method and system based on large model

The invention relates to the technical field of edge computing and intelligent voice interaction crossing, in particular to an embedded software real-time interaction method and system based on a large model, which comprises an embedded software module used for providing hardware control and business logic functions of a bottom layer and constructing a local model context protocol tool set, and a large model module used for establishing a local model context protocol tool set. And the large model module is deployed on embedded equipment, is used for carrying out natural language understanding and task planning, and comprises a small large language model subjected to supervision fine tuning, quantification and reasoning acceleration, an intelligent agent module and a man-machine interaction module. By means of the strong natural language understanding and generating capacity of the large language model, a user can use natural and spoken instructions to interact with the system, the constraint of a fixed command mode is thoroughly got rid of, the large language model has deep context understanding and logical reasoning capacity, multi-step and multi-condition complex instructions can be processed, and the user experience is improved. And an execution path is automatically planned.
Owner:深圳市海雷新能源股份有限公司

Compilation method for compiling C language source code into RISC-V assembly code

The invention discloses a compiling method for compiling a C language source code into an RISC-V assembly code. The method comprises the following steps: acquiring a C language source code; performing lexical analysis on the C language source code to generate a mark flow; performing syntactic analysis on the mark flow, and constructing an abstract syntax tree; performing semantic analysis on the abstract syntax tree to generate a target abstract syntax tree; constructing a runtime environment of the RISC-V assembly code; generating an intermediate code and a control flow diagram corresponding to the intermediate code according to a rule in the runtime environment and the target abstract syntax tree; generating a target code by using the intermediate code and the control flow diagram corresponding to the intermediate code; according to the technical scheme, the intermediate representation more adaptive to RISC-V custom instruction mapping can be generated, so that the execution efficiency of assembly codes is improved; and meanwhile, by designing a lightweight runtime environment, the performance overhead is further reduced.
Owner:CHINA SOUTHERN POWER GRID COMPANY

Workflow creation method and apparatus

Various embodiments of the teachings herein include a workflow creation method. Some examples include: receiving an operation performed by a user on a GUI constructing a functional block model; receiving an operation performed by the user including nesting a behavior tree into a second functional block, wherein the behavior tree defines an operation for a first workcell, and the functional block model defines an operation for a second workcell; in response to a first functional block in the functional block model triggering an input event of the second functional block, then the second functional block triggers an execution signal to a root node in the behavior tree at a preset frequency, so the behavior tree starts execution from the root node and outputs an execution result; the second functional block triggers a corresponding output event according to the execution result; and generating an instance of the functional block model.
Owner:SIEMENS AG

Cross-platform page code generation method based on large model

The invention discloses a cross-platform page code generation method based on a large model, and relates to the technical field of front-end development, and the method comprises the following steps: cooperatively analyzing a UI design drawing through a plurality of special large models, and carrying out real-time cross validation and dynamic compensation on an analysis result by adopting a multi-model mutual verification mechanism; based on a predefined standard specification, dynamic adjustment is carried out through a platform adaptation rule base; generating a page object description tree embedded with the input / output processing function; cross-platform page codes are generated through a code generation engine, and sandbox testing and automatic correction are executed; outputting a target platform code by utilizing a unified compiling engine; an adaptive optimization loop is constructed based on test feedback. According to the method, through integration of multi-model collaborative analysis, platform rule dynamic adaptation, sandbox verification and closed-loop optimization, the problems of large analysis deviation, poor cross-platform compatibility, uncontrollable code quality and the like are solved, and end-to-end high-quality automatic generation from a design drawing to multi-platform codes is realized.
Owner:CHENG DU ZHONG KE JI YUN RUAN JIAN YOU XIAN GONG SI

Component generation method and device, equipment, storage medium and program product

The invention provides a component generation method and device, equipment, a storage medium and a program product, and relates to the technical field of computers. The method comprises the following steps: receiving demand description information input by a user, and determining key demand characteristics according to semantics of the demand description information; obtaining historical dialogue context information, determining semantic relevance between the key demand characteristics and the historical dialogue context information, and outputting prompt information used for guiding the user to update the demand description information according to the semantic relevance; disassembling the updated demand description information, and generating component description information according to a disassembling result; generating a component initial code based on the component description information; and performing compilation verification and iterative correction on the component initial code, and generating a component meeting user requirements based on the component code subjected to compilation verification and iterative correction. According to the invention, deep understanding of user demands can be realized, the user interaction cost is reduced, and the availability and stability of the component are guaranteed.
Owner:CHINA CONSTRUCTION BANK +1

Interface internationalization language switching method based on go language

The invention discloses an interface internationalization language switching method based on a go language, and relates to the technical field of interface data processing. The method comprises the steps of 1, defining a translation data processing function, converting a to-be-translated field in an interface response message into a JSON object, and performing recursive matching on a key value of the JSON object and a key value of a pre-stored translation text; 2, binding a translation data processing function to a target interface, and automatically triggering translation processing after interface business logic is executed; 3, multi-language translation data are pre-stored through a database table or a JSON file, a storage structure comprises source language columns and multiple target language columns, and source language data and target language data in the same row are in one-to-one correspondence; and 4, dynamically loading translation data corresponding to a target language according to the language parameters in the request header when responding to message processing, and completing text replacement through accurate matching or fuzzy matching.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Script language oriented earthquake batch job editing method and device

The application provides a script language-oriented seismic batch processing job editing method and device, including obtaining seismic job requirements to be processed, determining seismic job items and database information; initializing each module object in a previously established seismic batch processing job framework, the framework being a script language framework including a preset core library, a module library and a tool chain; determining standard type parameters corresponding to each module object; initializing a job topology structure of the seismic batch processing job framework; based on the seismic job items and the database information, selecting target module objects and adding them to target jobs; outputting a topology graph of a module according to debugging needs, and generating target jobs corresponding to seismic job requirements by calling an XML format file. The application edits a seismic batch processing job framework by facing a script language, realizes seamless connection between job editing and code editing, is more flexible and efficient, and meets diversified needs of users in editing jobs by using a script programming language.
Owner:BGP INC CHINA NAT PETROLEUM CORP +2

Extensible software tool with customizable machine prediction

Systems and methods are provided for performing customizable machine prediction using an extensible software tool. A specification including features of a trained machine learning model can be received and an interface for the trained machine learning model can be generated. The trained machine learning model can be loaded using the interface, the loaded machine learning model including a binary file configured to receive data as input and generate prediction data as output. Predictions can be generated using observed data that is stored according to a multidimensional data model, wherein a portion of the observed data is input to the loaded machine learning model to generate first data predictions, and a portion of the observed data is used by a generic forecast model to generate second data predictions. The first and second data predictions can be displayed in a user interface configured to display intersections of the multidimensional data model.
Owner:ORACLE INT CORP

Software-code-defined digital threads in digital engineering systems with artificial intelligence (AI) assistance

Methods and systems for generating digital threads that connect models and software tools for an interconnected digital engineering and certification ecosystem are provided. In one embodiment, a process for generating a software-code-defined digital thread includes receiving a first model representation of a first engineering model, a second model representation of a second engineering model, and an intent input. Determining, using a machine learning (ML) model, one or more model endpoints in the first and the second model representations. Generating, using a script-generating ML model, a platform orchestration script that accomplishes the intent input by connecting the first model representation and the second model representation, using the one or more model endpoints. Finally, storing the platfonn orchestration script as the software-code-defined digital thread. The digital threading of digital engineering models, with and without Al assistance, leads to exponential increases in efficiency of designing, testing, certifying, manufacturing, and operating physical products, allowing physical products to be made at digital speeds.
Owner:ISTARI DIGITAL INC

AI-based code quality intelligent review and automatic distribution system and method

The invention discloses an AI-based code quality intelligent review and automatic distribution system and method, and relates to the technical field of software development and quality assurance, the AI-based code quality intelligent review and automatic distribution system comprises an event triggering and capturing unit, a code change extraction and analysis unit, an intelligent review engine starting unit, an AI analysis and decision unit and a feedback and closed loop unit; the event triggering and capturing unit is used for monitoring a code pushing event for submitting a code to a remote GitLab code library after a developer completes function development locally through a GitLab platform, generating an HTTP request and sending the HTTP request to the code change extraction and analysis unit; through the Webhook mechanism provided by the Gitlab, 'triggering upon code submission 'is realized, manual intervention is not needed, the feedback period is greatly shortened, and the development efficiency is improved.
Owner:BEIJING CATHAY INTERNET INFORMATION TECH CO LTD +1

Model language architecture optimization method, system, equipment and medium

The invention discloses an optimization method, system and device of a model language architecture and a medium, and belongs to the technical field of software development, the method comprises the steps that operation nodes in a model under the model language architecture are virtualized, and a node topology architecture graph of the model is extracted according to the number of C instructions generated by all modules in the model; in a node topology architecture graph of the model, tracing back from each output interface to an input interface to obtain a unit topology architecture of each output interface, and calculating the coupling degree of the unit topology architecture; setting a coupling degree threshold value T, if the coupling degree of the unit topology architecture is lt; if T is greater than T, combining the unit topology architecture with other unit topology architectures of which the coupling degrees are lower than T to obtain a coupling degree gt; a subsystem of T; if the coupling degree of the unit topology architecture is gt; if T, directly setting the sub-system as an independent sub-system; and obtaining an optimized model architecture. According to the method, the static analysis quality of the model can be improved, the unit test case design is simplified, the readability and quality of the generated code are improved, and the problem of complex model architecture optimization is effectively solved.
Owner:HEFEI GUOXUAN HIGH TECH POWER ENERGY

Splitting application into microservices using large language model

In an example embodiment, an embedding machine learning model is used to effectively and efficiently split a monolithic application into microservice. The embedding machine learning model is used to group the domain managers into multiple group, making sure that the semantic coupling among domain managers in the same group is the most and the semantic coupling among domain managers in different groups is the least. Once these groups have been form, the entities of the persistence layer are then assigned to corresponding groups, making sure that the semantic coupling between the domain layer and the persistence layer in the same group is the largest.
Owner:SAP SE

Code generation method, system and equipment and computer readable storage medium

The invention discloses a code generation method, system and device and a computer readable storage medium, and relates to the technical field of software development, the code generation demand information is acquired and analyzed, and structured information is generated; based on the structured information, generating an architecture DSL of a code according to a four-stage interaction protocol; based on the architecture DSL, a logic graph of codes is generated according to a four-stage interaction protocol; based on the logic map, generating an API specification of the code according to a four-stage interaction protocol; generating a code according to a four-stage interaction protocol based on a framework DSL, a logic graph and an API specification; the four-stage interaction protocol comprises the steps of judging whether to-be-processed data is complete or not, if the to-be-processed data is not complete, obtaining expanded data of the to-be-processed data according to a user interaction result, generating a candidate scheme based on the to-be-processed data and the expanded data, and generating a code product corresponding to the to-be-processed data according to the candidate scheme selected by a user. The resource consumption is reduced, and the controllability and the accuracy are improved.
Owner:ZHEJIANG TONGHUASHUN INTELLIGENT TECH CO LTD

A method of batch software automated build

ActiveCN116301742BSimplify the work of buildingImprove adaptation efficiencyVersion controlProgramming languages/paradigmsConfigfsSoftware engineering
The application discloses a kind of batch software automatic construction method, builds software on Linux and Kylin system, specifically includes the following steps: using AI neural network model analysis each source code description file of software, extracts the information of dependent installation, configuration or compilation;Write regular expression to extract the information of dependent installation, configuration or compilation in each source code description file of software;Contrast the information obtained by the above two methods, make a comprehensive decision;If the relevant information cannot be obtained by using the above two methods, then traverse the configuration file information in the first folder of source code directory by the method of traversal, select the appropriate default compilation method;Grab the information printed when compiling, use regular method to grab key flag information, judge whether the compilation is successful or not.By the application, a general method is established, which greatly simplifies the software construction work in the daily work of developers, and can quickly perform the construction work of a large number of code packages.
Owner:ADVANCED OPERATING SYST INNOVATION CENT (TIANJIN) CO LTD

Go language structure automatic conversion method and system

The application relates to the technical field of computer programming, and discloses a Go language structure body automatic conversion method and system. The method first receives the definitions of a source structure body and a target structure body as input, automatically matches the fields of the two structure bodies according to preset rules through a field mapping rule engine, and generates a field mapping relationship; then, based on the field mapping relationship, a code generator is used to automatically generate conversion code containing field assignment and type conversion logic; finally, the generated conversion code is compiled into an executable conversion function, which can convert and fill the data in the source structure body instance into the target structure body instance according to the field mapping relationship during program running. The method realizes the automation of structure body conversion, avoids the error-prone problem of manually writing conversion code, improves the maintainability of the code, significantly improves the conversion efficiency by replacing the runtime reflection mode with code generation, and simultaneously supports batch conversion and concurrent processing, and can meet the performance requirements of large-scale data processing.
Owner:BEIMI TECHNOLOGY (ZHUHAI) CO LTD

A PLC code generation and verification method based on a large language model

The application discloses a PLC code generation and verification method based on a large language model, which comprises the following steps: generating multi-stage multi-modal input data, wherein the multi-stage multi-modal input data is used for representing user requirements and formulating a system design scheme according to a requirement analysis result; the multi-stage comprises a requirement analysis stage and a design stage of a complete engineering cycle; the multi-modal input comprises a P&I D diagram and natural language; then, PLC code is generated according to the multi-stage multi-modal input data; then, the generated PLC code is verified and tested, wherein the verification and testing comprises code verification and compiler verification; finally, the PLC code is deployed after the verification and testing of the PLC code are completed. The embodiment of the application has high accuracy and high automation degree, can provide a network security researcher with an efficient and accurate PLC code deployment method, and can be widely applied to the technical field of computers.
Owner:GUANGZHOU UNIVERSITY

Python operator scheduling method and device based on streaming computing framework, and storage medium

The invention discloses a python operator scheduling method and device based on a streaming computing framework, a storage medium and computer equipment. The method comprises the steps that a task submitting end submits a task execution request to a streaming computing management service; the streaming computing management service responds to the task execution request, generates a target task containing a main program file, and sends the target task to a streaming computing cluster; the streaming computing cluster receives a target task, and executes a main program file through a Python execution environment integrated in a streaming computing framework, so as to call a user-defined data source component and a user-defined data output component running on a Java virtual machine through a communication channel between a Python virtual machine and the Java virtual machine, and constructing a data processing assembly line through the user-defined data source component, the user-defined data output component and the data processing logic defined in the main program file, and triggering the data processing assembly line to be executed in the streaming computing framework.
Owner:BEIJING GUODIAN ZHISHEN CONTROL TONGDY

A method for software design and development and a terminal

The application discloses a software design and development method and a terminal, a detailed design document corresponding to an architecture design document is generated according to software requirements, a corresponding core class code is generated according to a core class diagram of the detailed design document, and an engineering code is obtained by directly developing based on the core class code by a developer; if the engineering code does not match the core class in the detailed design document, the core class diagram and the corresponding design document are re-generated, thereby greatly improving the consistency of software design and software development; if the engineering code matches the core class of the detailed design document, the engineering code is submitted to a code warehouse, the submitted document is ensured to be correct and reliable, and the design document is ensured to be well landed in the development stage.
Owner:FUJIAN TIANQUAN EDUCATION TECH LTD

System and method for translating first encoded language to second encoded language

Systems and methods for translating a first encoded language to a second encoded language train a machine learning (ML) model on a first encoded language specific data set associated with the first encoded language, where the ML model is trained to translate one or more code sets of the first encoded language to respective one or more code sets of the second encoded language; generating various unit test cases by using the ML model, where the unit test cases run the one or more code sets of the second encoded language in parallel with the one or more code sets of the first encoded language; iteratively testing and refining the ML model until a maturity threshold value is reached; and upon reaching the maturity threshold, containerizing the one or more code sets of the second encoding language into the one or more applications.
Owner:THE BANK OF NEW YORK MELLON

Multi-agent-based multi-language automatic compiling method and system

The invention belongs to the technical field of automatic compiling, and particularly discloses a multi-agent-based multi-language automatic compiling method and system, and the method comprises the steps: carrying out the project analysis and information extraction of a to-be-compiled project, and obtaining project meta-information; calling a multi-language construction knowledge base based on the project meta-information, and dynamically generating a construction command sequence adaptive to the current environment; executing construction commands in the construction command sequence, capturing standard output, standard errors and exit codes in real time, and outputting a construction result; and performing multi-dimensional verification on the construction result to obtain a comprehensive verification score, obtaining a judgment result based on the comprehensive verification score, and outputting a visual construction report based on the judgment result. According to the method and the device, the problem of construction task failure caused by environment difference, low efficiency of error diagnosis and insufficient product verification can be solved, and the success rate and the accuracy of the construction task are improved.
Owner:武汉金银湖实验室 +1

System and method for source code generation

Methods, systems, and computer program products for generating computer source code products. According to one method, an engineer creating or modifying an implementation of computer source code selects design patterns from a catalog of pre-existing design patterns. The design patterns are known abstractions that solve specific problems of computer program design and implementation. The selected design patterns are then bound to elements within a representation of the implementation known as a model. The model is then converted into a representation using elemental design patterns, and this abstraction model is used to generate the computer source code in any programming language. The abstraction model is also suitable as input for an automated inference engine for validation or verification purposes prior to or after the generation of the computer source code.
Owner:ELEMENTAL REASONING LLC

System and method for automated bidirectional mapping between service specifications

A method for bidirectional mapping includes storing a relationship between a first service specification and a second service specification; receiving an application programming interface (API) call for the second service specification including a payload including a relationship type; verifying that the relationship type included in the payload corresponds to the relationship type of the relationship between the first service specification and the second service specification; verifying whether a complementary relationship exists between the first service specification and the second service specification in response to the relationship type included in the payload corresponding to the relationship type of the relationship between the first service specification and the second service specification; and updating the first service specification with dependent service details of the relationship between the first service specification and the second service specification in response to the complementary relationship existing between the first service specification and the second service specification.
Owner:RAKUTEN MOBILE INC

Macro cross-module reference identifier length obtaining method, electronic device and medium

This invention relates to the field of macro text processing technology, and more particularly to a method, electronic device, and medium for obtaining the length of a macro-containing cross-module reference identifier. Step S1: Obtain the macro-containing cross-module reference identifier A to be processed. n The corresponding location information set; Step S2, if A n If the starting position is the location information involving macro references, then A10 will be... n Updated to A n The starting position is the location information in the original design file; otherwise, A10 n If A remains unchanged, n If the ending position is the location information involving macro references, then A20 will be... n Updated to A n The end position information in the original design file; otherwise, A20 n Keep it unchanged; Step S3, determine as A n Length R in the original design file n Step S4: Determine B n The length W in the macro expansion file n This invention can accurately and quickly obtain the length of cross-module reference identifiers containing macros.
Owner:SHANGHAI UNIVISTA IND SOFTWARE GRP CO LTD +1

Dynamic language execution method and device, computer equipment, medium and program product

The invention relates to a dynamic language execution method and device, computer equipment, a medium and a program product. The method comprises the following steps: acquiring a dynamic language, and identifying a function body in the dynamic language; compiling each source statement in the function body into a statement entry with a preset structure, and obtaining a statement entry set corresponding to the function body; generating a statement entry tree according to the statement entry set corresponding to each function body; the statement entry tree comprises each statement entry; and traversing and executing each statement entry in the statement entry tree to obtain an execution result corresponding to the dynamic language. By adopting the method, the execution efficiency of the embedded program can be improved.
Owner:CHINA TELECOM CLOUD TECH CO LTD