CN117336319A - Equipment management method, system, equipment and medium based on Internet of things platform - Google Patents

Equipment management method, system, equipment and medium based on Internet of things platform Download PDF

Info

Publication number
CN117336319A
CN117336319A CN202311210176.5A CN202311210176A CN117336319A CN 117336319 A CN117336319 A CN 117336319A CN 202311210176 A CN202311210176 A CN 202311210176A CN 117336319 A CN117336319 A CN 117336319A
Authority
CN
China
Prior art keywords
internet
equipment
platform
stariot
things
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.)
Pending
Application number
CN202311210176.5A
Other languages
Chinese (zh)
Inventor
聂圣
李尤
宋卫平
佘文魁
杨帆
刘田豹
李庆尧
阮正平
田富强
李欢欢
谷波
叶鑫平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Zhongdian Aostar Information Technologies Co ltd
Original Assignee
Sichuan Zhongdian Aostar Information Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Zhongdian Aostar Information Technologies Co ltd filed Critical Sichuan Zhongdian Aostar Information Technologies Co ltd
Priority to CN202311210176.5A priority Critical patent/CN117336319A/en
Publication of CN117336319A publication Critical patent/CN117336319A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/10Detection; Monitoring
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/20Analytics; Diagnosis
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • G16Y40/35Management of things, i.e. controlling in accordance with a policy or in order to achieve specified objectives
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/40Maintenance of things
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/149Network analysis or design for prediction of maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Biomedical Technology (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to the technical field of the Internet of things, in particular to a device management method, a system, a device and a medium based on an Internet of things platform; firstly, connecting a StarIoT platform to obtain equipment information, generating a json configuration file and uploading the json configuration file to a cloud; secondly, sending the device data log to a Stariot server according to a corresponding app transmission protocol; then, according to a topic request instruction, acquiring a device gateway log and remotely monitoring the device state; finally, the file to be upgraded is replaced by running an excute.sh script, and the state of the equipment is adjusted; the efficiency and the accuracy of equipment management are improved, and the stability and the reliability of the system are ensured.

Description

Equipment management method, system, equipment and medium based on Internet of things platform
Technical Field
The invention relates to the technical field of the Internet of things, in particular to a device management method, a system, a device and a medium based on an Internet of things platform.
Background
The internet of things (Internet of Things, ioT) is an important component of the new generation of information technology and is also an important development stage of the "informatization" era. As the name implies, the internet of things is the internet to which things are connected. This has two layers of meaning: firstly, the core and the foundation of the Internet of things are still the Internet, and the Internet is an extended and expanded network based on the Internet; secondly, the user side extends and expands to any article to article, and information exchange and communication are carried out, namely, the article is in information. The internet of things is widely applied to the fusion of networks through communication sensing technologies such as intelligent sensing, recognition technologies, pervasive computing and the like, and is also called as the third wave of development of world information industry after a computer and the Internet. The internet of things is an application expansion of the internet, and is a network rather than a business and an application. Therefore, application innovation is the core of the development of the Internet of things. The internet of things is an important component of a new generation of information technology, and has wide application prospect and development space. With the continuous development of the technology of the Internet of things and the continuous expansion of application scenes, the Internet of things brings more convenience and value to the life and work of people.
At present, the application of the internet of things encounters a plurality of problems in the development process. Firstly, the variety of terminals of the internet of things is very large, and how to effectively manage the terminals is an important problem to be solved in the application of the internet of things. Therefore, it is necessary to realize standardization of terminals and separation of service data and management data. Secondly, with popularization of application of the internet of things, problems of high construction cost, long construction period and the like are gradually emerging. Therefore, it is necessary to make full use of the existing terminals, avoiding repeated construction and wasting resources. Third, internet of things applications typically require multiple different types of terminals to co-operate rather than redeploying their own terminals for each application. Finally, grouping the terminals according to their location or type attributes may increase the development and maintenance costs of the application. Therefore, a more efficient terminal management approach needs to be explored to reduce the complexity of application development and maintenance.
The current equipment is numerous, the equipment is distributed in county of every department, the states of use of many equipment are different, the direction of use is different, the scene environment is different, can lead to equipment to have abnormal capture in specific time, these circumstances have all strengthened the management burden of thing networking to equipment to bring inconvenience to thing networking management.
Urban areas develop, and more areas need to use internet of things management equipment. The prior art cannot completely and effectively upload equipment information in a field management mode of the power equipment, and partial field environment is poor in communication quality, so that uploading and reporting of equipment information of various places by field personnel are not facilitated. Along with popularization of application of the Internet of things, the construction cost is high, the construction period is long, the existing terminal is required to be fully utilized, and repeated construction and resource waste are avoided.
Disclosure of Invention
Aiming at the problems that the on-site management mode of the electric power equipment cannot completely and effectively upload equipment information, and the communication quality of part of on-site environments is poor and uploading and reporting of the equipment information of all places are not facilitated, the invention provides an equipment management method, an equipment management system, equipment and a medium based on an Internet of things platform; firstly, a StarIoT platform is connected to obtain equipment information, and a json configuration file is generated and uploaded to a cloud; secondly, sending the device data log to a Stariot server according to a corresponding app transmission protocol; then, according to a topic request instruction, acquiring a device gateway log and remotely monitoring the device state; finally, the file to be upgraded is replaced by running an excute.sh script, and the state of the equipment is adjusted; the efficiency and the accuracy of equipment management are improved, and the stability and the reliability of the system are ensured.
The invention has the following specific implementation contents:
an equipment management method based on an internet of things platform specifically comprises the following steps:
step S1: connecting a Stariot internet of things platform, acquiring device information according to the Stariot internet of things platform, generating a json configuration file according to the device information, and uploading the json configuration file to a cloud;
step S2: connecting the Internet in a wireless mode, and sending the device data log to a Stariot server according to a transmission protocol corresponding to the Stariot Internet of things platform;
step S3: according to a topic request instruction obtained from the StarIoT platform, obtaining a device gateway log and remotely monitoring a device state;
step S4: and calling an application warehouse of the StarIoT platform, downloading the SDK template to the linux end, generating an application package, running an excute.sh script program according to the application package to replace a file to be upgraded, and optimizing the state of the equipment.
In order to better realize the invention, further, the StarIoT platform comprises an application interface layer, an application layer and a system adaptation layer;
the application interface layer is used for configuring an application interface and connecting external equipment and the application layer;
the application layer is used for configuring iot _ sdk components;
the system adaptation layer is used for configuring a system bottom layer interface according to the hardware interface.
In order to better implement the present invention, further, the device information in step S1 includes a device production key, a device name, and a device DeviceSecret.
In order to better implement the present invention, further, the wireless manner in step S2 includes a 4G manner, a 5G manner, and a WIFI manner.
In order to better implement the present invention, further, the transmission protocol in step S2 includes Modbus industrial protocol, QGDW1376.2 industrial protocol, DTL645 industrial protocol, IEC104 industrial protocol.
In order to better implement the present invention, further, the specific operation of step S3 is as follows: according to a topic request instruction obtained from the StarIoT platform, obtaining a device gateway log, analyzing the message of the transmission protocol according to the device gateway log, obtaining a protocol address corresponding to the device according to the message, and remotely monitoring the device state at a webpage end.
Based on the device management method based on the internet of things platform, in order to better realize the invention, further, a device management system based on the internet of things platform is provided, which comprises an initialization unit, a configuration unit, a monitoring unit and an optimization unit;
the initialization unit is used for connecting with a StarIoT (internet of things) platform, acquiring equipment information according to the StarIoT platform, generating a json configuration file according to the equipment information and uploading the json configuration file to a cloud;
the configuration unit is used for connecting the Internet in a wireless mode and sending the equipment data log to the Stariot server according to a transmission protocol corresponding to the Stariot internet of things platform;
the monitoring unit is used for acquiring a device gateway log according to a topic request instruction acquired from the StarIoT platform and remotely monitoring the device state;
the optimizing unit is used for calling an application warehouse of the StarIoT platform, downloading the SDK template to the linux end, generating an application package, running an excute.sh script program to replace a file to be upgraded according to the application package, and optimizing the equipment state.
Based on the device management method based on the internet of things platform, in order to better realize the invention, further, an electronic device is provided, which comprises a memory and a processor; the memory is used for storing a computer program; the computer program is used for realizing the device management method based on the Internet of things platform when being executed on the processor.
In order to better implement the present invention, further, a computer readable storage medium is provided based on the above-mentioned device management method based on the internet of things platform, where the computer readable storage medium stores computer instructions; when the computer instructions are executed on the electronic equipment, the equipment management method based on the Internet of things platform is achieved.
The invention has the following beneficial effects:
(1) By monitoring and analyzing the equipment data in real time, the invention provides decision support, optimizes the maintenance plan, reduces the equipment failure rate and the maintenance cost, and improves the efficiency and the accuracy of equipment management.
(2) According to the invention, through fault prediction and optimized maintenance, the reliability and safety of the equipment are improved, the risks of data loss and accidents are reduced, and the reliability and safety of the power system are improved.
(3) The invention reduces the workload of manual inspection and maintenance through remote control and maintenance, improves the efficiency of management and maintenance, and is convenient for management and maintenance.
Drawings
Fig. 1 is a schematic block diagram of a StarIoT platform architecture.
Fig. 2 is a StarIoT platform technology architecture schematic.
Fig. 3 is a schematic block diagram of a StarIoT platform software architecture.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions of 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, and it should be understood that the described embodiments are only some embodiments of the present invention, but not all embodiments, and therefore should not be considered as limiting the scope of protection. All other embodiments, which are obtained by a worker of ordinary skill in the art without creative efforts, are within the protection scope of the present invention based on the embodiments of the present invention.
In the description of the present invention, it should be noted that, unless explicitly stated and limited otherwise, the terms "disposed," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; or may be directly connected, or may be indirectly connected through an intermediate medium, or may be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The technical terms and explanations related to the embodiment of the invention are as follows:
the Internet of things: through the information sensing equipment, any object is connected with a network according to a stipulated protocol, and the object exchanges information and communicates through an information transmission medium so as to realize the functions of intelligent identification, positioning, tracking, supervision and the like.
SDK: software Development Kit, software development kit.
API: application Programming Interface, application program interface.
Modbus protocol: modbus is a serial communication protocol.
QGDW1376.2: and (5) a communication protocol of an electricity consumption information acquisition system of the power consumer.
DTL645: an ammeter remote transmission protocol in China.
IEC104 protocol: is an international standard widely applied to industries such as electric power, urban rail transit and the like.
RS485 and 232: and (5) a communication standard.
CANBUS-serial bus system for connection of field devices such as sensors, actuators, controllers, etc. in a manufacturing plant.
MySQL server, a relational database management system.
OTA: the technology for remotely managing mobile terminal equipment and SIM card data is realized through an air interface of mobile communication.
MQTT message queue telemetry transport is a message protocol based on the publish/subscribe paradigm under the ISO standard (ISO/IEC PRF 20922).
HTTP: hypertext transfer protocol.
WebSocket: a protocol for full duplex communication over a single TCP connection.
OPC: a software tool for protocol conversion works to convert different protocols into the communication protocol that we need.
PLC: an electronic system for digital operation.
TLS: for providing confidentiality and data integrity between two communication applications.
The StarIoT platform provides core functions required by enterprise building Internet of things and development Internet of things applications, including safe and reliable registration access, data acquisition, protocol analysis, route forwarding, application issuing and the like.
The platform supports various communication modes including 4/5G, wire and the like, and the matched sdk supports various industrial protocols such as Modbus, QGDW1376.2, DTL645, IEC104 and the like. In terms of transport protocols, the platform supports multiple protocols, such as MQTT, HTTP, etc. In the aspect of device communication, the platform provides a reliable and stable channel and supports triple encryption authentication and TLS secure transmission. In the aspect of the object model, the platform describes the attributes, events and services of the equipment by using a standard unified format, so that the digital management of the equipment is facilitated. In the aspect of equipment registration, the platform adopts a triplet authentication mode for registration. In the aspect of message track, the platform records the whole flow process of the uplink and downlink messages in the system in detail. In terms of equipment status, the platform provides equipment on/off line change notification service, and can acquire the equipment status in real time. In terms of edge gateway management, the platform supports management of remote devices including clock/time zone modification, firmware upgrade, resource monitoring, etc. In terms of container management, the platform supports management of container lifecycles. In terms of application management, the platform supports managing lifecycles of applications within the container.
Application scene: in the field of industrial Internet, such as 2.0 access, data acquisition, forwarding, control instruction issuing and the like of a self-research intelligent terminal; in the smart city field, such as access, data acquisition, data forwarding, control instruction issuing, etc. of smart gateways for smart street lamps. In the field of intelligent logistics, such as vehicle-mounted equipment access and the like.
Example 1:
the embodiment provides a device management method based on an internet of things platform, which specifically comprises the following steps:
step S1: and connecting a Stariot internet of things platform, acquiring device information according to the Stariot internet of things platform, generating a json configuration file according to the device information, and uploading the json configuration file to a cloud.
The device information in step S1 includes a device production key, a device name, and a device DeviceSecret.
Step S2: the internet is connected in a wireless manner and the device data log is sent to the StarIoT server according to a transport protocol corresponding to the StarIoT internet of things platform.
The wireless mode in step S2 includes a 4G mode, a 5G mode, and a WIFI mode.
Further, the transmission protocol in step S2 includes Modbus industrial protocol, QGDW1376.2 industrial protocol, DTL645 industrial protocol, and IEC104 industrial protocol.
Step S3: and acquiring a device gateway log according to a topic request instruction acquired from the StarIoT platform, and remotely monitoring the device state.
The specific operation of the step S3 is as follows: according to a topic request instruction obtained from the StarIoT platform, obtaining a device gateway log, analyzing the message of the transmission protocol according to the device gateway log, obtaining a protocol address corresponding to the device according to the message, and remotely monitoring the device state at a webpage end.
Step S4: and calling an application warehouse of the StarIoT platform, downloading the SDK template to the linux end, generating an application package, running an excute.sh script program according to the application package to replace a file to be upgraded, and optimizing the state of the equipment.
As shown in fig. 3, the StarIoT internet of things platform provided in the present embodiment includes an application interface layer, an application layer, and a system adaptation layer;
the application interface layer is used for configuring an application interface and connecting external equipment and the application layer;
the application layer is used for configuring iot _ sdk components;
the system adaptation layer is used for configuring a system bottom layer interface according to the hardware interface.
Working principle:
example 2:
this embodiment is described in a specific embodiment based on embodiment 1 described above, as shown in fig. 1, 2, and 3.
The embodiment displays the functions of reporting data, issuing product functions, enabling remote change equipment, managing application and the like of the statistical equipment through a webpage interface. And meanwhile, on-line task management is combined with off-line field service personnel to realize seamless collection.
Firstly, the platform realizes intelligent perception and data acquisition of the device through a Stariot technology, and the state information of the device is uploaded to the cloud. Then, fault diagnosis and predictive maintenance are carried out on the equipment through cloud data analysis and processing, so that the operation efficiency and reliability of the equipment are improved. And then the platform performs task management and remote control through the webpage end. The user can issue tasks, check the state of the equipment, control the equipment and the like through the webpage end, so that the remote monitoring and management of the equipment are realized. Meanwhile, the platform also supports the self-repairing function of the equipment, namely, when the equipment fails, the platform can automatically perform fault diagnosis and repair, so that the requirement of manual intervention is reduced. Finally, the platform realizes the integration of on-line task management and field technician service, and improves the service efficiency and quality. When the equipment fails, the platform can automatically give the scene personnel the failure condition, and the tasks are managed and tracked through the webpage end, so that the on-line management of the tasks is realized. Meanwhile, on-site personnel can also view task information and complete tasks through the webpage end, so that the fusion of online and offline services is realized, and the method specifically comprises the following steps.
Step S1: logging in a webpage end through an account: the user needs to have an account number and a password, and can use the functions provided by the online service platform only by logging in the webpage end.
Webpage side aspect: the Stariot internet of things platform is a professional choice for enterprise building internet of things and developing internet of things applications, and provides safe and reliable core functions of registration access, data acquisition, protocol analysis, route forwarding, application issuing and the like for edge gateways and direct connection devices.
Autonomous development: the platform is independently developed and the technology is independently controllable.
Light weight and easy use: the management interface is simple and clear, the business is simplified, the operation method of the Internet of things platform can be mastered by ordinary technicians quickly, and the cloud on the equipment is simpler.
The deployment is simple: the one-key deployment is adopted, the installation is simple and quick, and the deployment can be completed in a short time.
Easy access: and providing access to the SDK for the user, writing a small amount of codes, and rapidly realizing cloud and application development of the equipment.
High safety standard: and safety design is carried out according to industry and other security requirements, so that the highest safety standard requirement of the industry is met.
High reliability: the industrial architecture design, the floor project case has been running stably for more than 500 days.
Technical idea: stariot southbound capability supports access to a variety of heterogeneous devices, northbound capability supports multi-service systems and application scenarios. And (3) an enterprise data interaction center is built, and equipment data integration is realized on the basis of the self-object model message body.
The aspect of communication mode: including but not limited to 4/5G, wireless, wired, etc.
Cloud edge protocol: the matched StarEdge supports industrial protocols such as Modbus, OPC, QGDW, PLC, DTL 645.
Transmission protocol: including but not limited to MQTT, HTTP, webSocket, etc.
Topology structure: including but not limited to direct connect devices, gateways, sub-devices, etc.
Device communication: and a reliable and stable channel is provided for the bidirectional communication between the equipment and the cloud.
And (3) equipment authentication: complex triplet encryption authentication is supported.
And (3) safe transmission: TLS is supported.
The Stariot internet of things platform is an enterprise building internet of things platform which is independently researched and developed and has an independently controllable technology, and provides safe and reliable core functions of registration access, data acquisition, protocol analysis, route forwarding, application issuing and the like for edge gateways and direct-connected devices. The whole operating system supports the operating system and the platform EMQX to run on various operating systems and hardware platforms in a cross-platform mode. The time zone of the deployment environment and the time zone of the access environment can be calibrated by using a time sequence database, and can be carried by a non-networking installation package. By applying one-key deployment of a docker version, an operating system needs to be capable of supporting docker operation, installing a needed environment Linux, docker, docker-component, uploading installation and stopping, packaging decompression installation into a staroot folder under a linux system, and modifying inherent configuration of corresponding requirements.
After the installation is completed, the StarIoT platform is deployed and started, the exposed port is 80, and the Web access address displayed during the installation is used for accessing.
If the mqtt connection is established successfully, the equipment is on line; disconnecting the mqtt connection and disconnecting the device. The connection parameter ClientId, data composition, may be obtained after the platform publishes the product creation device.
The product Key is deviceName, the connection parameter User, and the data form the product Key. The connection parameters, password, and the data constitute deviceSecret. A plurality of clients are connected, and then one client which can represent the life cycle of the device is used, wherein the client uses the ClientId and the ProductKey and the deviceName; the ClientId of other clients is named ProducKey: deviceName { xxx }.
The sub-equipment is directly connected in the same connection mode, the gateway binds the sub-equipment with the gateway after being online, and a request topic is sent to enable the sub-equipment to be online. The online sub-device does not automatically get off line, and the gateway device is required to get off line or issue a get-off message. And connecting the product information to a platform, registering the equipment, storing authentication information, disconnecting the mqtt connection, connecting the product information to an Internet of things platform gateway on line, and registering the sub-equipment through the gateway topic. And storing authentication information, connecting the authentication information to an Internet of things platform, and providing platform support for equipment online.
Step S2: inputting the product key, the device name and the DeviceSecret related information of the corresponding device: before using the online service platform, device information including the Device's ProducKey, device name, device Secret, etc. needs to be created and validated.
Object model: the digital management of the device describes its attributes and functions using a standard unified data format.
And (3) data reporting: the device data is converted into JSON message format for uploading.
And (3) equipment registration: the triplet information is used to register online.
And (3) equipment alarm: and monitoring the alarm message.
And (3) online debugging: the client can still conduct online joint debugging on the visual control console when no equipment exists.
OTA: and supporting remote upgrading of the firmware and the terminal application.
Step S3: the related device transmits the log back to the server through StarIoT communication: the device transmits the log back to the server through Stariot communication, and a technician can view the running state of the device and log information through the web page.
Overall analysis of the system: including but not limited to total equipment, online-offline proportions, etc.
Key indexes are as follows: including but not limited to the number of received messages, the number of forwarded messages, etc.
Index polymerization: and displaying all index information of the MQ service.
Step S4: the technical staff views and manages the equipment information through the webpage end: the technician can view and manage the equipment information including the basic information, running state, log information and the like of the equipment through the webpage end.
Rule engine: based on SQL description, complex AND, OR, NOT, size comparison, character matching and the like are supported, and target data is filtered.
Data subscription flow: the method is matched with a rule engine for use, and forwards target data to a target address to support MQTT and WEBAPI modes.
Step S5: the technical staff performs operations such as upgrading, correcting, debugging and the like to the fault terminal through the webpage end: the technical staff can remotely upgrade, correct, debug and the like the fault terminal through the webpage end, so that the fault processing efficiency is improved.
Model management: the method can uniformly establish a class model for enterprises in the background and establish the standard of equipment access integration.
SDK management: the development kit is managed.
Alarm control: inquiring system alarm information and tracking equipment state.
API key-providing a manageable API access module.
Step S6: and feeding back to the platform through the log: and a technician can timely discover and solve equipment faults by checking the equipment log information, and feed back the processing result to the platform so that the platform can perform statistical analysis and optimize a service flow.
Message queue server: the method is used for temporarily storing the transmitted service and data, ensuring that the data is not distorted or lost so as to be sent to the processing server, and solving the high concurrency problem under the architecture of the Internet of things.
The processing server: is responsible for handling traffic and operations databases and subscribes to traffic and data from the message queue servers.
Database server: and the MySQL server is used as a main server for storing the detailed state information of the Internet of things equipment.
And (3) a data server: the method is used for storing device logs and login records, wherein the device logs correspond to the device states one by one.
Cache server: for storing temporary messages including login account, access times and last online time of the device.
The processing server stores the log information in the message queue into the database, and queries the latest state of the corresponding equipment in the cache server, and once the state changes, the state information in the MySQL database is updated.
Using the Java framework, interface data is presented to different users in a hierarchical manner.
Using Java framework to display interface data to different users in hierarchical mode;
technicians can view all device states in their responsible areas at the web page end, annotate device locations on the map, and display statistical information of the devices at the same time. The web page end can also realize management functions of defining equipment templates, adding equipment, deleting equipment, upgrading, modifying and the like.
In terms of device information, the device's ProducKey, device name, and DeviceSecret related information are all mandatory fields. The addition of custom functions from the device templates can enable rapid initialization of device information.
In the aspect of equipment control, technicians can remotely operate equipment, upgrade and repair equipment program versions on an Internet of things platform so as to uniformly manage and control equipment functions and states.
The specific flow is as follows:
a) The method comprises the steps of generating a product Key of a required device, a device name and a corresponding DeviceSecret through Stariot, and putting corresponding information into a json configuration file of the corresponding device.
b) And connecting the Internet in a 4G/5G, WIFI mode, and sending the data log in the device back to the StarIoT server for analysis and reporting through an App transmission protocol corresponding to the StarIot.
c) The user can log in the webpage end to check the equipment, the sub-equipment related to the whole gateway equipment can be managed in the gateway equipment, and specific functions such as enabling state, data receiving and transmitting, starting state and uploading information of the sub-equipment are adjusted through application management.
The gateway log is obtained through the platform issuing topic request instruction getLog/{ $production Key }/{ $deviceName }, and a post form-data request platform issuing instruction can be sent by using tools such as post man:
the device reports an application list/{ $ProductKey }/{ $deviceName };
creating an application install/{ $ProductKey }/{ $deviceName };
removing the application uninnstall/{ $product key }/{ $devicename };
enabling application/{ $ProductKey }/{ $deviceName };
disable/{ $ProductKey }/{ $deviceName };
start enabled start/{ $ProductKey }/{ $deviceName };
closing enable stop/{ $ProductKey }/{ $deviceName };
and (3) carrying out log calling on a specific application program in the equipment, starting and stopping the program, and achieving the function of remote control equipment monitoring. The Stariot server is a management operation button of a specific device in a Stariot platform webpage end device management-device list, enters a device management interface, and performs actual control on the sub-device by application management, such as receiving and transmitting, calling data and other functions. The StarIoT server is the backend, presented by code message. The StarIoT platform is a front end that can be intuitively presented to the user on a web page.
d) When equipment fails or data uploading is abnormal, the StarIot feeds back an abnormal state, a remote staff can optimize and upgrade the failed equipment through the StarIot platform, and the program version of the equipment is optimized, so that the purpose of recovering the normal running of the program and collecting data is achieved.
And downloading the SDK template to the linux end by using an application warehouse for calculating the platform edge, and manufacturing a custom application package according to the requirement. Uploading an upgrade package to a platform application warehouse, entering a specific direct-connected equipment upgrade channel management interface, upgrading the upgrade package at the upgrade interface, enabling the platform to issue an SDK package to equipment, automatically decompressing and running an excute.sh script program after successful issuing, and replacing a file to be upgraded, thereby achieving the purposes of optimizing a program version and repairing damaged files.
e) And equipment installation site staff can monitor the equipment through mobile phone Bluetooth, upgrade and change processing and feedback of program tasks. And the device feedback is intuitively transmitted and received on the mobile phone app.
f) The internet of things device uploads the log to the operator gateway through the StarIoT communication module, the agreed log contains the device states of [ INFO ], "[ ERROR ],", and the operator gateway forwards the log to the server.
g) The staff can judge the equipment state through the relevant logs, so that the equipment program is optimized, the equipment operation is changed, the equipment state is adjusted, and the management schemes of forward circulation, mutual monitoring and mutual feedback are realized.
This part is the architecture design of the internet of things system. The system comprises a message queue server, a processing server, a database server, a data server, a cache server and other components, and is used for processing data and business generated by the Internet of things equipment. The message queue server is used for solving the high concurrency problem and ensuring that data cannot be lost; the processing server is responsible for processing the business and operating the database; the database server is used for storing equipment state information; the data server is used for storing device logs and login records; the cache server is used for storing the temporary information. The whole system uses a Java framework to display interface data to different users in a hierarchical manner.
The message queue server is used for temporarily storing the transmitted service and data, so as to ensure that the data is not distorted or lost and is transmitted to the processing server. A publish/subscribe mode is employed between the message queue server and the processing server, i.e., the processing server subscribes to traffic and data from the message queue server.
The processing server is responsible for processing business and operating the database, is connected with the database server by adopting a database connection pool mode, and stores log information in the message queue server into the database. Meanwhile, the processing server also needs to query the latest state of the corresponding equipment in the cache server, and once the state changes, the state information in the MySQL database is updated.
The database server is used for storing detailed state information of the Internet of things equipment, and is connected with the processing server in a database connection pool mode so that the processing server can operate the database.
The data server is used for storing device logs and login records, wherein the device logs are in one-to-one correspondence with the device states. The data server and the processing server are connected by adopting a file transfer protocol so that the processing server can read and write the data in the data server.
The cache server is used for storing temporary messages, including login accounts, access times and last online time of the device. The cache server and the processing server are connected in a cache connection pool mode, so that the processing server can inquire and update data in the cache server.
The method belongs to platform data storage service, and records and stores data information required by the back end, and the data can be normally displayed and recorded on a website by mapping the back end to the front end.
In the embodiment, the StarIoT platform system receives the fault report from the equipment, so that the analysis notification is sent to a remote technician, and the remote technician operates on the IoT platform to correct and upgrade the equipment to solve the problem; the intelligent online assisted device management method based on the StarIoT combines the multi-mode device information receiving and transmitting, not only can the computer webpage end utilize the platform to adjust, but also can directly receive and transmit device feedback through the Bluetooth matching platform; the embodiment is characterized in that the remote equipment management is realized by the assistance of an Internet of things platform, an application program and an adaptive equipment module, so that equipment collection is controlled, and integrated collection and multi-project collection are realized; the intelligent online assistance device management method based on StarIoT enables staff to manage a large number of devices in different areas, different environments and different functional requirements simultaneously.
As shown in fig. 2, the Star network body is a Star-shaped expandable framework, the core is a central message route, the data information of the south-north direction is driven, the south-direction capability is embodied in data acquisition of various equipment protocols, and the north-direction capability is embodied in data forwarding of a platform protocol. Cloud edge cooperation can realize interconnection and intercommunication between various devices and the object system, so that a user can remotely and directly control and acquire information, and data support is provided for a service system.
The embodiment improves the efficiency and accuracy of equipment management, provides decision support by monitoring and analyzing the equipment data in real time, optimizes the maintenance plan, and reduces the equipment failure rate and the maintenance cost. The reliability and the safety of the power system are improved, the reliability and the safety of equipment are improved through fault prediction and optimized maintenance, and the risks of data loss and accidents are reduced. And is convenient for management and maintenance. Through remote control and maintenance, the workload of manual inspection and maintenance is reduced, and the management and maintenance efficiency is improved.
The embodiment provides a feasible technical scheme for remotely monitoring and managing the service platform of the Internet of things equipment. The platform realizes remote monitoring and management of equipment through intelligent sensing, data acquisition, fault diagnosis, task management, self-repairing and other functions, improves the running efficiency and reliability of the equipment, and improves the service efficiency and quality. The StarIoT platform provides rich functions and characteristics of the Internet of things, and can meet the requirements of different application scenes. High-quality technical support and service are provided, and the stability and reliability of the system can be ensured. Has good integration and compatibility, and can be conveniently integrated into the existing system.
The embodiment comprises an Internet of things terminal device, a data transmission network, a device center management server, a data analysis storage server and a user display interface. The terminal equipment is accessed to communicate with the data transmission network and the data analysis storage server through industrial protocols such as Modbus, QGDW1376.2, DTL645, IEC104 and the like; a technician views all equipment states in a responsible area at a webpage end, marks equipment positions in a map and displays equipment statistical information, and the webpage end can realize management functions of defining equipment templates, adding equipment, deleting equipment, upgrading, modifying and the like; the equipment information is integrated and analyzed based on the Stariot internet of things platform, and remote technicians perform remote control, upgrading, issuing, storage and other operation functions on the product equipment through the platform. And analyzing the corresponding register content by using the log message of the equipment. And the industrial protocol message is analyzed, so that the corresponding protocol address of the terminal equipment is obtained. The protocol address and status information of the device are stored. The internet of things device uploads the log to the operator gateway through the Stariot communication module, the agreed log contains "[ INFO ]", "[ ERROR ]" device states, and the operator gateway forwards the log to the server. The equipment installation site staff can monitor the equipment through the mobile phone Bluetooth, upgrade and change the processing and the feedback of program tasks. And the device feedback is intuitively transmitted and received on the mobile phone app. The staff can judge the equipment state through the relevant logs, so that the equipment program is optimized, the equipment operation is changed, the equipment state is adjusted, and the management schemes of forward circulation, mutual monitoring and mutual feedback are realized.
Other portions of this embodiment are the same as those of embodiment 1 described above, and thus will not be described again.
Example 3:
the embodiment provides an equipment management system based on an internet of things platform on the basis of any one of the embodiment 1 to the embodiment 2, which comprises an initialization unit, a configuration unit, a monitoring unit and an optimization unit;
the initialization unit is used for connecting with a StarIoT (internet of things) platform, acquiring equipment information according to the StarIoT platform, generating a json configuration file according to the equipment information and uploading the json configuration file to a cloud;
the configuration unit is used for connecting the Internet in a wireless mode and sending the equipment data log to the Stariot server according to a transmission protocol corresponding to the Stariot internet of things platform;
the monitoring unit is used for acquiring a device gateway log according to a topic request instruction acquired from the StarIoT platform and remotely monitoring the device state;
the optimizing unit is used for calling an application warehouse of the StarIoT platform, downloading the SDK template to the linux end, generating an application package, running an excute.sh script program to replace a file to be upgraded according to the application package, and optimizing the equipment state.
The embodiment also provides electronic equipment, which comprises a memory and a processor; the memory is used for storing a computer program; the computer program is used for realizing the device management method based on the Internet of things platform when being executed on the processor.
The present embodiment also proposes a computer-readable storage medium having stored thereon computer instructions; when the computer instructions are executed on the electronic equipment, the equipment management method based on the Internet of things platform is achieved.
Other portions of this embodiment are the same as any of embodiments 1 to 2, and thus will not be described again.
The foregoing description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and any simple modification, equivalent variation, etc. of the above embodiment according to the technical matter of the present invention fall within the scope of the present invention.

Claims (9)

1. The equipment management method based on the Internet of things platform is characterized by comprising the following steps of:
step S1: connecting a Stariot internet of things platform, acquiring device information according to the Stariot internet of things platform, generating a json configuration file according to the device information, and uploading the json configuration file to a cloud;
step S2: connecting the Internet in a wireless mode, and sending the device data log to a Stariot server according to a transmission protocol corresponding to the Stariot Internet of things platform;
step S3: according to a topic request instruction obtained from the StarIoT platform, obtaining a device gateway log and remotely monitoring a device state;
step S4: and calling an application warehouse of the StarIoT platform, downloading the SDK template to the linux end, generating an application package, running an excute.sh script program according to the application package to replace a file to be upgraded, and optimizing the state of the equipment.
2. The device management method based on the internet of things platform according to claim 1, wherein the StarIoT internet of things platform comprises an application interface layer, an application layer and a system adaptation layer;
the application interface layer is used for configuring an application interface and connecting external equipment and the application layer;
the application layer is used for configuring iot _ sdk components;
the system adaptation layer is used for configuring a system bottom layer interface according to the hardware interface.
3. The device management method based on the internet of things platform according to claim 1, wherein the device information in step S1 includes a device produckey, a device name, and a device DeviceSecret.
4. The device management method based on the internet of things platform according to claim 1, wherein the wireless mode in step S2 includes a 4G mode, a 5G mode and a WIFI mode.
5. The device management method based on the internet of things platform according to claim 1, wherein the transmission protocol in step S2 includes Modbus industrial protocol, QGDW1376.2 industrial protocol, DTL645 industrial protocol, IEC104 industrial protocol.
6. The device management method based on the internet of things platform according to claim 1, wherein the specific operation of step S3 is as follows: according to a topic request instruction obtained from the StarIoT platform, obtaining a device gateway log, analyzing the message of the transmission protocol according to the device gateway log, obtaining a protocol address corresponding to the device according to the message, and remotely monitoring the device state at a webpage end.
7. The equipment management system based on the Internet of things platform is characterized by comprising an initialization unit, a configuration unit, a monitoring unit and an optimization unit;
the initialization unit is used for connecting with a StarIoT (internet of things) platform, acquiring equipment information according to the StarIoT platform, generating a json configuration file according to the equipment information and uploading the json configuration file to a cloud;
the configuration unit is used for connecting the Internet in a wireless mode and sending the equipment data log to the Stariot server according to a transmission protocol corresponding to the Stariot internet of things platform;
the monitoring unit is used for acquiring a device gateway log according to a topic request instruction acquired from the StarIoT platform and remotely monitoring the device state;
the optimizing unit is used for calling an application warehouse of the StarIoT platform, downloading the SDK template to the linux end, generating an application package, running an excute.sh script program to replace a file to be upgraded according to the application package, and optimizing the equipment state.
8. An electronic device comprising a memory and a processor; the memory is used for storing a computer program; the computer program for implementing the internet of things platform based device management method of any of claims 1-6 when executed on the processor.
9. A computer-readable storage medium having stored thereon computer instructions; when executed on an electronic device as claimed in claim 8, the computer instructions implement the method of device management based on an internet of things platform as claimed in any one of claims 1-6.
CN202311210176.5A 2023-09-19 2023-09-19 Equipment management method, system, equipment and medium based on Internet of things platform Pending CN117336319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311210176.5A CN117336319A (en) 2023-09-19 2023-09-19 Equipment management method, system, equipment and medium based on Internet of things platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311210176.5A CN117336319A (en) 2023-09-19 2023-09-19 Equipment management method, system, equipment and medium based on Internet of things platform

Publications (1)

Publication Number Publication Date
CN117336319A true CN117336319A (en) 2024-01-02

Family

ID=89294358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311210176.5A Pending CN117336319A (en) 2023-09-19 2023-09-19 Equipment management method, system, equipment and medium based on Internet of things platform

Country Status (1)

Country Link
CN (1) CN117336319A (en)

Similar Documents

Publication Publication Date Title
RU2426234C2 (en) System, method and device for control and monitoring of remote instruments
CN103179210B (en) The Internet of Things high in the clouds cut-in method of a kind of sing on web Service and system
CN108681288A (en) A kind of novel maintenance system based on cloud platform
CN108667807A (en) A kind of protocol self-adapting method and system based on monitoring cloud platform and gateway
CN110995859A (en) Intelligent transformer substation supporting platform system based on ubiquitous Internet of things
KR102351620B1 (en) The intelligent equipment management system and method with a mobile device
WO2016065997A1 (en) Electric power communication network mobile operation and maintenance system and method
CN104283967A (en) Third-party data service system based on Internet-of-Things data collecting
CN106936831A (en) System, method and/or equipment for realizing the communication between the equipment using different communication protocol
CN204287908U (en) Flow computer
CN104852960A (en) Intelligent Internet of things cloud terminal system
CN112187922A (en) Intelligent Internet of things shutdown machine based on MQTT communication protocol
CN107018203A (en) A kind of frequency converter remote monitoring control method
CN113179291A (en) Safe power utilization system of Internet of things
CN109522347A (en) A kind of wechat public platform based power distribution network Intelligent data analysis service system
CN111683003A (en) Internet of things gateway equipment with GPS positioning and multiple communication networking modes
CN102904967A (en) Intelligent Internet of things data exchange platform scheme based on hardware electromechanical field
KR20100025941A (en) Wireless sensor node for production management system and sensor server and production management system and method for production management
CN110598817A (en) Universal dynamic configuration system and method for two-dimension code of industrial equipment body
CN111711695B (en) Distributed equipment management system based on cloud platform
CN104378231A (en) Control system and control method for enterprise wireless router
CN117336319A (en) Equipment management method, system, equipment and medium based on Internet of things platform
CN104270432A (en) Real-time data service system and data interaction method based on drilling industry
CN113543185B (en) Automatic-opening-assistance-based 5G high-density base station rapid operation method and system
KR101095827B1 (en) Gateway with SmartIO module automatically supporting multi-protocol

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