CN114116903A - Data migration method, system, device, electronic equipment and storage medium - Google Patents
Data migration method, system, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114116903A CN114116903A CN202111413113.0A CN202111413113A CN114116903A CN 114116903 A CN114116903 A CN 114116903A CN 202111413113 A CN202111413113 A CN 202111413113A CN 114116903 A CN114116903 A CN 114116903A
- Authority
- CN
- China
- Prior art keywords
- equipment
- networking
- server
- networking equipment
- target
- 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
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000005012 migration Effects 0.000 title claims abstract description 51
- 238000013508 migration Methods 0.000 title claims abstract description 51
- 230000006855 networking Effects 0.000 claims abstract description 281
- 238000012795 verification Methods 0.000 claims abstract description 59
- 238000012544 monitoring process Methods 0.000 claims abstract description 9
- 238000004891 communication Methods 0.000 claims description 31
- 230000002159 abnormal effect Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- 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/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- 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/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application relates to a data migration method, a system, a device, an electronic device and a storage medium, which are applied to the technical field of data processing, wherein the method comprises the following steps: after monitoring that the target networking equipment is connected to the server, acquiring verification information sent by the target networking equipment; determining networking equipment to be migrated which is consistent with the verification information in the failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server; and sending the device configuration data of the networking device to be migrated to the target networking device. In order to solve prior art, need reset this equipment when carrying out equipment replacement or original equipment resets, repeated setting operation has reduced user experience's problem.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data migration method, system, apparatus, electronic device, and storage medium.
Background
With the development of network technology, multiple devices are often networked to improve the convenience of device control.
In the actual use process, if a certain device fails, a user needs to purchase a new device to replace the device or repair the device and then re-distribute the network. After the device is newly distributed, the device does not have data before the device failure, and therefore, the user is required to perform corresponding setting on the device newly distributed, for example, to reset a scene, so that the device newly distributed cannot be directly applied after the distribution, and the repeated operation reduces user experience.
Disclosure of Invention
The application provides a data migration method, a data migration system, a data migration device, an electronic device and a storage medium, which are used for solving the problems that in the prior art, when device replacement is carried out or an original device is reset, the device needs to be reset, and repeated setting operation reduces user experience.
In a first aspect, an embodiment of the present application provides a data migration method, including:
after the target networking equipment is monitored to be connected to the server, acquiring verification information sent by the target networking equipment;
determining networking equipment to be migrated which is consistent with the verification information in a failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server;
and sending the device configuration data of the networking device to be migrated to the target networking device.
Optionally, the check information includes device information of the target networking device and node information connected to the target networking device.
Optionally, the monitoring target networking device is connected to the server, and includes:
acquiring a connection request sent by the target networking equipment, wherein the connection request comprises a connection secret key generated according to the verification information;
verifying the connection key;
and if the connection secret key passes the verification, establishing the connection with the target networking equipment.
Optionally, after it is monitored that the target networking device is connected to the server, before the verification information sent by the target networking device is acquired, the method further includes:
when monitoring that the communication with the networking equipment is abnormal, marking the networking equipment with abnormal communication as failure networking equipment, and storing the equipment configuration data of the networking equipment with abnormal communication.
Optionally, the device configuration data includes configuration data of the networking device to be migrated in an application process.
In a second aspect, an embodiment of the present application provides a data migration method, which is applied to a target networking device, and the method includes:
after connection with a server is established, check information is sent to the server, so that the server determines networking equipment to be migrated in a failure networking equipment set consistent with the check information, wherein the failure networking equipment set is a set of networking equipment with abnormal communication with the server; sending the device configuration data of the networking device to be migrated to the target networking device;
and acquiring the equipment configuration data of the networking equipment to be migrated, which is sent by the server.
Optionally, after establishing the connection with the server, before sending the verification information to the server, the method further includes:
establishing connection with the terminal equipment;
acquiring node information sent by the terminal equipment, wherein the node information is acquired from root node equipment after the terminal equipment is connected with the root node equipment of replacement equipment, and the replacement equipment is invalid networking equipment replaced by the target networking equipment;
and connecting the root node equipment according to the node information.
In a third aspect, an embodiment of the present application provides a data migration system, including: a target networking device and a server;
the target networking equipment is used for sending verification information to the server after establishing connection with the server;
the server is used for acquiring the verification information sent by the target networking equipment; determining networking equipment to be migrated which is consistent with the verification information in a failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server; sending the device configuration data of the networking device to be migrated to the target networking device;
the target networking device is further configured to acquire device configuration data of the networking device to be migrated, where the device configuration data is sent by the server.
Optionally, the method further includes: a terminal device;
the terminal device is configured to obtain node information of a root node device from a root node device after the root node device of a replacement device is connected, where the replacement device is a failed networking device replaced by the target networking device;
the terminal equipment is also used for establishing connection with the target networking equipment and sending the node information to the target networking equipment;
the target networking device is further configured to acquire the node information and determine that the node information is the verification information.
In a fourth aspect, an embodiment of the present application provides a data migration apparatus, including:
the first acquisition module is used for acquiring the check information sent by the target networking equipment after the fact that the target networking equipment is connected to the server is monitored;
the determining module is used for determining the networking equipment to be migrated which is consistent with the target information in a failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server;
and the migration module is used for sending the equipment configuration data of the networking equipment to be migrated to the target networking equipment.
In a fifth aspect, an embodiment of the present application provides a data migration apparatus, including:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending verification information to a server after connection with the server is established, so that the server determines networking equipment to be migrated in a failure networking equipment set, which is consistent with the verification information, and the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server; sending the device configuration data of the networking device to be migrated to the target networking device;
and the second acquisition module is used for acquiring the equipment configuration data of the networking equipment to be migrated, which is sent by the server.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory to implement the data migration method according to the first aspect or the second aspect.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the data migration method according to the first aspect or the second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, after the target networking equipment is monitored to be connected to the server, the verification information sent by the target networking equipment is obtained; determining networking equipment to be migrated which is consistent with the verification information in the failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server; and sending the device configuration data of the networking device to be migrated to the target networking device. Therefore, the verification information of the target networking equipment is verified through the server, the networking equipment to be migrated which is consistent with the verification information is determined from the failure networking equipment set, the equipment configuration data of the networking equipment to be migrated is migrated to the target networking equipment, data migration is completed, the target networking equipment does not need to be reconfigured by a user, user operation is reduced, and user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a block diagram of a data migration system according to an embodiment of the present application;
FIG. 2 is a flowchart of a data migration method according to an embodiment of the present application;
FIG. 3 is a flow chart of a data migration method according to another embodiment of the present application;
FIG. 4 is a flow chart of a data migration method according to another embodiment of the present application;
FIG. 5 is a block diagram of a data migration apparatus according to an embodiment of the present application;
FIG. 6 is a block diagram of a data migration apparatus according to another embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before further detailed description of the embodiments of the present invention, terms and expressions referred to in the embodiments of the present invention are described, and the terms and expressions referred to in the embodiments of the present invention are applicable to the following explanations.
Mesh network: a "wireless mesh network," which is a "multi-hop" (multi-hop) network, has evolved from an ad hoc network and is one of the key technologies to solve the "last mile" problem. In the process of evolving to the next generation networks, wireless is an indispensable technology. The wireless mesh can be cooperatively communicated with other networks, and is a dynamic and continuously expandable network architecture, and any two devices can be wirelessly interconnected.
According to one embodiment of the present application, a data migration system is provided. Optionally, in this embodiment of the present application, the data migration system may be applied to a hardware environment formed by the target networking device, the server, and the terminal device as shown in fig. 1. As shown in fig. 1, a server is connected to a terminal target networking device through a network, the target networking device may also be connected to the terminal device through the network, the server may be configured to provide services (such as application services) for the target networking device, and a database may be provided on the server or separately from the server, and is configured to provide data storage services for the server, where the network includes but is not limited to: the terminal device is not limited to a PC, a mobile phone, a tablet computer, etc.
The data migration system comprises target networking equipment and a server; the target networking equipment is used for sending verification information to the server after establishing connection with the server; the server is used for acquiring the verification information sent by the target networking equipment; determining networking equipment to be migrated which is consistent with the verification information in the failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server; sending the device configuration data of the networking device to be migrated to the target networking device; the target networking device is further used for acquiring the device configuration data of the networking device to be migrated, which is sent by the server.
The data migration system further comprises terminal equipment; the terminal device is used for acquiring the node information of the root node device from the root node device after the root node device of the replacement device is connected, and the replacement device is a failed networking device replaced by the target networking device; the terminal equipment is also used for establishing connection with the target networking equipment and sending the node information to the target networking equipment; the target networking device is further used for acquiring the node information and determining the node information as the verification information.
An embodiment of the present application provides a data migration method, which may be applied to any form of electronic device, such as a server. As shown in fig. 2, the data migration method includes:
In some embodiments, the target networking device may be the networking device that was most recently connected to the server. The target networking device is connected to the server, and then the target networking device is finished networking. The networking form of the target networking device and the other devices may be, but is not limited to, the networking of a mesh network.
After the target networking device is connected to the server, the server sends notification information of successful connection to the target networking device to notify the target networking device of successful connection, and the target networking device sends verification information to the server, so that the server acquires the verification information.
The check information may include, but is not limited to, device information of the target networking device and node information connected to the target networking device.
The device information of the target networking device may include a device model, a device type, and a device identifier of the target networking device. The node information connected with the target networking equipment is the node information of the root node equipment connected with the target networking equipment in the mesh network.
In an optional embodiment, the monitoring that the target networking device is connected to the server includes:
acquiring a connection request sent by target networking equipment, wherein the connection request comprises a connection secret key generated according to the verification information; verifying the connection key; and if the connection key passes the verification, establishing connection with the target networking equipment.
In some embodiments, in order to improve security during networking, when the target networking device connects to the server, the target networking device may send a connection request to the server first, the server obtains a connection key in the connection request, verifies the connection key, and after the verification is passed, the server establishes connection with the target networking device.
For example, a public key is generated in the target networking device and loaded into the connection request, so that the server decrypts the public key through the private key after acquiring the public key, and if data encrypted by the public key can be obtained, the verification is successful,
it can be understood that the verification information can be sent to the server in a form of a secret key, the target networking device encrypts the device information of the target networking device and the node information connected with the target networking device according to a preset encryption algorithm, a public key obtained by encryption is sent to the server, the server decrypts the data encrypted by the public key through a private key, and if decryption is successful, the verification information can be obtained.
In an optional embodiment, after it is monitored that the target networking device is connected to the server, before acquiring the verification information sent by the target networking device, the method further includes:
when monitoring that the communication with the networking equipment is abnormal, marking the networking equipment with abnormal communication as failure networking equipment, and storing equipment configuration data of the networking equipment with abnormal communication.
In some embodiments, in the process of device networking, device abnormality or abnormal connection between a device and a server often occurs, so that the device cannot be used normally. In this embodiment, when monitoring that the communication of the networking device is abnormal, the server marks the networking device with abnormal communication as a failed networking device, and stores the device configuration data of the networking device with abnormal communication, so that after a new networking device replaces the networking device with abnormal communication for networking, the device configuration data can be acquired.
The communication abnormality may be that the server does not receive the heartbeat packet sent by the networking device after exceeding a preset time.
In some embodiments, after obtaining the verification information of the target networking device, the server may determine, through the verification information, a networking device to be migrated from the set of disabled networking devices, where the networking device to be migrated is the disabled networking device including the data to be migrated of the target networking device.
The server is used for matching the verification information with the stored verification information, and if the matching is successful, determining that the failed networking equipment corresponding to the successfully matched verification information is the networking equipment to be migrated.
Specifically, the check information of the networking device to be migrated is consistent with that of the target networking device, that is, the node information of the networking device to be migrated is the same as that of the target networking device, and the device information of the networking device to be migrated is the same as that of the target networking device.
In some embodiments, after the networking device to be migrated is matched, the server obtains device configuration data (i.e., data to be migrated) of the networking device to be migrated from the database, and sends the device configuration data to the target networking device. Therefore, the target networking equipment can obtain the equipment configuration data of the equipment to be migrated before the communication abnormity, and further, the application of the newly-networked target networking equipment can be realized without the reconfiguration of a user.
The device configuration data includes configuration data of the to-be-migrated networking device in the application process, for example, personalized settings (such as device mode settings) and scene linkage settings (i.e., linkage with other devices) of the to-be-migrated networking device.
Taking the networking device to be migrated as an air conditioner as an example, when the user uses the air conditioner daily, the user sets the air conditioner individually, which may be to adjust the starting mode of the air conditioner to a sleep mode after 10 o 'clock at night, and to turn off the air conditioner after 7 o' clock in the morning. Or, the networking device to be migrated is a humidifier, and scene linkage setting is performed on the humidifier, and the humidifier can be automatically turned on after the server detects that the air conditioner is turned on.
Based on the same concept, the embodiment of the application provides a data migration method, and the method can be applied to any form of electronic equipment, such as terminal equipment. As shown in fig. 3, the data migration method includes:
Optionally, after establishing connection with the server, before sending the verification information to the server, the method further includes:
establishing connection with the terminal equipment;
acquiring node information sent by terminal equipment, wherein the node information is acquired from root node equipment after the terminal equipment is connected with the root node equipment of replacement equipment, and the replacement equipment is invalid networking equipment replaced by target networking equipment;
and connecting the root node equipment according to the node information.
For specific implementation in this embodiment, reference may be made to the embodiment of the data migration method provided in the foregoing embodiment, which is not described in detail herein.
In a specific embodiment, the specific description will be given by taking the replacement device as device a, the target networking device as device B, and the terminal device as a mobile phone.
The data migration method in this embodiment, referring to fig. 4, includes:
And step 403, marking the device A as invalid and storing the last data of the device A when the server cannot receive the heartbeat of the device A for a long time.
And step 405, connecting the root node equipment connected with the equipment A by the mobile phone to access the mesh networking.
And step 406, the mobile phone acquires the node information of the root node device.
Thus, when the device is replaced or the original device is reset, the device can automatically synchronize the setting of the original device.
Based on the same concept, the embodiment of the present application provides a data migration apparatus, and the specific implementation of the apparatus may refer to the description of the above method embodiment, and repeated details are not repeated, as shown in fig. 5, the apparatus mainly includes:
a first obtaining module 501, configured to obtain, after it is monitored that a target networking device is connected to a server, verification information sent by the target networking device;
a determining module 502, configured to determine a to-be-migrated networking device that is consistent with target information in a failed networking device set, where the failed networking device set is a set of networking devices that are abnormally communicated with a server;
the migration module 503 is configured to send the device configuration data of the networking device to be migrated to the target networking device.
Based on the same concept, the embodiment of the present application provides a data migration apparatus, and the specific implementation of the apparatus may refer to the description of the above method embodiment, and repeated details are not repeated, as shown in fig. 6, the apparatus mainly includes:
the sending module 601 is configured to send verification information to the server after establishing connection with the server, so as to determine, by the server, a to-be-migrated networking device that is consistent with the verification information in a failed networking device set, where the failed networking device set is a set of networking devices that are abnormally communicated with the server; sending the device configuration data of the networking device to be migrated to the target networking device;
a second obtaining module 602, configured to obtain device configuration data of the networking device to be migrated, where the device configuration data is sent by the server.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 7, the electronic device mainly includes: a processor 701, a memory 702, and a communication bus 703, wherein the processor 701 and the memory 702 communicate with each other via the communication bus 703. The memory 702 stores a program executable by the processor 701, and the processor 701 executes the program stored in the memory 702 to implement the following steps:
after monitoring that the target networking equipment is connected to the server, acquiring verification information sent by the target networking equipment;
determining networking equipment to be migrated which is consistent with the verification information in the failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server;
and sending the device configuration data of the networking device to be migrated to the target networking device. Or the like, or, alternatively,
after connection with a server is established, check information is sent to the server, so that the server determines networking equipment to be migrated which is consistent with the check information in a failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server; sending the device configuration data of the networking device to be migrated to the target networking device;
and acquiring the equipment configuration data of the networking equipment to be migrated, which is sent by the server.
The communication bus 703 mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 703 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
The Memory 702 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor 701.
The Processor 701 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like, or may be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the data migration method described in the above embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application 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 on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, 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 wirelessly (e.g., infrared, 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 available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (13)
1. A data migration method is applied to a server and comprises the following steps:
after the target networking equipment is monitored to be connected to the server, acquiring verification information sent by the target networking equipment;
determining networking equipment to be migrated which is consistent with the verification information in a failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server;
and sending the device configuration data of the networking device to be migrated to the target networking device.
2. The data migration method according to claim 1, wherein the verification information includes device information of the target networking device and node information to which the target networking device is connected.
3. The data migration method according to claim 1 or 2, wherein the monitoring that the target networking device is connected to the server comprises:
acquiring a connection request sent by the target networking equipment, wherein the connection request comprises a connection secret key generated according to the verification information;
verifying the connection key;
and if the connection secret key passes the verification, establishing the connection with the target networking equipment.
4. The data migration method according to claim 1 or 2, wherein before acquiring the verification information sent by the target networking device after it is monitored that the target networking device is connected to the server, the method further comprises:
when monitoring that the communication with the networking equipment is abnormal, marking the networking equipment with abnormal communication as failure networking equipment, and storing the equipment configuration data of the networking equipment with abnormal communication.
5. The data migration method according to claim 1 or 2, wherein the device configuration data includes configuration data of the networking device to be migrated in an application process.
6. A data migration method is applied to a target networking device, and comprises the following steps:
after connection with a server is established, check information is sent to the server, so that the server determines networking equipment to be migrated in a failure networking equipment set, which is consistent with the check information, and equipment configuration data of the networking equipment to be migrated is sent to the target networking equipment, wherein the failure networking equipment set is a set of networking equipment with abnormal communication with the server;
and acquiring the equipment configuration data of the networking equipment to be migrated, which is sent by the server.
7. The data migration method according to claim 6, wherein before sending the verification information to the server after establishing the connection with the server, the method further comprises:
establishing connection with the terminal equipment;
acquiring node information sent by the terminal equipment, wherein the node information is acquired from root node equipment after the terminal equipment is connected with the root node equipment of replacement equipment, and the replacement equipment is invalid networking equipment replaced by the target networking equipment;
and connecting the root node equipment according to the node information.
8. A data migration system, comprising: a target networking device and a server;
the target networking equipment is used for sending verification information to the server after establishing connection with the server;
the server is used for acquiring the verification information sent by the target networking equipment; determining networking equipment to be migrated which is consistent with the verification information in a failure networking equipment set, and sending equipment configuration data of the networking equipment to be migrated to the target networking equipment, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server;
the target networking device is further configured to acquire device configuration data of the networking device to be migrated, where the device configuration data is sent by the server.
9. The data migration system of claim 8, further comprising: a terminal device;
the terminal device is configured to obtain node information of a root node device from a root node device after the root node device of a replacement device is connected, where the replacement device is a failed networking device replaced by the target networking device;
the terminal equipment is also used for establishing connection with the target networking equipment and sending the node information to the target networking equipment;
the target networking device is further configured to acquire the node information and determine that the node information is the verification information.
10. A data migration apparatus, comprising:
the first acquisition module is used for acquiring the check information sent by the target networking equipment after the fact that the target networking equipment is connected to the server is monitored;
the determining module is used for determining the networking equipment to be migrated which is consistent with the target information in a failure networking equipment set, wherein the failure networking equipment set is a set of networking equipment which is abnormally communicated with the server;
and the migration module is used for sending the equipment configuration data of the networking equipment to be migrated to the target networking equipment.
11. A data migration apparatus, comprising:
the sending module is used for sending check information to the server after connection with the server is established, so that the server determines the networking equipment to be migrated in a failure networking equipment set, which is consistent with the check information, and sends the equipment configuration data of the networking equipment to be migrated to the target networking equipment, wherein the failure networking equipment set is a set of networking equipment with abnormal communication with the server;
and the second acquisition module is used for acquiring the equipment configuration data of the networking equipment to be migrated, which is sent by the server.
12. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor, configured to execute the program stored in the memory, and implement the data migration method according to any one of claims 1 to 5 or any one of claims 6 to 7.
13. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the data migration method of any one of claims 1-5 or any one of claims 6-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111413113.0A CN114116903A (en) | 2021-11-25 | 2021-11-25 | Data migration method, system, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111413113.0A CN114116903A (en) | 2021-11-25 | 2021-11-25 | Data migration method, system, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114116903A true CN114116903A (en) | 2022-03-01 |
Family
ID=80373020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111413113.0A Pending CN114116903A (en) | 2021-11-25 | 2021-11-25 | Data migration method, system, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114116903A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115204981A (en) * | 2022-07-22 | 2022-10-18 | 中国联合网络通信集团有限公司 | Table processing method, device, device and storage medium based on item occupancy |
CN115499449A (en) * | 2022-07-28 | 2022-12-20 | 阿里巴巴(中国)有限公司 | Mirror image acceleration system, method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108616353A (en) * | 2018-04-13 | 2018-10-02 | 珠海格力电器股份有限公司 | Networking method and device |
CN112039692A (en) * | 2020-08-14 | 2020-12-04 | 深圳市欧瑞博科技股份有限公司 | Method and device for migrating gateway data, intelligent gateway equipment and storage medium |
CN112269637A (en) * | 2020-10-22 | 2021-01-26 | 西安万像电子科技有限公司 | Virtual machine data migration method and device |
-
2021
- 2021-11-25 CN CN202111413113.0A patent/CN114116903A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108616353A (en) * | 2018-04-13 | 2018-10-02 | 珠海格力电器股份有限公司 | Networking method and device |
CN112039692A (en) * | 2020-08-14 | 2020-12-04 | 深圳市欧瑞博科技股份有限公司 | Method and device for migrating gateway data, intelligent gateway equipment and storage medium |
CN112269637A (en) * | 2020-10-22 | 2021-01-26 | 西安万像电子科技有限公司 | Virtual machine data migration method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115204981A (en) * | 2022-07-22 | 2022-10-18 | 中国联合网络通信集团有限公司 | Table processing method, device, device and storage medium based on item occupancy |
CN115499449A (en) * | 2022-07-28 | 2022-12-20 | 阿里巴巴(中国)有限公司 | Mirror image acceleration system, method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11177967B2 (en) | Template based credential provisioning | |
US20210336956A1 (en) | Electronic Health Data Access Control | |
CN108886528B (en) | Management object for provisioning devices according to one of a plurality of provisioning technologies | |
CN110958142A (en) | Device maintenance method, maintenance device, storage medium, and computer program product | |
US12081622B2 (en) | Method and apparatus for secure wireless communication | |
US9459604B2 (en) | Methods and system for joining a smart energy device to a zigbee network | |
CN111241559A (en) | Training model protection method, device, system, equipment and computer storage medium | |
CN114116903A (en) | Data migration method, system, device, electronic equipment and storage medium | |
EP3920466B1 (en) | Device configuration method, system, and apparatus | |
CN114531254A (en) | Authentication information acquisition method and device, related equipment and storage medium | |
CN116107612B (en) | Firmware air upgrading device, charging pile, device, method and program product | |
EP4357950A1 (en) | Device management method, system and apparatus | |
CN107113615B (en) | Authentication method and system for Access Point (AP) and related equipment | |
US11962465B2 (en) | Control system, electronic device, and control method | |
US11751033B2 (en) | Method for out-of-the-box pairing for unassociated wireless devices | |
CN114362981B (en) | Upgrading method and related equipment of Internet of Things terminal equipment | |
CN109429225A (en) | Message sink, sending method and device, terminal, network functional entity | |
JP5721183B2 (en) | Wireless LAN communication system, wireless LAN base unit, communication connection establishment method, and program | |
CN113360923A (en) | Data interaction method, device and system and electronic equipment | |
US20230403557A1 (en) | Bluetooth Low Energy for Network Troubleshooting | |
CN113038464B (en) | An information transmission method and device | |
CN113709849A (en) | Network access method and device of equipment to be accessed to network, storage medium and electronic device | |
WO2022147843A1 (en) | Access authentication method and apparatus | |
CN114020346B (en) | A configuration file processing method, device, electronic equipment and storage medium | |
CN112925532B (en) | A software installation method, information sending method and device |
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 |