CN111046982B - Equipment data monitoring method and device, computer equipment and storage medium - Google Patents
Equipment data monitoring method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111046982B CN111046982B CN201811195460.9A CN201811195460A CN111046982B CN 111046982 B CN111046982 B CN 111046982B CN 201811195460 A CN201811195460 A CN 201811195460A CN 111046982 B CN111046982 B CN 111046982B
- Authority
- CN
- China
- Prior art keywords
- equipment
- data
- identification information
- unique identification
- receiving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 57
- 238000000034 method Methods 0.000 title claims abstract description 38
- 238000003860 storage Methods 0.000 title claims abstract description 15
- 238000004891 communication Methods 0.000 claims description 31
- 238000004590 computer program Methods 0.000 claims description 21
- 238000012806 monitoring device Methods 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 8
- 238000004519 manufacturing process Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 6
- 230000000007 visual effect Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 230000008676 import Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/04—Manufacturing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Primary Health Care (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- General Health & Medical Sciences (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Manufacturing & Machinery (AREA)
- General Engineering & Computer Science (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The application relates to a method and a device for monitoring equipment data, computer equipment and a storage medium, wherein the method comprises the following steps: receiving unique identification information of the equipment, and registering the equipment according to the unique identification information; acquiring the type of the registered equipment, and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data; and displaying the acquired equipment data. The staff only needs to input the unique identification information of the equipment for registration to finish data acquisition and display of different types of equipment, and the equipment access device can be compatible with various types of equipment for quick access, and can also realize equipment access operation by personnel without related professional experience. Compared with the traditional equipment data monitoring method, the management convenience is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a device data monitoring method and apparatus, a computer device, and a storage medium.
Background
Along with scientific progress and continuous development of society, the types of production equipment in the industrial production process are more and more, and the mechanical production of various products is realized by processing products in corresponding procedures through various production equipment. With the increasing high manufacturing cost, more and more manufacturing enterprises are eager to transform to realize intelligent manufacturing, and whether the running state of production equipment in a refined production mode is normal or not is directly related to the product yield by means of technologies such as internet, big data, artificial intelligence and the like, so that the data monitoring of the production equipment is particularly important.
The traditional equipment data monitoring method is characterized in that a developer performs programming operation on each piece of production equipment and inputs information of each piece of equipment into a platform, but the number of the production equipment in some large-scale manufacturing enterprises is often hundreds of thousands of equipment, a large amount of time and manpower are undoubtedly wasted in the aspect of coding when the number of the equipment is extremely large, equipment addition needs to depend on the developer, and the traditional equipment data monitoring method is extremely inconvenient for an equipment manager to manage the equipment, and has the defect of low management convenience.
Disclosure of Invention
In view of the above, it is necessary to provide a device data monitoring method, an apparatus, a computer device, and a storage medium with high management convenience, in order to solve the problem of low management convenience of the conventional device data monitoring method.
A method of device data monitoring, the method comprising:
receiving unique identification information of equipment, and registering the equipment according to the unique identification information;
acquiring the type of the registered equipment, and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data;
and displaying the acquired equipment data.
An equipment data monitoring device comprising:
the device registration module is used for receiving the unique identification information of the device and registering the device according to the unique identification information;
the data acquisition module is used for acquiring the type of the registered equipment and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data;
and the data display module is used for displaying the acquired equipment data.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving unique identification information of equipment, and registering the equipment according to the unique identification information;
acquiring the type of the registered equipment, and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data;
and displaying the acquired equipment data.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving unique identification information of equipment, and registering the equipment according to the unique identification information;
acquiring the type of the registered equipment, and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data;
and displaying the acquired equipment data.
According to the equipment data monitoring method, the device, the computer equipment and the storage medium, the equipment is registered according to the received unique identification information, and the data acquisition interface is called according to the registered type of the equipment to acquire and display the equipment data. The staff only needs to input the unique identification information of the equipment for registration to finish data acquisition and display of different types of equipment, and the equipment access device can be compatible with various types of equipment for quick access, and can also realize equipment access operation by personnel without related professional experience. Compared with the traditional equipment data monitoring method, the management convenience is improved.
Drawings
FIG. 1 is a flow diagram of a method for monitoring device data in one embodiment;
FIG. 2 is a flowchart illustrating invoking a corresponding data acquisition interface to obtain corresponding device data according to a device type in an embodiment;
FIG. 3 is a flow chart of a method for monitoring device data in another embodiment;
FIG. 4 is a block diagram of an apparatus data monitoring device according to an embodiment;
FIG. 5 is a block diagram of an apparatus data monitoring device according to another embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one implementation, a method for monitoring plant data is provided that is suitable for monitoring data of a production plant. As shown in fig. 1, the method includes:
step S110: and receiving the unique identification information of the equipment, and registering the equipment according to the unique identification information.
Specifically, the unique identification information of the device can be received and registered by monitoring the display platform device. The staff can input the unique identification information of the equipment through the visual interface of the monitoring display platform equipment to register an account, acquire the authority of the equipment to access the platform, and establish a corresponding task to perform access management on the data stream of the equipment. After the staff logs in the platform, a Data flow can be created after clicking a Data flow list in a menu list Dataflow of the platform, so that subsequent Data access of the equipment can be managed. The specific type of the unique identification information is not unique, and in one embodiment, the unique identification information of the device is a device ID (identity). The equipment ID which uniquely identifies the equipment identity is used for equipment registration, and the operation is simple, convenient and reliable.
The specific manner of receiving the unique identification information of the device is not unique, and in one embodiment, the step S110 of receiving the unique identification information of the device includes: and receiving the unique identification information of the devices imported in batches. Specifically, the staff may import the unique identification information of the device into the monitoring display platform device by using an excel form to perform device batch import registration, so as to implement simultaneous access registration of multiple devices.
In addition, in step S110, the device is registered according to the unique identification information, which may be registration verification of the device according to a preset access permission list, and if the received unique identification information is in the access permission list, the relevant device is registered and an access right is granted; otherwise, the equipment is not allowed to be registered, and the monitoring display platform equipment can also output registration failure information through a visual interface. It is understood that, in other embodiments, the monitoring and displaying platform device may also directly perform registration of the relevant device according to the received unique identification information.
Step S120: and acquiring the type of the registered equipment, and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data.
The particular type of device is not unique and the communication protocols used by different types of devices may be the same or different. After the equipment is registered, the monitoring display platform equipment authenticates each registered equipment to acquire the type of the equipment, and calls a corresponding data acquisition interface to acquire equipment data according to the type of the equipment. The mode of acquiring the registered equipment type by the monitoring display platform equipment is not unique, and related data such as unique identification information, equipment types, equipment function descriptions and the like of different equipment can be stored in advance, and after the equipment is registered by receiving the unique identification information of the equipment, the equipment type can be directly known according to the stored data; or directly acquiring the device type information from a storage unit in the device after the unique identification information of the device is received to complete registration of the device and establish data flow with the corresponding device.
The data acquisition interface is used for communicating with the equipment to obtain equipment data, and the data acquisition interfaces called by the monitoring display platform equipment are correspondingly different according to different communication protocols of the equipment. The monitoring display platform equipment can pre-store the corresponding relation between the equipment type and the data acquisition interface, and directly calls the corresponding data acquisition interface to acquire the data of the equipment after the equipment type is obtained. The monitoring display platform equipment can also pre-store the corresponding relation between the equipment communication protocol and the data acquisition interface, determine the communication protocol of the equipment of the type after the equipment type is obtained, and call the corresponding data acquisition interface to acquire the data of the equipment according to the communication protocol of the equipment.
Step S130: and displaying the acquired equipment data.
After the monitoring display platform equipment acquires the equipment data, the acquired equipment data can be displayed through a visual interface, so that workers can monitor the equipment, the data of various types of equipment can be rapidly accessed and communicated, and the rapid display of the equipment data can be realized.
The specific content of the device data is not unique and in one embodiment, the device data includes operational status data. In particular, the operating status data may include the operating time and the processing rate of the equipment, wherein the processing rate refers to the time period of operation of the equipment during one day. The operation filling data of the equipment are quickly accessed and displayed, so that the use efficiency of the equipment is monitored, and then the management and production mode for improving the use efficiency of the equipment is found through analysis. In addition, the equipment data may also include production process parameters, such as product processing information, equipment temperature, humidity of the environment, and the like.
According to the equipment data monitoring method, the data acquisition and display of different types of equipment can be completed only by inputting the unique identification information of the equipment for registration by a worker, the equipment can be quickly, simply and conveniently connected into the monitoring display platform and communicated with the data, and the quick display of the equipment data is realized. The device is compatible with various types of equipment for quick access, and personnel without related professional experience can realize equipment access operation, so that the management convenience is improved.
In one embodiment, as shown in fig. 2, in step S120, according to the type of the registered device, a corresponding data acquisition interface is called to acquire corresponding device data, including step S122 and step S124.
Step S122: and controlling the equipment connecting assembly to call the corresponding data acquisition interface to acquire data of the equipment according to the type of the equipment. The equipment connecting assembly is used for connecting the equipment and the monitoring display platform equipment, and communicating with the equipment to acquire equipment data and uploading the equipment data to the monitoring display platform equipment. Specifically, the equipment connecting assembly is preset with data acquisition interfaces supporting different communication protocols, and after the monitoring display platform equipment knows the type of the equipment, the equipment connecting assembly is controlled to call the data acquisition interfaces meeting the communication protocol standards of the equipment to communicate with the equipment so as to acquire the equipment data.
Step S124: and receiving equipment data obtained by data acquisition of the equipment by the equipment connecting assembly. After the data acquisition is completed, the equipment connecting assembly uploads the acquired equipment data to the monitoring display platform equipment so as to display the data on the monitoring display platform equipment.
The specific type of device data uploaded by the device connection component is not unique, and in one embodiment, step S124 includes: receiving an MQTT (Message Queuing Telemetry Transport) protocol data packet generated and uploaded according to the acquired data; and analyzing the MQTT protocol data packet uploaded by the equipment connecting component to obtain equipment data. Specifically, after the device connecting assembly collects data, the data are packaged into an MQTT protocol data packet and uploaded to the monitoring display platform device, and the monitoring display platform device is directly called, so that data communication is realized. The specific protocol of MQTT is as follows:
generic collected data publishing rules
And (3) publishing a subject: $ devicemate/device physical ID/acquisition item name
Devicemate: and (4) common acquisition data labels.
Device physical ID: the platform identifies the unique physical ID of the acquired device and needs to register in the platform.
Collecting item names: and the naming of the collection items can be defined by the user according to the requirements.
Inserting Mysql database collected data release rules on the basis of common collected data release rules
And (3) publishing a subject: $ insert mysql/device physical ID/collection item name
And (3) issuing a message: sql statement
In this embodiment, the acquired data is packaged into MQTT protocol data packets by the device connection assembly and then uploaded, so that protocol exchange minimization is realized, network traffic is reduced, and data transmission cost is reduced.
In another embodiment, step S124 includes: receiving data acquired by the equipment connecting assembly, and encoding the data according to the acquired data and uploading the encoded data; and decoding the data uploaded by the equipment connecting assembly to obtain the equipment data. The equipment connecting assembly encodes the collected data, uploads the encoded data to the monitoring display platform equipment, and the monitoring display platform equipment decodes the received data to obtain the equipment data. In the embodiment, the collected data is accessed to the platform in a code editing mode, the operation is simple, convenient and reliable, and the safety of data transmission is improved.
In one embodiment, as shown in fig. 3, after step S130, the method may further include step S140.
Step S140: and monitoring the data flow communication state of the equipment to obtain and display the communication state information.
The monitoring display platform device is not unique in the mode of monitoring the data stream communication state of the device, and taking the example that the device connection component uploads the MQTT protocol data packet, the monitoring display platform device can monitor the data stream communication state by detecting a script of the received MQTT protocol data packet. For example, the time for sending the data packet can be obtained according to a timestamp carried by a script in an MQTT protocol data packet, and if a new data packet is not received after a preset time length elapses since the last time an uploaded data packet is received, it can be considered that the data stream communication is interrupted; when the sending time interval between the data packets received twice continuously is larger than the preset interval threshold value, the task data stream communication is unstable, and the data packets are lost in the data uploading process. The preset interval threshold may be set according to an upload interval of the data packet.
Specifically, the data flow communication state of the device can be monitored through a simulation test program stored in the monitoring display platform device, and communication state information is obtained. And opening a test page by a worker, and displaying the communication state information as test data on the test page. In this embodiment, through the data flow intercommunication state to equipment monitor the demonstration, the staff can in time know when the data flow intercommunication appears unusually, ensures that the control of equipment data is accurate reliable.
It should be understood that although the various steps in the flow charts of fig. 1-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, an equipment data monitoring device is provided and is suitable for monitoring data of production equipment. As shown in fig. 4, the apparatus includes a device registration module 110, a data acquisition module 120, and a data display module 130.
The device registration module 110 is configured to receive unique identification information of a device, and register the device according to the unique identification information.
The staff can input the unique identification information of the equipment through the visual interface to register an account, acquire the authority of the equipment to access the platform, and establish a corresponding task to perform access management on the data stream of the equipment. The specific type of the unique identification information is not unique, and in one embodiment, the unique identification information of the device is a device ID (identity). The equipment ID which uniquely identifies the equipment identity is used for equipment registration, and the operation is simple, convenient and reliable.
The specific manner of receiving the unique identification information of the devices is also not unique, and in one embodiment, the device registration module 110 receives the unique identification information of the devices imported in bulk. Specifically, the staff may import the unique identification information of the device by using an excel form to perform device batch import registration, so as to implement simultaneous access registration of multiple devices.
In addition, the device registration module 110 registers the device according to the unique identification information, which may be registration verification of the device according to a preset access permission list, and registers the related device to grant access permission if the received unique identification information is in the access permission list; otherwise, the device is not allowed to register. It is understood that in other embodiments, the device registration module 110 may directly perform the registration of the relevant device according to the received unique identification information.
The data obtaining module 120 is configured to obtain the type of the registered device, and call a corresponding data collecting interface according to the type of the device to obtain corresponding device data.
The particular type of device is not unique and the communication protocols used by different types of devices may be the same or different. After the registration of the device is completed, the data obtaining module 120 authenticates each registered device to obtain the type of the device, and calls a corresponding data collecting interface to collect device data according to the type of the device. The data acquisition interface is used for communicating with the equipment to obtain equipment data, and the called data acquisition interfaces are different correspondingly according to different communication protocols of the equipment.
The data display module 130 is configured to display the acquired device data.
After the device data is acquired, the data display module 130 may specifically display the acquired device data through a visual interface, so that a worker may monitor the device, and data of various types of devices may be quickly accessed and communicated, thereby quickly displaying the device data. The specific content of the device data is not unique and in one embodiment, the device data includes operational status data. In particular, the operating status data may include the operating time and the processing rate of the equipment, wherein the processing rate refers to the time period of operation of the equipment during one day. The operation filling data of the equipment are quickly accessed and displayed, so that the use efficiency of the equipment is monitored, and then the management and production mode for improving the use efficiency of the equipment is found through analysis. In addition, the equipment data may also include production process parameters, such as product processing information, equipment temperature, humidity of the environment, and the like.
According to the equipment data monitoring device, the working personnel can complete data acquisition and display of different types of equipment only by registering the unique identification information of the input equipment, the equipment can be quickly, simply and conveniently connected into the monitoring display platform and communicated with data, and the equipment data can be quickly displayed. The device is compatible with various types of equipment for quick access, and personnel without related professional experience can realize equipment access operation, so that the management convenience is improved.
In one embodiment, the data acquisition module 120 controls the device connection component to call a corresponding data acquisition interface to acquire data of the device according to the type of the device; and receiving equipment data obtained by data acquisition of the equipment by the equipment connecting assembly. Specifically, the device connection component presets data acquisition interfaces supporting different communication protocols, and after the type of the device is known by the data acquisition module 120, the device connection component is controlled to call the data acquisition interfaces meeting the communication protocol standard of the device to communicate with the device, so as to acquire device data.
The specific type of the device data uploaded by the device connection component is not unique, and in one embodiment, the data acquisition module 120 receives the data acquired by the device connection component for the device, and generates and uploads an MQTT protocol data packet according to the acquired data; and analyzing the MQTT protocol data packet uploaded by the equipment connecting component to obtain equipment data. The acquired data are packaged into MQTT protocol data packets through the equipment connecting assembly and then uploaded, so that protocol exchange minimization is realized, network flow is reduced, and data transmission cost is reduced.
In another embodiment, the data acquisition module 120 receives data acquired by the device connection component for the device, encodes the acquired data, and uploads the encoded data; and decoding the data uploaded by the equipment connecting assembly to obtain the equipment data. The access platform for the collected data in a code editing mode is simple, convenient and reliable to operate, and the safety of data transmission is improved.
In one embodiment, as shown in FIG. 5, the apparatus further includes a condition monitoring module 140. The status monitoring module 140 is configured to monitor a data flow communication status of the device after the data display module 130 displays the obtained device data, so as to obtain and display communication status information.
The mode of monitoring the data stream connection state of the device is not unique, and taking the example of uploading the MQTT protocol data packet by the device connection component, the state monitoring module 140 may be configured to monitor the data stream connection state by detecting a script of the received MQTT protocol data packet. Through monitoring the data flow communication state of the equipment and displaying, the staff can timely know when the data flow communication is abnormal, and the monitoring of the equipment data is ensured to be accurate and reliable.
For specific limitations of the device data monitoring apparatus, reference may be made to the above limitations of the device data monitoring method, which are not described herein again. The modules in the device data monitoring apparatus may be implemented wholly or partially by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a device data monitoring method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program: receiving unique identification information of the equipment, and registering the equipment according to the unique identification information; acquiring the type of the registered equipment, and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data; and displaying the acquired equipment data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: controlling the equipment connecting assembly to call a corresponding data acquisition interface to acquire data of the equipment according to the type of the equipment; and receiving equipment data obtained by data acquisition of the equipment by the equipment connecting assembly.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving an MQTT protocol data packet generated and uploaded according to the acquired data; and analyzing the MQTT protocol data packet uploaded by the equipment connecting component to obtain equipment data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving data acquired by the equipment connecting assembly, and encoding the data according to the acquired data and uploading the encoded data; and decoding the data uploaded by the equipment connecting assembly to obtain the equipment data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and monitoring the data flow communication state of the equipment to obtain and display the communication state information.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving unique identification information of the equipment, and registering the equipment according to the unique identification information; acquiring the type of the registered equipment, and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data; and displaying the acquired equipment data.
In one embodiment, the computer program when executed by the processor further performs the steps of: controlling the equipment connecting assembly to call a corresponding data acquisition interface to acquire data of the equipment according to the type of the equipment; and receiving equipment data obtained by data acquisition of the equipment by the equipment connecting assembly.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving an MQTT protocol data packet generated and uploaded according to the acquired data; and analyzing the MQTT protocol data packet uploaded by the equipment connecting component to obtain equipment data.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving data acquired by the equipment connecting assembly, and encoding the data according to the acquired data and uploading the encoded data; and decoding the data uploaded by the equipment connecting assembly to obtain the equipment data.
In one embodiment, the computer program when executed by the processor further performs the steps of: and monitoring the data flow communication state of the equipment to obtain and display the communication state information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for monitoring device data, the method comprising:
receiving unique identification information of equipment, and registering the equipment according to the unique identification information and a preset allowed access list;
acquiring the type of the registered equipment, and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data;
displaying the obtained equipment data;
the step of calling the corresponding data acquisition interface to acquire the corresponding equipment data according to the type of the registered equipment comprises the following steps: controlling the equipment connecting assembly to call a corresponding data acquisition interface to acquire data of the equipment according to the type of the equipment; and receiving the equipment data obtained by the equipment connecting assembly performing data acquisition on the equipment.
2. The method of claim 1, wherein the equipment data comprises operational status data comprising an operational time and a processing rate of the equipment.
3. The method of claim 2, wherein the receiving device data from the device connection component collecting data about the device comprises:
receiving an MQTT protocol data packet which is generated and uploaded according to the acquired data and used for acquiring data of the equipment by the equipment connecting component;
and analyzing the MQTT protocol data packet uploaded by the equipment connecting component to obtain equipment data.
4. The method of claim 2, wherein the receiving device data from the device connection component collecting data about the device comprises:
receiving data which is acquired by the equipment connecting assembly to the equipment, encoded according to the acquired data and uploaded;
and decoding the data uploaded by the equipment connecting assembly to obtain the equipment data.
5. The method of claim 2, wherein after displaying the obtained device data, further comprising:
and monitoring the data flow communication state of the equipment to obtain and display the communication state information.
6. The method according to any one of claims 1-5, wherein the receiving the unique identification information of the device comprises: and receiving the unique identification information of the devices imported in batches.
7. The method according to any of claims 1-5, characterized in that the unique identification information of the device is a device ID and/or the device data comprises operational status data.
8. An apparatus for monitoring device data, comprising:
the device registration module is used for receiving the unique identification information of the device and registering the device according to the unique identification information and a preset access permission list;
the data acquisition module is used for acquiring the type of the registered equipment and calling a corresponding data acquisition interface according to the type of the equipment to acquire corresponding equipment data; the data acquisition module controls the equipment connecting assembly to call a corresponding data acquisition interface to acquire data of the equipment according to the type of the equipment; receiving equipment data obtained by data acquisition of equipment by an equipment connecting assembly;
and the data display module is used for displaying the acquired equipment data.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811195460.9A CN111046982B (en) | 2018-10-15 | 2018-10-15 | Equipment data monitoring method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811195460.9A CN111046982B (en) | 2018-10-15 | 2018-10-15 | Equipment data monitoring method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111046982A CN111046982A (en) | 2020-04-21 |
CN111046982B true CN111046982B (en) | 2021-05-18 |
Family
ID=70230599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811195460.9A Active CN111046982B (en) | 2018-10-15 | 2018-10-15 | Equipment data monitoring method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111046982B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114297035B (en) * | 2021-12-30 | 2023-11-14 | 创维集团智能装备有限公司 | Production monitoring method, system, equipment and computer readable storage medium |
CN114691440B (en) * | 2022-06-01 | 2022-09-02 | 广州市高奈特网络科技有限公司 | Data extraction method and device of equipment, computer equipment and storage medium |
CN115037811B (en) * | 2022-08-12 | 2022-11-25 | 中达安股份有限公司 | Equipment data interaction method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106330324A (en) * | 2015-07-09 | 2017-01-11 | 中兴通讯股份有限公司 | Control method and device |
CN108322557A (en) * | 2018-05-10 | 2018-07-24 | 海尔优家智能科技(北京)有限公司 | A kind of application apparatus finds method, apparatus, computer equipment and storage medium |
CN108375390A (en) * | 2018-04-28 | 2018-08-07 | 深圳远征技术有限公司 | Configurable data concentrated collection method, apparatus and equipment |
-
2018
- 2018-10-15 CN CN201811195460.9A patent/CN111046982B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106330324A (en) * | 2015-07-09 | 2017-01-11 | 中兴通讯股份有限公司 | Control method and device |
CN108375390A (en) * | 2018-04-28 | 2018-08-07 | 深圳远征技术有限公司 | Configurable data concentrated collection method, apparatus and equipment |
CN108322557A (en) * | 2018-05-10 | 2018-07-24 | 海尔优家智能科技(北京)有限公司 | A kind of application apparatus finds method, apparatus, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111046982A (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111046982B (en) | Equipment data monitoring method and device, computer equipment and storage medium | |
CN107888397B (en) | Method and device for determining fault type | |
CN108062367B (en) | Data list uploading method and terminal thereof | |
CN110266752B (en) | Block chain information pushing method and device, computer equipment and storage medium | |
CN110532168B (en) | Full-link interface pressure measurement method and device, computer equipment and storage medium | |
CN113055417A (en) | Intelligent industrial Internet of things system | |
WO2017114152A1 (en) | Service dial testing method, apparatus and system | |
Da'na et al. | Development of a monitoring and control platform for PLC-based applications | |
CN110674440A (en) | Buried point data processing method, system, computer device and readable storage medium | |
US11651415B2 (en) | On-demand service providing system and on-demand service providing method | |
CN103957133A (en) | Log monitoring method and device | |
CN111008906A (en) | Manufacturing enterprise production execution management system | |
CN110932918A (en) | Log data acquisition method and device and storage medium | |
CN111736539B (en) | Monitoring data display method, device, system, server and storage medium | |
US11445010B2 (en) | Distributed historization system | |
CN108696480A (en) | Industrial service right management method, device and machine tool | |
CN111769979A (en) | Cloud resource arranging method, system, terminal and storage medium | |
CN111835583B (en) | Attribute inspection method and device for products of Internet of things and computer equipment | |
CN113190286B (en) | MES system, loading method, terminal and medium for dynamically and remotely loading functional plug-ins | |
CN117744978A (en) | Patrol task scheduling method and device, electronic equipment and nonvolatile storage medium | |
CN113282308A (en) | Mirror image construction method and device, storage medium and electronic device | |
CN111897843A (en) | Configuration method and device of data transfer strategy of Internet of things and computer equipment | |
CN111859083A (en) | Service data processing method, device, equipment and computer readable storage medium | |
CN109214765B (en) | Visitor intelligent management method, device, system and computer readable storage medium | |
CN115741708A (en) | Method and device for determining manipulator state and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |