CN111106956A - Sensor information adding method, device, equipment and storage medium of Internet of things - Google Patents

Sensor information adding method, device, equipment and storage medium of Internet of things Download PDF

Info

Publication number
CN111106956A
CN111106956A CN201911312464.5A CN201911312464A CN111106956A CN 111106956 A CN111106956 A CN 111106956A CN 201911312464 A CN201911312464 A CN 201911312464A CN 111106956 A CN111106956 A CN 111106956A
Authority
CN
China
Prior art keywords
sensor
information
internet
alarm type
things
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911312464.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.)
CHENGDU SKSPRUCE TECHNOLOGY Inc
Original Assignee
CHENGDU SKSPRUCE TECHNOLOGY Inc
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 CHENGDU SKSPRUCE TECHNOLOGY Inc filed Critical CHENGDU SKSPRUCE TECHNOLOGY Inc
Priority to CN201911312464.5A priority Critical patent/CN111106956A/en
Publication of CN111106956A publication Critical patent/CN111106956A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • 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

Abstract

The invention discloses a sensor information adding method of an Internet of things, which is based on a cloud node of an Internet of things platform and comprises the following steps: receiving a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on the cloud node; verifying the alarm type information carried in the alarm type adding instruction; and if the verification is successful, adding the alarm type information to the cloud node database. Therefore, when a new sensor alarm type is added, a code does not need to be modified, only the alarm type information to be added needs to be input in a visual interface of the cloud node by a user, the cloud node can automatically add the new alarm type, the adding process is simple, and the workload of code maintenance personnel is reduced; the invention also discloses a sensor information adding device, equipment and a computer readable storage medium of the Internet of things, and the technical effects can be realized.

Description

Sensor information adding method, device, equipment and storage medium of Internet of things
Technical Field
The invention relates to the technical field of data processing of the Internet of things, in particular to a method, a device and equipment for adding sensor information of the Internet of things and a computer-readable storage medium.
Background
The alarm is an important part in the platform of the Internet of things. The traditional sensor configuration is preset, when a new alarm type of a sensor is added, new codes of the sensor configuration and fault management need to be added in the existing Internet of things platform, and it can be seen that the new alarm type adding mode can be realized only by modifying the codes of the Internet of things platform, the adding process is complicated, and the workload of code maintenance personnel is increased.
Therefore, how to quickly add the alarm type of the sensor on the platform of the internet of things is a problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a sensor information adding method, device and equipment of the Internet of things and a computer readable storage medium, so as to realize the purpose of quickly adding the alarm type of a sensor on a platform of the Internet of things.
In order to achieve the above object, the invention provides a sensor information adding method of an internet of things, which is based on a cloud node of an internet of things platform, and the information adding method comprises the following steps:
receiving a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on a cloud node;
verifying the alarm type information carried in the alarm type adding instruction; and if the verification is successful, adding the alarm type information to a cloud node database.
After the alarm type information is added to the database of the cloud node, the method further includes:
and sending the alarm type information to each edge node of the platform of the Internet of things so that each edge node stores the alarm type information to a corresponding edge node database.
Wherein, after sending the alarm type information to each edge node of the platform of the internet of things, the method further comprises the following steps:
judging whether prompt information of alarm type addition success sent by each edge node is received or not;
and if so, generating prompt information that the alarm type information is successfully added in the visual interface.
Wherein, this scheme still includes:
receiving a sensor type adding instruction input by a user through a visual interface;
judging whether the gateway of the Internet of things supports a communication protocol corresponding to the sensor type information or not according to the sensor type information carried in the sensor type adding instruction;
if so, sending the sensor type information to the Internet of things gateway through an edge node so as to enable the Internet of things gateway to add a sensor to be added corresponding to the sensor type information;
receiving prompt information sent by the edge node that the sensor to be added is successfully added;
and storing the sensor type information to a cloud node database.
After the sensor type information is stored in a cloud node database, the method further comprises the following steps:
receiving prompt information of successful sensor addition sent by the edge node;
and generating prompt information that the sensor addition is successfully added in the visual interface.
In order to achieve the above object, the present invention further provides a sensor information adding device for an internet of things, based on a cloud node of an internet of things platform, the information adding device including:
the first receiving module is used for receiving a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on a cloud node;
the verification module is used for verifying the alarm type information carried in the alarm type adding instruction;
and the first storage module is used for adding the alarm type information to a cloud node database after the alarm type information carried in the alarm type adding instruction is successfully verified.
Wherein, this scheme still includes:
and the first sending module is used for sending the alarm type information to each edge node of the platform of the Internet of things so that each edge node stores the alarm type information to a corresponding edge node database.
Wherein, this scheme still includes:
the second receiving module is used for receiving a sensor type adding instruction input by a user through a visual interface;
the first judgment module is used for judging whether the gateway of the Internet of things supports a communication protocol corresponding to the sensor type information according to the sensor type information carried in the sensor type adding instruction;
the second sending module is used for sending the sensor type information to the Internet of things gateway through an edge node when the fact that the Internet of things gateway supports a communication protocol corresponding to the sensor type information is judged, so that the Internet of things gateway adds a sensor to be added corresponding to the sensor type information;
a third receiving module, configured to receive a prompt message that the sensor to be added is successfully added and sent by the edge node;
and the second storage module is used for storing the sensor type information to a cloud node database.
In order to achieve the above object, the present invention further provides a sensor information adding device for an internet of things, including: a memory for storing a computer program; a processor for implementing the steps of the sensor information adding method described above when executing the computer program.
To achieve the above object, the present invention further provides a computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the sensor information adding method described above.
According to the scheme, the sensor information adding method of the Internet of things provided by the embodiment of the invention is based on the cloud node of the platform of the Internet of things, and the information adding method comprises the following steps: receiving a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on a cloud node; verifying the alarm type information carried in the alarm type adding instruction; and if the verification is successful, adding the alarm type information to a cloud node database. Therefore, when a new sensor alarm type is added, a code does not need to be modified, only the alarm type information to be added needs to be input in a visual interface of the cloud node by a user, the cloud node can automatically add the new alarm type, the adding process is simple, and the workload of code maintenance personnel is reduced; the invention also discloses a sensor information adding device, equipment and a computer readable storage medium of the Internet of things, and the technical effects can be realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a sensor data processing flow according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a sensor information adding method of the internet of things according to the embodiment of the invention;
fig. 3 is a schematic flow chart of another method for adding sensor information of the internet of things according to the embodiment of the invention;
FIG. 4 is a schematic diagram illustrating a detailed flow of alarm type addition disclosed in the embodiments of the present invention;
FIG. 5 is a schematic flow chart illustrating a sensor type adding method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a sensor adding process according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a sensor information adding device of the internet of things according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of sensor information adding equipment of the internet of things according to the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic diagram of a sensor data processing flow disclosed in the embodiment of the present invention, the entire system includes: the system comprises a sensor, an Internet of Things gateway Iot gateway, an Internet of Things platform edge node ITF (Internet of Things fog), a cloud end node ITC (Internet of Things cloud) of an Internet of Things platform, a display interface web UI and a worker. The process specifically comprises the following steps:
1. the sensor sends the sensor data encrypted by the secret key to the gateway of the Internet of things;
2. the gateway of the Internet of things decrypts the sensor data, judges whether the sensor is legal or not and judges whether the data is valid or not; wherein, including the sensor type and the sensor ID of sensor in this sensor data, the sensor type includes smoke alarm type, well lid type etc. and the sensor ID is a cluster serialization string, if: 000000003301095D. The method determines whether the sensor is legal or not by judging whether the sensor is the type supported by the system or not and whether the sensor is registered in the system or not, and the valid data in the method are as follows: data used in determining whether to alarm, such as temperature data or status data.
3. If the sensor is legal and the data is valid data, the gateway of the Internet of things sends the data to the ITF through encryption;
4. in order to implement double check on the sensors, when one of the sensors is removed, the other can operate independently, so that the gateway of the internet of things and the ITF can operate independently, the ITF can check whether the sensor is effective again, if so, calculation is carried out, and then a predefined rule is executed.
During calculation, specifically, converting bottom layer data reported by a sensor, such as binary data, into data such as numbers and character strings, and preparing for a predefined rule; and, when executing the predefined rule, it is mainly the conversion of code number, for example: the data of the well lid is reported and converted into a code 1001 (well lid code), the temperature data of the well lid is reported and converted into a code sensorTemperator (temperature code), because the codes of different sensors for representing temperatures produced by different manufacturers are different, and the codes can be uniformly converted into the codes of the system by executing predefined rules.
5. Determine whether there is data to be sent to the ITC in the calculated data? If the alarm data exists, the ITF sends useful alarm data to the ITC, wherein the useful data can be data of temperature, voltage, state and the like, and the GPS, the operation duration and the like are non-alarm data and are used by other modules of the system.
6. After receiving the useful alarm data, the ITC calculates the alarm data according to the alarm type information stored in the database and judges whether to trigger the alarm; for example: the temperature of the sensor is 30 ℃, in the alarm type information stored in the system, if the predefined temperature exceeds 40 ℃, the alarm is not given, and if the temperature of the sensor exceeds 40 ℃, the system is triggered to generate the alarm;
7. if the relevant sensors need to be operated, the ITC sends the action command to the ITF, then the ITF sends the action command to the Internet of things gateway, and the Internet of things gateway sends data to the relevant sensors; for example: the smoke alarm alarms, and the required operations may be: calling nearby monitoring cameras in real time, and monitoring pictures in real time to know the real situation;
8. displaying alarm information on an interface;
9. the ITC forwards the alarm to the staff responsible for the sensor, which may be a mail or a short message.
At present, when the sensor data processing flow is executed, the alarm type of the sensor is preset, when a new alarm type of the sensor is added, a new code for sensor configuration and fault management needs to be added in the existing Internet of things platform, the new alarm type adding mode can be realized only by modifying the code of the Internet of things platform, the adding process is complicated, and the workload of code maintenance personnel is increased.
Therefore, the application discloses a sensor information adding method, device, equipment and computer readable storage medium for the internet of things, which avoids adding sensor type information in a code modifying mode, realizes quick addition of the alarm type of a sensor on a platform of the internet of things, and simplifies the adding process.
Referring to fig. 2, in the sensor information adding method of the internet of things provided in the embodiment of the present invention, based on the cloud node of the platform of the internet of things, the information adding method may include:
s101, receiving a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on the cloud node;
it should be noted that, in the application, when a user adds a new sensor alarm type on the internet of things, the user can log in to the visual interface of the ITC system, new alarm type information is added in the interface, and after the user finishes adding and clicks a determination button on the interface, the interface can notify the cloud end node at the rear end through an alarm type adding instruction, so that the cloud end node executes a corresponding alarm type adding operation.
In the application, the alarm type adding instruction is an alarm type adding instruction for a specific certain sensor; the sensor may be a sensor preset in the internet of things, or may be a new sensor added by the user through the visual interface, which is not specifically limited herein. Also, different types of sensors have different alarm types, such as: the alarm type of the well lid sensor is mainly a flip alarm type, the alarm type of the smoke sensor is mainly a fire alarm type, the alarm type of the water level sensor is mainly a water level alarm type, and the flip is a state alarm, for example: the state is that the well lid is turned over or not, the water level has an alarm range, and the alarm belongs to the threshold value class alarm.
S102, verifying alarm type information carried in the alarm type adding instruction; and if the verification is successful, adding the alarm type information to the cloud node database.
In this application, the types of sensors may include a manhole cover sensor, a smoke sensor, a water level sensor, and the like; the alarm type information carried in the alarm type adding instruction of the present application specifically includes: alarm name, alarm ID, alarm device type, alarm level, alarm content, etc. The alarm type information added by the water level sensor is taken as an example for explanation: the alarm name of the water level sensor is water level alarm, the alarm ID is a preset unique identifier corresponding to the water level alarm, the alarm equipment type is the water level sensor, and the alarm level is as follows: high priority, the alarm content is: and alarming when the water level exceeds a preset threshold value.
After the cloud node acquires the alarm type information carried in the alarm type adding instruction, the alarm type information needs to be verified, wherein the verification includes data verification and validity verification of the alarm type information, for example: whether the verification alarm name is too long, whether the verification alarm ID is a number, whether the verification alarm level is a level supported by the system, and the like are not particularly limited herein. After the alarm type information is successfully verified, new alarm type information is stored in an ITC database, and after the ITC acquires the sensor data uploaded by the sensor, the ITC verifies the sensor data according to the corresponding alarm type information stored in the database to determine whether an alarm needs to be given.
In conclusion, when a new sensor alarm type is added, the mode of modifying codes is not needed, only the user inputs alarm type information to be added into the visual interface of the cloud node, the cloud node can automatically add the new alarm type, the adding process is simple, and the workload of code maintainers is reduced.
Referring to fig. 3, in another method for adding sensor information of an internet of things provided in the embodiment of the present invention, based on a cloud node of an internet of things platform, the method for adding information may include:
s201, receiving a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on the cloud node;
s202, verifying alarm type information carried in the alarm type adding instruction; if the verification is successful, adding the alarm type information to a cloud node database;
s203, sending the alarm type information to each edge node of the Internet of things platform so that each edge node stores the alarm type information to a corresponding edge node database;
s204, judging whether prompt information of alarm type adding success sent by each edge node is received or not; if yes, generating prompt information that the alarm type information is added successfully in a visual interface; if not, continuing to wait.
It can be understood that, because the local area network can appear the unable circumstances of being linked to cloud end node ITC, can in time report an emergency and ask for help or increased vigilance when above-mentioned circumstances appear in order to guarantee, ITC in this application will report an emergency and ask for help or increased vigilance type information add to cloud end node database after, can send the type information of reporting an emergency and ask for help or increased vigilance to each edge node ITF of thing networking platform, ITF can keep new warning type information to ITF database, like this emergence emergency: when the ITF can not interact with the TIC, the ITF can realize normal work of alarm management according to the stored alarm type information and can support a new alarm type. For example: when the sensor reports the sensor data to the ITF, the ITF can search whether the data of the sensor is supported or not through the database and whether the data of the sensor is consistent with a new alarm type added by a user or not, so that an alarm is triggered, the triggered alarm can be reported to the ITC, and the triggered alarm can be displayed on an interface.
It should be noted that, if the edge node still does not send the prompt information that the addition is successful after waiting for the predetermined time, the alarm type information may be sent to the edge node again; if the information is not received, prompt information is generated in the visual interface, the prompt information specifies which edge nodes may not successfully add the new alarm type information, and then the manager can perform fault check.
Referring to fig. 4, a detailed flow diagram of alarm type addition provided in the embodiment of the present invention is shown; the process comprises the following steps:
1. the user adds a new sensor alarm type at the interface.
2. The interface sends a request to the ITC through interface call to add a new sensor alarm type;
3. it is checked whether the alarm type exists and if not, a new sensor alarm type is added.
4. The ITC sends a new alarm type to the ITF, so that when an emergency situation is met, the ITF can normally execute an alarm process, for example, the ITF cannot be connected to the ITC.
5. The ITF informs the ITC that a new sensor alarm type has been successfully added.
6. And updating the database.
7. And the ITC informs an interface, and the interface informs the user of the successful addition of the new alarm type.
In conclusion, when a new sensor alarm type is added, a code does not need to be modified, only the user needs to input alarm type information to be added in a visual interface of the cloud node, the cloud node can automatically add the new alarm type, the adding process is simple, and the workload of code maintenance personnel is reduced.
It can be understood that, in the platform of the internet of things, the traditional sensor configuration is preset, and when a new sensor is added, a new code of the sensor also needs to be added in the existing platform of the internet of things; and when a new sensor is added, a corresponding new alarm type also needs to be added to the internet of things platform. In the above embodiment, the added alarm type may be added to a preset sensor, and may also be an alarm type added to a newly added sensor, but in this embodiment, when a new sensor type is added, the alarm type may also be added in a manner that does not modify a code, that is: after a new sensor is added to the platform of the internet of things in the sensor type adding mode, a corresponding alarm type can be added to the newly added sensor by the scheme of any method embodiment.
Referring to fig. 5, a sensor type adding method disclosed by the embodiment of the invention may include the following steps:
s301, receiving a sensor type adding instruction input by a user through a visual interface;
s302, judging whether the gateway of the Internet of things supports a communication protocol corresponding to the sensor type information or not according to the sensor type information carried in the sensor type adding instruction; if yes, executing step S303, and if not, ending the process.
In this embodiment, the sensor type information may specifically include, but is not limited to, a manhole cover sensor, a smoke sensor, a water level alarm sensor, and other sensors capable of transmitting data with the internet of things gateway in the above embodiments. And whether the internet of things gateway supports the transmission protocol of the sensor to be added or not needs to be checked, if the internet of things gateway does not support the transmission protocol, the data interaction between the sensor and the internet of things gateway cannot be realized, the sensor cannot be identified, and the flow needs to be ended, and the subsequent adding flow is not executed.
S303, sending the sensor type information to the Internet of things gateway through the edge node so that the Internet of things gateway adds a sensor to be added corresponding to the sensor type information;
specifically, when the internet of things gateway adds the sensor to be added corresponding to the sensor type information, the new sensor needs to be utilized to perform related setting and testing, and the setting is as follows: the Chinese and English names of the sensors, the types of the sensors, the grade of the alarm threshold value and the like are set, the test refers to the test code of the system, and the whole alarm process can be simulated once so as to test whether the test is supported or not.
S304, receiving prompt information sent by the edge node that the sensor to be added is successfully added;
s305, storing the sensor type information to a cloud node database.
S306, receiving prompt information of successful sensor addition sent by the edge node;
s307, generating prompt information that the sensor is added successfully in the visual interface.
In the application, after the addition is finished, the sensor can inform the internet of things gateway that the addition is successful, at the moment, the internet of things gateway needs to send the information which is successfully added to the edge node, the edge node sends the information to the cloud end node, and the cloud end node can prompt a user that the new sensor is successfully added in an interface after receiving the information. And after the sensor is successfully added, the cloud node stores the type information of the newly added sensor in a cloud node database for storage.
Referring to fig. 6, a schematic diagram of a sensor adding process disclosed in the embodiment of the present invention is shown, where the process may specifically include the following steps:
1. the user operates to add a new sensor type in the interface.
2. The interface sends a request to the ITC through an interface call to add a new sensor type; the request is a sensor type adding instruction;
3. and checking whether the relevant gateway of the Internet of things supports the protocol required by the sensor.
4. If the information is supported, the ITC sends a command to the ITF, wherein the command is to add a new sensor type to the Internet gateway;
5. the ITF converts the ITC command into MQTT (Message Queuing Telemetry Transport) format protocol, and then sends the MQTT format protocol to an internet gateway.
6. The gateway of the internet of things uses a new sensor to carry out related setting and testing.
7. The sensor informs the internet gateway that the configuration associated with the internet gateway has been successfully configured and can normally interact with the gateway.
8. The internet gateway informs the ITF that a new sensor type has been successfully added.
9. The ITF informs the ITC that a new sensor type has been successfully added.
10. The ITC updates the new sensor type status in its configuration database.
11. The ITC informs the interface that a new sensor type has been successfully added.
In summary, in the present application, when a new sensor type is added, the new sensor type does not need to be added by modifying a code, and after the new sensor type is added, the new alarm type information can be prevented from being added by modifying the code, so that the adding process of the sensor information is simplified, and the workload of a code maintainer is reduced.
In the following, the sensor information adding apparatus provided by the embodiment of the present invention is introduced, and the sensor information adding apparatus described below and the sensor information adding method described above may be referred to each other.
Referring to fig. 7, in the sensor information adding device of the internet of things provided in the embodiment of the present invention, based on a cloud node of a platform of the internet of things, the information adding device includes:
a first receiving module 100, configured to receive a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on a cloud node;
the verification module 200 is configured to verify the alarm type information carried in the alarm type adding instruction;
the first storage module 300 is configured to add the alarm type information to a cloud node database after the alarm type information carried in the alarm type addition instruction is successfully verified.
Wherein, this scheme still includes:
and the first sending module is used for sending the alarm type information to each edge node of the platform of the Internet of things so that each edge node stores the alarm type information to a corresponding edge node database.
Wherein, this scheme still includes:
the second receiving module is used for receiving a sensor type adding instruction input by a user through a visual interface;
the first judgment module is used for judging whether the gateway of the Internet of things supports a communication protocol corresponding to the sensor type information according to the sensor type information carried in the sensor type adding instruction;
the second sending module is used for sending the sensor type information to the Internet of things gateway through an edge node when the fact that the Internet of things gateway supports a communication protocol corresponding to the sensor type information is judged, so that the Internet of things gateway adds a sensor to be added corresponding to the sensor type information;
a third receiving module, configured to receive a prompt message that the sensor to be added is successfully added and sent by the edge node;
and the second storage module is used for storing the sensor type information to a cloud node database.
Wherein, this scheme still includes:
the second judgment module is used for judging whether prompt information of successful addition of the alarm types sent by each edge node is received;
and the first prompt module is used for generating the prompt information that the alarm type information is successfully added in the visual interface when the prompt information that the alarm type information is successfully added and sent by each edge node is received.
Wherein, this scheme still includes:
the fourth receiving module is used for receiving prompt information of successful sensor addition sent by the edge node;
and the second prompt module is used for generating prompt information that the sensor is added successfully in the visual interface.
The embodiment of the invention also discloses sensor information adding equipment of the Internet of things, which comprises:
a memory for storing a computer program; a processor for implementing the steps of the sensor information adding method of the above method embodiments when executing the computer program.
Fig. 8 is a schematic structural diagram of a sensor information adding apparatus disclosed in the embodiment of the present invention; in this embodiment, the device is a cloud node of the internet of things platform, and specifically may be a server or a terminal device such as a PC (Personal Computer).
The device may include a memory 11, a processor 12, and a bus 13.
The memory 11 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the device, for example a hard disk of the device. The memory 11 may also be an external storage device of the device in other embodiments, such as a plug-in hard disk provided on the device, a Smart Memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 11 may also include both an internal storage unit of the device and an external storage device. The memory 11 may be used not only to store application software installed in the device and various kinds of data such as program codes that perform sensor information addition, etc., but also to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 11 or Processing data, such as program codes for performing sensor information addition.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
Further, the device may further include a network interface 14, and the network interface 14 may optionally include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are generally used to establish a communication connection between the device and other electronic devices.
Optionally, the device may further comprise a user interface, which may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the device and for displaying a visualized user interface.
Fig. 8 shows only a device with components 11-14, and it will be understood by those skilled in the art that the structure shown in fig. 8 does not constitute a limitation of the device, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when being executed by a processor, the computer program realizes the steps of the sensor information adding method of the embodiment of the method.
Wherein the storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The sensor information adding method of the Internet of things is characterized in that based on cloud nodes of a platform of the Internet of things, the information adding method comprises the following steps:
receiving a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on a cloud node;
verifying the alarm type information carried in the alarm type adding instruction; and if the verification is successful, adding the alarm type information to a cloud node database.
2. The sensor information adding method according to claim 1, wherein after the alarm type information is added to the database of the cloud node, the method further comprises:
and sending the alarm type information to each edge node of the platform of the Internet of things so that each edge node stores the alarm type information to a corresponding edge node database.
3. The sensor information adding method according to claim 2, wherein after sending the alarm type information to each edge node of the platform of the internet of things, the method further comprises:
judging whether prompt information of alarm type addition success sent by each edge node is received or not;
and if so, generating prompt information that the alarm type information is successfully added in the visual interface.
4. The sensor information adding method according to any one of claims 1 to 3, characterized by further comprising:
receiving a sensor type adding instruction input by a user through a visual interface;
judging whether the gateway of the Internet of things supports a communication protocol corresponding to the sensor type information or not according to the sensor type information carried in the sensor type adding instruction;
if so, sending the sensor type information to the Internet of things gateway through an edge node so as to enable the Internet of things gateway to add a sensor to be added corresponding to the sensor type information;
receiving prompt information sent by the edge node that the sensor to be added is successfully added;
and storing the sensor type information to a cloud node database.
5. The method of claim 4, wherein after storing the sensor type information in a cloud node database, the method further comprises:
receiving prompt information of successful sensor addition sent by the edge node;
and generating prompt information that the sensor addition is successfully added in the visual interface.
6. The utility model provides a sensor information of thing networking adds device which characterized in that, based on the high in the clouds node of thing networking platform, the information adds the device and includes:
the first receiving module is used for receiving a sensor alarm type adding instruction; the alarm type adding instruction is input in a visual interface of a user based on a cloud node;
the verification module is used for verifying the alarm type information carried in the alarm type adding instruction;
and the first storage module is used for adding the alarm type information to a cloud node database after the alarm type information carried in the alarm type adding instruction is successfully verified.
7. The sensor information adding device according to claim 6, characterized by further comprising:
and the first sending module is used for sending the alarm type information to each edge node of the platform of the Internet of things so that each edge node stores the alarm type information to a corresponding edge node database.
8. The sensor information adding device according to claim 6, characterized by further comprising:
the second receiving module is used for receiving a sensor type adding instruction input by a user through a visual interface;
the first judgment module is used for judging whether the gateway of the Internet of things supports a communication protocol corresponding to the sensor type information according to the sensor type information carried in the sensor type adding instruction;
the second sending module is used for sending the sensor type information to the Internet of things gateway through an edge node when the fact that the Internet of things gateway supports a communication protocol corresponding to the sensor type information is judged, so that the Internet of things gateway adds a sensor to be added corresponding to the sensor type information;
a third receiving module, configured to receive a prompt message that the sensor to be added is successfully added and sent by the edge node;
and the second storage module is used for storing the sensor type information to a cloud node database.
9. The utility model provides a sensor information of thing networking adds equipment which characterized in that includes:
a memory for storing a computer program;
a processor for implementing the steps of the sensor information adding method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the sensor information adding method according to any one of claims 1 to 5.
CN201911312464.5A 2019-12-18 2019-12-18 Sensor information adding method, device, equipment and storage medium of Internet of things Pending CN111106956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911312464.5A CN111106956A (en) 2019-12-18 2019-12-18 Sensor information adding method, device, equipment and storage medium of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911312464.5A CN111106956A (en) 2019-12-18 2019-12-18 Sensor information adding method, device, equipment and storage medium of Internet of things

Publications (1)

Publication Number Publication Date
CN111106956A true CN111106956A (en) 2020-05-05

Family

ID=70423002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911312464.5A Pending CN111106956A (en) 2019-12-18 2019-12-18 Sensor information adding method, device, equipment and storage medium of Internet of things

Country Status (1)

Country Link
CN (1) CN111106956A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770160A (en) * 2020-06-24 2020-10-13 成都西加云杉科技有限公司 Edge node device, cloud node device and Internet of things platform

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040201471A1 (en) * 2003-04-14 2004-10-14 Netbotz, Inc. Extensible sensor monitoring, alert processing and notification system and method
CN102109838A (en) * 2009-12-28 2011-06-29 北京时代凌宇科技有限公司 Industrial monitoring system and method
WO2012015356A1 (en) * 2010-07-27 2012-02-02 Nanyang Polytechnic System and method for remote management of a heterogeneous sensory network using a unified messaging framework for a mobile device
CN104144466A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Access method for sensor in Internet of Things, Internet of Things system and server
CN106453443A (en) * 2015-08-04 2017-02-22 腾讯科技(深圳)有限公司 Security monitoring method, security monitoring server and security monitoring system
CN106899594A (en) * 2017-02-28 2017-06-27 杭州古北电子科技有限公司 For the sub- device management method and system of smart home platform
CN109714222A (en) * 2017-10-26 2019-05-03 创盛视联数码科技(北京)有限公司 The distributed computer monitoring system and its monitoring method of High Availabitity
CN110351118A (en) * 2019-05-28 2019-10-18 华为技术有限公司 Root is because of alarm decision networks construction method, device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040201471A1 (en) * 2003-04-14 2004-10-14 Netbotz, Inc. Extensible sensor monitoring, alert processing and notification system and method
CN102109838A (en) * 2009-12-28 2011-06-29 北京时代凌宇科技有限公司 Industrial monitoring system and method
WO2012015356A1 (en) * 2010-07-27 2012-02-02 Nanyang Polytechnic System and method for remote management of a heterogeneous sensory network using a unified messaging framework for a mobile device
CN104144466A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Access method for sensor in Internet of Things, Internet of Things system and server
CN106453443A (en) * 2015-08-04 2017-02-22 腾讯科技(深圳)有限公司 Security monitoring method, security monitoring server and security monitoring system
CN106899594A (en) * 2017-02-28 2017-06-27 杭州古北电子科技有限公司 For the sub- device management method and system of smart home platform
CN109714222A (en) * 2017-10-26 2019-05-03 创盛视联数码科技(北京)有限公司 The distributed computer monitoring system and its monitoring method of High Availabitity
CN110351118A (en) * 2019-05-28 2019-10-18 华为技术有限公司 Root is because of alarm decision networks construction method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770160A (en) * 2020-06-24 2020-10-13 成都西加云杉科技有限公司 Edge node device, cloud node device and Internet of things platform

Similar Documents

Publication Publication Date Title
CN103680083A (en) Event notification
CN103794033B (en) Monitoring alarm method and device
CN107800783B (en) Method and device for remotely monitoring server
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN110704872B (en) Data query method and device, electronic equipment and computer readable storage medium
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN112364381A (en) Authority management method, electronic box, server and storage medium
CN115034638A (en) Digital twinning processing method and digital twinning system
CN114564757A (en) Data auditing method, device and equipment of block chain and readable storage medium
CN104581806A (en) Method and terminal for monitoring service system
CN111125648B (en) Equipment change method and device
CN113434254B (en) Client deployment method, client deployment apparatus, computer device, and storage medium
CN111339141A (en) Data transmission method, block link node equipment and medium
CN111106956A (en) Sensor information adding method, device, equipment and storage medium of Internet of things
CN114462096A (en) Block chain-based Internet of things equipment control method and device, computer equipment and storage medium
CN112528296B (en) Vulnerability detection method and device, storage medium and electronic equipment
CN112966308A (en) Software delivery method, processing device and storage medium
CN110149267A (en) A kind of method, equipment and system monitoring social software
CN110852091A (en) Method and device for monitoring wrongly written characters, electronic equipment and computer readable medium
CN112995357B (en) Domain name management method, device, medium and electronic equipment based on cloud hosting service
CN109067566B (en) Method, terminal and monitoring equipment for screenshot in silent mode
CN112272135B (en) Mail sending method, device, equipment and storage medium for storage software
CN113076112A (en) Database deployment method and device and electronic equipment
JP2010211453A (en) File tampering check method and device
CN116361535A (en) Data subscription and publishing method and device, internet of things data service platform and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200505