UDP (User Datagram Protocol)-based hardware monitoring method and device, electronic equipment and storage medium

Through the UDP-based hardware monitoring method, UDP protocol and computer vision technology are used to interpret and respond to various signals from the factory assembly line in real time, which improves the efficiency and accuracy of automatic monitoring and solves the problems of low monitoring efficiency and high cost in the existing technology. , which improves the intelligence of industrial automation.

CN118778588APending Publication Date: 2024-10-15SHENZHEN YLINK COMPUTING SYST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410745145.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the existing technology, the monitoring efficiency of factory assembly lines is low, the response is slow, the cost is high, the error is large, and the requirements for monitoring storage and processing systems are too high. There is a lack of comprehensive solutions that can process diversified signals and automatically adjust the monitoring system.

Method used

Using a hardware monitoring method based on UDP, by acquiring the analog signal of the target device and converting it into a digital signal in real time, using the UDP protocol for real-time message analysis, combined with computer vision algorithms and surveillance cameras to monitor the operation of the equipment, determine whether to perform fault broadcast, and achieve Comprehensive interpretation and response to multiple signal types.

Benefits of technology

It improves the efficiency and accuracy of automatic monitoring of factory assembly lines, improves the intelligence of industrial automation, solves the problems of low monitoring efficiency, slow response and high cost, and reduces manual dependence and resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778588A_ABST
    Figure CN118778588A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a UDP (User Datagram Protocol)-based hardware monitoring method and device, electronic equipment and a storage medium, and relates to the technical field of automation, the method comprises the following steps: acquiring an analog signal of target equipment, converting the analog signal into a digital signal in real time through a UDP protocol, and sending the digital signal to a server; and performing instant message analysis on the digital signal through a UDP (User Datagram Protocol) to obtain a corresponding hardware signal change state, controlling a monitoring camera according to the hardware signal change state, monitoring the operation condition of the target equipment through a computer vision algorithm and the monitoring camera, and judging whether to perform fault broadcasting according to the operation condition of the target equipment. Various signal types can be comprehensively interpreted and responded by combining the computer vision technology and intelligent data processing, the automatic monitoring efficiency and accuracy of the factory assembly line are improved, and the problems that in the prior art, monitoring efficiency is low, response is slow, cost is high, errors are large, and the requirement for a monitoring storage and processing system is too high are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automation technology, and in particular to a UDP-based hardware monitoring method, device, electronic equipment and storage medium. Background Art

[0002] In modern factory automation, anomaly detection of assembly lines is a key link in maintaining production continuity and product quality. Traditional monitoring systems rely on manual monitoring and hardware self-detection, such as employees' visual observation of the monitoring screen and hardware self-detection procedures. These methods have historically ensured the stable operation of the production line to a certain extent.

[0003] However, in the face of modern high-efficiency and high-precision production requirements, the manual monitoring methods in the existing technology are inefficient, slow to respond, and costly, with large errors and excessively high requirements for monitoring storage and processing systems.

[0004] In addition, with the rise of smart manufacturing, the market demand has urgently shifted to highly automated and intelligent monitoring systems. Although there is an increasing amount of research in the field of real-time monitoring and anomaly detection, there is still a lack of a comprehensive solution to process diversified signals and automatically adjust the monitoring system.

[0005] Therefore, there is an urgent need for a hardware monitoring method that can process diversified signals and automatically adjust the monitoring system to improve the efficiency and accuracy of automatic monitoring of factory assembly lines. Summary of the invention

[0006] The embodiments of the present invention provide a UDP-based hardware monitoring method to solve the problems of low monitoring efficiency, slow response, high cost, large error and high requirements for monitoring storage and processing systems in the prior art. The technical solution is as follows:

[0007] According to one aspect of the present invention, a UDP-based hardware monitoring method includes: obtaining an analog signal of a target device, and converting the analog signal into a digital signal in real time through the UDP protocol; performing instant message parsing on the digital signal through the UDP protocol to obtain a corresponding hardware signal change state, and controlling a surveillance camera according to the hardware signal change state; monitoring the operation status of the target device through a computer vision algorithm and the surveillance camera, and determining whether to perform a fault broadcast according to the operation status of the target device.

[0008] In one of the embodiments, the message includes a message length field, and the message length field is used to indicate the version and signal format of the message and to indicate whether the status of the message is normal.

[0009] In one of the embodiments, the message includes a message number field, and the message number field is used to indicate a processing flow corresponding to the message.

[0010] In one of the embodiments, the message includes a hardware digital signal value, and the hardware digital signal value is a common agreement between hardware and software and is used for signal communication between the hardware and software.

[0011] In one of the embodiments, the hardware signal includes a binary signal, a floating point signal and a character signal; the binary signal is used to monitor the start and stop control of the system and computing resources.

[0012] In one of the embodiments, when the number of target devices reaches a set condition, a concurrent processing method of a coroutine is adopted, and multiple coroutines are started to perform authentication processing and device monitoring.

[0013] In one of the embodiments, a result-waiting coroutine is set in the concurrently processed coroutine, and the result-waiting coroutine is used to transmit the processing result of the coroutine to other coroutines when the processing result of the coroutine is detected.

[0014] According to one aspect of the present invention, a UDP-based hardware monitoring device includes: a signal acquisition module, used to acquire an analog signal of a target device, and convert the analog signal into a digital signal in real time through the UDP protocol; a signal analysis module, used to perform instant message analysis on the digital signal through the UDP protocol to obtain a corresponding hardware signal change state, and control a monitoring camera according to the hardware signal change state; a hardware monitoring module, used to monitor the operation status of the target device through a computer vision algorithm and the monitoring camera, and determine whether to perform a fault broadcast according to the operation status of the target device.

[0015] According to one aspect of the present invention, an electronic device includes at least one processor and at least one memory, wherein the memory stores computer-readable instructions; the computer-readable instructions are executed by one or more of the processors, so that the electronic device implements the UDP-based hardware monitoring method as described above.

[0016] According to one aspect of the present invention, a storage medium stores computer-readable instructions thereon, and the computer-readable instructions are executed by one or more processors to implement the UDP-based hardware monitoring method as described above.

[0017] The beneficial effects brought by the technical solution provided by the present invention are:

[0018] In the above technical scheme, the present invention first obtains the analog signal of the target device, converts the analog signal into a digital signal in real time through the UDP protocol, performs instant message analysis on the digital signal through the UDP protocol to obtain the corresponding hardware signal change status, controls the monitoring camera according to the hardware signal change status, monitors the operation of the target device through computer vision algorithms and monitoring cameras, and determines whether to broadcast a fault according to the operation of the target device. By combining computer vision technology and intelligent data processing, it can fully interpret and respond to various signal types, thereby improving the automatic monitoring efficiency and accuracy of factory assembly lines, and improving the intelligence level of industrial automation, thereby effectively solving the problems of low monitoring efficiency, slow response and high cost, large errors and excessive requirements for monitoring storage and processing systems in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in describing the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without creative work.

[0020] Figure 1 is a flowchart of a UDP-based hardware monitoring method according to an exemplary embodiment;

[0021] Figure 2 It is a schematic diagram of a UDP-based hardware monitoring method in an application scenario;

[0022] Figure 3 yes Figure 2 Schematic diagram of the structure of the message in the corresponding application scenario;

[0023] Figure 4 yes Figure 2 Schematic diagram of hardware signals in corresponding application scenarios;

[0024] Figure 5 It is a schematic diagram of a UDP-based hardware monitoring method in another application scenario;

[0025] Figure 6 is a block diagram of a UDP-based hardware monitoring device according to an exemplary embodiment;

[0026] Figure 7 is a hardware structure diagram of an electronic device according to an exemplary embodiment;

[0027] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0028] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.

[0029] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present disclosure refers to the presence of the features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0030] The present invention provides a UDP-based hardware monitoring method, which can fully interpret and respond to various signal types by combining computer vision technology and intelligent data processing, thereby improving the automatic monitoring efficiency and accuracy of factory assembly lines, improving the intelligent level of industrial automation, and solving the problems of low monitoring efficiency, slow response and high cost, large errors and excessive requirements for monitoring storage and processing systems in the prior art. The UDP-based hardware monitoring method is suitable for a UDP-based hardware monitoring device, which can be an electronic device. The UDP-based hardware monitoring method in the embodiment of the present invention can be applied to a variety of scenarios, such as industrial production hardware monitoring, etc.

[0031] See also Figure 1 , an embodiment of the present invention provides a UDP-based hardware monitoring method, which is applicable to electronic equipment.

[0032] In the following method embodiments, for ease of description, the execution subject of each step of the method is taken as an electronic device as an example for illustration, but this does not constitute a specific limitation.

[0033] like Figure 1 As shown, the method may include the following steps:

[0034] Step 110, acquiring an analog signal from a target device, and converting the analog signal into a digital signal in real time through a UDP protocol.

[0035] Step 130, perform real-time message analysis on the digital signal through the UDP protocol to obtain the corresponding hardware signal change status, and control the monitoring camera according to the hardware signal change status.

[0036] In a possible implementation, the message includes a message length field, and the message length field is used to indicate the version and signal format of the message and to indicate whether the status of the message is normal.

[0037] In a possible implementation, the message includes a message number field, and the message number field is used to indicate a processing flow corresponding to the message.

[0038] In a possible implementation, the message includes a hardware digital signal value, which is a common agreement between hardware and software and is used for signal communication between the hardware and software.

[0039] In one possible implementation, the hardware signal includes a binary signal, a floating point signal, and a character signal, and the binary signal is used to monitor the start and stop control of the system and computing resources.

[0040] Step 150, monitor the operation status of the target device through computer vision algorithms and surveillance cameras, and determine whether to perform fault broadcasting according to the operation status of the target device.

[0041] In a possible implementation, when the number of target devices reaches a set condition, a concurrent processing method of a coroutine is adopted, and multiple coroutines are started to perform authentication processing and device monitoring.

[0042] In a possible implementation, a result-waiting coroutine is set in the concurrently processed coroutine, and the result-waiting coroutine is used to transmit the processing result of the coroutine to other coroutines when the processing result of the coroutine is detected.

[0043] Through the above process, the present invention first obtains the analog signal of the target device, converts the analog signal into a digital signal in real time through the UDP protocol, performs instant message analysis on the digital signal through the UDP protocol to obtain the corresponding hardware signal change state, controls the monitoring camera according to the hardware signal change state, monitors the operation of the target device through a computer vision algorithm and a monitoring camera, and determines whether to broadcast a fault according to the operation of the target device. By combining computer vision technology and intelligent data processing, it can fully interpret and respond to various signal types, improve the automatic monitoring efficiency and accuracy of the factory assembly line, and improve the intelligence level of industrial automation, so as to effectively solve the problems of low monitoring efficiency, slow response and high cost, large errors and excessive requirements for monitoring storage and processing systems in the prior art.

[0044] In one application scenario, Figure 2 A flowchart of a UDP-based hardware monitoring method is shown. Figure 3The structure diagram of the message is shown. Figure 4 A schematic diagram showing the hardware signals.

[0045] like Figure 2 As shown, UDP-based hardware monitoring can include the following steps:

[0046] Step 210: hardware signal acquisition and conversion.

[0047] Specifically, the analog signal of the device is converted into a digital signal in real time through the analog-to-digital conversion module on the hardware side, and the signal sending system on the hardware side is used to synchronize the digital signal to the software side at high frequency through the UDP protocol.

[0048] Step 230: software-side signal processing and monitoring and control.

[0049] Specifically, the signal receiving system on the software side performs real-time message analysis on the received digital signal, automatically decides to start and stop the monitoring system based on the analyzed hardware signal change status, and starts the computer vision algorithm to monitor abnormal conditions in the camera image, including but not limited to hardware failures and production goods abnormalities.

[0050] Step 250, anomaly detection and response.

[0051] Specifically, when the computer vision algorithm detects an anomaly, it feeds back the result to the signal receiving system on the software side. The software side system adjusts the monitoring strategy based on the feedback and instructs the signal transmitting system on the hardware side to respond. The signal transmitting system on the hardware side determines whether to broadcast a fault based on the instructions on the software side.

[0052] like Figure 3 As shown, the message starts with the "Message Length" field, which has the following dual functions:

[0053] Simple version control: Since signal updates usually involve adding new content rather than deleting it, the message length increases accordingly. This change reflects the iteration of the version, allowing the system to quickly identify and adapt to changes in the signal format through the message length.

[0054] Improved concurrency performance: Considering the high concurrency requirements of the system, the processing of the message is initially confirmed by detecting the "message length" field. The system pre-detects whether the first few bytes of the message match the length field, so as to quickly determine whether to continue reading the message. This mechanism greatly improves the concurrent processing capability.

[0055] Furthermore, following the message length field is the "message number", which is the unique identifier of the pipeline, allowing the system to establish a one-to-one correspondence between the message and a specific pipeline. In an environment with multiple pipeline operations, this mechanism ensures the correct attribution and processing of data.

[0056] Furthermore, the message number is followed by the value of the hardware digital signal. These values ​​are standards agreed upon by the hardware and software sides. They jointly define the meaning and purpose of each signal value. Through this communication protocol recognized by both parties, the software and hardware sides can synchronously update and maintain the signal system to ensure smooth operation of the system and support version iteration.

[0057] like Figure 4 As shown, in the hardware architecture of the embodiment of the present invention, the signal types are diverse, including not only traditional binary signals (0-1 signals), but also floating-point and character type signals. Each type of signal has different functions and control logic to meet the complex monitoring and operation requirements of the system.

[0058] The monitoring system and the start and stop control of computing resources are usually performed using binary signals. The change mode of binary signals is crucial to system control. Binary signals have no less than 4 change modes. The simplest 4 signals are as follows: Figure 4 As shown, it means different control meanings.

[0059] In automated manufacturing systems, the working status of hardware components is expressed through binary (0-1) signals, which are crucial to the entire monitoring system. These hardware status signals are key factors in guiding software behavior. Accurately reading and interpreting these binary signals so that the software side can respond accordingly is the basis for achieving efficient production and quality assurance.

[0060] In one embodiment, a binary signal is used to represent the "gate" status on the hardware, where '0' represents the gate closed state, indicating that no parts are being transferred, and the software monitoring system and the computing model are therefore maintained in a standby state; on the contrary, '1' represents the gate open state, indicating that there are parts moving on the assembly line, and the software monitoring system should be started at this time to activate the computing model for further processing or quality inspection.

[0061] In another embodiment, when there is no need to transport parts, a continuous '0' signal avoids unnecessary activation of the monitoring system, saving energy and computing resources. When a '1' signal is detected, it means that the part begins to be transported, and the monitoring system and computing model immediately start working to achieve real-time monitoring and data analysis.

[0062] Furthermore, the function of hardware signals is far more than a single binary on / off indication. In more complex automation systems, the binary signal changes of the hardware status can adopt more diverse patterns to guide the software side to adopt multiple working modes. It is not limited to simple '0' to '1', '1' to '0' conversion. The system can recognize serialized signal patterns to indicate the activity of the software within a specific time interval, or adjust its operating status according to a predetermined coding strategy.

[0063] In the above process, the embodiment of the present invention uses this flexible signal control mechanism to make the behavior of the software side more intelligent, and can make highly customized responses according to the real-time status of the hardware, thereby more accurately meeting the requirements of various production scenarios.

[0064] Furthermore, in the process of accurately reading and interpreting binary signals, the selection advantages of the UDP protocol are particularly prominent. Specifically, they include the following:

[0065] 1. Real-time data transmission: The monitoring system in the manufacturing system needs to obtain changes in hardware status in real time. The connectivity-free and low-latency characteristics of the UDP protocol can ensure that data is transmitted to the monitoring system in a timely manner, so that the monitoring system can accurately capture and respond to changes in hardware status, ensuring real-time monitoring and control of the production line.

[0066] 2. Simple encapsulation: The binary signals of the hardware status in the manufacturing system are usually simple and compact. The simple encapsulation of the UDP protocol can effectively reduce the size of the data packet and reduce the network bandwidth usage, thereby improving the efficiency and real-time performance of data transmission. When transmitting hardware status information, the simple header of UDP can ensure that more effective load data is transmitted, thereby improving the efficiency and real-time performance of data transmission.

[0067] 3. Rapid response and control: In manufacturing systems, rapid response and control of hardware status are crucial. UDP allows rapid authentication and processing of data packets, ensuring that the monitoring system can respond to changes in hardware status in a timely manner and implement corresponding control operations, thereby ensuring the stability and efficiency of the production system.

[0068] 4. Suitable for high-concurrency scenarios: Manufacturing systems usually have a large number of hardware devices and sensors, which need to transmit a large amount of data at the same time. The UDP protocol is very suitable for data transmission in high-concurrency scenarios due to its non-connectivity and simple encapsulation. The UDP protocol can enable multiple hardware devices to send data to the monitoring system at the same time, improving the system's concurrent processing capabilities and data processing efficiency.

[0069] 5. Limited computing power serves multiple assembly lines: There are multiple assembly lines in the factory, but there is only one signal receiving system. It is necessary to use limited computing power to serve as many assembly lines as possible. The efficiency and real-time performance of the UDP protocol enable the monitoring system to quickly respond to signals sent by multiple assembly lines, thereby realizing simultaneous monitoring and control of multiple assembly lines.

[0070] Through the above process, the embodiment of the present invention combines computer vision technology and intelligent data processing, and uses the UDP protocol to fully interpret and respond to various signal types, thereby improving the automatic monitoring efficiency and accuracy of factory assembly lines and the intelligence level of industrial automation, thereby effectively solving the problems of low monitoring efficiency, slow response and high cost, large errors and excessively high requirements for monitoring storage and processing systems in the prior art.

[0071] In another application scenario, Figure 5 A flowchart of a UDP-based hardware monitoring method is shown.

[0072] like Figure 5 As shown, in a high-concurrency scenario, hardware monitoring can include the following steps:

[0073] Step 510, lightweight method of coroutine: Compared with traditional threads or processes, coroutine is a lighter concurrent processing method that can run multiple tasks simultaneously in one thread, avoiding thread switching and the overhead between kernel state and user state. This design enables the system to utilize resources more efficiently, especially when processing a large number of concurrent tasks, which can improve the overall performance of the system.

[0074] Step 520, multi-coroutine authentication processing: By starting multiple coroutines for authentication processing during monitoring, the system can process multiple connection requests in parallel and directly discard the request when the authentication fails, thereby reducing the response delay. This concurrent authentication mechanism can ensure that the system can still maintain high efficiency when facing a large number of requests, while also improving the system's security protection.

[0075] Step 530, parallel processing computing power: by starting multiple coroutines for data processing at the same time, the system can make full use of the parallel computing power of multi-core processors, improving the speed and efficiency of data processing. This parallel processing method enables the system to quickly respond to a large number of data requests, especially for computing-intensive tasks, which can ensure the high concurrency performance of the system and improve the overall processing efficiency of the system.

[0076] Step 540, parallel processing of monitoring and model: The monitoring and model processing coroutines are started simultaneously in the system, so that monitoring and model reasoning can be carried out in parallel, new data can be monitored in a timely manner, and model reasoning and result feedback can be carried out quickly, thereby improving the real-time performance and response speed of the system, which not only strengthens the system's monitoring capability of real-time data, but also improves the system's ability to detect and handle abnormal situations.

[0077] Step 550, result waiting coroutine: Set the result waiting coroutine to ensure that feedback can be given immediately when the model result is detected, and to ensure that the system can process the results from each coroutine in a timely manner, thereby ensuring the high concurrency and real-time performance of the system, which not only optimizes the process control of the system, but also improves the overall response speed of the system and user experience.

[0078] Through the above process, the embodiment of the present invention reduces the dependence on manual monitoring through automated signal processing and computer vision algorithms, significantly improves the efficiency of anomaly detection, avoids errors caused by human fatigue, can achieve simple version control and efficient concurrent processing, effectively improves the speed of data transmission and processing, and can dynamically adjust monitoring strategies and computing resources according to real-time data, avoiding waste of resources and shortening response time.

[0079] The following is an embodiment of the device of the present invention, which can be used to execute the UDP-based hardware monitoring method involved in the present invention. For details not disclosed in the embodiment of the device of the present invention, please refer to the method embodiment of the UDP-based hardware monitoring method involved in the present invention.

[0080] See also Figure 6 , an embodiment of the present invention provides a UDP-based hardware monitoring device 800.

[0081] The device 800 includes but is not limited to: a signal acquisition module 810 , a signal analysis module 830 and a hardware monitoring module 850 .

[0082] The signal acquisition module 810 is used to acquire the analog signal of the target device and convert the analog signal into a digital signal in real time through the UDP protocol.

[0083] The signal analysis module 830 is used to perform real-time message analysis on the digital signal through the UDP protocol to obtain the corresponding hardware signal change status, and control the monitoring camera according to the hardware signal change status.

[0084] The hardware monitoring module 850 is used to monitor the operation status of the target device through computer vision algorithms and monitoring cameras, and determine whether to perform fault broadcasting according to the operation status of the target device.

[0085] It should be noted that the UDP-based hardware monitoring provided in the above embodiment is only illustrated by the division of the above-mentioned functional modules. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the UDP-based hardware monitoring device will be divided into different functional modules to complete all or part of the functions described above.

[0086] In addition, the UDP-based hardware monitoring device and the UDP-based hardware monitoring method provided in the above embodiments belong to the same concept, and the specific manner in which each module performs operations has been described in detail in the method embodiments and will not be repeated here.

[0087] Figure 7 The present invention schematically illustrates the structure of an electronic device according to an exemplary embodiment.

[0088] It should be noted that the electronic device is only an example adapted to the present invention and cannot be considered to provide any limitation on the scope of use of the present invention. The electronic device cannot be interpreted as requiring dependence on or having Figure 7 One or more components of exemplary electronic device 2000 are shown.

[0089] The hardware structure of the electronic device 2000 may vary greatly due to differences in configuration or performance, such as Figure 7 As shown, the electronic device 2000 includes: a power supply 210, an interface 230, at least one memory 250, and at least one central processing unit (CPU) 270.

[0090] Specifically, the power supply 210 is used to provide operating voltage for each hardware device on the electronic device 2000 .

[0091] The interface 230 includes at least one wired or wireless network interface 231 for interacting with external devices. Of course, in other examples adapted by the present invention, the interface 230 may further include at least one serial-to-parallel conversion interface 233, at least one input-output interface 235, and at least one USB interface 237, etc. Figure 7 As shown, this is not intended to be a specific limitation.

[0092] The memory 250 is a carrier for storing resources, which may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 251, an application 253 and data 255, etc. The storage method may be temporary storage or permanent storage.

[0093] Among them, the operating system 251 is used to manage and control various hardware devices and application programs 253 on the electronic device 2000 to enable the central processing unit 270 to calculate and process the massive data 255 in the memory 250. It can be Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0094] The application program 253 is a computer-readable instruction that performs at least one specific task based on the operating system 251, and may include at least one module ( Figure 7 (not shown), each module may respectively include computer-readable instructions for the electronic device 2000. For example, the UDP-based hardware monitoring device may be regarded as an application 253 deployed on the electronic device 2000.

[0095] The data 255 may be signal information, etc., stored in the memory 250 .

[0096] The central processor 270 may include one or more processors, and is configured to communicate with the memory 250 through at least one communication bus to read the computer-readable instructions stored in the memory 250, thereby realizing the operation and processing of the mass data 255 in the memory 250. For example, the hardware monitoring method based on UDP is completed by the central processor 270 reading a series of computer-readable instructions stored in the memory 250.

[0097] In addition, the present invention can also be implemented by hardware circuits or hardware circuits combined with software. Therefore, the implementation of the present invention is not limited to any specific hardware circuits, software, or a combination of the two.

[0098] See also Figure 8 In an embodiment of the present invention, an electronic device 4000 is provided. The electronic device 4000 may include: a desktop computer, a laptop computer, a server, etc. with sensor recognition capability.

[0099] exist Figure 8 In the embodiment, the electronic device 4000 includes at least one processor 4001 and at least one memory 4003.

[0100] The data interaction between the processor 4001 and the memory 4003 can be realized through at least one communication bus 4002. The communication bus 4002 may include a path for transmitting data between the processor 4001 and the memory 4003. The communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus 4002 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0101] Optionally, the electronic device 4000 may further include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception, etc. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present invention.

[0102] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of the present invention. Processor 4001 may also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0103] The memory 4003 can be a ROM (Read On Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrical Erasable Programmable Read On Memory), a CD-ROM (Compact Disk Read On Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program instructions or codes in the form of instructions or data structures and can be accessed by the electronic device 4000, but is not limited to this.

[0104] Computer-readable instructions are stored in the memory 4003 , and the processor 4001 can read the computer-readable instructions stored in the memory 4003 through the communication bus 4002 .

[0105] The computer-readable instructions are executed by one or more processors 4001 to implement the UDP-based hardware monitoring method in the above-mentioned embodiments.

[0106] In addition, an embodiment of the present invention provides a storage medium on which computer-readable instructions are stored. The computer-readable instructions are executed by one or more processors to implement the UDP-based hardware monitoring method as described above.

[0107] A computer program product is provided in an embodiment of the present invention. The computer program product includes computer-readable instructions, which are stored in a storage medium. One or more processors of an electronic device read the computer-readable instructions from the storage medium, load and execute the computer-readable instructions, so that the electronic device implements the UDP-based hardware monitoring method as described above.

[0108] Compared with the related art, the present invention has the following beneficial effects:

[0109] 1. The present invention first obtains an analog signal of a target device, converts the analog signal into a digital signal in real time through the UDP protocol, performs instant message analysis on the digital signal through the UDP protocol to obtain a corresponding hardware signal change state, controls a monitoring camera according to the hardware signal change state, monitors the operation of the target device through a computer vision algorithm and a monitoring camera, determines whether to broadcast a fault according to the operation of the target device, and can fully interpret and respond to various signal types by combining computer vision technology and intelligent data processing, thereby improving the automatic monitoring efficiency and accuracy of factory assembly lines and the intelligence level of industrial automation, thereby effectively solving the problems of low monitoring efficiency, slow response and high cost, large errors and excessively high requirements for monitoring storage and processing systems in the prior art.

[0110] 2. The present invention can improve monitoring efficiency: through automated signal processing and computer vision algorithms, it reduces reliance on manual monitoring, significantly improves the efficiency of anomaly detection, and avoids errors caused by human fatigue.

[0111] 3. The present invention is capable of comprehensive anomaly detection: it can not only detect hardware failures, but also identify quality problems of produced goods, thereby achieving comprehensive monitoring of the production process and enhancing product quality control.

[0112] 4. The present invention can realize high concurrent data processing: simple version control and efficient concurrent processing are realized by utilizing the message length, which effectively improves the speed of data transmission and processing.

[0113] 5. The present invention is capable of comprehensive processing of multiple signal types: it is capable of processing various types of signals, including binary, floating point and character signals, thereby enhancing the adaptability to complex industrial environments.

[0114] 6. The present invention can realize dynamic monitoring and resource optimization: it can dynamically adjust monitoring strategies and computing resources according to real-time data, thus avoiding waste of resources and shortening response time.

[0115] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0116] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A UDP-based hardware monitoring method, characterized in that: The method comprises: Obtain an analog signal from a target device, and convert the analog signal into a digital signal in real time through a UDP protocol; Performing real-time message analysis on the digital signal through the UDP protocol to obtain a corresponding hardware signal change state, and controlling the surveillance camera according to the hardware signal change state; The operation status of the target device is monitored by a computer vision algorithm and the surveillance camera, and whether to perform a fault broadcast is determined according to the operation status of the target device.

2. The UDP-based hardware monitoring method according to claim 1, characterized in that: The message includes a message length field, and the message length field is used to indicate the version and signal format of the message and to indicate whether the status of the message is normal.

3. The UDP-based hardware monitoring method according to claim 2, characterized in that: The message includes a message number field, and the message number field is used to indicate a processing flow corresponding to the message.

4. The UDP-based hardware monitoring method according to claim 2, characterized in that: The message includes a hardware digital signal value, which is a common agreement between hardware and software and is used for signal communication between the hardware and software.

5. The UDP-based hardware monitoring method according to claim 1, characterized in that: The hardware signal includes a binary signal, a floating point signal and a character signal; the binary signal is used to monitor the start and stop control of the system and computing resources.

6. The UDP-based hardware monitoring method according to claim 1, characterized in that: When the number of target devices reaches the set condition, a concurrent processing method of the coroutine is adopted, and multiple coroutines are started to perform authentication processing and device monitoring.

7. The UDP-based hardware monitoring method according to claim 6, characterized in that: A result waiting coroutine is set in the concurrently processed coroutine, and the result waiting coroutine is used to transmit the processing result of the coroutine to other coroutines when the processing result of the coroutine is detected.

8. A UDP-based hardware monitoring device, characterized in that: The device comprises: A signal acquisition module is used to acquire the analog signal of the target device and convert the analog signal into a digital signal in real time through the UDP protocol; A signal analysis module, used to perform instant message analysis on the digital signal through the UDP protocol to obtain a corresponding hardware signal change state, and control the surveillance camera according to the hardware signal change state; The hardware monitoring module is used to monitor the operation status of the target device through a computer vision algorithm and the monitoring camera, and determine whether to perform a fault broadcast according to the operation status of the target device.

9. An electronic device, characterized in that: include: at least one processor and at least one memory, wherein: The memory has computer-readable instructions stored thereon; The computer-readable instructions are executed by one or more of the processors, so that the electronic device implements the UDP-based hardware monitoring method as described in any one of claims 1 to 7.

10. A storage medium having computer-readable instructions stored thereon, characterized in that: The computer-readable instructions are executed by one or more processors to implement the UDP-based hardware monitoring method according to any one of claims 1 to 7.