CN114553958A - Data migration processing method and device, electronic equipment and storage medium - Google Patents

Data migration processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114553958A
CN114553958A CN202210002131.8A CN202210002131A CN114553958A CN 114553958 A CN114553958 A CN 114553958A CN 202210002131 A CN202210002131 A CN 202210002131A CN 114553958 A CN114553958 A CN 114553958A
Authority
CN
China
Prior art keywords
data
network
target data
network device
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210002131.8A
Other languages
Chinese (zh)
Inventor
罗波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United 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 Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN202210002131.8A priority Critical patent/CN114553958A/en
Publication of CN114553958A publication Critical patent/CN114553958A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a data migration processing method and device, electronic equipment and a storage medium, and relates to the technical field of communication.

Description

Data migration processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data migration processing method and apparatus, an electronic device, and a storage medium.
Background
In order to meet the requirement of people on the comfort level of home residences, the residences are used as a platform, various intelligent home devices in the residences are connected together through the Internet of things technology to form a home network, and the network devices (such as gateways) are used for carrying out unified management on the whole network. When a network device in a home network needs to be replaced, a new network device needs to be migrated to the home network, and usually, all data in the new network device is sent to the old network device by the old network device, and the new network device performs configuration according to the data to realize the migration of the network device. However, the migration efficiency of the current migration method is low.
Disclosure of Invention
In view of the above problems, the present application provides a data migration processing method, device, electronic device, and storage medium, which can solve the above problems.
In a first aspect, an embodiment of the present application provides a data migration processing method, which is applied to a cloud, and the method includes: acquiring target data for backup reporting of first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment; responding to a data migration instruction aiming at the first network equipment, and sending the latest target data to second network equipment to indicate the second network equipment to migrate the target data, wherein the target data is used for the second network equipment to carry out distribution network.
In a second aspect, an embodiment of the present application provides a data migration processing method, which is applied to a first network device, and the method includes: acquiring and filtering the equipment data of the first network equipment to obtain target data; and reporting the target data backup to a cloud end to indicate the cloud end to issue the latest target data to a second network device when a data migration instruction aiming at the first network device is obtained, so as to indicate the second network device to migrate the target data, wherein the target data is used for the second network device to carry out distribution network.
In a third aspect, an embodiment of the present application provides a data migration processing method, which is applied to a second network device, and the method includes: acquiring target data issued by a cloud in response to a data migration instruction for first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment, and the target data is used for a second network equipment to carry out distribution; and migrating the target data.
In a fourth aspect, an embodiment of the present application provides a data migration processing system, where the system includes:
the first network equipment is used for obtaining and filtering the equipment data of the first network equipment to obtain target data; the cloud end is used for receiving the target data reported by the first network equipment; the cloud is further configured to issue the latest target data to a second network device in response to a data migration instruction for the first network device, so as to instruct the second network device to migrate the target data, where the target data is used for the second network device to perform a distribution network.
Optionally, the cloud is configured to store the target data reported by the first network device; when the target data of the first network equipment changes, acquiring updated target data reported by the first network equipment; replacing the target data of the stored history with the updated target data
Optionally, the target data includes: the anti-replay address and the anti-replay data frame corresponding to the anti-replay address; the anti-replay address and the anti-replay data frame are used for carrying out distribution network verification on the second network device so as to indicate the second network device to carry out data communication after the distribution network verification is passed.
Optionally, a first network device, configured to obtain device data of the first network device, where the device data at least includes periodic data and network configuration data; and filtering periodic data in the equipment data to obtain the target data at least comprising network configuration data.
Optionally, the second network device is configured to receive communication data, where the communication data includes a check data frame; acquiring the anti-replay address and acquiring an anti-replay data frame corresponding to the anti-replay address; discarding the communication data when the check data frame is smaller than the anti-replay data frame.
In a fifth aspect, an embodiment of the present application provides a data migration processing apparatus, which is applied to a cloud, and the apparatus includes:
the first acquisition module is used for acquiring target data which is backed up and reported by first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment;
and the response module is used for responding to a data migration instruction aiming at the first network equipment, and sending the latest target data to the second network equipment so as to indicate the second network equipment to migrate the target data, wherein the target data is used for the second network equipment to carry out distribution network.
Optionally, the first obtaining module is further configured to obtain device data of the first network device, where the device data at least includes periodic data and network configuration data; and filtering the periodic data in the equipment data to obtain the target data at least comprising network configuration data.
In a sixth aspect, an embodiment of the present application provides an apparatus for migrating device data, where the apparatus is applied to a first network device, and the apparatus includes: the first network equipment is used for acquiring equipment data and filtering the equipment data to acquire target data; the first network equipment is used for sending the target data to a cloud end for storage; and the cloud end is used for sending the stored target data to the second network equipment for configuration when responding to the data migration instruction.
Optionally, the obtaining and filtering the device data of the first network device to obtain target data includes: acquiring device data of the first network device, wherein the device data at least comprises periodic data and network configuration data; and filtering the periodic data in the equipment data to obtain the target data at least comprising network configuration data.
In a seventh aspect, an embodiment of the present application provides a data migration processing apparatus, which is applied to a second network device, and the apparatus includes: the third acquisition module is used for acquiring target data issued by a cloud in response to a data migration instruction for first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment, and the target data is used for a distribution network of the second network equipment; and the immigration module is used for immigration of the target data.
Optionally, the third obtaining module is further configured to receive communication data, where the communication data includes a check data frame; acquiring the anti-replay address and acquiring an anti-replay data frame corresponding to the anti-replay address; discarding the communication data when the check data frame is smaller than the anti-replay data frame.
In an eighth aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the above-described method.
In a ninth aspect, embodiments of the present application provide a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
According to the data migration processing method and device, the electronic device and the storage medium, the first network device acquires the device data, filters the device data to obtain the target data, namely the target data is one part of the device data, sends the target data in the device data to the cloud, the cloud stores the target data in advance, when migration is needed, the cloud responds to a data migration instruction, sends the stored target data to the second network device to be configured, and completes migration of the network device, wherein the target data is used for the second network device to carry out distribution of the network, and the target data used for distribution of the network is one part of the device data, so that configuration is carried out according to the target data, and the migration rate of the network device is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an application environment suitable for use in embodiments of the present application;
fig. 2 is a schematic flowchart illustrating a data migration processing method according to an embodiment of the present application;
FIG. 3 illustrates a schematic diagram of an application environment after migration of the present application;
fig. 4 is a schematic flowchart illustrating a data migration processing method according to another embodiment of the present application;
FIG. 5 is a flow chart illustrating step S210 of the data migration processing method illustrated in FIG. 4 of the present application;
fig. 6 is a schematic flowchart illustrating a data migration processing method according to yet another embodiment of the present application;
FIG. 7 is a flowchart illustrating a data migration processing method according to yet another embodiment of the present application;
FIG. 8 is a flowchart illustrating a data migration processing method according to another embodiment of the present application;
FIG. 9 is a flowchart illustrating a data migration processing method according to another embodiment of the present application;
FIG. 10 is a block diagram illustrating a data migration processing apparatus according to an embodiment of the present application;
FIG. 11 is a block diagram of a data migration processing apparatus according to another embodiment of the present application;
fig. 12 is a block diagram illustrating a structure of an electronic device for executing a data migration processing method according to an embodiment of the present application;
fig. 13 shows a block diagram of a computer-readable storage medium for executing a data migration processing method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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.
In order to meet the requirement of people on the comfort level of the residential home, the residential home is used as a platform, various intelligent household devices in the residential home are connected together through the Internet of things technology to form a home network, for example, the intelligent household devices comprise an intelligent air conditioner, an intelligent curtain, an intelligent door and window and the like, and the network device is used for carrying out unified management on the whole network. When the old network device is damaged and the old network device is offline due to a fault or cannot be updated due to the limitation of the model or version of the old network device, the network device in the home network cannot control various intelligent home devices, the network device needs to be replaced to ensure the normal management and control of the home network, the new network device needs to be migrated to the home network, all data in the new network device is usually sent to the new network device by the old network device, and the new network device is configured according to the data, so that the new network device replaces the old network device before, and the migration of the network device is realized.
Through careful research, the inventor finds that when all data in the old network device is sent to a new network device, when the data is migrated, the data volume required to be transferred is large, and therefore, large transmission pressure and storage pressure are brought to other relay devices (such as a cloud end). And the problem of low migration efficiency and the like is caused by long data migration time due to large transmission data volume.
In view of the above technical problems, the inventors have found and proposed a data migration processing method, apparatus, electronic device and storage medium through long-term research, wherein a first network device sends target data in device data to a cloud for pre-storage, the cloud configures the stored target data to a second network device when responding to a data migration command, and completes network migration, since the target data for distribution is a part of the device data, the target data is configured according to the target data, thereby increasing the migration rate of the network device, and since the target data is pre-stored in the cloud, when data migration is performed, the second network device directly obtains the target data from the cloud without uploading the data to the cloud by the first network device, thereby further increasing the migration rate of the network device, and furthermore, the first network device pre-stores the data to the cloud, when data migration is carried out, the second network equipment can directly acquire data from the cloud, and even if the first network equipment is in an off-line state due to reasons such as faults, target data can be guaranteed to be successfully migrated to the second network equipment. The specific data migration processing method is specifically described in the following embodiments.
In order to better understand a data migration processing method, an apparatus, an electronic device, and a storage medium provided in the embodiments of the present application, an application environment suitable for the embodiments of the present application is described below.
Fig. 1 is a schematic diagram of an application environment suitable for an embodiment of the present application, please refer to fig. 1, and fig. 1 is a schematic diagram of an application environment suitable for an embodiment of the present application. The data migration processing method provided by the embodiment of the application can be applied to the intelligent control system 100 shown in fig. 1. The intelligent control system 100 includes a first network device 110 (which may be a gateway), a user terminal 120, an intelligent home device 130, a cloud 140, and a router 150. For example, the cloud 140 may be in communication connection with the first network device 110 through a wireless network based on the router 150, so as to perform data interaction between the cloud 140 and the first network device 110.
The smart home devices 130 may include, but are not limited to, door and window sensors, smart switches, air conditioners, curtains, televisions, refrigerators, and fans, among others. The number of the smart home devices 130 is at least one, the at least one smart home device 130 is respectively connected with the first network device 110 to form a home network (zigbee network), and the first network device 110 controls all the smart home devices 130 in the whole home network, for example, one smart home device 110 is connected with a plurality of smart home devices 130, which is not limited herein. The first network device 110 and the smart home device 130 may be connected through bluetooth, z-wave, Wireless Fidelity (WiFi for short), or ZigBee.
Optionally, the plurality of smart home devices 130 may be connected through bluetooth, z-wave, WiFi, or ZigBee, for example, the smart switch and the smart lamp may be connected in advance to perform wireless communication, so that the smart lamp may be controlled to be turned on or off by controlling the smart switch.
The user terminal 120 may be connected to the first network device 110 through a wireless network, and the user terminal 120 may include a personal computer, a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. In some embodiments, the user terminal 120 is used for interaction with a user, and the user can wirelessly communicate with the first network device 110 through the user terminal 120 based on the router 150. In addition, the user can add an account information to the first network device 110 and the user terminal 120 at the same time, and the information synchronization between the first network device 110 and the user terminal 120 is realized through the account information.
Further, the user terminal 120 may be installed with at least one client, so that the user terminal 120 may directly access the first network device 110 based on the client, or access the first network device 110 through the cloud 140 or the router 150.
As a manner, in a home network formed by the smart home device 130 and the first network device 110, the user terminal 120 may interact with the first network device 110 through a local area network path (i.e., the user terminal — the router — the first network device), so as to implement interaction with the smart home device 130 connected to the first network device 110. Further, the user terminal 120 may interact with the first network device 110 through a wide area network path (i.e., the user terminal — cloud end — first network device), so as to interact with the smart home device 130 connected to the first network device 110. Specifically, the first network device 110 and the user terminal 120 may both be connected to a router, and access the ethernet through the router, and the router may access the cloud 140 through wireless or wired methods. For example, the first network device 110 and the user terminal 120 may upload information into the cloud 140. Optionally, the user terminal 120 may also establish a network connection with the cloud end 140 in a wireless manner, so as to obtain data sent by the cloud end 140.
Optionally, the intelligent control system 100 further includes a second network device 160 (which may be a gateway), the second network device 160 is connected to the cloud 140, for example, the cloud 140 may be communicatively connected to the second network device 160 through a wireless network based on the router 150, optionally, the second network device 160 may also establish a communication connection with the user terminal 120, for example, the second network device 160 directly establishes a communication connection (not shown in fig. 1) with the user terminal 120, or the second network device 160 establishes a communication connection with the user terminal 120 through the router 150.
The following describes in detail a data migration processing method, an apparatus, an electronic device, and a storage medium provided in embodiments of the present application with specific embodiments.
Fig. 2 is a schematic flow chart illustrating a data migration processing method according to an embodiment of the present application, and referring to fig. 2, the embodiment of the present application provides a data migration processing method, which can be applied to the intelligent control system 100. As will be described in detail with respect to the flow shown in fig. 2, taking the above-mentioned data migration processing method as an example applied to a computer device, the method may specifically include the following steps:
step S110, the first network equipment obtains equipment data, and filters the equipment data to obtain target data.
The network device refers to a device connected to a network, and may specifically be a device connected to a current network and capable of communicating with other devices connected to the current network, for example, the network device may specifically include a gateway, a repeater, a router, a switch, and other devices. The first network device is one of the network devices in the current network and the second network device is another network device in the current network.
It can be understood that the current network may be a network in which the network device establishes a communication connection with each device corresponding to the network device, and specifically may include a WIFI network, a ZigBee network, and the like. The other devices connected to the current network may include zigbee devices, etc.
The target data refers to important key data corresponding to the network device, and may specifically be key data obtained by filtering all data in the network device. For example, the target data may specifically include distribution network data for distributing a network to the network device.
The method comprises the steps that a first network device obtains device data from the local, wherein the device data are used for the work and distribution network of the first network device, the first network device filters the device data to obtain filtered target data, the target data are used for the distribution network of the network device, and the obtained target data are configuration parameters of the first network device in a Zigebee network. The device data stored locally by the first network device comprises device information and target data of the Zigbee device.
Specifically, the first network device and the zigbee device (which may be an intelligent home device in the zigbee network) jointly form a zigbee network, and the zigbee device in the zigbee network is controlled by the first network device. The first network device may acquire the device information from the zigbee device, or the zigbee device actively reports the device information of itself to the first network device. For example, the device information includes a zigbee device attribute state and/or temporary data generated when the zigbee device operates, where the zigbee device attribute state refers to an operating state of the zigbee device under the set attribute parameters, different zigbee devices are set with different attribute parameters, and when the zigbee device is an intelligent fan, according to the set attribute parameters of the intelligent fan, the attribute state corresponding to the intelligent fan includes a wind speed, a switch state, and the like; when the Zigbee equipment is the intelligent air conditioner, according to the set attribute parameters of the intelligent air conditioner, the attribute states corresponding to the intelligent air conditioner comprise temperature, operation modes, wind speed and the like. The first network device stores the received device information locally, uploads the device information of the zigbee device to the cloud for backup according to a preset reporting period (for example, 1 day, 1 hour, half hour, 5 minutes and the like), and is convenient for a user to remotely check the condition of the zigbee device indoors through a user terminal, for example, the first network device reports the device information of the zigbee device to the cloud in the form of a heartbeat package. The equipment information of the Zigbee equipment is periodically reported in a heartbeat package mode, so that the equipment information of the Zigbee equipment is stored in the cloud, and the first network equipment filters the equipment information in the equipment data to obtain the target data.
In one embodiment, because the first network device reports the device information (including the zigbee device attribute state and/or temporary data) to the cloud at regular time, and the device information has a small influence on the distribution network of the second network device, when the first network device uploads the data, the first network device only uses the uploaded target data to remove the device information in the local device data, that is, the first network device removes the zigbee device attribute state and/or temporary data in the device data to obtain the target data, and then uploads the filtered target data to the cloud to reduce the data transmission pressure.
The target data comprises target subdata, when the target subdata in the device data changes, the target data stored by the first network device is different from the target data stored by the cloud, the cloud data needs to be backed up again, and the first network device filters the device data again to obtain the target data. In one embodiment, the first network device uploads all target data, that is, the first network device removes the zigbee device attribute state and/or temporary data in the device data, obtains all target data, and uploads all device data to the cloud. The incidence relation may exist in all the target data, when part of the target data changes, that is, the target subdata in the target data changes, all the target data is sent to the cloud for updating, so that the accuracy of cloud backup data is improved, and subsequent second network equipment can be configured and migrated successfully.
In another embodiment, the first network device only uploads the changed target subdata, and when the target subdata in the device data changes, the first network device filters the network data to obtain the target data, obtains the target subdata from the target data, and only reports the target subdata to the cloud, so that the data transmission rate is increased, and the pressure of the first network device server and the pressure of network transmission are reduced.
Step S120, the first network device sends the target data to the cloud.
The first network equipment compresses the target data into a data packet, and sends the target data to the cloud in the form of the data packet. Or, in order to improve the confidentiality of the target data, the first network device encrypts the target data and then sends the encrypted target data to the cloud.
Step S130, the cloud stores the target data in advance.
And the cloud stores the target data to a target position.
In one embodiment, the cloud end is connected with a plurality of network devices, each network device reports data of the network device or data of a zigbee network managed and controlled by the network device to the cloud end, in order to facilitate management of the data uploaded by each network device, the cloud end performs partitioned storage on the data of each network device, specifically, the cloud end is in a storage area, a storage position is allocated to each network device, when the cloud end receives target data sent by a first network device, the storage position corresponding to the first network device is determined from a plurality of storage positions to serve as a target position, and the cloud end stores the target data reported by the first network device to the target position.
In another embodiment, when the first network device uploads the target data and updates the target data of the cloud, the cloud receives the target data reported by the first network device, and then stores the target data to the target location according to the historical storage path corresponding to the first network device and the historical storage path.
When the target data in the first network device is changed, the first network device sends the changed target data to the cloud, and the cloud updates the previously stored target data into the changed target data, for example, the originally stored target data is deleted, and the changed target data is stored in the target position. And ensuring that the target data of the cloud is up-to-date so that the second network equipment can control all the Zigebee equipment when the network equipment is migrated.
Step S140, the cloud end responds to the data migration instruction, and acquires the pre-stored target data.
The cloud end responds to the data migration instruction and obtains pre-stored target data from the target position. In an embodiment, the data migration instruction may be sent by a user terminal connected to the cloud, a user performs an input operation through an application program on the user terminal, and generates the data migration instruction according to the input operation, and the user terminal sends the data migration instruction to the cloud.
In another embodiment, a data migration instruction is preset in the cloud, and the data migration instruction may be preset by a user through a user terminal, or may be set by a control panel installed indoors and belonging to a zigbee network.
In another embodiment, when the cloud detects that the second network device is accessed, and the second network device does not belong to the zigbee network, it indicates that the second network device is a network device newly added by the user and is used to replace the first network device, the cloud may automatically trigger the data migration instruction.
Step S150, the cloud sends the target data to the second network device.
The cloud sends pre-stored target data to second network equipment, wherein the second network equipment can be any network equipment connected with the cloud; the network equipment can be connected with the cloud and does not belong to any Zigebee network; or a certain network device which is connected with the cloud and is specified by the user; the network device which establishes a connection relationship with the cloud end most recently may be a network device which establishes a connection relationship with the cloud end most recently within a preset time period before the current time, the version of the network device which establishes a connection relationship with the cloud end most recently is newer, and the connection with the network device is established only within the preset time period, which indicates that the network device may not belong to any zigbee network, for example, the preset time period is 5 minutes, the current time is 9:00, and the network device which establishes a connection relationship with the cloud end before 8:55-9:00 has a network device a and a network device B, wherein the network device a establishes a connection relationship with the cloud end at 8:51, and the network device B establishes a connection relationship with the cloud end at 8:57, and determines that the network device B is a second network device.
And step S160, the second network equipment carries out distribution according to the target data.
The second network device performs network distribution according to the target data sent by the cloud, for example, the second network device analyzes the target data and replaces the data (or parameters) of the second network device with the target data. The second network device after the network distribution has the original function of the first network device (for example, the zigbee device in the zigbee network is controlled and the like), that is, the second network device is successfully migrated to the zigbee network, and as the second network device is configured according to the target data of the first network device and the device information of the zigbee device can be acquired from the cloud through the second network device, the non-inductive migration of the second network device is realized. After the second network device migrates to the zigbee network, the first network device exits from the zigbee network, or the first network device may exit from the zigbee network at any time because the first network device has backed up the device data to the cloud in advance, that is, when the first network device is offline, the network device migrates can also be smoothly completed. As shown in fig. 3, in the schematic diagram after the network device migration, the second network device 140 belongs to the zigbee network, and the first network device 110 exits the zigbee network.
In the data migration processing method provided by this embodiment, the first network device acquires device data, filters the device data, and acquires target data, that is, the target data is a part of the device data, sends the target data in the device data to the cloud, where the cloud stores the target data in advance, and when migration is required, the cloud responds to a data migration instruction, and sends the stored target data to the second network device for configuration, so as to complete network device migration, and since the target data for distribution of the network is a part of the device data, the configuration is performed according to the target data, so as to increase the migration rate of the network device, and since the target data is stored in the cloud in advance, when data migration is performed, the first network device is not required to upload data to the cloud, but the second network device directly acquires the target data from the cloud, so as to further increase the migration rate of the network device, moreover, the first network device stores the data to the cloud in advance, and when data migration is carried out, the second network device can directly acquire the data from the cloud, so that even if the first network device is in an off-line state due to reasons such as faults, the target data can be guaranteed to be successfully migrated to the second network device.
Optionally, the target data includes zigbee network configuration data, zigbee device configuration data, and network device configuration data, please refer to fig. 4, where the data migration processing method specifically includes the following steps:
step S210, the first network equipment acquires equipment data, and filters the equipment data to obtain Zigbee network configuration data, Zigbee equipment configuration data and configuration data.
The configuration data is configuration parameters of the first network equipment in the Zigbee network. The target data includes zigbee network configuration data, zigbee device configuration data, and network device configuration data. Wherein the network configuration data comprises one or more of: personal Area Network (PAN) address, Media/Media Access Control (MAC) address of a zigbee coordinator in the zigbee Network, zigbee Network channel, and zigbee Network key. The zigbee device configuration data comprises one or more of: the intelligent home equipment comprises a Zigbee equipment type, a MAC address of the Zigbee equipment, a version number of the Zigbee equipment and an ID address of the Zigbee equipment, wherein the Zigbee equipment type can be an intelligent curtain, an intelligent air conditioner, an intelligent door and window and the like, and the number, the type, the model and the like of intelligent home equipment in a Zigbee network can be obtained through configuration data of the Zigbee equipment. The configuration data includes one or more of: the network equipment comprises a network equipment MAC address, a secret key for network equipment and cloud authentication, and an ID address of the network equipment.
In one embodiment, referring to fig. 5, step S210 includes the following sub-steps:
and a substep S211 of acquiring device data.
Device data is locally obtained from a first network device.
And a substep S212, when target sub-data in the device data changes, filtering the device data to obtain target data, wherein the target data comprises the target sub-data.
When the target sub-data in the device data changes due to factors such as user settings or automatic updating, the target data stored in the cloud is already different from the actual target data in the first network device, and the target data in the cloud needs to be updated according to the actual target data of the first network device. And the first network equipment filters the equipment data to obtain target data.
In one embodiment, the target child data may include zigbee device configuration data. When the new intelligent home equipment is added into the Zigbee network, the newly added intelligent home equipment is used as the Zigbee equipment of the Zigbee network, and the newly added Zigbee equipment uploads the configuration data of the Zigbee equipment to the first network equipment. For example, zigbee device configuration data includes: the type of the newly added zigbee device (e.g., a smart lamp, a smart switch, etc.), the MAC address of the newly added zigbee device, the version number of the newly added zigbee device, the ID address of the newly added zigbee device, etc. After the first network device receives the Zigebee device configuration data of the newly added Zigebee device, target subdata in the device data changes. .
Step S220, the first network equipment sends the Zigbee network configuration data, the Zigbee equipment configuration data and the configuration data to the cloud.
The first network device compresses the Zigebee network configuration data, the Zigebee device configuration data and the configuration data into data packets, and the data packets are sent to the cloud. Or, in order to improve the confidentiality of the target data, the first network device encrypts the zigbee network configuration data, the zigbee device configuration data and the configuration data to form an encryption packet, and then sends the encryption packet to the cloud.
Step S230, the cloud stores the Zigebee network configuration data, the Zigebee equipment configuration data and the configuration data in advance.
And the cloud stores the Zigebee network configuration data, the Zigebee equipment configuration data and the configuration data to a target position.
Step S240, the cloud end responds to the data migration instruction, and obtains pre-stored zigbee network configuration data, zigbee device configuration data, and configuration data.
In response to the data migration instruction, zigbee network configuration data, zigbee device configuration data, and configuration data are obtained from the target location.
Step S250, the cloud sends the Zigebee network configuration data, the Zigebee device configuration data and the configuration data to the second network device.
The second network device is a network device to be migrated, and the cloud sends the zigbee network configuration data, the zigbee device configuration data and the configuration data to the second network device.
And S260, configuring the second network equipment according to the Zigbee network configuration data, the Zigbee equipment configuration data and the configuration data.
And the second network equipment is configured according to the Zigbee network configuration data, the Zigbee equipment configuration data and the configuration data, so that the second network equipment is migrated to the Zigbee network, and communication with the Zigbee equipment in the Zigbee network is realized.
In this embodiment, the first network device uploads the zigbee network configuration data, the zigbee device configuration data, and the configuration data to the cloud, the cloud acquires the zigbee network configuration data, the zigbee device configuration data, and the configuration data and sends the configuration data to the second network device when responding to the data migration instruction, and the second network device performs configuration according to the zigbee network configuration data, the zigbee device configuration data, and the configuration data, so that the second network device is configured with the function of the first network device in the zigbee network, can control the zigbee device in the zigbee network, and realizes non-inductive migration of the network device.
Optionally, on the basis of the above embodiment, in order to prevent the zigbee network from encountering replay attack, the target data further includes: referring to fig. 6, the method for data migration processing may specifically include the following steps:
step S310, the first network equipment acquires the equipment data and filters the equipment data to obtain the Zigebee network configuration data, the Zigebee equipment configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address.
The anti-replay address and the anti-replay data frame can be specifically used for carrying out distribution network verification on the second network device so as to indicate the second network device to carry out data communication after the distribution network verification is passed.
And the first network equipment filters the equipment information in the equipment data to obtain the Zigebee network configuration data, the Zigebee equipment configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address.
In one embodiment, when target data in the device data changes, the device data is filtered to obtain target data, wherein the target data comprises the target data, and the target data comprises the anti-replay data frame. The first network device includes a FRAME COUNTER (NWK FRAME COUNTER), wherein the FRAME COUNTER may be a 32-bit FRAME COUNTER or a 64-bit FRAME COUNTER. The frame counter is used for tracking the number of data frames received by the first network device and sent by other devices and the number of data frames sent into the network by the first network device. The value of the anti-replay data frame counted by the frame counter is incremented each time a data transfer is performed by the first network device, and may be incremented by any number, for example, by 1 or by 5, etc. When data transmission exists in the first network device, the anti-replay data frames counted by the frame counter change, and the first network device can report the anti-replay data frames to the cloud end according to a fixed period, or can immediately report the anti-replay data frames to the cloud end when the anti-replay data frames change.
Step S320, the first network device sends the zigbee network configuration data, the zigbee device configuration data, the anti-replay address, and the anti-replay data frame corresponding to the anti-replay address to the cloud.
The first network device compresses the Zigebee network configuration data, the Zigebee device configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address into a data packet, and sends the data packet to the cloud. Or, in order to improve the confidentiality of the zigbee network configuration data, the zigbee device configuration data, the network device configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address, the first network device encrypts the zigbee network configuration data, the zigbee device configuration data, the network device configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address, and sends the encrypted packet to the cloud.
Step S330, the cloud stores Zigebee network configuration data, Zigebee device configuration data, a replay-preventing address and a replay-preventing data frame corresponding to the replay-preventing address in advance.
And the cloud stores the Zigebee network configuration data, the Zigebee equipment configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address to a target position.
Step S340, the cloud end responds to the data migration instruction, and obtains pre-stored zigbee network configuration data, zigbee device configuration data, anti-replay address, and anti-replay data frame corresponding to the anti-replay address.
The cloud end responds to the data migration instruction and acquires the Zigebee network configuration data, the Zigebee device configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address from the target position.
Step S350, the cloud sends the Zigebee network configuration data, the Zigebee device configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address to the second network device.
And the cloud end sends the Zigebee network configuration data, the Zigebee equipment configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address to the second network equipment so as to control the second network equipment to carry out configuration according to the target data.
And step S360, the second network equipment performs configuration according to the Zigebee network configuration data, the Zigebee equipment configuration data, the anti-replay address and the anti-replay data frame corresponding to the anti-replay address.
The second network device is configured according to the anti-replay address and the anti-replay data frame. In a zigbee network before network device migration, a first network device originally manages and controls a zigbee device, the first network device sends a communication data packet to a certain zigbee device, a header (header) of the communication data packet carries a replay-prevention data frame, the certain zigbee device parses the communication data packet, the replay-prevention data frame is acquired from the header of the communication data packet and stored, and the certain zigbee device sends the replay-prevention data frame to a zigbee device connected with the zigbee device for storage. When a certain Zigebee device receives the communication data packet again, the anti-replay data frames stored locally are updated according to the anti-replay data frames in the communication data packet. When a second network device is used as a new network device to take over a Zigbee network, due to the fact that the latest anti-replay data frame is configured in the second network device, when the second network device is communicated with a certain Zigbee device, the second network device sends a control data packet carrying the anti-replay data frame to the certain Zigbee device, the certain Zigbee device compares the anti-replay data frame in the received control data packet with the anti-replay data frame stored in the certain Zigbee device, when the data in the received anti-replay data frame is larger than the data in the anti-replay data frame stored in the certain Zigbee device, the control instruction in the control data packet is obtained, the anti-replay data frame stored in the certain Zigbee device is updated by using the received anti-replay data frame, and the certain Zigbee device executes the control instruction, so that the second network device can accurately control the certain Zigbee device; when the data in the received anti-replay data frame is smaller than the data in the anti-replay data frame stored by the anti-replay data frame, the control data packet is not sent by the second network device, possibly encounters replay attack, and is discarded.
For example, the playback prevention data frame of a zigbee device is 4567, and when the playback prevention data frame received by a zigbee device is 5012, it indicates that the received control packet is transmitted by the second network device; when the received anti-replay data frame is 4050, the control packet is not sent to a zigbee device by the second network device, and the zigbee device discards the control packet after intercepting the communication data of the second network device by possibly other devices.
It should be noted that the second network device also includes a frame counter, and when the second network device performs data transmission each time, the value of the frame counter is increased, so as to ensure that the anti-replay data frame carried in the data packet sent by the second network device is larger than the previous anti-replay data frame.
Optionally, before the network device migrates, the cloud may be offline after the last time the anti-replay data frames were received and no new anti-replay data frames were received for many days. The cloud end automatically updates the internal anti-replay data frames according to the number of days which are not received, specifically, the cloud end counts messages or data quantity sent by the first network device every day, takes the time with the largest sending quantity as a data transmission constant (for example, 86400), obtains estimated data frames which are possibly updated in the number of offline days according to the sum of the data transmission constant and the number of offline days, and obtains updated anti-replay data frames according to the sum of the last uploaded anti-replay data frames and the estimated data frames.
In the network device migration method provided by this embodiment, the target data further includes a replay-prevention address and a replay-prevention data frame, the second network device is configured according to the replay-prevention address and the replay-prevention data frame, the second network device successfully migrates into the zigbee network, because the zigbee device in the zigbee network records the replay-prevention data frame of the first network device, the zigbee device responds after performing replay attack judgment on the data packet every time the zigbee device receives the data packet, and the second network device configures the replay-prevention data frame, the data packet sent by the second network device can pass the replay attack prevention check of the zigbee device, so that it is ensured that the second network device configured with the replay-prevention data frame can control the zigbee device.
Optionally, the present embodiment provides a data migration processing method, which is applied to the cloud in fig. 1, and referring to fig. 7, the data migration processing method may specifically include the following steps:
step S410, obtaining target data for backup reporting by a first network device, where the target data is obtained by filtering device data of the first network device.
Step S420, in response to the data migration instruction for the first network device, issuing the latest target data to a second network device to instruct the second network device to migrate the target data, where the target data is used for the second network device to perform distribution network.
Optionally, the method further comprises: storing the target data reported by the first network equipment; when the target data of the first network equipment changes, acquiring updated target data reported by the first network equipment; replacing the stored historical target data with the updated target data.
Optionally, the target data includes: and the anti-replay address and the anti-replay data frame corresponding to the anti-replay address.
In this embodiment, for specific descriptions of step S410 to step S420, reference may be made to step S110 to step S160 in the above embodiment, which is not described herein again.
Optionally, this embodiment provides a data migration processing method, which is applied to the first network device in fig. 1, please refer to fig. 8, where the data migration processing method specifically includes the following steps:
step S510, obtaining and filtering the device data of the first network device to obtain target data.
As a mode, acquiring device data of the first network device, where the device data at least includes periodic data and network configuration data; and filtering periodic data in the equipment data to obtain the target data at least comprising network configuration data. The periodic data includes zigbee device attribute status and/or temporary data removal.
Step S520, reporting the target data backup to a cloud end to instruct the cloud end to issue the latest target data to a second network device when a data migration instruction for the first network device is obtained, so as to instruct the second network device to migrate the target data, where the target data is used for the second network device to perform a distribution network.
Wherein the target data comprises: the network equipment comprises a replay-preventing address, a replay-preventing data frame corresponding to the replay-preventing address, Zigbee network configuration data, Zigbee equipment configuration data and network equipment configuration data.
In this embodiment, for specific descriptions of step S510 to step S520, reference may be made to step S110 to step S160 in the above embodiment, which is not described herein again.
Optionally, this embodiment provides a data migration processing method, which is applied to the second network device in fig. 1, please refer to fig. 9, where the data migration processing method specifically includes the following steps:
step S610 is to obtain target data issued by the cloud in response to the data migration instruction for the first network device, where the target data is obtained by filtering device data of the first network device, and the target data is used for the second network device to perform the network distribution.
And S620, migrating the target data.
The second network device immigrates the target data, which means that the second network device acquires and stores the target data.
Optionally, the target data includes a replay-prevention address and a replay-prevention data frame corresponding to the replay-prevention address, and after the second network device accesses the network, the method further includes: receiving communication data, wherein the communication data includes a check data frame, and the communication data may be sent by any other device communicating with the second network device, for example, the communication data may be sent by a cloud, or a smart home device; acquiring the anti-replay address and acquiring an anti-replay data frame corresponding to the anti-replay address; and when the check data frame is smaller than the replay-prevention data frame, the second network equipment possibly suffers from replay attack, and the communication data is discarded.
In this embodiment, for specific description of steps S610 to S620, reference may be made to steps S110 to S160 in the above embodiment, which is not described herein again.
To implement the foregoing method class embodiments, this embodiment provides a data migration processing apparatus, which is applied to a cloud, where a first network device is connected to the cloud, and the cloud is connected to a second network device, fig. 10 shows a block diagram of the data migration processing apparatus according to an embodiment of the present application, and please refer to fig. 10, where the data migration processing apparatus 200 includes: a first acquisition module 210 and a response module 220.
A first obtaining module 210, configured to obtain target data for backup reporting by a first network device, where the target data is obtained by filtering device data of the first network device;
the response module 220 is configured to respond to the data migration instruction for the first network device, and send the latest target data to the second network device to instruct the second network device to migrate the target data, where the target data is used for the second network device to perform a distribution network.
Optionally, the data migration processing apparatus 200 further includes: a storage module, configured to store and update the target data reported by the first network device, and configured to obtain, when the target data of the first network device changes, the updated target data reported by the first network device and the replacement module.
The storage module is used for storing the target data reported by the first network equipment;
the updating module is used for acquiring updated target data reported by the first network equipment when the target data of the first network equipment changes;
and the replacing module is used for replacing the stored historical target data with the updated target data.
The target data includes: and the anti-replay address and the anti-replay data frame corresponding to the anti-replay address.
Optionally, this embodiment provides a data migration processing apparatus, which is applied to a first network device, where the first network device is connected to a cloud, and the cloud is connected to a second network device, please refer to fig. 11, in which the data migration processing apparatus 300 includes: a second obtaining module 310 and a reporting module 320.
A second obtaining module 310, configured to obtain target data obtained by filtering the device data of the first network device;
the reporting module 320 is configured to report the target data backup to a cloud end to instruct the cloud end to issue the latest target data to a second network device when a data migration instruction for the first network device is obtained, so as to instruct the second network device to migrate the target data, where the target data is used for the second network device to perform a distribution network.
Optionally, the second obtaining module 310 is configured to obtain device data of the first network device, where the device data at least includes periodic data and network configuration data; and filtering the periodic data in the equipment data to obtain the target data at least comprising network configuration data.
Optionally, this embodiment provides a data migration processing apparatus, which is applied to a second network device, where a first network device is connected to a cloud, and the cloud is connected to the second network device, and the data migration processing apparatus includes: a third acquisition module and a immigration module.
The third acquisition module is used for acquiring target data issued by a cloud in response to a data migration instruction for first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment, and the target data is used for a second network equipment to carry out distribution;
and the immigration module is used for immigration of the target data.
Optionally, the present application provides a data migration processing system, as shown in fig. 1, the system includes: the system comprises a first network device, a cloud and a second network device.
The first network equipment is used for obtaining and filtering the equipment data of the first network equipment to obtain target data;
the cloud end is used for receiving the target data reported by the first network equipment;
the cloud is further configured to issue the latest target data to a second network device in response to a data migration instruction for the first network device, so as to instruct the second network device to migrate the target data, where the target data is used for the second network device to perform a distribution network.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the modules/units/sub-units/components in the above-described apparatus may refer to the corresponding process in the foregoing method embodiments, and details are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
It can be clearly understood by those skilled in the art that the data migration processing apparatus provided in the embodiment of the present application can implement each process implemented by the network device in the method embodiments of fig. 2 to fig. 9, and for convenience and simplicity of description, specific working processes of the above-described apparatus and modules may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
An embodiment of the present application provides an electronic device, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the data migration processing method provided in the foregoing method embodiment. In this embodiment, the electronic device may be an electronic device capable of running an application, such as an intelligent network device.
The memory may be used to store software programs and modules, and the processor may execute various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, 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 volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.
Fig. 12 is a block diagram of a hardware structure of an electronic device according to a data migration processing method provided in an embodiment of the present application. In this embodiment, the electronic device may be an electronic device capable of running an application, such as an intelligent gateway. As shown in fig. 12, the electronic device 700 may have a relatively large difference due to different configurations or performances, and may include one or more processors 710 (the processors 710 may include but are not limited to processing devices such as a microprocessor MCU or a programmable logic device FPGA), a memory 730 for storing data, and one or more storage media 720 (e.g., one or more mass storage devices) for storing application programs 723 or data 722. Memory 730 and storage medium 720 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 720 may include one or more modules, each of which may include a sequence of instructions operating on the electronic device 700. Further, processor 710 may be configured to communicate with storage medium 720 to execute a series of instruction operations in storage medium 720 on electronic device 700. The electronic device 700 may also include one or more power supplies 760, one or more wired or wireless network interfaces 750, one or more input-output interfaces 740, and/or one or more operating systems 721, such as a Windows Server, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The input/output interface 740 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the electronic device 700. In one example, the input/output interface 740 includes a network adapter (NIC) that can be connected to other network devices through a base station to communicate with the internet. In one example, the input/output interface 740 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 12 is merely illustrative and is not intended to limit the structure of the electronic device. For example, electronic device 700 may also include more or fewer components than shown in FIG. 12, or have a different configuration than shown in FIG. 12.
An embodiment of the present application further provides a computer-readable storage medium 800, and fig. 13 is a block diagram of a computer-readable storage medium for executing a data migration processing method according to an embodiment of the present application. The computer readable storage medium 800 stores a computer program 810, and the computer program 810 is executed by the processor to implement each process of the data migration processing method embodiment, and can achieve the same technical effect, and for avoiding repetition, details are not described here again. The computer-readable storage medium 800 may be a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as an intelligent network device, a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
In summary, according to the data migration processing method, the data migration processing apparatus, the electronic device, and the storage medium provided by the present application, the first network device obtains the device data, and filters the device data to obtain the target data, that is, the target data is a part of the device data, and sends the target data of the device data to the cloud, where the cloud stores the target data in advance, and when migration is required, the cloud responds to the data migration instruction and sends the stored target data to the second network device for configuration, so as to complete network migration, and since the target data for distribution network is a part of the device data, configuration is performed according to the target data, so as to increase the migration rate of the network device, and since the target data is stored in the cloud in advance, when data migration is performed, the first network device does not need to upload data to the cloud, but the second network device directly obtains the target data from the cloud, the migration rate of the network equipment is further improved, moreover, the first network equipment stores the data to the cloud in advance, when the data are migrated, the second network equipment can directly acquire the data from the cloud, and even if the first network equipment is in an off-line state due to reasons such as faults, the target data can be guaranteed to be successfully migrated to the second network equipment.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (13)

1. A data migration processing method is applied to a cloud end, and comprises the following steps:
acquiring target data for backup reporting of first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment;
and responding to a data migration instruction aiming at the first network equipment, and sending the latest target data to second network equipment to indicate the second network equipment to migrate the target data, wherein the target data is used for the second network equipment to carry out distribution network.
2. The method of claim 1, further comprising:
storing the target data reported by the first network equipment;
when the target data of the first network equipment changes, acquiring updated target data reported by the first network equipment;
replacing the stored historical target data with the updated target data.
3. The method of claim 1, wherein the target data comprises: the anti-replay address and the anti-replay data frame corresponding to the anti-replay address; the anti-replay address and the anti-replay data frame are used for carrying out distribution network verification on the second network device so as to indicate the second network device to carry out data communication after the distribution network verification is passed.
4. A data migration processing method is applied to a first network device, and comprises the following steps:
acquiring and filtering the equipment data of the first network equipment to obtain target data;
and reporting the target data backup to a cloud end to indicate the cloud end to issue the latest target data to a second network device when a data migration instruction aiming at the first network device is obtained, so as to indicate the second network device to migrate the target data, wherein the target data is used for the second network device to carry out distribution network.
5. The method of claim 4, wherein the obtaining the target data by filtering the device data of the first network device comprises:
acquiring device data of the first network device, wherein the device data at least comprises periodic data and network configuration data;
and filtering the periodic data in the equipment data to obtain the target data at least comprising network configuration data.
6. A data migration method applied to a second network device, the method comprising:
acquiring target data issued by a cloud in response to a data migration instruction for first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment, and the target data is used for a second network equipment to carry out distribution;
and migrating the target data.
7. The method of claim 6, wherein the target data comprises a replay-prevention address and a replay-prevention data frame corresponding to the replay-prevention address; the method further comprises the following steps:
receiving communication data, wherein the communication data comprises a check data frame;
acquiring the anti-replay address and acquiring an anti-replay data frame corresponding to the anti-replay address;
discarding the communication data when the check data frame is smaller than the anti-replay data frame.
8. A data migration processing system, the system comprising:
the first network equipment is used for obtaining and filtering the equipment data of the first network equipment to obtain target data;
the cloud end is used for receiving the target data reported by the first network equipment;
the cloud is further configured to issue the latest target data to a second network device in response to a data migration instruction for the first network device, so as to instruct the second network device to migrate the target data, where the target data is used for a distribution network of the second network device.
9. A data migration processing device is applied to a cloud end, and comprises:
the first acquisition module is used for acquiring target data which is backed up and reported by first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment;
and the response module is used for responding to a data migration instruction aiming at the first network equipment, and sending the latest target data to the second network equipment so as to indicate the second network equipment to migrate the target data, wherein the target data is used for the second network equipment to carry out distribution network.
10. A data migration processing apparatus, applied to a first network device, the apparatus comprising:
the second acquisition module is used for acquiring and filtering the equipment data of the first network equipment to obtain target data;
and the reporting module is used for reporting the target data backup to a cloud end so as to indicate the cloud end to issue the latest target data to a second network device when a data migration instruction aiming at the first network device is obtained, so as to indicate the second network device to migrate the target data, wherein the target data is used for the second network device to carry out distribution network.
11. A data migration processing apparatus, applied to a second network device, the apparatus comprising:
the third acquisition module is used for acquiring target data issued by a cloud in response to a data migration instruction for first network equipment, wherein the target data is obtained by filtering equipment data of the first network equipment, and the target data is used for a second network equipment to carry out distribution;
and the immigration module is used for immigration of the target data.
12. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-7.
13. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 7.
CN202210002131.8A 2022-01-04 2022-01-04 Data migration processing method and device, electronic equipment and storage medium Pending CN114553958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210002131.8A CN114553958A (en) 2022-01-04 2022-01-04 Data migration processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210002131.8A CN114553958A (en) 2022-01-04 2022-01-04 Data migration processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114553958A true CN114553958A (en) 2022-05-27

Family

ID=81669218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210002131.8A Pending CN114553958A (en) 2022-01-04 2022-01-04 Data migration processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114553958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089358A (en) * 2022-06-02 2023-05-09 荣耀终端有限公司 Data migration method and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686070A (en) * 2016-12-13 2017-05-17 腾讯科技(深圳)有限公司 Database data migration method, device, terminal and system
CN109271098A (en) * 2018-07-18 2019-01-25 成都华为技术有限公司 A kind of data migration method and device
CN109783190A (en) * 2018-12-12 2019-05-21 北京世纪互联宽带数据中心有限公司 Data migration method and its device, electronic equipment, computer-readable medium
WO2019100334A1 (en) * 2017-11-24 2019-05-31 华为技术有限公司 Data processing method and apparatus
CN110708352A (en) * 2019-09-02 2020-01-17 上海商米科技集团股份有限公司 Data backup method for Internet of things equipment and Internet of things equipment
CN111459643A (en) * 2020-04-15 2020-07-28 上海安畅网络科技股份有限公司 Host migration method
CN112350858A (en) * 2020-10-28 2021-02-09 冯芳 Cloud intelligent home data security management system
CN112486957A (en) * 2020-12-16 2021-03-12 平安普惠企业管理有限公司 Database migration detection method, device, equipment and storage medium
CN112583925A (en) * 2020-12-23 2021-03-30 佳讯飞鸿(北京)智能科技研究院有限公司 Control system and method of internet of things service, readable storage medium and electronic device
CN113220660A (en) * 2021-04-15 2021-08-06 远景智能国际私人投资有限公司 Data migration method, device and equipment and readable storage medium
CN113297180A (en) * 2021-06-01 2021-08-24 平安证券股份有限公司 Data migration method and device, electronic equipment and storage medium
CN113393051A (en) * 2021-06-30 2021-09-14 四川大学 Power distribution network investment decision method based on deep migration learning

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686070A (en) * 2016-12-13 2017-05-17 腾讯科技(深圳)有限公司 Database data migration method, device, terminal and system
WO2019100334A1 (en) * 2017-11-24 2019-05-31 华为技术有限公司 Data processing method and apparatus
CN109271098A (en) * 2018-07-18 2019-01-25 成都华为技术有限公司 A kind of data migration method and device
CN109783190A (en) * 2018-12-12 2019-05-21 北京世纪互联宽带数据中心有限公司 Data migration method and its device, electronic equipment, computer-readable medium
CN110708352A (en) * 2019-09-02 2020-01-17 上海商米科技集团股份有限公司 Data backup method for Internet of things equipment and Internet of things equipment
CN111459643A (en) * 2020-04-15 2020-07-28 上海安畅网络科技股份有限公司 Host migration method
CN112350858A (en) * 2020-10-28 2021-02-09 冯芳 Cloud intelligent home data security management system
CN112486957A (en) * 2020-12-16 2021-03-12 平安普惠企业管理有限公司 Database migration detection method, device, equipment and storage medium
CN112583925A (en) * 2020-12-23 2021-03-30 佳讯飞鸿(北京)智能科技研究院有限公司 Control system and method of internet of things service, readable storage medium and electronic device
CN113220660A (en) * 2021-04-15 2021-08-06 远景智能国际私人投资有限公司 Data migration method, device and equipment and readable storage medium
CN113297180A (en) * 2021-06-01 2021-08-24 平安证券股份有限公司 Data migration method and device, electronic equipment and storage medium
CN113393051A (en) * 2021-06-30 2021-09-14 四川大学 Power distribution network investment decision method based on deep migration learning

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEIGANG HOU: "Recycling Edge Devices in Sustainable Internet of Things Networks", 《 IEEE INTERNET OF THINGS JOURNAL》, 14 July 2017 (2017-07-14) *
王军;刘三民;刘涛;: "面向概念漂移的数据流分类研究分析", 绵阳师范学院学报, no. 05, 15 May 2017 (2017-05-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116089358A (en) * 2022-06-02 2023-05-09 荣耀终端有限公司 Data migration method and electronic equipment
CN116089358B (en) * 2022-06-02 2023-11-24 荣耀终端有限公司 Data migration method and electronic equipment

Similar Documents

Publication Publication Date Title
CN110572481B (en) Intelligent electromechanical equipment data interaction method based on LoRa communication
CN105897860B (en) Network device and information processing method
CN107710689B (en) Cloud synchronization architecture for home automation systems
US9568989B2 (en) Method for acting as service agent, modem, and terminal by establishing a heartbeat connection with an application server
US9872128B2 (en) Method of establishing stable Piconet and system of establishment of stable Piconet based on bluetooth
US20170343971A1 (en) Building Management Control
US20220286402A1 (en) Method and apparatus for controlling data packet sending, model training method and apparatus, and system
EP3376717B1 (en) Link discovery method and apparatus
CN111711698A (en) Intelligent equipment network access method and device and intelligent equipment control system and method
CN114553958A (en) Data migration processing method and device, electronic equipment and storage medium
CN106411574B (en) Management control method and device
US9479441B2 (en) Data rate adaptation based on time-based events
CN112887416B (en) Frequency adjustment method and device for sending keep-alive packets
CN110876117A (en) Method and device for recovering lost connection of terminal
JP6197293B2 (en) Communication apparatus, communication method, and communication system for autonomously controlling network management method
CN113553194B (en) Hardware resource management method, device and storage medium
JP5877495B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
EP3496468B1 (en) Network entity for creating a transmission session via a network system, roaming firewall, network system, method and computer program product
CN102355456B (en) Management method and device for restart counter
US11625081B2 (en) Centralized profile-based operational monitoring and control of remote computing devices
WO2020157451A1 (en) Lifetime-based device registration control
CN102457531B (en) The implementation method of personal network equipment proxy mode and personal network equipment
CN117724352A (en) Device control method, device control apparatus, storage medium, and electronic apparatus
CN115657492A (en) Control instruction execution method and device, electronic equipment and storage medium
Heo et al. Design and Implementation of Monitoring Software for Heterogeneous Control Network

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