WO2020244059A1 - Procédé, appareil et dispositif de sauvegarde de données basés sur un dispositif de blocs de réseau (nbd) et support de stockage - Google Patents
Procédé, appareil et dispositif de sauvegarde de données basés sur un dispositif de blocs de réseau (nbd) et support de stockage Download PDFInfo
- Publication number
- WO2020244059A1 WO2020244059A1 PCT/CN2019/101718 CN2019101718W WO2020244059A1 WO 2020244059 A1 WO2020244059 A1 WO 2020244059A1 CN 2019101718 W CN2019101718 W CN 2019101718W WO 2020244059 A1 WO2020244059 A1 WO 2020244059A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network block
- mirroring
- data backup
- block device
- client kernel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1464—Management of the backup or restore process for networked environments
Definitions
- This application relates to the field of network block devices, and in particular to data backup methods, devices, devices and storage media based on network block devices.
- Network block device (network block device referred to as nbd device) It is a block device widely used in linux system.
- This application provides a data backup method, device, device and storage medium based on network block devices, aiming to improve the data security of network block devices.
- the data backup method based on a network block device includes the following steps:
- the client kernel When the client kernel detects that the rbd-nbd process is started for the first time, the client kernel obtains the process parameters and network block devices corresponding to the rbd-nbd process;
- the client kernel reads the service level information in the first mirroring device, and determines whether the data backup condition is met according to the service level information;
- the client kernel determines a second mirroring device according to the service level information, and establishes a second connection relationship between the network block device and the second mirroring device to perform data backup .
- the client kernel when the client kernel detects that the rbd-nbd process is started for the first time, the client kernel obtains the process parameters and network block devices corresponding to the rbd-nbd process, including:
- the client kernel When the client kernel detects that the rbd-nbd process is started for the first time, the client kernel obtains process parameters and traverses each pre-stored network block device to determine whether there is an idle network block device among the pre-stored network block devices;
- the client kernel uses the idle network block device as the network block device corresponding to the rbd-nbd process;
- the client kernel When there is no network block device in the idle state, the client kernel creates a new network block device through the loaded network block device driver in the kernel, and uses the new network block device as the corresponding rbd-nbd process Network block device.
- the client kernel reads the service level information in the first mirroring device, and determines whether the data backup condition is met according to the service level information
- the steps include:
- the client kernel reads the service level information in the first mirroring device, and determines whether the service level information includes a second mirroring device identifier;
- the service level information includes the second mirroring device identifier, and it is determined that the data backup condition is met;
- the service level information does not include the second mirroring device identifier, it is determined that the data backup condition is not met.
- the client kernel determines a second mirroring device according to the service level information, and establishes a second connection between the network block device and the second mirroring device
- the steps to perform data backup include:
- the device with the largest free storage space as the second mirroring device corresponding to the network block device according to the free storage space information, and assigning the second mirroring device identifier to the second mirroring device;
- the client kernel determines a second mirroring device according to the service level information, and establishes a second connection between the network block device and the second mirroring device
- the steps to perform data backup include:
- the client kernel When the client kernel receives an operation request based on the network block device, acquiring the first connection relationship and the second connection relationship corresponding to the network block device;
- the client kernel sends the operation request to the first mirroring device corresponding to the first connection relationship, so that the first mirroring device feeds back first operation information;
- the client kernel sends the operation request to the second mirroring device corresponding to the second connection relationship, so that the second mirroring device feeds back second operation information;
- the client kernel When the client kernel does not receive the first operation information and the second operation information at the same time, it outputs a prompt message indicating that the network block device is abnormally connected to prompt the client corresponding to the user.
- the client kernel determines a second mirroring device according to the service level information, and establishes a second connection between the network block device and the second mirroring device After the steps to perform data backup, it also includes:
- the client kernel determines whether the network block device is simultaneously connected to the first mirroring device and the second mirroring device;
- a prompt message indicating that the network block device is abnormally connected is output to prompt the client to correspond to the user.
- the client kernel determines a second mirroring device according to the service level information, and establishes a second connection between the network block device and the second mirroring device After the steps to perform data backup, it also includes:
- the client kernel When the client kernel receives the network block device deletion instruction, acquiring the device block identifier corresponding to the deletion instruction;
- the client kernel obtains the connection relationship corresponding to the device block identifier, disconnects the connection relationship, and deletes the network block device corresponding to the device block identifier.
- this application also provides a data backup device based on network block equipment, the data backup device based on network block equipment includes:
- An information acquisition module which is used to acquire the process parameters and network block devices corresponding to the rbd-nbd process when the client kernel detects that the rbd-nbd process is started for the first time;
- the first establishment module is used for the client kernel to determine a first mirroring device according to the process parameters, and to establish a first connection relationship between the network block device and the first mirroring device;
- a backup judgment module configured to, when the first connection relationship is established, the client kernel reads the service level information in the first mirroring device, and judges whether the data backup condition is met according to the service level information;
- the second establishment module is configured to, when the data backup condition is met, the client kernel determines a second mirroring device according to the service level information, and establishes a second mirroring device between the network block device and the second mirroring device Connection relationship for data backup.
- this application also provides a data backup device based on a network block device
- the data backup device based on the network block device includes: a memory, a processor, and computer-readable instructions stored on the memory and executable on the processor, wherein:
- this application also provides a computer storage medium
- the computer storage medium stores computer readable instructions, and when the computer readable instructions are executed by the processor, the steps of the data backup method based on the network block device as described above are realized.
- the embodiment of the application proposes a data backup method, device, device and storage medium based on a network block device.
- the client kernel detects that the rbd-nbd process is started for the first time, the client kernel obtains the rbd-nbd process Corresponding process parameters and network block devices; the client kernel determines the first mirroring device according to the process parameters, and establishes a first connection relationship between the network block device and the first mirroring device; in the When the first connection relationship is established, the client kernel reads the service level information in the first mirroring device, and judges whether the data backup condition is met according to the service level information; when the data backup condition is met, the The client kernel determines the second mirroring device according to the service level information, and establishes a second connection relationship between the network block device and the second mirroring device to perform data backup.
- the network block device is established with multiple mirroring devices to prevent the problem of data loss caused by the failure of one mirroring device, and to improve the data security of the network block device.
- FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present application;
- FIG. 2 is a schematic flowchart of a first embodiment of a data backup method based on network block devices according to this application;
- FIG. 3 is a schematic diagram of functional modules of an embodiment of a data backup device based on a network block device according to the present application.
- a network block device is usually connected to a mirroring device to facilitate data query of the network block device.
- the mirroring device fails, it will cause the application readable instructions
- the business process cannot be executed normally; this application proposes to set up multiple mapping relationships in response to the above problems, and open multiple mirroring devices (rbd-image) in the rbd-nbd process according to requirements. Then establish data redundancy on multiple mirroring devices. For example, there are mirroring device A and mirroring device B, Both mirroring devices are turned on at the same time, and the network block device sends data write requests to both mirroring device A and mirroring device B at the same time to realize data backup based on the network block device.
- the network block device can read and write data from the mirroring device B to ensure service availability.
- Figure 1 is a terminal (also called a client or a data backup device based on a network block device) of the hardware operating environment involved in the solution of the embodiment of the present application.
- the data backup device based on the network block device can be a separate
- the structure of the data backup device based on the network block device can also be formed by combining other devices and the data backup device based on the network block device).
- the terminal of the embodiment of the present application may be a fixed terminal or a mobile terminal.
- the terminal may include a processor 1001, for example, a central processing unit Central. Processing Unit, CPU), network interface 1004, user interface 1003, memory 1005, communication bus 1002.
- the communication bus 1002 is used to implement connection and communication between these components.
- the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as WIreless-FIdelity, WIFI interface).
- the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), for example, disk storage.
- the memory 1005 may also be a storage device independent of the foregoing processor 1001.
- terminal structure shown in FIG. 1 does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine some components, or arrange different components.
- the computer software product is stored in a storage medium (storage medium: also called computer storage medium, computer medium, readable medium, readable storage medium, computer readable storage medium, or directly called medium, etc., storage medium
- storage medium can be a non-volatile readable storage medium, such as RAM, magnetic disk, optical disk, and includes several instructions to make a terminal device (can be a mobile phone, computer, server, air conditioner, or network device, etc.) execute this application
- the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and computer-readable instructions.
- the network interface 1004 is mainly used to connect to a background server and perform data communication with the background server;
- the user interface 1003 is mainly used to connect to a client (user side) and perform data communication with the client; and the processor 1001 may be used to call computer-readable instructions stored in the memory 1005 and execute the steps in the network block device-based data backup method provided in the following embodiments of the present application.
- This embodiment provides a data backup method based on network block devices, which is applied to the client as shown in FIG. 1.
- the data backup method based on the network block device includes:
- Step S10 when the client kernel detects that the rbd-nbd process is started for the first time, the client kernel obtains the process parameters and the network block device corresponding to the rbd-nbd process.
- the client kernel When the client kernel detects that the rbd-nbd process is started for the first time, for example, when the user operates the application readable instructions in the client, the client kernel creates the rbd-nbd process corresponding to the application readable instructions and starts the rbd-nbd process for the first time ,
- the network block device driver loaded in the client kernel determines the network block device according to the rbd-nbd process, specifically, including:
- Step S11 when the client kernel detects that the rbd-nbd process is started for the first time, the client kernel obtains process parameters and traverses each pre-stored network block device to determine whether there is an idle network block device in the pre-stored network block device.
- the client kernel When the client kernel detects that the rbd-nbd process is started for the first time, the client kernel obtains the process parameters corresponding to the rbd-nbd process, where the process parameters include access information or identification information (the identification information may include the identification of the mirroring device in the storage cluster) And so on, after obtaining the process parameters, the client kernel traverses each pre-stored network block device that has been created to determine whether the pre-stored network block device has an idle network block device.
- the process parameters include access information or identification information (the identification information may include the identification of the mirroring device in the storage cluster)
- Step S12 When there is an idle network block device, the client kernel uses the idle network block device as the network block device corresponding to the rbd-nbd process.
- the client kernel uses the idle network block device as the network block device corresponding to the rbd-nbd process.
- Step S13 when there is no idle network block device, the client kernel creates a new network block device through the loaded network block device driver in the kernel, and uses the new network block device as the rbd- The network block device corresponding to the nbd process.
- the client kernel When there is no idle network block device in the created pre-stored network block device of the client kernel, the client kernel creates a new network block device through the loaded network block device driver in the kernel, and uses the new network block device as rbd -The network block device corresponding to the nbd process.
- the status of the network block device is determined by traversing the network block device to improve the utilization of the network block device, and the network block device that meets the requirements is determined for the rbd-nbd process.
- Step S20 The client kernel determines a first mirroring device according to the process parameters, and establishes a first connection relationship between the network block device and the first mirroring device.
- the client kernel determines the first mirroring device according to the process parameters.
- the process parameters include the first mirroring device identifier.
- the client kernel determines the first mirroring device corresponding to the first mirroring device identifier, and establishes the network block device and the first mirroring device. For the first connection relationship between devices, it can be understood that the first mirroring device identifier corresponds to only one first mirroring device.
- Step S30 When the establishment of the first connection relationship is completed, the client kernel reads the service level information in the first mirroring device, and determines whether the data backup condition is met according to the service level information.
- the client kernel reads the service level information in the first mirroring device to determine whether to perform data backup, which specifically includes:
- Step a1 when the first connection relationship is established, the client kernel reads the service level information in the first mirroring device, and determines whether the service level information includes a second mirroring device identifier;
- Step a2 including the second mirroring device identifier in the service level information, and determining that the data backup condition is met;
- Step a3 The service level information does not include the second mirroring device identifier, and it is determined that the data backup condition is not met.
- the client kernel reads the preset area in the first mirroring device (the preset area refers to the storage area preset in the mirroring device for storing service level information, for example, the first The area corresponding to the first 1M storage space in a mirroring device) service level information, the service level information includes the second mirroring device identifier, and the client kernel determines that it meets the data backup conditions; the service level information does not include the second mirroring device Identification, the client kernel determines that the data backup conditions are not met.
- the preset area refers to the storage area preset in the mirroring device for storing service level information, for example, the first The area corresponding to the first 1M storage space in a mirroring device
- the service level information includes the second mirroring device identifier
- the client kernel determines that it meets the data backup conditions
- the service level information does not include the second mirroring device Identification
- the client kernel determines that the data backup conditions are not met.
- Step S40 When the data backup condition is met, the client kernel determines a second mirroring device according to the service level information, and establishes a second connection relationship between the network block device and the second mirroring device, so as to Make a data backup.
- the client kernel determines that the data backup conditions are met, the client kernel needs to determine the second mirroring device corresponding to the network block device, which specifically includes:
- Step b1 when the data backup condition is met, obtain the second mirror device identifier in the service level information, and obtain the free storage space information of each device in each preset storage cluster;
- Step b2 according to the free storage space information, use the device with the largest free storage space as the second mirroring device corresponding to the network block device, and assign the second mirroring device identifier to the second mirroring device;
- Step b3 Establish a second connection relationship between the network block device and the second mirroring device to perform data backup.
- the client kernel obtains the second mirror device identifier in the service level information, and obtains the free storage space information of each device in each preset storage cluster, where the preset storage cluster refers to the preset storage cluster The storage cluster to which the mirroring device belongs; the client kernel uses the device with the largest free storage space as the second mirroring device corresponding to the network block device according to the free storage space information, and the client kernel registers the corresponding second mirroring device according to the second mirroring device identifier , In order to realize that the second mirroring device identifier is assigned to the second mirroring device. After the second mirroring device is determined, the client kernel establishes a second connection relationship between the network block device and the second mirroring device for data backup. In this embodiment, by establishing multiple mirroring devices for the network block device, the problem of data loss caused by a failure of one mirroring device is prevented and the data security of the network block device is improved.
- the number of second mirroring devices in this embodiment can be one or more. That is, the client kernel in this embodiment can also obtain free storage space information in each preset storage cluster.
- the largest target device for example, if there are 3 preset storage clusters, you can get 3 target devices, and then extract the preset number from the target device (the preset number refers to the number of network block devices set in advance.
- the number can be set according to specific scenarios, for example, set to 2 devices as the second mirroring device.
- the preset storage cluster has cluster a, cluster b, and cluster c; wherein cluster a includes equipment a1, equipment a2, equipment a3, and equipment a4; cluster b includes equipment b1, equipment b2, equipment b3, and equipment b4; Cluster c includes device c1, device c2, device c3, and device c4.
- the client kernel obtains the preset number of devices with the largest free storage space information in different preset storage clusters as the second mirroring device, for example, the preset number is 2 , The client kernel obtains device a4, device b2, and device c3 with the largest free storage space information in each cluster, and then obtains the larger two of device a4, device b2, and device c3 as the second mirroring device.
- multiple second mirroring devices are set in different preset storage clusters to ensure data security.
- This embodiment is a step after step S40 in the first embodiment of this application.
- it is determined whether there is a connection abnormality problem, that is, after the network block device determines multiple mirroring devices, the client The end kernel performs read and write operations on multiple mirroring devices at the same time, and determines whether the network block device connection is abnormal according to whether the mirroring device feeds back operation information.
- the data backup method based on the network block device includes:
- Step S50 when the client kernel receives an operation request based on the network block device, obtain the first connection relationship and the second connection relationship corresponding to the network block device.
- the client core obtains the first connection relationship and the second connection relationship, so that the client core sends the operation request according to the obtained first connection relationship and the second connection relationship, specifically:
- Step S60 the client kernel sends the operation request to the first mirror device corresponding to the first connection relationship; the client kernel sends the operation request to the second connection relationship The second mirroring device;
- the client kernel sends the operation request to the first mirroring device according to the first connection relationship, so that the first mirroring device feeds back the first operation information, that is, when the first mirroring device receives the operation request sent by the client kernel, the first mirroring device
- the mirroring device executes the operation request and obtains the first operation information corresponding to the operation request, and the first mirroring device feeds back the first operation information to the client kernel.
- the client kernel sends the operation request to the second mirroring device according to the second connection relationship, so that the second mirroring device feeds back the second operation information, that is, when the second mirroring device receives the operation request sent by the client kernel, the second mirroring device
- the mirroring device executes the operation request to obtain second operation information corresponding to the operation request, and the second mirroring device feeds back the second operation information to the client kernel.
- the client kernel determines whether the connection of the network block device is normal according to whether the first operation information and the second operation information are received at the same time, that is,
- Step S70 When the client kernel does not receive the first operation information and the second operation information at the same time, output a prompt message indicating that the network block device is abnormally connected to prompt the client corresponding to the user.
- the client kernel When the client kernel does not receive the first operation information and the second operation information at the same time, it outputs a prompt message indicating that the network block device is abnormally connected to remind the client corresponding to the user; that is, the client core does not receive the first operation information , It is determined that the first connection relationship between the network block device and the first mirroring device is abnormal. Similarly, the client kernel does not receive the second operation information, and it is determined that the second connection relationship between the network block device and the second mirroring device is abnormal. .
- the client kernel determines whether the connection of the network block device is abnormal according to whether the operation information is received at the same time, so as to prompt promptly when the connection of the network block device is abnormal. It should be supplemented that in this embodiment, when the network block device is abnormally connected, the client kernel determines the faulty mirror device, and the client kernel obtains the mirror device ID of the mirror device pair; the upper layer application that traces the mirror device ID The information acquires other mirroring devices other than the fault associated with the application information, and responds to the device to ensure data security.
- This embodiment is a step after step S40 in the first embodiment of this application.
- the difference between this embodiment and the second embodiment of this application is that in this embodiment, when the rbd-nbd process is restarted, it is detected whether the network block device is connected to multiple devices at the same time.
- a mirroring device determines whether the network block device connection is abnormal.
- the data backup method based on the network block device includes: To
- Step S80 When the client kernel detects that the rbd-nbd process is started for the second time, the client kernel judges whether the network block device is connected to the first mirroring device and the second mirroring device at the same time.
- the client kernel detects the second startup of the rbd-nbd process, and the client kernel obtains the network block device corresponding to the rbd-nbd process and the connection relationship with the network block device (the connection relationship of the network block device includes the first connection relationship and the second connection relationship). Connection relationship), the client kernel determines whether the network block device is abnormally connected according to whether the network block device is connected to the first mirroring device and the second mirroring device at the same time.
- Step S90 When the network block device is not connected to the first mirroring device and the second mirroring device at the same time, output a prompt message indicating that the network block device is abnormally connected to prompt the client to correspond to the user.
- a prompt message indicating that the network block device is abnormally connected is output to prompt the client to correspond to the user. That is, in this embodiment, the network block device is connected to all mirror devices at the same time, and it is determined that the network block device is abnormally connected, and real-time detection of the network block device is realized.
- the client kernel deletes the network block device.
- the data backup method based on the network block device includes:
- Step S100 when the client kernel receives the network block device deletion instruction, obtain the device block identifier corresponding to the deletion instruction.
- the client kernel When the client kernel receives the network block device deletion instruction, it obtains the device block identification corresponding to the deletion instruction, where the identification information of the network block device refers to identification information for identifying the network block device, for example, the network block device number.
- Step S110 The client kernel obtains the connection relationship corresponding to the device block identifier, disconnects the connection relationship, and deletes the network block device corresponding to the device block identifier.
- the client kernel obtains the connection relationship corresponding to the device block identifier, where the connection relationship includes a first connection relationship and a second connection relationship.
- the client kernel first disconnects the connection relationship of the network block device, and deletes the network block device corresponding to the device block identifier ;
- the client kernel can delete the network block in real time, reducing unnecessary resource occupation.
- an embodiment of the present application also proposes a data backup device based on a network block device, and the data backup device based on a network block device includes:
- the information acquisition module 10 is configured to obtain the process parameters and network block devices corresponding to the rbd-nbd process when the client kernel detects that the rbd-nbd process is started for the first time;
- the first establishing module 20 is used for the client kernel to determine a first mirroring device according to the process parameters, and to establish a first connection relationship between the network block device and the first mirroring device;
- the backup judgment module 30 is configured to, when the first connection relationship is established, the client kernel reads the service level information in the first mirroring device, and judges whether the data backup condition is met according to the service level information ;
- the second establishment module 40 is configured to, when the data backup conditions are met, the client kernel determines a second mirroring device according to the service level information, and establishes a second mirroring device between the network block device and the second mirroring device Second, the connection relationship for data backup.
- the information acquisition module 10 includes:
- the device traversal unit is used for when the client kernel detects that the rbd-nbd process is started for the first time, the client kernel obtains process parameters and traverses each pre-stored network block device to determine whether there is an idle network in the pre-stored network block device Block device
- An idle device determining unit configured to, when there is an idle network block device, the client kernel uses the idle network block device as the network block device corresponding to the rbd-nbd process;
- the device creation unit is configured to, when there is no idle network block device, the client kernel creates a new network block device through the loaded network block device driver in the kernel, and uses the new network block device as the new network block device.
- the network block device corresponding to the rbd-nbd process.
- the backup judgment module 30 includes:
- the information reading unit is configured to, when the establishment of the first connection relationship is completed, the client kernel reads the service level information in the first mirroring device, and judges whether the service level information includes a second mirroring Equipment Identity;
- the first determining unit is configured to include a second mirroring device identifier in the service level information to determine that the data backup condition is met;
- the second determining unit is configured to determine that the second mirroring device identifier is not included in the service level information, and the data backup condition is not met.
- the second establishment module 40 includes:
- the storage information obtaining unit is configured to obtain the second mirroring device identifier in the service level information, and obtain the free storage space information of each device in each preset storage cluster when the data backup condition is met;
- the second mirroring device determining unit is configured to use the device with the largest free storage space as the second mirroring device corresponding to the network block device according to the free storage space information, and assigning the second mirroring device identifier to the first mirroring device Two mirror equipment;
- the second establishing unit is configured to establish a second connection relationship between the network block device and the second mirroring device to perform data backup.
- the data backup device based on network block equipment includes:
- An operation request receiving module configured to obtain the first connection relationship and the second connection relationship corresponding to the network block device when the client kernel receives an operation request based on the network block device;
- a first sending module configured for the client kernel to send the operation request to the first mirroring device corresponding to the first connection relationship, so that the first mirroring device feeds back first operation information
- a second sending module configured for the client kernel to send the operation request to the second mirroring device corresponding to the second connection relationship, so that the second mirroring device feeds back second operation information
- the first abnormal prompting module is configured to output prompt information of abnormal connection of the network block device when the client core does not simultaneously receive the first operation information and the second operation information, so as to prompt the client to correspond user.
- the data backup device based on network block equipment includes:
- connection judgment module is used to judge whether the network block device is connected to the first mirroring device and the second mirroring device when the client kernel detects that the rbd-nbd process is started for the second time ;
- the second abnormality prompt module is configured to output prompt information of abnormal connection of the network block device when the network block device is not connected to the first mirroring device and the second mirroring device at the same time, so as to prompt the client to correspond to the user .
- the data backup device based on network block equipment includes:
- the delete receiving module is used to obtain the device block identifier corresponding to the delete instruction when the client kernel receives the network block device delete instruction;
- the device deletion module is used for the client kernel to obtain the connection relationship corresponding to the device block identifier, disconnect the connection relationship and delete the network block device corresponding to the device block identifier.
- each functional module of the data backup device based on the network block device can refer to the various embodiments of the data backup method based on the network block device of the present application, which will not be repeated here.
- the embodiment of the present application also proposes a computer storage medium.
- the computer storage medium stores computer readable instructions, and when the computer readable instructions are executed by the processor, the operations in the network block device-based data backup method provided in the foregoing embodiments are implemented.
- the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
- the device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solution of the present application. Those of ordinary skill in the art can understand and implement it without creative work.
- the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
- the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
- a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
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
L'invention concerne un procédé de sauvegarde de données basé sur un dispositif de blocs de réseau, le procédé consistant : lorsqu'un noyau de client détecte qu'un processus rbd-nbd démarre pour la première fois, à acquérir, par le noyau de client, un paramètre de processus et un dispositif de blocs de réseau correspondant au processus rbd-nbd ; à déterminer un premier dispositif d'image inverse selon le paramètre de processus, tandis que le noyau de client établit une première relation de connexion entre le dispositif de blocs de réseau et le premier dispositif d'image inverse ; à lire, par le noyau de client, des informations de niveau de service dans le premier dispositif d'image inverse et à déterminer, selon les informations de niveau de service, si une condition de sauvegarde de données est vérifiée ou non ; et lorsque la condition de sauvegarde de données est vérifiée, à déterminer, par le noyau de client, un second dispositif d'image inverse et à établir une seconde relation de connexion entre le dispositif de blocs de réseau et le second dispositif d'image inverse, de façon à effectuer une sauvegarde de données. L'invention concerne en outre un appareil et un dispositif de sauvegarde de données, basés sur un dispositif de blocs de réseau et un support de stockage. Selon la présente invention, un dispositif de blocs de réseau est connecté à une pluralité de dispositifs d'image inverse pour garantir la sécurité des données.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910485602.3A CN110321251B (zh) | 2019-06-03 | 2019-06-03 | 基于网络块设备的数据备份方法、装置、设备和存储介质 |
| CN201910485602.3 | 2019-06-03 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020244059A1 true WO2020244059A1 (fr) | 2020-12-10 |
Family
ID=68120284
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/101718 Ceased WO2020244059A1 (fr) | 2019-06-03 | 2019-08-21 | Procédé, appareil et dispositif de sauvegarde de données basés sur un dispositif de blocs de réseau (nbd) et support de stockage |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110321251B (fr) |
| WO (1) | WO2020244059A1 (fr) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024016595A1 (fr) * | 2022-07-20 | 2024-01-25 | 天翼云科技有限公司 | Procédé et appareil de mappage rbd-nbd |
| CN119760707A (zh) * | 2024-12-11 | 2025-04-04 | 中电云计算技术有限公司 | 恶意代码检测方法、装置、设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101414915A (zh) * | 2007-10-19 | 2009-04-22 | 英业达股份有限公司 | 远程复制的发送请求处理系统及其方法 |
| CN105843704A (zh) * | 2016-03-15 | 2016-08-10 | 上海爱数信息技术股份有限公司 | 一种结合分布式块存储的快照功能的数据保护方法及系统 |
| CN109033328A (zh) * | 2018-07-19 | 2018-12-18 | 郑州云海信息技术有限公司 | 一种访问请求处理方法、装置、设备及可读存储介质 |
| CN109814946A (zh) * | 2018-12-29 | 2019-05-28 | 创新科存储技术(深圳)有限公司 | 一种在XenServer中实现分布式存储的方法和装置 |
| US20190166163A1 (en) * | 2016-09-27 | 2019-05-30 | Red Hat, Inc. | Method of managing system utilities access control |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106227621B (zh) * | 2016-07-25 | 2019-03-01 | 北京飞杰信息技术有限公司 | 基于逻辑卷管理精简卷的数据备份方法及系统 |
| CN206546569U (zh) * | 2017-02-24 | 2017-10-10 | 深圳市中博睿存信息技术有限公司 | 一种块设备镜像备份装置 |
| CN108446164B (zh) * | 2018-03-01 | 2022-02-22 | 深信服科技股份有限公司 | 一种v2p的数据迁移方法、系统及相关装置 |
-
2019
- 2019-06-03 CN CN201910485602.3A patent/CN110321251B/zh active Active
- 2019-08-21 WO PCT/CN2019/101718 patent/WO2020244059A1/fr not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101414915A (zh) * | 2007-10-19 | 2009-04-22 | 英业达股份有限公司 | 远程复制的发送请求处理系统及其方法 |
| CN105843704A (zh) * | 2016-03-15 | 2016-08-10 | 上海爱数信息技术股份有限公司 | 一种结合分布式块存储的快照功能的数据保护方法及系统 |
| US20190166163A1 (en) * | 2016-09-27 | 2019-05-30 | Red Hat, Inc. | Method of managing system utilities access control |
| CN109033328A (zh) * | 2018-07-19 | 2018-12-18 | 郑州云海信息技术有限公司 | 一种访问请求处理方法、装置、设备及可读存储介质 |
| CN109814946A (zh) * | 2018-12-29 | 2019-05-28 | 创新科存储技术(深圳)有限公司 | 一种在XenServer中实现分布式存储的方法和装置 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2024016595A1 (fr) * | 2022-07-20 | 2024-01-25 | 天翼云科技有限公司 | Procédé et appareil de mappage rbd-nbd |
| CN119760707A (zh) * | 2024-12-11 | 2025-04-04 | 中电云计算技术有限公司 | 恶意代码检测方法、装置、设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110321251A (zh) | 2019-10-11 |
| CN110321251B (zh) | 2023-06-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2018214320A1 (fr) | Procédé et système de surveillance de logique de service de base de données, et support de stockage | |
| WO2020224246A1 (fr) | Procédé et appareil de gestion de données fondée sur une chaîne de blocs, dispositif et support d'informations | |
| WO2018120681A1 (fr) | Procédé, dispositif et système de synchronisation de données, serveur de traitement de données et support de stockage | |
| WO2018233352A1 (fr) | Procédé de transmission de données, dispositif, terminal, et support de stockage lisible par ordinateur | |
| WO2020019405A1 (fr) | Procédé, dispositif, appareil de surveillance de base de données et support d'informations informatique | |
| WO2020253125A1 (fr) | Procédé, appareil et dispositif de gestion de journal et support d'informations | |
| WO2020233073A1 (fr) | Procédé, dispositif et appareil de traitement de test d'environnement de chaîne de blocs, et support de stockage | |
| WO2021012481A1 (fr) | Procédé et appareil de surveillance de performances de système, dispositif et support d'informations | |
| WO2018076841A1 (fr) | Procédé de partage de données, appareil, support de stockage, et serveur | |
| WO2020042464A1 (fr) | Procédé, appareil et dispositif d'interaction de données, et support d'informations lisible | |
| WO2020119369A1 (fr) | Procédé, appareil et dispositif de positionnement de défaut de fonctionnement et de maintenance informatique intelligent, et support de stockage lisible | |
| WO2021012490A1 (fr) | Procédé et appareil de commutation de relais de service, dispositif terminal, et support d'informations | |
| WO2020237849A1 (fr) | Procédé de lecture-écriture d'aperçu pour dispositif de bloc de réseau, appareil, dispositif et support de stockage | |
| WO2020015060A1 (fr) | Procédé et appareil d'estimation d'anomalie de consommation d'énergie, et support d'enregistrement informatique | |
| WO2020237859A1 (fr) | Procédé de migration de données employant un dispositif nbd, appareil, dispositif et support de stockage | |
| WO2018120680A1 (fr) | Système de sauvegarde de disque virtuel, procédé, appareil, hôte de service et support d'enregistrement | |
| WO2017126740A1 (fr) | Dispositif terminal, système de commande à distance, et procédé de commande | |
| WO2020077832A1 (fr) | Procédé, appareil et dispositif d'accès à un bureau dans le nuage et support de stockage | |
| WO2016101441A1 (fr) | Procédé et système de synchronisation de fichier | |
| WO2021051492A1 (fr) | Procédé, appareil et dispositif de communication de nœud de service de base de données, et support d'informations informatique | |
| WO2017140080A1 (fr) | Procédé et appareil de communication d'adressage basés sur une adresse de contrôle d'accès au support | |
| WO2020042471A1 (fr) | Procédé, système, et dispositif de vérification de politique de pare-feu, et support de stockage lisible par machine | |
| WO2018184302A1 (fr) | Procédé de transmission de données, système, équilibreur de charge virtuelle et support de stockage lisible | |
| WO2020062615A1 (fr) | Appareil et procédé de réglage de valeur gamma destiné à un panneau d'affichage, et dispositif d'affichage | |
| WO2020244059A1 (fr) | Procédé, appareil et dispositif de sauvegarde de données basés sur un dispositif de blocs de réseau (nbd) et support de stockage |
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: 19931996 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19931996 Country of ref document: EP Kind code of ref document: A1 |