CN112671661A - Internet of things data transmission method and system - Google Patents

Internet of things data transmission method and system Download PDF

Info

Publication number
CN112671661A
CN112671661A CN202011551102.4A CN202011551102A CN112671661A CN 112671661 A CN112671661 A CN 112671661A CN 202011551102 A CN202011551102 A CN 202011551102A CN 112671661 A CN112671661 A CN 112671661A
Authority
CN
China
Prior art keywords
data
data message
internet
things
transmission
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
CN202011551102.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.)
Guangzhou Wangyouyou Information Technology Development Co ltd
Original Assignee
Guangzhou Wangyouyou Information Technology Development 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 Wangyouyou Information Technology Development Co ltd filed Critical Guangzhou Wangyouyou Information Technology Development Co ltd
Priority to CN202011551102.4A priority Critical patent/CN112671661A/en
Publication of CN112671661A publication Critical patent/CN112671661A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a system for transmitting data of the Internet of things, wherein the method comprises the steps of receiving a data message of terminal equipment of the Internet of things, wherein the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things; and performing security authentication on the data message according to the user identification information, and if the data message passes the security authentication, periodically transmitting the data message to a cloud server. The internet of things data collected and received are authenticated, compressed and packaged and then pushed to the cloud server, so that the problem of invalid fragments caused by bandwidth limitation is solved, the phenomenon that a large number of messages need to be discarded and retransmitted in the conventional discarding mechanism, and the network transmission rate is greatly jittered is avoided, the transmission quantity of the data in the data transmission process is effectively reduced, the network transmission blockage caused by large data transmission quantity is avoided, and the transmission efficiency is greatly improved.

Description

Internet of things data transmission method and system
Technical Field
The invention relates to the technical field of data transmission, in particular to a data transmission method and system of an internet of things.
Background
The Internet of things is an important component of a new generation of information technology and is also an important development stage of the 'informatization' era. Its english name is "Internet of things (IoT)". As the name suggests, the Internet of things is a huge network which connects any article with the Internet according to an agreed protocol through information sensing equipment such as Radio Frequency Identification (RFID), an infrared sensor, a global positioning system and a laser scanner, so as to realize intelligent identification, positioning, tracking, monitoring and management.
The concept of the internet of things was proposed in 1999. The internet of things is the internet with connected objects. This has two layers: firstly, the core and the foundation of the internet of things are still the internet, and the internet is an extended and expanded network on the basis of the internet; second, the user end extends and extends to any article to article for information exchange and communication. Therefore, the internet of things is an extension of the internet, and includes the internet and all resources on the internet, and is compatible with all applications of the internet, but all elements (all devices, resources, communications, and the like) in the internet of things are personalized and privatized. The Internet of things is wide in application and is spread in multiple fields of intelligent transportation, environment protection, government work, public safety, safe home, intelligent fire fighting, industrial monitoring, old people nursing, personal health and the like. The Internet of things is used as a strategic emerging industry of a new economic growth point, and has good market benefit.
The internet of things is a mode for collecting data from a certain angle, the front end is used for collecting and receiving data, the data are transmitted to the internet of things platform at the rear end through a network, and the internet of things platform analyzes the collected data, so that the data are comprehensively utilized.
However, one internet of things platform is for a plurality of acquisition terminals, the number of the acquisition terminals may reach thousands, and in the process of transmitting data acquired by the acquisition terminals to the internet of things platform, because the data transmission amount is large, network transmission is easily blocked, and the transmission efficiency is affected.
In view of the above situation, the invention provides a data transmission method and system for the internet of things, which can effectively improve the prior art to overcome the defects.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method and a system for transmitting data of the Internet of things, which are used for solving the problems in the prior art, and the specific scheme is as follows:
in a first aspect, the present invention provides a data transmission method for an internet of things, where the method includes:
receiving a data message of terminal equipment of the Internet of things, wherein the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things;
and performing security authentication on the data message according to the user identification information, and if the data message passes the security authentication, periodically transmitting the data message to a cloud server.
Preferably, the data message is periodically transmitted to a cloud server, and the method includes:
acquiring a data message transmission rate threshold, dividing the data message into a plurality of data message blocks according to the data message transmission rate threshold, caching the data message blocks, and periodically transmitting the data message blocks to a cloud server;
wherein the data volume of each of the data packet blocks is equal to the amount of data that can be transmitted per second defined by the data packet transmission rate
Preferably, before the data packet is periodically transmitted to a cloud server, the method further includes:
analyzing and judging whether the length of the data message can be divided; if so,
when the token number of the transmission tunnel meets the current bandwidth transmission requirement, the data message is segmented and packaged by using a first packaging format;
and when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, segmenting and packaging the data message by using a second packaging format.
Preferably, when the token number of the tunnel meets the current bandwidth transmission requirement, the packet is encapsulated by using a first encapsulation format, and the method includes:
and dividing the data message according to a first fragmentation format, compressing the data content of the divided data message by using a first compression format, and repackaging the compressed data content and the message header.
Preferably, when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, the data packet is encapsulated by dividing using a second encapsulation format, and the method includes:
and dividing the data message according to a second fragmentation format, compressing the data content of the divided data message by using a second compression format, and repackaging the compressed data content and the message header.
In a second aspect, the present invention provides an internet of things data transmission device, where the device includes:
the system comprises an acquisition receiving module, a processing module and a processing module, wherein the acquisition receiving module is used for receiving a data message of the terminal equipment of the Internet of things, and the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things;
and the authentication transmission module is used for performing security authentication on the data message according to the user identification information, and transmitting the data message to a cloud server periodically if the data message passes the security authentication.
In a third aspect, the present invention provides an internet of things data transmission system, including:
the communication bus is used for realizing the connection communication between the processor and the memory;
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of:
receiving a data message of terminal equipment of the Internet of things, wherein the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things;
and performing security authentication on the data message according to the user identification information, and if the data message passes the security authentication, periodically transmitting the data message to a cloud server.
In a fourth aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method according to the first aspect.
The invention has the beneficial effects that: the internet of things data transmission method and system provided by the invention have the advantages that collected and received internet of things data are authenticated, compressed and packaged and then pushed to the cloud server, the current token number and the required transmission bandwidth are compared in the compression and packaging, the compression algorithm with low compression rate is adopted under the condition of sufficient bandwidth, the loss of data information entropy is reduced, the compression algorithm with high compression rate is adopted under the condition of limited bandwidth to adapt to the effective transmission of bandwidth, the packet flows with different delays do not need to be subjected to grouping management of priority and weight, the problem of invalid fragments caused by bandwidth limitation is solved, the phenomenon that a large number of messages need to be discarded and retransmitted in the traditional discarding mechanism to cause large jitter of network transmission rate is avoided, the data transmission quantity in the data transmission process is effectively reduced, and the network transmission blockage caused by large data transmission quantity is avoided, the transmission efficiency is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, it is obvious that the drawings in the following description are only some embodiments of the present invention, the embodiments in the drawings do not constitute any limitation to the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an embodiment of a data transmission method of the internet of things.
Fig. 2 is a schematic structural diagram of an embodiment of the data transmission device of the internet of things.
Fig. 3 is a schematic structural diagram of an embodiment of the data transmission system of the internet of things of the present invention.
Detailed Description
The technical solution of the present invention will be further described in detail with reference to the accompanying drawings and embodiments, which are preferred embodiments of the present invention. It is to be understood that the described embodiments are merely a subset of the embodiments of the invention, and not all embodiments; it should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The main idea of the technical scheme of the embodiment of the invention is as follows: receiving a data message of terminal equipment of the Internet of things, wherein the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things; and performing security authentication on the data message according to the user identification information, and if the data message passes the security authentication, periodically transmitting the data message to a cloud server.
In order to better understand the technical solutions, the technical solutions will be described in detail below with reference to the drawings and specific embodiments.
Example one
An embodiment of the present invention provides an internet of things data transmission method, as shown in fig. 1, the internet of things data transmission method may specifically include the following steps:
s101, receiving a data message of terminal equipment of the Internet of things, wherein the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things;
in this embodiment, the device type information is used to indicate a type of the internet of things device, and the user identification information is used to indicate a user currently using the internet of things device.
Specifically, the repeater receives a data packet carrying device type information for indicating the type of the internet of things device and user identification information for indicating a user currently using the internet of things device by the internet of things terminal device.
S102, analyzing and judging whether the length of the data message can be divided; if yes, performing message encapsulation according to the relation between the token number and the bandwidth:
specifically, in this embodiment, first, it is determined whether the length of the data packet can be divided, specifically, whether the length of the current packet of the transmission tunnel is an integer multiple of a predetermined minimum packet is determined, where the integer may be 1 or more. In addition, the above-mentioned length of obtaining the current packet is prior art, and may be extracted from a corresponding length field in the data packet, which is not described herein again.
After the length of the message is determined to be divisible, further judging whether the token number of the transmission tunnel meets the current bandwidth transmission requirement, if so, the repeater divides and encapsulates the data message by using a first encapsulation format; and when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, segmenting and packaging the data message by using a second packaging format.
In an optional embodiment, when the token number of the tunnel meets the current bandwidth transmission requirement, the packet is encapsulated using a first encapsulation format, and the method may specifically be to divide packet data of the transmission tunnel according to a sparse first fragmentation format, compress data content of the divided packet using a first compression format with a low compression ratio, and encapsulate the compressed data content and packet header again.
In another optional embodiment, when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, the data packet is segmented and encapsulated using a second encapsulation format, and the method may specifically be to segment the data packet of the transmission tunnel according to an intensive second fragmentation format, compress the data content of the segmented data packet using the second compression format with a high compression rate, and re-encapsulate the compressed data content and the packet header.
It should be noted that the re-encapsulated fragment message structure includes a source address, a destination address, a fragment offset, and message data, where the fragment offset identifies the position of the fragment in the entire message.
In yet another optional embodiment, when it is determined that the length of the data packet is not divisible, the data packet is discarded, and a retransmission request is made to the terminal device of the internet of things.
S103, performing security authentication on the data message according to the user identification information, and if the data message passes the security authentication, periodically transmitting the data message to a cloud server.
Specifically, in this embodiment, security authentication is performed on the data packet according to the user identification information, and if the data packet passes the security authentication, a data packet transmission rate threshold is obtained, and the data packet transmission rate threshold divides the data packet into a plurality of data packet blocks, caches the data packet blocks, and periodically transmits the data packet blocks to the cloud server.
It should be noted that, in this embodiment, the data amount of the data packet block is equal to the data amount that can be sent per second defined by the data packet transmission rate
Example two
An embodiment of the present invention provides an internet of things data transmission system, and as shown in fig. 2, the internet of things data transmission system may specifically include the following modules:
the system comprises a collecting and receiving module and a sending and receiving module, wherein the collecting and receiving module is used for receiving a data message of the terminal equipment of the Internet of things, and the data message carries the equipment type information and the user identification information of the terminal equipment of the Internet of things.
In this embodiment, the device type information is used to indicate a type of the internet of things device, and the user identification information is used to indicate a user currently using the internet of things device.
Specifically, the repeater receives a data packet carrying device type information for indicating the type of the internet of things device and user identification information for indicating a user currently using the internet of things device by the internet of things terminal device.
And the authentication transmission module is used for performing security authentication on the data message according to the user identification information, and transmitting the data message to a cloud server periodically if the data message passes the security authentication.
Specifically, in this embodiment, security authentication is performed on the data packet according to the user identification information, and if the data packet passes the security authentication, a data packet transmission rate threshold is obtained, and the data packet transmission rate threshold divides the data packet into a plurality of data packet blocks, caches the data packet blocks, and periodically transmits the data packet blocks to the cloud server.
It should be noted that, in this embodiment, the data amount of the data packet block is equal to the data amount that can be sent per second defined by the data packet transmission rate
Optionally, the internet of things data transmission system may specifically include:
the analysis and segmentation module is used for analyzing and judging whether the length of the data message can be segmented or not; if yes, performing message encapsulation according to the relation between the token number and the bandwidth:
specifically, in this embodiment, first, it is determined whether the length of the data packet can be divided, specifically, whether the length of the current packet of the transmission tunnel is an integer multiple of a predetermined minimum packet is determined, where the integer may be 1 or more. In addition, the above-mentioned length of obtaining the current packet is prior art, and may be extracted from a corresponding length field in the data packet, which is not described herein again.
After the length of the message is determined to be divisible, further judging whether the token number of the transmission tunnel meets the current bandwidth transmission requirement, if so, the repeater divides and encapsulates the data message by using a first encapsulation format; and when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, segmenting and packaging the data message by using a second packaging format.
In an optional embodiment, when the token number of the tunnel meets the current bandwidth transmission requirement, the packet is encapsulated using a first encapsulation format, and the method may specifically be to divide packet data of the transmission tunnel according to a sparse first fragmentation format, compress data content of the divided packet using a first compression format with a low compression ratio, and encapsulate the compressed data content and packet header again.
In another optional embodiment, when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, the data packet is segmented and encapsulated using a second encapsulation format, and the method may specifically be to segment the data packet of the transmission tunnel according to an intensive second fragmentation format, compress the data content of the segmented data packet using the second compression format with a high compression rate, and re-encapsulate the compressed data content and the packet header.
It should be noted that the re-encapsulated fragment message structure includes a source address, a destination address, a fragment offset, and message data, where the fragment offset identifies the position of the fragment in the entire message.
In yet another optional embodiment, when it is determined that the length of the data packet is not divisible, the data packet is discarded, and a retransmission request is made to the terminal device of the internet of things.
EXAMPLE III
An embodiment of the present invention provides an internet of things data transmission system, and as shown in fig. 3, the internet of things data transmission system may specifically include the following modules:
the communication bus is used for realizing the connection communication between the processor and the memory;
a memory for storing a computer program; the memory may comprise high-speed RAM memory and may also comprise non-volatile memory, such as at least one disk memory. The memory may optionally comprise at least one memory device.
A processor for executing the computer program to implement the steps of:
firstly, receiving a data message of terminal equipment of the Internet of things, wherein the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things;
in this embodiment, the device type information is used to indicate a type of the internet of things device, and the user identification information is used to indicate a user currently using the internet of things device.
Specifically, the repeater receives a data packet carrying device type information for indicating the type of the internet of things device and user identification information for indicating a user currently using the internet of things device by the internet of things terminal device.
Then, analyzing and judging whether the length of the data message can be divided; if yes, performing message encapsulation according to the relation between the token number and the bandwidth:
specifically, in this embodiment, first, it is determined whether the length of the data packet can be divided, specifically, whether the length of the current packet of the transmission tunnel is an integer multiple of a predetermined minimum packet is determined, where the integer may be 1 or more. In addition, the above-mentioned length of obtaining the current packet is prior art, and may be extracted from a corresponding length field in the data packet, which is not described herein again.
After the length of the message is determined to be divisible, further judging whether the token number of the transmission tunnel meets the current bandwidth transmission requirement, if so, the repeater divides and encapsulates the data message by using a first encapsulation format; and when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, segmenting and packaging the data message by using a second packaging format.
In an optional embodiment, when the token number of the tunnel meets the current bandwidth transmission requirement, the packet is encapsulated using a first encapsulation format, and the method may specifically be to divide packet data of the transmission tunnel according to a sparse first fragmentation format, compress data content of the divided packet using a first compression format with a low compression ratio, and encapsulate the compressed data content and packet header again.
In another optional embodiment, when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, the data packet is segmented and encapsulated using a second encapsulation format, and the method may specifically be to segment the data packet of the transmission tunnel according to an intensive second fragmentation format, compress the data content of the segmented data packet using the second compression format with a high compression rate, and re-encapsulate the compressed data content and the packet header.
It should be noted that the re-encapsulated fragment message structure includes a source address, a destination address, a fragment offset, and message data, where the fragment offset identifies the position of the fragment in the entire message.
In yet another optional embodiment, when it is determined that the length of the data packet is not divisible, the data packet is discarded, and a retransmission request is made to the terminal device of the internet of things.
And finally, performing security authentication on the data message according to the user identification information, and if the data message passes the security authentication, periodically transmitting the data message to a cloud server.
Specifically, in this embodiment, security authentication is performed on the data packet according to the user identification information, and if the data packet passes the security authentication, a data packet transmission rate threshold is obtained, and the data packet transmission rate threshold divides the data packet into a plurality of data packet blocks, caches the data packet blocks, and periodically transmits the data packet blocks to the cloud server.
It should be noted that, in this embodiment, the data amount of the data packet block is equal to the data amount that can be sent per second defined by the data packet transmission rate
The processor in this embodiment may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor described above may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. The processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
EXAMPLE five
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the cache adjustment processing method.
To sum up, in the internet of things data transmission method and system provided in the embodiments of the present invention, collected and received internet of things data is authenticated, compressed and encapsulated, and then pushed to the cloud server, and the compressed and encapsulated data is compared with the current token number and the required transmission bandwidth, when the bandwidth is sufficient, a compression algorithm with a low compression rate is adopted to reduce the loss of data entropy, and when the bandwidth is limited, a compression algorithm with a high compression rate is adopted to adapt to the effective transmission of the bandwidth, packet management of different time-delay message streams does not need to distinguish priorities and weights, thereby solving the problem of invalid fragmentation caused by bandwidth limitation, avoiding the problem that a large number of messages need to be discarded and retransmitted as in the conventional discarding mechanism, resulting in large jitter of network transmission rate, and effectively reducing the data transmission amount in the data transmission process, the network transmission blockage caused by large data transmission quantity is avoided, and the transmission efficiency is greatly improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that the acts and modules illustrated are not necessarily required to practice the invention.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application are generated in whole or in part when the computer program instructions are loaded or executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more collections of available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media. The semiconductor medium may be a solid state disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A data transmission method of the Internet of things is characterized by comprising the following steps:
receiving a data message of terminal equipment of the Internet of things, wherein the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things;
and performing security authentication on the data message according to the user identification information, and if the data message passes the security authentication, periodically transmitting the data message to a cloud server.
2. The method of claim 1, wherein the periodically transmitting the data packets to a cloud server comprises:
acquiring a data message transmission rate threshold, dividing the data message into a plurality of data message blocks according to the data message transmission rate threshold, caching the data message blocks, and periodically transmitting the data message blocks to a cloud server;
wherein the data volume of each of the data packet blocks is equal to the amount of data that can be transmitted per second as defined by the data packet transmission rate.
3. The method of claim 2, wherein prior to periodically transmitting the data packet to a cloud server, the method further comprises:
analyzing and judging whether the length of the data message can be divided; if so,
when the token number of the transmission tunnel meets the current bandwidth transmission requirement, the data message is segmented and packaged by using a first packaging format;
and when the token number of the transmission tunnel does not meet the current bandwidth transmission requirement, segmenting and packaging the data message by using a second packaging format.
4. The method of claim 3, wherein the packet is encapsulated using a first encapsulation format when the token count of the tunnel meets the current bandwidth transmission requirement, and wherein the method comprises:
and dividing the data message according to a first fragmentation format, compressing the data content of the divided data message by using a first compression format, and repackaging the compressed data content and the message header.
5. The method of claim 3, wherein when the token count of the transmission tunnel does not meet the current bandwidth transmission requirement, the data packet is encapsulated in a split manner by using a second encapsulation format, and the method comprises:
and dividing the data message according to a second fragmentation format, compressing the data content of the divided data message by using a second compression format, and repackaging the compressed data content and the message header.
6. An internet of things data transmission system, the system comprising:
the system comprises an acquisition receiving module, a processing module and a processing module, wherein the acquisition receiving module is used for receiving a data message of the terminal equipment of the Internet of things, and the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things;
and the authentication transmission module is used for performing security authentication on the data message according to the user identification information, and transmitting the data message to a cloud server periodically if the data message passes the security authentication.
7. An internet of things data transmission device, the device comprising:
the communication bus is used for realizing the connection communication between the processor and the memory;
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of:
receiving a data message of terminal equipment of the Internet of things, wherein the data message carries equipment type information and user identification information of the terminal equipment of the Internet of things;
and performing security authentication on the data message according to the user identification information, and if the data message passes the security authentication, periodically transmitting the data message to a cloud server.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202011551102.4A 2020-12-24 2020-12-24 Internet of things data transmission method and system Pending CN112671661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011551102.4A CN112671661A (en) 2020-12-24 2020-12-24 Internet of things data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011551102.4A CN112671661A (en) 2020-12-24 2020-12-24 Internet of things data transmission method and system

Publications (1)

Publication Number Publication Date
CN112671661A true CN112671661A (en) 2021-04-16

Family

ID=75410014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011551102.4A Pending CN112671661A (en) 2020-12-24 2020-12-24 Internet of things data transmission method and system

Country Status (1)

Country Link
CN (1) CN112671661A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995693A (en) * 2021-03-04 2021-06-18 深圳市欧瑞博科技股份有限公司 Intelligent processing method of streaming media file, control panel and computer readable storage medium
CN114024787A (en) * 2021-10-08 2022-02-08 中移(杭州)信息技术有限公司 Remote control method, device, equipment and storage medium for smart home
CN114155969A (en) * 2021-11-16 2022-03-08 医渡云(北京)技术有限公司 Medical data acquisition method and device, electronic equipment and storage medium
CN115086302A (en) * 2022-06-27 2022-09-20 杭州壹悟科技有限公司 Internet of things equipment data transmission optimization method and system, Internet of things equipment and medium
CN116389349A (en) * 2023-06-06 2023-07-04 天翼云科技有限公司 Node autonomous hybrid cloud data transmission method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014071605A1 (en) * 2012-11-09 2014-05-15 华为技术有限公司 Method, forwarding-plane apparatus, and network device for processing packet
CN107306440A (en) * 2016-04-20 2017-10-31 中兴通讯股份有限公司 A kind of internet of things data transmission method and internet-of-things terminal
WO2018121443A1 (en) * 2016-12-30 2018-07-05 中兴通讯股份有限公司 Message transmission method and device
CN108712348A (en) * 2018-05-18 2018-10-26 王逸人 Flow control methods, system, equipment and computer readable storage medium
CN109547356A (en) * 2018-11-26 2019-03-29 国网冀北电力有限公司唐山供电公司 A kind of data transmission method of electrical energy measurement, system, equipment and computer storage medium
US20200245136A1 (en) * 2017-10-16 2020-07-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for identifying encrypted data stream, device, storage medium and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014071605A1 (en) * 2012-11-09 2014-05-15 华为技术有限公司 Method, forwarding-plane apparatus, and network device for processing packet
CN107306440A (en) * 2016-04-20 2017-10-31 中兴通讯股份有限公司 A kind of internet of things data transmission method and internet-of-things terminal
WO2018121443A1 (en) * 2016-12-30 2018-07-05 中兴通讯股份有限公司 Message transmission method and device
US20200245136A1 (en) * 2017-10-16 2020-07-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for identifying encrypted data stream, device, storage medium and system
CN108712348A (en) * 2018-05-18 2018-10-26 王逸人 Flow control methods, system, equipment and computer readable storage medium
CN109547356A (en) * 2018-11-26 2019-03-29 国网冀北电力有限公司唐山供电公司 A kind of data transmission method of electrical energy measurement, system, equipment and computer storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112995693A (en) * 2021-03-04 2021-06-18 深圳市欧瑞博科技股份有限公司 Intelligent processing method of streaming media file, control panel and computer readable storage medium
CN112995693B (en) * 2021-03-04 2023-04-28 深圳市欧瑞博科技股份有限公司 Intelligent processing method of streaming media file, control panel and computer readable storage medium
CN114024787A (en) * 2021-10-08 2022-02-08 中移(杭州)信息技术有限公司 Remote control method, device, equipment and storage medium for smart home
CN114155969A (en) * 2021-11-16 2022-03-08 医渡云(北京)技术有限公司 Medical data acquisition method and device, electronic equipment and storage medium
CN115086302A (en) * 2022-06-27 2022-09-20 杭州壹悟科技有限公司 Internet of things equipment data transmission optimization method and system, Internet of things equipment and medium
CN115086302B (en) * 2022-06-27 2023-06-20 杭州壹悟科技有限公司 Data transmission optimization method and system for Internet of things equipment, internet of things equipment and medium
CN116389349A (en) * 2023-06-06 2023-07-04 天翼云科技有限公司 Node autonomous hybrid cloud data transmission method and system
CN116389349B (en) * 2023-06-06 2023-10-10 天翼云科技有限公司 Node autonomous hybrid cloud data transmission method and system

Similar Documents

Publication Publication Date Title
CN112671661A (en) Internet of things data transmission method and system
CN106850402B (en) Message transmission method and device
US8041303B2 (en) Auto sniffing of carrier performance using reverse round trip time
CN110312147B (en) Method, system and storage medium for service data transmission
CN108494676B (en) Data transmission method, data transmission device, data transceiving equipment, data transceiving system and storage medium
CN107295036B (en) Data sending method and data merging equipment
US20150131445A1 (en) Similarity matching method and related device and communication system
US20210160353A1 (en) Data sending method and device, data receiving method and device, and system
US10817460B2 (en) RDMA data sending and receiving methods, electronic device, and readable storage medium
CN110740481B (en) Data processing method, equipment and computer storage medium based on service quality
CN110120854B (en) Method and device for transmitting data
CN108028841B (en) Method and apparatus for transmitting and receiving data in a communication system
KR102461022B1 (en) Method and Apparatus for Analysis of Log Data
CN109547356B (en) Data transmission method, system and equipment for electric energy metering and computer storage medium
WO2021134418A1 (en) Data checking method and apparatus
CN104702596B (en) A kind of Information hiding based on data packet length and the method and system of transmission
CN108460044B (en) Data processing method and device
CN110661722B (en) Flow control method and device
CN111490907B (en) Method and device for determining VXLAN network performance parameters
CN113259490B (en) Multi-level node network data transmission method based on UDP transmission protocol
CN109525682B (en) Service processing method, device, network element entity and computer readable storage medium
CN113490154B (en) Broadcast data transmission method, device, terminal equipment and storage medium
CN109067922A (en) A kind of data transmission method and device
CN114710426A (en) Method, device, system and related equipment for determining round-trip delay of read operation
CN112003796B (en) Broadcast message processing method, system, equipment and computer 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210416