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

361 results about "Function Code" patented technology

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

Multi-agent control system and control method based on large language model

The invention provides a multi-agent control system based on a large language model. The system comprises an analogue simulation subsystem and a coordination control subsystem. The analogue simulation subsystem comprises a data acquisition module, an initial reward function generation module, an error correction module, a dense reward function generation module and a strategy network updating module, wherein the data acquisition module is used for acquiring a multi-agent reinforcement learning training code; the initial reward function generation module is used for generating an initial reward function code; the error correction module is used for generating executable reward function codes; the dense reward function generation module is used for generating dense reward function codes; and the strategy network updating module is used for obtaining the strategy network with the maximized reward. The coordination control subsystem comprises a data collection module and a strategy distribution module; wherein the data collection module is used for receiving observation data; and the strategy distribution module is used for guiding multiple agents to execute a control task by adopting a strategy network generation action for maximizing rewards based on the observation data.
Owner:INST OF COMPUTING TECH CHINESE ACAD OF SCI

Ultra-low power consumption microcontroller architecture design method and system

The invention relates to the technical field of ultra-low power consumption microcontrollers, and discloses an ultra-low power consumption microcontroller architecture design method and system, and the method comprises the steps: constructing a heterogeneous dual-core processor comprising a high-performance core and a low-power consumption core, and dividing the heterogeneous dual-core processor into a plurality of independent power domains; constructing a sub-threshold voltage operation system on a plurality of independent power supply domains, and configuring a multi-layer storage structure in the heterogeneous dual-core processor; recording task characteristic data by using a multi-level storage structure, executing task dynamic allocation between dual cores, and creating a dynamic task allocation mechanism; and performing static analysis and function block division on the application code based on a dynamic task allocation mechanism to obtain a plurality of function code blocks, and performing storage hierarchy and processor core allocation on the plurality of function code blocks to obtain a function code allocation result. According to the method, the dynamic migration of the workload and the optimal resource allocation are realized, and the energy consumption of the microcontroller in various working scenes is reduced.
Owner:GUANGDONG ZHONGSHIFA INTELLIGENT TECH CO LTD

Protocol conversion adaptation method and device, industrial fusion gateway and data transmission method

The invention provides a protocol conversion adaptation method and device, an industrial convergence gateway and a data transmission method, and belongs to the technical field of network protocol conversion, and the method comprises the steps: receiving state data periodically sent by an industrial device through an industrial protocol or an industrial protocol data packet returned in response to a query request; extracting key fields in the received industrial protocol data packet, wherein the key fields comprise a source address, a destination address, a function code, a register address and data content; and utilizing a programmable platform and a language to convert the analyzed data into a uniform 5G data packet format which comprises a source address, a target address, a protocol type, a timestamp and a priority field. According to the invention, efficient analysis and forwarding of a mainstream industrial protocol are realized, and data transmission under a 5G network low-delay characteristic is realized; multi-protocol dynamic analysis and expansion are supported, only P4 codes need to be updated when protocols are newly added, hardware does not need to be replaced, and flexibility and adaptation capacity are improved; efficient conversion and packaging are achieved, and the data transmission speed and the overall performance of the system are improved.
Owner:BEIJING JIAOTONG UNIV

Processing system of single-precision configurable matrix operation unit based on RISC-V instruction expansion

ActiveCN119536808AAcceleration and efficiencyImprove accelerationInstruction analysisProgram code adaptionComputer architectureCoprocessor
The invention relates to the technical field of integrated circuits, in particular to a processing system of a single-precision configurable matrix operation unit based on RISC-V instruction expansion, which comprises an RISC-V processor used for executing a software program and identifying a user-defined expansion instruction, and the RISC-V processor is connected with the single-precision configurable matrix operation unit through a user-defined coprocessor interface; the single-precision configurable matrix operation unit comprises an instruction response and decoding module and an instruction retirement and write-back module, and the instruction response and decoding module is used for receiving an instruction function code, source operation data and a destination register number and decoding the instruction function code; after decoding is completed, different execution units are selected according to a decoding result to send corresponding control signals; and after the execution unit completes the corresponding task, the instruction retirement and write-back module returns an execution result and a completion signal to the RISC-V processor, so that execution of a self-defined extension instruction is completed. According to the system, the matrix operation speed can be accelerated through bottom hardware under limited hardware resource consumption.
Owner:FUDAN UNIVERSITY

Industrial database protection method based on multi-mode authentication and encryption

The invention discloses an industrial database protection method based on multi-modal authentication and encryption, which belongs to the technical field of data processing and comprises the following steps: acquiring input data to be input into an industrial database; a multi-mode authentication gateway is adopted to verify user identity information, and a biological feature, a dynamic device fingerprint and a quantum random number token are fused to generate a third-level identity verification identifier; after the three-level identity verification is passed, determining an encryption algorithm according to the sensitive level of the industrial data transmitted in real time and the system load state, and encrypting the industrial data through the encryption algorithm; and for the encrypted industrial data, analyzing the function code of the Modbus message of the industrial data transmitted in real time, establishing a white list instruction set, and intercepting the industrial data of the function code which is not in the white list instruction set. According to the industrial database protection method based on multi-modal authentication and encryption, the problem of how to improve the real-time response capability of a system on the premise of ensuring the security of industrial data is solved.
Owner:KINGWAY FOSHAN ELECTRONICS TECH CO LTD

Code file rewriting method and device based on large language model

The invention relates to a code file rewriting method and device based on a large language model, and the method comprises the steps: analyzing a source code file, obtaining the structure of a source code, and enabling the structure of the source code to comprise the definition of each function and the position of each function code in the source code file; respectively inputting each function code into a large language model, and respectively processing according to each cue word to complete rewriting of each function code; and combining each rewritten function code corresponding to each position in the source code file to form a rewritten code file. According to the invention, a scheme for optimizing and rewriting the codes based on the large language model and the file level can be provided.
Owner:KYLAND TECH CO LTD

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

Test case generation method and device based on intelligent agent, equipment and medium

The invention discloses an agent-based test case generation method and device, equipment and a medium, and relates to the technical field of software testing, the method comprises the following steps: in response to a test case generation instruction for a target function, displaying a test case framework of the target function; in response to an interaction instruction for a preset position in the test case framework, obtaining a target test code of the target function; wherein the interaction instruction is used for triggering interaction between a first agent and a second agent, and the first agent is configured to be used for analyzing a logic structure of a function code of a target function to obtain a structure code of a test point of the target function; the second intelligent agent is configured to be used for generating a target test code based on the structure code of the test point; and displaying the target test code at a preset position to obtain a target test case of the target function. The problem that the generation accuracy of the test case is low can be solved.
Owner:BEIJING YOUZHUJU NETWORK 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

Water conservancy data analysis method adaptive to multiple protocols

The invention provides a water conservancy data analysis method adaptive to multiple protocols, and aims to solve the problem of water conservancy data analysis of different protocols. The system firstly receives to-be-analyzed water conservancy data from multiple protocols. The data comprises protocol data which can work on a specific physical layer and adopt a function code mode to agree register data access read-write. The system identifies the specific protocol type corresponding to the data by analyzing the specific field in the to-be-analyzed data, and determines the working mode according to the characteristics of the protocol. And once the protocol type is identified, the system calls a preset protocol analyzer and analyzes the data according to the specific characteristics of the protocol type, and the analyzed result data is output, uploaded and stored to the data server module for subsequent use and analysis. The method can efficiently adapt to multiple protocols, realizes automatic analysis of water conservancy data of different protocols, and is suitable for intelligent data processing requirements of the water conservancy industry.
Owner:SHENZHEN DONGSHEN INTELLIGENT TECH CO LTD

Data storage position dynamic optimization method and device, equipment and storage medium

The invention provides a data storage position dynamic optimization method, device and equipment and a storage medium, and the method comprises the steps: connecting expansion card equipment with a GPU through a PCIe interface on the GPU, and carrying out BDF structure scanning and space mapping to obtain storage space configuration information; preprocessing a shared keyword code segment of the GPU kernel function code and inserting an expansion card identifier, and configuring data transmission parameters to obtain initial configuration of a CUDA shared storage mechanism; the method comprises the following steps of: partitioning a running capacity region and a high-speed cache region of a storage space of expansion card equipment, and performing thread synchronization and parallel calculation on to-be-operated data of a GPU (Graphics Processing Unit) through SLC (Single Level Cell) data block partitioning to obtain running state information of the storage space; and dynamically migrating the distribution of the to-be-operated data between the operation capacity region and the cache region according to the operation state information. By dynamically optimizing the data storage position, the utilization rate of storage resources is improved, the data access delay is reduced, the GPU computing process is accelerated, and the overall system performance is improved.
Owner:SHENZHEN QUANXING TECH CO LTD

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

Serial port data message queue processing method of gateway machine equipment and gateway machine equipment

The invention discloses a serial port data message queue processing method of gateway machine equipment and the gateway machine equipment, which adopt a Modbus protocol as a communication protocol, and store sensor data points with continuous register addresses, same read-write function codes and consistent four remote types in the same sensor into a processing data stack; the processing data heap is assembled into permanent Modbus message information; message processing instructions of the remote control information points or the remote regulation information points are assembled into temporary Modbus message information, and feedback information of the corresponding remote signaling information points and the corresponding remote measurement information points are also assembled into temporary Modbus message information; the Modbus message information is added into a Modbus message information processing queue of a serial port in a mode of combining regular traversal of a message storage pile and an upper computer instruction, and the serial port takes out the Modbus message information in the Modbus message information processing queue one by one for message processing. According to the method, the timeliness of temporary Modbus message information processing is considered while the permanent Modbus message information processing regularity is realized.
Owner:NANJING ZHENGTU INFORMATION TECH CO LTD

Modbus protocol security enhancement method and system in unicast communication scene

The invention provides a Modbus protocol security enhancement method and system in a unicast communication scene, and relates to the technical field of industrial control networks. Comprising the following steps: sharing a first ciphertext and a second ciphertext between a master node and a slave node; the master node generates a first message authentication code according to the second ciphertext, a preset key and the first random number, and sends the first message to the slave node by using the target function code; the slave node authenticates the identity of the master node according to the first message authentication code, the first ciphertext, the preset key and the second random number; when the slave node successfully authenticates the identity of the master node, the slave node generates a second message authentication code according to the first ciphertext, the preset key and the second random number, and sends a second message to the master node by using the target function code; and the master node authenticates the identity of the slave node according to the second message authentication code, the second ciphertext, the preset key and the first random number. Therefore, the validity of the identities of the two communication parties can be ensured, and the integrity and confidentiality of the data in the transmission process are guaranteed.
Owner:XIDIAN UNIV

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

Scheduling access configuration method and system for plant station equipment

The invention discloses an automatic configuration method for dispatching access of plant station equipment, and the method comprises the steps: A, obtaining communication data from the plant station equipment, and enabling the communication data to comprise a frame structure field; b, based on the frame structure field, identifying a communication protocol type by comparing an initial identifier, a function code field and a frame length field; c, in combination with the communication protocol type and the equipment attribute field, an access configuration strategy template is matched, and the template comprises a communication parameter set, an interface adaptation rule and a signal mapping relation; d, generating a structured configuration data file according to the configuration strategy template; and E, deploying the configuration data file to a scheduling system to complete equipment communication registration and data interaction initialization.
Owner:JILIN POWER SUPPLY COMPANY STATE GRID JILIN ELECTRIC POWER

GUI (Graphical User Interface) program fuzzing test method and system, computer equipment and storage medium

The invention discloses a GUI (Graphical User Interface) program fuzz test method and system, computer equipment and a storage medium, and the method comprises the steps: firstly designing a hyper-call interface of a KVM (Keyboard Virtual Machine), and then designing a QEMU (Query Empirical Mode Unit) monitor for responding to a call number and a corresponding function code of the hyper-call interface of the KVM; the method comprises the following steps: writing a code library in which a call number and a corresponding function code are packaged for external call, injecting the code library into a target GUI program, creating a Windows agent layer under a Windows system, finishing a fuzzy test on the target GUI program through the Windows agent layer, creating a Linux agent layer under a Linux system, and finishing a fuzzy test on the target GUI program through the Linux agent layer. According to the method, the fuzzy test range of the GUI program can be expanded, and the fuzzy test speed of the GUI program is increased.
Owner:HUNAN FANLIAN XINAN INFORMATION TECH CO LTD

Intrusion detection method, system and device for roadside heterogeneous device network

The invention belongs to the technical field of intrusion detection, and relates to an intrusion detection method, system and device for a roadside heterogeneous device network, and the method comprises the steps: calculating an action feature value for describing the change condition of a function code in front and back frames of data according to the function code in each frame of data, and obtaining an action feature vector; calculating each function code in each frame of data to read a time interval of a previous register with the same serial number to obtain a time interval vector; constructing a network behavior vector through the action feature vector and the time interval vector; clustering network behavior vectors constructed by normal network data through an anomaly detection model based on a clustering algorithm to obtain a central point and a threshold distance of each cluster; and judging whether the data points are abnormal data or not according to whether the network behavior vectors of the data points in the network data meet the characteristics of the outliers or not. The zero-day attack detection method is small in computing power requirement and can effectively detect zero-day attack at a low false alarm rate.
Owner:SHANDONG HI SPEED GRP CO LTD +1

Obfuscated code encryption method and apparatus, and device and readable storage

The present application discloses a method for encryption of obfuscation code, an apparatus, a device and a readable medium. The method for encryption of obfuscation code includes: obtaining position information of all of function codes in a to-be-encrypted program; based on the position information, determining, one by one, whether a skipping instruction exists in the corresponding function code; when a skipping instruction exists in one of the function codes, saving the skipping instruction and corresponding address information into a decryption datum body, and replacing the skipping instruction with a breakpoint instruction; and in response to execution of the preceding one step being completed for all of the function codes, based on the decryption datum body and an encrypted program obtained by replacing the instructions, generating an encrypted file.
Owner:INSPUR SUZHOU INTELLIGENT 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

Method for developing tool function for intelligent agent through computing power of intelligent computing center

PendingCN120179225AResource allocationVersion controlManufacturing intelligenceInteraction interface
The invention provides a method for developing a tool function for an intelligent agent through computing power of an intelligent computing center, and relates to the technical field of intelligent computing centers, intelligent computing centers and computing power infrastructures, and the method comprises the following steps: S1, a manufacturing intelligent agent receives task information provided by a user through an interactive interface and used for developing the tool function for a target intelligent agent; s2, the manufacturing agent determines development requirements of the tool function according to the task information, and the development requirements at least comprise function requirements of the tool function; and S3, the manufacturing agent automatically generates a code of the tool function of the target agent according to the development requirement of the tool function. In the invention, through the manufacturing agent running in the intelligent computing center, the process of communicating with the user, confirming the development demand, automatically completing the development of the tool function of the target agent and replacing the manual development of the tool function code can be realized, so that the development cost is effectively saved, the intelligent computing center can provide sufficient computing power resources, and the development efficiency is improved. And the development efficiency is greatly improved.
Owner:DATACANVAS LTD

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

Printing method and device of Excel-based printing template system

The invention provides a printing method and device of an Excel-based printing template system. The method comprises the following steps: making an Excel template according to a receipt printing template requirement of a unit; carrying out the binding of the Excel template; the Excel template obtains data from a database, data filling is carried out through the Apache POI technology, and a complete Excel file filled with the data is generated; converting the Excel file into an HTML (Hypertext Markup Language) code; matching all bound functions in the HTML code through a regular expression, running corresponding function code blocks, and replacing the bound functions with function running results; according to the printing size configured by the template, a script is embedded in an HTML code, and the scaling is adjusted; and the browser executes the printing operation to complete printing, so that the user can quickly print, and the operation difficulty is reduced.
Owner:FUJIAN BOSI E-GOVERNMENT TECH CO LTD

Performance monitoring method and device for television application and electronic equipment

The invention relates to a performance monitoring method and device for a television application and electronic equipment, and belongs to the technical field of smart televisions, and the monitoring method comprises the steps: combining monitoring items of the television application with byte code instrumentation to obtain a mixed function class or a mixed function method and a function set, and selecting the required monitoring items, according to the method, the required target function class or the target function method is searched in the function set, the performance of the television application is monitored through the target function class or the target function method so as to obtain the monitoring data, and when the performance monitoring logic needs to be modified, the performance monitoring logic can be modified by combining the byte code instrumentation technology. The performance monitoring logic can be changed only by inserting the modified function code into the function class or the function method corresponding to the original monitoring item, the development efficiency is effectively improved, and then the development cost is reduced.
Owner:WUXI YSTEN TECH

Equipment access adaptation code generation method and system, equipment and medium

The invention provides a device access adaptation code generation method and system, a device and a medium, and the code generation method comprises the steps: inputting the behavior of a target device based on a declarative description language, and obtaining a first input result; on the basis of a declarative description language, performing complementation description input on the design adapted to the target equipment to obtain a second input result; deducing a program flow chart of a target function of the to-be-implemented code according to the first input result and the second input result; and generating an implementation code of the target function according to the program flow chart of the target function and a preset rule. According to the method, equipment behaviors are modeled through the declarative description language, and when equipment of the same kind is accessed but equipment of different manufacturers is accessed, input information can be repeatedly utilized, so that repeated labor is avoided; and meanwhile, a derivation algorithm is introduced to solve a program flow chart realized by target function codes, the program flow chart can be used as input of code generation and can also be used as a carrier for realizing logic through manual inspection, and the code inspection efficiency is improved.
Owner:GUANGDONG ESHORE TECH

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