Data backup method and apparatus, and storage medium

By deploying edge backup devices between IoT gateways and application servers, evaluating and processing data backup requests, the problem of data loss when the IoT gateway is disconnected is solved, and reliable data backup and cost reduction are achieved.

WO2025030525A1PCT designated stage expired Publication Date: 2025-02-13SIEMENS AG +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/112349
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-08-10
Publication Date
2025-02-13

AI Technical Summary

Technical Problem

Data loss is difficult to avoid when the IoT gateway is disconnected from the server, especially when large amounts of data are needed to be collected. The existing IoT gateway lacks big data storage capacity and storage redundant systems, resulting in increased costs and data security It's hard to guarantee.

Method used

A data backup method is proposed to evaluate backup requests and perform data backup and recovery through collaborative work between edge backup devices and gateways and application servers, ensuring reliable backup of data and reducing the cost of backup devices.

Benefits of technology

It realizes the evaluation and flexible processing of data backup requirements, ensures reliable data backup, reduces the cost of backup equipment, and improves the flexibility of system architecture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023112349_13022025_PF_FP_ABST
    Figure CN2023112349_13022025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present invention are a data backup method and apparatus, and a storage medium. The method comprises: an edge backup device acquiring a data backup request sent by a gateway, and evaluating the backup request on the basis of the backup request and the data processing capacity of the backup device; if the requirements in the backup request are met, receiving and saving backup data; and sending the backup data to the gateway or an application server with the guidance of the request according to a recovery request of the gateway. The gateway confirms with the application server regarding whether the application server can communicate with the edge backup device; and if so, the backup data is guided to be sent to the application server, otherwise, the backup data is guided to be sent to the gateway, and then sent to the application server by means of the gateway. By means of the technical solution in the embodiments of the present invention, data backup can be performed after a backup request is evaluated by taking into consideration the processing capability of an edge backup device, and thus backup requirements can be flexibly handled; moreover, the cost of deploying a large amount of backup devices is reduced, and a more flexible backup network structure is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Data backup method, device and storage medium Technical Field

[0001] The present invention relates to the fields of edge computing and network communications, and in particular to a data backup method, device, and storage medium. Background Art

[0002] As digitalization becomes increasingly important in the manufacturing industry, more and more data is being collected and stored to support various applications such as process tracking, equipment monitoring, predictive maintenance, and AI-based analysis and optimization. With the development of IoT technology, more and more data is now collected through sensors and on-site lightweight IoT gateways or IoT edge devices, and then transmitted to application servers.

[0003] Occasional disconnections between the IoT gateway and the server are inevitable due to updates to the operating system / application / library on the server, unexpected service interruptions on the server, network outages due to cable problems or configuration changes, network reconstruction, etc. To continue collecting important data and avoid data loss during server disconnections, IoT gateways are usually designed to temporarily cache collected data and upload the cached data immediately after the server connection is restored.

[0004] IoT gateways with large data storage capacity are essential to avoid data loss caused by prolonged disconnection from the server, especially when large amounts of data need to be collected. For example, if more than one sensor is connected to the gateway and data collection is frequent, the gateway must be robust. Since IoT gateways in most IoT applications are designed to be low-cost, low-function, and deployed on a large scale, the need for industrial-grade large data storage capacity significantly increases costs. Furthermore, it is difficult to implement a redundant storage system, such as a dual-disk backup system, to ensure the security of cached data on the gateway.

[0005] Summary of the Invention

[0006] To solve the above problems, the present invention proposes a multiple backup method, device and storage medium for backing up data, reducing the cost of backup equipment and improving the flexibility of system architecture.

[0007] A data backup method proposed in an embodiment of the present invention is deployed on the edge backup device side. The method includes: an edge backup device information acquisition step, which acquires the data processing capability of the edge backup device; a backup request acquisition step, which acquires the data backup request sent by the gateway; wherein the data backup request includes data backup requirement information; a backup request evaluation step, which includes: evaluating the data backup request based on the data backup requirement information and the data processing capability of the edge backup device; if the edge backup device is able to process the data backup request, sending data backup request confirmation information to the gateway; a backup data receiving step, which receives the backup data sent by the gateway after obtaining the data backup request confirmation information, and saves the backup data to the edge backup device; a backup recovery request acquisition step, which acquires the backup recovery request sent by the gateway; and a backup data sending step, which sends the backup data stored in the edge backup device to the gateway or application server according to the backup recovery request. This achieves the evaluation of data backup requirements, ensures reliable data backup, and reduces the cost of backup devices.

[0008] A data backup method proposed in an embodiment of the present invention is deployed on the gateway side and includes: a backup request sending step, wherein a data backup request is sent to an edge backup device; wherein the data backup request includes data backup requirement information; a data backup request confirmation information acquisition step, wherein the data backup request confirmation information is acquired from the edge backup device; a backup data sending step, wherein the backup data is sent to the edge backup device that has sent the data backup request confirmation information; a backup recovery request sending step, wherein the backup recovery request is sent to the edge backup device that stores the backup data; and a backup data receiving step, wherein the backup data is acquired from the edge backup device. This method implements an assessment of data backup requirements, ensures reliable data backup, and reduces the cost of backup devices.

[0009] A data backup method proposed in an embodiment of the present invention, deployed on an application server, includes: obtaining backup and recovery guidance query information, receiving backup and recovery query information sent by a gateway; responding to the backup and recovery guidance query information, determining whether the application server can communicate with an edge backup device; if so, sending backup and recovery confirmation information to the gateway; and receiving backup data, receiving backup data sent by the edge backup device. This method enables assessment of data backup requirements, ensures reliable data backup, and reduces backup device costs.

[0010] In an embodiment of the present invention, a data backup device is proposed, which is arranged on the edge backup device side and includes: an edge backup device information acquisition module, configured to obtain the data processing capability of the edge backup device; a backup request acquisition module, configured to obtain a data backup request sent by a gateway, wherein the data backup request includes data backup requirement information; a backup request evaluation module, configured to evaluate the data backup request based on the data backup requirement information and the data processing capability of the edge backup device; if the edge backup device is able to process the data backup request, then send data backup request confirmation information to the gateway; a backup data receiving module, configured to receive backup data sent by the gateway after obtaining the data backup request confirmation information, and save the backup data to the edge backup device; a backup recovery request acquisition module, configured to obtain the backup recovery request sent by the gateway; and a backup data sending module, configured to send the backup data stored in the edge backup device to the gateway or application server based on the backup recovery request. This implements the evaluation of data backup requirements, ensures reliable data backup, and reduces the cost of backup devices.

[0011] In an embodiment of the present invention, a data backup device is proposed, which is arranged on the gateway side and includes: a backup request sending module configured to send a data backup request to an edge backup device; wherein the data backup request includes data backup requirement information; a data backup request confirmation information acquisition module configured to acquire the data backup request confirmation information sent by the edge backup device; a backup data sending module configured to send backup data to the edge backup device that sent the data backup request confirmation information; a backup recovery request sending module configured to send a backup recovery request to the edge backup device that stores the backup data; and a backup data receiving module configured to acquire the backup data sent by the edge backup device. This device implements an assessment of data backup requirements, ensures reliable data backup, and reduces the cost of backup devices.

[0012] In an embodiment of the present invention, a data backup device is provided on an application server. The device comprises: a backup and recovery guidance query information acquisition module configured to acquire backup and recovery query information sent by a gateway; a backup and recovery guidance query information response module configured to determine whether the application server can communicate with an edge backup device and, if so, to send a backup and recovery query confirmation message to the gateway; and a backup data receiving module configured to acquire backup data sent by the edge backup device. This device enables assessment of data backup requirements, ensures reliable data backup, and reduces backup device costs.

[0013] An electronic device proposed in an embodiment of the present invention includes: at least one processor; and a memory coupled to the at least one processor, wherein the memory is used to store instructions, and when the instructions are executed by the at least one processor, the processor executes the method described above.

[0014] An embodiment of the present invention provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed, the method described in any of the above embodiments is executed.

[0015] A computer program product provided in an embodiment of the present invention includes a computer program. When the computer program is executed by a processor, the method described in any one of the above embodiments is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The following drawings are only intended to illustrate and explain the present invention, and do not limit the scope of the present invention.

[0017] FIG1 is a schematic diagram of the architecture of a data backup network according to an embodiment of the present invention.

[0018] FIG2 is a flow chart of a data backup method deployed on an edge backup device according to an embodiment of the present invention.

[0019] FIG3 is a flow chart of a data backup method deployed on a gateway side according to an embodiment of the present invention.

[0020] FIG4 is a flow chart of a data backup method deployed on an application server according to an embodiment of the present invention.

[0021] FIG5 is a schematic structural diagram of a data backup apparatus provided at an edge backup device according to an embodiment of the present invention.

[0022] FIG6 is a schematic structural diagram of a data backup device provided at a gateway side according to an embodiment of the present invention.

[0023] FIG7 is a schematic structural diagram of a data backup device provided on an application server side according to an embodiment of the present invention.

[0024] FIG8 is a schematic diagram of an electronic device according to an embodiment of the present invention.

[0025] The following are the descriptions of the reference numerals: DETAILED DESCRIPTION

[0026] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described with reference to the accompanying drawings.

[0027] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0028] As used in this application and the claims, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" are not intended to refer to the singular but may include the plural. Generally speaking, the terms "comprises" and "include" only indicate the inclusion of the steps and elements specifically identified, and these steps and elements do not constitute an exclusive list. A method or apparatus may also include other steps or elements.

[0029] IoT gateways with large data storage capacity are essential to avoid data loss caused by prolonged disconnection from the server, especially when large amounts of data need to be collected. For example, when more than one sensor is connected to the gateway and the data collection frequency is high. Since IoT gateways in most IoT applications are designed to be low-cost, low-function, and deployed on a large scale, the need for industrial-grade large data storage capacity will significantly increase costs.

[0030] Therefore, an embodiment of the present invention provides a more optimized data backup method, apparatus and storage medium. Among them, the method includes: the edge backup device obtains the data backup request sent by the gateway, and evaluates the backup request based on the backup request and the data processing capability of the backup device; if the backup request is met, the backup data is received and saved; according to the recovery request of the gateway, the backup data is sent to the gateway or application server according to the guidance of the request. The gateway confirms with the application server whether the application server can communicate with the edge backup device; if so, the backup data is directed to be sent to the application server; otherwise, it is directed to be sent to the gateway, and then sent to the application server by the gateway. The technical solution in the embodiment of the present invention can back up data after evaluating the backup request in combination with the processing capability of the edge backup device, can flexibly handle backup needs, and at the same time reduce the cost of deploying a large number of backup devices, and realize a more flexible backup network structure.

[0031] Figure 1 is a schematic diagram of the architecture of a data backup network according to an embodiment of the present invention. As shown in Figure 1, the network may include:

[0032] Edge backup device 101 is a computer-like device primarily consisting of a CPU, memory, storage disks, a network interface card, and more. It can be a server, PC, or IoT gateway-like device. It is capable of connecting to a network, receiving data from other devices, transmitting data to other devices, and storing data on one or more storage disks. An edge backup device can be a general-purpose, lightweight IoT backup device, independent of any specific IT application. There may be more than one edge backup device in a network. An edge backup device can be a standalone device solely responsible for data backup, or it can be a standard IoT gateway with large storage capacity that supports both IoT data collection services (acting as an IoT gateway) and data backup services (acting as an edge backup device). This means that each gateway can be an edge backup device and can easily share storage with each other if it has more processing power and storage space than its own tasks require.

[0033] Gateway 102 can act as a data transfer point, sending data from edge devices to a centralized data center for dispatch to application servers, or forwarding server data to edge devices. When communication between the gateway and the application server is interrupted, it requests a cached data backup from the edge backup device. When restoring data, it acts as a bridge, asking the application server whether it can directly receive backup data from the edge backup device and requesting the edge backup device to retrieve the backup data.

[0034] The application server 103 can communicate directly with the gateway or the edge backup device. After verifying the communication possibility with the edge backup device, it can directly receive the backup book stored therein.

[0035] FIG2 is a flow chart of a data backup method 200 deployed on an edge backup device according to an embodiment of the present invention. As shown in FIG2 , the method 200 may include:

[0036] In the edge backup device information acquisition step S201 , the data processing capability of the edge backup device is acquired.

[0037] In the backup request acquisition step S202, a data backup request sent by the gateway is acquired; wherein the data backup request includes data backup requirement information.

[0038] Specifically, there are two ways a gateway can send a backup request to an edge backup device. First, a list of specific network addresses for edge backup devices can be reserved and placed in each gateway's configuration file. When a gateway requires backup services, it can send a request message to each edge backup device address to locate it within the network. Second, since every edge device or gateway can provide data backup services as an edge backup device, the gateway can broadcast the request message across the network and select a single edge backup device from all responding devices.

[0039] The backup request evaluation step S203 includes: evaluating the data backup request based on the data backup requirement information and the data processing capability of the edge backup device; and sending data backup request confirmation information to the gateway if the edge backup device can process the data backup request.

[0040] In one embodiment, the data processing capabilities of the edge backup device include: computing power, network bandwidth, storage space and / or ongoing backup tasks;

[0041] The data backup requirement information includes: storage space requirement, communication requirement and / or data priority.

[0042] Specifically, the storage space requirement and the communication requirement may be a sampling frequency, a size of data sampled each time, and / or a time required for backup, etc.

[0043] Specifically, data backup requests from other edge devices or gateways can be evaluated based on the capabilities of the edge backup device, such as processing power, network bandwidth, storage space, ongoing backup services, and request information. After accepting the request from the IoT gateway, it will receive and store all data from the gateway. The request message may include the gateway's identity information and specific requirements, such as device ID, security check token, storage requirements, such as the sample size of the collected data, collection frequency, storage capacity required per minute, communication requirements, such as TCP, UDP, whether ACK is required, and even the priority of the data, similar to QoS (Quality of Services). After evaluation, if the storage requirements can be well met, the edge backup device will send a confirmation message to the gateway.

[0044] The backup data receiving step S204 is to receive the backup data sent by the gateway after obtaining the data backup request confirmation information, and save the backup data to the edge backup device.

[0045] Specifically, the gateway sends the collected data to the edge backup device. After receiving the data from the gateway, the edge backup device will not attempt to interpret the content or structure of the data and will simply store the data as is.

[0046] In the backup and recovery request acquisition step S205, a backup and recovery request sent by the gateway is acquired.

[0047] In the backup data sending step S206 , the backup data stored in the edge backup device is sent to the gateway or application server according to the backup recovery request.

[0048] In one embodiment, the backup and recovery request includes backup and recovery guiding information; the backup and recovery guiding information is used to guide the backup data to be sent to the gateway or application server.

[0049] Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the edge backup device-related services, the gateway will attempt to retrieve the backup data from the edge backup device and send it to the application server. The gateway can send a query message to the application server to inquire whether the application server supports the edge backup device service. If the server confirms the message, the gateway will notify the edge backup device to transfer the backup data directly to the application server instead of returning the data to the gateway.

[0050] FIG3 is a flow chart of a data backup method 300 deployed on a gateway side according to an embodiment of the present invention. As shown in FIG3 , the method 300 may include:

[0051] Backup request sending step S301: sending a data backup request to an edge backup device; wherein the data backup request includes data backup requirement information.

[0052] Specifically, there are two ways a gateway can send a backup request to an edge backup device. First, a list of specific network addresses can be reserved for edge backup devices, with the address list placed in each gateway's configuration file. When a gateway requires backup services, it can send a request message to each edge backup device address to locate the edge backup device in the network. Second, since every edge device or gateway can provide data backup services as an edge backup device, the gateway can broadcast the request message across the network and select one from all responding edge backup devices.

[0053] The data backup request confirmation information acquisition step S302 is to acquire the data backup request confirmation information sent by the edge backup device.

[0054] Specifically, data backup requests from other edge devices or gateways can be evaluated based on the capabilities of the edge backup device, such as processing power, network bandwidth, storage space, ongoing backup services, and request information. After accepting the request from the IoT gateway, it will receive and store all data from the gateway. The request message may include the gateway's identity information and specific requirements, such as device ID, security check token, storage requirements, such as the sample size of the collected data, collection frequency, storage capacity required per minute, communication requirements, such as TCP, UDP, whether ACK is required, and even the priority of the data, similar to QoS (Quality of Services). After evaluation, if the storage requirements can be well met, the edge backup device will send a confirmation message to the gateway.

[0055] In the backup data sending step S303 , the backup data is sent to the edge backup device that sent the data backup request confirmation information.

[0056] In the backup and recovery request sending step S304, a backup and recovery request is sent to the edge backup device storing the backup data.

[0057] Backup data receiving step S305: acquiring the backup data sent by the edge backup device.

[0058] In one embodiment, before the backup recovery request sending step S304, the method further includes: a backup recovery guidance inquiry step S306, including: sending backup recovery query information to the application server, inquiring whether the application server can communicate with the edge backup device, obtaining the backup recovery confirmation information of the application server in response to the backup recovery query information, and generating a backup recovery request based on the backup recovery confirmation information.

[0059] In one embodiment, the backup and recovery request includes: backup and recovery guidance information, which is used to guide the backup data to be sent to the gateway or application server; if the gateway receives the backup and recovery confirmation information, it generates a backup and recovery request containing backup and recovery guidance information that guides the backup data to be sent to the application server; otherwise, it generates a backup and recovery request containing backup and recovery guidance information that guides the backup data to be sent to the gateway.

[0060] Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the edge backup device-related services, the gateway will attempt to retrieve the backup data from the edge backup device and send it to the application server. The gateway can send a query message to the application server to inquire whether the application server supports the edge backup device service. If the server confirms the message, the gateway will notify the edge backup device to transfer the backup data directly to the application server instead of returning the data to the gateway.

[0061] FIG4 is a flow chart of a data backup method 400 deployed on an application server in accordance with an embodiment of the present invention. As shown in FIG4 , the method 400 may include:

[0062] Obtain backup and recovery guidance query information step S401, obtain backup and recovery query information sent by the gateway;

[0063] Backup and recovery guidance inquiry information response step S402, determining whether the application server can communicate with the edge backup device; if so, sending backup and recovery confirmation information to the gateway;

[0064] Backup data receiving step S403, acquiring the backup data sent by the edge backup device.

[0065] Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the edge backup device-related services, the gateway will attempt to retrieve the backup data from the edge backup device and send it to the application server. The gateway can send a query message to the application server to inquire whether the application server supports the edge backup device service. If the server confirms the message, the gateway will notify the edge backup device to transfer the backup data directly to the application server instead of returning the data to the gateway.

[0066] FIG5 is a schematic diagram of a data backup device 500 disposed on an edge backup device according to an embodiment of the present invention. As shown in FIG5 , the device 500 may include:

[0067] The edge backup device information acquisition module 501 acquires the data processing capability of the edge backup device.

[0068] The backup request obtaining module 502 obtains a data backup request sent by the gateway; wherein the data backup request includes data backup requirement information.

[0069] Specifically, there are two ways a gateway can send a backup request to an edge backup device. First, a list of specific network addresses can be reserved for edge backup devices, with the address list placed in each gateway's configuration file. When a gateway requires backup services, it can send a request message to each edge backup device address to locate the edge backup device in the network. Second, since every edge device or gateway can provide data backup services as an edge backup device, the gateway can broadcast the request message across the network and select one from all responding edge backup devices.

[0070] The backup request evaluation module 503 includes: evaluating the data backup request based on the data backup requirement information and the data processing capability of the edge backup device; and sending data backup request confirmation information to the gateway if the edge backup device can process the data backup request.

[0071] In one embodiment, the data processing capabilities of the edge backup device include: computing power, network bandwidth, storage space and / or ongoing backup tasks;

[0072] The data backup requirement information includes: storage space requirement, communication requirement and / or data priority.

[0073] Specifically, the storage space requirement and the communication requirement may be a sampling frequency, a size of data sampled each time, and / or a time required for backup, etc.

[0074] Specifically, data backup requests from other edge devices or gateways can be evaluated based on the capabilities of the edge backup device, such as processing power, network bandwidth, storage space, ongoing backup services, and request information. After accepting the request from the IoT gateway, it will receive and store all data from the gateway. The request message may include the gateway's identity information and specific requirements, such as device ID, security check token, storage requirements, such as the sample size of the collected data, collection frequency, storage capacity required per minute, communication requirements, such as TCP, UDP, whether ACK is required, and even the priority of the data, similar to QoS (Quality of Services). After evaluation, if the storage requirements can be well met, the edge backup device will send a confirmation message to the gateway.

[0075] The backup data receiving module 504 receives the backup data sent by the gateway after obtaining the data backup request confirmation information, and saves the backup data to the edge backup device.

[0076] Specifically, the gateway sends the collected data to the edge backup device. After receiving the data from the gateway, the edge backup device will not attempt to interpret the content or structure of the data and will simply store the data as is.

[0077] The backup and recovery request obtaining module 505 obtains the backup and recovery request sent by the gateway.

[0078] The backup data sending module 506 sends the backup data stored in the edge backup device to the gateway or application server according to the backup recovery request.

[0079] In one embodiment, the backup and recovery request includes backup and recovery guiding information; the backup and recovery guiding information guides the backup data to be sent to the gateway or application server.

[0080] Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the edge backup device-related services, the gateway will attempt to retrieve the backup data from the edge backup device and send it to the application server. The gateway can send a query message to the application server to inquire whether the application server supports the edge backup device service. If the server confirms the message, the gateway will notify the edge backup device to transfer the backup data directly to the application server instead of returning the data to the gateway.

[0081] FIG6 is a schematic diagram of a data backup device 600 provided at a gateway according to an embodiment of the present invention. As shown in FIG6 , the device 600 may include:

[0082] The backup request sending module 601 sends a data backup request to the edge backup device; wherein the data backup request includes data backup requirement information.

[0083] Specifically, there are two ways a gateway can send a backup request to an edge backup device. First, a list of specific network addresses can be reserved for edge backup devices, with the address list placed in each gateway's configuration file. When a gateway requires backup services, it can send a request message to each edge backup device address to locate the edge backup device in the network. Second, since every edge device or gateway can provide data backup services as an edge backup device, the gateway can broadcast the request message across the network and select one from all responding edge backup devices.

[0084] The data backup request confirmation information acquisition module 602 acquires the data backup request confirmation information sent by the edge backup device.

[0085] Specifically, data backup requests from other edge devices or gateways can be evaluated based on the capabilities of the edge backup device, such as processing power, network bandwidth, storage space, ongoing backup services, and request information. After accepting the request from the IoT gateway, it will receive and store all data from the gateway. The request message may include the gateway's identity information and specific requirements, such as device ID, security check token, storage requirements, such as the sample size of the collected data, collection frequency, storage capacity required per minute, communication requirements, such as TCP, UDP, whether ACK is required, and even the priority of the data, similar to QoS (Quality of Services). After evaluation, if the storage requirements can be well met, the edge backup device will send a confirmation message to the gateway.

[0086] The backup data sending module 603 sends the backup data to the edge backup device that sent the data backup request confirmation information.

[0087] The backup and recovery request sending module 604 sends a backup and recovery request to the edge backup device storing the backup data.

[0088] The backup data receiving module 605 obtains the backup data sent by the edge backup device.

[0089] In one embodiment, before executing the backup recovery request sending module 604, the device further includes: a backup recovery guidance inquiry module 606, including: sending backup recovery query information to the application server, inquiring whether the application server can communicate with the edge backup device, obtaining the backup recovery confirmation information of the application server in response to the backup recovery query information, and generating a backup recovery request based on the backup recovery confirmation information.

[0090] In one embodiment, the backup and recovery request includes: backup and recovery guidance information, which is used to guide the backup data to be sent to the gateway or application server; if the gateway receives the backup and recovery confirmation information, it generates a backup and recovery request containing backup and recovery guidance information that guides the backup data to be sent to the application server; otherwise, it generates a backup and recovery request containing backup and recovery guidance information that guides the backup data to be sent to the gateway.

[0091] Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the edge backup device-related services, the gateway will attempt to retrieve the backup data from the edge backup device and send it to the application server. The gateway can send a query message to the application server to inquire whether the application server supports the edge backup device service. If the server confirms the message, the gateway will notify the edge backup device to transfer the backup data directly to the application server instead of returning the data to the gateway.

[0092] FIG7 is a schematic diagram of a data backup device 700 provided on an application server side according to an embodiment of the present invention. As shown in FIG7 , the device 700 may include:

[0093] Obtain backup and recovery guidance query information module 701, obtain backup and recovery query information sent by the gateway;

[0094] The backup and recovery guidance inquiry information response module 702 determines whether the application server can communicate with the edge backup device; if so, sends a backup and recovery confirmation message to the gateway;

[0095] The backup data receiving module 703 obtains the backup data sent by the edge backup device.

[0096] Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the edge backup device-related services, the gateway will attempt to retrieve the backup data from the edge backup device and send it to the application server. The gateway can send a query message to the application server to inquire whether the application server supports the edge backup device service. If the server confirms the message, the gateway will notify the edge backup device to transfer the backup data directly to the application server instead of returning the data to the gateway.

[0097] The present invention also provides an electronic device 800. FIG8 is a schematic diagram of an electronic device 800 according to an embodiment of the present invention. As shown in FIG8 , electronic device 800 includes a processor 810 and a memory 820. Memory 820 stores instructions, wherein the instructions, when executed by processor 810, implement methods 100 to 700 as described above.

[0098] The present invention further provides a computer-readable storage medium having computer instructions stored thereon. When the computer instructions are executed, the method described above is executed.

[0099] The present invention also provides a computer program product, comprising a computer program, which implements the above-mentioned method when executed by a processor.

[0100] Some aspects of the methods and apparatus of the present invention may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as "data blocks," "modules," "engines," "units," "components," or "systems." The processor may be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLCs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or combinations thereof. In addition, various aspects of the present invention may be embodied as computer products in one or more computer-readable media, the product including computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, tapes, etc.), optical disks (e.g., compact disks (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., cards, sticks, key drives, etc.).

[0101] Flowcharts are used herein to illustrate the operations performed by the methods according to the embodiments of the present application. It should be understood that the preceding operations are not necessarily performed in exact order. Instead, the various steps may be performed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.

[0102] It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.

[0103] The above description is only an illustrative embodiment of the present invention and is not intended to limit the scope of the present invention. Any equivalent changes, modifications and combinations made by those skilled in the art without departing from the concept and principle of the present invention shall fall within the scope of protection of the present invention.

Claims

1. A data backup method (200), deployed on an edge backup device side, characterized in that: The method comprises: An edge backup device information acquisition step (S201) is to acquire the data processing capability of the edge backup device; A backup request acquisition step (S202) is to acquire a data backup request sent by a gateway; wherein the data backup request includes data backup requirement information; The backup request evaluation step (S203) includes: evaluating the data backup request based on the data backup requirement information and the data processing capability of the edge backup device; if the edge backup device can process the data backup request, sending data backup request confirmation information to the gateway; A backup data receiving step (S204), receiving the backup data sent by the gateway after obtaining the data backup request confirmation information, and saving the backup data to the edge backup device; A backup and recovery request acquisition step (S205), acquiring a backup and recovery request sent by the gateway; The backup data sending step (S206) sends the backup data stored in the edge backup device to the gateway or application server according to the backup recovery request.

2. The method according to claim 1, characterized in that The data processing capabilities of the edge backup device include: computing power, network bandwidth, storage space and / or ongoing backup tasks; the data backup demand information includes: storage space requirements, communication requirements and / or data priority.

3. The method according to claim 1, characterized in that: The backup and recovery request includes: Backup and recovery guide information, wherein the backup and recovery guide information is used to guide the backup data to be sent to the gateway or application server.

4. A data backup method (300), deployed on a gateway side, characterized in that: The method comprises: A backup request sending step (S301) sends a data backup request to an edge backup device; wherein the data backup request includes data backup requirement information; A data backup request confirmation information acquisition step (S302), acquiring the data backup request confirmation information sent by the edge backup device; A backup data sending step (S303) is to send the backup data to the edge backup device that sends the data backup request confirmation information; A backup recovery request sending step (S304), sending a backup recovery request to an edge backup device storing the backup data; The backup data receiving step (S305) is to obtain the backup data sent by the edge backup device.

5. The method according to claim 4, characterized in that Before the backup recovery request sending step (S304), the method further comprises: The backup recovery boot inquiry step (S306) includes: sending backup recovery query information to the application server, inquiring whether the application server can communicate with the edge backup device, obtaining backup recovery confirmation information from the application server in response to the backup recovery query information, and generating a backup recovery request based on the backup recovery confirmation information.

6. The method according to claim 5, characterized in that The backup and recovery request includes: Backup and recovery guide information, the backup and recovery guide information is used to guide the backup data to be sent to the gateway or application server; If the gateway receives the backup and recovery confirmation information, it generates a backup and recovery request containing backup and recovery guidance information for guiding the backup data to be sent to the application server; otherwise, it generates a backup and recovery request containing backup and recovery guidance information for guiding the backup data to be sent to the gateway.

7. A data backup method (400), deployed on an application server side, characterized in that: The method comprises: Obtaining backup and recovery guidance inquiry information step (S401), obtaining backup and recovery inquiry information sent by the gateway; A backup and recovery guidance inquiry information response step (S402) determines whether the application server can communicate with the edge backup device; if so, sends a backup and recovery confirmation message to the gateway; The backup data receiving step (S403) is to obtain the backup data sent by the edge backup device.

8. A data backup device (500), arranged at an edge backup device side, characterized in that: include: The edge backup device information acquisition module (501) is configured to: acquire the data processing capability of the edge backup device; The backup request acquisition module (502) is configured to: acquire a data backup request sent by a gateway; wherein the data backup request includes data backup requirement information; The backup request evaluation module (503) is configured to: evaluate the data backup request based on the data backup requirement information and the data processing capability of the edge backup device; if the edge backup device can process the data backup request, send data backup request confirmation information to the gateway; A backup data receiving module (504) is configured to: receive the backup data sent by the gateway after obtaining the data backup request confirmation information, and save the backup data to the edge backup device; The backup and recovery request acquisition module (505) is configured to: acquire the backup and recovery request sent by the gateway; The backup data sending module (506) is configured to send the backup data stored in the edge backup device to the gateway or application server according to the backup recovery request.

9. The device according to claim 8, characterized in that The data processing capability of the edge backup device includes: computing power, network bandwidth, storage space and / or ongoing backup tasks; the data backup requirement information includes: storage space requirements, communication requirements and / or data priority.

10. The device according to claim 8, characterized in that The backup and recovery request includes backup and recovery guidance information; The backup and recovery guide information is used to guide the backup data to be sent to the gateway or application server.

11. A data backup device (600), arranged at a gateway side, characterized in that: include: The backup request sending module (601) is configured to: send a data backup request to an edge backup device; wherein the data backup request includes data backup requirement information; The data backup request confirmation information acquisition module (602) is configured to: acquire the data backup request confirmation information sent by the edge backup device; The backup data sending module (603) is configured to: send the backup data to the edge backup device that sends the data backup request confirmation information; The backup recovery request sending module (604) is configured to: send a backup recovery request to the edge backup device storing the backup data; The backup data receiving module (605) is configured to obtain the backup data sent by the edge backup device.

12. The device according to claim 11, characterized in that The device further comprises: The backup and recovery boot confirmation module (606) is configured to: send backup and recovery query information to the application server, inquire whether the application server can communicate with the edge backup device, obtain backup and recovery confirmation information from the application server in response to the backup and recovery query information, and generate a backup and recovery request based on the backup and recovery confirmation information.

13. The device according to claim 12, characterized in that The backup and recovery request includes: Backup and recovery guide information, the backup and recovery guide information is used to guide the backup data to be sent to the gateway or application server; If the gateway receives the backup and recovery confirmation information, it generates a backup and recovery request containing backup and recovery guidance information for guiding the backup data to be sent to the application server; otherwise, it generates a backup and recovery request containing backup and recovery guidance information for guiding the backup data to be sent to the gateway.

14. A data backup device (700), arranged on an application server side, characterized in that: include: The module (701) for obtaining the backup and recovery guidance query information is configured to obtain the backup and recovery query information sent by the gateway; The backup recovery guidance inquiry information response module (702) is configured to: determine whether the application server can communicate with the edge backup device; if so, send backup recovery inquiry confirmation information to the gateway; The backup data receiving module (703) is configured to obtain the backup data sent by the edge backup device.

15. An electronic device (800), comprising: at least one processor (810); as well as A memory (820) coupled to the at least one processor (810), the memory (820) being used to store instructions, which, when executed by the at least one processor (810), causes the processor (810) to perform the method according to any one of claims 1 to 7.

16. A computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed, perform the method according to any one of claims 1 to 7.

17. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and system for backing up and recovering data in cluster systems

    CN108733509A

  • Data backup method, system and device

    CN110851303A

  • Server backup method and device, server and storage medium

    CN112256486A

  • Advanced multiple backup recovery

    US20190384679A1