CN111698331A - Cloud synchronization method for Internet of things management data - Google Patents
Cloud synchronization method for Internet of things management data Download PDFInfo
- Publication number
- CN111698331A CN111698331A CN202010540848.9A CN202010540848A CN111698331A CN 111698331 A CN111698331 A CN 111698331A CN 202010540848 A CN202010540848 A CN 202010540848A CN 111698331 A CN111698331 A CN 111698331A
- Authority
- CN
- China
- Prior art keywords
- layer
- equipment state
- data
- cloud service
- internet
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y10/00—Economic sectors
- G16Y10/75—Information technology; Communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computing Systems (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Business, Economics & Management (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a cloud synchronization method for Internet of things management data, which is characterized in that various sensors in a sensing layer are controlled to acquire equipment state information of each equipment in a sensing area of the sensors, whether the sensing layer meets a preset sending trigger condition is judged, and if yes, a preset time T is waited1Then, the sensing layer processes the acquired equipment state information by using an asynchronous multithreading parallel processing method, the current equipment state result information obtained by processing is transmitted to the network layer, the network layer uploads the current equipment state result information to the cloud service layer to realize the synchronization of data between the sensing layer and the cloud service layer, the cloud service layer inputs the current equipment state result information into a trained classification model to obtain a data management instruction corresponding to the current equipment state result information, and the data management instruction waits for a preset time T2Then, the acquired data is managedThe command is issued to an application layer, and the application layer executes the obtained data management command; the method provided by the invention improves the cloud synchronization efficiency of the Internet of things management data.
Description
Technical Field
The invention relates to the technical field of electrical engineering, in particular to a cloud synchronization method for internet of things management data.
Background
The internet of things is a network which stores and analyzes acquired data information on the internet through various sensors, radio frequency identification and other sensing components and a specific protocol mode and feeds back an analysis result to an application terminal. The internet of things is structurally divided into a sensing layer, a network layer, an application layer and a cloud service layer for receiving data from the sensing layer. In the internet of things system, data collected by the sensing layer include but are not limited to files such as texts, images and videos, and the data volume is huge, so that the sensing layer has the problem of low efficiency when carrying out data cloud synchronization with the cloud service layer.
Disclosure of Invention
The purpose of the invention is as follows: the efficient cloud synchronization method for the internet of things management data is provided.
The technical scheme is as follows: the scheme provided by the invention comprises the following steps:
the method provided by the invention is used for realizing data synchronization of an Internet of things system, the Internet of things system comprises a sensing layer, a network layer and an application layer, various sensors for acquiring equipment state information of the Internet of things are arranged in the sensing layer, and the method comprises the following steps:
step A, controlling various sensors in a sensing layer to start collecting equipment state information of various equipment in a sensing area of the sensors; the equipment state information comprises corresponding kinds of information acquired by various sensors;
step B, judging whether the sensing layer meets a preset sending trigger condition or not, if so, waiting for a preset time T1Then, the sensing layer processes the acquired equipment state information by using an asynchronous multithreading parallel processing method, the current equipment state result information obtained by processing is transmitted to the network layer, and the network layer uploads the current equipment state result information to the cloud service layer, so that the data synchronization between the sensing layer and the cloud service layer is realized; otherwise, returning to the step A;
step C, the cloud service layer inputs the current equipment state result information into the trained classification model, obtains a data management instruction corresponding to the current equipment state result information, and waits for a preset time T2And then, issuing the acquired data management command to an application layer, and executing the acquired data management command by the application layer.
Step D is also included, after step C is executed, step D is entered;
step D, when the application layer executes the obtained data management instruction, detecting whether the application layer receives and executes an intervention instruction, if so, forming a group of samples by current equipment state result information and the intervention instruction, and adding the group of samples into a preset sample set; otherwise, no operation is performed; and the preset sample set is used for training the classification model to obtain the trained classification model in the step C.
In step B, the method of the asynchronous multithreading parallel processing mode specifically includes:
firstly, grouping equipment state information according to information types; obtaining equipment state information groups respectively corresponding to different information types; then, aiming at each equipment state information group, solving the average value of data in the equipment state information group to form result information corresponding to the equipment state information group, and further obtaining the result information corresponding to each equipment state information group; all result information constitutes current device state result information.
In step C, the method for the cloud service layer to issue the data instruction to the application layer specifically includes: the application layer sends detection signals to the cloud service layer according to fixed interval time, and whether a new data instruction exists in the cloud service layer is detected; when a new data instruction exists in the cloud service layer and the cloud service layer receives the detection signal sent by the application layer, the new data instruction is sent to the application layer.
When a new data instruction exists in the cloud service layer, the new data instruction is stored in the log, and when a detection signal of the application layer reaches the cloud service layer, the cloud service layer calls the new data instruction from the log and sends the new data instruction to the application layer.
In the method, the various sensors comprise a temperature sensor, a humidity sensor, a current sensor and a voltage sensor.
Has the advantages that: compared with the prior art, the method provided by the invention can efficiently realize the cloud synchronization of the data of the sensing layer and the cloud service layer.
Drawings
Fig. 1 is a flowchart of a cloud synchronization method for internet of things management data according to an embodiment of the present invention;
FIG. 2 is a flow diagram of asynchronous multithreaded parallel processing provided in accordance with an embodiment of the invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
The Internet of things system comprises a sensing layer, a network layer and an application layer. And in the sensing layer, a large number of sensors are distributed in a discrete manner, and the sensing layer consisting of the large number of sensors distributed in the discrete manner is used for cooperatively sensing through a specific protocol and acquiring various equipment state information corresponding to the sensing area.
Referring to fig. 1, the method provided by the present invention mainly comprises the following steps:
step A, controlling various sensors in a sensing layer to start collecting equipment state information of various equipment in a sensing area of the sensors; the equipment state information comprises corresponding kinds of information acquired by various sensors; the various sensors include temperature sensors, humidity sensors, current sensors, voltage sensors, etc.
Step B, judging whether the sensing layer meets the preset sending trigger condition or not, and waiting for the preset time T if the sensing layer meets the preset sending trigger condition1Then, the sensing layer applies an asynchronous multithreading parallel processing method to process the acquired equipment state information, and transmits the current equipment state result information obtained by processing to the network layer for a preset time T1Are distributed randomly; the sensing layer is controlled by RFID protocol and programmable logicAnd the protocols such as the protocol, the Bluetooth protocol, the ZigBee and the like transmit the current equipment state result information to the network layer.
Referring to fig. 2, the method of the asynchronous multithreading parallel processing mode applied in the present invention specifically includes: firstly, grouping equipment state information according to information types; obtaining equipment state information groups respectively corresponding to different information types; then, aiming at each equipment state information group, solving the average value of data in the equipment state information group to form result information corresponding to the equipment state information group, and further obtaining the result information corresponding to each equipment state information group; all constituting current device state result information.
When receiving the current equipment state result information, the network layer uploads the current equipment state result information to the cloud service layer, so that data synchronization between the sensing layer and the cloud service layer is realized; otherwise, returning to the step A.
Step C, the cloud service layer inputs the current equipment state result information into a trained classification model, and a data management instruction corresponding to the current equipment state result information is obtained, wherein the classification model comprises an SVM (support vector machine) classifier;
waiting for a preset time T2Then, the acquired data management instruction is issued to an application layer, and the application layer executes the acquired data management instruction; wherein the preset time T2The time is a fixed value, namely the waiting time of the cloud service layer for issuing the data management command to the application layer each time is the same, and the preset time T is2And setting the data synchronization on the application terminal of the application layer according to the requirement of the data synchronization timeliness.
When the classification model is trained, part of preselected equipment state information and corresponding data management instructions are randomly selected to construct a preset sample set, and the preset sample set is input into the classification model to train the classification model, so that the trained classification model is obtained.
Detecting whether the application layer receives and executes the intervention instruction while the application layer executes the obtained data management instruction, if so, forming a group of samples by current equipment state result information and the intervention instruction, and adding the group of samples into a preset sample set; otherwise, no operation is performed.
The method for issuing the data instruction to the application layer by the cloud service layer specifically comprises the following steps: when a new data instruction exists in the cloud service layer, the new data instruction is stored in a log, and the application layer stores the new data instruction in the log according to preset time T2Sending a detection signal to the cloud service layer, wherein the detection signal is used for detecting whether a new data instruction exists in the cloud service layer; when the detection signal of the application layer reaches the cloud service layer, the cloud service layer calls a new data instruction from the log, and when the cloud service layer receives the detection signal sent by the application layer, the new data instruction is sent to the application layer.
Step D, when the application layer executes the obtained data management instruction, detecting whether the application layer receives and executes an intervention instruction, if so, forming a group of samples by current equipment state result information and the intervention instruction, and adding the group of samples into a preset sample set; otherwise, no operation is performed.
In the cloud synchronization process of the internet of things management data, the core factors influencing the cloud synchronization efficiency are as follows: in order to ensure the reliability of data transmission, the sensing layer is interactively synchronized with the cloud service layer in a serial mode, namely, a specific single thread of the sensing layer can only send one synchronous data packet at a time, and the next synchronous packet is not sent until the cloud service layer receives and processes the finished data packet and feeds back confirmation information, so that the synchronous processes of the sensing layer and the cloud service layer are in a blocking state for a long time, and the synchronization efficiency is reduced; according to the method provided by the invention, the acquired equipment state information is processed by using an asynchronous multithreading parallel processing method, the current equipment state result information obtained by processing is transmitted to the network layer, and the obtained current equipment state result information is transmitted to the cloud service layer by the network layer, so that the problem of blocking in the data transmission synchronization process is solved, and the cloud synchronization efficiency of the Internet of things management data is improved.
Specific embodiments of the present invention have been described above in detail. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.
Claims (6)
1. A cloud synchronization method for Internet of things management data is used for realizing data synchronization of an Internet of things system, the Internet of things system comprises a sensing layer, a network layer and an application layer, and various sensors for acquiring equipment state information of the Internet of things are arranged in the sensing layer, and the cloud synchronization method is characterized by comprising the following steps:
step A, controlling various sensors in a sensing layer to start collecting equipment state information of various equipment in a sensing area of the sensors; the equipment state information comprises corresponding kinds of information acquired by various sensors;
step B, judging whether the sensing layer meets a preset sending trigger condition or not, if so, waiting for a preset time T1Then, the sensing layer processes the acquired equipment state information by using an asynchronous multithreading parallel processing method, the current equipment state result information obtained by processing is transmitted to the network layer, and the network layer uploads the current equipment state result information to the cloud service layer, so that the data synchronization between the sensing layer and the cloud service layer is realized; otherwise, returning to the step A;
step C, the cloud service layer inputs the current equipment state result information into the trained classification model, obtains a data management instruction corresponding to the current equipment state result information, and waits for a preset time T2And then, issuing the acquired data management command to an application layer, and executing the acquired data management command by the application layer.
2. The cloud synchronization method for the internet of things management data according to claim 1, further comprising the following steps of, after the step C is executed, entering the step D;
step D, when the application layer executes the obtained data management instruction, detecting whether the application layer receives and executes an intervention instruction, if so, forming a group of samples by current equipment state result information and the intervention instruction, and adding the group of samples into a preset sample set; otherwise, no operation is performed; and the preset sample set is used for training the classification model to obtain the trained classification model in the step C.
3. The cloud synchronization method for internet of things management data according to claim 1, wherein in the step B, the method for the asynchronous multithreading parallel processing mode specifically comprises:
firstly, grouping equipment state information according to information types; obtaining equipment state information groups respectively corresponding to different information types; then, aiming at each equipment state information group, solving the average value of data in the equipment state information group to form result information corresponding to the equipment state information group, and further obtaining the result information corresponding to each equipment state information group; all result information constitutes current device state result information.
4. The cloud synchronization method for the internet of things management data according to claim 1, wherein in the step C, the method for the cloud service layer to issue the data command to the application layer specifically comprises: the application layer sends detection signals to the cloud service layer according to fixed interval time, and whether a new data instruction exists in the cloud service layer is detected; when a new data instruction exists in the cloud service layer and the cloud service layer receives the detection signal sent by the application layer, the new data instruction is sent to the application layer.
5. The cloud synchronization method for the internet of things management data according to claim 4, wherein when a new data instruction exists in the cloud service layer, the new data instruction is stored in the log, and when a detection signal of the application layer reaches the cloud service layer, the cloud service layer calls the new data instruction from the log and sends the new data instruction to the application layer.
6. The cloud synchronization method for the internet of things management data according to any one of claims 1 to 5, wherein the various types of sensors comprise a temperature sensor, a humidity sensor, a current sensor and a voltage sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010540848.9A CN111698331A (en) | 2020-06-15 | 2020-06-15 | Cloud synchronization method for Internet of things management data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010540848.9A CN111698331A (en) | 2020-06-15 | 2020-06-15 | Cloud synchronization method for Internet of things management data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111698331A true CN111698331A (en) | 2020-09-22 |
Family
ID=72481009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010540848.9A Pending CN111698331A (en) | 2020-06-15 | 2020-06-15 | Cloud synchronization method for Internet of things management data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111698331A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114124927A (en) * | 2021-08-23 | 2022-03-01 | 山东维创精密电子有限公司 | Cloud synchronization method for virtual reality data |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102842076A (en) * | 2012-07-16 | 2012-12-26 | 暨南大学 | Container logistics real-time monitoring system and method based on internet of things and cloud computing |
CN103332600A (en) * | 2013-06-27 | 2013-10-02 | 沈阳建筑大学 | Tower crane embedded-type intelligent monitoring system based on field bus |
CN103812885A (en) * | 2012-11-08 | 2014-05-21 | 无锡津天阳激光电子有限公司 | Internet of Things energy metering method and device |
CN105610904A (en) * | 2015-12-17 | 2016-05-25 | 四川物联亿达科技有限公司 | Access service system for unified access equipment |
CN108551491A (en) * | 2018-05-24 | 2018-09-18 | 广西电网有限责任公司 | The mobile Internet of Things cloud system of heterogeneous network spatial multi time based on artificial intelligence |
CN108564254A (en) * | 2018-03-15 | 2018-09-21 | 国网四川省电力公司绵阳供电公司 | Controller switching equipment status visualization platform based on big data |
CN109727661A (en) * | 2018-12-27 | 2019-05-07 | 郑州新益华医学科技有限公司 | A kind of general MRI information collecting device and method based on Internet of Things |
CN110881057A (en) * | 2018-09-06 | 2020-03-13 | 南通科浩知识产权咨询有限公司 | Data processing method based on Internet of things |
-
2020
- 2020-06-15 CN CN202010540848.9A patent/CN111698331A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102842076A (en) * | 2012-07-16 | 2012-12-26 | 暨南大学 | Container logistics real-time monitoring system and method based on internet of things and cloud computing |
CN103812885A (en) * | 2012-11-08 | 2014-05-21 | 无锡津天阳激光电子有限公司 | Internet of Things energy metering method and device |
CN103332600A (en) * | 2013-06-27 | 2013-10-02 | 沈阳建筑大学 | Tower crane embedded-type intelligent monitoring system based on field bus |
CN105610904A (en) * | 2015-12-17 | 2016-05-25 | 四川物联亿达科技有限公司 | Access service system for unified access equipment |
CN108564254A (en) * | 2018-03-15 | 2018-09-21 | 国网四川省电力公司绵阳供电公司 | Controller switching equipment status visualization platform based on big data |
CN108551491A (en) * | 2018-05-24 | 2018-09-18 | 广西电网有限责任公司 | The mobile Internet of Things cloud system of heterogeneous network spatial multi time based on artificial intelligence |
CN110881057A (en) * | 2018-09-06 | 2020-03-13 | 南通科浩知识产权咨询有限公司 | Data processing method based on Internet of things |
CN109727661A (en) * | 2018-12-27 | 2019-05-07 | 郑州新益华医学科技有限公司 | A kind of general MRI information collecting device and method based on Internet of Things |
Non-Patent Citations (1)
Title |
---|
邬俊杰: ""MWoT多域体系架构设计与实现"", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114124927A (en) * | 2021-08-23 | 2022-03-01 | 山东维创精密电子有限公司 | Cloud synchronization method for virtual reality data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104717101B (en) | Deep packet inspection method and system | |
Liu et al. | Fast RFID grouping protocols | |
US10050881B2 (en) | Method and apparatus for transmitting and receiving data in communication system | |
CN109889512B (en) | Charging pile CAN message abnormity detection method and device | |
CN109040178A (en) | Configuration information transmitting method and device | |
CN103268465B (en) | The method for quickly identifying of label classification in a kind of radio-frequency recognition system | |
CN102497297A (en) | System and method for realizing deep packet inspection technology based on multi-core and multi-thread | |
CN111698331A (en) | Cloud synchronization method for Internet of things management data | |
WO2021073054A1 (en) | Data processing method, apparatus and device, and storage medium | |
CN113872840A (en) | CAN data acquisition and transmission method, device and vehicle-mounted terminal | |
WO2017054307A1 (en) | Recognition method and apparatus for user information | |
CN106330768B (en) | A kind of application and identification method based on cloud computing | |
CN114172915B (en) | Message synchronization method, automatic driving system, storage medium and electronic equipment | |
CN106878178A (en) | Flow table issuance method, system and controller | |
JP3552258B2 (en) | Distributed computer system and information management method thereof | |
CN113053369A (en) | Voice control method and device of intelligent household appliance and intelligent household appliance | |
EP3511830A1 (en) | Method for monitoring devices in a network, computerized system and application program interface | |
CN106533728A (en) | Server information collecting method and apparatus | |
US10803861B2 (en) | Method and apparatus for identifying information | |
CN115080771A (en) | Data processing method and device based on artificial intelligence, medium and gateway equipment | |
CN106649678B (en) | Data processing method and system | |
CN110544182B (en) | Power distribution communication network fusion control method and system based on machine learning technology | |
CN106612241A (en) | Service control method and service control device | |
CN110472450A (en) | One kind lacking label identification method towards RFID known to missing number | |
CN117614977A (en) | Equipment state monitoring method and system of intelligent electric energy meter of Internet of things |
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 |