WO2025030525A1 - Data backup method and apparatus, and storage medium - Google Patents
Data backup method and apparatus, and storage medium Download PDFInfo
- Publication number
- WO2025030525A1 WO2025030525A1 PCT/CN2023/112349 CN2023112349W WO2025030525A1 WO 2025030525 A1 WO2025030525 A1 WO 2025030525A1 CN 2023112349 W CN2023112349 W CN 2023112349W WO 2025030525 A1 WO2025030525 A1 WO 2025030525A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- backup
- data
- request
- recovery
- edge
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000003860 storage Methods 0.000 title claims abstract description 41
- 238000011084 recovery Methods 0.000 claims abstract description 122
- 238000012545 processing Methods 0.000 claims abstract description 26
- 238000012790 confirmation Methods 0.000 claims description 59
- 238000011156 evaluation Methods 0.000 claims description 16
- 238000004891 communication Methods 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 10
- 238000013500 data storage Methods 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 238000013480 data collection Methods 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
Definitions
- 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.
- IoT gateways Occasional disconnections between IoT gateways and servers are unavoidable 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.
- IoT gateways In order to continue collecting important data and avoid data loss during server disconnection, IoT gateways are usually designed to be able to temporarily cache the collected data and upload the cached data as soon as the server connection is restored.
- an IoT gateway with large data storage capacity is required. For example, there are more than 1 sensor connected to the gateway and the frequency of data collection is high. Since IoT gateways in most IoT applications are envisioned to be low-cost, low-functionality, and deployed on a large scale, the demand for industrial-grade large data storage capacity will greatly increase the cost. In addition, it is difficult to have a storage redundancy system to ensure the security of cached data on the gateway, such as a double-disk backup system.
- the present invention proposes a multiple backup method, device and storage medium to back up data, reduce the cost of backup equipment and improve the flexibility of system architecture.
- a data backup method proposed in an embodiment of the present invention is deployed on the edge backup device side, and the method includes: an edge backup device information acquisition step, obtaining the data processing capability of the edge backup device; a backup request acquisition step, obtaining the data backup request sent by the gateway; wherein the data backup request includes data backup requirement information; a backup request evaluation step, including: 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, then sending data backup request confirmation information to the gateway; a backup data receiving step, 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 recovery request acquisition step, obtaining the backup recovery request sent by the gateway; a backup data sending step, sending the backup data stored in the edge backup device to the gateway or application server according to the backup recovery request.
- the data backup requirement is realized. Evaluation ensures reliable data backup and reduces the cost of backup equipment.
- a data backup method proposed in an embodiment of the present invention is deployed on the gateway side, and the method includes: a backup request sending step, sending 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 obtaining step, obtaining the data backup request confirmation information sent by the edge backup device; a backup data sending step, sending backup data to the edge backup device that sent the data backup request confirmation information; a backup recovery request sending step, sending a backup recovery request to the edge backup device that stores the backup data; and a backup data receiving step, obtaining the backup data sent by the edge backup device.
- the evaluation of data backup requirements is realized, reliable data backup is guaranteed, and the cost of backup devices is reduced.
- a data backup method proposed in an embodiment of the present invention is deployed on the application server side, and the method includes: obtaining backup recovery guidance inquiry information step, obtaining backup recovery query information sent by the gateway; backup recovery guidance inquiry information response step, judging whether the application server can communicate with the edge backup device; if so, sending backup recovery confirmation information to the gateway; backup data receiving step, obtaining backup data sent by the edge backup device.
- the evaluation of data backup requirements is realized, reliable data backup is guaranteed, and the cost of backup equipment is reduced.
- a data backup device which is arranged on the edge backup device side, and includes: an edge backup device information acquisition module, which is configured to: acquire the data processing capability of the edge backup device; a backup request acquisition module, which is configured to: acquire the data backup request sent by the gateway; wherein the data backup request includes data backup requirement information; a backup request evaluation module, which 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, then send data backup request confirmation information to the gateway; a backup data receiving module, which 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; a backup recovery acquisition request module, which is configured to: acquire the backup recovery request sent by the gateway; and a backup data sending module, which 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.
- the evaluation of data backup requirements is
- a data backup device which is arranged on the gateway side and includes: a backup request sending module, which is 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 obtaining module, which is configured to obtain the data backup request confirmation information sent by the edge backup device; a backup data sending module, which is configured to send backup data to the edge backup device that sends the data backup request confirmation information; a backup recovery request sending module, which is configured to send a backup recovery request to the edge backup device that stores the backup data; a backup data receiving module, which is configured to obtain the backup data sent by the edge backup device.
- a backup request sending module which is 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 obtaining module which is configured to obtain the data backup request confirmation information sent by the edge backup device
- a backup data sending module which is configured to send backup data to the edge backup device that sends the data backup request confirmation information
- a data backup device which is arranged on the application server side and includes: a backup recovery guide inquiry information acquisition module, which is configured to acquire backup recovery inquiry information sent by a gateway; a backup recovery guide inquiry information response module, which is configured to: determine whether the application server can communicate with an edge backup device; if so, send backup recovery inquiry confirmation information to the gateway; a backup data receiving module, which is configured to acquire backup data sent by the edge backup device.
- a backup recovery guide inquiry information acquisition module which is configured to acquire backup recovery inquiry information sent by a gateway
- a backup recovery guide inquiry information response module which is configured to: determine whether the application server can communicate with an edge backup device; if so, send backup recovery inquiry confirmation information to the gateway
- a backup data receiving module which is configured to acquire backup data sent by the edge backup device.
- 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.
- 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.
- a computer program product provided in an embodiment of the present invention includes a computer program.
- the computer program is executed by a processor, the method described in any one of the above embodiments is implemented.
- FIG. 1 is a schematic diagram of an architecture of a data backup network according to an embodiment of the present invention.
- FIG. 2 is a schematic flow chart of a data backup method deployed on an edge backup device according to an embodiment of the present invention.
- FIG3 is a schematic flow chart of a data backup method deployed on a gateway side according to an embodiment of the present invention.
- FIG. 4 is a schematic flow chart of a data backup method deployed on an application server side according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of the structure of a data backup device disposed at an edge backup device side according to an embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a data backup device disposed at a gateway side according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of the structure of a data backup device disposed on an application server side according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of an electronic device according to an embodiment of the present invention.
- an IoT gateway with large data storage capacity is required, especially in cases where a large amount of data needs to be collected. For example, there are more than 1 sensor connected to the gateway and the frequency of data collection is high. Since IoT gateways in most IoT applications are envisioned to be low-cost, low-functionality, and deployed on a large scale, the need for industrial-grade large data storage capacity will greatly increase the cost.
- the embodiment of the present invention provides a more optimized data backup method, device and storage medium.
- 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; and the backup data is sent to the gateway or application server according to the request guidance according to the recovery request of the gateway.
- the gateway confirms with the application server whether the application server can communicate with the edge backup device; if so, the backup data is guided to be sent to the application server; otherwise, it is guided 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 evaluate the backup request in combination with the processing capability of the edge backup device and then back up the data, 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.
- Fig. 1 is a schematic diagram of the architecture of a data backup network in an embodiment of the present invention. As shown in Fig. 1, the network may include:
- the edge backup device 101 is a computer-like device, mainly including a CPU, memory, storage disk, network card, etc. It can be a device similar to a server, a PC or an IoT gateway. It is able to connect to the network, receive data from other devices, transmit data to other devices, and store data to one or more storage disks.
- the edge backup device can be a general lightweight IoT backup device, independent of any specific IT application. There may be more than one edge backup device in the network.
- the edge backup device can be a separate device that is only responsible for data backup, or it can be an ordinary IoT gateway with a large storage capacity, which supports IoT data collection services, as an IoT gateway, and data backup services, 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 required for its own tasks.
- the gateway 102 can be used as a data transfer point to send edge devices to the data center for scheduling and sending to the application server, or it can forward the server data to the edge device.
- the gateway and the application server requests the edge backup device to perform cache backup of the data.
- it acts as a bridge to ask the application server whether it can directly receive the backup data in the edge backup device, and request the edge backup device to extract the backup data.
- 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, the application server 103 can directly receive the backup book stored therein.
- Fig. 2 is a flow chart of a data backup method 200 deployed on an edge backup device in an embodiment of the present invention. As shown in Fig. 2, the method 200 may include:
- the edge backup device information acquisition step S201 is to acquire the data processing capability of the edge backup device.
- the backup request acquisition step S202 is to acquire a data backup request sent by the gateway; wherein the data backup request includes data backup requirement information.
- the gateway sends a backup request to the edge backup device.
- the first is to reserve some specific network addresses for the edge backup devices and put the address list in the configuration file of each gateway.
- the gateway can send request messages to the edge backup device addresses one by one to find the edge backup device in the network.
- each edge device or gateway can provide data backup service as an edge backup device.
- the gateway can broadcast a request message in the network and select one from all responding edge backup devices.
- 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.
- 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 requirement, communication requirement and/or data priority.
- the storage space requirement and the communication requirement may be a sampling frequency, a data size of each sampling, and/or a time required for backup, etc.
- 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, etc., and request information.
- the request message may include the identity information and specific requirements of the gateway, such as device ID, security check token, etc., storage requirements, such as a sample size of collected data, collection frequency, storage capacity required for one minute, etc., communication requirements, TCP, UDP, whether ACK is required, etc., and even the priority of the data, similar to QoS (Quality of Services).
- the edge backup device will send a confirmation message to the gateway.
- the backup data receiving step S204 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.
- the gateway sends the collected data to the edge backup device.
- the edge backup device After receiving the data from the gateway, the edge backup device will not try to interpret the content or structure of the data, and will simply store the data as is.
- a backup and recovery request sent by the gateway is acquired.
- the backup data stored in the edge backup device is sent to the gateway or application server according to the backup recovery request.
- 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.
- the gateway when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
- FIG3 is a flow chart of a data backup method 300 deployed on a gateway side in an embodiment of the present invention. As shown, the method 300 may include:
- a data backup request is sent to an edge backup device; wherein the data backup request includes data backup requirement information.
- the gateway sends a backup request to the edge backup device.
- the first is to reserve some specific network addresses for the edge backup devices and put the address list in the configuration file of each gateway.
- the gateway can send request messages to the edge backup device addresses one by one to find the edge backup device in the network.
- the second is that since each edge device or gateway can provide data backup services as an edge backup device, the gateway can broadcast the request message in the network and select one from all responding edge backup devices.
- the data backup request confirmation information acquisition step S302 is to acquire the data backup request confirmation information sent by the edge backup device.
- 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, etc., and request information.
- the request message may include the identity information and specific requirements of the gateway, such as device ID, security check token, etc., storage requirements, such as a sample size of collected data, collection frequency, storage capacity required for one minute, etc., communication requirements, TCP, UDP, whether ACK is required, etc., and even the priority of the data, similar to QoS (Quality of Services).
- the edge backup device will send a confirmation message to the gateway.
- the backup data sending step S303 is to send the backup data to the edge backup device that sent the data backup request confirmation information.
- the backup and recovery request sending step S304 is to send a backup and recovery request to the 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.
- the method before the backup recovery request sending step S304, the method further includes: a backup recovery guide 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 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.
- a backup recovery guide 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 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.
- the backup and recovery request includes: backup and recovery guide 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 the backup and recovery guide information that guides the backup data to be sent to the application server; otherwise, it generates a backup and recovery request containing the backup and recovery guide information that guides the backup data to be sent to the gateway.
- the gateway when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
- Fig. 4 is a flow chart of a data backup method 400 deployed on an application server side in an embodiment of the present invention. As shown in Fig. 4, the method 400 may include:
- Obtain backup and recovery guidance inquiry information step S401 obtaining backup and recovery inquiry information sent by the gateway;
- Backup recovery guidance inquiry information response step S402 determining whether the application server can communicate with the edge backup device; if so, sending backup recovery confirmation information to the gateway;
- the backup data receiving step S403 is to obtain the backup data sent by the edge backup device.
- the gateway when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
- Fig. 5 is a schematic diagram of the structure of a data backup device 500 disposed on the edge backup device side in an embodiment of the present invention. As shown in Fig. 5, the device 500 may include:
- the edge backup device information acquisition module 501 acquires the data processing capability of the edge backup device.
- the backup request acquisition module 502 acquires a data backup request sent by the gateway; wherein the data backup request includes data backup requirement information.
- the gateway sends a backup request to the edge backup device.
- the first is to reserve some specific network addresses for the edge backup devices and put the address list in the configuration file of each gateway.
- the gateway can send request messages to the edge backup device addresses one by one to find the edge backup device in the network.
- the second is that since each edge device or gateway can provide data backup services as an edge backup device, the gateway can broadcast the request message in the network and select one from all responding edge backup devices.
- 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.
- 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 requirement, communication requirement and/or data priority.
- the storage space requirement and the communication requirement may be a sampling frequency, a data size of each sampling, and/or a time required for backup, etc.
- 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, etc., and request information.
- the request message may include the identity information and specific requirements of the gateway, such as device ID, security check token, etc., storage requirements, such as a sample size of collected data, collection frequency, storage capacity required for one minute, etc., communication requirements, TCP, UDP, whether ACK is required, etc., and even the priority of the data, similar to QoS (Quality of Services).
- the edge backup device will send a confirmation message to the gateway.
- 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.
- the gateway sends the collected data to the edge backup device.
- the edge backup device After receiving the data from the gateway, the edge backup device will not try to interpret the content or structure of the data, and will simply store the data as is.
- the backup and recovery request acquisition module 505 acquires the backup and recovery request sent by the gateway.
- 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.
- 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.
- the gateway when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
- Fig. 6 is a schematic diagram of the structure of a data backup device 600 disposed on the gateway side in an embodiment of the present invention. As shown in Fig. 6, the device 600 may include:
- the backup request sending module 601 sends a data backup request to an edge backup device; wherein the data backup request includes data backup requirement information.
- the gateway can send a backup request to the edge backup device.
- some specific network addresses can be reserved for the edge backup devices, and the address list can be placed in the configuration file of each gateway.
- the gateway can send request messages to the edge backup device addresses one by one, so as to find the edge backup device in the network.
- the second one is that since each edge device or gateway can provide data backup service as an edge backup device, the gateway can broadcast the request message in the network and select one from all the responding edge backup devices.
- the data backup request confirmation information acquisition module 602 acquires the data backup request confirmation information sent by the edge backup device.
- 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, etc., and request information.
- the request message may include the identity information and specific requirements of the gateway, such as device ID, security check token, etc., storage requirements, such as a sample size of collected data, collection frequency, storage capacity required for one minute, etc., communication requirements, TCP, UDP, whether ACK is required, etc., and even the priority of the data, similar to QoS (Quality of Services).
- the edge backup device will send a confirmation message to the gateway.
- the backup data sending module 603 sends the backup data to the edge backup device that sent the data backup request confirmation information.
- the backup and recovery request sending module 604 sends a backup and recovery request to the edge backup device storing the backup data.
- the backup data receiving module 605 obtains the backup data sent by the edge backup device.
- the device 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 according to the backup recovery confirmation information.
- 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 according to the backup recovery confirmation information.
- the backup and recovery request includes: backup and recovery guide 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 the backup and recovery guide information that guides the backup data to be sent to the application server; otherwise, it generates a backup and recovery request containing the backup and recovery guide information that guides the backup data to be sent to the gateway.
- the gateway when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
- FIG. 7 is a schematic structural diagram of a data backup device 700 disposed on an application server side according to an embodiment of the present invention. As shown in FIG. 7 , the apparatus 700 may include:
- the module 701 for obtaining the backup and recovery guidance query information obtains the backup and recovery query information sent by the gateway;
- 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;
- the backup data receiving module 703 obtains the backup data sent by the edge backup device.
- the gateway when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
- the present invention further provides an electronic device 800.
- Fig. 8 is a schematic diagram of an electronic device 800 according to an embodiment of the present invention. As shown in Fig. 8, the electronic device 800 includes a processor 810 and a memory 820, wherein the memory 820 stores instructions, wherein when the instructions are executed by the processor 810, the methods 100 to 700 described above are implemented.
- the present invention further provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed, the method described above is executed.
- the present invention also provides a computer program product, comprising a computer program, and when the computer program is executed by a processor, the method described above is implemented.
- 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.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DAPDs digital signal processing devices
- PLCs programmable logic devices
- FPGAs field programmable gate arrays
- processors controllers, microcontrollers, microprocessors or combinations thereof.
- various aspects of the present invention may be expressed as computer products located in one or more computer-
- 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) Certainly, smart cards, and flash memory devices (e.g., cards, sticks, key drives ).
- magnetic storage devices e.g., hard disks, floppy disks, tapes, etc.
- optical disks e.g., compact disks (CDs), digital versatile disks (DVDs)
- smart cards e.g., cards, sticks, key drives
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本发明涉及边缘计算、网络通信领域,尤其涉及一种数据备份方法、装置及存储介质。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.
随着数字化在制造业中变得越来越重要,越来越多的数据被收集和存储,以支持各种应用,如过程跟踪、设备监控、预测性维护、基于人工智能的分析和优化等。随着物联网技术的发展,如今越来越多的数据通过传感器和现场轻型物联网网关或物联网边缘设备收集,然后传输到应用服务器。As digitalization becomes more and more important in the manufacturing industry, more and more data is collected and stored to support various applications such as process tracking, equipment monitoring, predictive maintenance, AI-based analysis and optimization, etc. 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.
由于服务器上的操作系统/应用程序/库的更新,服务器上的服务意外中断,由于电缆问题或配置更改导致网络中断,网络重构等原因,物联网网关与服务器之间的偶尔断开是难以避免的。为了继续收集重要数据并避免服务器断开连接期间的数据丢失,物联网网关通常被设计为能够暂时缓存收集的数据,并在服务器连接恢复后立即上传缓存的数据。Occasional disconnections between IoT gateways and servers are unavoidable 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. In order to continue collecting important data and avoid data loss during server disconnection, IoT gateways are usually designed to be able to temporarily cache the collected data and upload the cached data as soon as the server connection is restored.
为了避免长时间与服务器断开连接导致数据丢失,特别是在需要收集大量数据的情况下,需要具有大数据存储容量的物联网网关。例如,连接到网关的传感器超过1个,数据采集频率高。由于大多数物联网应用中的物联网网关被设想为低成本、低功能和大规模部署,因此对工业级大数据存储容量的需求将大大增加成本。此外,很难有一个存储冗余系统来保证网关上缓存数据的安全性,例如双盘备份系统。In order to avoid data loss due to long-term disconnection from the server, especially in cases where a large amount of data needs to be collected, an IoT gateway with large data storage capacity is required. For example, there are more than 1 sensor connected to the gateway and the frequency of data collection is high. Since IoT gateways in most IoT applications are envisioned to be low-cost, low-functionality, and deployed on a large scale, the demand for industrial-grade large data storage capacity will greatly increase the cost. In addition, it is difficult to have a storage redundancy system to ensure the security of cached data on the gateway, such as a double-disk backup system.
发明内容Summary of the invention
为解决上述问题,本发明提出了一种数倍备份方法、装置及存储介质,用以对数据进行备份,并减少备份设备的成本提高系统架构的灵活性。To solve the above problems, the present invention proposes a multiple backup method, device and storage medium to back up data, reduce the cost of backup equipment and improve the flexibility of system architecture.
本发明实施例中提出的一种数据备份方法,部署于边缘备份设备侧,所述方法包括:边缘备份设备信息获取步骤,获取边缘备份设备的数据处理能力;备份请求获取步骤,获取网关发送的数据备份请求;其中,所述数据备份请求包含数据备份需求信息;备份请求评估步骤,包括:基于所述数据备份需求信息及所述边缘备份设备的数据处理能力评估数据备份请求;若所述边缘备份设备能够处理所述数据备份请求,则向所述网关发送数据备份请求确认信息;备份数据接收步骤,接收所述网关获得所述数据备份请求确认信息后发送的备份数据,并将所述备份数据保存至所述边缘备份设备;备份恢复获取请求步骤,获取所述网关发送的备份恢复请求;备份数据发送步骤,将所述边缘备份设备中保存的所述备份数据依据所述备份恢复请求发送至所述网关或应用服务器。实现了对数据备份需求的 评估,保证了数据的可靠备份,并减少了备份设备的成本。A data backup method proposed in an embodiment of the present invention is deployed on the edge backup device side, and the method includes: an edge backup device information acquisition step, obtaining the data processing capability of the edge backup device; a backup request acquisition step, obtaining the data backup request sent by the gateway; wherein the data backup request includes data backup requirement information; a backup request evaluation step, including: 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, then sending data backup request confirmation information to the gateway; a backup data receiving step, 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 recovery request acquisition step, obtaining the backup recovery request sent by the gateway; a backup data sending step, sending the backup data stored in the edge backup device to the gateway or application server according to the backup recovery request. The data backup requirement is realized. Evaluation ensures reliable data backup and reduces the cost of backup equipment.
本发明实施例中提出的一种数据备份方法,部署于网关侧,所述方法包括:备份请求发送步骤,向边缘备份设备发送数据备份请求;其中,所述数据备份请求包含数据备份需求信息;数据备份请求确认信息获取步骤,获取所述边缘备份设备发送的数据备份请求确认信息;备份数据发送步骤,向所述发送数据备份请求确认信息的边缘备份设备发送备份数据;备份恢复请求发送步骤,向保存有所述备份数据的边缘备份设备发送备份恢复请求;备份数据接收步骤,获取所述边缘备份设备发送的备份数据。实现了对数据备份需求的评估,保证了数据的可靠备份,并减少了备份设备的成本。A data backup method proposed in an embodiment of the present invention is deployed on the gateway side, and the method includes: a backup request sending step, sending 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 obtaining step, obtaining the data backup request confirmation information sent by the edge backup device; a backup data sending step, sending backup data to the edge backup device that sent the data backup request confirmation information; a backup recovery request sending step, sending a backup recovery request to the edge backup device that stores the backup data; and a backup data receiving step, obtaining the backup data sent by the edge backup device. The evaluation of data backup requirements is realized, reliable data backup is guaranteed, and the cost of backup devices is reduced.
本发明实施例中提出的一种数据备份方法,部署于应用服务器侧,所述方法包括:获取备份恢复引导询问信息步骤,获取网关发送的备份恢复查询信息;备份恢复引导询问信息应答步骤,判断所述应用服务器是否可以与边缘备份设备进行通信;若是,则向所述网关发送备份恢复确认信息;备份数据接收步骤,获取所述边缘备份设备发送的备份数据。实现了对数据备份需求的评估,保证了数据的可靠备份,并减少了备份设备的成本。A data backup method proposed in an embodiment of the present invention is deployed on the application server side, and the method includes: obtaining backup recovery guidance inquiry information step, obtaining backup recovery query information sent by the gateway; backup recovery guidance inquiry information response step, judging whether the application server can communicate with the edge backup device; if so, sending backup recovery confirmation information to the gateway; backup data receiving step, obtaining backup data sent by the edge backup device. The evaluation of data backup requirements is realized, reliable data backup is guaranteed, and the cost of backup equipment is reduced.
本发明实施例中提出了一种数据备份装置,设置于边缘备份设备侧,包括:边缘备份设备信息获取模块,被配置为:获取边缘备份设备的数据处理能力;备份请求获取模块,被配置为:获取网关发送的数据备份请求;其中,所述数据备份请求包含数据备份需求信息;备份请求评估模块,被配置为:基于所述数据备份需求信息及所述边缘备份设备的数据处理能力评估数据备份请求;若所述边缘备份设备能够处理所述数据备份请求,则向所述网关发送数据备份请求确认信息;备份数据接收模块,被配置为:接收所述网关获得所述数据备份请求确认信息后发送的备份数据,并将所述备份数据保存至所述边缘备份设备;备份恢复获取请求模块,被配置为:获取所述网关发送的备份恢复请求;备份数据发送模块,被配置为:将所述边缘备份设备中保存的所述备份数据依据所述备份恢复请求发送至所述网关或应用服务器。实现了对数据备份需求的评估,保证了数据的可靠备份,并减少了备份设备的成本。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, which is configured to: acquire the data processing capability of the edge backup device; a backup request acquisition module, which is configured to: acquire the data backup request sent by the gateway; wherein the data backup request includes data backup requirement information; a backup request evaluation module, which 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, then send data backup request confirmation information to the gateway; a backup data receiving module, which 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; a backup recovery acquisition request module, which is configured to: acquire the backup recovery request sent by the gateway; and a backup data sending module, which 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. The evaluation of data backup requirements is realized, reliable data backup is guaranteed, and the cost of backup devices is reduced.
本发明实施例中提出了一种数据备份装置,设置于网关侧,包括:备份请求发送模块,被配置为:向边缘备份设备发送数据备份请求;其中,所述数据备份请求包含数据备份需求信息;数据备份请求确认信息获取模块,被配置为:获取所述边缘备份设备发送的数据备份请求确认信息;备份数据发送模块,被配置为:向所述发送数据备份请求确认信息的边缘备份设备发送备份数据;备份恢复请求发送模块,被配置为:向保存有所述备份数据的边缘备份设备发送备份恢复请求;备份数据接收模块,被配置为:获取所述边缘备份设备发送的备份数据。实现了对数据备份需求的评估,保证了数据的可靠备份,并减少了备 份设备的成本。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, which is 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 obtaining module, which is configured to obtain the data backup request confirmation information sent by the edge backup device; a backup data sending module, which is configured to send backup data to the edge backup device that sends the data backup request confirmation information; a backup recovery request sending module, which is configured to send a backup recovery request to the edge backup device that stores the backup data; a backup data receiving module, which is configured to obtain the backup data sent by the edge backup device. This implements the evaluation of data backup requirements, ensures reliable data backup, and reduces backup time. The cost of the equipment.
本发明实施例中提出了一种数据备份装置,设置于应用服务器侧,包括:获取备份恢复引导询问信息模块,被配置为获取网关发送的备份恢复查询信息;备份恢复引导询问信息应答模块,被配置为:判断所述应用服务器是否可以与边缘备份设备进行通信;若是,则向所述网关发送备份恢复查询确认信息;备份数据接收模块,被配置为获取所述边缘备份设备发送的备份数据。实现了对数据备份需求的评估,保证了数据的可靠备份,并减少了备份设备的成本。In an embodiment of the present invention, a data backup device is proposed, which is arranged on the application server side and includes: a backup recovery guide inquiry information acquisition module, which is configured to acquire backup recovery inquiry information sent by a gateway; a backup recovery guide inquiry information response module, which is configured to: determine whether the application server can communicate with an edge backup device; if so, send backup recovery inquiry confirmation information to the gateway; a backup data receiving module, which is configured to acquire backup data sent by the edge backup device. The evaluation of data backup requirements is realized, reliable data backup is guaranteed, and the cost of backup devices is reduced.
本发明实施例提出的一种电子设备,包括:至少一个处理器;以及与所述至少一个处理器耦合的一个存储器,所述存储器用于存储指令,当所述指令被所述至少一个处理器执行时,使得所述处理器执行如以上所述的方法。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.
本发明实施例提出的一种计算机可读存储介质,其上存储有计算机指令,所述计算机指令在被运行时执行如上任一实施方式所述的方法。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.
本发明实施例提出的一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实施如上任一实施方式所述的方法。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.
以下附图仅旨在于对本发明做示意性说明和解释,并不限定本发明的范围。其中,The following drawings are intended only to illustrate and explain the present invention, and do not limit the scope of the present invention.
图1是根据本发明的一实施例的一种数据备份网络的架构示意图。FIG. 1 is a schematic diagram of an architecture of a data backup network according to an embodiment of the present invention.
图2是根据本发明的一实施例的一种部署于边缘备份设备侧的数据备份方法的流程示意图。FIG. 2 is a schematic flow chart of a data backup method deployed on an edge backup device according to an embodiment of the present invention.
图3是根据本发明的一实施例的一种部署于网关侧的数据备份方法的流程示意图。FIG3 is a schematic flow chart of a data backup method deployed on a gateway side according to an embodiment of the present invention.
图4是根据本发明的一实施例的一种部署于应用服务器侧的数据备份方法的流程示意图。FIG. 4 is a schematic flow chart of a data backup method deployed on an application server side according to an embodiment of the present invention.
图5是根据本发明的一实施例的一种设置于边缘备份设备侧的数据备份装置的结构示意图。FIG. 5 is a schematic diagram of the structure of a data backup device disposed at an edge backup device side according to an embodiment of the present invention.
图6是根据本发明的一实施例的一种设置于网关侧的数据备份装置的结构示意图。FIG. 6 is a schematic structural diagram of a data backup device disposed at a gateway side according to an embodiment of the present invention.
图7是根据本发明的一实施例的一种设置于应用服务器侧的数据备份装置的结构示意图。FIG. 7 is a schematic diagram of the structure of a data backup device disposed on an application server side according to an embodiment of the present invention.
图8是根据本发明的一实施例的一种电子设备的示意图。FIG. 8 is a schematic diagram of an electronic device according to an embodiment of the present invention.
附图标记说明如下:
The following are the descriptions of the reference numerals:
为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图说明本发明的具体实施方式。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.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是本发明还可以采用其它不同于在此描述的其它方式来实施,因此本发明不受下面公开的具体实施例的限制。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.
如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一个排它性的罗列,方法或者设备也可能包含其他的步骤或元素。As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and/or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
为了避免长时间与服务器断开连接导致数据丢失,特别是在需要收集大量数据的情况下,需要具有大数据存储容量的物联网网关。例如,连接到网关的传感器超过1个,数据采集频率高。由于大多数物联网应用中的物联网网关被设想为低成本、低功能和大规模部署,因此对工业级大数据存储容量的需求将大大增加成本。In order to avoid data loss due to long-term disconnection from the server, an IoT gateway with large data storage capacity is required, especially in cases where a large amount of data needs to be collected. For example, there are more than 1 sensor connected to the gateway and the frequency of data collection is high. Since IoT gateways in most IoT applications are envisioned to be low-cost, low-functionality, and deployed on a large scale, the need for industrial-grade large data storage capacity will greatly increase the cost.
因此,本发明实施例提供了一种更加优化的设数据备份方法、装置及存储介质。其中, 方法包括:边缘备份设备获取网关发送的数据备份请求,基于备份请求和备份设备的数据处理能力评估备份请求;若满足备份请求的需求则接收备份数据并保存;按照网关的恢复请求将备份的数据按照请求的引导发送至网关或应用服务器。网关向应用服务器确认应用服务器是否可以与边缘备份设备进行通信;若是,则引导备份数据发送至应用服务器;否则引导发送至网关,再由网关发送至应用服务器。本发明实施例中的技术方案能够针对备份请求结合边缘备份设备的处理能力进行评估后进行数据的备份,能够灵活处理备份需求,同时减少大量部署备份设备的成本,实现更加灵活的备份网络结构。Therefore, the embodiment of the present invention provides a more optimized data backup method, device and storage medium. 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; and the backup data is sent to the gateway or application server according to the request guidance according to the recovery request of the gateway. The gateway confirms with the application server whether the application server can communicate with the edge backup device; if so, the backup data is guided to be sent to the application server; otherwise, it is guided 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 evaluate the backup request in combination with the processing capability of the edge backup device and then back up the data, 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.
图1是本发明实施例中一种数据备份网络的架构示意图。如图1所示,该网络可包括:Fig. 1 is a schematic diagram of the architecture of a data backup network in an embodiment of the present invention. As shown in Fig. 1, the network may include:
边缘备份设备101,为一种类似计算机的设备,主要包含CPU,内存,存储磁盘,网卡等,它可以是服务器,PC或物联网网关类似的设备。它能够连接到网络,接收来自其他设备的数据,将数据传输到其他设备,并将数据存储到一个或多个存储磁盘。边缘备份设备可以是一种通用的轻量级物联网备份设备,独立于任何特定的IT应用程序。网络中可能有不止一个边缘备份设备。边缘备份设备可以是一个单独的设备,只负责数据备份,也可以是一个具有大存储容量的普通物联网网关,同时支持物联网数据采集服务,作为物联网网关,和数据备份服务,作为边缘备份设备。这意味着每个网关都可以是边缘备份设备,并且能够轻松地彼此共享存储,如果它具有比自己任务所需的更多的处理能力和存储空间。The edge backup device 101 is a computer-like device, mainly including a CPU, memory, storage disk, network card, etc. It can be a device similar to a server, a PC or an IoT gateway. It is able to connect to the network, receive data from other devices, transmit data to other devices, and store data to one or more storage disks. The edge backup device can be a general lightweight IoT backup device, independent of any specific IT application. There may be more than one edge backup device in the network. The edge backup device can be a separate device that is only responsible for data backup, or it can be an ordinary IoT gateway with a large storage capacity, which supports IoT data collection services, as an IoT gateway, and data backup services, 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 required for its own tasks.
网关102,可以是作为数据的中转点,将边缘设备发送到数据集中调度发送至应用服务器,也可以将服务器的数据转发给边缘设备。当网关与应用服务器的通信阻断时,向边缘备份设备请求进行数据的缓存备份。并在恢复数据时,作为桥梁询问应用服务器是否可以直接接收边缘备份设备中的备份数据,并向边缘备份设备请求提取备份数据。The gateway 102 can be used as a data transfer point to send edge devices to the data center for scheduling and sending to the application server, or it can forward the server data to the edge device. When the communication between the gateway and the application server is blocked, it requests the edge backup device to perform cache backup of the data. When restoring data, it acts as a bridge to ask the application server whether it can directly receive the backup data in the edge backup device, and request the edge backup device to extract the backup data.
应用服务器103,可以直接与网关通信,也可以直接与边缘备份设备通信,验证与边缘备份设备的通信可能性后,可以直接接收其中存储的备份书。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, the application server 103 can directly receive the backup book stored therein.
图2是本发明实施例中一种部署于边缘备份设备侧的数据备份方法200的流程示意图。如图2所示,该方法200可包括:Fig. 2 is a flow chart of a data backup method 200 deployed on an edge backup device in an embodiment of the present invention. As shown in Fig. 2, the method 200 may include:
边缘备份设备信息获取步骤S201,获取边缘备份设备的数据处理能力。The edge backup device information acquisition step S201 is to acquire the data processing capability of the edge backup device.
备份请求获取步骤S202,获取网关发送的数据备份请求;其中,所述数据备份请求包含数据备份需求信息。The backup request acquisition step S202 is to acquire a data backup request sent by the gateway; wherein the data backup request includes data backup requirement information.
具体地,网关发送给边缘备份设备备份请求可以有两种方法。第一种,可以为边缘备份设备保留一些特定的网络地址,并将地址列表放在每个网关的配置文件中。当网关需要备份服务时,可以逐个向边缘备份设备地址发送请求消息,以便在网络中找到边缘备份设备。第二种,可以由于每个边缘设备或网关都可以作为边缘备份设备提供数据备份服务, 网关可以在网络中广播请求消息,并从所有响应边缘备份设备中选择一个。Specifically, there are two ways for the gateway to send a backup request to the edge backup device. The first is to reserve some specific network addresses for the edge backup devices and put the address list in the configuration file of each gateway. When the gateway needs backup service, it can send request messages to the edge backup device addresses one by one to find the edge backup device in the network. The second is that each edge device or gateway can provide data backup service as an edge backup device. The gateway can broadcast a request message in the network and select one from all responding edge backup devices.
备份请求评估步骤S203,包括:基于所述数据备份需求信息及所述边缘备份设备的数据处理能力评估数据备份请求;若所述边缘备份设备能够处理所述数据备份请求,则向所述网关发送数据备份请求确认信息。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.
在一个实施例中,所述边缘备份设备的数据处理能力包括:算力、网络带宽、存储空间和/或正在进行的备份任务;In one embodiment, 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 requirement, communication requirement and/or data priority.
具体地,存储空间需求和通信需求可以为采样频率、每次采样数据大小和/或需要备份的时间等。Specifically, the storage space requirement and the communication requirement may be a sampling frequency, a data size of each sampling, and/or a time required for backup, etc.
具体地,可以根据边缘备份设备的能力,例如,处理能力、网络带宽、存储空间、正在进行的备份服务等,和请求信息,评估来自其他边缘设备或网关的数据备份请求。在接受物联网网关的请求后,它将接收并存储来自网关的所有数据。请求消息可能包括网关的身份信息和具体要求,如设备ID、安全检查令牌等、存储要求,如采集数据的一个样本大小、采集频率、一分钟所需的存储容量等、通信要求,TCP、UDP、是否需要ACK等,甚至数据的优先级,类似于QoS(service Quality of Services)。在评估之后,如果存储需求可以很好地满足,边缘备份设备将向网关发送确认消息。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, etc., 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 identity information and specific requirements of the gateway, such as device ID, security check token, etc., storage requirements, such as a sample size of collected data, collection frequency, storage capacity required for one minute, etc., communication requirements, TCP, UDP, whether ACK is required, etc., and even the priority of the data, similar to QoS (Quality of Services). After the evaluation, if the storage requirements can be well met, the edge backup device will send a confirmation message to the gateway.
备份数据接收步骤S204,接收所述网关获得所述数据备份请求确认信息后发送的备份数据,并将所述备份数据保存至所述边缘备份设备。The backup data receiving step S204 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.
具体地,网关将采集到的数据发送到边缘备份设备。在从网关接收到数据之后,边缘备份设备将不会尝试解释数据的内容或结构,将简单地按原样存储数据。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 try to interpret the content or structure of the data, and will simply store the data as is.
备份恢复获取请求步骤S205,获取所述网关发送的备份恢复请求。In the backup and recovery request acquisition step S205, a backup and recovery request sent by the gateway is acquired.
备份数据发送步骤S206,将所述边缘备份设备中保存的所述备份数据依据所述备份恢复请求发送至所述网关或应用服务器。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.
在一个实施方式中,备份恢复请求包括备份恢复引导信息;所述备份恢复引导信息用于引导所述备份数据发送至所述网关或应用服务器。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.
具体地,当网关与应用服务器之间的连接恢复后,如果应用服务器不支持与边缘备份设备相关的服务,网关将尝试从边缘备份设备取回备份数据并将其发送给应用服务器。网关可以向应用服务器发送查询消息,查询应用服务器是否支持边缘备份设备服务。如果从服务器获得确认消息,网关将通知边缘备份设备将备份数据直接传输到应用服务器,而不是将数据返回给网关。Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
图3是本发明实施例中一种部署于网关侧的数据备份方法300的流程示意图。如图3 所示,该方法300可包括:FIG3 is a flow chart of a data backup method 300 deployed on a gateway side in an embodiment of the present invention. As shown, the method 300 may include:
备份请求发送步骤S301,向边缘备份设备发送数据备份请求;其中,所述数据备份请求包含数据备份需求信息。In the backup request sending step S301, a data backup request is sent to an edge backup device; wherein the data backup request includes data backup requirement information.
具体地,网关发送给边缘备份设备备份请求可以有两种方法。第一种,可以为边缘备份设备保留一些特定的网络地址,并将地址列表放在每个网关的配置文件中。当网关需要备份服务时,可以逐个向边缘备份设备地址发送请求消息,以便在网络中找到边缘备份设备。第二种,可以由于每个边缘设备或网关都可以作为边缘备份设备提供数据备份服务,网关可以在网络中广播请求消息,并从所有响应边缘备份设备中选择一个。Specifically, there are two ways for the gateway to send a backup request to the edge backup device. The first is to reserve some specific network addresses for the edge backup devices and put the address list in the configuration file of each gateway. When the gateway needs backup service, it can send request messages to the edge backup device addresses one by one to find the edge backup device in the network. The second is that since each edge device or gateway can provide data backup services as an edge backup device, the gateway can broadcast the request message in the network and select one from all responding edge backup devices.
数据备份请求确认信息获取步骤S302,获取所述边缘备份设备发送的数据备份请求确认信息。The data backup request confirmation information acquisition step S302 is to acquire the data backup request confirmation information sent by the edge backup device.
具体地,可以根据边缘备份设备的能力,例如,处理能力、网络带宽、存储空间、正在进行的备份服务等,和请求信息,评估来自其他边缘设备或网关的数据备份请求。在接受物联网网关的请求后,它将接收并存储来自网关的所有数据。请求消息可能包括网关的身份信息和具体要求,如设备ID、安全检查令牌等、存储要求,如采集数据的一个样本大小、采集频率、一分钟所需的存储容量等、通信要求,TCP、UDP、是否需要ACK等,甚至数据的优先级,类似于QoS(service Quality of Services)。在评估之后,如果存储需求可以很好地满足,边缘备份设备将向网关发送确认消息。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, etc., 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 identity information and specific requirements of the gateway, such as device ID, security check token, etc., storage requirements, such as a sample size of collected data, collection frequency, storage capacity required for one minute, etc., communication requirements, TCP, UDP, whether ACK is required, etc., and even the priority of the data, similar to QoS (Quality of Services). After the evaluation, if the storage requirements can be well met, the edge backup device will send a confirmation message to the gateway.
备份数据发送步骤S303,向所述发送数据备份请求确认信息的边缘备份设备发送备份数据。The backup data sending step S303 is to send the backup data to the edge backup device that sent the data backup request confirmation information.
备份恢复请求发送步骤S304,向保存有所述备份数据的边缘备份设备发送备份恢复请求。The backup and recovery request sending step S304 is to send a backup and recovery request to the edge backup device storing the backup data.
备份数据接收步骤S305,获取所述边缘备份设备发送的备份数据。The backup data receiving step S305 is to obtain the backup data sent by the edge backup device.
在一个实施方式中,在备份恢复请求发送步骤S304前,所述方法进一步包括:备份恢复引导询问步骤S306,包括:向应用服务器发送备份恢复查询信息,询问所述应用服务器是否可以与所述边缘备份设备进行通信,获得所述应用服务器响应于所述备份恢复查询信息的备份恢复确认信息,根据所述备份恢复确认信息生成备份恢复请求。In one embodiment, before the backup recovery request sending step S304, the method further includes: a backup recovery guide 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 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.
在一个实施方式中,所述备份恢复请求包括:备份恢复引导信息,所述备份恢复引导信息用于引导所述备份数据发送至所述网关或应用服务器;若所述网关接收到所述备份恢复确认信息,则生成包含有引导所述备份数据发送至所述应用服务器的备份恢复引导信息的备份恢复请求;否则,生成包含有引导所述备份数据发送至所述网关的备份恢复引导信息的备份恢复请求。 In one embodiment, the backup and recovery request includes: backup and recovery guide 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 the backup and recovery guide information that guides the backup data to be sent to the application server; otherwise, it generates a backup and recovery request containing the backup and recovery guide information that guides the backup data to be sent to the gateway.
具体地,当网关与应用服务器之间的连接恢复后,如果应用服务器不支持与边缘备份设备相关的服务,网关将尝试从边缘备份设备取回备份数据并将其发送给应用服务器。网关可以向应用服务器发送查询消息,查询应用服务器是否支持边缘备份设备服务。如果从服务器获得确认消息,网关将通知边缘备份设备将备份数据直接传输到应用服务器,而不是将数据返回给网关。Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
图4是本发明实施例中一种部署于应用服务器侧的数据备份方法400的流程示意图。如图4所示,该方法400可包括:Fig. 4 is a flow chart of a data backup method 400 deployed on an application server side in an embodiment of the present invention. As shown in Fig. 4, the method 400 may include:
获取备份恢复引导询问信息步骤S401,获取网关发送的备份恢复查询信息;Obtain backup and recovery guidance inquiry information step S401, obtaining backup and recovery inquiry information sent by the gateway;
备份恢复引导询问信息应答步骤S402,判断所述应用服务器是否可以与边缘备份设备进行通信;若是,则向所述网关发送备份恢复确认信息;Backup recovery guidance inquiry information response step S402, determining whether the application server can communicate with the edge backup device; if so, sending backup recovery confirmation information to the gateway;
备份数据接收步骤S403,获取所述边缘备份设备发送的备份数据。The backup data receiving step S403 is to obtain the backup data sent by the edge backup device.
具体地,当网关与应用服务器之间的连接恢复后,如果应用服务器不支持与边缘备份设备相关的服务,网关将尝试从边缘备份设备取回备份数据并将其发送给应用服务器。网关可以向应用服务器发送查询消息,查询应用服务器是否支持边缘备份设备服务。如果从服务器获得确认消息,网关将通知边缘备份设备将备份数据直接传输到应用服务器,而不是将数据返回给网关。Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
图5是本发明实施例中一种设置于边缘备份设备侧的数据备份装置500的结构示意图。如图5所示,该装置500可包括:Fig. 5 is a schematic diagram of the structure of a data backup device 500 disposed on the edge backup device side in an embodiment of the present invention. As shown in Fig. 5, the device 500 may include:
边缘备份设备信息获取模块501,获取边缘备份设备的数据处理能力。The edge backup device information acquisition module 501 acquires the data processing capability of the edge backup device.
备份请求获取模块502,获取网关发送的数据备份请求;其中,所述数据备份请求包含数据备份需求信息。The backup request acquisition module 502 acquires a data backup request sent by the gateway; wherein the data backup request includes data backup requirement information.
具体地,网关发送给边缘备份设备备份请求可以有两种方法。第一种,可以为边缘备份设备保留一些特定的网络地址,并将地址列表放在每个网关的配置文件中。当网关需要备份服务时,可以逐个向边缘备份设备地址发送请求消息,以便在网络中找到边缘备份设备。第二种,可以由于每个边缘设备或网关都可以作为边缘备份设备提供数据备份服务,网关可以在网络中广播请求消息,并从所有响应边缘备份设备中选择一个。Specifically, there are two ways for the gateway to send a backup request to the edge backup device. The first is to reserve some specific network addresses for the edge backup devices and put the address list in the configuration file of each gateway. When the gateway needs backup service, it can send request messages to the edge backup device addresses one by one to find the edge backup device in the network. The second is that since each edge device or gateway can provide data backup services as an edge backup device, the gateway can broadcast the request message in the network and select one from all responding edge backup devices.
备份请求评估模块503,包括:基于所述数据备份需求信息及所述边缘备份设备的数据处理能力评估数据备份请求;若所述边缘备份设备能够处理所述数据备份请求,则向所述网关发送数据备份请求确认信息。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.
在一个实施例中,所述边缘备份设备的数据处理能力包括:算力、网络带宽、存储空间和/或正在进行的备份任务; In one embodiment, 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 requirement, communication requirement and/or data priority.
具体地,存储空间需求和通信需求可以为采样频率、每次采样数据大小和/或需要备份的时间等。Specifically, the storage space requirement and the communication requirement may be a sampling frequency, a data size of each sampling, and/or a time required for backup, etc.
具体地,可以根据边缘备份设备的能力,例如,处理能力、网络带宽、存储空间、正在进行的备份服务等,和请求信息,评估来自其他边缘设备或网关的数据备份请求。在接受物联网网关的请求后,它将接收并存储来自网关的所有数据。请求消息可能包括网关的身份信息和具体要求,如设备ID、安全检查令牌等、存储要求,如采集数据的一个样本大小、采集频率、一分钟所需的存储容量等、通信要求,TCP、UDP、是否需要ACK等,甚至数据的优先级,类似于QoS(service Quality of Services)。在评估之后,如果存储需求可以很好地满足,边缘备份设备将向网关发送确认消息。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, etc., 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 identity information and specific requirements of the gateway, such as device ID, security check token, etc., storage requirements, such as a sample size of collected data, collection frequency, storage capacity required for one minute, etc., communication requirements, TCP, UDP, whether ACK is required, etc., and even the priority of the data, similar to QoS (Quality of Services). After the evaluation, if the storage requirements can be well met, the edge backup device will send a confirmation message to the gateway.
备份数据接收模块504,接收所述网关获得所述数据备份请求确认信息后发送的备份数据,并将所述备份数据保存至所述边缘备份设备。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.
具体地,网关将采集到的数据发送到边缘备份设备。在从网关接收到数据之后,边缘备份设备将不会尝试解释数据的内容或结构,将简单地按原样存储数据。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 try to interpret the content or structure of the data, and will simply store the data as is.
备份恢复获取请求模块505,获取所述网关发送的备份恢复请求。The backup and recovery request acquisition module 505 acquires the backup and recovery request sent by the gateway.
备份数据发送模块506,将所述边缘备份设备中保存的所述备份数据依据所述备份恢复请求发送至所述网关或应用服务器。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.
在一个实施方式中,备份恢复请求包括备份恢复引导信息;所述备份恢复用于引导信息引导所述备份数据发送至所述网关或应用服务器。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.
具体地,当网关与应用服务器之间的连接恢复后,如果应用服务器不支持与边缘备份设备相关的服务,网关将尝试从边缘备份设备取回备份数据并将其发送给应用服务器。网关可以向应用服务器发送查询消息,查询应用服务器是否支持边缘备份设备服务。如果从服务器获得确认消息,网关将通知边缘备份设备将备份数据直接传输到应用服务器,而不是将数据返回给网关。Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
图6是本发明实施例中一种设置于网关侧的数据备份装置600的结构示意图。如图6所示,该装置600可包括:Fig. 6 is a schematic diagram of the structure of a data backup device 600 disposed on the gateway side in an embodiment of the present invention. As shown in Fig. 6, the device 600 may include:
备份请求发送模块601,向边缘备份设备发送数据备份请求;其中,所述数据备份请求包含数据备份需求信息。The backup request sending module 601 sends a data backup request to an edge backup device; wherein the data backup request includes data backup requirement information.
具体地,网关发送给边缘备份设备备份请求可以有两种方法。第一种,可以为边缘备份设备保留一些特定的网络地址,并将地址列表放在每个网关的配置文件中。当网关需要备份服务时,可以逐个向边缘备份设备地址发送请求消息,以便在网络中找到边缘备份设 备。第二种,可以由于每个边缘设备或网关都可以作为边缘备份设备提供数据备份服务,网关可以在网络中广播请求消息,并从所有响应边缘备份设备中选择一个。Specifically, there are two ways for the gateway to send a backup request to the edge backup device. First, some specific network addresses can be reserved for the edge backup devices, and the address list can be placed in the configuration file of each gateway. When the gateway needs backup service, it can send request messages to the edge backup device addresses one by one, so as to find the edge backup device in the network. The second one is that since each edge device or gateway can provide data backup service as an edge backup device, the gateway can broadcast the request message in the network and select one from all the responding edge backup devices.
数据备份请求确认信息获取模块602,获取所述边缘备份设备发送的数据备份请求确认信息。The data backup request confirmation information acquisition module 602 acquires the data backup request confirmation information sent by the edge backup device.
具体地,可以根据边缘备份设备的能力,例如,处理能力、网络带宽、存储空间、正在进行的备份服务等,和请求信息,评估来自其他边缘设备或网关的数据备份请求。在接受物联网网关的请求后,它将接收并存储来自网关的所有数据。请求消息可能包括网关的身份信息和具体要求,如设备ID、安全检查令牌等、存储要求,如采集数据的一个样本大小、采集频率、一分钟所需的存储容量等、通信要求,TCP、UDP、是否需要ACK等,甚至数据的优先级,类似于QoS(service Quality of Services)。在评估之后,如果存储需求可以很好地满足,边缘备份设备将向网关发送确认消息。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, etc., 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 identity information and specific requirements of the gateway, such as device ID, security check token, etc., storage requirements, such as a sample size of collected data, collection frequency, storage capacity required for one minute, etc., communication requirements, TCP, UDP, whether ACK is required, etc., and even the priority of the data, similar to QoS (Quality of Services). After the evaluation, if the storage requirements can be well met, the edge backup device will send a confirmation message to the gateway.
备份数据发送模块603,向所述发送数据备份请求确认信息的边缘备份设备发送备份数据。The backup data sending module 603 sends the backup data to the edge backup device that sent the data backup request confirmation information.
备份恢复请求发送模块604,向保存有所述备份数据的边缘备份设备发送备份恢复请求。The backup and recovery request sending module 604 sends a backup and recovery request to the edge backup device storing the backup data.
备份数据接收模块605,获取所述边缘备份设备发送的备份数据。The backup data receiving module 605 obtains the backup data sent by the edge backup device.
在一个实施方式中,在执行备份恢复请求发送模块604前,所述装置进一步包括:备份恢复引导询问模块606,包括:向应用服务器发送备份恢复查询信息,询问所述应用服务器是否可以与所述边缘备份设备进行通信,获得所述应用服务器响应于所述备份恢复查询信息的备份恢复确认信息,根据所述备份恢复确认信息生成备份恢复请求。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 according to the backup recovery confirmation information.
在一个实施方式中,所述备份恢复请求包括:备份恢复引导信息,所述备份恢复引导信息用于引导所述备份数据发送至所述网关或应用服务器;若所述网关接收到所述备份恢复确认信息,则生成包含有引导所述备份数据发送至所述应用服务器的备份恢复引导信息的备份恢复请求;否则,生成包含有引导所述备份数据发送至所述网关的备份恢复引导信息的备份恢复请求。In one embodiment, the backup and recovery request includes: backup and recovery guide 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 the backup and recovery guide information that guides the backup data to be sent to the application server; otherwise, it generates a backup and recovery request containing the backup and recovery guide information that guides the backup data to be sent to the gateway.
具体地,当网关与应用服务器之间的连接恢复后,如果应用服务器不支持与边缘备份设备相关的服务,网关将尝试从边缘备份设备取回备份数据并将其发送给应用服务器。网关可以向应用服务器发送查询消息,查询应用服务器是否支持边缘备份设备服务。如果从服务器获得确认消息,网关将通知边缘备份设备将备份数据直接传输到应用服务器,而不是将数据返回给网关。Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
图7是本发明实施例中一种设置于应用服务器侧的数据备份装置700的结构示意图。 如图7所示,该装置700可包括:FIG. 7 is a schematic structural diagram of a data backup device 700 disposed on an application server side according to an embodiment of the present invention. As shown in FIG. 7 , the apparatus 700 may include:
获取备份恢复引导询问信息模块701,获取网关发送的备份恢复查询信息;The module 701 for obtaining the backup and recovery guidance query information obtains the backup and recovery query information sent by the gateway;
备份恢复引导询问信息应答模块702,判断所述应用服务器是否可以与边缘备份设备进行通信;若是,则向所述网关发送备份恢复确认信息;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;
备份数据接收模块703,获取所述边缘备份设备发送的备份数据。The backup data receiving module 703 obtains the backup data sent by the edge backup device.
具体地,当网关与应用服务器之间的连接恢复后,如果应用服务器不支持与边缘备份设备相关的服务,网关将尝试从边缘备份设备取回备份数据并将其发送给应用服务器。网关可以向应用服务器发送查询消息,查询应用服务器是否支持边缘备份设备服务。如果从服务器获得确认消息,网关将通知边缘备份设备将备份数据直接传输到应用服务器,而不是将数据返回给网关。Specifically, when the connection between the gateway and the application server is restored, if the application server does not support the services related to the edge backup device, the gateway will try 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 query whether the application server supports the edge backup device service. If a confirmation message is obtained from the server, the gateway will notify the edge backup device to transmit the backup data directly to the application server instead of returning the data to the gateway.
本发明还提出一种电子设备800。图8是根据本发明的一实施例的一种电子设备800的示意图。如图8所示,电子设备800包括处理器810和存储器820,存储器820中存储有指令,其中指令被处理器810执行时实现如上文所述的方法100至700。The present invention further provides an electronic device 800. Fig. 8 is a schematic diagram of an electronic device 800 according to an embodiment of the present invention. As shown in Fig. 8, the electronic device 800 includes a processor 810 and a memory 820, wherein the memory 820 stores instructions, wherein when the instructions are executed by the processor 810, the methods 100 to 700 described above are implemented.
本发明还提出一种计算机可读存储介质,其上存储有计算机指令,计算机指令在被运行时执行如上文所述的方法。The present invention further provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed, the method described above is executed.
本发明还提出一种计算机程序产品,包括计算机程序,计算机程序被处理器执行时实施上文所述的方法。The present invention also provides a computer program product, comprising a computer program, and when the computer program is executed by a processor, the method described above is implemented.
本发明的方法和装置的一些方面可以完全由硬件执行、可以完全由软件(包括固件、常驻软件、微码等)执行、也可以由硬件和软件组合执行。以上硬件或软件均可被称为“数据块”、“模块”、“引擎”、“单元”、“组件”或“系统”。处理器可以是一个或多个专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理器件(DAPD)、可编程逻辑器件(PLC)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器或者其组合。此外,本发明的各方面可能表现为位于一个或多个计算机可读介质中的计算机产品,该产品包括计算机可读程序编码。例如,计算机可读介质可包括,但不限于,磁性存储设备(例如,硬盘、软盘、磁带……)、光盘(例如,压缩盘(CD)、数字多功能盘(DVD)……)、智能卡以及闪存设备(例如,卡、棒、键驱动器……)。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 expressed as computer products located in one or more computer-readable media, which include computer-readable program codes. 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) ...), smart cards, and flash memory devices (e.g., cards, sticks, key drives ...).
在此使用了流程图用来说明根据本申请的实施例的方法所执行的操作。应当理解的是,前面的操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各种步骤。同时,或将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。Flowchart is used here to illustrate the operations performed according to the method of the embodiment of the present application. It should be understood that the above operations are not necessarily performed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously. At the same time, other operations may be added to these processes, or a certain step or several steps of operations may be removed from these processes.
应当理解,虽然本说明书是按照各个实施例描述的,但并非每个实施例仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书 作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。It should be understood that although this specification is described according to various embodiments, not every embodiment includes only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should understand the description of the specification. As a whole, the technical solutions in the various embodiments may also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
以上所述仅为本发明示意性的具体实施方式,并非用以限定本发明的范围。任何本领域的技术人员,在不脱离本发明的构思和原则的前提下所作的等同变化、修改与结合,均应属于本发明保护的范围。 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 any person 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 (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2023/112349 WO2025030525A1 (en) | 2023-08-10 | 2023-08-10 | Data backup method and apparatus, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2023/112349 WO2025030525A1 (en) | 2023-08-10 | 2023-08-10 | Data backup method and apparatus, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2025030525A1 true WO2025030525A1 (en) | 2025-02-13 |
Family
ID=94533333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/112349 WO2025030525A1 (en) | 2023-08-10 | 2023-08-10 | Data backup method and apparatus, and storage medium |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2025030525A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733509A (en) * | 2017-04-17 | 2018-11-02 | 伊姆西Ip控股有限责任公司 | Method and system for data to be backed up and restored in group system |
US20190384679A1 (en) * | 2018-06-13 | 2019-12-19 | EMC IP Holding Company LLC | Advanced multiple backup recovery |
CN110851303A (en) * | 2019-11-12 | 2020-02-28 | 北京天华星航科技有限公司 | Data backup method, system and equipment |
CN112256486A (en) * | 2020-11-11 | 2021-01-22 | 北京联创信安科技股份有限公司 | Server backup method, device, server and storage medium |
-
2023
- 2023-08-10 WO PCT/CN2023/112349 patent/WO2025030525A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733509A (en) * | 2017-04-17 | 2018-11-02 | 伊姆西Ip控股有限责任公司 | Method and system for data to be backed up and restored in group system |
US20190384679A1 (en) * | 2018-06-13 | 2019-12-19 | EMC IP Holding Company LLC | Advanced multiple backup recovery |
CN110851303A (en) * | 2019-11-12 | 2020-02-28 | 北京天华星航科技有限公司 | Data backup method, system and equipment |
CN112256486A (en) * | 2020-11-11 | 2021-01-22 | 北京联创信安科技股份有限公司 | Server backup method, device, server and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10169211B2 (en) | Application programming interface testing services | |
US10019408B2 (en) | Remote direct memory access (RDMA) high performance producer-consumer message processing | |
CN103955441B (en) | Equipment management system, equipment management method and IO (Input/Output) expansion interface | |
CN111367687A (en) | Inter-process data communication method and device | |
CN103401934A (en) | Method and system for acquiring log data | |
CN107341062B (en) | Data pushing method, device, equipment and storage medium | |
CN114201421A (en) | A data stream processing method, storage control node and readable storage medium | |
CN115866331B (en) | Video frame extraction analysis method, device, equipment and storage medium | |
CN104866528B (en) | Multi-platform data acquisition method and system | |
WO2023065749A1 (en) | Distributed database embedding method and apparatus, and device and storage medium | |
CN112667614A (en) | A data processing method, device and computer equipment | |
CN111930385A (en) | Data acquisition method, device, equipment and storage medium | |
WO2025030525A1 (en) | Data backup method and apparatus, and storage medium | |
CN114584492A (en) | Time delay measuring method, system and related equipment | |
CN114630143B (en) | Video stream storage method, device, electronic equipment and storage medium | |
CN113872814A (en) | Information processing method, device and system for content distribution network | |
CN117194562B (en) | Data synchronization method and device, electronic equipment and computer readable medium | |
CN116521639A (en) | Log data processing method, electronic equipment and computer readable medium | |
CN110166561B (en) | Data processing method, device, system, equipment and medium for wearable equipment | |
CN112182002A (en) | Data disaster tolerance method and device, electronic equipment and computer readable medium | |
CN112511528B (en) | Streaming media distribution method, system, server and storage medium | |
CN112950447A (en) | Resource scheduling method, device, server and storage medium | |
CN112511277B (en) | Data processing method and device | |
CN110908886A (en) | A data transmission method, apparatus, electronic device and storage medium | |
CN118760536B (en) | Message processing method, device, electronic device and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23948095 Country of ref document: EP Kind code of ref document: A1 |