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

207 results about "Function Code" patented technology

A coded value specifying the normal action performed by a structure or device.

Code vulnerability detection method, device and equipment

The invention discloses a code vulnerability detection method, a code vulnerability rule configuration method, a static single assignment SSA code acquisition method, devices corresponding to the methods, and electronic equipment. The code vulnerability detection method comprises the following steps: acquiring a plurality of source code files and code vulnerability rules of an application program; generating an abstract syntax tree of the source code file, and obtaining a function call relationship; and traversing the abstract syntax tree, and obtaining a cross-function risk propagation path according to the function call relationship and the code vulnerability rule. By the adoption of the processing mode, the function calling relation and the abstract syntax tree are fused to conduct cross-function code vulnerability detection, cross-function vulnerability detection of context sensitivity, flow sensitivity and domain sensitivity is achieved, and vulnerability false report and missing report are avoided; therefore, the accuracy and recall rate of vulnerability detection can be effectively improved.
Owner:ALIBABA (CHINA) CO LTD

Context engine test generation

The present disclosure is directed toward systems, methods, and non-transitory computer-readable media for generating function code and test code to determine that the function code satisfies an intent query. For example, the disclosed systems utilize a large language model to process an intent query and generate function code that defines one or more processes whose execution satisfies the intent query. In addition, the disclosed systems also utilize the large language model to generate test code that defines a function test for determining that the function code satisfies the intent query. Moreover, the disclosed systems can execute the test code to determine that the function code satisfies the intent query.
Owner:DROPBOX INC

Power monitoring system intrusion detection method and system based on flow analysis

The invention relates to the field of electric power monitoring, in particular to an electric power monitoring system intrusion detection method and system based on flow analysis. The method comprises the following steps: collecting network traffic, analyzing and recombining to obtain structured session data; time sequence behavior features and function code distribution features are extracted to construct a multi-dimensional feature set; inputting the feature set into a compliance rule base and a behavior baseline model in parallel, and respectively outputting a rule matching result and an abnormal deviation degree score; generating a comprehensive threat index by adopting a weighted decision fusion strategy; and when the index exceeds a dynamic threshold value, intrusion is determined and an alarm is given. According to the invention, the problem of insufficient precision and adaptability caused by single feature dimension and isolated detection mechanism is solved.
Owner:LINZHANG POWER SUPPLY BRANCH OF STATE GRID HEBEI ELECTRIC POWER CO LTD +2

Context engine test generation

The present disclosure is directed toward systems, methods, and non-transitory computer-readable media for generating function code and test code to determine that the function code satisfies an intent query. For example, the disclosed systems utilize a large language model to process an intent query and generate function code that defines one or more processes whose execution satisfies the intent query. In addition, the disclosed systems also utilize the large language model to generate test code that defines a function test for determining that the function code satisfies the intent query. Moreover, the disclosed systems can execute the test code to determine that the function code satisfies the intent query.
Owner:DROPBOX INC

Micro-isolation and differential encryption method and system based on industrial protocol perception and medium

The invention provides a micro-isolation and differential encryption method and system based on industrial protocol perception and a storage medium, and the method comprises the steps: firstly carrying out the static filtering of an original flow through a preset port, and obtaining a to-be-analyzed first communication message; analyzing a message behavior mode by using a time sequence feature analysis model, and extracting a semantic tag containing a function code, a data point address and a data value; if the data value exceeds the safety threshold value, real-time blocking and alarming are carried out; otherwise, generating a dynamic communication strategy based on the function code and the data point address; when the micro-isolation rule is triggered, dynamically limiting the access authority of the equipment; when the difference encryption rule is triggered, an encryption algorithm is selected according to the data sensitivity, and an algorithm acceleration module is called for execution. According to the method, micro-isolation is realized through protocol semantic analysis, and illegal function code injection is prevented; a differential encryption mechanism is adopted to reduce encryption overhead, and meanwhile, the real-time requirement of an industrial scene is met; in addition, encryption strength is dynamically adjusted in combination with channel quality, and operation reliability under extreme working conditions is guaranteed.
Owner:中亿(深圳)信息科技有限公司

Multi-discontinuous register reading method and function code for improving Modbus protocol communication rate

The invention provides a multi-discontinuous register reading method for improving Modbus protocol communication rate and a function code. The multi-discontinuous register reading method comprises the following steps: defining a function code 43H in a Modbus protocol; the method comprises the following steps: determining the type, address list and number of discontinuous registers to be read through a master device, assembling a request frame, and sending the request frame to a slave device; after the slave device receives the request frame, address matching and verification are carried out on the request frame, and if the address is not matched or verification fails, the frame is discarded; if the address is matched and the verification is passed, analyzing, judging whether abnormity exists or not, and executing related operation based on a judgment result; the master device receives the response frame returned by the slave device, verifies the response frame, and analyzes a data list in the response frame to obtain data of each register if the response frame passes the verification and is a normal response frame; if verification fails or the frame is responded abnormally, error processing is carried out, and the multi-discontinuous register reading method which can improve the communication rate, reduce the communication overhead and enhance the real-time performance and is high in compatibility is provided.
Owner:SHENZHEN KUMARK TECH CO LTD

Context engine test generation

The present disclosure is directed toward systems, methods, and non-transitory computer-readable media for generating function code and test code to determine that the function code satisfies an intent query. For example, the disclosed systems utilize a large language model to process an intent query and generate function code that defines one or more processes whose execution satisfies the intent query. In addition, the disclosed systems also utilize the large language model to generate test code that defines a function test for determining that the function code satisfies the intent query. Moreover, the disclosed systems can execute the test code to determine that the function code satisfies the intent query.
Owner:DROPBOX INC

Network card firmware hot patching method, storage medium and electronic equipment

The invention relates to the field of network card firmware repairing and upgrading, in particular to a network card firmware hot patching method, a storage medium and electronic equipment. According to the method, a patch file is received and loaded to a reserved area of a network card SRAM (Static Random Access Memory), an address acquisition logic is executed to generate a patch symbol table, a function to be updated is determined by matching a function jump table, address pointing information is updated to point to a target function code in the SRAM, and indirect calling based on the jump table is realized. According to the method, memory resource waste is solved through function granularity updating, address accuracy is ensured through dynamic symbol table matching, non-inductive switching of services is achieved through an indirect calling mechanism, equipment does not need to be restarted, and the continuity and reliability of network services are improved.
Owner:BEIJING YUNMAI XINLIAN TECH CO LTD

Path task planning method of magnetic micro robot in complex environment

PendingCN121010064ANavigational calculation instrumentsForecastingPathPingLinear temporal logic
The invention discloses a path task planning method for a magnetic micro robot in a complex environment, and relates to the technical field of micro-nano control, and the method comprises the steps: carrying out the formalized coding of a multi-target task demand through employing linear sequential logic LTL; a decision module based on a DQN neural network is constructed, a real-time environment state and an action execution result are combined and input to a multi-level reward function coded by LTL to generate a reward and punishment signal, and the reward and punishment signal is fed back to the network to guide a path optimization decision; in the network optimization process, a logic correction state transition model is introduced to increase the probability of compliance action in a weighted manner, so that the state transition process of the magnetic micro robot is shifted towards the direction meeting LTL constraint. According to the method, task logic features are extracted through bidirectional GRU, and the task logic features are embedded into the neural network as priori knowledge of decision making, so that the problem of low efficiency of processing time sequence tasks through traditional DQN is solved, and the interpretability and safety of decision making are improved through explicit logic constraints.
Owner:JIANGNAN UNIV +1

Data acquisition method and system, electronic equipment and storage medium

The embodiment of the invention provides a data collection method and system, electronic equipment and a storage medium, and is applied to the technical field of industrial communication. According to the data acquisition method and system, the electronic equipment and the storage medium provided by the embodiment of the invention, the register objects with the same acquisition period, the same slave station ID, the same function code and continuous register addresses are aggregated in the same second register aggregation group, and the data request frame is generated for the same second register aggregation group; the register objects in the second register aggregation group can share one data request frame. Compared with the prior art in which each register object generates an independent data request frame, the data acquisition method and device have the advantages that the number of the data request frames can be obviously reduced, so that excessive system resources are prevented from being occupied, and the data acquisition efficiency is further improved.
Owner:XIAMEN MILESIGHT IOT CO LTD

Convolutional neural network hardware acceleration method and system

The invention relates to the technical field of hardware acceleration, and provides a convolutional neural network hardware acceleration method and system, and the method comprises the steps: obtaining a convolutional neural network instruction which comprises an img2col instruction, a systolic array multiplication instruction and a col2img instruction; analyzing an operation instruction code and a function code field of each instruction, determining a target register, a source register and calculation parameters, determining an instruction function and generating a control signal; data to be operated are taken out from the source register and transmitted to the corresponding operation module together with the control signal and the calculation parameter to be calculated, and then the data are written back to the target register; through hardware optimization strategies such as multi-level address superposition, systolic array data multiplexing, double-buffer window construction and a parallel comparison tree, extra power consumption caused by multiple times of data loading and storage and intermediate result calculation is reduced, and data handling overhead, calculation delay and control complexity are greatly reduced.
Owner:SHANDONG UNIV

Bridging method and system for cross-language interface of KaihongOS, terminal and storage medium

The invention relates to the technical field of computer software, and discloses a bridging method and system for a cross-language interface of KaihongOS, a terminal and a storage medium. The method comprises the steps that an interface definition file is analyzed, and function declaration information of a target interface is obtained; analyzing a native interface definition file to obtain implementation information of a native interface corresponding to the target interface; and based on the function declaration information and the implementation information, according to a preset bridging rule, automatically generating a bridging function code conforming to a target operation environment, and bridging a cross-language interface through the bridging function code. According to the method, through automatic analysis and code generation, the bridging function code meeting the target operation environment is automatically generated by improving the code quality, and repeated labor and potential errors in manual writing are avoided. A preset bridging rule ensures the consistency and maintainability of codes, the technical threshold can be effectively reduced, and the project cycle is shortened.
Owner:深圳开鸿数字产业发展有限公司

Compiler back-end generation enhancement method and device based on large language model

The invention provides a compiler rear-end generation enhancement method and device based on a large language model, and the method comprises the steps: converting a target description file at the rear end of a compiler into a structured attribute graph, training a graph neural network, enabling the graph neural network to learn the similarity between the rear ends of the existing compiler, and obtaining the target description file; generating a graph embedding vector representing the structural characteristics of each existing compiler for the rear end of each existing compiler; training the multi-modal model according to the graph embedding vector and the text representation at the rear end of the existing compiler, so as to predict the similarity between the functions at the rear end of the compiler; inputting the text representation of the target function at the rear end of the new compiler and the graph embedding vector at the rear end of the new compiler into the trained multi-modal model to obtain a similarity score between the target function at the rear end of the new compiler and the function at the rear end of the existing compiler; screening out the most similar existing function as a high-quality example; and according to the specification description of the high-quality example and the target function, an example prompt is constructed, and the large language model generates a target function code at the rear end of a new compiler.
Owner:INST OF COMPUTING TECH CHINESE ACAD OF SCI

Intelligent agent system for graphics processor development and graphics processor development method

The embodiment of the invention provides an intelligent agent system for graphics processor development and a graphics processor development method, and is applied to the technical field of graphics processor development. The intelligent agent system comprises a first intelligent agent, a second intelligent agent, a plurality of third intelligent agents and a fourth intelligent agent. The first intelligent agent is configured to receive a development task and drive the other intelligent agents to execute corresponding operations in sequence or in parallel so as to complete the development task; the second agent is configured to maintain related documents; the plurality of third agents are configured to generate function codes based on related documents; and the fourth agent is configured to perform joint test on the function codes to generate test information. The plurality of third agents includes a simulator agent, an assembler agent, and a test program agent. According to the intelligent agent system, related documents serve as a single fact source, a simulator, an assembler and a test program are automatically processed through multi-intelligent-agent cooperation, and the consistency of all components consuming the related documents is guaranteed.
Owner:SHANGHAI BIREN TECH CO LTD

A reliability evaluation and optimization method, system, medium and program product for large model function code

PendingCN122450423AData setConsistency index
The application discloses a reliability evaluation and optimization method and system for large model function code, a medium and a program product, and belongs to the technical field of artificial intelligence. A demand prompt word, a test case and expected output are acquired to form a standardized test data set; an execution consistency score, a semantic consistency index and a static structure consistency index of the code to be evaluated are calculated and fused into an intention consistency comprehensive score; a safety score is obtained by performing static safety analysis on the code to be evaluated; the intention consistency comprehensive score and the safety score are fused into a final comprehensive score, and the reliability is judged; if the reliability is not good, a defect label is generated according to the scores of the indexes and weighted fusion is performed to obtain optimization guidance information, and the code is corrected or regenerated according to the information. The application comprehensively evaluates the code quality from four dimensions of execution, semantics, structure and safety, highlights the short board effect by adopting a fusion strategy, realizes closed-loop automatic optimization, and significantly improves the reliability and safety of the function code.
Owner:HARBIN ENG UNIV

A communication feature model driven relay protection device automatic test method and system

The application provides a communication feature model driven relay protection device automatic test method and system, comprising the following steps: 1. Through active detection and response analysis, the communication protocol type, message format and function code mapping relationship of the relay protection device are identified, and a device communication feature model is constructed; 2. Based on the device communication feature model, test cases covering function verification, abnormal processing and boundary conditions are dynamically generated, and automatic mapping of the test cases and the device and execution sequence optimization are completed. The technical scheme can solve the problems of relay protection device test dependence on manual configuration, low efficiency and poor adaptability.
Owner:STATE GRID FUJIAN ELECTRIC POWER RES INST +1

Spreadsheet standardization processing method and system based on large language model

The application provides a large language model-based electronic form standardization processing method and system, and belongs to the technical field of data processing, and specifically comprises the following steps: a file acquisition module is responsible for intelligently screening a target worksheet set containing valid data; a slicing module is responsible for partitioning the content of the worksheet to obtain a plurality of data slices; the table header of each data slice and sample data are input into a large language model workflow to intelligently identify the dimension type and structural characteristics of the data; an execution module is responsible for generating management strategies and prompt words, calling a large language model to dynamically generate a targeted data processing function code, executing the generated function code through a function execution engine, and standardizing and converting the data slices; and all successfully processed data is combined and exported as a standardized electronic form, thereby improving the efficiency of the standardization processing of the electronic form.
Owner:ZHEJIANG ZIBUYU ELECTRONIC COMMERCE CO LTD

Method and system for automatic generation of robot skill primitive library based on large language model

The application discloses a robot skill primitive library automatic generation method and system based on a large language model, and relates to the fields of artificial intelligence and robot software engineering. The method comprises the following steps: adopting a double-level function extraction strategy to extract modular functions and process scripts in a robot code library from a robot task-level python file; based on the extracted robot function code, adopting a preset thinking chain prompt word to guide a large language model to generate global semantic description and to distinguish functions with the same name; based on the function metadata of the robot task level after the same name function is distinguished, adopting a preset thinking chain prompt word to guide the configured large language model to perform perception type code reconstruction with embedded field constraints; based on the reconstructed code, adopting a preset thinking chain prompt word to guide the configured large language model to perform adaptive iterative code evaluation and optimization closed loop to obtain a robot skill primitive library. The application can automatically and reliably generate a robot skill primitive library.
Owner:NAT UNIV OF DEFENSE TECH

Unmanned underwater vehicle data processing and memory management method and system combined with multi-language fusion technology

The invention discloses an unmanned underwater vehicle data processing and memory management method and system combined with a multi-language fusion technology. The method comprises the following steps: receiving and analyzing a user instruction based on a main control end, and determining algorithm calling logic; a compilation type numerical calculation module (such as Matlab DLL) is called through a first algorithm integration interface, and multi-source parameter fusion and correction are executed; calling an interpreted script algorithm module (such as a Python process) through a second algorithm integration interface, and executing artificial intelligence and deep learning quality control; and the cross-language memory management module is used for performing unified management and control on memory interaction of the hosting codes and the non-hosting codes. And the memory management module realizes active recovery of the memory by maintaining a running state class and a queue to be released on the basis of logic of coupling of a service time sequence and a function code. The method solves the problems of memory overflow and system robustness in a multi-language integrated environment, guarantees the high efficiency and reliability of massive observation data processing, and is suitable for the field of unmanned underwater vehicle detection.
Owner:TIANJIN UNIV +1

Graphical User Interface for Sewing Template Machine Control in Electronic Devices

1. Name of the product in this design: Graphical User Interface for Controlling Sewing Template Machines for Electronic Devices. 2. Intended use of this design: for use in an electronic device. 3. The key design feature of this product is its graphical user interface. 4. The image or photograph that best illustrates the design's key features: the front view. 5. Other views are omitted as they are standard design. 6. Purpose of the graphical user interface: This interface is used to draw or adjust sewing stitch diagrams. The main view is the initial interface. Figure 1 shows the interface that appears after clicking "No Baseline" in the lower right corner of the main view. Interface Change State Diagram 2 shows the interface that appears after clicking "Layer 1" below "Front" on the left side of Interface Change State Diagram 1. Interface change state diagram 3 shows the interface after deleting some layers in the lower left corner of interface change state diagram 2. The interface change state diagram 4 shows the interface that appears after clicking "Layer Settings" in the lower right corner of the interface change state diagram 3 and setting the sewing parameters. Interface change state diagram 5 shows the interface that appears when the "up pause" function code is dragged in interface change state diagram 4. Interface Change State Diagram 6 shows the interface that appears after placing the "Pause Up" function code in the "Needle Point List" column in Interface Change State Diagram 5. 7. Other situations requiring explanation: The center of each view in this design is the drawing area, and the content within the drawing area is the content screen.
Owner:SUZHOU INOVANCE TECH CO LTD

Function-level defect localization method based on call graph and multi-level contrastive learning

The application discloses a function-level defect positioning method based on a call graph and multi-level contrast learning, comprising constructing a local call graph containing class nodes and internal function nodes and a global call graph covering all functions; using Light-GCN to perform graph embedding learning on the two kinds of call graphs to generate local and global embedding vectors of the functions; meanwhile, a pre-trained code model is used to extract semantic embedding vectors of function codes, and a pre-trained language model is used to obtain semantic embedding vectors of defect reports; in order to optimize the model performance, a multi-level contrast loss function containing local contrast loss, global contrast loss and semantic contrast loss is designed, the matching relationship between the defect reports and the function embedding is effectively optimized by minimizing the loss function, so that the overall positioning capability is enhanced, and the defect positioning accuracy of the model is significantly improved.
Owner:NANJING UNIV OF POSTS & TELECOMM

OTA upgrading method of vehicle ECU and storage medium

The invention provides an OTA upgrading method for a vehicle ECU and a storage medium, and the method comprises the steps: obtaining a to-be-upgraded file of a target ECU, running the to-be-upgraded file in a simulation twin system, simulating a to-be-verified scene in the simulation twin system through an intelligent reasoning model for each to-be-verified scene in a scene verification library, and carrying out the simulation of the to-be-verified scene in the simulation twin system; and testing whether the to-be-upgraded file has a corresponding expected function in the to-be-verified scene, if not, generating an expected function code corresponding to the to-be-verified scene through the intelligent reasoning model, carrying out file recombination on the to-be-upgraded file, and after simulation of all the to-be-verified scenes is completed, upgrading the to-be-upgraded file. And performing OTA upgrading on the target ECU according to the recombined to-be-upgraded file to ensure that the to-be-upgraded file can adapt to different vehicles, so that the to-be-upgraded file is optimally matched with the whole vehicle system, the function matching degree is improved, the performance of the whole vehicle system is ensured, and the OTA upgrading efficiency is improved.
Owner:CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD

Multi-task shared resource negotiation use method under single-core embedded processor platform

The invention relates to the field of embedded systems, in particular to a multi-task shared resource negotiation using method under a single-core embedded processor platform. According to the method, a resource permission management module, a resource permission application module and a resource permission release module are designed, the resource permission management module is used for initializing a shared resource negotiation function, the resource permission application module is used for enabling a task to obtain shared resource use permission, and the resource permission release module is used for enabling the task to release the shared resource use permission. A section of DDR address space is occupied to record shared resource management information, and a timer hardware peripheral of a processor system is called to deal with the overtime abnormal problem. According to the method, management of negotiation conflict resources among the tasks is realized by calling function codes in the tasks, and exception processing is performed by using the timer hardware peripheral of the processor system, so that the sequence of accessing the same resource by a plurality of tasks is ensured, and behavior conflicts among the tasks are avoided.
Owner:SHANDONG SINOCHIP SEMICON CO LTD

Methods, systems, and machine storage media for providing secure access to sandboxed user-defined functions

This application relates to secure network access from sandboxed applications. Methods, systems, and computer programs are proposed to enable any sandboxed user-defined function code to securely access the Internet via a cloud data platform. The cloud data platform receives remote procedure calls from user-defined functions (UDFs) executing within a sandboxed process. The UDF includes code associated with at least one operation to be performed. The cloud data platform provides an overlay network to establish a secure exit path for external access to the UDF. The cloud data platform enables the UDF executing within the sandboxed process to initiate network calls.
Owner:SNOWFLAKE INC

An adaptive communication protocol system and implementation method for industrial fixture management

The present application belongs to the technical field of jig management, and provides a self-adaptive communication protocol system and implementation method for industrial jig management, which comprises: a control box in communication connection with a jig and sensing components and / or executing components; a server in communication with the control box through an industrial network, for real-name data acquisition, permission closed-loop management, parameter change audit traceability. The communication message adopts a structured frame structure, including a frame start identifier, protocol negotiation information, a message identifier, a function code, an operator identity field, field description information, a variable-length service data payload, network address information, an integrity check field, and a frame end identifier. The function code uniquely indicates a service domain and a service operation type; the payload contains a self-description field. The server maintains a function code register and a field template, the field template defines a field identifier, a field type, a length rule, and optional attributes; the control box frames and sends according to the field template, and the server parses and returns a response message. The present application can solve the problems of data fragmentation, difficulty in real-time tracing, extensive permission control, and non-transparent parameter change in industrial field jig management.
Owner:深圳市天一智能科技有限公司

Evolutionary software vulnerability detection method based on large language model

The application discloses a kind of based on big language model's evolvable software vulnerability detection method, comprising: by regular pattern matching identification Source sentence, based on call graph traversal and data dependence analysis execution function level inter-process slice, build cross-function code context, input the big language model of parameter efficient fine-tuning, output the vulnerability propagation path from Source to Sink;When new vulnerability type needs to be extended, the parameter variation characteristics of old data are extracted by multi-step fine-tuning, and the representative core set is selected by random projection dimension reduction and hybrid distance hierarchical clustering, and the training is played back by mixing new data to alleviate catastrophic forgetting;In the actual use process of tool, the false alarm and the false alarm confirmed by user are collected as feedback signal, the core set is clustered and layered filtered and refined based on perplexity and error prediction analysis, the harmful old knowledge that leads to false alarm and false alarm is removed, and verified new mode is supplemented at the same time, to realize the closed-loop evolution of self-improvement.
Owner:NANJING UNIV

Question and answer pair generation method and device for function code

The application discloses a question and answer pair generation method and device of function code, and relates to the technical field of computers, and comprises the following steps: obtaining a target generation request; obtaining a target annotation and a target code segment corresponding to the target annotation; predicting the question type of the target annotation by using an intention classification model to obtain a target type; and generating a target question and answer pair corresponding to the target type according to the target component information of the target annotation and the target structure information of the target code segment. By means of the application, the technical problem that the question and answer pair of the function code generated by the manual labeling mode cannot better reflect the implementation details of the function code is solved, and the technical effect that the question and answer pair of the function code which can better reflect the implementation details of the function code is generated is achieved.
Owner:JINAN INSPUR DATA TECH CO LTD

Data parsing methods, devices, equipment, media and products

This application provides a data parsing method, apparatus, device, medium, and product. It receives data message frames sent by a water resources monitoring device. The data message frame includes a user data area, which comprises address field data, user data field data, and control field data. The address field data is parsed to obtain the station address of the water resources monitoring device. Based on the function code and station address in the control field data, a target parsing method for the user data field data is determined. The user data field data is then parsed into formatted data according to the target parsing method. The embodiments of this application can improve the data parsing efficiency of water resources monitoring devices.
Owner:CHINA MOBILE M2M +1

Unit test code generation method and device, electronic equipment and storage medium

The present disclosure provides a method and device for generating unit test code, electronic equipment and storage medium, relating to the technical field of computer, especially to the technical field of data processing, artificial intelligence and the like. The specific implementation scheme is as follows: obtaining target function code in inventory code; extracting function information and statement information from the target function code; generating unit test code corresponding to the target function code based on the function information and the statement information; and performing function test on the target function code based on the unit test code.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

A PLC library management method and system based on cloud function-driven architecture

ActiveCN121028661BLogisimBusiness process
This invention relates to the field of industrial automation control and communication systems, and provides a PLC library management method based on cloud function-driven architecture. The method includes defining PLC control logic as library module source files, parsing and function-converting them into cloud functions and uploading them to a cloud function library; dragging the target cloud function into the business process or logic diagram, automatically identifying the corresponding function ID and generating a queue of function execution requests to be called; receiving call requests from the queue, determining whether there are existing cloud function instances available for scheduling; if no available instances are found, dynamically instantiating the target cloud function and performing function calculations based on an event queue mechanism; and filtering out a set of functions to be deployed to edge devices based on the calculation results and distributing them to the edge cloud devices. By combining the PLC library management module with cloud function-driven architecture, the basic unit of PLC cloud computing is reduced to a function, providing finer granularity, allowing users to directly deploy function code, and automatically completing tasks such as data redundancy, load balancing, regional redundancy, and log recording.
Owner:CHINA RAILWAY CONSTR HEAVY IND +1