CN116248721A - Management method and device of Internet of things equipment, computer equipment and storage medium - Google Patents

Management method and device of Internet of things equipment, computer equipment and storage medium Download PDF

Info

Publication number
CN116248721A
CN116248721A CN202310143404.5A CN202310143404A CN116248721A CN 116248721 A CN116248721 A CN 116248721A CN 202310143404 A CN202310143404 A CN 202310143404A CN 116248721 A CN116248721 A CN 116248721A
Authority
CN
China
Prior art keywords
internet
things
equipment
information
management platform
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
CN202310143404.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.)
Shenzhen Kaihong Digital Industry Development Co Ltd
Original Assignee
Shenzhen Kaihong Digital Industry Development 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 Shenzhen Kaihong Digital Industry Development Co Ltd filed Critical Shenzhen Kaihong Digital Industry Development Co Ltd
Priority to CN202310143404.5A priority Critical patent/CN116248721A/en
Publication of CN116248721A publication Critical patent/CN116248721A/en
Pending legal-status Critical Current

Links

Images

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
    • 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/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the technical field of Internet and provides a management method, a device, computer equipment and a storage medium of Internet of things equipment, wherein the method comprises the steps of packaging the MQTT protocol to an Internet of things management platform; receiving a connection request sent by Internet of things equipment; performing equipment verification on the connection request based on an authentication mode preset in the MQTT protocol; if the equipment passes the verification, establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment; and managing the plurality of internet of things devices based on the plurality of communication channels. Through the high-efficient communication between thing networking management platform and the thing networking equipment, realize the high-efficient fortune of a large amount of thing networking equipment and effectively manage and control, improved thing networking management platform's reliability, usability, and then improved user's use experience.

Description

Management method and device of Internet of things equipment, computer equipment and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and apparatus for managing an internet of things device, a computer device, and a storage medium.
Background
In the highly interconnected digital world, various internet technologies are developed more and more, for example, the internet of things (IoT, internet of things), namely the internet of everything, is an extended and expanded network based on the internet, and combines various information sensing devices with the network to form a huge network, and data is transmitted through diversified network connections, so that the functions of remote control and remote maintenance are achieved.
Along with the wide application of the internet of things, the number of the internet of things devices needing to be accessed is continuously increased, and the operation and maintenance work of a large number of the internet of things devices is faced, so that the conventional internet of things management platform is often out of the mind. On the one hand, the increase of equipment can reduce the communication accuracy, and then reduces communication efficiency, and on the other hand the maintenance cost of thing networking also can increase along with the increase of equipment, and this makes reliability, availability, the fault-tolerant rate of thing networking management platform all drop correspondingly, and then leads to thing networking management platform's practicality low, and user experience reduces.
Disclosure of Invention
The main aim of the application is to provide a management method, a device, computer equipment and a storage medium of Internet of things equipment, and aims to realize efficient operation and effective management and control of a large number of Internet of things equipment through efficient communication between an Internet of things management platform and the Internet of things equipment, so that the reliability and the usability of the Internet of things management platform are improved, and further the user experience is improved.
In a first aspect, the present application provides a method for managing an internet of things device, where the method for managing an internet of things device includes the following steps:
packaging the MQTT protocol to the Internet of things management platform;
receiving a connection request sent by Internet of things equipment;
performing equipment verification on the connection request based on an authentication mode preset in the MQTT protocol;
if the equipment passes the verification, establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment;
and managing the plurality of internet of things devices based on the plurality of communication channels.
In a second aspect, the present application further provides a management apparatus for an internet of things device, where the management apparatus includes:
the protocol encapsulation module is used for encapsulating the MQTT protocol to the Internet of things management platform;
the request receiving module is used for receiving a connection request sent by the Internet of things equipment;
the device verification module is used for carrying out device verification on the connection request based on an authentication mode preset in the MQTT protocol;
the channel establishing module is used for establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request if the equipment passes the verification, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment;
and the equipment management module is used for managing the plurality of internet of things equipment based on the plurality of communication channels.
In a third aspect, the present application also provides a computer device comprising a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and implement the management method of the internet of things device according to any one of the embodiments of the present application when the computer program is executed.
In a fourth aspect, the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor causes the processor to implement a method for managing an internet of things device according to any one of the embodiments provided herein.
The application provides a management method, a device, computer equipment and a storage medium of Internet of things equipment, wherein the MQTT protocol is packaged to an Internet of things management platform; receiving a connection request sent by Internet of things equipment; performing equipment verification on the connection request based on an authentication mode preset in the MQTT protocol; if the equipment passes the verification, establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment; and managing the plurality of internet of things devices based on the plurality of communication channels. Through the high-efficient communication between thing networking management platform and the thing networking equipment, realize the high-efficient fortune of a large amount of thing networking equipment and effectively manage and control, improved thing networking management platform's reliability, usability, and then improved user's use experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a management method of an internet of things device according to an embodiment of the present application;
fig. 2 is a usage scenario diagram of a management method of an internet of things device according to an embodiment of the present application;
fig. 3 is a flow chart of a management method of an internet of things device according to an embodiment of the present application;
fig. 4 is a schematic block diagram of a management apparatus of an internet of things device according to an embodiment of the present application;
fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
The term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a flow chart of a management method of an internet of things device according to an embodiment of the present application;
the method for managing the internet of things equipment provided by the embodiment of the application comprises the steps of packaging the MQTT protocol to the internet of things management platform; receiving a connection request sent by Internet of things equipment; performing equipment verification on the connection request based on an authentication mode preset in the MQTT protocol; if the equipment passes the verification, establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment; and managing the plurality of internet of things devices based on the plurality of communication channels. Through the high-efficient communication between thing networking management platform and the thing networking equipment, realize the high-efficient fortune of a large amount of thing networking equipment and effectively manage and control, improved thing networking management platform's reliability, usability, and then improved user's use experience.
Referring to fig. 2, fig. 2 is a usage scenario diagram of a management method of an internet of things device provided by an embodiment of the present application, where the management method of the internet of things device provided by the embodiment of the present application is applied to an internet of things management platform, where the internet of things management platform is used for managing a plurality of internet of things devices, and the internet of things devices may include devices or sensors with computing capabilities, and these devices or sensors are connected to the internet. For example, the intelligent thermostat may adjust the temperature of the conference room based on the number of people present.
As shown in fig. 1, the management method of the internet of things device includes steps S101 to S105.
S101, packaging the MQTT protocol to the Internet of things management platform.
The MQTT protocol is a message publish/subscribe transmission protocol based on a client and a server. The system works on the TCP/IP protocol family, and can be used as an instant communication protocol with low cost and low bandwidth occupation to provide real-time and reliable message service for connecting remote equipment.
Specifically, the MQTT protocol is packaged to the Internet of things management platform, and an MQTT server in the Internet of things management platform is obtained, so that a server side corresponding to the MQTT protocol is designated as the Internet of things management platform, and a client side can be a plurality of pieces of Internet of things equipment to be accessed.
It is understood that after the server side is designated as the internet of things management platform, when the internet of things device is connected to the MQTT, the server side is determined to be the internet of things management platform, the internet of things device does not need to subscribe to the internet of things management platform through the MQTT protocol, message error sending and error receiving caused by the MQTT protocol are avoided, a strong association relationship can be established between the internet of things management platform and the internet of things device information, and the management and control capability of the internet of things management platform to the internet of things device is enhanced.
S102, receiving a connection request sent by the Internet of things equipment.
The connection request includes device information for connecting the data packet and the internet of things device, where the device information may be information capable of identifying the internet of things device, such as a device unique identifier, authentication information, and a device name.
Specifically, in order to establish an efficient communication channel between the internet of things management platform and the internet of things device, a connection request sent by the internet of things device through a network is received, a connection data packet in the connection request is acquired and used for subsequently connecting the internet of things device, and device information contained in the connection request is acquired and used for identifying a device identity corresponding to the connection request.
S103, performing equipment verification on the connection request based on an authentication mode preset in the MQTT protocol.
The preset authentication mode can be configured in the MQTT server in a self-defined mode according to requirements. It should be understood that after the MQTT protocol is encapsulated to the internet of things management platform, each configuration of the MQTT server can be set in a self-defined manner, including an authentication manner, a communication manner and the like, and is not limited to being based on a publish/subscribe paradigm any more, so that the communication efficiency between the internet of things management platform and the internet of things equipment can be improved, and further the reliability and usability of the internet of things management platform are improved.
Specifically, an authentication mode is preset based on an MQTT protocol, device verification is performed on device information in a connection request according to the preset authentication mode, and whether the internet of things device corresponding to the connection request is the internet of things device to be connected is judged.
In some embodiments, the connection request includes a device unique identification; the device verification for the connection request based on the authentication mode preset in the MQTT protocol comprises the following steps: acquiring a unique identifier of the equipment in the connection request; judging whether the equipment unique identifier is matched with the equipment unique identifier of the equipment of the Internet of things to be connected; and if the equipment unique identifier is matched with the equipment unique identifier of the to-be-connected internet of things equipment, the equipment verification is passed.
The unique device identifier is an identifier of the internet of things device, the identifiers of all the internet of things devices are different, and the unique device identifier can be used for identifying and distinguishing different internet of things devices.
Specifically, in order to improve the reliability of the internet of things management platform, whether the device unique identifier in the connection request is matched with the device unique identifier of the internet of things device to be connected is judged according to the device unique identifier in the connection request, if the device unique identifier in the connection request is matched with the device unique identifier of the internet of things device to be connected, the device verification is passed, and if the device unique identifier in the connection request is not matched with the device unique identifier of the internet of things device to be connected, the device verification is not passed.
Specifically, whether the device unique identifier is matched with the device unique identifier of the to-be-connected internet of things device or not may be determined whether the device unique identifier is the same as the device unique identifier of the to-be-connected internet of things device or not, or whether the device unique identifier is in a preset white list or not may be determined according to a preset white list of the device unique identifier of the to-be-connected internet of things device. Meanwhile, the Internet of things management platform can flexibly set the unique device identifier of the Internet of things device to be connected through the encapsulated MQTT protocol, or modify the unique device identifier in the preset white list.
It is understood that the internet of things equipment needing to establish a communication channel is screened through the preset of the unique identification of the equipment, so that the internet of things equipment to be connected can be accurately determined, and the efficient operation and maintenance of a large number of internet of things equipment are realized.
In some embodiments, the connection request includes authentication information; the device verification for the connection request based on the authentication mode preset in the MQTT protocol further comprises: acquiring authentication information in the connection request; judging whether the Internet of things equipment is to be connected or not based on the authentication information; and if the Internet of things equipment is the Internet of things equipment to be connected, the equipment verification is passed.
The authentication information is a specific password which can be flexibly set by the Internet of things management platform through an encapsulated MQTT protocol, and can be a static password or a dynamic password.
Specifically, in order to improve reliability of the internet of things management platform, authentication information in the connection request is acquired, if the password of the authentication information is a correct specific password, the internet of things device is the internet of things device to be connected, and if the password of the authentication information is not the correct specific password, the internet of things device is not the internet of things device to be connected. And through verification of authentication information, the method is beneficial to accurately determining the to-be-connected Internet of things equipment, and further realizes efficient operation and maintenance of a large number of Internet of things equipment.
And S104, if the equipment passes the verification, establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment.
Specifically, the internet of things management platform establishes a communication channel with the internet of things equipment for sending the connection request based on the packaged MQTT protocol, and can realize accurate issuing and uploading of information through the communication channel without subscribing to Topic, so that the error sending or error receiving of messages can be effectively avoided, and the reliability and the usability of the internet of things management platform are improved.
Note that in the MQTT protocol, topic is the transport intermediary between message publishers and subscribers. The device can send and receive the message through the Topic, so that the communication between the Internet of things management platform end and the Internet of things device end is realized, and the premise is that the corresponding Topic is subscribed correctly. It should be understood that when there are a large number of devices of the internet of things, when subscribing to Topic, once an error occurs, the message is sent or received by mistake, which further causes the devices of the internet of things to execute the wrong instruction. Meanwhile, when the devices of the Internet of things are increased, the types of the device management platforms are increased, the cost for maintaining the Topic of the management platform of the Internet of things is correspondingly increased, and the reliability, availability and fault tolerance of the management platform of the Internet of things are correspondingly reduced.
In some embodiments, after the device authentication is passed, the internet of things management platform may send information that the device authentication is passed to the corresponding internet of things device.
In some embodiments, after the establishing the plurality of communication channels between the internet of things management platform and the plurality of internet of things devices based on the MQTT protocol, the method further includes: and correspondingly marking the communication channels between the Internet of things management platform and the Internet of things equipment according to the equipment information of the Internet of things equipment to obtain equipment channel information of the plurality of communication channels, wherein the equipment channel information is used for distinguishing the plurality of communication channels established by the plurality of Internet of things equipment and the Internet of things management platform.
The device channel information comprises the corresponding relation between a plurality of internet of things devices and the communication channel.
Specifically, after the internet of things management platform and the plurality of internet of things devices respectively establish the communication channels, in order to confirm the internet of things device corresponding to each communication channel, the communication channels are marked according to the device information of the internet of things device, so as to obtain the device channel information of the plurality of communication channels, and when information transmission requirements exist, the communication channels needing to be called can be determined according to the device channel information.
It should be noted that, because the management platform of the internet of things needs to establish a communication channel with a plurality of devices of the internet of things, each communication channel needs to be marked to realize distinction, a mapping relationship between each device of the internet of things and a corresponding communication channel can be set, and a device channel information table is generated according to the mapping relationship. It is understood that the device channel information can simplify the communication mode of the MQTT protocol, subscription is not needed, and efficient communication between the Internet of things management platform and the Internet of things device is facilitated.
S105, managing the plurality of internet of things devices based on the plurality of communication channels.
Specifically, in order to realize efficient operation and effective management and control of the internet of things management platform, corresponding internet of things equipment can be managed based on the communication channel, for example, information interaction, for example, information issuing and information acquisition, is performed with the internet of things equipment, and states, for example, an operation state and an access state, of the internet of things equipment are monitored.
In some embodiments, the managing the plurality of internet of things devices based on the plurality of communication channels includes: determining first target internet of things equipment for receiving information according to information issuing requirements; determining a first target communication channel according to equipment information of first target internet of things equipment, wherein the first target communication channel is a communication channel between the first target internet of things equipment and the internet of things management platform; and based on the MQTT protocol, transmitting information data to the first target Internet of things equipment for receiving information through the first target communication channel.
The information issuing requirement is a requirement that the internet of things management platform needs to issue information to the internet of things equipment, and the information issuing requirement comprises the internet of things equipment information, instruction information and the like, and can be flexibly set according to the requirement.
Specifically, in order to achieve efficient communication between the internet of things management platform and the internet of things equipment, when the internet of things management platform has information issuing requirements, first target internet of things equipment information and instruction information issued by the information are determined, a first target communication channel between the first target internet of things equipment and the internet of things management platform is determined according to the equipment information of the first target internet of things equipment, and the internet of things management platform sends the instruction information to be sent to the first target internet of things equipment through the first target communication channel.
In some embodiments, the managing the plurality of internet of things devices based on the plurality of communication channels further comprises: determining second target Internet of things equipment for obtaining information according to information reporting requirements; determining a second target communication channel according to equipment information of second target internet of things equipment, wherein the second communication channel is a communication channel between the second target internet of things equipment and the internet of things management platform; and acquiring information data acquired by the second target Internet of things equipment of the information to be acquired through the second target communication channel based on the MQTT protocol.
The information reporting requirement is a requirement that the internet of things management platform needs to acquire information from the internet of things equipment, and the information reporting requirement comprises the information of the internet of things equipment, the information type, the information generation time and the like, and can be flexibly set according to the requirement.
Specifically, in order to realize efficient communication between the internet of things management platform and the internet of things equipment, when the internet of things management platform has information reporting requirements, second target internet of things equipment information of information reporting is determined, a second target communication channel between the second target internet of things equipment and the internet of things management platform is determined according to equipment information of the second target internet of things equipment, and the internet of things management platform can receive information data reported by the second target internet of things equipment through the second target communication channel.
In some embodiments, the internet of things management platform may determine a type of receiving the report of the internet of things device according to the information report requirement, and ignore the other types of information. For example, the management platform of the internet of things needs to acquire temperature information of nine points in the morning of the tunnel a, the corresponding information reporting requirement comprises the information type of the temperature information, the information generation time of the temperature information is nine points in the morning, the information of the equipment of the internet of things is a temperature and humidity sensor in the tunnel a, and at the moment, if the temperature and humidity information of the nine points in the morning are uploaded by the temperature and humidity sensor, the management platform of the internet of things can ignore the humidity information. For example, the temperature and humidity sensor uploads the air pressure information, the air pressure information belongs to error information which does not accord with expected measurable information, and the management platform of the internet of things can directly ignore the air pressure information. It is understood that the internet of things management platform can accurately locate the internet of things equipment through the communication channel, and further whether information is reported by mistake is judged, so that neglecting processing of reported information is conducted under the effective control of the internet of things management platform on the internet of things equipment.
Referring to fig. 3, fig. 3 is a flowchart of a management method of an internet of things device according to an embodiment of the present application.
In some embodiments, the managing the plurality of internet of things devices based on the plurality of communication channels further includes steps S1051 to S1052.
S1051, monitoring the communication states of the communication channels.
Specifically, the internet of things management platform can utilize the established communication channels to monitor the communication states of the communication channels in real time, so that the running state of each internet of things device is known, and the maintenance cost of the internet of things device is reduced.
S1052, if the communication state of any communication channel is abnormal, determining the internet of things equipment with abnormal connection based on the equipment channel information of the communication channel, and generating a coping strategy.
Specifically, if the communication state of the communication channel is abnormal, determining the internet of things equipment corresponding to the abnormal communication channel, and flexibly generating a corresponding coping strategy according to the characteristics and the functions of the internet of things equipment and the running condition of the whole system, thereby improving the reliability and the usability of the internet of things management platform. For example, in an intelligent robot system, if an abnormality occurs in the communication channel of the image pickup apparatus, the standby image pickup apparatus may be immediately called as a coping strategy.
Referring to fig. 4, fig. 4 is a schematic block diagram of a management apparatus of an internet of things device according to an embodiment of the present application, where the management apparatus of the internet of things device may be configured in a server, and is configured to execute the foregoing management method of the internet of things device.
As shown in fig. 4, the management apparatus of the internet of things device includes: protocol encapsulation module 201, request receiving module 202, device verification module 203, channel establishment module 204, device management module 205.
A protocol encapsulation module 201, configured to encapsulate the MQTT protocol to the internet of things management platform;
a request receiving module 202, configured to receive a connection request sent by an internet of things device;
the device verification module 203 is configured to perform device verification on the connection request based on an authentication mode preset in the MQTT protocol;
the channel establishing module 204 is configured to establish, according to the connection request, a communication channel between the internet of things management platform and the internet of things device based on the MQTT protocol if the device passes the verification, where the communication channel is used for information transmission between the internet of things management platform and the internet of things device;
the device management module 205 is configured to manage the plurality of devices of the internet of things based on the plurality of communication channels.
The device verification module 203 further includes a unique identification sub-module, an identification matching sub-module, and a first verification passing sub-module.
A unique identifier sub-module, configured to obtain a device unique identifier in the connection request;
the identification matching sub-module is used for judging whether the equipment unique identification is matched with the equipment unique identification of the to-be-connected internet of things equipment;
and the first verification passing sub-module is used for passing the device verification if the device unique identifier is matched with the device unique identifier of the to-be-connected internet of things device.
The device verification module 203 further includes an authentication information sub-module, a device determination sub-module, and a second verification passing sub-module.
An authentication information sub-module, configured to obtain authentication information in the connection request;
the equipment judging sub-module is used for judging whether the Internet of things equipment is to be connected or not based on the authentication information;
and the second verification passing sub-module is used for passing the device verification if the Internet of things device is the Internet of things device to be connected.
Exemplary, the management apparatus of the internet of things device further includes: and a channel information module.
The channel information module is used for correspondingly marking the communication channels between the Internet of things management platform and the Internet of things equipment according to the equipment information of the Internet of things equipment to obtain equipment channel information of the plurality of communication channels, and the equipment channel information is used for distinguishing the plurality of communication channels established by the plurality of Internet of things equipment and the Internet of things management platform.
The device management module 205 further includes a first device sub-module, a first channel sub-module, and an information delivery sub-module.
The first equipment submodule is used for determining first target internet of things equipment for receiving information according to information issuing requirements;
the first channel sub-module is used for determining a first target communication channel according to the equipment information of first target internet of things equipment, wherein the first target communication channel is a communication channel between the first target internet of things equipment and the internet of things management platform;
and the information issuing sub-module is used for transmitting information data to the first target internet of things equipment to be received information through the first target communication channel based on the MQTT protocol.
The device management module 205 further includes a second device sub-module, a second channel sub-module, and an information reporting sub-module.
The second equipment submodule is used for determining second target internet of things equipment for obtaining information according to information reporting requirements;
the second channel sub-module is used for determining a second target communication channel according to the equipment information of the second target internet of things equipment, wherein the second communication channel is a communication channel between the second target internet of things equipment and the internet of things management platform;
and the information reporting sub-module is used for acquiring information data acquired by the second target internet of things equipment for acquiring information through the second target communication channel based on the MQTT protocol.
The device management module 205 also illustratively includes a connectivity status sub-module, a coping strategy sub-module.
A communication state sub-module for monitoring the communication state of the plurality of communication channels;
and the coping strategy sub-module is used for determining the Internet of things equipment with abnormal connection based on the equipment channel information of any communication channel if the communication state of the communication channel is abnormal, and generating coping strategies.
The above-described methods, apparatuses may be implemented, for example, in the form of a computer program that is executable on a server as shown in fig. 5.
Referring to fig. 5, fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present application.
As shown in fig. 5, the computer device includes a processor, a memory and a network interface, and a preset database connected through a system bus, wherein the memory may include a storage medium and an internal memory.
The storage medium may store an operating system and a computer program. The computer program comprises program instructions which, when executed, cause the processor to perform any one of the methods of managing the internet of things device.
The processor is used to provide computing and control capabilities, supporting the operation of the entire server.
The internal memory provides an environment for the execution of a computer program in the storage medium, which when executed by the processor, causes the processor to perform any one of the methods of managing the internet of things device.
The network interface is used for network communication such as transmitting assigned tasks and the like. It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein in one embodiment the processor is configured to run a computer program stored in the memory to implement the steps of:
packaging the MQTT protocol to the Internet of things management platform;
receiving a connection request sent by Internet of things equipment;
performing equipment verification on the connection request based on an authentication mode preset in the MQTT protocol;
if the equipment passes the verification, establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment;
and managing the plurality of internet of things devices based on the plurality of communication channels.
In one embodiment, the connection request includes a device unique identification; the processor is configured to implement, when implementing the device verification on the connection request based on the authentication mode preset in the MQTT protocol: acquiring a unique identifier of the equipment in the connection request; judging whether the equipment unique identifier is matched with the equipment unique identifier of the equipment of the Internet of things to be connected; and if the equipment unique identifier is matched with the equipment unique identifier of the to-be-connected internet of things equipment, the equipment verification is passed.
In one embodiment, the connection request includes authentication information; the processor is configured to implement, when implementing the device verification on the connection request based on the authentication mode preset in the MQTT protocol: acquiring authentication information in the connection request; judging whether the Internet of things equipment is to be connected or not based on the authentication information; and if the Internet of things equipment is the Internet of things equipment to be connected, the equipment verification is passed.
In one embodiment, after implementing the establishing the plurality of communication channels between the internet of things management platform and the plurality of internet of things devices based on the MQTT protocol, the processor is configured to implement: and correspondingly marking the communication channels between the Internet of things management platform and the Internet of things equipment according to the equipment information of the Internet of things equipment to obtain equipment channel information of the plurality of communication channels, wherein the equipment channel information is used for distinguishing the plurality of communication channels established by the plurality of Internet of things equipment and the Internet of things management platform.
In one embodiment, when implementing the managing the plurality of internet of things devices based on the plurality of communication channels, the processor is configured to implement: determining first target internet of things equipment for receiving information according to information issuing requirements; determining a first target communication channel according to equipment information of first target internet of things equipment, wherein the first target communication channel is a communication channel between the first target internet of things equipment and the internet of things management platform; and based on the MQTT protocol, transmitting information data to the first target Internet of things equipment for receiving information through the first target communication channel.
In one embodiment, when implementing the managing the plurality of internet of things devices based on the plurality of communication channels, the processor is configured to implement: determining second target Internet of things equipment for obtaining information according to information reporting requirements; determining a second target communication channel according to equipment information of second target internet of things equipment, wherein the second communication channel is a communication channel between the second target internet of things equipment and the internet of things management platform; and acquiring information data acquired by the second target Internet of things equipment of the information to be acquired through the second target communication channel based on the MQTT protocol.
In one embodiment, when implementing the managing the plurality of internet of things devices based on the plurality of communication channels, the processor is configured to implement: monitoring the communication state of the plurality of communication channels; if the communication state of any communication channel is abnormal, determining the internet of things equipment with abnormal connection based on the equipment channel information of the communication channel, and generating a coping strategy.
It should be noted that, for convenience and brevity of description, a specific recommended working process of the description model may refer to a corresponding process in the foregoing management method embodiment of the internet of things device, which is not described herein again.
Embodiments of the present application further provide a computer readable storage medium, where a computer program is stored, where the computer program includes program instructions, and a method implemented when the program instructions are executed may refer to various embodiments of a management method of an internet of things device of the present application.
The computer readable storage medium may be an internal storage unit of the server according to the foregoing embodiment, for example, a hard disk or a memory of the server. The computer readable storage medium may also be an external storage device of the server, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, which are provided on the server.
It is to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments. While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. The management method of the Internet of things equipment is characterized by being applied to an Internet of things management platform, and comprises the following steps:
packaging the MQTT protocol to the Internet of things management platform;
receiving a connection request sent by Internet of things equipment;
performing equipment verification on the connection request based on an authentication mode preset in the MQTT protocol;
if the equipment passes the verification, establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment;
and managing the plurality of internet of things devices based on the plurality of communication channels.
2. The method of claim 1, wherein the connection request includes a device unique identification; the device verification for the connection request based on the authentication mode preset in the MQTT protocol comprises the following steps:
acquiring a unique identifier of the equipment in the connection request;
judging whether the equipment unique identifier is matched with the equipment unique identifier of the equipment of the Internet of things to be connected;
and if the equipment unique identifier is matched with the equipment unique identifier of the to-be-connected internet of things equipment, the equipment verification is passed.
3. The method of claim 1, wherein the connection request includes authentication information; the device verification for the connection request based on the authentication mode preset in the MQTT protocol further comprises:
acquiring authentication information in the connection request;
judging whether the Internet of things equipment is to be connected or not based on the authentication information;
and if the Internet of things equipment is the Internet of things equipment to be connected, the equipment verification is passed.
4. The method according to claim 1, further comprising, after the establishing a plurality of communication channels between the internet of things management platform and a plurality of internet of things devices based on the MQTT protocol, respectively:
and correspondingly marking the communication channels between the Internet of things management platform and the Internet of things equipment according to the equipment information of the Internet of things equipment to obtain equipment channel information of the plurality of communication channels, wherein the equipment channel information is used for distinguishing the plurality of communication channels established by the plurality of Internet of things equipment and the Internet of things management platform.
5. The method of claim 4, wherein the managing the plurality of internet of things devices based on the plurality of communication channels comprises:
determining first target internet of things equipment for receiving information according to information issuing requirements;
determining a first target communication channel according to equipment information of first target internet of things equipment, wherein the first target communication channel is a communication channel between the first target internet of things equipment and the internet of things management platform;
and based on the MQTT protocol, transmitting information data to the first target Internet of things equipment for receiving information through the first target communication channel.
6. The method of claim 4, wherein the managing the plurality of internet of things devices based on the plurality of communication channels further comprises:
determining second target Internet of things equipment for obtaining information according to information reporting requirements;
determining a second target communication channel according to equipment information of second target internet of things equipment, wherein the second communication channel is a communication channel between the second target internet of things equipment and the internet of things management platform;
and acquiring information data acquired by the second target Internet of things equipment of the information to be acquired through the second target communication channel based on the MQTT protocol.
7. The method of claim 4, wherein the managing the plurality of internet of things devices based on the plurality of communication channels further comprises:
monitoring the communication state of the plurality of communication channels;
if the communication state of any communication channel is abnormal, determining the internet of things equipment with abnormal connection based on the equipment channel information of the communication channel, and generating a coping strategy.
8. A management apparatus for an internet of things device, wherein the management apparatus includes:
the protocol encapsulation module is used for encapsulating the MQTT protocol to the Internet of things management platform;
the request receiving module is used for receiving a connection request sent by the Internet of things equipment;
the device verification module is used for carrying out device verification on the connection request based on an authentication mode preset in the MQTT protocol;
the channel establishing module is used for establishing a communication channel between the Internet of things management platform and the Internet of things equipment based on the MQTT protocol through the connection request if the equipment passes the verification, wherein the communication channel is used for information transmission between the Internet of things management platform and the Internet of things equipment;
and the equipment management module is used for managing the plurality of internet of things equipment based on the plurality of communication channels.
9. A computer device, the computer device comprising a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and implement the method for managing an internet of things device according to any one of claims 1 to 7 when the computer program is executed.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which when executed by a processor causes the processor to implement the method of managing an internet of things device according to any one of claims 1 to 7.
CN202310143404.5A 2023-02-09 2023-02-09 Management method and device of Internet of things equipment, computer equipment and storage medium Pending CN116248721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310143404.5A CN116248721A (en) 2023-02-09 2023-02-09 Management method and device of Internet of things equipment, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310143404.5A CN116248721A (en) 2023-02-09 2023-02-09 Management method and device of Internet of things equipment, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116248721A true CN116248721A (en) 2023-06-09

Family

ID=86632650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310143404.5A Pending CN116248721A (en) 2023-02-09 2023-02-09 Management method and device of Internet of things equipment, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116248721A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116743713A (en) * 2023-06-27 2023-09-12 深圳金之桥信息科技有限公司 Remote online paperless conference method and device based on Internet of Things

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116743713A (en) * 2023-06-27 2023-09-12 深圳金之桥信息科技有限公司 Remote online paperless conference method and device based on Internet of Things
CN116743713B (en) * 2023-06-27 2024-04-30 深圳金之桥信息科技有限公司 Remote online paperless conference method and device based on Internet of things

Similar Documents

Publication Publication Date Title
CN110659109B (en) System and method for monitoring openstack virtual machine
CN112788128B (en) Business information pushing method and device, storage medium and electronic device
CN106789606B (en) Network communication system, management method and communication method thereof
CN106330483B (en) Information acquisition method, client device and server device
CN114172929B (en) Communication method, device and gateway
CN116248721A (en) Management method and device of Internet of things equipment, computer equipment and storage medium
CN114024972A (en) Long connection communication method, system, device, equipment and storage medium
US9413542B2 (en) Managing data feeds
CN101022364A (en) Trap message reporting method and system warning information resource/warning agent service device
CN113596629A (en) Information transmission method and device, communication equipment and readable storage medium
CN109831335B (en) Data monitoring method, monitoring terminal, storage medium and data monitoring system
CN110572315A (en) Information interaction method and device, robot and storage medium
CN115914319A (en) Remote management method and system for virtual reality equipment
CN113032054B (en) Service execution method and device, storage medium and electronic device
CN113114704B (en) Video structured data one-way transmission method and device based on equipment attribute selection
CN114576828B (en) Communication management method, bifurcation box, multi-split air conditioning system and storage medium
CN112995095B (en) Data processing method, device and computer readable storage medium
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN114679472A (en) Communication system, method, apparatus, storage medium, and electronic device
CN113923272A (en) Data analysis method and device and server equipment
US11606274B1 (en) Method for operations of virtual machines in monitoring cloud activities, system, and device applying the method
CN111741032B (en) Data transmission control method
CN111522642B (en) Method for acquiring and inquiring state monitoring data of wind turbine generator, and electronic equipment
CN112653627B (en) Data transmission method, device and system, computer equipment and computer readable storage medium
CN112769889B (en) Service data pushing method and device, storage medium and electronic device

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