[go: up one dir, main page]

CN106294829A - A method and device for constructing an Internet of Things database - Google Patents

A method and device for constructing an Internet of Things database Download PDF

Info

Publication number
CN106294829A
CN106294829A CN201610682619.4A CN201610682619A CN106294829A CN 106294829 A CN106294829 A CN 106294829A CN 201610682619 A CN201610682619 A CN 201610682619A CN 106294829 A CN106294829 A CN 106294829A
Authority
CN
China
Prior art keywords
internet
things
data
real
time
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
CN201610682619.4A
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.)
Dongguan Frontier Technology Institute
Original Assignee
Dongguan Frontier Technology Institute
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 Dongguan Frontier Technology Institute filed Critical Dongguan Frontier Technology Institute
Priority to CN201610682619.4A priority Critical patent/CN106294829A/en
Publication of CN106294829A publication Critical patent/CN106294829A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/211Schema design and management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention is suitable for the field of construction of an Internet of things database, and provides a method and a device for constructing an Internet of things database, wherein the method for constructing the Internet of things database comprises the following steps: forming an unchangeable data storage node of the Internet of things by creating one or a combination of sensor node information, historical data and historical alarms; the method comprises the steps that a constant Internet of things data storage node is formed by creating one or a combination of real-time data and real-time alarms; the classified storage framework of the Internet of things database is constructed by configuring the unchangeable Internet of things data storage nodes and the invariable Internet of things data storage nodes. The invention solves the problems that the existing Internet of things database cannot construct a classified storage frame of the Internet of things database, and the data storage of the Internet of things is easy to generate redundancy. The method has the advantages that on one hand, the defect that the large data storage of the Internet of things is redundant is overcome, certain space is saved for data storage, and on the other hand, the intelligent degree of classification of the database of the Internet of things is improved.

Description

一种物联网数据库构建方法及装置A method and device for constructing an Internet of Things database

技术领域technical field

本发明属于物联网数据库构建领域,尤其涉及一种物联网数据库构建方法及装置。The invention belongs to the field of building an Internet of Things database, and in particular relates to a method and a device for building an Internet of Things database.

背景技术Background technique

通过建立智慧城市物联网,可以使人们的生活更加方便,更容易获取自己城市的有关信息,而建立智慧城市物联网最重要的部分就是物联网数据的存储,物联网数据就是存储安放在城市传感器收集的数据。Through the establishment of the smart city Internet of Things, people's lives can be made more convenient and it is easier to obtain relevant information about their own cities. The most important part of establishing the smart city Internet of Things is the storage of Internet of Things data. The data of the Internet of Things is stored in urban sensors. collected data.

然而,目前的物联网数据存储容易出现冗余,不利于提高物联网数据的存储效率。其原因在于,目前的物联网数据库,一般都是只收发物联网数据,而物联网数据的规模比较大,所以构建高效的物联网数据库尤为重要。However, the current IoT data storage is prone to redundancy, which is not conducive to improving the storage efficiency of IoT data. The reason is that the current IoT databases generally only send and receive IoT data, and the scale of IoT data is relatively large, so it is particularly important to build an efficient IoT database.

发明内容Contents of the invention

本发明实施例的目的在于提供一种物联网数据库构建方法,旨在解决目前的物联网数据库无法构建物联网数据库分类存储框架,物联网数据存储容易出现冗余,不利于提高物联网数据的存储效率的问题。The purpose of the embodiments of the present invention is to provide a method for building an Internet of Things database, which aims to solve the problem that the current Internet of Things database cannot construct a classified storage framework for an Internet of Things database, and the data storage of the Internet of Things is prone to redundancy, which is not conducive to improving the storage of Internet of Things data The question of efficiency.

本发明实施例是这样实现的,一种物联网数据库构建方法,包括:The embodiment of the present invention is achieved in this way, a method for building an Internet of Things database, comprising:

通过创建传感器节点信息、历史数据、历史告警之一或其组合,构成不常变的物联网数据存储节点;By creating one or a combination of sensor node information, historical data, and historical alarms, an invariable IoT data storage node is formed;

通过创建实时数据、实时告警之一或其组合,构成常变的物联网数据存储节点;By creating one of real-time data, real-time alarms or a combination thereof, a constantly changing IoT data storage node is formed;

通过配置不常变的物联网数据存储节点和常变的物联网数据存储节点,构建物联网数据库分类存储框架。By configuring the non-changing IoT data storage nodes and the constantly changing IoT data storage nodes, a classified storage framework for the IoT database is constructed.

本发明实施例的另一目的在于提供一种物联网数据库构建装置,包括:Another object of the embodiments of the present invention is to provide a device for building an Internet of Things database, including:

噪音信号生成模块,用于利用麦克风,采集噪音,生成噪音信号;A noise signal generating module, configured to use a microphone to collect noise and generate a noise signal;

不常变的物联网数据存储节点构建模块,用于通过创建传感器节点信息、历史数据、历史告警之一或其组合,构成不常变的物联网数据存储节点;The invariant IoT data storage node building block is used to form an invariable IoT data storage node by creating sensor node information, historical data, historical alarms or a combination thereof;

常变的物联网数据存储节点构建模块,用于通过创建实时数据、实时告警之一或其组合,构成常变的物联网数据存储节点;The constantly changing IoT data storage node building block is used to form a constantly changing IoT data storage node by creating one of real-time data, real-time alarms or a combination thereof;

物联网数据库分类存储框架构建模块,用于通过配置不常变的物联网数据存储节点和常变的物联网数据存储节点,构建物联网数据库分类存储框架。The Internet of Things database classification storage framework building module is used to construct the Internet of Things database classification storage framework by configuring invariant Internet of Things data storage nodes and constant Internet of Things data storage nodes.

在本发明实施例中,通过配置不常变的物联网数据存储节点和常变的物联网数据存储节点,构建物联网数据库分类存储框架,解决了目前的物联网数据库无法构建物联网数据库分类存储框架,物联网数据存储容易出现冗余,不利于提高物联网数据的存储效率的问题。有益效果在于两方面,一方面,解决了物联网大数据存储出现冗余的缺点,为数据存储节省了一定空间,另一方面,提高了物联网数据库分类的智能程度。In the embodiment of the present invention, by configuring the non-changing IoT data storage nodes and the constantly changing IoT data storage nodes, the classified storage framework of the IoT database is constructed, which solves the problem that the current IoT database cannot construct the classified storage of the IoT database Framework, IoT data storage is prone to redundancy, which is not conducive to improving the storage efficiency of IoT data. The beneficial effect lies in two aspects. On the one hand, it solves the disadvantage of redundancy in the big data storage of the Internet of Things and saves a certain space for data storage; on the other hand, it improves the intelligence of the classification of the Internet of Things database.

附图说明Description of drawings

图1是本发明实施例提供的物联网数据库构建方法的实现流程图;Fig. 1 is the implementation flow chart of the method for building the Internet of Things database provided by the embodiment of the present invention;

图2是本发明实施例描述了存储物联网数据的实现流程图;Fig. 2 is an embodiment of the present invention describing the implementation flow chart of storing Internet of Things data;

图3是本发明实施例提供的存储物联网数据步骤S202的第一实现流程图;FIG. 3 is a first implementation flowchart of step S202 of storing Internet of Things data provided by an embodiment of the present invention;

图4是本发明实施例提供的存储物联网数据步骤S202的第二实现流程图;FIG. 4 is a second implementation flowchart of step S202 of storing Internet of Things data provided by an embodiment of the present invention;

图5是本发明实施例提供的物联网数据更新的实现流程图;Fig. 5 is the implementation flowchart of the Internet of Things data update provided by the embodiment of the present invention;

图6是本发明实施例提供的物联网数据库分类存储框架的较佳样图;Fig. 6 is a better sample diagram of the classified storage framework of the Internet of Things database provided by the embodiment of the present invention;

图7是本发明实施例提供的物联网数据库构建装置的结构框图。Fig. 7 is a structural block diagram of an apparatus for building an Internet of Things database provided by an embodiment of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

实施例一Embodiment one

图1是本发明实施例提供的物联网数据库构建方法的实现流程图,详述如下:Fig. 1 is the implementation flowchart of the Internet of Things database construction method provided by the embodiment of the present invention, detailed description is as follows:

在步骤S101中,通过创建传感器节点信息、历史数据、历史告警之一或其组合,构成不常变的物联网数据存储节点;In step S101, an invariable IoT data storage node is formed by creating one of sensor node information, historical data, and historical alarms or a combination thereof;

在步骤S102中,通过创建实时数据、实时告警之一或其组合,构成常变的物联网数据存储节点;In step S102, by creating one of real-time data, real-time alarm or a combination thereof, a constantly changing IoT data storage node is formed;

在步骤S103中,通过配置不常变的物联网数据存储节点和常变的物联网数据存储节点,构建物联网数据库分类存储框架。In step S103, by configuring the non-changing IoT data storage nodes and the constantly changing IoT data storage nodes, a classified storage framework of the IoT database is constructed.

先执行步骤S101、S102,后执行步骤S103。Steps S101 and S102 are executed first, and then step S103 is executed.

步骤S101和步骤S102执行顺序无先后之分,执行顺序说明如下:Step S101 and step S102 are performed in no particular order, and the order of execution is described as follows:

同时步骤S101和步骤S102;或,先执行步骤S101,后执行步骤S102;Simultaneously step S101 and step S102; or, execute step S101 first, then execute step S102;

先执行步骤S102,后执行步骤S101。Step S102 is executed first, and then step S101 is executed.

其中,物联网数据库构建方法还包括:Among them, the method for building the Internet of Things database also includes:

将所述物联网数据分类为不常变的物联网数据和常变的物联网数据;classifying the Internet of Things data into non-changing Internet of Things data and constant-changing Internet of Things data;

采用构建的物联网数据库分类存储框架,存储不常变的物联网数据和常变的物联网数据。The constructed IoT database classification storage framework is adopted to store infrequently changing IoT data and constantly changing IoT data.

其中,将所述物联网数据分为不常变的物联网数据和常变的物联网数据,具体为:Wherein, the Internet of Things data is divided into non-changing Internet of Things data and constant-changing Internet of Things data, specifically:

读取所述物联网数据中的传感器节点信息、历史监测数据、历史异常数据、实时监测数据以及实时异常数据;Reading sensor node information, historical monitoring data, historical abnormal data, real-time monitoring data and real-time abnormal data in the Internet of Things data;

将传感器节点信息、历史监测数据以及历史异常数据分类为不常变的物联网数据;Classify sensor node information, historical monitoring data, and historical anomaly data into invariant IoT data;

将实时监测数据以及实时异常数据分类为常变的物联网数据。Classify real-time monitoring data and real-time abnormal data into constantly changing IoT data.

在本发明实施例中,解决了目前的物联网数据库无法构建物联网数据库分类存储框架,物联网数据存储容易出现冗余,不利于提高物联网数据的存储效率的问题。有益效果在于两方面,一方面,解决了物联网大数据存储出现冗余的缺点,为数据存储节省了一定空间,另一方面,提高了物联网数据库分类的智能程度。In the embodiment of the present invention, it is solved that the current Internet of Things database cannot construct a classified storage framework of the Internet of Things database, and the data storage of the Internet of Things is prone to redundancy, which is not conducive to improving the storage efficiency of the Internet of Things data. The beneficial effect lies in two aspects. On the one hand, it solves the disadvantage of redundancy in the big data storage of the Internet of Things and saves a certain space for data storage; on the other hand, it improves the intelligence of the classification of the Internet of Things database.

实施例二Embodiment two

图2是本发明实施例描述了存储物联网数据的实现流程图,详述如下:Fig. 2 is an embodiment of the present invention describing the implementation flow chart of storing Internet of Things data, which is described in detail as follows:

在步骤S201中,获取物联网数据;In step S201, the Internet of Things data is acquired;

在步骤S202中,采用构建的物联网数据库分类存储框架,存储获取到的物联网数据。In step S202, the acquired Internet of Things data is stored by adopting the classified storage framework of the constructed Internet of Things database.

实施例三Embodiment three

图3是本发明实施例提供的存储物联网数据步骤S202的第一实现流程图,详述如下:Fig. 3 is a first implementation flowchart of the step S202 of storing Internet of Things data provided by an embodiment of the present invention, which is described in detail as follows:

在步骤S301中,采用构建的物联网数据库分类存储框架,通过不常变的物联网数据存储节点,存储不常变的物联网数据;In step S301, the constructed Internet of Things database classification storage framework is used to store infrequently changing Internet of Things data through inconstantly changing Internet of Things data storage nodes;

在步骤S302中,通过常变的物联网数据存储节点,存储常变的物联网数据。In step S302, the constantly changing Internet of Things data is stored through the constantly changing Internet of Things data storage node.

实施例四Embodiment four

图4是本发明实施例提供的存储物联网数据步骤S202的第二实现流程图,详述如下:FIG. 4 is a second implementation flow chart of the step S202 of storing Internet of Things data provided by an embodiment of the present invention, which is described in detail as follows:

在步骤S401中,采用构建的物联网数据库分类存储框架,将传感器节点接入物联网的信息存储至不常变的物联网数据存储节点中的传感器节点信息;In step S401, using the constructed Internet of Things database classification storage framework, the information of sensor nodes accessing the Internet of Things is stored in the sensor node information in the invariable Internet of Things data storage nodes;

在步骤S402中,将所述物联网数据中的历史监测数据存储至不常变的物联网数据存储节点中的历史数据;In step S402, storing historical monitoring data in the Internet of Things data to historical data in an invariable Internet of Things data storage node;

在步骤S403中,将所述物联网数据中的历史异常数据存储至不常变的物联网数据存储节点中的历史告警;In step S403, storing the historical abnormal data in the Internet of Things data to the historical alarm in the invariant Internet of Things data storage node;

在步骤S404中,将所述物联网数据中的实时监测数据存储至常变的物联网数据存储节点中的实时数据;In step S404, the real-time monitoring data in the Internet of Things data is stored to the real-time data in the constantly changing Internet of Things data storage node;

在步骤S405中,将所述物联网数据中的实时异常数据存储至常变的物联网数据存储节点中的实时告警。In step S405, the real-time abnormal data in the Internet of Things data is stored in real-time alarms in the ever-changing Internet of Things data storage nodes.

先执行步骤S401,后执行步骤S402-S405。Step S401 is executed first, and then steps S402-S405 are executed.

步骤S402-S405执行顺序无先后之分,执行顺序说明如下:Steps S402-S405 are executed in no particular order, and the execution order is described as follows:

同时步骤S402-S405;或,Simultaneous steps S402-S405; or,

先执行步骤S402-S405中的任一步骤,再执行余下的步骤,例如:Perform any one of steps S402-S405 first, and then perform the remaining steps, for example:

先执行步骤S402,后执行步骤S403-S405;或,Execute step S402 first, and then execute steps S403-S405; or,

先执行步骤S403-S405,后执行步骤S402。Steps S403-S405 are executed first, and then step S402 is executed.

实施例五Embodiment five

图5是本发明实施例提供的物联网数据更新的实现流程图,详述如下:Fig. 5 is the implementation flowchart of the Internet of Things data update provided by the embodiment of the present invention, which is described in detail as follows:

在步骤S501中,在实时数据与传感器节点信息之间,配置物联网实时数据更新通道,利用所述物联网实时数据更新通道,更新实时数据;In step S501, between the real-time data and the sensor node information, configure the Internet of Things real-time data update channel, and use the Internet of Things real-time data update channel to update the real-time data;

在步骤S502中,在实时告警与传感器节点信息之间,配置物联网实时告警更新通道,利用所述物联网实时告警更新通道,更新实时告警;In step S502, configure an IoT real-time alarm update channel between the real-time alarm and sensor node information, and use the IoT real-time alarm update channel to update the real-time alarm;

在步骤S503中,在历史告警与传感器节点信息之间,配置物联网历史告警更新通道,利用所述物联网历史告警更新通道,更新历史告警;In step S503, an Internet of Things historical alarm update channel is configured between the historical alarm and the sensor node information, and the historical alarm is updated by using the Internet of Things historical alarm update channel;

在步骤S504中,在实时告警与传感器节点信息之间,配置物联网实时告警更新通道,利用所述物联网实时告警更新通道,更新实时告警。In step S504, an Internet of Things real-time alarm update channel is configured between the real-time alarm and sensor node information, and the real-time alarm is updated using the Internet of Things real-time alarm update channel.

先执行步骤S501,后执行步骤S502-S504。Step S501 is executed first, and then steps S502-S504 are executed.

步骤S502-S504执行顺序无先后之分,执行顺序说明如下:Steps S502-S504 are executed in no particular order, and the execution order is described as follows:

同时步骤S502-S504;或,Simultaneous steps S502-S504; or,

先执行步骤S502-S504中的任一步骤,再执行余下的步骤,例如:Perform any one of steps S502-S504 first, and then perform the remaining steps, for example:

先执行步骤S502,后执行步骤S503-S504;或,Execute step S502 first, and then execute steps S503-S504; or,

先执行步骤S503-S504,后执行步骤S502。Steps S503-S504 are executed first, and then step S502 is executed.

实施例六Embodiment six

图6是本发明实施例提供的物联网数据库分类存储框架的较佳样图,详述如下:Fig. 6 is a preferred sample diagram of the classified storage framework of the Internet of Things database provided by the embodiment of the present invention, which is described in detail as follows:

物联网数据库分类存储框架包括五部分,分别是:传感器节点信息,实时数据,历史数据,实时告警和历史告警。The classified storage framework of the Internet of Things database includes five parts, namely: sensor node information, real-time data, historical data, real-time alarms and historical alarms.

传感器节点信息:存储的是传感器节点接入物联网的信息,包括但不限于:传感器种类,传感器的告警值或告警上下限,传感器的地理位置,传感器接入的网关。Sensor node information: stores the information of sensor nodes connected to the Internet of Things, including but not limited to: sensor type, sensor alarm value or alarm upper and lower limits, geographical location of sensor, and gateway connected by sensor.

实时数据:储存数据库传感器实时传输到客户端服务器的数据,也就是客户需要监测的数据。Real-time data: Store the data that the database sensor transmits to the client server in real time, that is, the data that the customer needs to monitor.

历史数据:存储客户需要监测数据的历史数据。Historical data: Store historical data that customers need to monitor.

实时告警:存储传感器监测的数据是否正常,当监测的数据异常时,记录异常的数据并触发告警。Real-time alarm: store whether the data monitored by the sensor is normal, and when the monitored data is abnormal, record the abnormal data and trigger an alarm.

历史告警:记录每一条异常的数据。Historical alarm: record every abnormal data.

实时数据,历史数据,实时告警和历史告警必须与传感器节点信息关联,实时数据更新的时候必须先找到传感器节点信息中相应的节点,然后再根据传感器节点信息和实时数据的关联更新相应的实时数据。Real-time data, historical data, real-time alarms and historical alarms must be associated with sensor node information. When updating real-time data, you must first find the corresponding node in the sensor node information, and then update the corresponding real-time data according to the association between sensor node information and real-time data. .

插入历史数据也差不多,插入历史数据时,必须根据传感器节点信息和历史数据的关联插入与节点对应的历史数据。Inserting historical data is similar. When inserting historical data, the historical data corresponding to the node must be inserted according to the association between sensor node information and historical data.

实时告警的更新是根据实时数据与关联的传感器节点信息中的告警值或告警上下限比较来确定是否告警,如果告警则更新该节点关联的实时告警数据。The update of the real-time alarm is based on comparing the real-time data with the alarm value or upper and lower alarm limits in the associated sensor node information to determine whether to alarm, and if there is an alarm, update the real-time alarm data associated with the node.

历史数据的插入和实时数据的更新比较相似,是根据实时数据与关联的传感器节点信息中的告警值或告警上下限比较来确定是否告警,如果告警则插入该节点关联的历史告警数据。The insertion of historical data is similar to the update of real-time data. It is based on the comparison of the real-time data with the alarm value or upper and lower alarm limits in the associated sensor node information to determine whether to alarm. If there is an alarm, insert the historical alarm data associated with the node.

实施例七Embodiment seven

图7是本发明实施例提供的物联网数据库构建装置的结构框图,该装置可以运行于电子设备中,电子设备包括但不限于诸如具有处理器的移动电话、膝上型计算机或平板计算机之类的其它便携式设备。还应当理解的是,在某些实施例中,所述设备并非便携式通信设备,而是台式计算机。为了便于说明,仅示出了与本实施例相关的部分。Fig. 7 is a structural block diagram of an apparatus for building an Internet of Things database provided by an embodiment of the present invention, which can run in electronic equipment, including but not limited to mobile phones with processors, laptop computers or tablet computers. other portable devices. It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computer. For ease of description, only the parts related to this embodiment are shown.

参照图7,该物联网数据库构建装置,包括:With reference to Fig. 7, this Internet of Things database construction device comprises:

不常变的物联网数据存储节点构建模块71,用于通过创建传感器节点信息、历史数据、历史告警之一或其组合,构成不常变的物联网数据存储节点;The non-changing IoT data storage node building module 71 is used to create one or a combination of sensor node information, historical data, and historical alarms to form a non-changing IoT data storage node;

常变的物联网数据存储节点构建模块72,用于通过创建实时数据、实时告警之一或其组合,构成常变的物联网数据存储节点;The constantly changing IoT data storage node construction module 72 is used to form a constantly changing IoT data storage node by creating one of real-time data, real-time alarms or a combination thereof;

物联网数据库分类存储框架构建模块73,用于通过配置不常变的物联网数据存储节点和常变的物联网数据存储节点,构建物联网数据库分类存储框架。The Internet of Things database classified storage framework building module 73 is configured to construct an Internet of Things database classified storage framework by configuring non-changing Internet of Things data storage nodes and constant-changing Internet of Things data storage nodes.

作为本实施例的一种实现方式,在所述物联网数据库构建装置中,所述物联网数据库构建装置还包括:As an implementation of this embodiment, in the IoT database construction device, the IoT database construction device also includes:

物联网数据获取模块,用于获取物联网数据;The Internet of Things data acquisition module is used to obtain the Internet of Things data;

物联网数据存储模块,用于采用构建的物联网数据库分类存储框架,存储获取到的物联网数据。The Internet of Things data storage module is used to store the obtained Internet of Things data by adopting the constructed Internet of Things database classification storage framework.

作为本实施例的一种实现方式,在所述物联网数据库构建装置中,所述物联网数据存储模块,还包括:As an implementation of this embodiment, in the IoT database construction device, the IoT data storage module further includes:

不常变的物联网数据存储单元,用于采用构建的物联网数据库分类存储框架,通过不常变的物联网数据存储节点,存储不常变的物联网数据;The non-changing IoT data storage unit is used to store the non-changing IoT data through the non-changing IoT data storage nodes using the constructed IoT database classification storage framework;

常变的物联网数据存储单元,用于通过常变的物联网数据存储节点,存储常变的物联网数据。The constantly changing Internet of Things data storage unit is used to store the constantly changing Internet of Things data through the constantly changing Internet of Things data storage nodes.

作为本实施例的一种实现方式,在所述物联网数据库构建装置中,所述物联网数据存储模块,包括:As an implementation of this embodiment, in the IoT database construction device, the IoT data storage module includes:

传感器节点信息存储单元,用于采用构建的物联网数据库分类存储框架,将传感器节点接入物联网的信息存储至不常变的物联网数据存储节点中的传感器节点信息;The sensor node information storage unit is used to adopt the constructed Internet of Things database classification storage framework to store the information of sensor nodes connected to the Internet of Things to the sensor node information in the invariable Internet of Things data storage nodes;

历史监测数据存储单元,用于将所述物联网数据中的历史监测数据存储至不常变的物联网数据存储节点中的历史数据;The historical monitoring data storage unit is used to store the historical monitoring data in the Internet of Things data to the historical data in the invariable Internet of Things data storage nodes;

历史异常数据存储单元,用于将所述物联网数据中的历史异常数据存储至不常变的物联网数据存储节点中的历史告警;The historical abnormal data storage unit is used to store the historical abnormal data in the Internet of Things data to the historical alarms in the invariable Internet of Things data storage nodes;

实时监测数据存储单元,用于将所述物联网数据中的实时监测数据存储至常变的物联网数据存储节点中的实时数据;The real-time monitoring data storage unit is used to store the real-time monitoring data in the Internet of Things data to the real-time data in the constantly changing Internet of Things data storage nodes;

实时异常数据存储单元,用于将所述物联网数据中的实时异常数据存储至常变的物联网数据存储节点中的实时告警。The real-time abnormal data storage unit is used to store the real-time abnormal data in the IoT data to the real-time alarms in the ever-changing IoT data storage nodes.

作为本实施例的一种实现方式,在所述物联网数据库构建装置中,所述物联网数据库构建装置,还包括:As an implementation of this embodiment, in the IoT database construction device, the IoT database construction device further includes:

实时数据更新模块,用于在实时数据与传感器节点信息之间,配置物联网实时数据更新通道,利用所述物联网实时数据更新通道,更新实时数据;The real-time data update module is used to configure the Internet of Things real-time data update channel between the real-time data and the sensor node information, and utilizes the real-time data update channel of the Internet of Things to update the real-time data;

实时告警更新模块,用于在实时告警与传感器节点信息之间,配置物联网实时告警更新通道,利用所述物联网实时告警更新通道,更新实时告警;The real-time alarm update module is used to configure the real-time alarm update channel of the Internet of Things between the real-time alarm and the sensor node information, and update the real-time alarm by using the real-time alarm update channel of the Internet of Things;

历史告警更新模块,用于在历史告警与传感器节点信息之间,配置物联网历史告警更新通道,利用所述物联网历史告警更新通道,更新历史告警;The historical alarm update module is used to configure the historical alarm update channel of the Internet of Things between the historical alarm and the sensor node information, and update the historical alarm by using the historical alarm update channel of the Internet of Things;

实时告警更新模块,用于在实时告警与传感器节点信息之间,配置物联网实时告警更新通道,利用所述物联网实时告警更新通道,更新实时告警。The real-time alarm update module is configured to configure a real-time alarm update channel of the Internet of Things between the real-time alarm and sensor node information, and update the real-time alarm by using the real-time alarm update channel of the Internet of Things.

本发明实施例提供的装置可以应用在前述对应的方法实施例中,详情参见上述实施例的描述,在此不再赘述。The apparatus provided by the embodiment of the present invention may be applied in the foregoing corresponding method embodiments. For details, refer to the description of the foregoing embodiments, and details are not repeated here.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现。所述的程序可以存储于可读取存储介质中,所述的存储介质,如随机存储器、闪存、只读存储器、可编程只读存储器、电可擦写可编程存储器、寄存器等。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件执行本发明各个实施例所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general-purpose hardware. The program can be stored in a readable storage medium, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory, and executes the methods described in the various embodiments of the present invention in combination with its hardware.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. an Internet of Things database construction method, it is characterised in that including:
By creating one or a combination set of sensor node information, historical data, history alarm, constitute the Internet of Things netting index seldom become According to memory node;
By creating one or a combination set of real time data, Real-time Alarm, constitute the Internet of Things data memory node often become;
By configuring the Internet of Things data memory node seldom become and the Internet of Things data memory node often become, construction networking number According to storehouse classification storing framework.
2. Internet of Things database construction method as claimed in claim 1, it is characterised in that described Internet of Things database sharing side Method also includes:
Obtain Internet of Things data;
The Internet of Things data base built is used to classify storing framework, the Internet of Things data that storage gets.
3. Internet of Things database construction method as claimed in claim 2, it is characterised in that the Internet of Things netting index that described employing builds According to storehouse classification storing framework, store the Internet of Things data got, particularly as follows:
Using the Internet of Things data base built to classify storing framework, by the Internet of Things data memory node seldom become, storage is not The Internet of Things data often become;
By the Internet of Things data memory node often become, the Internet of Things data that storage often becomes.
4. Internet of Things database construction method as claimed in claim 2 or claim 3, it is characterised in that the Internet of Things that described employing builds Grid database classification storing framework, the Internet of Things data that storage gets, particularly as follows:
Using the Internet of Things data base built to classify storing framework, the information that sensor node accesses Internet of Things stores to seldom Sensor node information in the Internet of Things data memory node become;
Historical Monitoring data in described Internet of Things data are stored the history to the Internet of Things data memory node seldom become Data;
History abnormal data in described Internet of Things data is stored the history to the Internet of Things data memory node seldom become Alarm;
Real-time number Real-time Monitoring Data in described Internet of Things data stored to the Internet of Things data memory node often become According to;
The real-time announcement real-time abnormal data in described Internet of Things data stored to the Internet of Things data memory node often become Alert.
5. Internet of Things database construction method as claimed in claim 1, it is characterised in that described Internet of Things database sharing side Method, also includes:
Between real time data and sensor node information, configure Internet of Things real time data more new tunnel, utilize described Internet of Things Real time data more new tunnel, updates real time data;
Between Real-time Alarm and sensor node information, configure Internet of Things Real-time Alarm more new tunnel, utilize described Internet of Things Real-time Alarm more new tunnel, updates Real-time Alarm;
Between history alarm and sensor node information, configure Internet of Things history alarm more new tunnel, utilize described Internet of Things History alarm more new tunnel, updates history alarm;
Between Real-time Alarm and sensor node information, configure Internet of Things Real-time Alarm more new tunnel, utilize described Internet of Things Real-time Alarm more new tunnel, updates Real-time Alarm.
6. an Internet of Things database sharing device, it is characterised in that including:
The Internet of Things data memory node seldom become builds module, for by creating sensor node information, historical data, going through One or a combination set of history alarm, constitutes the Internet of Things data memory node seldom become;
The Internet of Things data memory node often become builds module, for by creating one of real time data, Real-time Alarm or its group Close, constitute the Internet of Things data memory node often become;
Internet of Things data base storing framework of classifying builds module, for by configure the Internet of Things data memory node that seldom becomes and The Internet of Things data memory node often become, construction networking data storehouse classification storing framework.
7. Internet of Things database sharing device as claimed in claim 6, it is characterised in that described Internet of Things database sharing fills Put and also include:
Internet of Things data acquisition module, is used for obtaining Internet of Things data;
Internet of Things data memory module, for using the Internet of Things data base of structure to classify storing framework, the thing that storage gets Networking data.
8. Internet of Things database sharing device as claimed in claim 7, it is characterised in that described Internet of Things data storage mould Block, also includes:
The Internet of Things data storage cell seldom become, for using the Internet of Things data base of structure to classify storing framework, by not The Internet of Things data memory node often become, the Internet of Things data that storage seldom becomes;
The Internet of Things data storage cell often become, for the Internet of Things data memory node by often becoming, the Internet of Things that storage often becomes Network data.
9. Internet of Things database sharing device as claimed in claim 7 or 8, it is characterised in that described Internet of Things data store Module, including:
Sensor node information memory cell, for using the Internet of Things data base of structure to classify storing framework, saves sensor Point accesses the information of Internet of Things and stores the sensor node information to the Internet of Things data memory node seldom become;
Historical Monitoring data storage cell, for storing the Historical Monitoring data in described Internet of Things data to the thing seldom become Historical data in networking data memory node;
History abnormal data memory element, for storing the history abnormal data in described Internet of Things data to the thing seldom become History alarm in networking data memory node;
Real-time Monitoring Data memory element, for storing the Real-time Monitoring Data in described Internet of Things data to the Internet of Things often become Real time data in network data memory node;
Abnormal data memory element in real time, for storing the real-time abnormal data in described Internet of Things data to the Internet of Things often become Real-time Alarm in network data memory node.
10. Internet of Things database sharing device as claimed in claim 6, it is characterised in that described Internet of Things database sharing Device, also includes:
Real time data more new module, between real time data and sensor node information, configuration Internet of Things real time data is more New tunnel, utilizes described Internet of Things real time data more new tunnel, updates real time data;
Real-time Alarm more new module, between Real-time Alarm and sensor node information, configuration Internet of Things Real-time Alarm is more New tunnel, utilizes described Internet of Things Real-time Alarm more new tunnel, updates Real-time Alarm;
History alarm more new module, between history alarm and sensor node information, configuration Internet of Things history alarm is more New tunnel, utilizes described Internet of Things history alarm more new tunnel, updates history alarm;
Real-time Alarm more new module, between Real-time Alarm and sensor node information, configuration Internet of Things Real-time Alarm is more New tunnel, utilizes described Internet of Things Real-time Alarm more new tunnel, updates Real-time Alarm.
CN201610682619.4A 2016-08-17 2016-08-17 A method and device for constructing an Internet of Things database Pending CN106294829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610682619.4A CN106294829A (en) 2016-08-17 2016-08-17 A method and device for constructing an Internet of Things database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610682619.4A CN106294829A (en) 2016-08-17 2016-08-17 A method and device for constructing an Internet of Things database

Publications (1)

Publication Number Publication Date
CN106294829A true CN106294829A (en) 2017-01-04

Family

ID=57678932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610682619.4A Pending CN106294829A (en) 2016-08-17 2016-08-17 A method and device for constructing an Internet of Things database

Country Status (1)

Country Link
CN (1) CN106294829A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273512A (en) * 2017-06-21 2017-10-20 深圳市盛路物联通讯技术有限公司 A kind of method and apparatus that data deduplication is carried out based on device type and geographical position
CN115344761A (en) * 2022-07-29 2022-11-15 江苏华存电子科技有限公司 Memory occupation optimization method and system for nodes of Internet of things

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101825879A (en) * 2010-04-15 2010-09-08 上海惠安系统控制有限公司 Measure and control device and method for collecting and storing data
CN104732328A (en) * 2015-02-03 2015-06-24 天津市农村工作委员会信息中心 Agricultural Internet of Things platform system
CN105427193A (en) * 2015-12-17 2016-03-23 山东鲁能软件技术有限公司 Device and method for big data analysis based on distributed time sequence data service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101825879A (en) * 2010-04-15 2010-09-08 上海惠安系统控制有限公司 Measure and control device and method for collecting and storing data
CN104732328A (en) * 2015-02-03 2015-06-24 天津市农村工作委员会信息中心 Agricultural Internet of Things platform system
CN105427193A (en) * 2015-12-17 2016-03-23 山东鲁能软件技术有限公司 Device and method for big data analysis based on distributed time sequence data service

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273512A (en) * 2017-06-21 2017-10-20 深圳市盛路物联通讯技术有限公司 A kind of method and apparatus that data deduplication is carried out based on device type and geographical position
CN107273512B (en) * 2017-06-21 2020-06-16 深圳市盛路物联通讯技术有限公司 Method and device for data deduplication based on device type and geographic position
CN115344761A (en) * 2022-07-29 2022-11-15 江苏华存电子科技有限公司 Memory occupation optimization method and system for nodes of Internet of things

Similar Documents

Publication Publication Date Title
US20240214429A1 (en) Complex it process annotation, tracing, analysis, and simulation
US10242116B2 (en) Grid-based geofence data indexing
Savaglio et al. Data mining at the IoT edge
US12206707B2 (en) Rating organization cybersecurity using probe-based network reconnaissance techniques
CN109086182B (en) Automatic database alarming method and terminal equipment
Arslan et al. Building information modeling (BIM) enabled facilities management using hadoop architecture
US9491186B2 (en) Method and apparatus for providing hierarchical pattern recognition of communication network data
CN109670091B (en) Metadata intelligent maintenance method and device based on data standard
US11663282B2 (en) Taxonomy-based system for discovering and annotating geofences from geo-referenced data
CN115361266B (en) Alarm root cause positioning method, device, equipment and storage medium
CN109062769A (en) The method, apparatus and equipment of IT system performance risk trend prediction
WO2024179601A1 (en) Point-of-interest information maintenance method and apparatus, and device and storage medium
CN110175735A (en) A kind of discrimination method and device across spatial key interaction path
CN106294829A (en) A method and device for constructing an Internet of Things database
US20190050436A1 (en) Content-based predictive organization of column families
CN115277132A (en) Network security situation awareness method and device, computer equipment and storage medium
CN110390027A (en) A method and system for constructing fault model of information system based on graph database
CN119716370A (en) Cable fault prediction method, device, equipment and computer-readable storage medium
CN114553766A (en) Block chain-based vehicle safety protection method and related device
CN118297376A (en) Risk prediction method, apparatus, device, storage medium, and program product
CN115412462B (en) Detection method for inter-domain route interruption
CN115827379B (en) Abnormal process detection method, device, equipment and medium
CN114826877B (en) Asset alarm processing method, device, computer equipment and storage medium
CN115080348A (en) An intelligent alarm method and platform based on AI analysis
CN103020244B (en) Regional impact analysis system and the method for analysis thereof

Legal Events

Date Code Title Description
C06 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: 20170104