CN112866350B - Internet of things data acquisition method and device - Google Patents

Internet of things data acquisition method and device Download PDF

Info

Publication number
CN112866350B
CN112866350B CN202011641352.7A CN202011641352A CN112866350B CN 112866350 B CN112866350 B CN 112866350B CN 202011641352 A CN202011641352 A CN 202011641352A CN 112866350 B CN112866350 B CN 112866350B
Authority
CN
China
Prior art keywords
data
transmission node
information
transmission
node
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.)
Active
Application number
CN202011641352.7A
Other languages
Chinese (zh)
Other versions
CN112866350A (en
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.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202011641352.7A priority Critical patent/CN112866350B/en
Publication of CN112866350A publication Critical patent/CN112866350A/en
Application granted granted Critical
Publication of CN112866350B publication Critical patent/CN112866350B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1061Peer-to-peer [P2P] networks using node-based peer discovery mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The embodiment of the application discloses a method and a device for acquiring data of the Internet of things. According to the technical scheme, different operations are performed on different data from a previous-stage transmission node, whether a transmission node corresponding to the data grade of the first data from an initial transmission node is matched with the first data from the initial transmission node is consistent with a transmission node carried in the data or not is determined, the data is packaged and transmitted under the condition of consistency, format packaging is not performed on second data of a non-initial transmission node, detection is not performed on the transmission node carried in the data and whether the transmission node matched according to the data grade is consistent or not, time is saved, matching verification is performed on the transmission node at a first data stage, and the situation that transmission efficiency is affected finally due to the fact that an error transmission link is adopted to transmit the data can be prevented.

Description

Internet of things data acquisition method and device
Technical Field
The embodiment of the application relates to the technical field of communication of the Internet of things, in particular to a method and a device for acquiring data of the Internet of things.
Background
The Internet of Things is based on the computer Internet and constructs the Internet of Things covering everything in the world by utilizing technologies such as RFID, wireless data communication and the like. In this network, items or goods can "communicate" with each other without human intervention. The essence of the method is that the radio frequency automatic identification (RFID) technology is utilized, and the automatic identification of articles (commodities) and the interconnection and sharing of information are realized through the computer internet.
With the development of the internet of things, the application of the data acquisition technology of the internet of things is more and more extensive. However, in the current internet of things technology, data acquisition is mainly achieved by sequentially transmitting data through each transmission node after required data is acquired through various acquisition devices, and data detection and processing are lacked, so that transmission errors are easily caused, and transmission efficiency is reduced.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for data acquisition of the Internet of things, so as to realize detection and verification of transmission nodes of data and avoid transmission errors.
In a first aspect, an embodiment of the present application provides a method for acquiring data of an internet of things, including:
receiving first data and/or second data sent by a transmission node at the upper stage, wherein the transmission node comprises acquisition equipment and a transmission gateway;
analyzing the first data and the second data, and acquiring first data information and first data attribute information contained in the first data; acquiring second data information and second data attribute information contained in the second data; the first data attribute information and the second data attribute information both comprise data grade and transmission node information;
packing the first data according to a preset message format according to the data grade in the first data and sequentially transmitting the first data to corresponding transmission nodes;
and sending the second data to the next-stage transmission node according to the transmission node.
Further, sending the second data to the next transmission node according to the transmission node includes: and detecting whether the second data meets the self requirement or not according to the transmission node information, feeding back an error sending signal to a transmission node for transmitting the second data when the second data does not meet the self requirement, and sending the second data to the next transmission node according to the transmission node when the second data meets the self requirement.
Further, when the current transmission node is used as a second-level transmission node of the initial transmission node of the second data, comparing whether transmission node information in the second data is matched with the second-level transmission node or not, and when the transmission node information is matched with the second-level transmission node, generating transmission information and sending the transmission information to a third-level transmission node; when the signals are not matched, feeding back an error signal to the initial transmission node; the transmission information comprises second data, comparison result information of the second-level transmission nodes and second-level transmission node information, and the comparison result information is used for indicating whether the transmission node information in the second data is matched with the second-level transmission nodes.
Further, when the generated transmission information is sent to a third-level transmission node, the second-level transmission node analyzes the transmission information to obtain transmission node information, whether the transmission node is the last transmission node is detected according to the transmission node information, if yes, second data in the transmission information is stored, and if not, the generated transmission information is transmitted to the third-level transmission node.
Further, when the third-level transmission node receives the transmission information, the method includes:
analyzing the transmission information to acquire second data, comparison result information of a second-level transmission node and second-level transmission node information;
and comparing whether the transmission node information in the second data is matched with a third-stage transmission node or not, when the transmission node information in the second data is matched, detecting whether the transmission node is the last transmission node or not according to the transmission node information in the second data, if so, storing the second data in the transmission information, otherwise, generating new transmission information and transmitting the new transmission information to a fourth-stage transmission node, so that when each stage of transmission node started by the fourth-stage transmission node learns that the transmission node is the last transmission node according to the second data, the new transmission information is transmitted to each stage of transmission node started by the fourth-stage transmission node.
Further, the first data and/or the second data comprise a data key, and the data key comprises a target transmission node for indicating that the first data or the second data can be transmitted.
Further, the step of packing the first data according to a preset message format and sequentially transmitting the first data to the corresponding transmission nodes according to the data grade in the first data includes:
acquiring a data grade in first data, and matching a transmission node according to the data grade;
and when the matched transmission node is consistent with the transmission node information contained in the first data, packaging the first data according to a preset message format and sequentially transmitting the first data to the corresponding transmission node.
In a second aspect, an embodiment of the present application provides an internet of things data acquisition device, including:
a data receiving module: the system comprises a transmission node and a receiving node, wherein the transmission node is used for receiving first data and/or second data sent by a previous transmission node and comprises acquisition equipment and a transmission gateway;
a data analysis module: the data analysis device is used for analyzing the first data and the second data and acquiring first data information and first data attribute information contained in the first data; acquiring second data information and second data attribute information contained in the second data; the first data attribute information and the second data attribute information comprise data grade and transmission node information;
a data packing module: the data transmission system is used for packaging the first data according to a preset message format and sequentially transmitting the first data to corresponding transmission nodes according to the data grade in the first data;
a data transmission module: for sending the second data to the next level of transmission node according to the transmission node.
Further, sending the second data to the next transmission node according to the transmission node includes: and detecting whether the second data meets the self requirement or not according to the transmission node information, feeding back an error sending signal to a transmission node for transmitting the second data when the second data does not meet the self requirement, and sending the second data to the next transmission node according to the transmission node when the second data meets the self requirement.
Further, when the current transmission node is used as a second-level transmission node of the initial transmission node of the second data, comparing whether transmission node information in the second data is matched with the second-level transmission node or not, and when the transmission node information is matched with the second-level transmission node, generating transmission information and sending the transmission information to a third-level transmission node; when the signals are not matched, feeding back an error signal to the initial transmission node; the transmission information comprises second data, comparison result information of the second-level transmission nodes and second-level transmission node information, and the comparison result information is used for indicating whether the transmission node information in the second data is matched with the second-level transmission nodes.
Further, when the generated transmission information is sent to a third-level transmission node, the second-level transmission node analyzes the transmission information to obtain transmission node information, whether the transmission node is the last transmission node is detected according to the transmission node information, if yes, second data in the transmission information is stored, and if not, the generated transmission information is transmitted to the third-level transmission node.
Further, when the third-level transmission node receives the transmission information, the method includes:
analyzing the transmission information to acquire second data, comparison result information of a second-level transmission node and second-level transmission node information;
and comparing whether the transmission node information in the second data is matched with a third-stage transmission node or not, when the transmission node information in the second data is matched, detecting whether the transmission node is the last transmission node or not according to the transmission node information in the second data, if so, storing the second data in the transmission information, otherwise, generating new transmission information and transmitting the new transmission information to a fourth-stage transmission node, so that when each stage of transmission node started by the fourth-stage transmission node learns that the transmission node is the last transmission node according to the second data, the new transmission information is transmitted to each stage of transmission node started by the fourth-stage transmission node.
Further, the first data and/or the second data comprise a data key, and the data key comprises a target transmission node for indicating that the first data or the second data can be transmitted.
Further, the step of packing the first data according to a preset packet format and sequentially transmitting the first data to the corresponding transmission nodes according to the data grade in the first data includes:
acquiring a data grade in first data, and matching a transmission node according to the data grade;
and when the matched transmission node is consistent with the transmission node information contained in the first data, packaging the first data according to a preset message format and sequentially transmitting the first data to the corresponding transmission node.
In a third aspect, an embodiment of the present application provides a computer device, including: a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for data collection of the internet of things according to the first aspect.
In a fourth aspect, embodiments provide a storage medium containing computer-executable instructions for performing the method of internet of things data acquisition of the first aspect when executed by a computer processor.
According to the embodiment of the application, different operations are performed on different data from a transmission node at the upper stage, whether the transmission node corresponding to the data grade of the first data from the initial transmission node is matched with the transmission node corresponding to the data grade is consistent with the transmission node carried in the data or not is performed on the first data from the initial transmission node, the data is packaged and transmitted under the condition of consistency, and the second data from the non-initial transmission node is not packaged in a format and is not detected according to the consistency of the transmission node carried in the data and the transmission node matched according to the data grade, so that time is saved, and the transmission node is verified in a matching mode at the first data stage, so that the situation that the transmission efficiency is finally influenced by the fact that an error transmission link is adopted to transmit the data can be prevented.
Drawings
Fig. 1 is a flowchart of a data acquisition method for the internet of things according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an internet of things data acquisition device provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but could have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The embodiment of the application provides a method, a device, equipment and a storage medium for data acquisition of the Internet of things. According to the embodiment of the application, different operations are performed on different data from a transmission node at the upper stage, whether the transmission node corresponding to the data grade of the first data from the initial transmission node is matched with the transmission node corresponding to the data grade is consistent with the transmission node carried in the data or not is performed on the first data from the initial transmission node, the data is packaged and transmitted under the condition of consistency, and the second data from the non-initial transmission node is not packaged in a format and is not detected according to the consistency of the transmission node carried in the data and the transmission node matched according to the data grade, so that time is saved, and the transmission node is verified in a matching mode at the first data stage, so that the situation that the transmission efficiency is finally influenced by the fact that an error transmission link is adopted to transmit the data can be prevented.
The following are detailed below.
Fig. 1 is a flowchart of an internet of things data acquisition method provided in an embodiment of the present application, where the internet of things data acquisition method provided in an embodiment of the present application may be executed by an internet of things data acquisition device, and the internet of things data acquisition device may be implemented in a hardware and/or software manner and integrated in a computer device.
The following description will be given by taking an example of the method for executing the data acquisition of the internet of things by the data acquisition device of the internet of things. Referring to fig. 1, the data acquisition method for the internet of things includes:
101: and receiving first data and/or second data sent by a transmission node at the upper stage, wherein the transmission node comprises acquisition equipment and a transmission gateway.
In the embodiment of the application, the method and the device can be applied to any transmission node in the topology of the Internet of things, and can also be directly applied to a service platform. In the topology architecture of the internet of things, a transmission node mainly refers to any transfer device or gateway, which is used for transmitting acquired data and is not used for acquiring the data. In an embodiment of the present application, an acquisition device may be defined as an initial transmission node. The upper level transmission node corresponding to the first data is a collection device, that is, is directly transmitted from the initial transmission node, and the upper level transmission node corresponding to the second data is a transmission gateway or a transfer device.
102: analyzing the first data and the second data, and acquiring first data information and first data attribute information contained in the first data; acquiring second data information and second data attribute information contained in the second data; the first data attribute information and the second data attribute information each include a data class and transmission node information.
And analyzing the first data and the second data respectively. Since the first data and the second data are mainly for the current transmission node, the transmission node at the previous stage of transmitting data is the initial transmission node or other transmission nodes. By analyzing the first data or the second data, data information and data attribute information in the first data and the second data can be acquired. And the data attributes include data class and transfer node information. The data class is used to indicate to which class-authorized transfer nodes the data needs to be transferred for further storage or other processing. For example, the temperature sensor collects the temperature 1 at the timestamp T1 and the temperature 2 at the timestamp T2, the timestamp T1 meets the preset duration, and the timestamp T2 does not meet the preset duration, so that according to the preset rule, the level corresponding to the temperature 1 at the timestamp T1 is increased, the temperature 1 needs to be transmitted to the final service end, and the temperature 2 only needs to be transmitted to the transmission node of the temperature controller. That is, for the server, only the temperature collected by the temperature sensor is known regularly, and the temperature controller monitors the temperature in a relatively more real-time manner.
103: and packaging the first data according to a preset message format according to the data grade in the first data and sequentially transmitting the first data to the corresponding transmission nodes.
For the first data, the last transmission node of the first data is the initial transmission node, that is, the acquisition device. When the data are collected by the collecting equipment, the data are directly transmitted. When the current transmission node is reached, data needs to be preprocessed, that is, the data is packed according to a preset message rule.
Specifically, a data grade in the first data is obtained, and the transmission node is matched according to the data grade; and when the matched transmission node is consistent with the transmission node information contained in the first data, packaging the first data according to a preset message format and sequentially transmitting the first data to the corresponding transmission node.
104: and sending the second data to the next-stage transmission node according to the transmission node.
Specifically, in this step, whether the second data meets the self-requirement is detected according to the transmission node information, when the second data does not meet the self-requirement, an error signal is fed back to the transmission node transmitting the second data, and when the second data meets the self-requirement, the second data is sent to the next transmission node according to the transmission node.
In this embodiment, it is verified whether the current transfer node is in the transfer node information according to the own requirement, that is, according to the transfer node information. Since the transmission data often needs to pass through a plurality of transmission nodes, the transmission node information includes the transmission node information of the plurality of transmission nodes, and then the current transmission node can traverse all the transmission node information in the transmission node information, and compare whether a completely consistent transmission node exists, if so, the transmission node is expressed as meeting the self requirement.
As a further preferred embodiment, when the current transmission node is used as a second-level transmission node of the initial transmission node of the second data, comparing whether the transmission node information in the second data is matched with the second-level transmission node, and when the transmission node information is matched with the second-level transmission node, generating transmission information and sending the transmission information to a third-level transmission node; when the signals are not matched, feeding back an error signal to the initial transmission node; the transmission information comprises second data, comparison result information of second-level transmission nodes and second-level transmission node information, and the comparison result information is used for indicating whether the transmission node information in the second data is matched with the second-level transmission nodes or not.
In combination with the above, when the generated transmission information is sent to the third-level transmission node, the second-level transmission node analyzes the transmission information to obtain transmission node information, and detects whether the transmission node is the last transmission node according to the transmission node information, if so, second data in the transmission information is stored, and if not, the generated transmission information is transmitted to the third-level transmission node.
Specifically, when the third-level transmission node receives the transmission information, the method includes: analyzing the transmission information to obtain second data, comparison result information of a second-level transmission node and second-level transmission node information; and comparing whether the transmission node information in the second data is matched with a third-stage transmission node or not, when the transmission node information in the second data is matched, detecting whether the transmission node is the last transmission node or not according to the transmission node information in the second data, if so, storing the second data in the transmission information, otherwise, generating new transmission information and transmitting the new transmission information to a fourth-stage transmission node, so that when each stage of transmission node started by the fourth-stage transmission node learns that the transmission node is the last transmission node according to the second data, the new transmission information is transmitted to each stage of transmission node started by the fourth-stage transmission node. That is, in the embodiment of the present application, the second-level transmission node and the third-level transmission node both perform their own verification according to the transmission-related information, and when the two-level transmission node passes the verification, that is, the two-level transmission node passes the verification, the subsequent transmission node does not perform the verification any more, and directly transmits the data.
In an embodiment of the present application, the first data and/or the second data include a data key, where the data key includes a target transmission node for indicating that the first data or the second data may be transmitted.
As shown in fig. 2, an embodiment of the present application further provides an internet of things data acquisition apparatus, including a data receiving module 201, a data parsing module 202, a data packing module 203, and a data transmission module 204, where the data receiving module 201 is configured to receive first data and/or second data sent by a previous-level transmission node, and the transmission node includes an acquisition device and a transmission gateway; the data analysis module 202 is configured to analyze the first data and the second data, and acquire first data information and first data attribute information included in the first data; acquiring second data information and second data attribute information contained in the second data; the first data attribute information and the second data attribute information comprise data grade and transmission node information; the data packing module 203 is configured to pack the first data according to a preset message format according to the data class in the first data and sequentially transmit the first data to corresponding transmission nodes; the data transmission module 204 is configured to send the second data to a next-stage transmission node according to the transmission node.
As a preferred embodiment, sending the second data to the next transmission node according to the transmission node includes: and detecting whether the second data meets the self requirement or not according to the transmission node information, feeding back an error sending signal to a transmission node for transmitting the second data when the second data does not meet the self requirement, and sending the second data to the next transmission node according to the transmission node when the second data meets the self requirement.
As a further preferred embodiment, when the current transmission node is used as a second-level transmission node of the initial transmission node of the second data, comparing whether transmission node information in the second data is matched with the second-level transmission node, and when the transmission node information is matched with the second-level transmission node, generating transmission information and sending the transmission information to a third-level transmission node; when the signals are not matched, feeding back an error signal to the initial transmission node; the transmission information comprises second data, comparison result information of second-level transmission nodes and second-level transmission node information, and the comparison result information is used for indicating whether the transmission node information in the second data is matched with the second-level transmission nodes or not.
When the third-level transmission node receives the transmission information, the method comprises the following steps: analyzing the transmission information to acquire second data, comparison result information of a second-level transmission node and second-level transmission node information; and comparing whether the transmission node information in the second data is matched with a third-stage transmission node or not, when the transmission node information in the second data is matched, detecting whether the transmission node is the last transmission node or not according to the transmission node information in the second data, if so, storing the second data in the transmission information, otherwise, generating new transmission information and transmitting the new transmission information to a fourth-stage transmission node, so that when each stage of transmission node started by the fourth-stage transmission node learns that the transmission node is the last transmission node according to the second data, the new transmission information is transmitted to each stage of transmission node started by the fourth-stage transmission node.
In this embodiment, the first data and/or the second data include a data key, and the data key includes a target transmission node for indicating that the first data or the second data can be transmitted. Packing the first data according to a preset message format according to the data grade in the first data and sequentially transmitting the first data to corresponding transmission nodes, wherein the method comprises the following steps: acquiring a data grade in first data, and matching a transmission node according to the data grade; and when the matched transmission node is consistent with the transmission node information contained in the first data, packaging the first data according to a preset message format and sequentially transmitting the first data to the corresponding transmission node.
As shown in fig. 3, an embodiment of the present application further provides a computer device, including: a memory 301 and one or more processors 302; the memory 301 is used for storing one or more programs; when executed by the one or more processors 302, the one or more programs cause the one or more processors to implement the internet of things data collection method as described herein.
Embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for acquiring data of an internet of things provided by the foregoing embodiments, where the method for acquiring data of an internet of things includes: receiving first data and/or second data sent by a transmission node at the upper stage, wherein the transmission node comprises acquisition equipment and a transmission gateway; analyzing the first data and the second data, and acquiring first data information and first data attribute information contained in the first data; acquiring second data information and second data attribute information contained in the second data; the first data attribute information and the second data attribute information both comprise data grade and transmission node information; packing the first data according to a preset message format according to the data grade in the first data and sequentially transmitting the first data to corresponding transmission nodes; and sending the second data to the next-stage transmission node according to the transmission node.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the above-described data collection method for the internet of things, and may also perform related operations in the data collection method for the internet of things provided in any embodiments of the present application.
The data acquisition device, the equipment and the storage medium of the internet of things provided in the embodiments may execute the data acquisition method of the internet of things provided in any embodiments of the present application, and reference may be made to the data acquisition method of the internet of things provided in any embodiments of the present application without detailed technical details described in the embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (9)

1. The data acquisition method of the Internet of things is characterized by comprising the following steps:
receiving first data and/or second data sent by a transmission node at the upper stage, wherein the transmission node comprises acquisition equipment and a transmission gateway;
analyzing the first data and the second data, and acquiring first data information and first data attribute information contained in the first data; acquiring second data information and second data attribute information contained in the second data; the first data attribute information and the second data attribute information comprise data grade and transmission node information;
packing the first data according to a preset message format according to the data grade in the first data and sequentially transmitting the first data to corresponding transmission nodes;
sending the second data to a next-stage transmission node according to the transmission node; wherein, include: and detecting whether the second data meets the self requirement or not according to the transmission node information, feeding back an error sending signal to a transmission node for transmitting the second data when the second data does not meet the self requirement, and sending the second data to the next transmission node according to the transmission node when the second data meets the self requirement.
2. The internet of things data acquisition method of claim 1, wherein when a current transmission node is used as a second-level transmission node of an initial transmission node of second data, whether transmission node information in the second data is matched with the second-level transmission node is compared, and when the transmission node information is matched with the second-level transmission node, transmission information is generated and sent to a third-level transmission node; when the signals are not matched, feeding back an error signal to the initial transmission node; the transmission information comprises second data, comparison result information of the second-level transmission nodes and second-level transmission node information, and the comparison result information is used for indicating whether the transmission node information in the second data is matched with the second-level transmission nodes.
3. The internet of things data acquisition method of claim 2, wherein when transmission information is generated and sent to a third-level transmission node, the second-level transmission node analyzes the transmission information to obtain transmission node information, whether the transmission node is the last transmission node is detected according to the transmission node information, if yes, second data in the transmission information is stored, and if not, the transmission information is generated and transmitted to the third-level transmission node.
4. The internet of things data acquisition method of claim 3, wherein when the third-level transmission node receives the transmission information, the method comprises the following steps:
analyzing the transmission information to acquire second data, comparison result information of a second-level transmission node and second-level transmission node information;
and comparing whether the transmission node information in the second data is matched with a third-stage transmission node or not, when the transmission node information in the second data is matched, detecting whether the transmission node is the last transmission node or not according to the transmission node information in the second data, if so, storing the second data in the transmission information, otherwise, generating new transmission information and transmitting the new transmission information to a fourth-stage transmission node, so that when each stage of transmission node started by the fourth-stage transmission node learns that the transmission node is the last transmission node according to the second data, the new transmission information is transmitted to each stage of transmission node started by the fourth-stage transmission node.
5. The data acquisition method for the internet of things as claimed in claim 1, wherein the first data and/or the second data comprise data keys, and the data keys comprise target transmission nodes for indicating that the first data or the second data can be transmitted.
6. The internet of things data acquisition method according to any one of claims 1 to 5, wherein the step of packaging the first data according to a preset message format according to the data grade in the first data and sequentially transmitting the first data to corresponding transmission nodes comprises the steps of:
acquiring a data grade in first data, and matching a transmission node according to the data grade;
and when the matched transmission node is consistent with the transmission node information contained in the first data, packaging the first data according to a preset message format and sequentially transmitting the first data to the corresponding transmission node.
7. The utility model provides a thing networking data acquisition device which characterized in that includes:
a data receiving module: the system comprises a transmission node and a receiving node, wherein the transmission node is used for receiving first data and/or second data sent by a previous transmission node and comprises acquisition equipment and a transmission gateway;
a data analysis module: the data analysis device is used for analyzing the first data and the second data and acquiring first data information and first data attribute information contained in the first data; acquiring second data information and second data attribute information contained in the second data; the first data attribute information and the second data attribute information both comprise data grade and transmission node information;
a data packing module: the data transmission device is used for packaging the first data according to a preset message format and sequentially transmitting the first data to corresponding transmission nodes according to the data grade in the first data;
a data transmission module: the transmission node is used for transmitting the second data to the next-level transmission node according to the transmission node; wherein, include: and detecting whether the second data meets the self requirement or not according to the transmission node information, feeding back an error sending signal to a transmission node for transmitting the second data when the second data does not meet the self requirement, and sending the second data to the next transmission node according to the transmission node when the second data meets the self requirement.
8. A computer device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the internet of things data collection method of any one of claims 1-6.
9. A storage medium containing computer-executable instructions for performing the internet of things data collection method of any one of claims 1-6 when executed by a computer processor.
CN202011641352.7A 2020-12-31 2020-12-31 Internet of things data acquisition method and device Active CN112866350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011641352.7A CN112866350B (en) 2020-12-31 2020-12-31 Internet of things data acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011641352.7A CN112866350B (en) 2020-12-31 2020-12-31 Internet of things data acquisition method and device

Publications (2)

Publication Number Publication Date
CN112866350A CN112866350A (en) 2021-05-28
CN112866350B true CN112866350B (en) 2022-08-23

Family

ID=76000785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011641352.7A Active CN112866350B (en) 2020-12-31 2020-12-31 Internet of things data acquisition method and device

Country Status (1)

Country Link
CN (1) CN112866350B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775258B1 (en) * 2000-03-17 2004-08-10 Nokia Corporation Apparatus, and associated method, for routing packet data in an ad hoc, wireless communication system
CN103929778A (en) * 2014-05-13 2014-07-16 南通大学 Data grading transmission method
CN107483358A (en) * 2017-08-24 2017-12-15 深圳市盛路物联通讯技术有限公司 A kind of data transmission method and device based on Internet of Things
CN108881052A (en) * 2018-06-26 2018-11-23 新华三技术有限公司 A kind of message forwarding method and device
CN111600797A (en) * 2019-02-21 2020-08-28 华为技术有限公司 Data transmission method, node and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916900B (en) * 2012-10-09 2016-02-17 中国联合网络通信集团有限公司 Work flow forwarding method and device
CN103874161B (en) * 2014-04-03 2017-11-28 上海扬梓投资管理有限公司 Routing resource and node device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775258B1 (en) * 2000-03-17 2004-08-10 Nokia Corporation Apparatus, and associated method, for routing packet data in an ad hoc, wireless communication system
CN103929778A (en) * 2014-05-13 2014-07-16 南通大学 Data grading transmission method
CN107483358A (en) * 2017-08-24 2017-12-15 深圳市盛路物联通讯技术有限公司 A kind of data transmission method and device based on Internet of Things
CN108881052A (en) * 2018-06-26 2018-11-23 新华三技术有限公司 A kind of message forwarding method and device
CN111600797A (en) * 2019-02-21 2020-08-28 华为技术有限公司 Data transmission method, node and system

Also Published As

Publication number Publication date
CN112866350A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN112003703B (en) Method and device for transmitting authenticatable message across chains
Li et al. Identifying the missing tags in a large RFID system
US20180144621A1 (en) Measurement data processing method
JP2017126978A (en) Abnormality detection method, abnormality detection device and abnormality detection system
WO2017119246A1 (en) Abnormality detection method, abnormality detection device, and abnormality detection system
CN112508573B (en) Transaction data processing method and device and computer equipment
CN104602114A (en) Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller
US11122136B2 (en) Quantum payload service for facilitating communications between a quantum computing system and classical computing systems
US10050881B2 (en) Method and apparatus for transmitting and receiving data in communication system
CN103178998A (en) Test and control data transmission method and device
KR20190086711A (en) Method for transmitting and receiving network management information, transceiver, transmitter and receiver
WO2015007091A1 (en) Data record generating method and device
CN111488291A (en) Pressure testing method, device and system for block chain network
CN112866350B (en) Internet of things data acquisition method and device
CN113435220B (en) Method and device for estimating number of lost tags based on unreliable channel in RFID system
EP2827607A1 (en) System and method for adapting characteristics of application layer protocol using sensed indication
CN107609197A (en) A kind of method of data synchronization, data synchronization unit and mobile terminal
CN112383642B (en) Internet of things equipment data interaction method and device
CN115842861A (en) Edge connection device adaptation method, device and computer readable storage medium
CN111277953B (en) Communication network stability processing method and system and electronic equipment
CN112985518A (en) Intelligent temperature and humidity monitoring method and device based on Internet of things
CN114301813A (en) Time delay measuring method and device for PING detection
CN114731301A (en) Determination method, determination system, and program
CN114726801B (en) Method and system for forwarding encrypted traffic
CN117499334B (en) Intelligent vehicle communication method, terminal equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant