CN111628996A - Electronic data communication method and system based on Internet of things - Google Patents
Electronic data communication method and system based on Internet of things Download PDFInfo
- Publication number
- CN111628996A CN111628996A CN202010455642.6A CN202010455642A CN111628996A CN 111628996 A CN111628996 A CN 111628996A CN 202010455642 A CN202010455642 A CN 202010455642A CN 111628996 A CN111628996 A CN 111628996A
- Authority
- CN
- China
- Prior art keywords
- electronic data
- internet
- things
- module
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention belongs to the technical field of data communication, and discloses an electronic data communication method and system based on the Internet of things, wherein the electronic data communication system based on the Internet of things comprises: the system comprises an electronic data acquisition module, a data processing module, a main control module, a data encryption module, an internet of things communication module, a network access optimization module, a data decoding module, an electronic data verification module, a data backup module, a data cache module and a display module. The electronic data communication decoding accuracy of the Internet of things can be greatly improved through the decoding module; meanwhile, the problems that in the prior art, a specific electronic database object cannot be backed up or the backup and restoration efficiency is low and electronic data is damaged due to the fact that a physical backup mode and a logical backup mode are simply adopted are solved through the backup module, and the effect of efficiently and nondestructively backing up and restoring the electronic data of the specific electronic database object is achieved.
Description
Technical Field
The invention belongs to the technical field of data communication, and particularly relates to an electronic data communication method and system method based on the Internet of things.
Background
Electronic data (electronic data) refers to objective data including characters, graphic symbols, numbers, letters, and the like, which are formed based on electronic technical means such as computer application, communication, and modern management technology. The internet of things (IOT) is used for collecting any object or process needing monitoring, connection and interaction in real time and collecting various required information such as sound, light, heat, electricity, mechanics, chemistry, biology and position through various devices and technologies such as various information sensors, radio frequency identification technologies, global positioning systems, infrared sensors and laser scanners, and realizing The ubiquitous connection of objects, objects and people through various possible network accesses, and realizing The intelligent sensing, identification and management of The objects and The processes. The internet of things is an information bearer based on the internet, a traditional telecommunication network and the like, and all common physical objects which can be independently addressed form an interconnected network. However, the existing electronic data communication method and system based on the internet of things have poor accuracy in decoding electronic data; meanwhile, the backup efficiency of the electronic data is not high, and the conversion of the floating point number may cause the problem of precision loss.
In summary, the problems and disadvantages of the prior art are: the existing electronic data communication method and system based on the Internet of things have poor accuracy in decoding electronic data; meanwhile, the backup efficiency of the electronic data is not high, and the conversion of the floating point number may cause the problem of precision loss.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an electronic data communication method and system based on the Internet of things.
The invention is realized in such a way that an electronic data communication method based on the Internet of things comprises the following steps:
acquiring electronic data circulated in an Internet of things by using data acquisition equipment through an electronic data acquisition module; and cleaning, extracting and merging the acquired electronic data by using a data processing program through a data processing module.
Controlling the normal work of each module of the electronic data communication system based on the Internet of things by using a host through a main control module; and encrypting the processed electronic data by using an encryption program through a data encryption module.
And thirdly, generating a downlink message of the electronic data communication system based on the Internet of things through an Internet of things communication module, and reading the equipment identifier in the downlink message through an Internet of things gateway.
And step four, determining the type of the Internet of things network of the system according to the equipment identification, mapping the downlink message into an Internet of things protocol message, and sending the Internet of things protocol message to corresponding Internet of things equipment.
And fifthly, matching the corresponding network interface through the Internet of things protocol message of the Internet of things equipment, accessing the Internet of things through the network interface by utilizing the Internet of things communication program, and carrying out Internet of things communication transmission of the encrypted data.
Step six, receiving a certain amount of coded electronic data circulated by the Internet of things by using a decoding program through a data decoding module, wherein the certain amount of coded electronic data is a certain amount of electronic data which is coded by using an error control code; and processing the encoded amount of electronic data using a second predetermined function to generate an output.
A seventh step, in which the second predetermined function corresponds to the first predetermined function, in that the result of processing some of the electronic data encoded using the error control code using the second predetermined function is equal to the result of encoding the result of processing the some of the electronic data using the first predetermined function using the error control code.
And step eight of receiving a 1 st packet group transmitted via a designated 1 st transmission line and a 2 nd packet group transmitted via a designated 2 nd transmission line, the 1 st packet group and the 2 nd packet group each containing encoded electronic data generated by encoding a video signal.
And a ninth step of dividing the encoded electronic data into a plurality of MPUs that are media processing units, each of the MPUs being configured by a plurality of access units that are played back during a predetermined playback period, and storing the encoded electronic data in units of the access units or units obtained by dividing the access units into a plurality of pieces.
Step ten of storing, in the packet included in the 1 st packet group, serial number information indicating a serial number for identifying the MPU to which the access unit stored in the packet belongs, storing, in the packet included in the 2 nd packet group, serial number information indicating a serial number for identifying the MPU to which the access unit stored in the packet belongs, and storing, in the packet included in the 1 st packet group and the packet included in the 2 nd packet group, the serial number information having the same value, among the packets included in the 1 st packet group and the packets included in the 2 nd packet group in which access units reproduced during the same reproduction period are stored.
Step eleven, when decoding a video signal to be reproduced in a certain reproduction period, decoding an access unit to be used for reproduction from among a plurality of access units transmitted using packets of the 1 st packet group and packets of the 2 nd packet group having the same sequence number corresponding to the reproduction period.
Step twelve, optimizing the network access of the Internet of things communication by using an optimization program through a network access optimization module; and verifying the integrity of the encrypted electronic data by using an electronic data verification module and a verification program.
And step thirteen, acquiring electronic data circulated by the Internet of things through a data backup module by using a backup program, analyzing the electronic data, and obtaining an electronic data structure and an electronic data character string of the electronic data, wherein the electronic data structure and the electronic data character string have a first corresponding relation and jointly form the electronic data.
Fourteen, according to the electronic data backup request, identifying a target backup tree matched with the electronic data backup request, wherein the target backup tree comprises at least one node, and different nodes correspond to different electronic data pages.
Fifteenth, according to a backup rule matched with the logical relationship between the electronic data pages corresponding to the target backup tree, backing up the electronic data pages corresponding to the nodes in the target backup tree to obtain backup electronic data pages, wherein the electronic data pages record the position information of the nodes in the target backup tree; and sequentially storing each backup electronic data page in a continuous storage space, wherein the storage sequence carries the logical relationship among the backup electronic data pages.
Sixthly, buffering and storing electronic data circulated in the Internet of things by using a register through a data caching module; and displaying the acquired electronic data based on the Internet of things, the processed electronic data and the real-time data of the verification result by using a display through a display module.
Further, in the third step, the downlink message includes a current state value of a function attribute of the internet of things device and a communication mode of the internet of things device and the internet of things gateway; the method for acquiring the downlink message comprises the following steps:
the gateway of the internet of things inquires the functional entity data and the functional attribute data of the internet of things equipment, the current state value of the functional attribute, the operation authority data configured according to the functional attribute and stores the data in a key value pair mode as the downlink message data of the corresponding equipment.
Further, in the eleventh step, the 1 st coded electronic data transmitted by the 1 st packet group and the 2 nd coded electronic data transmitted by the 2 nd packet group are electronic data for reproducing one video signal using both the 1 st coded electronic data and the 2 nd coded electronic data.
In the eleventh step, the 1 st encoded electronic data transmitted by the 1 st packet group and the 2 nd encoded electronic data transmitted by the 2 nd packet group are electronic data for reproducing a video signal using the 1 st encoded electronic data in the 1 st reproduction period and reproducing a video signal using the 2 nd encoded electronic data in place of the 1 st encoded electronic data in the 2 nd reproduction period.
In the eleventh step, the 1 st coded electronic data transmitted by the 1 st packet group and the 2 nd coded electronic data transmitted by the 2 nd packet group are electronic data for reproducing a video signal using only the 1 st coded electronic data when the 2 nd coded electronic data cannot be acquired at the time of reproduction.
Further, in step fifteen, the backup rule matching the logical relationship between the electronic data pages corresponding to the target backup tree includes:
carrying out a rule of sequential backup on electronic data pages of all son nodes corresponding to a target node and the electronic data pages of the target node, wherein the target node is an intermediate node and/or a root node with the son nodes;
in the continuous storage space, the backup data pages of all son nodes corresponding to the same target node are sequentially stored, the backup electronic data page of the target node is stored at the tail of the storage positions of the backup electronic data pages of all the corresponding son nodes, and the backup electronic data page of the root node is stored at the tail of the storage space.
Further, the backing up the electronic data pages corresponding to the nodes included in the target backup tree according to the backup rule matched with the logical relationship between the electronic data pages corresponding to the target backup tree to obtain backup electronic data pages includes:
setting a first electronic data page corresponding to a root node of the target backup tree as a current page;
acquiring position information recorded in the current page;
if the current page comprises the son pages which are not backed up according to the position information, acquiring one son page which is not backed up in the current page as a new current page according to a set sequence, and returning to execute the operation of acquiring the position information recorded in the current page;
if the current page does not comprise the child pages which are not backed up according to the position information, backing up the current page to obtain a backed-up electronic data page, and when the current page is determined not to be the first electronic data page, setting the parent page of the current page as a new current page, and returning to execute the operation of acquiring the position information recorded in the current page;
and when the current page is determined to be the first electronic data page, completing the backup of the target backup tree.
Another object of the present invention is to provide an internet-of-things-based electronic data communication system using the internet-of-things-based electronic data communication method, including:
the system comprises an electronic data acquisition module, a data processing module, a main control module, a data encryption module, an internet of things communication module, a network access optimization module, a data decoding module, an electronic data verification module, a data backup module, a data cache module and a display module.
The electronic data acquisition module is connected with the main control module and used for acquiring electronic data circulated in the Internet of things through the data acquisition equipment;
the data processing module is connected with the main control module and is used for cleaning, extracting and merging the acquired electronic data through a data processing program;
the main control module is connected with the electronic data acquisition module, the data processing module, the data encryption module, the Internet of things communication module, the network access optimization module, the data decoding module, the electronic data verification module, the data backup module, the data cache module and the display module and is used for controlling the normal work of each module of the electronic data communication system based on the Internet of things through a host;
the data encryption module is connected with the main control module and is used for encrypting the processed electronic data through an encryption program;
the Internet of things communication module is connected with the main control module and used for accessing the Internet of things through a network interface through an Internet of things communication program to carry out Internet of things communication transmission of encrypted data;
the network access optimization module is connected with the main control module and used for optimizing the network access of the internet of things communication through an optimization program;
the data decoding module is connected with the main control module and is used for decoding electronic data circulated in the Internet of things through a decoding program;
the electronic data verification module is connected with the main control module and used for verifying the integrity of the electronic data after encryption processing through a verification program;
the data backup module is connected with the main control module and used for backing up electronic data circulated in the Internet of things through a backup program;
the data caching module is connected with the main control module and used for caching electronic data circulated in the Internet of things through a register;
and the display module is connected with the main control module and used for displaying the acquired electronic data based on the Internet of things, the processed electronic data and the real-time data of the verification result through a display.
It is another object of the present invention to provide a computer program product stored on a computer readable medium, comprising a computer readable program for providing a user input interface for implementing the method of internet of things based electronic data communication when executed on an electronic device.
Another object of the present invention is to provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method for electronic data communication based on the internet of things.
By combining all the technical schemes, the invention has the advantages and positive effects that: the electronic data communication decoding accuracy of the Internet of things can be greatly improved through the decoding module; meanwhile, a target backup tree matched with the electronic data backup request is identified through a backup module, the electronic data pages corresponding to each node in the target backup tree are backed up according to a backup rule matched with the logical relation between the electronic data pages corresponding to the target backup tree to obtain backup electronic data pages, and sequentially storing each backup electronic data page in a continuous storage space, and utilizing the advantage that the electronic data pages which are backed up according to a certain backup rule and stored sequentially can store the logical relationship among the electronic data pages, thereby solving the problem that in the prior art, because a physical backup and logical backup mode is simply adopted, and the problems of incapability of backing up a specific electronic database object, low backing-up and restoring efficiency and electronic data loss are caused, and the effect of backing up and restoring electronic data of the specific electronic database object efficiently and losslessly is realized.
Drawings
Fig. 1 is a flowchart of an electronic data communication method based on the internet of things according to an embodiment of the present invention.
FIG. 2 is a block diagram of an electronic data communication system based on the Internet of things according to an embodiment of the present invention;
in the figure: 1. an electronic data acquisition module; 2. a data processing module; 3. a main control module; 4. a data encryption module; 5. an Internet of things communication module; 6. a network access optimization module; 7. a data decoding module; 8. an electronic data verification module; 9. a data backup module; 10. a data caching module; 11. and a display module.
Fig. 3 is a flowchart of a method for performing internet of things communication transmission of encrypted data by accessing an internet of things through a network interface through an internet of things communication program according to an embodiment of the present invention.
Fig. 4 is a flowchart of a method for decoding electronic data circulated in the internet of things by using a decoding program according to an embodiment of the present invention.
Fig. 5 is a flowchart of a method for backing up electronic data circulated in the internet of things through a backup program according to an embodiment of the present invention.
Detailed Description
In order to further understand the contents, features and effects of the present invention, the following embodiments are illustrated and described in detail with reference to the accompanying drawings.
The structure of the present invention will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, an electronic data communication method based on the internet of things provided by the embodiment of the present invention includes the following steps:
s101, acquiring electronic data based on the Internet of things by using data acquisition equipment through an electronic data acquisition module; and cleaning, extracting and merging the acquired electronic data by using a data processing program through a data processing module.
S102, controlling the normal work of each module of the electronic data communication system based on the Internet of things by using a host through a main control module; and encrypting the processed electronic data by using an encryption program through a data encryption module.
And S103, accessing the Internet of things through the Internet of things communication module by utilizing the Internet of things communication program and utilizing the network interface to carry out Internet of things communication transmission of encrypted data.
S104, optimizing the network access of the Internet of things communication by utilizing an optimization program through a network access optimization module; and decoding electronic data circulated in the Internet of things by using a decoding program through a data decoding module.
And S105, verifying the integrity of the electronic data after the encryption processing by using a verification program through an electronic data verification module.
S106, backing up electronic data circulated in the Internet of things by using a backup program through a data backup module; and the data caching module is used for caching the electronic data circulated in the Internet of things by using a register.
And S107, displaying the acquired electronic data based on the Internet of things, the processed electronic data and the real-time data of the verification result by using a display through a display module.
As shown in fig. 2, an electronic data communication system based on the internet of things according to an embodiment of the present invention includes: the system comprises an electronic data acquisition module 1, a data processing module 2, a main control module 3, a data encryption module 4, an internet of things communication module 5, a network access optimization module 6, a data decoding module 7, an electronic data verification module 8, a data backup module 9, a data cache module 10 and a display module 11.
The electronic data acquisition module 1 is connected with the main control module 3 and used for acquiring electronic data circulated in the Internet of things through data acquisition equipment;
the data processing module 2 is connected with the main control module 3 and is used for cleaning, extracting and merging the acquired electronic data through a data processing program;
the main control module 3 is connected with the electronic data acquisition module 1, the data processing module 2, the data encryption module 4, the internet of things communication module 5, the network access optimization module 6, the data decoding module 7, the electronic data verification module 8, the data backup module 9, the data cache module 10 and the display module 11, and is used for controlling the normal work of each module of the electronic data communication system based on the internet of things through a host;
the data encryption module 4 is connected with the main control module 3 and is used for encrypting the processed electronic data through an encryption program;
the internet of things communication module 5 is connected with the main control module 3 and used for accessing the internet of things through a network interface through an internet of things communication program to carry out internet of things communication transmission of encrypted data;
the network access optimization module 6 is connected with the main control module 3 and used for optimizing the network access of the internet of things communication through an optimization program;
the data decoding module 7 is connected with the main control module 3 and is used for decoding electronic data circulated in the Internet of things through a decoding program;
the electronic data verification module 8 is connected with the main control module 3 and used for verifying the integrity of the electronic data after encryption processing through a verification program;
the data backup module 9 is connected with the main control module 3 and used for backing up electronic data circulated in the Internet of things through a backup program;
the data caching module 10 is connected with the main control module 3 and used for caching electronic data circulated in the Internet of things through a register;
and the display module 11 is connected with the main control module 3 and is used for displaying the acquired electronic data based on the internet of things, the processed electronic data and the real-time data of the verification result through a display.
The invention is further described with reference to specific examples.
Example 1
As shown in fig. 1 and fig. 3, the method for electronic data communication based on the internet of things according to the embodiment of the present invention for accessing the internet of things through a network interface through an internet of things communication program to perform internet of things communication transmission of encrypted data includes:
s201, generating a downlink message of the electronic data communication system based on the Internet of things through an Internet of things communication module, and reading a device identifier in the downlink message through an Internet of things gateway.
S202, determining the type of the Internet of things network of the system according to the equipment identifier, mapping the downlink message into an Internet of things protocol message, and sending the Internet of things protocol message to corresponding Internet of things equipment.
And S203, matching the corresponding network interface through the Internet of things protocol message of the Internet of things equipment, accessing the Internet of things through the network interface by utilizing the Internet of things communication program, and performing Internet of things communication transmission of encrypted data.
The downlink message provided by the embodiment of the invention comprises the current state value of the function attribute of the internet of things equipment and the communication mode of the internet of things equipment and the internet of things gateway; the method for acquiring the downlink message comprises the following steps: the gateway of the internet of things inquires the functional entity data and the functional attribute data of the internet of things equipment, the current state value of the functional attribute, the operation authority data configured according to the functional attribute and stores the data in a key value pair mode as the downlink message data of the corresponding equipment.
Example 2
As shown in fig. 1 and fig. 4 as a preferred embodiment, the method for decoding electronic data circulated in the internet of things by using a decoding program according to an embodiment of the present invention includes:
s301, receiving a certain amount of encoded electronic data, wherein the certain amount of encoded electronic data is the certain amount of electronic data which is encoded by using an error control code; and processing the encoded amount of electronic data using a second predetermined function to generate an output.
S302, the second predetermined function corresponds to the first predetermined function in that a result of processing some of the electronic data encoded using the error control code using the second predetermined function is equal to a result of encoding a result of processing the some of the electronic data using the first predetermined function using the error control code.
S303, receiving a 1 st packet group transmitted via a 1 st transmission line and a 2 nd packet group transmitted via a 2 nd transmission line, the 1 st packet group and the 2 nd packet group each containing encoded electronic data generated by encoding a video signal.
And S304, the encoded electronic data is divided into MPUs that are media processing units, each of the MPUs is configured by a plurality of access units that are played back during a predetermined playback period, and the encoded electronic data is stored in the package in units of the access units or in units obtained by dividing the access units into a plurality of access units.
S305 storing, in the packet included in the 1 st packet group, serial number information indicating a serial number for identifying the MPU to which the access unit stored in the packet belongs, storing, in the packet included in the 2 nd packet group, serial number information indicating a serial number for identifying the MPU to which the access unit stored in the packet belongs, and storing, in the packet included in the 1 st packet group and the packet included in the 2 nd packet group, the serial number information having the same value, in the packet stored with the access unit reproduced in the same reproduction period.
And S306, when decoding the video signal reproduced in a certain reproduction period, decoding an access unit used for reproduction from among a plurality of access units transmitted by the packet of the 1 st packet group and the packet of the 2 nd packet group having the same sequence number corresponding to the reproduction period.
The 1 st coded electronic data transmitted by the 1 st packet group and the 2 nd coded electronic data transmitted by the 2 nd packet group according to the embodiment of the present invention are electronic data for reproducing one video signal using both the 1 st coded electronic data and the 2 nd coded electronic data.
The 1 st encoded electronic data transmitted by the 1 st packet group and the 2 nd encoded electronic data transmitted by the 2 nd packet group according to the embodiment of the present invention are electronic data for reproducing a video signal using the 1 st encoded electronic data in the 1 st reproduction period and reproducing a video signal using the 2 nd encoded electronic data in place of the 1 st encoded data in the 2 nd reproduction period.
The 1 st encoded electronic data transmitted by the 1 st packet group and the 2 nd encoded electronic data transmitted by the 2 nd packet group according to the embodiment of the present invention are electronic data for reproducing a video signal using only the 1 st encoded electronic data when the 2 nd encoded electronic data is not obtained at the time of reproduction.
Example 3
As shown in fig. 1 and fig. 5 as a preferred embodiment, the method for backing up electronic data circulated in the internet of things by a backup program according to an embodiment of the present invention includes:
s401, obtaining electronic data; and analyzing the electronic data to obtain an electronic data structure and an electronic data character string of the electronic data, wherein the electronic data structure and the electronic data character string have a first corresponding relation and jointly form the electronic data.
S402, according to the electronic data backup request, identifying a target backup tree matched with the electronic data backup request, wherein the target backup tree comprises at least one node, and different nodes correspond to different electronic data pages.
S403, according to a backup rule matched with the logical relationship between the electronic data pages corresponding to the target backup tree, backing up the electronic data pages corresponding to the nodes in the target backup tree to obtain backup electronic data pages, wherein the electronic data pages record the position information of the nodes in the target backup tree.
S404, sequentially storing each backup electronic data page in a continuous storage space, wherein the storage sequence carries the logical relationship among the backup electronic data pages.
The backup rule matched with the logical relationship between the electronic data pages corresponding to the target backup tree provided by the embodiment of the invention comprises the following steps:
carrying out a rule of sequential backup on electronic data pages of all son nodes corresponding to a target node and the electronic data pages of the target node, wherein the target node is an intermediate node and/or a root node with the son nodes;
in the continuous storage space, the backup data pages of all son nodes corresponding to the same target node are sequentially stored, the backup electronic data page of the target node is stored at the tail of the storage positions of the backup electronic data pages of all the corresponding son nodes, and the backup electronic data page of the root node is stored at the tail of the storage space.
The embodiment of the present invention provides a method for backing up electronic data pages corresponding to each node in a target backup tree according to a backup rule matched with a logical relationship between the electronic data pages corresponding to the target backup tree, so as to obtain backup electronic data pages, including:
setting a first electronic data page corresponding to a root node of the target backup tree as a current page;
acquiring position information recorded in the current page;
if the current page comprises the son pages which are not backed up according to the position information, acquiring one son page which is not backed up in the current page as a new current page according to a set sequence, and returning to execute the operation of acquiring the position information recorded in the current page;
if the current page does not comprise the child pages which are not backed up according to the position information, backing up the current page to obtain a backed-up electronic data page, and when the current page is determined not to be the first electronic data page, setting the parent page of the current page as a new current page, and returning to execute the operation of acquiring the position information recorded in the current page;
and when the current page is determined to be the first electronic data page, completing the backup of the target backup tree.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When used in whole or in part, can be implemented in a computer program product that includes one or more computer instructions. When loaded or executed on a computer, cause the flow or functions according to embodiments of the invention to occur, in whole or in part. 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 in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL), or wireless (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, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the purpose of illustrating the present invention and the appended claims are not to be construed as limiting the scope of the invention, which is intended to cover all modifications, equivalents and improvements that are within the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. An electronic data communication method based on the Internet of things is characterized by comprising the following steps:
acquiring electronic data circulated in an Internet of things by using data acquisition equipment through an electronic data acquisition module; the collected electronic data is cleaned, extracted and combined by a data processing program through a data processing module;
controlling the normal work of each module of the electronic data communication system based on the Internet of things by using a host through a main control module; encrypting the processed electronic data by using an encryption program through a data encryption module;
generating a downlink message of the electronic data communication system based on the Internet of things through an Internet of things communication module, and reading a device identifier in the downlink message through an Internet of things gateway;
step four, determining the type of the internet of things of the system according to the equipment identification, mapping the downlink message into an internet of things protocol message, and sending the internet of things protocol message to corresponding internet of things equipment;
matching a corresponding network interface through an Internet of things protocol message of the Internet of things equipment, accessing the Internet of things through the network interface by utilizing an Internet of things communication program, and carrying out Internet of things communication transmission of encrypted data;
step six, receiving a certain amount of coded electronic data circulated by the Internet of things by using a decoding program through a data decoding module, wherein the certain amount of coded electronic data is a certain amount of electronic data which is coded by using an error control code; and processing the encoded quantity of electronic data using a second predetermined function to generate an output;
a seventh step of the second predetermined function corresponding to the first predetermined function in that a result of processing some of the electronic data encoded using the error control code using the second predetermined function is equal to a result of encoding a result of processing the some of the electronic data using the first predetermined function using the error control code;
step eight of receiving a 1 st packet group transmitted via a designated 1 st transmission line and a 2 nd packet group transmitted via a designated 2 nd transmission line, the 1 st packet group and the 2 nd packet group each containing encoded electronic data generated by encoding a video signal;
a ninth step of dividing the encoded electronic data into a plurality of MPUs that are media processing units, each of the MPUs being configured by a plurality of access units that are played back during a predetermined playback period, the encoded electronic data being stored in the package in units of the access units or in units of a plurality of access units;
a tenth step of storing, in the packet included in the 1 st packet group, serial number information indicating a serial number for identifying the MPU to which the access unit stored in the packet belongs, storing, in the packet included in the 2 nd packet group, serial number information indicating a serial number for identifying the MPU to which the access unit stored in the packet belongs, and storing, in the packet included in the 1 st packet group and the packet included in the 2 nd packet group, the serial number information having the same value, among the packets included in the 1 st packet group and the packets included in the 2 nd packet group in which access units that are reproduced during the same reproduction period are stored;
a step eleventh of decoding, when decoding a video signal to be reproduced in a certain reproduction period, an access unit to be used for reproduction from among a plurality of access units transmitted using packets of the 1 st packet group and packets of the 2 nd packet group having the same sequence number corresponding to the reproduction period;
step twelve, optimizing the network access of the Internet of things communication by using an optimization program through a network access optimization module; verifying the integrity of the encrypted electronic data by using a verification program through an electronic data verification module;
step thirteen, acquiring electronic data circulated by the Internet of things by using a backup program through a data backup module, analyzing the electronic data to obtain an electronic data structure and an electronic data character string of the electronic data, wherein the electronic data structure and the electronic data character string have a first corresponding relation and jointly form the electronic data;
fourteen, according to the electronic data backup request, identifying a target backup tree matched with the electronic data backup request, wherein the target backup tree comprises at least one node, and different nodes correspond to different electronic data pages;
fifteenth, according to a backup rule matched with the logical relationship between the electronic data pages corresponding to the target backup tree, backing up the electronic data pages corresponding to the nodes in the target backup tree to obtain backup electronic data pages, wherein the electronic data pages record the position information of the nodes in the target backup tree; sequentially storing each backup electronic data page in a continuous storage space, wherein the storage sequence carries the logical relationship among the backup electronic data pages;
sixthly, buffering and storing electronic data circulated in the Internet of things by using a register through a data caching module; and displaying the acquired electronic data based on the Internet of things, the processed electronic data and the real-time data of the verification result by using a display through a display module.
2. The electronic data communication method based on the internet of things of claim 1, wherein in step three, the downlink message includes a current state value of a function attribute of the internet of things device and a communication mode of the internet of things device and the internet of things gateway; the method for acquiring the downlink message comprises the following steps:
the gateway of the internet of things inquires the functional entity data and the functional attribute data of the internet of things equipment, the current state value of the functional attribute, the operation authority data configured according to the functional attribute and stores the data in a key value pair mode as the downlink message data of the corresponding equipment.
3. The internet-of-things-based electronic data communication method according to claim 1, wherein in step eleven, the 1 st coded electronic data transmitted by the 1 st packet group and the 2 nd coded electronic data transmitted by the 2 nd packet group are electronic data for reproducing one video signal using both the 1 st coded electronic data and the 2 nd coded electronic data.
4. The internet-of-things-based electronic data communication method according to claim 1, wherein in step eleven, the 1 st encoded electronic data transmitted with the 1 st packet group and the 2 nd encoded electronic data transmitted with the 2 nd packet group are electronic data for reproducing a video signal using the 1 st encoded electronic data in a 1 st reproduction period and reproducing a video signal using the 2 nd encoded electronic data in place of the 1 st encoded data in a 2 nd reproduction period.
5. The internet-of-things-based electronic data communication method according to claim 1, wherein in step eleven, the 1 st coded electronic data transmitted by the 1 st packet group and the 2 nd coded electronic data transmitted by the 2 nd packet group are electronic data for reproducing a video signal using only the 1 st coded electronic data when the 2 nd coded electronic data is not obtained at the time of reproduction.
6. The internet-of-things-based electronic data communication method of claim 1, wherein in step fifteen, the backup rules that match the logical relationship between the electronic data pages corresponding to the target backup tree include:
carrying out a rule of sequential backup on electronic data pages of all son nodes corresponding to a target node and the electronic data pages of the target node, wherein the target node is an intermediate node and/or a root node with the son nodes;
in the continuous storage space, the backup data pages of all son nodes corresponding to the same target node are sequentially stored, the backup electronic data page of the target node is stored at the tail of the storage positions of the backup electronic data pages of all the corresponding son nodes, and the backup electronic data page of the root node is stored at the tail of the storage space.
7. The electronic data communication method based on the internet of things as claimed in claim 6, wherein the backing up the electronic data pages corresponding to the nodes included in the target backup tree according to the backup rule matched with the logical relationship between the electronic data pages corresponding to the target backup tree to obtain backed up electronic data pages comprises:
setting a first electronic data page corresponding to a root node of the target backup tree as a current page;
acquiring position information recorded in the current page;
if the current page comprises the son pages which are not backed up according to the position information, acquiring one son page which is not backed up in the current page as a new current page according to a set sequence, and returning to execute the operation of acquiring the position information recorded in the current page;
if the current page does not comprise the child pages which are not backed up according to the position information, backing up the current page to obtain a backed-up electronic data page, and when the current page is determined not to be the first electronic data page, setting the parent page of the current page as a new current page, and returning to execute the operation of acquiring the position information recorded in the current page;
and when the current page is determined to be the first electronic data page, completing the backup of the target backup tree.
8. An internet-of-things-based electronic data communication system applying the internet-of-things-based electronic data communication method according to any one of claims 1 to 7, the internet-of-things-based electronic data communication system comprising:
the system comprises an electronic data acquisition module, a data processing module, a main control module, a data encryption module, an internet of things communication module, a network access optimization module, a data decoding module, an electronic data verification module, a data backup module, a data cache module and a display module;
the electronic data acquisition module is connected with the main control module and used for acquiring electronic data circulated in the Internet of things through the data acquisition equipment;
the data processing module is connected with the main control module and is used for cleaning, extracting and merging the acquired electronic data through a data processing program;
the main control module is connected with the electronic data acquisition module, the data processing module, the data encryption module, the Internet of things communication module, the network access optimization module, the data decoding module, the electronic data verification module, the data backup module, the data cache module and the display module and is used for controlling the normal work of each module of the electronic data communication system based on the Internet of things through a host;
the data encryption module is connected with the main control module and is used for encrypting the processed electronic data through an encryption program;
the Internet of things communication module is connected with the main control module and used for accessing the Internet of things through a network interface through an Internet of things communication program to carry out Internet of things communication transmission of encrypted data;
the network access optimization module is connected with the main control module and used for optimizing the network access of the internet of things communication through an optimization program;
the data decoding module is connected with the main control module and is used for decoding electronic data circulated in the Internet of things through a decoding program;
the electronic data verification module is connected with the main control module and used for verifying the integrity of the electronic data after encryption processing through a verification program;
the data backup module is connected with the main control module and used for backing up electronic data circulated in the Internet of things through a backup program;
the data caching module is connected with the main control module and used for caching electronic data circulated in the Internet of things through a register;
and the display module is connected with the main control module and used for displaying the acquired electronic data based on the Internet of things, the processed electronic data and the real-time data of the verification result through a display.
9. A computer program product stored on a computer readable medium, comprising a computer readable program for providing a user input interface for implementing the method of internet of things based electronic data communication of any one of claims 1 to 7 when executed on an electronic device.
10. A computer-readable storage medium storing instructions which, when executed on a computer, cause the computer to perform the method of internet-of-things-based electronic data communication according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010455642.6A CN111628996A (en) | 2020-05-26 | 2020-05-26 | Electronic data communication method and system based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010455642.6A CN111628996A (en) | 2020-05-26 | 2020-05-26 | Electronic data communication method and system based on Internet of things |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111628996A true CN111628996A (en) | 2020-09-04 |
Family
ID=72259918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010455642.6A Pending CN111628996A (en) | 2020-05-26 | 2020-05-26 | Electronic data communication method and system based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111628996A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506704A (en) * | 2020-12-05 | 2021-03-16 | 广州技象科技有限公司 | Configuration information backup method and device for gateway of Internet of things |
CN112612643A (en) * | 2020-12-21 | 2021-04-06 | 武汉天宫北斗科技有限公司 | High-precision deformation monitoring data storage system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104769675A (en) * | 2013-03-27 | 2015-07-08 | 爱迪德技术有限公司 | Data processing |
CN108446187A (en) * | 2018-03-07 | 2018-08-24 | 上海达梦数据库有限公司 | Data back up method and data restoration method |
EP3486827A1 (en) * | 2017-11-16 | 2019-05-22 | Giesecke+Devrient Mobile Security GmbH | "window-of-time" encryption session key transference |
CN109889888A (en) * | 2013-06-05 | 2019-06-14 | 太阳专利托管公司 | Data decoding method, data deciphering device and data transmission method for uplink |
CN109922150A (en) * | 2019-03-07 | 2019-06-21 | 深圳市简智联信息科技有限公司 | Virtual device information processing method, device, gateway of internet of things and Internet of Things communication system |
CN110300122A (en) * | 2019-07-25 | 2019-10-01 | 陈蔚 | A kind of Internet of Things electronic information processing system and method |
-
2020
- 2020-05-26 CN CN202010455642.6A patent/CN111628996A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104769675A (en) * | 2013-03-27 | 2015-07-08 | 爱迪德技术有限公司 | Data processing |
CN109889888A (en) * | 2013-06-05 | 2019-06-14 | 太阳专利托管公司 | Data decoding method, data deciphering device and data transmission method for uplink |
EP3486827A1 (en) * | 2017-11-16 | 2019-05-22 | Giesecke+Devrient Mobile Security GmbH | "window-of-time" encryption session key transference |
CN108446187A (en) * | 2018-03-07 | 2018-08-24 | 上海达梦数据库有限公司 | Data back up method and data restoration method |
CN109922150A (en) * | 2019-03-07 | 2019-06-21 | 深圳市简智联信息科技有限公司 | Virtual device information processing method, device, gateway of internet of things and Internet of Things communication system |
CN110300122A (en) * | 2019-07-25 | 2019-10-01 | 陈蔚 | A kind of Internet of Things electronic information processing system and method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506704A (en) * | 2020-12-05 | 2021-03-16 | 广州技象科技有限公司 | Configuration information backup method and device for gateway of Internet of things |
CN112506704B (en) * | 2020-12-05 | 2022-01-18 | 广州技象科技有限公司 | Configuration information backup method and device for gateway of Internet of things |
CN112612643A (en) * | 2020-12-21 | 2021-04-06 | 武汉天宫北斗科技有限公司 | High-precision deformation monitoring data storage system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109254733B (en) | Method, device and system for storing data | |
CN108681565B (en) | Block chain data parallel processing method, device, equipment and storage medium | |
CN111258978B (en) | Data storage method | |
CN107798063B (en) | Snapshot processing method and snapshot processing device | |
CN112912870B (en) | Conversion of tenant identifiers | |
CN109918352B (en) | Memory system and method of storing data | |
CN111628996A (en) | Electronic data communication method and system based on Internet of things | |
CN110851535B (en) | Data processing method and device based on block chain, storage medium and terminal | |
CN110597453A (en) | Video data storage method and device in cloud storage system | |
CN112925759A (en) | Data file processing method and device, storage medium and electronic device | |
CN115756955A (en) | Data backup and data recovery method and device and computer equipment | |
TW201335779A (en) | File synchronization system and method | |
CN104077082A (en) | Network voting data storage method and device | |
CN113268506B (en) | Query method and device of cache database, electronic equipment and readable storage medium | |
CN109902070B (en) | WiFi log data-oriented analysis storage search method | |
CN109657167B (en) | Data acquisition method, device, server and storage medium | |
WO2024119760A1 (en) | Volume creation method and apparatus, volume read-write method and apparatus, and electronic device | |
US11281532B1 (en) | Synchronously storing data in a dispersed storage network | |
CN117349291A (en) | Database primary key short ID generation method, electronic equipment and medium | |
CN106708445A (en) | Link selection method and device | |
CN112394876A (en) | Large file storage/reading method, storage/reading device and computer equipment | |
CN113763596B (en) | Airborne heterogeneous network data recording method | |
CN115981559A (en) | Distributed data storage method and device, electronic equipment and readable medium | |
CN112799872B (en) | Erasure code encoding method and device based on key value pair storage system | |
CN115454717A (en) | Database real-time backup method and device, computer 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200904 |