WO2022067915A1 - Operation and maintenance monitoring method, apparatus, and storage medium - Google Patents

Operation and maintenance monitoring method, apparatus, and storage medium Download PDF

Info

Publication number
WO2022067915A1
WO2022067915A1 PCT/CN2020/123275 CN2020123275W WO2022067915A1 WO 2022067915 A1 WO2022067915 A1 WO 2022067915A1 CN 2020123275 W CN2020123275 W CN 2020123275W WO 2022067915 A1 WO2022067915 A1 WO 2022067915A1
Authority
WO
WIPO (PCT)
Prior art keywords
data set
target data
server
detection data
maintenance monitoring
Prior art date
Application number
PCT/CN2020/123275
Other languages
French (fr)
Chinese (zh)
Inventor
徐立
Original Assignee
苏州艾隆科技股份有限公司
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 苏州艾隆科技股份有限公司 filed Critical 苏州艾隆科技股份有限公司
Publication of WO2022067915A1 publication Critical patent/WO2022067915A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • Embodiments of the present invention relate to the field of operation and maintenance, and in particular, to an operation and maintenance monitoring method, device, and storage medium.
  • the location to be monitored (such as a pharmacy) is usually equipped with monitoring equipment, and the stable operation of the monitoring equipment is the basis. How to ensure the stable operation of monitoring equipment, etc., and how to deal with problems in a timely manner is a problem that needs to be solved at present.
  • embodiments of the present invention provide an operation and maintenance monitoring method, device, and storage medium.
  • An embodiment of the present invention provides an operation and maintenance monitoring method, which is applied to a host computer, and the method includes:
  • the target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • the target data set sent by the receiving sensor and/or PLC includes:
  • the method before the sending the target data set to the server, the method further includes at least one of the following:
  • the encryption of the target data set includes one of the following:
  • An embodiment of the present invention provides an operation and maintenance monitoring method, which is applied to a server, and the method includes:
  • the data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • performing different operations on the data in the data set according to the analysis result including:
  • the action includes at least one of the following: alarming, displaying, and sending a corresponding short message.
  • the method further includes: receiving an acquisition instruction sent by a host computer; sending a communication key to the host computer according to the acquisition instruction;
  • the receiving the data set sent by the host computer includes: receiving the encrypted target data set sent by the host computer;
  • An embodiment of the present invention provides an operation and maintenance monitoring device, which is applied to a host computer, and the device includes:
  • a first receiving module configured to receive the target data set sent by the sensor and/or PLC
  • a first sending module configured to send the target data set to a server; the server performs corresponding operations according to the target data set;
  • the target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • An embodiment of the present invention provides an operation and maintenance monitoring device, which is applied to a server, and the device includes:
  • the second receiving module is used to receive the data set sent by the upper computer
  • a processing module configured to analyze the data set, and perform different operations on the data in the data set according to the analysis result
  • the data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • An embodiment of the present invention provides a computer device, including: a processor and a memory, where the processor is configured to execute a monitoring program of a service stored in the memory, so as to implement any one of the operations performed on the host computer side or the server side. dimension monitoring method.
  • An embodiment of the present invention provides a storage medium, where one or more programs are stored in the storage medium, and the one or more programs can be executed by one or more processors, so as to realize any operation performed on the host computer side or the server side.
  • a described operation and maintenance monitoring method is described.
  • the operation and maintenance monitoring method, device, and storage medium include: a host computer receives a target data set sent by a sensor and/or a PLC; sending the target data set to a server; The data set performs corresponding operations; the target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing the device that collects the detection data; in this way, the running status of the device can be monitored in real time, and whether the network is detected Normal, monitor temperature and humidity, current, voltage operating status; can also monitor PLC operating status.
  • FIG. 1 is a flowchart of an operation and maintenance monitoring method provided by an embodiment of the present invention
  • FIG. 2 is a flowchart of another operation and maintenance monitoring method provided by an embodiment of the present invention.
  • FIG. 3 is a flowchart of still another operation and maintenance monitoring method provided by an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an operation and maintenance monitoring system provided by an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an operation and maintenance monitoring device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another operation and maintenance monitoring device provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of still another operation and maintenance monitoring device provided by an embodiment of the present invention.
  • FIG. 1 is a flowchart of an operation and maintenance monitoring method provided by an embodiment of the present invention; as shown in FIG. 1 , the method is applied to a host computer, and the method includes:
  • Step 101 Receive the target data set sent by the sensor and/or a programmable logic controller (PLC, Programmable Logic Controller);
  • PLC programmable logic controller
  • Step 102 sending the target data set to a server; the server performs corresponding operations according to the target data set;
  • the target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • the detection data is one or more, which can be data values such as temperature, humidity, current, voltage, and PLC operating status;
  • the type symbol is used to characterize each type of detection data; for example, different types of symbols indicate that the corresponding detection data is temperature, humidity, current, voltage, PLC operating state, etc.;
  • the identifier can be used to describe which sensor or PLC the corresponding detection data was acquired by.
  • the target data set sent by the receiving sensor and/or PLC includes:
  • the method before the sending the target data set to the server, the method further includes at least one of the following:
  • the preset service language may be set by the developer in advance, and the server may directly read the preset service language.
  • the encryption of the target data set includes one of the following:
  • FIG. 2 is a flowchart of another operation and maintenance monitoring method provided by an embodiment of the present invention. As shown in FIG. 2 , the method is applied to a server, and the method includes:
  • Step 201 receiving the data set sent by the host computer
  • Step 202 analyze the data set, and perform different operations on the data in the data set according to the analysis result;
  • the data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • the action includes at least one of the following: alarming, displaying, and sending a corresponding short message.
  • different types of symbols and different identifiers may correspond to different preset processing strategies.
  • Preset processing strategies including: direct display, alarm.
  • Performing an alarm may include: corresponding thresholds, and when the thresholds are exceeded or lower than the thresholds, an alarm is performed.
  • the method further includes: receiving an acquisition instruction sent by a host computer; sending a communication key to the host computer according to the acquisition instruction;
  • the receiving the data set sent by the host computer includes: receiving the encrypted target data set sent by the host computer;
  • the above decryption method is only used to illustrate that the encrypted data can be decrypted, and other specific decryption methods can also be used.
  • the host computer and the server can pre-agreed encryption and decryption rules. According to the preset encryption and decryption rules, the host computer side performs encryption and the server side performs decryption.
  • the server does the reverse.
  • the server decrypts with the decryption key.
  • encryption method can also adopt the following:
  • different encryption means are respectively used for the data in the target data set (such as detection data, type symbols corresponding to detection data, and identifiers describing the equipment that collects detection data). key, there is a mutual relationship or non-existence between various encryption methods);
  • the other end (such as the server) tries to decrypt the received data set using different decryption methods.
  • it can also be:
  • One end (such as the host computer) adopts the following encryption methods;
  • the device key is used to verify the integrity and accuracy of the transmitted data
  • the dynamic password key is used to generate dynamic passwords based on data types or time factors.
  • the host computer when the host computer is applied, the data type of the sensitive data that needs to be protected in the target data set is selected, and the first dynamic password is generated;
  • the first dynamic password is combined with the current detection data type to obtain an encryption key, and the encryption key is used for encryption.
  • the other end (such as the server) adopts the following decryption method:
  • the server uses the corresponding method (using the decryption key, that is, the private key) to attempt decryption.
  • the above corresponding decryption method can be individually notified to the server by the terminal after each encryption, or it can be stored in several possible ways in advance, and the server can decrypt the data set according to several pre-defined ways.
  • an embodiment of the present invention also provides an operation and maintenance monitoring method applied to a sensor and/or a PLC; including:
  • Collect the detection data mark the type symbol of the corresponding detection data and the identifier describing the equipment that collects the detection data;
  • the detection data, the type symbol of the corresponding detection data and the identifier describing the device that collects the detection data are sent to the upper computer through Modbus.
  • FIG. 3 is a flowchart of another operation and maintenance monitoring method provided by an embodiment of the present invention. As shown in FIG. 3 , the method includes:
  • Step 301 the sensor and/or PLC acquires triples
  • the triplet (the essential content of the triplet, which is equivalent to the essential content of the above-mentioned target data set or data set, can be understood as a triplet is a kind of target data set), including: one or more detection data, a one or more type symbols used to characterize the type of probe data, one or more identifiers used to describe the sensor and/or PLC;
  • the detection data can be data such as temperature and humidity, current, voltage, and PLC operating status
  • the type symbol is used to indicate the detection data type; for example, the type symbol can indicate that a certain detection data is temperature;
  • the identifier is used to describe the identifier of the sensor and/or PLC; for example, the identifier 1 is used to describe a corresponding sensor, and the PLC1 is used to indicate the corresponding PLC
  • Step 302 the sensor and/or PLC transmit the triplet to the host computer through the ModBus bus;
  • Step 303 the host computer receives the triplet, and converts it into a business language
  • the business language may be a language that can be read or analyzed by a preset server.
  • the business language can be preset for different servers.
  • Step 304 the host computer transmits the business language to the server
  • Step 305 the server receives the business language
  • Step 306 the server processes the business language according to the data type (ie, type symbol);
  • the detection data (summary category, such as PLC operating status) corresponding to certain types of symbols are directly displayed, and the detection data (alarm categories, such as temperature, humidity, current, voltage, etc.) corresponding to certain types of symbols are alarmed, etc. .
  • threshold value judgment can also be performed for detection data corresponding to different types of symbols, and an alarm is performed only when a certain threshold value is exceeded.
  • the PLC running status can also be used as an alarm type. If a certain data exceeds the corresponding threshold, an alarm will be issued.
  • temperature, humidity, current, voltage, etc. can also be used as summary categories, that is, if they do not exceed the corresponding threshold, they will only be displayed without an alarm.
  • the alarm includes: sending a short message notification to the relevant personnel, the staff member performs corresponding data processing (such as remote control of the corresponding equipment through a mobile phone, of course, the corresponding equipment can also be directly operated), and the corresponding equipment responds to the operation of the staff member to solve the alarm problem.
  • corresponding data processing such as remote control of the corresponding equipment through a mobile phone, of course, the corresponding equipment can also be directly operated
  • the corresponding device refers to the device targeted by each probe data.
  • the operating efficiency can be improved, and the operating status of the equipment can be quickly grasped; when there is a problem with the equipment, the administrator can be quickly notified to ensure that the fault is quickly eliminated and losses are reduced; in addition, the cost can be reduced, and the equipment can be understood. features, optimize the system operating status, reduce the risk of failure, etc.
  • Modbus is a serial communication protocol, which was published by Modicon Corporation (now Schneider Electric) in 1979 for the use of programmable logic controller (PLC) communication.
  • Modbus has become the industry standard (De facto) for communication protocols in the industrial field, and is now a common connection method between industrial electronic devices.
  • a communication protocol between a terminal (such as the above-mentioned host computer) and a server is also provided;
  • Table 1 shows a schematic diagram of the description of the communication protocol;
  • byte item illustrate 0-1 STX Data header/frame header fixed value: 0xABAC 2 LEN Data length (length of DATA) 3 RAND Random number, generated by the data sender, used to encrypt data 4 KEY
  • the communication key is randomly generated by the server and obtained by the terminal through the (0x01) command
  • the encryption may be composed of at least one of the following: a random number and a KEY.
  • the data encryption process including:
  • Encrypt the communication process between the host computer and the server including:
  • the terminal sends the (0x01) command to the server to obtain the communication key KEY;
  • the server returns the communication key KEY, and the terminal needs to save the key for subsequent communication;
  • the terminal establishes communication with the server.
  • the device status sent by the host computer it can be uploaded in the format shown in Table 2.
  • byte item illustrate 0-1 STX Data header/frame header fixed value: 0xABAC 2 LEN 0x0C 3 RAND random number 4 KEY communication key 5 CMD 0x12 6 to 17 DATA data 18 CRC CRC8 check value of encrypted data before CRC
  • Table 3 is a schematic table of specific detection data, corresponding type symbols, and the like.
  • the upper computer receives the instruction, including: random number, communication key, an encryption method agreed with the server, and the upper computer performs encryption, and the like.
  • Table 4 is a schematic table of instructions received by a provided host computer.
  • FIG. 4 is a schematic diagram of an operation and maintenance monitoring system according to an embodiment of the present invention. operations performed by the operation and maintenance monitoring system refer to the methods shown in FIG. 1 , FIG. 2 , and FIG. 3 , and details are not repeated here.
  • FIG. 5 is a schematic diagram of an operation and maintenance monitoring device provided by an embodiment of the present invention; as shown in FIG. 5 , applied to a host computer, the device includes:
  • a first receiving module configured to receive the target data set sent by the sensor and/or PLC
  • a first sending module configured to send the target data set to a server; the server performs corresponding operations according to the target data set;
  • the target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing the device that collects the detection data.
  • the first receiving module is configured to receive the target data set sent by the sensor and/or the PLC through Modbus.
  • the first sending module is configured to perform at least one of the following before sending the target data set to the server:
  • the encryption of the target data set includes one of the following:
  • FIG. 6 is a schematic diagram of another operation and maintenance monitoring device provided by an embodiment of the present invention. As shown in FIG. 6 , applied to a server, the device includes:
  • the second receiving module is used to receive the data set sent by the upper computer
  • a processing module configured to analyze the data set, and perform different operations on the data in the data set according to the analysis result
  • the data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • a processing module configured to determine a preset processing strategy for the corresponding detection data according to the type symbols and identifiers in the data set;
  • the action includes at least one of the following: alarming, displaying, and sending a corresponding short message.
  • the second receiving module is further configured to receive the acquisition instruction sent by the upper computer; correspondingly,
  • the device further includes: a second sending module, configured to send a communication key to the upper computer according to the acquisition instruction;
  • the second receiving module is specifically configured to receive the encrypted target data set sent by the host computer
  • the processing module is configured to decrypt the encrypted or target data set.
  • FIG. 7 is a schematic diagram of still another operation and maintenance monitoring device provided by an embodiment of the present invention.
  • the electronic device 700 shown in FIG. 7 includes: at least one processor 701, memory 702, at least one network interface 704 and other user interfaces 703.
  • the various components in electronic device 700 are coupled together by bus system 705 .
  • the bus system 705 is used to implement the connection communication between these components.
  • the bus system 705 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled as bus system 705 in FIG. 7 .
  • the user interface 703 may include a display, a keyboard or a pointing device (eg, a mouse, a trackball, a touch pad or a touch screen, etc.).
  • a pointing device eg, a mouse, a trackball, a touch pad or a touch screen, etc.
  • the memory 702 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be Random Access Memory (RAM), which acts as an external cache.
  • RAM Static RAM
  • DRAM Dynamic RAM
  • SDRAM Synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDRSDRAM
  • enhanced SDRAM ESDRAM
  • synchronous link dynamic random access memory Synch link DRAM, SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • memory 702 stores the following elements, executable units or data structures, or subsets thereof, or extended sets of them: operating system 7021 and applications 7022 .
  • the operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks.
  • the application program 7022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services.
  • a program for implementing the method of the embodiment of the present invention may be included in the application program 7022 .
  • the processor 701 When applied to the host computer, the processor 701 is configured to execute the method steps provided by each method embodiment, for example, including:
  • the target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • the processor 701 When applied to a server, the processor 701 is configured to execute the method steps provided by each method embodiment, for example, including:
  • the data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • the methods disclosed in the above embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 .
  • the processor 701 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 701 or an instruction in the form of software.
  • the above-mentioned processor 701 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor.
  • the software unit may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
  • the storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the above method in combination with its hardware.
  • the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSPDevice, DSPD), programmable logic Devices (Programmable Logic Devices, PLDs), Field-Programmable Gate Arrays (FPGAs), general purpose processors, controllers, microcontrollers, microprocessors, other electronics for performing the functions described in this application unit or a combination thereof.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSPDevice Digital Signal Processing Device
  • DSPD programmable logic Devices
  • PLDs programmable Logic Devices
  • FPGAs Field-Programmable Gate Arrays
  • general purpose processors controllers, microcontrollers, microprocessors, other electronics for performing the functions described in this application unit or a combination thereof.
  • the techniques described herein may be implemented by means of units that perform the functions described herein.
  • Software codes may be stored in memory and executed by a processor.
  • the memory can be implemented in the processor or external to the processor.
  • the electronic device provided in this embodiment may be the electronic device shown in FIG. 7 , and can execute all steps of the operation and maintenance monitoring method shown in FIG. 1-2 , thereby realizing the technical effect of the operation and maintenance monitoring method shown in FIG. 1-2 , please refer to the related descriptions in FIGS. 1-2 for details. For the sake of brevity, details are not repeated here.
  • the embodiment of the present invention also provides a storage medium (computer-readable storage medium).
  • the storage medium here stores one or more programs.
  • the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid-state hard disk; the memory may also include the above-mentioned types of memory. combination.
  • the processor When applied to the host computer, the processor is used to execute the operation and maintenance monitoring program stored in the memory, so as to realize the following steps of the operation and maintenance monitoring method executed on the host computer side:
  • PLCs programmable logic controllers
  • the target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • the processor When applied to a server, the processor is used to execute the operation and maintenance monitoring program stored in the memory, so as to realize the following steps of the operation and maintenance monitoring method executed on the server side:
  • the data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  • a software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

Embodiments of the present invention relate to an operation and maintenance monitoring method, an apparatus, and a storage medium. The method comprises: an upper computer receives a target data set sent by a sensor and/or a PLC; the target data set is sent to a server; and the server performs a corresponding operation according to the target data set; the target data set comprises at least one of the following: detection data, a type symbol corresponding to the detection data, and a marker describing a device that collected the detection data.

Description

运维监控方法、装置、存储介质Operation and maintenance monitoring method, device and storage medium
本申请要求了申请日为2020年09月30日,申请号为202011069791.5,发明名称为“运维监控方法、装置、存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application whose filing date is September 30, 2020, the application number is 202011069791.5, and the invention name is “operation and maintenance monitoring method, device and storage medium”, the entire contents of which are incorporated into this application by reference middle.
技术领域technical field
本发明实施例涉及运维领域,尤其涉及一种运维监控方法、装置、存储介质。Embodiments of the present invention relate to the field of operation and maintenance, and in particular, to an operation and maintenance monitoring method, device, and storage medium.
背景技术Background technique
为了保证服务稳定、可靠的运行,通常对待监控地点(如药房)配备监控设备,而监控设备的稳定运行是基础。而如何保证监控设备等稳定运行,在出现问题时及时作出处理是目前需要解决的问题。In order to ensure the stable and reliable operation of the service, the location to be monitored (such as a pharmacy) is usually equipped with monitoring equipment, and the stable operation of the monitoring equipment is the basis. How to ensure the stable operation of monitoring equipment, etc., and how to deal with problems in a timely manner is a problem that needs to be solved at present.
发明内容SUMMARY OF THE INVENTION
鉴于此,为解决上述技术问题或部分技术问题,本发明实施例提供一种运维监控方法、装置、存储介质。In view of this, in order to solve the above technical problems or some of the technical problems, embodiments of the present invention provide an operation and maintenance monitoring method, device, and storage medium.
本发明实施例提供一种运维监控方法,应用于上位机,所述方法包括:An embodiment of the present invention provides an operation and maintenance monitoring method, which is applied to a host computer, and the method includes:
接收传感器和/或PLC发送的目标数据集;Receive target data sets sent by sensors and/or PLCs;
将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作;sending the target data set to a server; the server performs corresponding operations according to the target data set;
所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
在一个可能的实施方式中,所述接收传感器和/或PLC发送的目标数据集,包括:In a possible implementation manner, the target data set sent by the receiving sensor and/or PLC includes:
接收传感器和/或PLC通过Modbus发送的目标数据集。Receive target data sets sent by sensors and/or PLCs via Modbus.
在一个可能的实施方式中,所述将所述目标数据集发送给服务器之前,所述方法还包括以下至少之一:In a possible implementation manner, before the sending the target data set to the server, the method further includes at least one of the following:
对所述目标数据集进行加密;相应的,发送加密后的目标数据集;Encrypting the target data set; correspondingly, sending the encrypted target data set;
将所述目标数据集转换为服务器对应的预设业务语言;相应的,发送转换为业务语言后的目标数据集;Converting the target data set into a preset business language corresponding to the server; correspondingly, sending the target data set converted into the business language;
其中,所述对目标数据集进行加密,包括以下之一:Wherein, the encryption of the target data set includes one of the following:
产生第一随机数,对所述第一随机数进行扰乱,得到第二随机数;根据所述第二随机数对所述目标数据集进行扰乱,得到扰乱后的目标数据集;generating a first random number, scrambling the first random number to obtain a second random number; scrambling the target data set according to the second random number to obtain a scrambled target data set;
从服务器获取通信密钥,运用所述通信密钥对所述目标数据集进行加密;得到加密后的目标 数据集。Obtain the communication key from the server, and use the communication key to encrypt the target data set; obtain the encrypted target data set.
本发明实施例提供一种运维监控方法,应用于服务器,所述方法包括:An embodiment of the present invention provides an operation and maintenance monitoring method, which is applied to a server, and the method includes:
接收上位机发送的数据集;Receive the data set sent by the host computer;
对所述数据集进行分析,根据分析结果针对所述数据集中的数据执行不同的操作;Analyze the data set, and perform different operations on the data in the data set according to the analysis result;
所述数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
在一个可能的实施方式中,所述根据分析结果针对所述数据集中的数据执行不同的操作,包括:In a possible implementation manner, performing different operations on the data in the data set according to the analysis result, including:
根据所述数据集中的类型符号和标志符,确定相应探测数据的预设处理策略;Determine a preset processing strategy for the corresponding detection data according to the type symbols and identifiers in the data set;
根据所述预设处理策略确定相应探测数据符合相应条件时,执行对应的动作;When it is determined according to the preset processing strategy that the corresponding detection data meets the corresponding condition, the corresponding action is performed;
所述动作包括以下至少之一:报警、展示、发送相应短信。The action includes at least one of the following: alarming, displaying, and sending a corresponding short message.
在一个可能的实施方式中,所述方法还包括:接收上位机发送的获取指令;根据所述获取指令向所述上位机发送通信密钥;In a possible implementation manner, the method further includes: receiving an acquisition instruction sent by a host computer; sending a communication key to the host computer according to the acquisition instruction;
相应的,所述接收上位机发送的数据集,包括:接收上位机发送的加密后的目标数据集;Correspondingly, the receiving the data set sent by the host computer includes: receiving the encrypted target data set sent by the host computer;
相应的,所述根据分析结果针对所述数据集中的数据执行不同的操作,包括:Correspondingly, performing different operations on the data in the data set according to the analysis results, including:
对所述加密或的目标数据集进行解密。Decrypt the encrypted or target data set.
本发明实施例提供一种运维监控装置,应用于上位机,所述装置包括:An embodiment of the present invention provides an operation and maintenance monitoring device, which is applied to a host computer, and the device includes:
第一接收模块,用于接收传感器和/或PLC发送的目标数据集;a first receiving module, configured to receive the target data set sent by the sensor and/or PLC;
第一发送模块,用于将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作;a first sending module, configured to send the target data set to a server; the server performs corresponding operations according to the target data set;
所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
本发明实施例提供一种运维监控装置,应用于服务器,所述装置包括:An embodiment of the present invention provides an operation and maintenance monitoring device, which is applied to a server, and the device includes:
第二接收模块,用于接收上位机发送的数据集;The second receiving module is used to receive the data set sent by the upper computer;
处理模块,用于对所述数据集进行分析,根据分析结果针对所述数据集中的数据执行不同的操作;a processing module, configured to analyze the data set, and perform different operations on the data in the data set according to the analysis result;
所述数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
本发明实施例提供一种计算机设备,包括:处理器和存储器,所述处理器用于执行所述存储器中存储的服务的监控程序,以实现上位机侧或服务器侧执行的任一项所述运维监控方法。An embodiment of the present invention provides a computer device, including: a processor and a memory, where the processor is configured to execute a monitoring program of a service stored in the memory, so as to implement any one of the operations performed on the host computer side or the server side. dimension monitoring method.
本发明实施例提供一种存储介质,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上位机侧或服务器侧执行的任一项所述运维监控方法。An embodiment of the present invention provides a storage medium, where one or more programs are stored in the storage medium, and the one or more programs can be executed by one or more processors, so as to realize any operation performed on the host computer side or the server side. A described operation and maintenance monitoring method.
本发明实施例提供的运维监控方法、装置、存储介质,包括:上位机接收传感器和/或PLC发送的目标数据集;将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作;所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符;如此,可以实时监控设备运行状态,检测网络是否正常、监控温湿度、电流、电压运行状态;还可以监控PLC运行状态。The operation and maintenance monitoring method, device, and storage medium provided by the embodiments of the present invention include: a host computer receives a target data set sent by a sensor and/or a PLC; sending the target data set to a server; The data set performs corresponding operations; the target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing the device that collects the detection data; in this way, the running status of the device can be monitored in real time, and whether the network is detected Normal, monitor temperature and humidity, current, voltage operating status; can also monitor PLC operating status.
附图说明Description of drawings
图1为本发明实施例提供的一种运维监控方法的流程图;FIG. 1 is a flowchart of an operation and maintenance monitoring method provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种运维监控方法的流程图;FIG. 2 is a flowchart of another operation and maintenance monitoring method provided by an embodiment of the present invention;
图3为本发明实施例提供的再一种运维监控方法的流程图;FIG. 3 is a flowchart of still another operation and maintenance monitoring method provided by an embodiment of the present invention;
图4为本发明实施例提供的一种运维监控系统的示意图;FIG. 4 is a schematic diagram of an operation and maintenance monitoring system provided by an embodiment of the present invention;
图5为本发明实施例提供的一种运维监控装置的示意图;FIG. 5 is a schematic diagram of an operation and maintenance monitoring device according to an embodiment of the present invention;
图6为本发明实施例提供的另一种运维监控装置的示意图;FIG. 6 is a schematic diagram of another operation and maintenance monitoring device provided by an embodiment of the present invention;
图7为本发明实施例提供的再一种运维监控装置的示意图。FIG. 7 is a schematic diagram of still another operation and maintenance monitoring device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。The terms "first", "second", and "third" are used for descriptive purposes only and should not be construed to indicate or imply relative importance.
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
为便于对本发明实施例的理解,下面将结合附图以具体实施例做进一步的解释说明,实施例并不构成对本发明实施例的限定。In order to facilitate the understanding of the embodiments of the present invention, further explanation will be given below with specific embodiments in conjunction with the accompanying drawings, and the embodiments do not constitute limitations to the embodiments of the present invention.
图1为本发明实施例提供的一种运维监控方法的流程图;如图1所示,所述方法应用于上位机,所述方法包括:FIG. 1 is a flowchart of an operation and maintenance monitoring method provided by an embodiment of the present invention; as shown in FIG. 1 , the method is applied to a host computer, and the method includes:
步骤101、接收传感器和/或可编程逻辑控制器(PLC,Programmable Logic Controller)发送的目标数据集; Step 101. Receive the target data set sent by the sensor and/or a programmable logic controller (PLC, Programmable Logic Controller);
步骤102、将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作; Step 102, sending the target data set to a server; the server performs corresponding operations according to the target data set;
所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
其中,所述探测数据为一个或多个,可以为温度、湿度、电流、电压和PLC运行状态等数据值;Wherein, the detection data is one or more, which can be data values such as temperature, humidity, current, voltage, and PLC operating status;
所述类型符号用于表征各探测数据类型;例如,通过不同类型符号指出相应探测数据是温度、湿度、电流、电压和PLC运行状态等;The type symbol is used to characterize each type of detection data; for example, different types of symbols indicate that the corresponding detection data is temperature, humidity, current, voltage, PLC operating state, etc.;
所述标识符可以用于描述相应探测数据由哪个传感器或PLC采集的。The identifier can be used to describe which sensor or PLC the corresponding detection data was acquired by.
具体地,所述接收传感器和/或PLC发送的目标数据集,包括:Specifically, the target data set sent by the receiving sensor and/or PLC includes:
接收传感器和/或PLC通过Modbus发送的目标数据集。Receive target data sets sent by sensors and/or PLCs via Modbus.
具体地,所述将所述目标数据集发送给服务器之前,所述方法还包括以下至少之一:Specifically, before the sending the target data set to the server, the method further includes at least one of the following:
对所述目标数据集进行加密;相应的,发送加密后的目标数据集;Encrypting the target data set; correspondingly, sending the encrypted target data set;
将所述目标数据集转换为服务器对应的预设业务语言;相应的,发送转换为业务语言后的目标数据集。Convert the target data set into a preset business language corresponding to the server; correspondingly, send the target data set converted into the business language.
这里,预设业务语言可以预先由开发人员设定,服务器可对预设业务语言直接读取。Here, the preset service language may be set by the developer in advance, and the server may directly read the preset service language.
其中,所述对目标数据集进行加密,包括以下之一:Wherein, the encryption of the target data set includes one of the following:
产生第一随机数,对所述第一随机数进行扰乱,得到第二随机数;根据所述第二随机数对所述目标数据集进行扰乱,得到扰乱后的目标数据集;generating a first random number, scrambling the first random number to obtain a second random number; scrambling the target data set according to the second random number to obtain a scrambled target data set;
从服务器获取通信密钥,运用所述通信密钥对所述目标数据集进行加密;得到加密后的目标数据集。Obtain a communication key from the server, and use the communication key to encrypt the target data set; and obtain the encrypted target data set.
以上加密方法仅用于说明可进行加密以保证数据安全,至于具体地加密方法还可以采用其他。The above encryption methods are only used to illustrate that encryption can be performed to ensure data security, and other specific encryption methods can also be used.
图2为本发明实施例提供的另一种运维监控方法的流程图;如图2所示,所述方法应用于服务器,所述方法包括:FIG. 2 is a flowchart of another operation and maintenance monitoring method provided by an embodiment of the present invention; as shown in FIG. 2 , the method is applied to a server, and the method includes:
步骤201、接收上位机发送的数据集; Step 201, receiving the data set sent by the host computer;
步骤202、对所述数据集进行分析,根据分析结果针对所述数据集中的数据执行不同的操作; Step 202, analyze the data set, and perform different operations on the data in the data set according to the analysis result;
所述数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
具体地,所述根据分析结果针对所述数据集中的数据执行不同的操作,包括:Specifically, performing different operations on the data in the data set according to the analysis result, including:
根据所述数据集中的类型符号和标志符,确定相应探测数据的预设处理策略;Determine a preset processing strategy for the corresponding detection data according to the type symbols and identifiers in the data set;
根据所述预设处理策略确定相应探测数据符合相应条件时,执行对应的动作;When it is determined according to the preset processing strategy that the corresponding detection data meets the corresponding condition, the corresponding action is performed;
所述动作包括以下至少之一:报警、展示、发送相应短信。The action includes at least one of the following: alarming, displaying, and sending a corresponding short message.
这里,对于不同类型符号、不同标志符,可以对应不同的预设处理策略。预设处理策略,包括:直接展示、进行报警。进行报警可以包括:相应的阈值,当超过阈值或低于阈值,进行报警。Here, different types of symbols and different identifiers may correspond to different preset processing strategies. Preset processing strategies, including: direct display, alarm. Performing an alarm may include: corresponding thresholds, and when the thresholds are exceeded or lower than the thresholds, an alarm is performed.
具体地,所述方法还包括:接收上位机发送的获取指令;根据所述获取指令向所述上位机发送通信密钥;Specifically, the method further includes: receiving an acquisition instruction sent by a host computer; sending a communication key to the host computer according to the acquisition instruction;
相应的,所述接收上位机发送的数据集,包括:接收上位机发送的加密后的目标数据集;Correspondingly, the receiving the data set sent by the host computer includes: receiving the encrypted target data set sent by the host computer;
相应的,所述根据分析结果针对所述数据集中的数据执行不同的操作,包括:Correspondingly, performing different operations on the data in the data set according to the analysis results, including:
对所述加密后的目标数据集进行解密。Decrypt the encrypted target data set.
然后,根据解密后的数据进行分析,根据分析结果针对数据集中的数据执行不同的操作。Then, analyze according to the decrypted data, and perform different operations on the data in the data set according to the analysis results.
以上解密方法仅用于说明可进行加密数据进行解密,至于具体地解密方法还可以采用其他。The above decryption method is only used to illustrate that the encrypted data can be decrypted, and other specific decryption methods can also be used.
上位机和服务器可以预先约定加密、解密规则,按照预设的加密、解密规则由上位机侧进行加密,由服务器侧进行解密。The host computer and the server can pre-agreed encryption and decryption rules. According to the preset encryption and decryption rules, the host computer side performs encryption and the server side performs decryption.
例如,若用随机数进行扰乱,服务器进行反向操作。For example, if scrambling with random numbers, the server does the reverse.
若用通信密钥进行加密,服务器运用解密密钥进行解密。If encrypted with the communication key, the server decrypts with the decryption key.
还可以采用其他加密方法。具体来说,所述加密方法还可以采用以下:Other encryption methods may also be employed. Specifically, the encryption method can also adopt the following:
一端(如上位机),对所述目标数据集中的数据(如探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符)分别采用不同的加密手段(加密手段可以是不同密钥,各种加密手段之间存在相互关系或者不存在);At one end (such as the host computer), different encryption means are respectively used for the data in the target data set (such as detection data, type symbols corresponding to detection data, and identifiers describing the equipment that collects detection data). key, there is a mutual relationship or non-existence between various encryption methods);
另一端(如服务器)对接收的数据集分别采用不同的解密方法尝试解密。The other end (such as the server) tries to decrypt the received data set using different decryption methods.
在另一实施例中,还可以是:In another embodiment, it can also be:
一端(如上位机)采用以下加密方法;One end (such as the host computer) adopts the following encryption methods;
首先,上位机出厂前在安全环境中用加密机导入固定的设备密钥和动态口令密钥(待动态口令密钥每段时间进行改变),当该设备密钥和动态口令密钥导入受理终端后则不可再被导出。First of all, before the host computer leaves the factory, use the encryption machine to import the fixed device key and dynamic password key in the safe environment (to be changed every time the dynamic password key), when the device key and dynamic password key are imported into the acceptance terminal After that, it cannot be exported again.
该设备密钥用于验证传输数据的完整性和准确性,动态口令密钥用于根据数据类型或时间因子生成动态口令。The device key is used to verify the integrity and accuracy of the transmitted data, and the dynamic password key is used to generate dynamic passwords based on data types or time factors.
然后,上位机应用时,选取目标数据集中需要保护的敏感数据的数据类型,生成第一动态口令;Then, when the host computer is applied, the data type of the sensitive data that needs to be protected in the target data set is selected, and the first dynamic password is generated;
第一动态口令与当前的探测数据的类型进行组合,得到加密密钥,运用该加密密钥进行加密。The first dynamic password is combined with the current detection data type to obtain an encryption key, and the encryption key is used for encryption.
相应的,另一端(如服务器)采用以下解密方法:Correspondingly, the other end (such as the server) adopts the following decryption method:
服务器采用相应的方法(运用解密密钥,即私钥)尝试解密。The server uses the corresponding method (using the decryption key, that is, the private key) to attempt decryption.
以上相应的解密方法可以由终端每次加密后单独告知服务器规则,也可以是预先将可能的几种方式存储,服务器接收数据集后按预先的几种方式进行解密。The above corresponding decryption method can be individually notified to the server by the terminal after each encryption, or it can be stored in several possible ways in advance, and the server can decrypt the data set according to several pre-defined ways.
相应的,本发明实施例还提供一种应用于传感器和/或PLC的运维监控方法;包括:Correspondingly, an embodiment of the present invention also provides an operation and maintenance monitoring method applied to a sensor and/or a PLC; including:
采集探测数据,标志相应探测数据的类型符号和描述采集探测数据的设备的标志符;Collect the detection data, mark the type symbol of the corresponding detection data and the identifier describing the equipment that collects the detection data;
通过Modbus向上位机发送所述探测数据、相应探测数据的类型符号和描述采集探测数据的设备的标志符。The detection data, the type symbol of the corresponding detection data and the identifier describing the device that collects the detection data are sent to the upper computer through Modbus.
探测数据、类型符号、标志符的具体说明已在图1所示方法中说明,这里不再赘述。The specific descriptions of the detection data, type symbols, and identifiers have been described in the method shown in FIG. 1 , and will not be repeated here.
图3为本发明实施例提供的另一种运维监控方法的流程图;如图3所示,所述方法包括:FIG. 3 is a flowchart of another operation and maintenance monitoring method provided by an embodiment of the present invention; as shown in FIG. 3 , the method includes:
步骤301、传感器和/或PLC获取三元组; Step 301, the sensor and/or PLC acquires triples;
所述三元组(三元组的实质内容,相当于上述目标数据集或数据集的实质内容,可以理解为三元组为一种目标数据集),包括:一个或多个探测数据、一个或多个用于表征探测数据类型的类型符号、一个或多个用于描述传感器和/或PLC的标志符;The triplet (the essential content of the triplet, which is equivalent to the essential content of the above-mentioned target data set or data set, can be understood as a triplet is a kind of target data set), including: one or more detection data, a one or more type symbols used to characterize the type of probe data, one or more identifiers used to describe the sensor and/or PLC;
其中,探测数据可以为温湿度、电流、电压和PLC运行状态等数据;Among them, the detection data can be data such as temperature and humidity, current, voltage, and PLC operating status;
所述类型符号用于指示探测数据类型;如,通过类型符号可以指出,某一探测数据为温度;The type symbol is used to indicate the detection data type; for example, the type symbol can indicate that a certain detection data is temperature;
所述标志符用于描述该传感器和/或PLC的标识符;如,通过标识符1描述对应的一种传感器,通过PLC1指示对应的PLCThe identifier is used to describe the identifier of the sensor and/or PLC; for example, the identifier 1 is used to describe a corresponding sensor, and the PLC1 is used to indicate the corresponding PLC
步骤302、传感器和/或PLC通过ModBus总线传输所述三元组到上位机; Step 302, the sensor and/or PLC transmit the triplet to the host computer through the ModBus bus;
步骤303、上位机接收到所述三元组,并转换成业务语言; Step 303, the host computer receives the triplet, and converts it into a business language;
所述业务语言可以为:预设的服务器所能读取或分析的语言。The business language may be a language that can be read or analyzed by a preset server.
针对不同的服务器可以预设业务语言。The business language can be preset for different servers.
步骤304、上位机将所述业务语言传送给服务器; Step 304, the host computer transmits the business language to the server;
步骤305、服务器接收到所述业务语言; Step 305, the server receives the business language;
步骤306、服务器依据所述数据类型(即类型符号)对所述业务语言进行处理; Step 306, the server processes the business language according to the data type (ie, type symbol);
例如,对某些类型符号对应的探测数据(汇总类,如PLC运行状态)直接进行展示,对于某些类型符号对应的探测数据(报警类,如温度、湿度、电流、电压等)进行报警等。For example, the detection data (summary category, such as PLC operating status) corresponding to certain types of symbols are directly displayed, and the detection data (alarm categories, such as temperature, humidity, current, voltage, etc.) corresponding to certain types of symbols are alarmed, etc. .
当然,对于不同类型符号对应的探测数据还可以进行阈值判断,在超过某一阈值时才进行报警等。而PLC运行状态也可以作为报警类,若某一数据超过对应阈值,进行报警。而温度、湿度、电流、电压等也可以作为汇总类,即若不超过相应阈值,则仅展示,不做报警。Of course, threshold value judgment can also be performed for detection data corresponding to different types of symbols, and an alarm is performed only when a certain threshold value is exceeded. The PLC running status can also be used as an alarm type. If a certain data exceeds the corresponding threshold, an alarm will be issued. And temperature, humidity, current, voltage, etc. can also be used as summary categories, that is, if they do not exceed the corresponding threshold, they will only be displayed without an alarm.
所述报警,包括:向相关人员发送短信通知,工作人员进行相应数据处理(如通过手机远程操控相应设备,当然也可以直接操作相应设备),相应设备响应工作人员的操作,解决报警的问题。The alarm includes: sending a short message notification to the relevant personnel, the staff member performs corresponding data processing (such as remote control of the corresponding equipment through a mobile phone, of course, the corresponding equipment can also be directly operated), and the corresponding equipment responds to the operation of the staff member to solve the alarm problem.
相应设备是指各探测数据针对的设备。The corresponding device refers to the device targeted by each probe data.
通过本发明以上实施例提供的方法,可以提高运行效率,快速掌握设备运行状态;设备出问题时,可以快速通知管理者,确保故障迅速排除,较少损失;另外,还可以降低成本,了解设备特性,优化系统运行状态,降低故障风险等。Through the methods provided by the above embodiments of the present invention, the operating efficiency can be improved, and the operating status of the equipment can be quickly grasped; when there is a problem with the equipment, the administrator can be quickly notified to ensure that the fault is quickly eliminated and losses are reduced; in addition, the cost can be reduced, and the equipment can be understood. features, optimize the system operating status, reduce the risk of failure, etc.
以上所述的Modbus是一种串行通信协议,是Modicon公司(现在的施耐德电气Schneider Electric)于1979年为使用可编程逻辑控制器(PLC)通信而发表。Modbus已经成为工业领域通信协议的业界标准(De facto),并且现在是工业电子设备之间常用的连接方式。The above-mentioned Modbus is a serial communication protocol, which was published by Modicon Corporation (now Schneider Electric) in 1979 for the use of programmable logic controller (PLC) communication. Modbus has become the industry standard (De facto) for communication protocols in the industrial field, and is now a common connection method between industrial electronic devices.
在一实施例中,还提供一种终端(如上述上位机)与服务器的通信协议;表1位通信协议的说明示意表;In one embodiment, a communication protocol between a terminal (such as the above-mentioned host computer) and a server is also provided; Table 1 shows a schematic diagram of the description of the communication protocol;
字节byte item 说明illustrate
0-10-1 STXSTX 数据头/帧头固定值:0xABACData header/frame header fixed value: 0xABAC
22 LENLEN 数据长度(DATA的长度)Data length (length of DATA)
33 RANDRAND 随机数,数据发送方产生,用于加密数据Random number, generated by the data sender, used to encrypt data
44 KEYKEY 通信秘钥,由服务器随机产生,终端通过(0x01)命令获The communication key is randomly generated by the server and obtained by the terminal through the (0x01) command
      have to
55 CMDCMD 命令字Command word
66 DATADATA 数据data
6+LEN6+LEN CRCCRC CRC之前数据经过加密后的CRC8校验值CRC8 check value of encrypted data before CRC
表1Table 1
在一实施例中,对于上述加密过程进一步说明,加密可以由以下至少之一组成:随机数、KEY。In an embodiment, for further description of the above encryption process, the encryption may be composed of at least one of the following: a random number and a KEY.
例如,数据加密过程,包括:For example, the data encryption process, including:
1、产生随机数RAND1. Generate random number RAND
2、产生随机数变种RAND_1=RAND+0x322. Generate random number variant RAND_1=RAND+0x32
3、把RAND_1填充到数据的第3字节3. Fill RAND_1 to the 3rd byte of the data
4、用RAND分别异或(^)RAND之后,CRC之前的明文数据并把结果对应回填;4. After XOR (^) RAND with RAND, the plaintext data before CRC and backfill the result accordingly;
5、把CRC之前数据做CRC8校验,校验值填到CRC位置。5. Perform CRC8 check on the data before CRC, and fill in the check value to the CRC position.
对于上位机与服务器通信过程进行加密,包括:Encrypt the communication process between the host computer and the server, including:
1、终端向服务器发送(0x01)指令获取通信秘钥KEY;1. The terminal sends the (0x01) command to the server to obtain the communication key KEY;
2、服务器返回通信秘钥KEY,终端需保存秘钥,用于后续通信;2. The server returns the communication key KEY, and the terminal needs to save the key for subsequent communication;
3、终端与服务器建立通信。3. The terminal establishes communication with the server.
关于上位机发送的设备状态,可以以表2所示格式上传。Regarding the device status sent by the host computer, it can be uploaded in the format shown in Table 2.
字节byte item 说明illustrate
0-10-1 STXSTX 数据头/帧头固定值:0xABACData header/frame header fixed value: 0xABAC
22 LENLEN 0x0C0x0C
33 RANDRAND 随机数random number
44 KEYKEY 通信秘钥communication key
55 CMDCMD 0x120x12
6~176 to 17 DATADATA 数据data
1818 CRCCRC CRC之前数据经过加密后的CRC8校验值CRC8 check value of encrypted data before CRC
表2Table 2
Figure PCTCN2020123275-appb-000001
Figure PCTCN2020123275-appb-000001
Figure PCTCN2020123275-appb-000002
Figure PCTCN2020123275-appb-000002
表3table 3
表3位一种具体探测数据、相应类型符号等的示意表。Table 3 is a schematic table of specific detection data, corresponding type symbols, and the like.
在一实施例中,上位机接收指令,包括:随机数、通信密钥,与服务器约定加密方法,上位机进行加密等。表4为提供的一种上位机接收的指令的示意表。In one embodiment, the upper computer receives the instruction, including: random number, communication key, an encryption method agreed with the server, and the upper computer performs encryption, and the like. Table 4 is a schematic table of instructions received by a provided host computer.
字节byte item 说明illustrate
0-10-1 STXSTX 数据头/帧头固定值:0xABACData header/frame header fixed value: 0xABAC
22 LENLEN 0x010x01
33 RANDRAND 随机数random number
44 KEYKEY 通信秘钥communication key
55 CMDCMD 0x120x12
66 DATADATA 返回值:0:成功1:失败Return value: 0: success 1: failure
77 CRCCRC CRC之前数据经过加密后的CRC8校验值CRC8 check value of encrypted data before CRC
表4Table 4
交互流程,采用SOCKET UDP协议,每10秒上报一次Interactive process, using SOCKET UDP protocol, reported every 10 seconds
图4为本发明实施例提供的一种运维监控系统的示意图;运维监控系统执行的操作参照图1、图2、图3所示方法,这里不再赘述。FIG. 4 is a schematic diagram of an operation and maintenance monitoring system according to an embodiment of the present invention; operations performed by the operation and maintenance monitoring system refer to the methods shown in FIG. 1 , FIG. 2 , and FIG. 3 , and details are not repeated here.
图5为本发明实施例提供的一种运维监控装置的示意图;如图5所述,应用于上位机,所述装置包括:FIG. 5 is a schematic diagram of an operation and maintenance monitoring device provided by an embodiment of the present invention; as shown in FIG. 5 , applied to a host computer, the device includes:
第一接收模块,用于接收传感器和/或PLC发送的目标数据集;a first receiving module, configured to receive the target data set sent by the sensor and/or PLC;
第一发送模块,用于将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作;a first sending module, configured to send the target data set to a server; the server performs corresponding operations according to the target data set;
所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采 集探测数据的设备的标志符。The target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing the device that collects the detection data.
具体地,第一接收模块,用于接收传感器和/或PLC通过Modbus发送的目标数据集。Specifically, the first receiving module is configured to receive the target data set sent by the sensor and/or the PLC through Modbus.
具体地,第一发送模块,用于在将所述目标数据集发送给服务器之前,执行以下至少之一:Specifically, the first sending module is configured to perform at least one of the following before sending the target data set to the server:
对所述目标数据集进行加密;相应的,发送加密后的目标数据集;Encrypting the target data set; correspondingly, sending the encrypted target data set;
将所述目标数据集转换为服务器对应的预设业务语言;相应的,发送转换为业务语言后的目标数据集;Converting the target data set into a preset business language corresponding to the server; correspondingly, sending the target data set converted into the business language;
其中,所述对目标数据集进行加密,包括以下之一:Wherein, the encryption of the target data set includes one of the following:
产生第一随机数,对所述第一随机数进行扰乱,得到第二随机数;根据所述第二随机数对所述目标数据集进行扰乱,得到扰乱后的目标数据集;generating a first random number, scrambling the first random number to obtain a second random number; scrambling the target data set according to the second random number to obtain a scrambled target data set;
从服务器获取通信密钥,运用所述通信密钥对所述目标数据集进行加密;得到加密后的目标数据集。Obtain a communication key from the server, and use the communication key to encrypt the target data set; and obtain the encrypted target data set.
上述装置进行运维监控,可以参考图1所示方法,这里不再赘述。For the operation and maintenance monitoring of the above device, reference may be made to the method shown in FIG. 1 , which will not be repeated here.
图6为本发明实施例提供的另一种运维监控装置的示意图;如图6所示,应用于服务器,所述装置包括:FIG. 6 is a schematic diagram of another operation and maintenance monitoring device provided by an embodiment of the present invention; as shown in FIG. 6 , applied to a server, the device includes:
第二接收模块,用于接收上位机发送的数据集;The second receiving module is used to receive the data set sent by the upper computer;
处理模块,用于对所述数据集进行分析,根据分析结果针对所述数据集中的数据执行不同的操作;a processing module, configured to analyze the data set, and perform different operations on the data in the data set according to the analysis result;
所述数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
具体地,处理模块,用于根据所述数据集中的类型符号和标志符,确定相应探测数据的预设处理策略;Specifically, a processing module, configured to determine a preset processing strategy for the corresponding detection data according to the type symbols and identifiers in the data set;
根据所述预设处理策略确定相应探测数据符合相应条件时,执行对应的动作;When it is determined according to the preset processing strategy that the corresponding detection data meets the corresponding condition, the corresponding action is performed;
所述动作包括以下至少之一:报警、展示、发送相应短信。The action includes at least one of the following: alarming, displaying, and sending a corresponding short message.
具体地,第二接收模块,还用于接收上位机发送的获取指令;相应的,Specifically, the second receiving module is further configured to receive the acquisition instruction sent by the upper computer; correspondingly,
所述装置还包括:第二发送模块,用于根据所述获取指令向所述上位机发送通信密钥;The device further includes: a second sending module, configured to send a communication key to the upper computer according to the acquisition instruction;
相应的,所述第二接收模块,具体用于接收上位机发送的加密后的目标数据集;Correspondingly, the second receiving module is specifically configured to receive the encrypted target data set sent by the host computer;
相应的,所述处理模块,用于对所述加密或的目标数据集进行解密。Correspondingly, the processing module is configured to decrypt the encrypted or target data set.
上述装置进行运维监控,可以参考图2所示方法,这里不再赘述。For the operation and maintenance monitoring of the above device, reference may be made to the method shown in FIG. 2 , which will not be repeated here.
图7为本发明实施例提供的再一种运维监控装置的示意图。应用于某一电子设备的结 构示意图,图7所示的电子设备700包括:至少一个处理器701、存储器702、至少一个网络接口704和其他用户接口703。电子设备700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。FIG. 7 is a schematic diagram of still another operation and maintenance monitoring device provided by an embodiment of the present invention. Applied to a schematic structural diagram of an electronic device, the electronic device 700 shown in FIG. 7 includes: at least one processor 701, memory 702, at least one network interface 704 and other user interfaces 703. The various components in electronic device 700 are coupled together by bus system 705 . It can be understood that the bus system 705 is used to implement the connection communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 705 in FIG. 7 .
其中,用户接口703可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Among them, the user interface 703 may include a display, a keyboard or a pointing device (eg, a mouse, a trackball, a touch pad or a touch screen, etc.).
可以理解,本发明实施例中的存储器702可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 702 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 702 described herein is intended to include, but not be limited to, these and any other suitable types of memory.
在一些实施方式中,存储器702存储了如下的元素,可执行单元或者数据结构,或者他们的子集,或者他们的扩展集:操作系统7021和应用程序7022。In some embodiments, memory 702 stores the following elements, executable units or data structures, or subsets thereof, or extended sets of them: operating system 7021 and applications 7022 .
其中,操作系统7021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序7022中。The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application program 7022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. A program for implementing the method of the embodiment of the present invention may be included in the application program 7022 .
在本发明实施例中,通过调用存储器702存储的程序或指令,具体的,可以是应用程序7022中存储的程序或指令,In this embodiment of the present invention, by calling the program or instruction stored in the memory 702, specifically, the program or instruction stored in the application program 7022,
应用于上位机时,处理器701用于执行各方法实施例所提供的方法步骤,例如包括:When applied to the host computer, the processor 701 is configured to execute the method steps provided by each method embodiment, for example, including:
接收传感器和/或PLC发送的目标数据集;Receive target data sets sent by sensors and/or PLCs;
将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作;sending the target data set to a server; the server performs corresponding operations according to the target data set;
所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
应用于服务器时,处理器701用于执行各方法实施例所提供的方法步骤,例如包括:When applied to a server, the processor 701 is configured to execute the method steps provided by each method embodiment, for example, including:
接收上位机发送的数据集;Receive the data set sent by the host computer;
对所述数据集进行分析,根据分析结果针对所述数据集中的数据执行不同的操作;Analyze the data set, and perform different operations on the data in the data set according to the analysis result;
所述数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件单元组合执行完成。软件单元可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the above embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 . The processor 701 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above-mentioned method can be completed by an integrated logic circuit of hardware in the processor 701 or an instruction in the form of software. The above-mentioned processor 701 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present invention can be implemented or executed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software unit may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSPDevice,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), Digital Signal Processing Device (DSPDevice, DSPD), programmable logic Devices (Programmable Logic Devices, PLDs), Field-Programmable Gate Arrays (FPGAs), general purpose processors, controllers, microcontrollers, microprocessors, other electronics for performing the functions described in this application unit or a combination thereof.
对于软件实现,可通过执行本文所述功能的单元来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein may be implemented by means of units that perform the functions described herein. Software codes may be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
本实施例提供的电子设备可以是如图7中所示的电子设备,可执行如图1-2中运维监控方法的所有步骤,进而实现图1-2所示运维监控方法的技术效果,具体请参照图1-2相关描述,为简洁描述,在此不作赘述。The electronic device provided in this embodiment may be the electronic device shown in FIG. 7 , and can execute all steps of the operation and maintenance monitoring method shown in FIG. 1-2 , thereby realizing the technical effect of the operation and maintenance monitoring method shown in FIG. 1-2 , please refer to the related descriptions in FIGS. 1-2 for details. For the sake of brevity, details are not repeated here.
本发明实施例还提供了一种存储介质(计算机可读存储介质)。这里的存储介质存储有一个或者多个程序。其中,存储介质可以包括易失性存储器,例如随机存取存储器;存储器也可以包括非易失性存储器,例如只读存储器、快闪存储器、硬盘或固态硬盘;存储器还可以包括上述种类的存储器的组合。The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. Wherein, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk or solid-state hard disk; the memory may also include the above-mentioned types of memory. combination.
当存储介质中一个或者多个程序可被一个或者多个处理器执行,以实现上述在运维监控装置执行的运维监控方法。When one or more programs in the storage medium can be executed by one or more processors, the above-mentioned operation and maintenance monitoring method executed by the operation and maintenance monitoring apparatus can be implemented.
应用于上位机时,所述处理器用于执行存储器中存储的运维监控程序,以实现以下在上位机侧执行的运维监控方法的步骤:When applied to the host computer, the processor is used to execute the operation and maintenance monitoring program stored in the memory, so as to realize the following steps of the operation and maintenance monitoring method executed on the host computer side:
接收传感器和/或可编程逻辑控制器PLC发送的目标数据集;Receive target data sets sent by sensors and/or programmable logic controllers (PLCs);
将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作;sending the target data set to a server; the server performs corresponding operations according to the target data set;
所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
应用于服务器时,所述处理器用于执行存储器中存储的运维监控程序,以实现以下在服务器侧执行的运维监控方法的步骤:When applied to a server, the processor is used to execute the operation and maintenance monitoring program stored in the memory, so as to realize the following steps of the operation and maintenance monitoring method executed on the server side:
接收上位机发送的数据集;Receive the data set sent by the host computer;
对所述数据集进行分析,根据分析结果针对所述数据集中的数据执行不同的操作;Analyze the data set, and perform different operations on the data in the data set according to the analysis result;
所述数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals should be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in connection with the embodiments disclosed herein may be implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的 保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (10)

  1. 一种运维监控方法,其特征在于,应用于上位机,所述方法包括:An operation and maintenance monitoring method, characterized in that it is applied to a host computer, the method comprising:
    接收传感器和/或可编程逻辑控制器PLC发送的目标数据集;Receive target data sets sent by sensors and/or programmable logic controllers (PLCs);
    将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作;sending the target data set to a server; the server performs corresponding operations according to the target data set;
    所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  2. 根据权利要求1所述的方法,其特征在于,所述接收传感器和/或PLC发送的目标数据集,包括:The method according to claim 1, wherein the receiving the target data set sent by the sensor and/or the PLC comprises:
    接收传感器和/或PLC通过Modbus发送的目标数据集。Receive target data sets sent by sensors and/or PLCs via Modbus.
  3. 根据权利要求1所述的方法,其特征在于,所述将所述目标数据集发送给服务器之前,所述方法还包括以下至少之一:The method according to claim 1, wherein before the sending the target data set to the server, the method further comprises at least one of the following:
    对所述目标数据集进行加密;相应的,发送加密后的目标数据集;Encrypting the target data set; correspondingly, sending the encrypted target data set;
    将所述目标数据集转换为服务器对应的预设业务语言;相应的,发送转换为业务语言后的目标数据集;Converting the target data set into a preset business language corresponding to the server; correspondingly, sending the target data set converted into the business language;
    其中,所述对目标数据集进行加密,包括以下之一:Wherein, the encryption of the target data set includes one of the following:
    产生第一随机数,对所述第一随机数进行扰乱,得到第二随机数;根据所述第二随机数对所述目标数据集进行扰乱,得到扰乱后的目标数据集;generating a first random number, scrambling the first random number to obtain a second random number; scrambling the target data set according to the second random number to obtain a scrambled target data set;
    从服务器获取通信密钥,运用所述通信密钥对所述目标数据集进行加密;得到加密后的目标数据集。Obtain a communication key from the server, and use the communication key to encrypt the target data set; and obtain the encrypted target data set.
  4. 一种运维监控方法,其特征在于,应用于服务器,所述方法包括:An operation and maintenance monitoring method, characterized in that, applied to a server, the method comprising:
    接收上位机发送的数据集;Receive the data set sent by the host computer;
    对所述数据集进行分析,根据分析结果针对所述数据集中的数据执行不同的操作;Analyze the data set, and perform different operations on the data in the data set according to the analysis result;
    所述数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  5. 根据权利要求4所述的方法,其特征在于,所述根据分析结果针对所述数据集中的数据执行不同的操作,包括:The method according to claim 4, wherein the performing different operations on the data in the data set according to the analysis result, comprising:
    根据所述数据集中的类型符号和标志符,确定相应探测数据的预设处理策略;Determine a preset processing strategy for the corresponding detection data according to the type symbols and identifiers in the data set;
    根据所述预设处理策略确定相应探测数据符合相应条件时,执行对应的动作;When it is determined according to the preset processing strategy that the corresponding detection data meets the corresponding condition, the corresponding action is performed;
    所述动作包括以下至少之一:报警、展示、发送相应短信。The action includes at least one of the following: alarming, displaying, and sending a corresponding short message.
  6. 根据权利要求3所述的,其特征在于,所述方法还包括:接收上位机发送的获取指令;根据所述获取指令向所述上位机发送通信密钥;The method according to claim 3, wherein the method further comprises: receiving an acquisition instruction sent by a host computer; sending a communication key to the host computer according to the acquisition instruction;
    相应的,所述接收上位机发送的数据集,包括:接收上位机发送的加密后的目标数据集;Correspondingly, the receiving the data set sent by the host computer includes: receiving the encrypted target data set sent by the host computer;
    相应的,所述根据分析结果针对所述数据集中的数据执行不同的操作,包括:Correspondingly, performing different operations on the data in the data set according to the analysis results, including:
    对所述加密或的目标数据集进行解密。Decrypt the encrypted or target data set.
  7. 一种运维监控装置,其特征在于,应用于上位机,所述装置包括:An operation and maintenance monitoring device, characterized in that it is applied to a host computer, and the device comprises:
    第一接收模块,用于接收传感器和/或PLC发送的目标数据集;a first receiving module, configured to receive the target data set sent by the sensor and/or PLC;
    第一发送模块,用于将所述目标数据集发送给服务器;由所述服务器根据所述目标数据集进行相应操作;a first sending module, configured to send the target data set to a server; the server performs corresponding operations according to the target data set;
    所述目标数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The target data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  8. 一种运维监控装置,其特征在于,应用于服务器,所述装置包括:An operation and maintenance monitoring device, characterized in that, applied to a server, the device comprising:
    第二接收模块,用于接收上位机发送的数据集;The second receiving module is used to receive the data set sent by the upper computer;
    处理模块,用于对所述数据集进行分析,根据分析结果针对所述数据集中的数据执行不同的操作;a processing module, configured to analyze the data set, and perform different operations on the data in the data set according to the analysis result;
    所述数据集,包括以下至少之一:探测数据、探测数据对应的类型符号、描述采集探测数据的设备的标志符。The data set includes at least one of the following: detection data, a type symbol corresponding to the detection data, and an identifier describing a device that collects the detection data.
  9. 一种计算机设备,其特征在于,包括:处理器和存储器,所述处理器用于执行所述存储器中存储的服务的监控程序,以实现权利要求1~3中任一项所述运维监控方法,或者,实现权利要求4~6中任一项所述运维监控方法。A computer device, characterized in that it comprises: a processor and a memory, wherein the processor is configured to execute a monitoring program of a service stored in the memory, so as to implement the operation and maintenance monitoring method according to any one of claims 1 to 3 , or, implement the operation and maintenance monitoring method according to any one of claims 4 to 6.
  10. 一种存储介质,其特征在于,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1~3中任一项所述运维监控方法,或者,实现权利要求4~6中任一项所述运维监控方法。A storage medium, characterized in that, the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors, so as to realize any one of claims 1 to 3. The operation and maintenance monitoring method, or the operation and maintenance monitoring method according to any one of claims 4 to 6 is implemented.
PCT/CN2020/123275 2020-09-30 2020-10-23 Operation and maintenance monitoring method, apparatus, and storage medium WO2022067915A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011069791.5A CN112180826A (en) 2020-09-30 2020-09-30 Operation and maintenance monitoring method and device and storage medium
CN202011069791.5 2020-09-30

Publications (1)

Publication Number Publication Date
WO2022067915A1 true WO2022067915A1 (en) 2022-04-07

Family

ID=73948538

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/123275 WO2022067915A1 (en) 2020-09-30 2020-10-23 Operation and maintenance monitoring method, apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN112180826A (en)
WO (1) WO2022067915A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002048B (en) * 2022-05-31 2023-09-12 珠海格力电器股份有限公司 Data transmission method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279083A (en) * 2013-05-06 2013-09-04 中国船舶重工集团公司第七一二研究所 ORC (organic Rankine cycle) generator set wireless monitoring system and remote monitoring method
CN108259270A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of data center's system for unified management design method
CN108809701A (en) * 2018-05-23 2018-11-13 郑州云海信息技术有限公司 A kind of data center's wisdom data platform and its implementation

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436070B (en) * 2007-11-12 2010-08-11 宝山钢铁股份有限公司 Equipment diagnosis alarming device of decentralized control system
CN101581591B (en) * 2008-12-30 2011-08-31 无锡虹叶腾文电子科技有限公司 Coal gas remote meter reading system
CN104632190B (en) * 2014-12-23 2017-07-11 北京奥瑞安能源技术开发有限公司 A kind of Oil/gas Well parameter collecting method and system
CN105116846B (en) * 2015-07-15 2018-04-27 华南农业大学 Silkworm rearing room environmental intelligent monitor system and method based on wireless sensor network
US11646808B2 (en) * 2016-05-09 2023-05-09 Strong Force Iot Portfolio 2016, Llc Methods and systems for adaption of data storage and communication in an internet of things downstream oil and gas environment
CN107783515B (en) * 2016-08-31 2020-10-27 湖南中冶长天节能环保技术有限公司 On-site equipment detecting and managing system
CN111756523B (en) * 2016-11-04 2022-08-12 北京紫光展锐通信技术有限公司 Data transmission method and device
US10388140B2 (en) * 2017-10-18 2019-08-20 Bently Nevada, Llc Automated alarm shelving
CN110906968B (en) * 2019-12-05 2022-08-16 华南理工大学广州学院 Acquisition method of data acquisition system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279083A (en) * 2013-05-06 2013-09-04 中国船舶重工集团公司第七一二研究所 ORC (organic Rankine cycle) generator set wireless monitoring system and remote monitoring method
CN108259270A (en) * 2018-01-11 2018-07-06 郑州云海信息技术有限公司 A kind of data center's system for unified management design method
CN108809701A (en) * 2018-05-23 2018-11-13 郑州云海信息技术有限公司 A kind of data center's wisdom data platform and its implementation

Also Published As

Publication number Publication date
CN112180826A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US10560271B2 (en) Increased communication security
US8719938B2 (en) Detecting network intrusion using a decoy cryptographic key
US9578499B2 (en) Authenticating user sessions based on information obtained from mobile devices
CN106412024B (en) A kind of page acquisition methods and device
CN108347361B (en) Application program testing method and device, computer equipment and storage medium
US10462116B1 (en) Detection of data exfiltration
KR101294280B1 (en) System and Method capable of Preventing Individual Information Leakage by Monitoring Encrypted HTTPS-based Communication Data via Network Packet Mirroring
KR102177411B1 (en) Method for managing industrial control systems via physical one-way encryption remote monitoring
Mohammed et al. Fusion-on-field security and privacy preservation for IoT edge devices: Concurrent defense against multiple types of hardware trojan attacks
CN108494793B (en) Network access method, device and system
US20150281199A1 (en) Increased communication security
CN113127914A (en) Electric power Internet of things data security protection method
CN202759475U (en) Data transmission device, data reception device, data transmission system and server
CN108429820A (en) A kind of communication means of internet of things application layer, system and terminal device
US9419979B2 (en) Increased communication security
US9426148B2 (en) Increased communication security
WO2022067915A1 (en) Operation and maintenance monitoring method, apparatus, and storage medium
CN114584366A (en) Power monitoring network safety detection system and method
CN108243179B (en) Control system and control method
CN113194015A (en) Internet of things intelligent household equipment safety control method and system
CN114189515A (en) Server cluster log obtaining method and device based on SGX
CN112929357A (en) Virtual machine data analysis method, device, equipment and storage medium
CN115632879B (en) Log management method, system, electronic device and storage medium
CN113595240B (en) Method, device, equipment and storage medium for detecting electric power data
TWI827207B (en) Cloud server and operation method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20955935

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20955935

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20955935

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26/09/2023)