CN112506703A - Backup method and device for configuration information of terminal of Internet of things - Google Patents

Backup method and device for configuration information of terminal of Internet of things Download PDF

Info

Publication number
CN112506703A
CN112506703A CN202011405041.0A CN202011405041A CN112506703A CN 112506703 A CN112506703 A CN 112506703A CN 202011405041 A CN202011405041 A CN 202011405041A CN 112506703 A CN112506703 A CN 112506703A
Authority
CN
China
Prior art keywords
internet
terminal
things
configuration data
things terminal
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.)
Granted
Application number
CN202011405041.0A
Other languages
Chinese (zh)
Other versions
CN112506703B (en
Inventor
郑凛
林英喜
温文坤
陈杰文
陈名峰
刘毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202011405041.0A priority Critical patent/CN112506703B/en
Publication of CN112506703A publication Critical patent/CN112506703A/en
Application granted granted Critical
Publication of CN112506703B publication Critical patent/CN112506703B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/75Information technology; Communication
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a method and a device for backing up configuration information of an Internet of things terminal. According to the technical scheme, a plurality of configuration data packets are generated through a first internet of things terminal based on configuration information of the first internet of things terminal, the configuration data packets contain mutually redundant configuration information, the configuration data packets are distributed and stored to a plurality of second internet of things terminals in the communication range of the first internet of things terminal, the configuration data packets are updated in real time according to modification or new addition of the configuration information, the configuration data packets stored by the second internet of things terminals are extracted through a new terminal when the new terminal replaces the first internet of things terminal to access the network, and the configuration information is generated based on the configuration data packets and self operation parameter configuration is carried out. By adopting the technical means, the safe redundant backup of the configuration information of the terminal of the Internet of things can be guaranteed, the situation that the configuration information is lost or easily stolen is avoided, and the configuration efficiency of the operation parameters of the system is improved.

Description

Backup method and device for configuration information of terminal of Internet of things
Technical Field
The embodiment of the application relates to the technical field of internet of things, in particular to a method and a device for backing up configuration information of an internet of things terminal.
Background
At present, the technology of the internet of things is applied to building a communication network in various fields in life. Generally, in the internet of things systems in these fields, various wireless networking modes are generally used, networking is performed in a certain area range, then a plurality of data concentrators or intelligent gateways are arranged at appropriate positions, and each terminal of the internet of things selects a corresponding gateway as a communication relay to perform service data interaction with a cloud. The internet of things terminal can generate relevant configuration information in the running and using process, and the configuration information is generally backed up at a cloud end or an internet of things gateway in order to ensure that the configuration information is not lost. However, once the cloud or the internet of things gateway is attacked by the network, the configuration information of the internet of things terminal is easily lost, and the operation of the internet of things system is affected.
Disclosure of Invention
The embodiment of the application provides a method and a device for backing up configuration information of an internet of things terminal, which can ensure safe redundant backup of the configuration information of the internet of things terminal, avoid the situation that the configuration information is lost or easily stolen, and improve the configuration efficiency of system operation parameters.
In a first aspect, an embodiment of the present application provides a method for backing up configuration information of an internet of things terminal, including:
the method comprises the steps that a first Internet of things terminal generates a plurality of configuration data packets based on configuration information of the first Internet of things terminal, the configuration data packets contain mutually redundant configuration information, and the configuration data packets are distributed and stored to a plurality of second Internet of things terminals in a communication range of the first Internet of things terminal;
when the first internet of things terminal detects that the corresponding configuration information is modified, generating a new configuration data packet based on the modified configuration information and updating the new configuration data packet to the corresponding second internet of things terminal; when the first internet of things terminal detects the newly generated configuration information, one second internet of things terminal is correspondingly selected according to the storage state of each second internet of things terminal to the configuration data packet to send the newly generated configuration data packet;
when a new terminal replaces the first internet of things terminal to access the network, the new terminal extracts the configuration data packets stored by the second internet of things terminals, generates configuration information based on the configuration data packets and configures the operation parameters of the new terminal.
Further, after the distributing and storing the plurality of configuration data packets to a plurality of second internet-of-things terminals within the communication range of the first internet-of-things terminal, the method further includes:
and binding the label information of each configuration data packet with the identification information of the corresponding second internet of things terminal to generate index information, storing the index information in the first internet of things terminal, and using the index information as a data index for extracting the corresponding configuration data packet.
Further, after the tag information of each configuration data packet is bound with the identification information of the corresponding second internet-of-things terminal to generate index information and stored in the first internet-of-things terminal, the method further includes:
and backing up the index information to an Internet of things gateway to which the first Internet of things terminal belongs.
Further, when a new terminal replaces the first internet of things terminal to access the network, the new terminal extracts the configuration data packet stored by each second internet of things terminal, including:
and the new terminal downloads the index information from the gateway of the Internet of things, and requests the corresponding configuration data packet from each second networking terminal based on the index information.
Further, generating configuration information based on the configuration data packet and performing self-operation parameter configuration, including:
and analyzing each configuration data packet to obtain corresponding configuration information, screening out redundant configuration information and configuring the running parameters of the configuration data packet.
Further, after the distributing and storing the plurality of configuration data packets to a plurality of second internet-of-things terminals within the communication range of the first internet-of-things terminal, the method further includes:
and when the second internet of things terminal is replaced, returning the corresponding configuration data packet to the first internet of things terminal, and redistributing the corresponding configuration data packet by the first internet of things terminal.
Further, the distributing and storing the plurality of configuration data packets to a plurality of second internet-of-things terminals within the communication range of the first internet-of-things terminal further includes:
and the first Internet of things terminal encrypts the configuration data packet by using a preset asymmetric encryption key, and reserves the corresponding asymmetric decryption key for decrypting the configuration data packet.
In a second aspect, an embodiment of the present application provides a device for backing up configuration information of an internet of things terminal, including:
the storage module is used for generating a plurality of configuration data packets through a first internet of things terminal based on self configuration information, wherein the configuration data packets contain mutually redundant configuration information, and the configuration data packets are distributed and stored to a plurality of second internet of things terminals in a communication range of the first internet of things terminal;
the updating module is used for generating a new configuration data packet based on the modified configuration information and updating the new configuration data packet to the corresponding second internet-of-things terminal when the modification of the corresponding configuration information is detected by the first internet-of-things terminal; when the first internet of things terminal detects the newly generated configuration information, one second internet of things terminal is correspondingly selected according to the storage state of each second internet of things terminal to the configuration data packet to send the newly generated configuration data packet;
and the configuration module is used for extracting the configuration data packets stored by each second networking terminal through the new terminal when the new terminal replaces the first networking terminal to access the network, generating configuration information based on the configuration data packets and configuring the operation parameters of the new terminal.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for backing up the configuration information of the terminal of the internet of things according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for backing up configuration information of an internet of things terminal according to the first aspect.
According to the embodiment of the application, a plurality of configuration data packets are generated through a first Internet of things terminal based on configuration information of the first Internet of things terminal, the configuration data packets contain mutually redundant configuration information, the configuration data packets are distributed and stored to a plurality of second Internet of things terminals in a communication range of the first Internet of things terminal, when modification of corresponding configuration information is detected, a new configuration data packet is generated based on the modified configuration information and is updated to the corresponding second Internet of things terminal, and when the newly generated configuration information is detected, one second Internet of things terminal is correspondingly selected according to the storage state of each second Internet of things terminal to the configuration data packet to send the newly generated configuration data packet. And subsequently, when the new terminal replaces the first internet of things terminal to access the network, extracting the configuration data packet stored by each second internet of things terminal through the new terminal, generating configuration information based on the configuration data packet and configuring the operation parameters of the new terminal. By adopting the technical means, the safe redundant backup of the configuration information of the terminal of the Internet of things can be guaranteed, the situation that the configuration information is lost or easily stolen is avoided, and the configuration efficiency of the operation parameters of the system is improved.
Drawings
Fig. 1 is a flowchart of a method for backing up configuration information of an internet of things terminal according to an embodiment of the present application;
FIG. 2 is a schematic diagram of configuration data packet storage according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a corresponding configuration data packet update according to an embodiment of the present application;
fig. 4 is a schematic diagram of configuration packet extraction of a new terminal in the first embodiment of the present application;
FIG. 5 is a flowchart illustrating configuration information backup and configuration according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a backup device for configuration information of an internet of things terminal according to a second embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to a third embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The first embodiment is as follows:
fig. 1 is a flowchart of a method for backing up configuration information of an internet of things terminal provided in an embodiment of the present application, where the method for backing up configuration information of an internet of things terminal provided in this embodiment may be executed by a device for backing up configuration information of an internet of things terminal, the device for backing up configuration information of an internet of things terminal may be implemented in a software and/or hardware manner, and the device for backing up configuration information of an internet of things terminal may be formed by two or more physical entities or may be formed by one physical entity. Generally, the backup device of the terminal configuration information of the internet of things may be an internet of things system.
The following description will be given by taking an internet of things system as an example of a main body of a method for executing backup of configuration information of an internet of things terminal. Referring to fig. 1, the method for backing up the configuration information of the terminal of the internet of things specifically includes:
s110, the first Internet of things terminal generates a plurality of configuration data packets based on configuration information of the first Internet of things terminal, the configuration data packets contain the mutually redundant configuration information, and the configuration data packets are distributed and stored to a plurality of second Internet of things terminals in the communication range of the first Internet of things terminal.
The method for backing up the configuration information of the terminal of the internet of things aims to avoid the situation that the configuration information is lost and facilitate the configuration of the running parameters of equipment during the replacement of subsequent terminal equipment by backing up the configuration information of the terminal of the internet of things. Moreover, when the configuration information is backed up, the configuration information is distributed and backed up to the plurality of internet of things terminals, so that the condition that the configuration information is easily stolen due to centralized backup of the configuration information can be avoided, and the security of the configuration information backup is improved.
Specifically, referring to fig. 2, in the internet of things system according to the embodiment of the present application, a first internet of things terminal 11 is in signal connection with an internet of things gateway 10 to which the first internet of things terminal belongs and second internet of things terminals 12 and 13. In addition, the configuration data packets contain mutually redundant partial configuration information, so that when one configuration data packet is lost, the lost configuration information can be supplemented by the redundant information of other configuration data packets. In an embodiment, the first internet of things terminal may also preferentially select a plurality of second internet of things terminals with better communication quality or larger memory resources from the plurality of second internet of things terminals to store the configuration data packets, wherein the configuration data packets of the corresponding number are generated according to the number of the selected second internet of things terminals.
Further, a plurality of correspondingly generated configuration data packets are sent to the corresponding second networking terminals for distributed storage, generally speaking, the configuration data packets stored by each second networking terminal include a part of all configuration information of the first networking terminal, and redundant parts exist in all the configuration information, so that distributed storage of the configuration information is guaranteed, and the problem of incomplete configuration information caused by loss of a single configuration data packet is solved.
In one embodiment, after a first internet of things terminal distributes and stores a plurality of configuration data packets to a plurality of second internet of things terminals within a communication range of the first internet of things terminal, label information of each configuration data packet is bound with identification information of the corresponding second internet of things terminal to generate index information, and the index information is stored in the first internet of things terminal and used as a data index for extracting the corresponding configuration data packet. It can be understood that the index information is generated by binding the tag information of each configuration data packet with the identification information of the corresponding second networking terminal, and the corresponding configuration data packet needs to be extracted subsequently, the index information is queried according to the tag information of the configuration data packet, the identification information of the corresponding second networking terminal is determined, and the configuration data packet is requested to be extracted from the second networking terminal according to the identification information, so that the configuration data packet can be conveniently stored and extracted.
Further, as shown in fig. 2, after the first internet of things terminal 11 binds the tag information of each configuration data packet with the corresponding identification information of the second internet of things terminal to generate index information and stores the index information in the first internet of things terminal 11, the index information is also backed up to the internet of things gateway 10 to which the first internet of things terminal 11 belongs. By backing up the index information to the gateway of the Internet of things, the condition that the index information is lost due to upgrading, replacing and the like of the first terminal equipment of the Internet of things is avoided, and subsequent extraction of the configuration information corresponding to the terminal equipment is facilitated.
In one embodiment, after a first internet of things terminal distributes and stores a plurality of configuration data packets to a plurality of second internet of things terminals within a communication range of the first internet of things terminal, when any one of the second internet of things terminals is replaced, the corresponding configuration data packet is returned to the first internet of things terminal, and the corresponding configuration data packet is redistributed by the first internet of things terminal. It can be understood that, when the second internet-of-things terminal is replaced, in order to avoid the configuration data packet stored at the second internet-of-things terminal from being lost, in the embodiment of the present application, the second internet-of-things terminal returns the configuration data packet to the first internet-of-things terminal to perform the re-backup of the configuration data packet, so that the integrity of the configuration information can be ensured. Further, when the first internet of things terminal backs up the corresponding configuration data packet again, a second internet of things terminal can be selected to send the configuration data packet again within the communication range. Or after the original second networking terminal is replaced, retransmitting the configuration data packet to the newly replaced second networking terminal. And after the configuration data packet is backed up again, modifying the corresponding index information according to the change of the identification information of the second networking terminal, and updating the index information backed up in the gateway of the Internet of things.
In addition, in an embodiment, after the first internet of things terminal distributes and stores the plurality of configuration data packets to the plurality of second internet of things terminals within the communication range of the first internet of things terminal, any one of the second internet of things terminals may temporarily store the configuration data packets in the first internet of things terminal or the internet of things gateway under the condition of equipment upgrade and the like, and download the configuration data packets back to the local for backup storage after the equipment upgrade is completed.
On the other hand, in one embodiment, the first internet of things terminal stores a plurality of configuration data packets in a distributed manner to a plurality of second internet of things terminals within the communication range of the first internet of things terminal, encrypts the configuration data packets by using a preset asymmetric encryption key through the first internet of things terminal, and reserves the corresponding asymmetric decryption key for decryption of the configuration data packets. The configuration data packet is encrypted by using the asymmetric encryption key and then distributed and stored to each second networking terminal, so that the difficulty of cracking and stealing the configuration information can be enhanced, and the storage safety of the configuration information is further ensured. And after the encrypted configuration data packet is extracted from the subsequent first Internet of things terminal, the configuration data packet is further decrypted through the reserved asymmetric decryption key, and configuration information of the configuration data packet is obtained. Furthermore, in order to improve the security of information storage, different encryption keys can be configured corresponding to different configuration data packets, and a plurality of different decryption keys are reserved corresponding to configuration data packet labels, so that the situation that other data are easily stolen due to the fact that a single data packet encryption key is cracked is avoided.
S120, when the first Internet of things terminal detects that the corresponding configuration information is modified, generating a new configuration data packet based on the modified configuration information and updating the new configuration data packet to the corresponding second Internet of things terminal; and when the first Internet of things terminal detects the newly generated configuration information, one second Internet of things terminal is correspondingly selected according to the storage state of each second Internet of things terminal to the configuration data packet to send the newly generated configuration data packet.
Further, after the first internet of things terminal distributes and stores the configuration data packets to each second internet of things terminal, the first internet of things terminal further generates corresponding configuration data packets according to real-time modification and new addition of the configuration information to perform backup updating on the configuration data packets. Referring to fig. 3, in response to the changed configuration information, the first internet of things terminal 11 generates a new configuration data packet according to the changed configuration information, and sends the new configuration data packet to the corresponding second internet of things terminal. As shown in fig. 3, if the original configuration data packet is stored in the second networked terminal 13, the new configuration data packet is sent to the second networked terminal 13 to replace the original configuration data packet, thereby completing the backup of the configuration information. It should be noted that, since the configuration data packet is changed, the tag information of the configuration data packet is also changed, at this time, the corresponding index information is updated based on the new tag information, and the index information is updated to the internet of things gateway 10, so as to ensure real-time backup update of the information.
And when the configuration information is newly generated, generating a corresponding configuration data packet based on the configuration information, and further selecting a second networking terminal to store the configuration data packet. When the second networking terminal is selected, the second networking terminal with idle storage state is preferably selected to store the configuration data packet based on the storage state balancing principle, so that the phenomenon that the storage resources are occupied due to excessive storage configuration information of the individual second networking terminal is avoided, and the operation of the business of the second networking terminal is influenced. Similarly, because the newly added configuration data packet is stored in the corresponding second networking terminal, new index information is generated according to the tag information of the newly added configuration data packet and the identification information of the corresponding second networking terminal, and the index information is backed up to the internet of things gateway, so that the backup of the newly added configuration information is completed.
S130, when the new terminal replaces the first Internet of things terminal to access the network, the new terminal extracts the configuration data packet stored by each second Internet of things terminal, generates configuration information based on the configuration data packet and configures the operation parameters of the new terminal.
Further, based on the configuration information that is completely backed up, referring to fig. 4, when a new terminal 1M replaces the first internet of things terminal to access the internet of things system, the new terminal 1M that is accessed to the network is correspondingly replaced, each configuration data packet that is backed up in advance by the first internet of things terminal 11 is extracted from each second internet of things terminal 11, 12.. 1N, and configuration information is obtained according to the configuration data packet and configuration of its own operation parameters is performed. It can be understood that, when the new terminal 1M replaces the first internet of things terminal to access the network, in order to improve the configuration efficiency of the operation parameters of the new terminal, the operation parameters of the new terminal are configured according to the configuration information backed up by the first internet of things terminal, so that the configuration of the operation parameters of the new terminal 1M is efficient and accurate, and the normal operation of system services is not affected. Specifically, when the new terminal 1M replaces the first internet of things terminal to access the network, and when the new terminal extracts the configuration data packets stored in each second internet of things terminal, the index information is downloaded from the internet of things gateway 10 through the new terminal 1M, and the corresponding configuration data packets are requested from each second internet of things terminal based on the index information. It can be understood that, because the new terminal 1M replaces the first internet of things terminal to access the network, it needs to obtain the original configuration information of the first internet of things terminal to configure its own operation parameters, so that it can replace the first internet of things terminal to operate normally in the system. Therefore, the new terminal 1M needs to request the corresponding configuration data packet from each second internet-of-things terminal according to the index information backed up at the internet-of-things gateway 10 to obtain the configuration information for configuring the operation parameters.
And after that, the new terminal obtains the corresponding configuration information by analyzing each configuration data packet, screens out the redundant configuration information and configures the running parameters of the new terminal. It can be understood that, since each configuration data packet includes configuration information of a redundant portion, when the operation parameter configuration is performed according to the configuration information, the redundant portion of configuration information needs to be screened out, and then the operation parameter configuration is performed, so as to complete the extraction and configuration of the configuration information in the embodiment of the present application.
Referring to fig. 5, in the embodiment of the application, a first internet of things terminal generates a plurality of configuration data packets based on configuration information of the first internet of things terminal, the configuration data packets include mutually redundant configuration information, the configuration data packets are distributed and stored to a plurality of second internet of things terminals within a communication range of the first internet of things terminal, when modification of corresponding configuration information is detected, a new configuration data packet is generated based on the modified configuration information and is updated to the corresponding second internet of things terminal, and when newly generated configuration information is detected, one second internet of things terminal is correspondingly selected according to a storage state of each second internet of things terminal to the configuration data packet to send the newly generated configuration data packet. And subsequently, when the new terminal replaces the first internet of things terminal to access the network, extracting the configuration data packet stored by each second internet of things terminal through the new terminal, generating configuration information based on the configuration data packet and configuring the operation parameters of the new terminal. By adopting the technical means, the safe redundant backup of the configuration information of the terminal of the Internet of things can be guaranteed, the situation that the configuration information is lost or easily stolen is avoided, and the configuration efficiency of the operation parameters of the system is improved.
Example two:
on the basis of the foregoing embodiment, fig. 6 is a schematic structural diagram of a backup device for configuration information of an internet of things terminal according to a second embodiment of the present application. Referring to fig. 6, the device for backing up configuration information of an internet of things terminal provided in this embodiment specifically includes: a storage module 21, an update module 22 and a configuration module 23.
The storage module 21 is configured to generate, by a first internet of things terminal, a plurality of configuration data packets based on configuration information of the first internet of things terminal, where the configuration data packets include mutually redundant configuration information, and store the plurality of configuration data packets in a distributed manner to a plurality of second internet of things terminals in a communication range of the first internet of things terminal;
the updating module 22 is configured to, when detecting that the corresponding configuration information is modified through the first internet of things terminal, generate a new configuration data packet based on the modified configuration information and update the new configuration data packet to the corresponding second internet of things terminal; when the first internet of things terminal detects the newly generated configuration information, one second internet of things terminal is correspondingly selected according to the storage state of each second internet of things terminal to the configuration data packet to send the newly generated configuration data packet;
the configuration module 23 is configured to, when a new terminal replaces the first internet of things terminal to access the network, extract the configuration data packet stored in each second internet of things terminal through the new terminal, generate configuration information based on the configuration data packet, and perform self-operation parameter configuration.
The first internet of things terminal generates a plurality of configuration data packets based on configuration information of the first internet of things terminal, the configuration data packets contain mutually redundant configuration information, the configuration data packets are distributed and stored to a plurality of second internet of things terminals in the communication range of the first internet of things terminal, when modification of corresponding configuration information is detected, a new configuration data packet is generated based on the modified configuration information and is updated to the corresponding second internet of things terminal, and when newly generated configuration information is detected, one second internet of things terminal is correspondingly selected according to the storage state of each second internet of things terminal to the configuration data packet to send the newly generated configuration data packet. And subsequently, when the new terminal replaces the first internet of things terminal to access the network, extracting the configuration data packet stored by each second internet of things terminal through the new terminal, generating configuration information based on the configuration data packet and configuring the operation parameters of the new terminal. By adopting the technical means, the safe redundant backup of the configuration information of the terminal of the Internet of things can be guaranteed, the situation that the configuration information is lost or easily stolen is avoided, and the configuration efficiency of the operation parameters of the system is improved.
The device for backing up the configuration information of the terminal of the internet of things provided by the second embodiment of the application can be used for executing the method for backing up the configuration information of the terminal of the internet of things provided by the first embodiment of the application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 7, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor, memory, communication module, input device, and output device of the electronic device may be connected by a bus or other means.
The memory 32 is a computer-readable storage medium and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for backing up the configuration information of the terminal of the internet of things according to any embodiment of the present application (for example, a storage module, an update module, and a configuration module in a backup device for the configuration information of the terminal of the internet of things). The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system and an application program required by at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory, that is, the method for backing up the configuration information of the internet of things terminal is realized.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided by the embodiment can be used for executing the backup method of the terminal configuration information of the internet of things provided by the embodiment one, and has corresponding functions and beneficial effects.
Example four:
the embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for backing up configuration information of an internet of things terminal, where the method for backing up configuration information of an internet of things terminal includes: the method comprises the steps that a first Internet of things terminal generates a plurality of configuration data packets based on configuration information of the first Internet of things terminal, the configuration data packets contain mutually redundant configuration information, and the configuration data packets are distributed and stored to a plurality of second Internet of things terminals in a communication range of the first Internet of things terminal; when the first internet of things terminal detects that the corresponding configuration information is modified, generating a new configuration data packet based on the modified configuration information and updating the new configuration data packet to the corresponding second internet of things terminal; when the first internet of things terminal detects the newly generated configuration information, one second internet of things terminal is correspondingly selected according to the storage state of each second internet of things terminal to the configuration data packet to send the newly generated configuration data packet; when a new terminal replaces the first internet of things terminal to access the network, the new terminal extracts the configuration data packets stored by the second internet of things terminals, generates configuration information based on the configuration data packets and configures the operation parameters of the new terminal.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the method for backing up the configuration information of the terminal of the internet of things described above, and may also perform related operations in the method for backing up the configuration information of the terminal of the internet of things provided in any embodiment of the present application.
The device, the storage medium, and the electronic device for backing up the configuration information of the terminal of the internet of things provided in the embodiments may execute the method for backing up the configuration information of the terminal of the internet of things provided in any embodiment of the present application, and reference may be made to the method for backing up the configuration information of the terminal of the internet of things provided in any embodiment of the present application without detailed technical details described in the embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A method for backing up configuration information of an Internet of things terminal is characterized by comprising the following steps:
the method comprises the steps that a first Internet of things terminal generates a plurality of configuration data packets based on configuration information of the first Internet of things terminal, the configuration data packets contain mutually redundant configuration information, and the configuration data packets are distributed and stored to a plurality of second Internet of things terminals in a communication range of the first Internet of things terminal;
when the first internet of things terminal detects that the corresponding configuration information is modified, generating a new configuration data packet based on the modified configuration information and updating the new configuration data packet to the corresponding second internet of things terminal; when the first internet of things terminal detects the newly generated configuration information, one second internet of things terminal is correspondingly selected according to the storage state of each second internet of things terminal to the configuration data packet to send the newly generated configuration data packet;
when a new terminal replaces the first internet of things terminal to access the network, the new terminal extracts the configuration data packets stored by the second internet of things terminals, generates configuration information based on the configuration data packets and configures the operation parameters of the new terminal.
2. The method for backing up configuration information of an internet of things terminal according to claim 1, wherein after the step of distributively storing the configuration data packets to a plurality of second internet of things terminals within a communication range of the first internet of things terminal, the method further comprises the steps of:
and binding the label information of each configuration data packet with the identification information of the corresponding second internet of things terminal to generate index information, storing the index information in the first internet of things terminal, and using the index information as a data index for extracting the corresponding configuration data packet.
3. The method for backing up configuration information of an internet of things terminal according to claim 2, wherein after the tag information of each configuration data packet is bound with the identification information of the corresponding second internet of things terminal to generate index information and the index information is stored in the first internet of things terminal, the method further comprises:
and backing up the index information to an Internet of things gateway to which the first Internet of things terminal belongs.
4. The method for backing up configuration information of an internet of things terminal according to claim 3, wherein when a new terminal replaces the first internet of things terminal for network access, the new terminal extracts the configuration data packet stored by each second internet of things terminal, and the method comprises the following steps:
and the new terminal downloads the index information from the gateway of the Internet of things, and requests the corresponding configuration data packet from each second networking terminal based on the index information.
5. The method for backing up the configuration information of the terminal of the internet of things according to claim 1, wherein generating the configuration information based on the configuration data packet and performing self-operation parameter configuration comprises:
and analyzing each configuration data packet to obtain corresponding configuration information, screening out redundant configuration information and configuring the running parameters of the configuration data packet.
6. The method for backing up configuration information of an internet of things terminal according to claim 1, wherein after the step of distributively storing the configuration data packets to a plurality of second internet of things terminals within a communication range of the first internet of things terminal, the method further comprises the steps of:
and when the second internet of things terminal is replaced, returning the corresponding configuration data packet to the first internet of things terminal, and redistributing the corresponding configuration data packet by the first internet of things terminal.
7. The method for backing up configuration information of an internet of things terminal according to claim 1, wherein the step of storing a plurality of configuration data packets to a plurality of second internet of things terminals within a communication range of the first internet of things terminal in a distributed manner further comprises the steps of:
and the first Internet of things terminal encrypts the configuration data packet by using a preset asymmetric encryption key, and reserves the corresponding asymmetric decryption key for decrypting the configuration data packet.
8. The utility model provides a thing networking terminal configuration information's backup device which characterized in that includes:
the storage module is used for generating a plurality of configuration data packets through a first internet of things terminal based on self configuration information, wherein the configuration data packets contain mutually redundant configuration information, and the configuration data packets are distributed and stored to a plurality of second internet of things terminals in a communication range of the first internet of things terminal;
the updating module is used for generating a new configuration data packet based on the modified configuration information and updating the new configuration data packet to the corresponding second internet-of-things terminal when the modification of the corresponding configuration information is detected by the first internet-of-things terminal; when the first internet of things terminal detects the newly generated configuration information, one second internet of things terminal is correspondingly selected according to the storage state of each second internet of things terminal to the configuration data packet to send the newly generated configuration data packet;
and the configuration module is used for extracting the configuration data packets stored by each second networking terminal through the new terminal when the new terminal replaces the first networking terminal to access the network, generating configuration information based on the configuration data packets and configuring the operation parameters of the new terminal.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method for backing up configuration information of an internet of things terminal as claimed in any one of claims 1 to 7.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor, perform the method for backing up configuration information of an internet of things terminal according to any one of claims 1 to 7.
CN202011405041.0A 2020-12-05 2020-12-05 Backup method and device for configuration information of terminal of Internet of things Active CN112506703B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011405041.0A CN112506703B (en) 2020-12-05 2020-12-05 Backup method and device for configuration information of terminal of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011405041.0A CN112506703B (en) 2020-12-05 2020-12-05 Backup method and device for configuration information of terminal of Internet of things

Publications (2)

Publication Number Publication Date
CN112506703A true CN112506703A (en) 2021-03-16
CN112506703B CN112506703B (en) 2022-04-12

Family

ID=74969901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011405041.0A Active CN112506703B (en) 2020-12-05 2020-12-05 Backup method and device for configuration information of terminal of Internet of things

Country Status (1)

Country Link
CN (1) CN112506703B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751478A (en) * 2010-02-20 2010-06-23 浪潮(北京)电子信息产业有限公司 File backup method and system
CN104202175A (en) * 2014-06-19 2014-12-10 上海物联网有限公司 Intelligent collaborative configuration method and intelligent collaborative configuration equipment
CN104301142A (en) * 2014-10-13 2015-01-21 杭州华三通信技术有限公司 Backup method and device for configuration files
CN105451230A (en) * 2015-11-12 2016-03-30 深圳市江波龙科技有限公司 Internet-of-things device configuration method and Internet-of-things device configuration system
CN106685691A (en) * 2016-11-09 2017-05-17 苏州数言信息技术有限公司 Efficient configuration update method and system of terminal device in Internet of things system
CN107861843A (en) * 2017-11-30 2018-03-30 紫光股份有限公司 A kind of file backup system based on LAN computer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751478A (en) * 2010-02-20 2010-06-23 浪潮(北京)电子信息产业有限公司 File backup method and system
CN104202175A (en) * 2014-06-19 2014-12-10 上海物联网有限公司 Intelligent collaborative configuration method and intelligent collaborative configuration equipment
CN104301142A (en) * 2014-10-13 2015-01-21 杭州华三通信技术有限公司 Backup method and device for configuration files
CN105451230A (en) * 2015-11-12 2016-03-30 深圳市江波龙科技有限公司 Internet-of-things device configuration method and Internet-of-things device configuration system
CN106685691A (en) * 2016-11-09 2017-05-17 苏州数言信息技术有限公司 Efficient configuration update method and system of terminal device in Internet of things system
CN107861843A (en) * 2017-11-30 2018-03-30 紫光股份有限公司 A kind of file backup system based on LAN computer

Also Published As

Publication number Publication date
CN112506703B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
EP4047487A1 (en) File storage method, terminal, and storage medium
RU2683630C2 (en) Method for update of nsd network service descriptor and device
CN112333213B (en) Privacy protection method and device for business data of power Internet of things
CN111625496B (en) Deployment method, device and equipment of distributed file system in virtual machine environment
CN103001965A (en) Method for updating server certificates and servers
US11323317B1 (en) Software capabilities management from a service provider environment
CN104219198B (en) A kind of tamper resistant method of WebApp
CN111625497B (en) Deployment method, device and equipment of distributed file system and storage medium
CN112769761B (en) Signal transmission mode selection method and device based on service classification, electronic equipment and storage medium
CN112506705B (en) Distributed storage configuration information backup method and device
JP7439720B2 (en) Server, method and program for distributing update data
CN112035062B (en) Migration method of local storage of cloud computing, computer equipment and storage medium
CN112506703B (en) Backup method and device for configuration information of terminal of Internet of things
CN112506704B (en) Configuration information backup method and device for gateway of Internet of things
EP3843361A1 (en) Resource configuration method and apparatus, and storage medium
CN112559252B (en) Configuration data management method and device based on attribute classification
CN113268257A (en) Vehicle-mounted application upgrading system, method and computer storage medium
CN112350875B (en) Centralized management configuration method and device for configuration data
CN112559250B (en) Configuration data backup method and device for electric power Internet of things
CN112559251B (en) Configuration data management method and device for electric power Internet of things
CN115270195A (en) Block chain-based stock information deposit management method, system and device
CN101308463B (en) Self-adapting method of grid environment facing to proxy programming calculation task
CN112367410B (en) Operation parameter management method and device
CN112468350A (en) Operation parameter configuration management method and device of power Internet of things
CN112650630B (en) Distributed backup method and device for operating parameters of intelligent electric meter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant