An iot device monitoring method, device and micro module data center
By establishing a ring network connecting the monitoring host and distributed data collectors in the IoT device monitoring system, and using ring network chips for number binding and status information transmission, the problem of unstable communication in the monitoring system is solved, and the security and stability of device monitoring are improved.
Patent Information
- Application Number
- CN202410402452.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-03
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-04-03
AI Technical Summary
In existing IoT device monitoring systems for micro-module data centers, the communication between the monitoring host and the devices is not secure or reliable enough, making it difficult to quickly respond to market demands for intelligence, and resulting in long lead times and high costs.
In IoT device monitoring systems, the monitoring host and distributed data collectors establish a communication connection through a ring network. The ring network chip is used for number binding and status information transmission, forming a ring network that improves communication stability and security.
The communication connection through the ring network enables reliable information transmission between the monitoring host and the distributed data collector, improving the stability and security of IoT device monitoring and reducing network resource consumption.
Smart Images

Figure CN118348841B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication technology, in particular to a kind of IOT equipment monitoring method, device and micro module data center. BACKGROUND
[0002] The intelligent demand of customer leads to the current micro module data center integrated more network monitoring equipment, there is short board in minimal delivery and intelligent function, cannot quickly respond to the demand of micro module data center intelligentization of market, long delivery time, high cost. The main pain points of market product are: micro module data center intelligentization customization demand is more, such as intelligent light and monitoring linkage control, intelligent cabinet access control, etc., the current communication mode in micro module data center cannot meet the diversity interaction demand between each micro module data center.
[0003] Therefore, how to improve the security and reliability of communication between monitoring host and each device in IOT equipment monitoring system is a problem to be solved in the field. SUMMARY
[0004] Therefore, the purpose of the present application is to provide an IOT equipment monitoring method, device and micro module data center, which uses a ring-shaped internal network to realize communication between a monitoring host and distributed collectors in an IOT equipment monitoring system, thereby improving the stability of monitoring IOT equipment. The specific scheme is as follows:
[0005] In a first aspect, the present application provides an IOT equipment monitoring method applied to a monitoring host in an IOT equipment monitoring system, which also includes a switch and a plurality of distributed collectors in communication connection with the monitoring host; wherein the monitoring host and each of the distributed collectors are internally provided with a ring network chip, and the monitoring host and each of the distributed collectors are in communication connection through the ring network chip in turn to form a ring-shaped internal network; the method comprises:
[0006] Obtain configuration parameters for the plurality of distributed collectors through a pre-set human-computer interaction interface, and send a plurality of collector numbers for distinguishing different distributed collectors to the ring-shaped internal network based on the configuration parameters and its own serial number, so that the distributed collectors receive the corresponding collector numbers through the ring-shaped internal network and perform a binding operation corresponding to the collector numbers; the configuration parameters include location configuration parameters and network configuration parameters;
[0007] After completing the binding operation, send state request information for the IOT equipment to be monitored to the plurality of distributed collectors based on the ring-shaped network and the plurality of collector numbers, so that the distributed collectors send the device state information of the relevant IOT equipment to be monitored to the ring-shaped network according to the state request information and its own collector number.
[0008] acquire the device state information sent by the distributed collector from the ring network, and send the device state information to the switch, so that the switch sends the device state information to a preset terminal through an external network.
[0009] Optionally, before the configuration parameters for the plurality of distributed collectors are acquired through the preset human-computer interaction interface, the method further comprises:
[0010] broadcasting a retrieval request for retrieving a distributed collector based on an address resolution protocol to the ring intranet, so that the distributed collector in the ring intranet sends response data based on the address resolution protocol to the monitoring host after receiving the retrieval request;
[0011] receiving the response data returned by the distributed collector in the ring intranet for the retrieval request, and displaying the device information of the relevant distributed collector in a preset human-computer interaction interface according to the response data, so that the staff inputs the configuration parameters for the distributed collector in the preset human-computer interaction interface according to the device information.
[0012] Optionally, the configuration parameters for the plurality of distributed collectors are acquired through the preset human-computer interaction interface, comprising:
[0013] acquiring a location identification instruction for a single distributed collector through a preset human-computer interaction interface, and executing the location identification instruction, so that the staff determines the location configuration parameters of the corresponding single distributed collector according to the execution result of the location identification instruction;
[0014] acquiring the location configuration parameters and network configuration parameters for the single distributed collector through the preset human-computer interaction interface.
[0015] Optionally, the plurality of collector numbers for distinguishing different distributed collectors are sent to the ring intranet based on the configuration parameters and the sequence number of the self, comprising:
[0016] generating a collector number for a single distributed collector based on the network configuration parameters in the configuration parameters and the sequence number of the self, to obtain a plurality of collector numbers;
[0017] sending the single collector number to the ring intranet in turn according to the location configuration parameters in the configuration parameters, so as to issue the single collector number to the corresponding distributed collector.
[0018] Optionally, the binding operation corresponding to the collector number is executed, comprising:
[0019] The distributed collector saves the collector number locally and returns binding success information generated based on the collector number to the monitoring host to complete the binding operation for the collector number.
[0020] Optionally, the sending of the state request information for the to-be-monitored IoT device to the plurality of distributed collectors based on the ring network and the plurality of collector numbers comprises:
[0021] The state request information for the to-be-monitored IoT device is acquired through a preset human-computer interaction interface or through an external network of the switch, and the state request information is sent to the plurality of distributed collectors in the ring network based on the plurality of collector numbers.
[0022] Optionally, after the device state information sent by the distributed collector is acquired from the ring network, the method further comprises:
[0023] The device state information is displayed through a preset human-computer interaction interface to display the device state information of the to-be-monitored IoT device in real time.
[0024] In a second aspect, the present application provides a monitoring device applied to a monitoring host in an IoT device monitoring system, the IoT device monitoring system further comprising a switch and a plurality of distributed collectors which establish a communication connection with the monitoring host; wherein the monitoring host and each of the distributed collectors are internally provided with a ring network chip, and the monitoring host and the distributed collectors are sequentially connected through the ring network chip to form a ring intranet; the monitoring device comprises:
[0025] A number binding module is configured to acquire configuration parameters for the plurality of distributed collectors through a preset human-computer interaction interface, and send a plurality of collector numbers for distinguishing different distributed collectors to the ring intranet based on the configuration parameters and a serial number of the monitoring device, so that the distributed collectors receive the corresponding collector numbers through the ring intranet and perform a binding operation corresponding to the collector numbers; the configuration parameters comprise location configuration parameters and network configuration parameters.
[0026] A state request information sending module is configured to, after the binding operation is completed, send state request information for a to-be-monitored IoT device to the plurality of distributed collectors based on the ring network and the plurality of collector numbers, so that the relevant distributed collectors send device state information of the relevant to-be-monitored IoT device to the ring network according to the state request information and the corresponding collector numbers.
[0027] The device state information acquisition module is configured to acquire the device state information sent by the distributed collectors from the ring network, and send the device state information to the switch, so that the switch sends the device state information to a preset terminal through an external network.
[0028] In a third aspect, the present application provides a micro-module data center comprising the above-mentioned IOT device monitoring system.
[0029] Optionally, the plurality of distributed collectors in the IOT device monitoring system comprises a first distributed collector and a second distributed collector, wherein the first distributed collector is arranged at a front door side of the micro-module data center and at least one interface thereof is connected to a to-be-monitored IOT device at the front door side, and the second distributed collector is arranged at a back door side of the micro-module data center and at least one interface thereof is connected to a to-be-monitored IOT device at the back door side.
[0030] It can be seen that, in the application applied to the monitoring host in the IOT device monitoring system, first, configuration parameters for the plurality of distributed collectors are acquired through a preset human-computer interaction interface, and a plurality of collector numbers for distinguishing different distributed collectors are sent to the ring intranet based on the configuration parameters and a serial number of the monitoring host, so that the distributed collectors receive the corresponding collector numbers through the ring intranet and perform a binding operation corresponding to the collector numbers; the configuration parameters comprise a position configuration parameter and a network configuration parameter; after the binding operation is completed, state request information for to-be-monitored IOT devices is sent to the plurality of distributed collectors based on the ring network and the plurality of collector numbers, so that the distributed collectors send device state information of the related to-be-monitored IOT devices to the ring network according to the state request information and the collector number of the distributed collectors; the device state information sent by the distributed collectors is acquired from the ring network, and the device state information is sent to the switch, so that the switch sends the device state information to a preset terminal through an external network. In this way, in the IOT device monitoring system, the application establishes a communication connection between the monitoring host and the distributed collectors through the ring intranet, and realizes information transmission between the monitoring host and a single distributed collector based on the collector number, which can acquire device state information or accurately issue a monitoring command, and improves the safety and reliability and stability during IOT device monitoring. BRIEF DESCRIPTION OF DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor based on the provided drawings.
[0032] Figure 1 This is a schematic diagram of the structure of an IoT device monitoring system disclosed in this application;
[0033] Figure 2 This is a flowchart of a method for monitoring IoT devices disclosed in this application;
[0034] Figure 3 This is a flowchart of a specific distributed collector retrieval method disclosed in this application;
[0035] Figure 4 This application discloses a specific flowchart of an IoT device monitoring method.
[0036] Figure 5 This is a schematic diagram of the structure of an IoT device monitoring device disclosed in this application;
[0037] Figure 6 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation
[0038] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0039] It should be pointed out that, as Figure 1 The diagram illustrates the structure of a specific IoT device monitoring system. In this application, the IoT device monitoring system may include a monitoring host, a switch, and several distributed data collectors. Specifically, the monitoring host connects its core chip to a built-in ring network chip, establishing two local area network (LAN) interfaces through this ring network chip. The first LAN interface establishes a communication connection with the ring network chip of the first distributed data collector, and the second LAN interface establishes a communication connection with the ring network chip of the last distributed data collector, thus forming a ring-shaped intranet based on the monitoring host and the distributed data collectors. The distributed data collectors can connect to several IoT devices that need to be monitored. It should be noted that the distributed data collectors establish communication connections sequentially through the network ports created by the ring network chip. However, when the IoT device monitoring system of this application includes only one distributed data collector, this distributed data collector connects to the two LAN interfaces created by the ring network chip in the monitoring host through the two network ports created by the ring network chip, respectively. This single distributed data collector and the monitoring host can form a ring-shaped intranet.
[0040] The following embodiments will specifically introduce the Internet of Things equipment monitoring method disclosed in the application, see Figure 2 As shown in the figure, the Internet of Things equipment monitoring method disclosed in the embodiment of the application is applied to a monitoring host in an Internet of Things equipment monitoring system, the Internet of Things equipment monitoring system further includes a switch and a plurality of distributed collectors which establish a communication connection with the monitoring host; wherein the monitoring host and each of the distributed collectors are internally provided with a ring network chip, and the monitoring host and each of the distributed collectors establish a communication connection through the ring network chip in sequence to form a ring-shaped intranet; the method comprises:
[0041] Step S11, obtain configuration parameters for the plurality of distributed collectors through a preset human-computer interaction interface, and send a plurality of collector numbers for distinguishing different distributed collectors to the ring-shaped intranet based on the configuration parameters and the serial number of the monitoring host, so that the distributed collectors receive the corresponding collector numbers through the ring-shaped intranet and perform a binding operation corresponding to the collector numbers; the configuration parameters include position configuration parameters and network configuration parameters.
[0042] In this embodiment, the Internet of Things equipment monitoring system includes a monitoring host, a switch, and a plurality of distributed collectors; and the monitoring host and the first and last distributed collectors in the distributed collectors are connected through the built-in ring network chip, wherein each of the distributed collectors is connected through the ring network chip in sequence; in this way, a ring-shaped intranet can be formed based on the monitoring host and the plurality of distributed collectors. Further, in the Internet of Things equipment monitoring system, the monitoring host can obtain configuration parameters for the plurality of distributed collectors through a preset human-computer interaction interface; the parameters include position configuration parameters and network configuration parameters; it should be noted that the network configuration parameters are network parameters for configuring the monitoring host and the distributed collectors, which are set by relevant staff according to the external network information of the switch.
[0043] In a specific embodiment, before the configuration parameters for the plurality of distributed collectors are acquired through the preset human-computer interaction interface, the method can include: broadcasting a search request for searching for a distributed collector based on an address resolution protocol to the ring-shaped intranet, so that a distributed collector in the ring-shaped intranet sends response data based on the address resolution protocol to the monitoring host after receiving the search request; receiving the response data returned by the distributed collector in the ring-shaped intranet for the search request, so as to display the device information of the relevant distributed collector in the preset human-computer interaction interface according to the response data, so that the staff inputs the configuration parameters for the distributed collector in the preset human-computer interaction interface according to the device information. Specifically, the monitoring host can send a search request for searching for a distributed collector to the ring-shaped intranet through an ARP (Address Resolution Protocol) broadcast mode; correspondingly, the distributed collector in the ring-shaped intranet can send its device information as response data to the monitoring host based on the ARP message after receiving the search request. Further, the monitoring host can receive the response data returned by each distributed collector in the ring-shaped intranet for the search request, and then parse the response data to display the device information of the relevant distributed collector in the preset human-computer interaction interface; as shown in Figure 3 , the monitoring host can search for a plurality of distributed collectors in the ring-shaped intranet based on ARP messages. In this way, the relevant staff can view the device information of the distributed collector displayed in the preset human-computer interaction interface, and can input the configuration parameters for the distributed collector in the preset human-computer interaction interface according to the device information.
[0044] In another specific embodiment, the obtaining of the configuration parameters for the plurality of distributed collectors through the preset human-computer interaction interface can include: obtaining a position identification instruction for a single distributed collector through the preset human-computer interaction interface, and executing the position identification instruction so that a worker determines the position configuration parameters of the corresponding single distributed collector according to the execution result of the position identification instruction; and obtaining the position configuration parameters and network configuration parameters for the single distributed collector through the preset human-computer interaction interface. Specifically, in the process of obtaining the configuration parameters for the distributed collector through the preset human-computer interaction interface by the monitoring host, first, a position identification instruction for a single distributed collector is obtained through the preset human-computer interaction interface. The instruction can be a light-on instruction and the like. The monitoring host executes the position identification instruction. Then, the relevant worker can determine the position information of the distributed collector corresponding to the position identification instruction according to the execution result of the position identification instruction, that is, the position configuration parameters of the corresponding distributed collector can be determined according to the execution result of the position identification instruction. Further, the monitoring host can obtain the position configuration parameters and the corresponding network configuration parameters for the single distributed collector input by the worker through the preset human-computer interaction interface. The network configuration parameters are parameters for the distributed collector set by the worker according to the external network information of the Internet of Things equipment monitoring system. For example, in the Internet of Things equipment monitoring system, two distributed collectors are installed on the front door lintel and the back door lintel, and a multifunctional button with an LED ring is installed on the front door and the back door stand column. The switch signal contact and the LED ring control power of the button are connected to the corresponding distributed collector. At this time, the worker can determine the position of the distributed collector by issuing a position identification instruction (i.e., a single distributed collector corresponding light ring control instruction) through the monitoring host, so as to issue the corresponding configuration parameters.
[0045] In another specific embodiment, the sending of the plurality of collector numbers for distinguishing different distributed collectors to the ring-shaped intranet based on the configuration parameters and the sequence number of the monitoring host can include: generating a collector number for a single distributed collector based on the network configuration parameters in the configuration parameters and the sequence number of the monitoring host, to obtain a plurality of collector numbers; and sequentially sending the single collector numbers to the ring-shaped intranet according to the position configuration parameters in the configuration parameters, so as to issue the single collector numbers to the corresponding distributed collectors. Specifically, the monitoring host has a sequence number of its own device, and can generate a plurality of collector numbers corresponding to a plurality of distributed collectors one by one according to the network configuration parameters in the obtained configuration parameters and the sequence number. Further, the collector numbers can be issued to the relevant distributed collectors through the ring-shaped intranet according to the position configuration parameters.
[0046] In yet another specific embodiment, the performing the binding operation corresponding to the collector number can include: the distributed collector saving the collector number locally and returning binding success information generated based on the collector number to the monitoring host to complete the binding operation for the collector number. Specifically, after the distributed collector obtains the collector number sent by the monitoring host through the ring-shaped internal network, the distributed collector can perform the binding operation corresponding to the collector number, save the collector number locally, and generate information representing binding success based on the collector number, and return the information to the monitoring host. After the monitoring host receives the binding success information, the binding operation for the collector number is completed.
[0047] Step S12, after the binding operation is completed, the state request information for the to-be-monitored IoT device is sent to the plurality of distributed collectors based on the ring-shaped network and the plurality of collector numbers, so that the distributed collectors send the device state information of the related to-be-monitored IoT device to the ring-shaped network according to the state request information and the collector number of the distributed collector.
[0048] In the embodiment, the monitoring host can bind the collector number in the corresponding distributed collector through the above steps. Subsequently, the monitoring host can send the state request information for the to-be-monitored IoT device to the plurality of distributed collectors based on the ring-shaped network and the plurality of collector numbers. It can be understood that the process of the monitoring host sending the state request information for the to-be-monitored IoT device to the distributed collector can be a preset operation instruction in the monitoring host, that is, the monitoring host can automatically request the device state information of the to-be-monitored IoT device from the distributed collector after the monitoring host establishes a communication connection with the distributed collector. It should be noted that a single distributed collector can be connected to a plurality of IoT devices to be monitored, and the network configuration parameters obtained by the monitoring host also include the network parameters of the IoT devices connected by the distributed collector. The monitoring host, the distributed collector, and the plurality of to-be-monitored IoT devices constitute an internal network of the IoT device monitoring system, and the monitoring host and the switch constitute an external network of the IoT device monitoring system.
[0049] Further, in the embodiment of the present application, after the monitoring host sends the state request information for the to-be-monitored IoT device to the related distributed collector, the distributed collector can obtain the device state information of the related to-be-monitored IoT device according to the state request information, and then send the obtained device state information to the monitoring host based on the collector number of the distributed collector through the ring-shaped internal network.
[0050] In a specific embodiment, the sending, to the plurality of distributed collectors, of the state request information for the to-be-monitored IoT device based on the ring network and the plurality of collector numbers can include: obtaining the state request information for the to-be-monitored IoT device through a preset human-computer interaction interface or through an external network of the switch, and sending the state request information to the plurality of distributed collectors in the ring network based on the plurality of collector numbers. Specifically, in the process of sending, by the monitoring host, the state request information for the to-be-monitored IoT device to the distributed collector, the monitoring host can send the state request information for the to-be-monitored IoT device to the relevant distributed collector after obtaining the state viewing instruction of the IoT device issued by the preset terminal through the switch. The monitoring host can also obtain the state request information for the to-be-monitored IoT device through the preset human-computer interaction interface of the self device, and then send the state request information to the relevant distributed collector based on the relevant collector number.
[0051] Step S13: obtaining the device state information sent by the distributed collector from the ring network, and sending the device state information to the switch, so that the switch sends the device state information to the preset terminal through an external network.
[0052] Further, after the monitoring host sends the state request information for the to-be-monitored IoT device to the relevant distributed collector, the monitoring host can obtain the device state information of the to-be-monitored IoT device returned by the distributed collector based on the state request information from the ring network; then the monitoring host can send the device state information to the switch, and the switch can send the device state information to the preset terminal through an external network; in this way, the real-time state information of the to-be-monitored IoT device can be viewed in real time through the preset terminal. In a specific implementation, after obtaining the device state information sent by the distributed collector from the ring network, the monitoring host can further display the device state information through a preset human-computer interaction interface to display the device state information of the to-be-monitored IoT device in real time. Specifically, after obtaining the device state information of the to-be-monitored IoT device from the ring network, the monitoring host can display the device state information through a preset human-computer interaction interface to display the information in real time, so as to facilitate the staff to view the state of the to-be-monitored IoT device.
[0053] As Figure 4As shown, the monitoring host can be connected to multiple micro-module data centers, and each micro-module data center can include several distributed collectors; further, the monitoring host can generate corresponding micro-module numbers for the multiple micro-module data centers, i.e., micro-module number 1 and micro-module number 2 in the figure, which correspond to micro-module data center-1 and micro-module data center-2, respectively. In this way, the control instructions issued by the monitoring host can include micro-module numbers for distinguishing micro-module data centers, and collector numbers for distinguishing different distributed collectors in a micro-module data center; specifically, the monitoring host can send control instructions (state request information and the like) containing micro-module numbers and collector numbers to the corresponding micro-module data center through the ring-shaped intranet, and the distributed collectors in the micro-module data center can determine whether the collector number in the control instruction is consistent with the collector number of the distributed collector itself, and if the collector number is consistent, the control instruction can be executed to send the relevant response information to the monitoring host; correspondingly, if the collector number is inconsistent, the control instruction is not executed.
[0054] As can be seen, in the application, the communication connection between the monitoring host and the distributed collectors is established through the ring-shaped intranet in the Internet of Things equipment monitoring system. First, the retrieval request for retrieving the distributed collectors is based on ARP broadcast, and the distributed collectors in the ring-shaped intranet can return the response information containing device information for the retrieval request. Then, the monitoring host generates the collector numbers for each distributed collector based on the device information of each distributed collector and its own serial number. Then, the collector numbers are issued to the corresponding distributed collectors. The subsequent communication between the monitoring host and the distributed collectors is based on the collector numbers. The monitoring host can request the device state information of each Internet of Things equipment to be monitored from the distributed collectors through the ring-shaped intranet, and can send the device state information returned by the distributed collectors to the switch, so that the switch sends the device state information to the terminal through the external network, realizing real-time state monitoring of the Internet of Things equipment. In this way, the network resources occupied by the Internet of Things equipment monitoring system can be reduced through the ring-shaped intranet of the monitoring host and the distributed collectors and the external network of the switch, and the reliability of data transmission can be improved based on the ring-shaped intranet and the collector numbers of the distributed collectors, thereby improving the stability of the Internet of Things equipment monitoring.
[0055] As shown in Figure 5 The monitoring device disclosed by the application is applied to a monitoring host in an Internet of Things equipment monitoring system, and the Internet of Things equipment monitoring system further includes a switch and a plurality of distributed collectors which establish communication connections with the monitoring host. The monitoring host and each distributed collector are internally provided with a ring network chip, and the monitoring host and each distributed collector establish communication connections through the ring network chips in turn to form a ring-shaped intranet. The monitoring device comprises:
[0056] The number binding module 11 is configured to acquire configuration parameters of the plurality of distributed collectors through a preset human-computer interaction interface, and send a plurality of collector numbers for distinguishing different distributed collectors to the ring-shaped intranet based on the configuration parameters and a serial number of the number binding module 11, so that the distributed collectors receive the corresponding collector numbers through the ring-shaped intranet and perform a binding operation corresponding to the collector numbers; the configuration parameters include location configuration parameters and network configuration parameters.
[0057] The state request information sending module 12 is configured to send state request information for a to-be-monitored IoT device to the plurality of distributed collectors based on the ring-shaped network and the plurality of collector numbers after the binding operation is completed, so that a relevant distributed collector sends device state information of a relevant to-be-monitored IoT device to the ring-shaped network according to the state request information and the corresponding collector number.
[0058] The device state information acquisition module 13 is configured to acquire the device state information sent by the distributed collectors from the ring-shaped network and send the device to the switch, so that the switch sends the device state information to a preset terminal through an extranet.
[0059] Therefore, in the IoT device monitoring system, the communication connection between the monitoring host and the distributed collectors is established through the ring-shaped intranet, and the information transmission between the monitoring host and a single distributed collector is realized based on the collector number, so that the device state information can be acquired or the monitoring command can be accurately issued, and the reliability and stability of the IoT device monitoring are improved.
[0060] In a specific embodiment, the apparatus can include:
[0061] The distributed collector retrieval module is configured to broadcast a retrieval request for retrieving a distributed collector to the ring-shaped intranet based on an address resolution protocol, so that a distributed collector in the ring-shaped intranet sends response data to the monitoring host based on the address resolution protocol after receiving the retrieval request.
[0062] The response data receiving module is configured to receive the response data returned by the distributed collector in the ring-shaped intranet for the retrieval request, to display device information of a relevant distributed collector in a preset human-computer interaction interface according to the response data, so that a worker inputs configuration parameters for the distributed collector in a preset human-computer interaction interface according to the device information.
[0063] In another specific embodiment, the number binding module 11 can include:
[0064] The instruction acquisition unit is configured to acquire a position identification instruction for a single distributed collector through a preset human-computer interaction interface, and execute the position identification instruction, so that a worker determines a position configuration parameter of the corresponding single distributed collector according to an execution result of the position identification instruction.
[0065] The parameter acquisition module is configured to acquire the position configuration parameter and a network configuration parameter for the single distributed collector through the preset human-computer interaction interface.
[0066] In a specific embodiment, the number binding module 11 can include:
[0067] The number generation unit is configured to generate a collector number for a single distributed collector based on the network configuration parameter in the configuration parameter and a serial number of itself, to obtain a plurality of collector numbers.
[0068] The number sending unit is configured to sequentially send the single collector number to the ring-shaped intranet according to the position configuration parameter in the configuration parameter, so as to distribute the single collector number to the corresponding distributed collector.
[0069] In another specific embodiment, the state request information sending module 12 can include:
[0070] The state request information acquisition unit is configured to acquire state request information for a to-be-monitored IoT device through a preset human-computer interaction interface or through an extranet of the switch.
[0071] The state request information sending unit is configured to send the state request information to the plurality of distributed collectors in the ring-shaped network based on the plurality of collector numbers.
[0072] In a specific embodiment, the device can further include:
[0073] The information display module is configured to display the device state information through a preset human-computer interaction interface, to display the device state information of the to-be-monitored IoT device in real time.
[0074] Further, the embodiments of the present application also disclose an electronic device, Figure 6 is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the figure cannot be considered as any limitation on the use range of the present application.
[0075] Figure 6A structural schematic diagram of an electronic device 20 is provided in the embodiments of the present application. The electronic device 20 can specifically include at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25 and a communication bus 26. The memory 22 is configured to store a computer program, and the processor 21 is configured to load and execute the computer program to implement the related steps in the method for monitoring an Internet of Things device disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in the embodiments of the present application can be specifically an electronic computer.
[0076] In the embodiments of the present application, the power supply 23 is configured to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 is capable of creating a data transmission channel between the electronic device 20 and external devices, and the communication protocol followed by the communication interface 24 can be any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input / output interface 25 is configured to obtain external input data or output data to the outside, and the specific interface type can be selected according to the specific application needs, which is not specifically limited herein.
[0077] In addition, the memory 22 as a carrier for resource storage can be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage mode can be temporary storage or permanent storage.
[0078] The operating system 221 is configured to manage and control each hardware device on the electronic device 20 and the computer program 222, and can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program capable of completing the method for monitoring an Internet of Things device executed by the electronic device 20 disclosed in any of the foregoing embodiments, the computer program 222 can further include a computer program capable of completing other specific work.
[0079] Further, the present application further discloses a computer readable storage medium for storing a computer program; wherein the computer program is executed by a processor to implement the method for monitoring an Internet of Things device disclosed in the foregoing embodiments. The specific steps of the method can refer to the corresponding contents disclosed in the foregoing embodiments, which will not be repeated here.
[0080] The embodiments in the present specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts of each embodiment can be referred to each other. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant parts can refer to the method part.
[0081] Those skilled in the art will further appreciate that the units and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various examples have been described herein in terms of their functionality, which has been described generally and symbolically in flow charts. Having thus described the functionality of the examples, a person of ordinary skill in the art will be able to implement such functions in hardware and / or software, using the means and methods available to those skilled in the art. The examples described herein are not meant to limit the scope of the application, but merely to provide examples of the methods and systems being described.
[0082] The steps of a method or algorithm described in connection with the embodiments disclosed herein can be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module can reside in random access memory (RAM), flash memory, read-only memory (ROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0083] Finally, it should be noted that the terms "first", "second", and the like, herein do not denote any order, quantity, combination, or importance, but rather are used to distinguish one element from another, and are more especially used for the purpose of distinction from other elements in the specification. Also, the terms "comprise", "include" or "contain" or any other variant thereof are intended to encompass non-exclusive inclusions, such that processes, methods, articles, or apparatuses that comprise, include, or contain a list of elements are not limited to those elements, but can include other elements not expressly listed or inherent to such processes, methods, articles, or apparatuses. Without further limitation, an element defined by the phrase "comprising a... " does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0084] The above detailed description of the technical solutions provided by the present application has been described in detail, and the principles and implementation modes of the present application have been described in the text. The above description of the examples is only to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed; in view of the above, the content of the description should not be understood as limiting the present application.
Claims
1. A method for monitoring an IoT device, the method comprising: The application relates to a monitoring host applied to an internet-of-things equipment monitoring system, wherein the internet-of-things equipment monitoring system further comprises a switch and a plurality of distributed collectors which are in communication connection with the monitoring host; wherein the monitoring host and each of the distributed collectors are internally provided with a ring network chip, and the monitoring host and the distributed collectors are sequentially in communication connection through the ring network chip to form a ring-shaped internal network; the method comprises the following steps: configuration parameters for the plurality of distributed collectors are acquired through a preset man-machine interactive interface, and a plurality of collector numbers for distinguishing different distributed collectors are sent to the ring-shaped internal network based on the configuration parameters and a serial number of the monitoring host, so that the distributed collectors receive the corresponding collector numbers through the ring-shaped internal network and execute a binding operation corresponding to the collector numbers; the configuration parameters comprise position configuration parameters and network configuration parameters; after the binding operation is completed, state request information for to-be-monitored internet-of-things equipment is sent to the plurality of distributed collectors based on the ring-shaped internal network and the plurality of collector numbers, so that the distributed collectors send device state information of the related to-be-monitored internet-of-things equipment to the ring-shaped internal network according to the state request information and the collector numbers of the distributed collectors; the device state information sent by the distributed collectors is acquired from the ring-shaped internal network, and the device state information is sent to the switch, so that the switch sends the device state information to a preset terminal through an external network. 2.The method according to claim 1, wherein, Before the configuration parameters for the plurality of distributed collectors are acquired through the preset man-machine interactive interface, the following steps are further included: a retrieval request for retrieving the distributed collectors is broadcasted to the ring-shaped internal network based on an address resolution protocol, so that the distributed collectors in the ring-shaped internal network send response data to the monitoring host based on the address resolution protocol after receiving the retrieval request; the response data returned by the distributed collectors in the ring-shaped internal network for the retrieval request is received, so that device information of the related distributed collectors is displayed in a preset man-machine interactive interface according to the response data, so that a worker inputs the configuration parameters for the distributed collectors in the preset man-machine interactive interface according to the device information. 3.The method of claim 2, wherein, The configuration parameters for the plurality of distributed collectors are acquired through the preset man-machine interactive interface, and the following steps are further included: position identification instructions for a single distributed collector are acquired through the preset man-machine interactive interface, and the position identification instructions are executed, so that a worker determines position configuration parameters of the corresponding single distributed collector according to an execution result of the position identification instructions; the position configuration parameters and network configuration parameters of the single distributed collector are acquired through the preset man-machine interactive interface. 4.The method of claim 1, wherein, The plurality of collector numbers for distinguishing different distributed collectors are sent to the ring-shaped internal network based on the configuration parameters and a serial number of the monitoring host, and the following steps are further included: a collector number for a single distributed collector is generated based on the network configuration parameters in the configuration parameters and the serial number of the monitoring host, so as to obtain the plurality of collector numbers; According to a position configuration parameter in the configuration parameter, a single collector number is sequentially sent to the ring-shaped inner network, so as to issue a single collector number to a corresponding distributed collector. 5.The IoT device monitoring method of claim 1, wherein, The execution of the binding operation corresponding to the collector number comprises: The distributed collector saves the collector number locally and returns binding success information generated based on the collector number to the monitoring host, so as to complete the binding operation for the collector number. 6.The IoT device monitoring method of claim 1, wherein, The sending of the state request information for the to-be-monitored IoT device to the plurality of distributed collectors based on the ring-shaped inner network and the plurality of collector numbers comprises: The state request information for the to-be-monitored IoT device is obtained through a preset human-computer interaction interface or through the outer network of the switch, and the state request information is sent to the plurality of distributed collectors in the ring-shaped inner network based on the plurality of collector numbers.
7. The method of claim 1 to 6, wherein, After the device state information sent by the distributed collector is obtained from the ring-shaped inner network, the method further comprises: The device state information is displayed through a preset human-computer interaction interface, so as to display the device state information of the to-be-monitored IoT device in real time.
8. A monitoring device, characterized in that The monitoring host applied to an IoT device monitoring system further comprises a switch and a plurality of distributed collectors in communication connection with the monitoring host; wherein the monitoring host and each distributed collector are internally provided with a ring network chip, and the monitoring host and the distributed collectors are sequentially connected in communication through the ring network chip to form a ring-shaped inner network; the monitoring device comprises: A number binding module is configured to obtain configuration parameters for the plurality of distributed collectors through a preset human-computer interaction interface, and send a plurality of collector numbers for distinguishing different distributed collectors to the ring-shaped inner network based on the configuration parameters and a serial number of the monitoring host, so that the distributed collectors receive corresponding collector numbers through the ring-shaped inner network and execute a binding operation corresponding to the collector numbers; the configuration parameters comprise position configuration parameters and network configuration parameters. A state request information sending module is configured to send state request information for to-be-monitored IoT devices to the plurality of distributed collectors based on the ring-shaped inner network and the plurality of collector numbers after the binding operation is completed, so that the relevant distributed collectors send device state information of the relevant to-be-monitored IoT devices to the ring-shaped inner network according to the state request information and the corresponding collector numbers. A device state information obtaining module is configured to obtain the device state information sent by the distributed collector from the ring-shaped inner network and send the device to the switch, so that the switch sends the device state information to a preset terminal through an outer network.
9. A micro-module data center, characterized by, The IoT device monitoring system in the monitoring device of claim 8. The IoT device monitoring system in the monitoring device of claim 8.
10. The modular data center of claim 9, wherein, The several distributed collectors in the Internet of Things equipment monitoring system include a first distributed collector and a second distributed collector, wherein the first distributed collector is arranged at a front door side of the micro-module data center, and at least one interface is connected with the Internet of Things equipment to be monitored at the front door side; and the second distributed collector is arranged at a back door side of the micro-module data center, and at least one interface is connected with the Internet of Things equipment to be monitored at the back door side.
Citation Information
Patent Citations
Underground explosive-proof power source monitoring system and method based on network
CN103926896A
Downhole person location rescue system
CN105898860A