CN116662038B - Industrial information detection method, device, equipment and medium based on shared memory - Google Patents

Industrial information detection method, device, equipment and medium based on shared memory Download PDF

Info

Publication number
CN116662038B
CN116662038B CN202310913486.7A CN202310913486A CN116662038B CN 116662038 B CN116662038 B CN 116662038B CN 202310913486 A CN202310913486 A CN 202310913486A CN 116662038 B CN116662038 B CN 116662038B
Authority
CN
China
Prior art keywords
shared memory
information
detected
memory
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310913486.7A
Other languages
Chinese (zh)
Other versions
CN116662038A (en
Inventor
方超群
贾明
王凯
曹彬
胡江洪
陈立名
田楷
焦璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fitow Tianjin Detection Technology Co Ltd
Original Assignee
Fitow Tianjin Detection Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fitow Tianjin Detection Technology Co Ltd filed Critical Fitow Tianjin Detection Technology Co Ltd
Priority to CN202310913486.7A priority Critical patent/CN116662038B/en
Publication of CN116662038A publication Critical patent/CN116662038A/en
Application granted granted Critical
Publication of CN116662038B publication Critical patent/CN116662038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses an industrial information detection method, device, equipment and storage medium based on a shared memory. Comprising the following steps: loading the shared memory based on the shared memory configuration file and the memory management component so that the front end and the rear end have the authority of reading and writing the shared memory; when the front end receives the industrial information to be detected, the industrial information to be detected is stored in the shared memory by calling the memory management component; the back end directly reads the industrial information to be detected from the shared memory by calling the memory management component, and stores back end information generated by detecting the industrial information to be detected into the shared memory; the front end reads the back end information in the shared memory by calling the memory management component to acquire an industrial information detection result. By creating the shared memory to provide a way for front-end and back-end communication, the front end only needs to store the industrial information to be detected into the shared memory through the calling interface, and the back end does not need to copy additional data, so that the data transmission speed and the target detection precision are improved.

Description

Industrial information detection method, device, equipment and medium based on shared memory
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a medium for detecting industrial information based on a shared memory.
Background
In industrial object detection, a remote transmission protocol is generally used to send image data to a data processing server at a back end through a network for processing.
However, in a large-scale industrial object detection scenario, a large amount of image data needs to be transmitted and processed in real time, and conventional remote transmission protocols may not meet the requirements in this respect. Particularly when the detection device and the data processing server are located in the same machine, using these protocols for remote transmission may cause unnecessary transmission delay and data redundancy, resulting in bottlenecks in transmission performance, affecting the efficiency and accuracy of target detection.
Disclosure of Invention
The invention provides an industrial information detection method, device, equipment and storage medium based on a shared memory, which can be used for carrying out efficient and accurate industrial information detection based on the shared memory.
According to an aspect of the present invention, there is provided an industrial information detection method based on a shared memory, including: loading a shared memory based on a shared memory configuration file and a memory management component so that the front end and the rear end have the authority of reading and writing the shared memory;
When the current end receives the industrial information to be detected, the industrial information to be detected is saved in the shared memory by calling the memory management component;
the back end directly reads the industrial information to be detected from the shared memory by calling the memory management component, and stores back end information generated by detecting the industrial information to be detected into the shared memory;
and the front end reads the back end information in the shared memory by calling the memory management component so as to acquire an industrial information detection result.
According to another aspect of the present invention, there is provided an industrial information detecting apparatus based on a shared memory, including:
the shared memory loading module is used for loading the shared memory based on the shared memory configuration file and the memory management component so that the front end and the rear end have the authority of reading and writing the shared memory;
the to-be-detected industrial information storage module is used for storing the to-be-detected industrial information into the shared memory by calling the memory management component when the to-be-detected industrial information is received at the current end;
the back-end message storage module is used for directly reading the industrial information to be detected from the shared memory by calling the memory management component at the back end and storing back-end messages generated by detecting the industrial information to be detected into the shared memory;
And the back-end message reading module is used for reading the back-end message in the shared memory by the front-end through calling the memory management component so as to acquire an industrial information detection result.
According to another aspect of the present application, there is provided a computer apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a shared memory-based industrial information detection method according to any one of the embodiments of the present application.
According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement an industrial information detection method based on a shared memory according to any of the embodiments of the present application when executed.
According to the technical scheme, the shared memory is created to provide a way for front-end and back-end communication, the front end only needs to store industrial information to be detected into the shared memory through the calling interface, the back end does not need to copy additional data, and the whole information interaction process can be completed only by reading the shared memory, so that the data transmission speed is improved, the redundancy in the data transmission process is reduced, and therefore the accuracy of target detection is improved. Aiming at the fact that the programming mode in the prior art is prone to traditional functional programming, the application can complete the construction of a program interface by simply calling a plurality of APIs, thereby skillfully reducing the complexity of network programming, enabling a developer to concentrate on service logic processing without paying excessive attention to network configuration and optimization, and further improving the efficiency of target detection.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of an industrial information detection method based on a shared memory according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a shared memory according to a first embodiment of the present invention;
FIG. 3 is a flowchart of an industrial information detection method based on a shared memory according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an industrial information detecting device based on a shared memory according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, "comprises," "comprising," and "having" and any variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or device that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or device.
Example 1
Fig. 1 is a flowchart of a method for detecting industrial information based on a shared memory according to an embodiment of the present invention, where the method may be performed by an industrial information detecting device based on a shared memory, the industrial information detecting device may be implemented in a form of hardware and/or software, and the industrial information detecting device may be integrally configured in an electronic device. As shown in fig. 1, the method includes:
step S101, loading the shared memory based on the shared memory configuration file and the memory management component so that the front end and the back end have the authority to read and write the shared memory.
Optionally, before loading the shared memory based on the shared memory configuration file and the memory management component, the method further includes: receiving a shared memory configuration file preset by a user, wherein the shared memory configuration file comprises shared memory creation parameters, and the shared memory creation parameters comprise: shared memory name, shared memory size, number of cache areas contained in each shared memory, and maximum length requirement of information stored in the cache areas; and storing the shared memory configuration file locally according to a specified path, and creating a memory management component associated with the shared memory, wherein the memory management component comprises a shared memory function loading interface, an industrial information function interface to be detected placed in the front end, an industrial information function interface to be detected acquired by the rear end, a rear-end return rear-end message function interface and a rear-end message function interface acquired by the front end.
Specifically, in this embodiment, the front end for receiving the industrial information to be detected and the back end for processing the industrial information to be detected are both located on the same terminal device, so that in order to increase the speed of data transmission between the front end and the back end, the shared memory with a specified number and size can be allocated on the terminal device according to the requirement, and the front end and the back end can quickly perform information interaction based on the shared memory. Before loading the shared memory on the terminal device, the terminal device receives a shared memory configuration file preset by a user, and the shared memory configuration file includes shared memory creation parameters, where the following codes are examples of the shared memory configuration file:
"shm1":{
"max_image_width": 2000,
"max_image_height": 1000,
"max_image_channel": 3,
"buff_nums": 5,
"comm_bytes_length": 10485760,
}
wherein, shm1 is the name of the shared memory, max_image_width is the maximum picture width that may occur in the section of shared memory, max_image_height is the maximum picture height that may occur in the section of shared memory, and max_image_channel is the maximum number of channels of pictures that may occur in the section of shared memory;
the buff_num is the size that needs several buffers in the segment of shared memory, and comm_bytes_length is the size reserved for the message passing area in a single buffer, in bytes, typically 10485760 bytes = 10MB size is recommended. The shared memory names in the shared memory configuration file should have uniqueness on the host, because a plurality of shared memories can be created at the same time, when the subsequent front end and the back end perform message interaction through the shared memories, which shared memory is used can be determined according to the shared memory names with uniqueness, so as to avoid confusion of interaction information.
It should be noted that, after the terminal device obtains the shared memory configuration file, the terminal device will save the shared memory configuration file locally according to the designated path, and create a memory management component associated with the shared memory, where the memory management component includes loading the shared memory function interface, placing the front end into the industrial information function interface to be detected, obtaining the industrial information function interface to be detected by the back end, returning the back end to the back end message function interface, and obtaining the back end message function interface by the front end. The loading shared memory function interface is loadConfigFromFile, and the code definition form is as follows: void loadConfigFromFile (const char) is specifically used to obtain shared memory information from the shared memory configuration file into the process, such as shared memory name, shared memory pre-allocation size, shared memory pointer information, etc., where fileName refers to the existence of a locally stored specified path in the shared memory. The front end is put into an industrial information function interface to be detected to be a putImgAndMsgByMat, and the code definition form is as follows: returnFrontPut putImgAndMsgByMat (const unsigned char pData, unsiged long long width, unsiged long long height, unsiged long long channel, const char shmName, int buffid=0, const char tag=null, void message=null, int messageLength =0, int message type=message type:: string) is specifically implemented by placing picture data and messages into a buffer in a manner of decoding data in a one-dimensional picture memory. The back end obtains the industrial information function interface to be detected as getImgAndMsg, and the code definition form is as follows: returnBackGet getImgAndMsg (const char. ShmName, int buffid=0), specifically to obtain the detection industrial information sent by the front end from the buffer. The back-end return back-end message function interface is putMsg, and the code definition form is: the specific effect of the void putMsg (const char, int buffId, void message=null, int messageLength =0, int message type=message type:: string) is to place the backend message into a designated buffer, and then receive the backend message from the front end. The front-end acquired back-end message function interface is getMsg, and the code definition form is: returnFrontGet getMsg (const char. ShmName, int buffid=0), specifically, a message returned after the back-end processes the picture is obtained from the buffer. Of course, the function interfaces included in the memory management component are only illustrated in the present embodiment, and the specific types of the function interfaces in the memory management component are not limited.
Optionally, loading the shared memory based on the shared memory configuration file and the memory management component includes: the front end or the back end calls a shared memory function loading interface in the memory management assembly; reading shared memory creation parameters in a shared memory configuration file from a designated path through loading a shared memory function interface; and loading the shared memory with the specified quantity and the specified size locally according to the shared memory creation parameters.
It should be noted that, in this embodiment, the shared memory may be created by a front end or may be created by a back end, and specifically, the creation main body of the shared memory is determined according to the starting time, for example, when the front end starts first, the front end calls a loadConfigFromFile of a loadshared memory function interface, reads a shared memory configuration file from a specified path through the loadshared memory function interface, obtains shared memory creation parameters in the shared memory configuration file, and locally loads a specified number and a specified size of the shared memory according to the shared memory creation parameters, for example, creates a shared memory named as shm1, the number of buffers is 5, the maximum picture width possible to occur in the shared memory is 2000, the maximum picture height possible to occur in the shared memory is 1000, the maximum channel number possible to occur in the shared memory is 3, and the reserved size of a passive message transfer area in each buffer is 10485760 bytes.
It should be noted that, since the shared memory configuration One configuration will coordinate to apply several named shared memories One Share to the system, and several buffer areas are divided in each shared memory, as shown in fig. 2, when One Share of shared memories including 5 buffer areas needs to be applied, each buffer Area includes three parts of Block Header information Block Header, picture storage Area Image buffer and passive message transfer Area Comm Area, the picture storage Area is used for storing an Image to be detected in the industrial information to be detected, the passive message transfer Area is used for storing interactive information of front end and rear end, and the Block Header message Block Header includes Block status code status, type tag of the Image to be detected, real height readheight ty, real width realdth, real channel realChannel, message type message of front end message in the industrial information to be detected and message length message. The tag is set by the front-end write buffer area, namely the buff area, so as to inform the back-end of the necessary parameter information of the picture; the realWidth is the real width of the picture, and is set by the front end writing the target buffer area, so that the rear end can understand the real data of the one-dimensional picture in the memory into a picture tensor form; the realignment is the real high of the picture, and is set by the front end writing the target buffer area, so that the rear end can understand the real data of the one-dimensional picture in the memory into a picture tensor form; the realChannel is a real channel of the picture, and is set by the front end writing the target buffer area, so that the rear end can understand real data of the one-dimensional picture in the memory into a picture tensor form; the messageType is a message type, and is set when the front end sends a message or replies to the message, such as String (0) and Json (1); the message length is the message length, and is set when the front end sends the message or the back end replies to the message. The block code blockstatus comprises three states, namely: front go represents the information returned by the back-end that the front-end has taken. Marking the end of a round of information exchange, which also means that the buff area returns to the initial state; front end represents that the front end finishes writing information into the cache area; the backover represents that the back end finishes processing the information in the buffer area and returns a corresponding result, namely finishing writing the information.
Step S102, when the front end receives the industrial information to be detected, the industrial information to be detected is saved into the shared memory by calling the memory management component.
Optionally, the storing the industrial information to be detected in the shared memory by calling the memory management component includes: determining a target cache region in the shared memory by calling the front end of the memory management component to put into an industrial information function interface to be detected; storing the image to be detected in the industrial information to be detected in a picture storage area of a target cache area, and storing the front-end message in the industrial information to be detected in a passive message transmission area of the target cache area; storing the type label, the real height, the real width, the real channel, the message type and the message length of the front-end message of the detected image into the block header information of the target cache area; and updating the block status code in the block header information into a front-end information writing completion status through the memory management component.
Specifically, in the process of an industrial defect detection project, the front end simultaneously collects color pictures with the width of 2000 and the height of 1000 from five cameras each time, transmits the color pictures to the rear end for detection, and sequentially calls or multithreads call the front end of the memory management component to be placed into an industrial information function interface to be detected to determine a target cache region in the shared memory after the front end receives the five pictures from the cameras. When the rear end has only one model, in this embodiment, an idle buffer area may be arbitrarily selected from the five buffer areas as a target buffer area, and when the rear end has a plurality of different models to process images, the front end may establish a correspondence between the camera and the buffer area in advance, for example, an image collected by the camera 1 is stored in the buffer area 1, an image collected by the camera 2 is stored in the buffer area 2. Of course, this embodiment is merely illustrative, and the specific determination mode of the target buffer area is not limited.
After determining the target buffer area, for example, buff1, the to-be-detected industrial information includes the to-be-detected image and the front message, and the front message specifically includes a specific processing mode for the to-be-detected image, so that the front end stores the to-be-detected image in a picture storage area of the target buffer area, stores the front message in a passive message transmission area of the target buffer area, and places the picture and the message into the shared memory and waits for the rear end to read. Meanwhile, the front end also stores the associated information of the picture and the message into the block header information of the target cache area, for example, the type label, the real height, the real width, the real channel and other related information of the picture or the message, and when the associated information is determined not to meet the storage format requirement of the shared memory, the storage of the picture or the message in the target cache area is stopped, for example, when the maximum width of the picture stored in the cache area is 2000, but the maximum width of the picture obtained from the camera is 5000, and because 5000 exceeds the maximum bearing capacity of the shared memory, the storage process of the picture is stopped.
It should be noted that, since the block header message includes the block status code, the memory management component updates the status code, and the API in front-end and back-end communication ensures that the events are executed in the correct order by polling the status code, when determining that the front-end writes the picture and the message into the target buffer area, the memory management component updates the block status code into the front-end writing information finishing status, i.e. front-end.
Step S103, the back end directly reads the industrial information to be detected from the shared memory by calling the memory management component, and stores the back end information generated by detecting the industrial information to be detected into the shared memory.
Optionally, the back-end directly reads the industrial information to be detected from the shared memory by calling the memory management component, and stores a back-end message generated by detecting the industrial information to be detected into the shared memory, including: the back end reads the image to be detected from the picture storage area of the target cache area by calling the back end in the memory management assembly to acquire the industrial information function interface to be detected, and reads the front-end message from the passive message transmission area; reading an image detection processing mode from the front-end message, and carrying out detection processing on an image to be detected according to the image detection processing mode to generate a back-end message; the back end returns back end message function interface to store back end message into passive message transfer area of target buffer area by calling back end in memory management assembly; and updating the block status code in the block header information into a rear-end information writing completion status through the memory management component.
Specifically, the back end in this embodiment performs periodic event polling, so when the back end determines that the front end has written information through reading the block status code, the back end in the memory management component is called to obtain the industrial information function interface getimgcandmsg to be detected, the images to be detected are respectively read from the image storage area of the target buffer area, the front end message is read from the passive message transmission area, and the images to be detected are detected according to the image detection processing mode in the front end message to generate the back end message, and the industrial information detection result, for example, the parts in the image are determined to be undamaged as qualified products in the back end message. And the back end can call a back end return back end message function interface putMsg in the memory management component to store the back end message in a passive message transfer area of the target cache area, namely, the industrial information to be detected of the back end is read from the cache area buff1, and the corresponding back end message of the processing result aiming at the industrial information to be detected can be stored in the cache area buff1 continuously.
It should be noted that, the memory management component is responsible for updating the status code blockstatus, and when determining that the back end stores the processing result of the industrial information to be detected, that is, the back end message, in the target cache area, the memory management component updates the block status code to a back end information writing completion status, that is, back over.
In step S104, the front end reads the back end message in the shared memory by calling the memory management component to obtain the industrial information detection result.
Optionally, the front end reads the back end message in the shared memory by calling the memory management component, including: the front end acquires the back end message from the passive message transfer area of the target cache area by calling a front end acquisition back end message function interface in the memory management assembly, and takes the back end message as an industrial target detection result; and updating the block status code in the block header information to the front end read information through the memory management component.
Specifically, the front end in this embodiment also performs periodic event polling, and when the front end determines that the back end has written information by reading the block status code, the front end in the memory management component is called to acquire the back end message function interface getMsg, acquire the back end message from the target cache area, and use the back end message as an industrial information detection result, and similarly to the back end, when the front end stores the industrial information to be detected in the buff1, the front end correspondingly reads the back end message from the buff 1. At this time, the memory management component updates the block status code to the information status returned by the front-end after the front-end has been taken out, i.e. frontgo.
It should be noted that, in this embodiment, a platform is provided for front-end and back-end communications by means of a shared memory, so that the limitation of the traditional network transmission on the data transmission efficiency is avoided, and the data transmission degree is significantly improved. And the front end only needs to copy the picture data to the shared memory directly through an application program interface (Application Programming Interface, API), and the back end only needs to read the shared memory without additional data copying, thus completing the whole information exchange flow. This approach, which approximates the way local program memory is operated, is compact and efficient. In addition, because the IO speed of the memory is significantly superior to that of the hard disk and the network interface, extremely low latency is achieved by using the shared memory as a connection between different programs. Meanwhile, due to the high capacity characteristic of the shared memory, the encoding and decoding and queue transmission processes of the data are greatly reduced, and the stability and consistency of the data are further enhanced. The programming mode of the embodiment is prone to traditional functional programming, and the program interface can be built by simply calling a plurality of APIs. This approach reduces the complexity of network programming so that developers can concentrate on business logic processing without undue attention to network configuration and optimization.
According to the embodiment of the invention, the shared memory is created to provide a way for front-end and back-end communication, the front end only needs to store the industrial information to be detected into the shared memory through the calling interface, the back end does not need to copy additional data, and the whole information interaction process can be completed only by reading the shared memory, so that the data transmission speed is improved, the redundancy in the data transmission process is reduced, and the accuracy of target detection is improved.
Example two
Fig. 3 is a flowchart of an industrial information detection method based on a shared memory according to a second embodiment of the present invention, where, based on the above embodiment, after an industrial information detection result is obtained, the industrial information detection result is further checked, as shown in fig. 3, and the method includes:
step S201, loading the shared memory based on the shared memory configuration file and the memory management component so that the front end and the back end have the authority to read and write the shared memory.
Optionally, before loading the shared memory based on the shared memory configuration file and the memory management component, the method further includes: receiving a shared memory configuration file preset by a user, wherein the shared memory configuration file comprises shared memory creation parameters, and the shared memory creation parameters comprise: shared memory name, shared memory size, number of cache areas contained in each shared memory, and maximum length requirement of information stored in the cache areas; and storing the shared memory configuration file locally according to a specified path, and creating a memory management component associated with the shared memory, wherein the memory management component comprises a shared memory function loading interface, an industrial information function interface to be detected placed in the front end, an industrial information function interface to be detected acquired by the rear end, a rear-end return rear-end message function interface and a rear-end message function interface acquired by the front end.
Optionally, loading the shared memory based on the shared memory configuration file and the memory management component includes:
the front end or the back end calls a shared memory function loading interface in the memory management assembly; reading shared memory creation parameters in a shared memory configuration file from a designated path through loading a shared memory function interface; and loading the shared memory with the specified quantity and the specified size locally according to the shared memory creation parameters.
Step S202, when the front end receives the industrial information to be detected, the industrial information to be detected is saved into the shared memory by calling the memory management component.
Optionally, the storing the industrial information to be detected in the shared memory by calling the memory management component includes: determining a target cache region in the shared memory by calling the front end of the memory management component to put into an industrial information function interface to be detected; storing the image to be detected in the industrial information to be detected in a picture storage area of a target cache area, and storing the front-end message in the industrial information to be detected in a passive message transmission area of the target cache area; storing the type label, the real height, the real width, the real channel, the message type and the message length of the front-end message of the detected image into the block header information of the target cache area; and updating the block status code in the block header information into a front-end information writing completion status through the memory management component.
In step S203, the back end directly reads the industrial information to be detected from the shared memory by calling the memory management component, and stores the back end message generated by detecting the industrial information to be detected into the shared memory.
Optionally, the back-end directly reads the industrial information to be detected from the shared memory by calling the memory management component, and stores a back-end message generated by detecting the industrial information to be detected into the shared memory, including: the back end reads the image to be detected from the picture storage area of the target cache area by calling the back end in the memory management assembly to acquire the industrial information function interface to be detected, and reads the front-end message from the passive message transmission area; reading an image detection processing mode from the front-end message, and carrying out detection processing on an image to be detected according to the image detection processing mode to generate a back-end message; the back end returns back end message function interface to store back end message into passive message transfer area of target buffer area by calling back end in memory management assembly; and updating the block status code in the block header information into a rear-end information writing completion status through the memory management component.
In step S204, the front end reads the back end message in the shared memory by calling the memory management component to obtain the industrial information detection result.
Optionally, the front end reads the back end message in the shared memory by calling the memory management component, including: the front end acquires the back end message from the passive message transfer area of the target cache area by calling a front end acquisition back end message function interface in the memory management assembly, and takes the back end message as an industrial target detection result; and updating the block status code in the block header information to the front end read information through the memory management component.
Step S205, checking the industrial information detection result.
Specifically, in this embodiment, after the industrial information detection result is obtained, the industrial information detection result is checked, specifically, whether a messy code or a significant error exists in the industrial information detection result is checked, for example, when the industrial detection is required to be performed on the qualification of an element product, after the image of the element captured by the camera is obtained, the industrial information detection result is obtained through interaction of the front end and the rear end and image processing, and is the qualified element, and when 80% of the element in the captured image is missing, such industrial information detection result is obviously not in accordance with the actual situation; or when the obvious form problem of the messy code exists in the industrial information detection result, the industrial information detection result is determined to be invalid, so that the industrial information detection result is determined to fail to check, and the specific reason of the check failure is not limited in the embodiment.
When the verification failure is determined, alarm prompt information is generated, and the alarm is displayed at the front end, so that a prompt detection user can timely overhaul software or hardware equipment according to the prompt information, and the accuracy of an industrial information detection result is further improved.
According to the embodiment of the invention, the shared memory is created to provide a way for front-end and back-end communication, the front end only needs to store the industrial information to be detected into the shared memory through the calling interface, the back end does not need to copy additional data, and the whole information interaction process can be completed only by reading the shared memory, so that the data transmission speed is improved, the redundancy in the data transmission process is reduced, and the accuracy of target detection is improved.
Example III
Fig. 4 is a schematic structural diagram of an industrial information detecting device based on a shared memory according to a third embodiment of the present invention. As shown in fig. 4, the apparatus includes: the system comprises a shared memory loading module 310, an industrial information to be detected storage module 320, a back-end message storage module 330 and a back-end message reading module 340.
The shared memory loading module 310 is configured to load the shared memory based on the shared memory configuration file and the memory management component, so that the front end and the back end have the authority to read and write the shared memory;
The to-be-detected industrial information storage module 320 is configured to store the to-be-detected industrial information into the shared memory by calling the memory management component when the to-be-detected industrial information is received at the current end;
the back-end message saving module 330 is configured to directly read the industrial information to be detected from the shared memory by calling the memory management component, and save a back-end message generated by detecting the industrial information to be detected into the shared memory;
the back-end message reading module 340 is configured to read the back-end message in the shared memory by calling the memory management component to obtain the industrial information detection result.
Optionally, the device further includes a shared memory configuration file storage module, configured to receive a shared memory configuration file preset by a user, where the shared memory configuration file includes a shared memory creation parameter, and the shared memory creation parameter includes: shared memory name, shared memory size, number of cache areas contained in each shared memory, and maximum length requirement of information stored in the cache areas;
and storing the shared memory configuration file locally according to a specified path, and creating a memory management component associated with the shared memory, wherein the memory management component comprises a shared memory function loading interface, an industrial information function interface to be detected placed in the front end, an industrial information function interface to be detected acquired by the rear end, a rear-end return rear-end message function interface and a rear-end message function interface acquired by the front end.
Optionally, the buffer area includes block header information, a picture storage area and a passive message transmission area;
the picture storage area is used for storing the to-be-detected image in the to-be-detected industrial information;
the passive message transmission area is used for storing the interactive information of the front end and the rear end;
the block header information includes: block status code, type label of image to be detected, real height, real width, real channel, message type and message length of front message in industrial information to be detected.
Optionally, the shared memory loading module is used for calling a shared memory function interface in the memory management component by the front end or the back end;
reading shared memory creation parameters in a shared memory configuration file from a designated path through loading a shared memory function interface;
and loading the shared memory with the specified quantity and the specified size locally according to the shared memory creation parameters.
Optionally, the to-be-detected industrial information storage module is used for determining a target cache region in the shared memory by calling a to-be-detected industrial information function interface placed at the front end in the memory management component;
storing the image to be detected in the industrial information to be detected in a picture storage area of a target cache area, and storing the front-end message in the industrial information to be detected in a passive message transmission area of the target cache area;
Storing the type label, the real height, the real width, the real channel, the message type and the message length of the front-end message of the detected image into the block header information of the target cache area;
and updating the block status code in the block header information into a front-end information writing completion status through the memory management component.
Optionally, the back-end message storage module is used for the back-end to read the image to be detected from the image storage area of the target cache area by calling the back-end to acquire the industrial information function interface to be detected in the memory management assembly, and reads the front-end message from the passive message transmission area;
reading an image detection processing mode from the front-end message, and carrying out detection processing on an image to be detected according to the image detection processing mode to generate a back-end message;
the back end returns back end message function interface to store back end message into passive message transfer area of target buffer area by calling back end in memory management assembly;
and updating the block status code in the block header information into a rear-end information writing completion status through the memory management component.
Optionally, the back-end message reading module is configured to obtain, by the front-end, a back-end message from the passive message transfer area of the target cache area by calling a front-end acquisition back-end message function interface in the memory management component, and take the back-end message as an industrial target detection result;
And updating the block status code in the block header information to the front end read information through the memory management component.
The industrial information detection device based on the shared memory provided by the embodiment of the invention can execute the industrial information detection method based on the shared memory provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 5 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the shared memory-based industrial information detection method.
In some embodiments, the shared memory-based industrial information detection method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the shared memory-based industrial information detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the shared memory-based industrial information detection method in any other suitable manner (e.g., by means of firmware).
Various implementations of the apparatus and techniques described here above may be implemented in digital electronic circuit devices, integrated circuit devices, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), on-chip device devices (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on programmable devices including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, operable to receive data and instructions from, and to transmit data and instructions to, a storage device, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable crown block work warning device such that the computer programs, when executed by the processor, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution apparatus, device, or apparatus. The computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor apparatus, device, or apparatus, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the apparatus and techniques described herein may be implemented on a device having: a display device (e.g., a touch screen) for displaying information to a user; and keys, the user may provide input to the device through a touch screen or keys. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (9)

1. The industrial information detection method based on the shared memory is characterized by comprising the following steps of:
loading a shared memory based on a shared memory configuration file and a memory management component so that a front end and a rear end have the authority of reading and writing the shared memory, wherein the front end and the rear end are positioned on the same terminal equipment;
when the front end receives the industrial information to be detected, the industrial information to be detected is stored in the shared memory by calling the memory management component, and the block status code in the block header information is updated to be in a front end information writing-in finished state by the memory management component;
The back end directly reads the industrial information to be detected from the shared memory by calling the memory management component, a back end message generated by detecting the industrial information to be detected is stored in the shared memory, and the block code in the block header information is updated to a back end information writing completion state by the memory management component;
the front end reads the back end information in the shared memory by calling the memory management component to acquire an industrial information detection result, and updates the block status code in the block header information to the front end read information through the memory management component;
before loading the shared memory based on the shared memory configuration file and the memory management component, the method further comprises: receiving the shared memory configuration file preset by a user, wherein the shared memory configuration file comprises shared memory creation parameters, and the shared memory creation parameters comprise: the method comprises the steps of sharing memory names, sharing memory sizes, the number of cache areas contained in each sharing memory and the maximum length requirement of information stored in the cache areas, wherein the cache areas comprise block header information, picture storage areas and passive message transmission areas, and the block header information comprises block status codes;
And storing the shared memory configuration file locally according to a specified path, and creating the memory management component associated with the shared memory, wherein the memory management component comprises a loading shared memory function interface, a front-end put-in industrial information function interface to be detected, a back-end acquisition industrial information function interface to be detected, a back-end return back-end message function interface and a front-end acquisition back-end message function interface.
2. The method according to claim 1, wherein the picture storage area is used for storing an image to be detected in the industrial information to be detected;
the passive message transfer area is used for storing the interaction information of the front end and the back end;
the block header information includes: the type label, the real height, the real width, the real channel of the image to be detected, the message type and the message length of the front message in the industrial information to be detected.
3. The method of claim 1, wherein loading the shared memory based on the shared memory profile and the memory management component comprises:
the front end or the back end calls the loading shared memory function interface in the memory management component;
Reading the shared memory creation parameters in the shared memory configuration file from the specified path through the loaded shared memory function interface;
and loading the shared memory with the specified quantity and the specified size locally according to the shared memory creation parameters.
4. The method of claim 2, wherein saving the industrial information to be detected into the shared memory by invoking the memory management component comprises:
determining a target cache region in the shared memory by calling the front end in the memory management component to be put into an industrial information function interface to be detected;
storing the image to be detected in the industrial information to be detected in the picture storage area of the target cache area, and storing the front-end message in the industrial information to be detected in the passive message transmission area of the target cache area;
and storing the type label, the real height, the real width and the real channel of the detection image, and the message type and the message length of the front-end message into the block header information of the target cache region.
5. The method of claim 4, wherein the back-end directly reads the industrial information to be detected from the shared memory by calling the memory management component, and storing a back-end message generated by performing detection processing on the industrial information to be detected in the shared memory comprises:
The back end acquires an industrial information function interface to be detected by calling the back end in the memory management assembly, reads the image to be detected from the picture storage area of the target cache area, and reads the front end message from the passive message transmission area;
reading an image detection processing mode from the front-end message, and carrying out detection processing on the image to be detected according to the image detection processing mode to generate the back-end message;
and the back end stores the back end message into the passive message transfer area of the target cache area by calling the back end return back end message function interface in the memory management assembly.
6. The method of claim 4, wherein the front-end reading the back-end message in the shared memory by invoking the memory management component comprises:
and the front end acquires the back end message from the passive message transfer area of the target cache area by calling the front end acquisition back end message function interface in the memory management assembly, and takes the back end message as an industrial target detection result.
7. An industrial information detection device based on a shared memory, comprising:
The shared memory loading module is used for loading the shared memory based on the shared memory configuration file and the memory management component so that the front end and the rear end have the authority of reading and writing the shared memory, wherein the front end and the rear end are positioned on the same terminal equipment;
the to-be-detected industrial information storage module is used for storing the to-be-detected industrial information into the shared memory by calling the memory management component when the to-be-detected industrial information is received at the current end, and updating the block status code in the block header information into a front-end information writing-in status by the memory management component;
the back-end message storage module is used for directly reading the industrial information to be detected from the shared memory by calling the memory management component at the back end, storing back-end messages generated by detecting the industrial information to be detected into the shared memory, and updating the block codes in the block header information into a back-end information writing-in finished state by the memory management component;
the back-end message reading module is used for reading the back-end message in the shared memory by the front-end through calling the memory management component so as to acquire an industrial information detection result, and updating the block state code in the block head information into front-end read information through the memory management component;
The device further comprises a shared memory configuration file storage module, which is used for receiving the shared memory configuration file preset by a user, wherein the shared memory configuration file comprises shared memory creation parameters, and the shared memory creation parameters comprise: the method comprises the steps of sharing memory names, sharing memory sizes, the number of cache areas contained in each sharing memory and the maximum length requirement of information stored in the cache areas, wherein the cache areas comprise block header information, picture storage areas and passive message transmission areas, and the block header information comprises block status codes;
and storing the shared memory configuration file locally according to a specified path, and creating the memory management component associated with the shared memory, wherein the memory management component comprises a loading shared memory function interface, a front-end put-in industrial information function interface to be detected, a back-end acquisition industrial information function interface to be detected, a back-end return back-end message function interface and a front-end acquisition back-end message function interface.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-6 when the program is executed by the processor.
9. A storage medium having stored thereon computer program, characterized in that the program when executed by a processor implements the method according to any of claims 1-6.
CN202310913486.7A 2023-07-25 2023-07-25 Industrial information detection method, device, equipment and medium based on shared memory Active CN116662038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310913486.7A CN116662038B (en) 2023-07-25 2023-07-25 Industrial information detection method, device, equipment and medium based on shared memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310913486.7A CN116662038B (en) 2023-07-25 2023-07-25 Industrial information detection method, device, equipment and medium based on shared memory

Publications (2)

Publication Number Publication Date
CN116662038A CN116662038A (en) 2023-08-29
CN116662038B true CN116662038B (en) 2023-10-27

Family

ID=87724371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310913486.7A Active CN116662038B (en) 2023-07-25 2023-07-25 Industrial information detection method, device, equipment and medium based on shared memory

Country Status (1)

Country Link
CN (1) CN116662038B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117351016B (en) * 2023-12-05 2024-02-06 菲特(天津)检测技术有限公司 Post-processing optimization method and device for improving accuracy of defect detection model
CN117579815B (en) * 2024-01-17 2024-04-02 深圳市度申科技有限公司 Automatic analysis method and system for running state and performance of industrial camera

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340489A (en) * 2010-07-20 2012-02-01 阿里巴巴集团控股有限公司 Data transmission method between servers and servers
CN103441831A (en) * 2013-08-22 2013-12-11 焦点科技股份有限公司 Full-duplex communication between double courses, and mutual protection method and system between double courses
WO2018000195A1 (en) * 2016-06-28 2018-01-04 华为技术有限公司 Packet transmission method, virtual switch, and server
CN113342590A (en) * 2021-08-06 2021-09-03 苏州浪潮智能科技有限公司 NVMe device debugging function implementation method, device, equipment and storage medium
CN114764426A (en) * 2021-01-15 2022-07-19 腾讯科技(深圳)有限公司 Data access method and device and data storage method and device
CN115480934A (en) * 2022-08-31 2022-12-16 中汽创智科技有限公司 Distributed data processing method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340489A (en) * 2010-07-20 2012-02-01 阿里巴巴集团控股有限公司 Data transmission method between servers and servers
CN103441831A (en) * 2013-08-22 2013-12-11 焦点科技股份有限公司 Full-duplex communication between double courses, and mutual protection method and system between double courses
WO2018000195A1 (en) * 2016-06-28 2018-01-04 华为技术有限公司 Packet transmission method, virtual switch, and server
CN114764426A (en) * 2021-01-15 2022-07-19 腾讯科技(深圳)有限公司 Data access method and device and data storage method and device
CN113342590A (en) * 2021-08-06 2021-09-03 苏州浪潮智能科技有限公司 NVMe device debugging function implementation method, device, equipment and storage medium
CN115480934A (en) * 2022-08-31 2022-12-16 中汽创智科技有限公司 Distributed data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN116662038A (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN116662038B (en) Industrial information detection method, device, equipment and medium based on shared memory
CN114880259B (en) Data processing method, device, system, electronic equipment and storage medium
CN116662039B (en) Industrial information parallel detection method, device and medium based on shared memory
CN116166583B (en) Data precision conversion method and device, DMA controller and medium
CN113836462A (en) Page description file generation method, device, equipment and storage medium
CN114647548A (en) Log generation method and device
CN112486807A (en) Pressure testing method and device, electronic equipment and readable storage medium
CN116306408A (en) Verification environment determination method, device, equipment and storage medium of System On Chip (SOC)
CN116243983A (en) Processor, integrated circuit chip, instruction processing method, electronic device, and medium
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN109271538A (en) A kind of picture storage method and relevant device
CN114217927A (en) Thread calling method and device, computer equipment and storage medium
CN116579914B (en) Execution method and device of graphic processor engine, electronic equipment and storage medium
CN116306410B (en) Information printing method and device based on tightly coupled memory and hardware verification method
CN116185670B (en) Method and device for exchanging data between memories, electronic equipment and storage medium
CN116841773B (en) Data interaction method and device, electronic equipment and storage medium
CN117271840B (en) Data query method and device of graph database and electronic equipment
CN116126249A (en) Data reading method and device, electronic equipment and storage medium
CN115983222A (en) EasyExcel-based file data reading method, device, equipment and medium
CN117193726A (en) Parallel design method and device of software, electronic equipment and medium
CN117931689A (en) Data processing method, device, chip, equipment and storage medium
CN114416194A (en) Picture loading method and device based on ImageView aggregation function component
CN114816433A (en) Encoding method, system, device and medium in project based on asynchronous programming
CN116611990A (en) Display method, device, equipment and storage medium
CN116431561A (en) Data synchronization method, device, equipment and medium based on heterogeneous many-core accelerator card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant