WO2019075773A1 - 数据处理方法、装置、计算机设备和存储介质 - Google Patents

数据处理方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2019075773A1
WO2019075773A1 PCT/CN2017/108291 CN2017108291W WO2019075773A1 WO 2019075773 A1 WO2019075773 A1 WO 2019075773A1 CN 2017108291 W CN2017108291 W CN 2017108291W WO 2019075773 A1 WO2019075773 A1 WO 2019075773A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
identifier
host
backup
network address
Prior art date
Application number
PCT/CN2017/108291
Other languages
English (en)
French (fr)
Inventor
罗国强
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019075773A1 publication Critical patent/WO2019075773A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a data processing method, apparatus, computer device, and storage medium.
  • a data processing method, apparatus, computer device, and storage medium are provided.
  • a data processing method is applied to a transit node, where the transit node is assigned a first network address And a second network address, where the first network address is used to communicate with a management node, and the second network address is used to communicate with a host corresponding to the transit node, including:
  • the backup data includes first data corresponding to the first data identifier or change information of the first data corresponding to the first data identifier
  • a data processing apparatus is applied to a transit node, the transit node is assigned a first network address and a second network address, the first network address is used for communication with a management node, and the second network address is used for The host corresponding to the transit node performs communication, including:
  • a first backup request receiving module configured to receive a first data backup request sent by the management node, where the first data backup request carries a first data identifier
  • a first identifier obtaining module configured to acquire a first host identifier corresponding to the first data identifier
  • a first acquiring request sending module configured to send a first data obtaining request to the first host corresponding to the first host identifier, where the first data obtaining request carries the first data identifier;
  • a data receiving module configured to receive backup data that is returned by the first host according to the first data identifier, where the backup data includes first data corresponding to the first data identifier or a corresponding number of the first data identifier a change in data;
  • a backup module configured to send the backup data to a preset storage node to back up the first data.
  • a computer device is applied to a transit node, the transit node is assigned a first network address and a second network address, the first network address is used for communicating with a management node, and the second network An address for communicating with a host corresponding to the transit node, the computer device comprising a memory and a processor, the memory storing computer readable instructions, wherein the computer readable instructions are executed by the processor Having the processor perform the following steps:
  • the backup data includes first data corresponding to the first data identifier or change information of the first data corresponding to the first data identifier
  • One or more non-volatile readable storage media storing computer readable instructions are applied to the transit node, the transit node being assigned a first network address and a second network address, the first network address being used for The management node is in communication, the second network address is for communicating with a host corresponding to the transit node, and when the computer readable instructions are executed by one or more processors, causing the one or more processors Perform the following steps:
  • the backup data includes first data corresponding to the first data identifier or change information of the first data corresponding to the first data identifier
  • FIG. 1 is an implementation environment diagram of a data processing method provided in an embodiment
  • FIG. 2 is a flow chart of a data processing method in an embodiment
  • FIG. 3 is a flow chart of a data processing method in an embodiment
  • Figure 5 is a flow chart of a data processing method in an embodiment
  • Figure 6 is a block diagram showing the structure of a data processing apparatus in an embodiment
  • Figure 7 is a block diagram showing the structure of a data processing apparatus in an embodiment
  • Figure 8 is a block diagram showing the structure of a data processing apparatus in an embodiment
  • Figure 9 is a block diagram showing the structure of a data processing apparatus in an embodiment
  • Figure 10 is a block diagram showing the structure of a data processing system in an embodiment
  • Figure 11 is a block diagram showing the internal structure of a computer device in one embodiment.
  • first, second, and the like, as used herein, may be used to describe various elements, and the elements are not limited by these terms unless specifically stated. These terms are only used to distinguish one element from another.
  • first data identifier may be referred to as a second data identifier without departing from the scope of the present application, and similarly, the second data identifier may be referred to as a A data identifier.
  • FIG. 1 is an implementation environment diagram of a data processing method provided in an embodiment.
  • a backup request sending node 110 a management node 120, a transit node 130, and a storage node 140, a transit node are included.
  • One or more hosts for example, host 1 to host n, are disposed on the host area corresponding to 130.
  • the transit node 130 is assigned a first network address for communicating with the management node 120 and a second network address for communicating with the host on the host region corresponding to the transit node 130.
  • the backup request sending node 110 sends a second backup request to the management node 120.
  • the second backup request carries the first data identifier and the first host identifier, and the management node 120 obtains the first host identifier or the first data identifier.
  • the corresponding transit node 130 sends a first data backup request to the transit node 130.
  • the first backup request carries the first host identifier and the first data identifier.
  • the transit node 130 corresponds to the first host identifier.
  • the first host for example, the host 1 sends a first data acquisition request, the first data acquisition request carries the first data identifier, and the host 1 acquires the first data according to the first data identifier, and returns the first data to the transit node 130, and the relay Node 130 sends the first data to storage node 140 for storage.
  • each host area there are one or more host areas, and the number of hosts on each host area is set according to actual needs, and each host area may correspondingly set one or more transit nodes. For example, Shanghai, Chengdu, and Shenzhen each set up a cloud host area for storing cloud hosts.
  • the second data backup request and/or the first data backup request may not carry the first host identifier, and the mapping relationship between the data identifier and the host identifier may be set on the transit node 130, and the relay node 130 receives the After the first data backup request, the corresponding first host identifier is found according to the first data identifier.
  • the mapping relationship between the data identifier and the transit node may also be set in the management node 120.
  • the transit corresponding to the first host is obtained according to the first data identifier.
  • the node sends a first backup request to the transit node.
  • the backup request sending node 140 may be a user terminal or a server.
  • the user may send an instruction for performing data backup on a webpage of the cloud portal, where the command carries the first data identifier and the first host identifier.
  • the server corresponding to the cloud portal sends a second backup request to the management node 130.
  • Cloud portal refers to a cloud platform based on network The portal for resource access and management integrates interfaces and software under the cloud platform.
  • the first host identification can include a network address of the first host.
  • the backup instruction may further carry a host area identifier of an area where the first host is located.
  • the second backup request carries the host area identifier, and the management node stores the correspondence between the host area identifier and the network address of the transit node.
  • the management node 120 After receiving the host area identifier, the management node 120 obtains the first network address of the corresponding transit node, and then sends a first backup request to the transit node 130 according to the first network address.
  • the data identifier sent may be a folder identifier or an identifier of multiple files in the folder.
  • the terminal stores the data identifier and the host IP address.
  • the server sends an information acquisition request to the corresponding relationship between the data identifier and the host area, and the server obtains the network address of the first host corresponding to the data identifier and the host area identifier of the first host according to the data identifier, and then returns the information to the user terminal.
  • the user terminal sends the data identifier, the network address of the first host, and the host area identifier to the management node 120.
  • the management node 120, the transit node 130, and the storage node 140 belong to the same local area network, and the transit node 130 and the corresponding host belong to another local area network, that is, the first network address may be the network address of the management node 120.
  • the IP address of the same local area network may be an IP address of the same local area network as the IP address of the host corresponding to the transit node 130.
  • the transit node communicates with the corresponding host through a socket.
  • the socket mode transmits data for a short time and has high performance. Therefore, using the socket method for communication can improve the efficiency of data backup.
  • communication may also be performed using the HTTP method.
  • the backup request sending node 110, the management node 120, the transit node 130, and the storage node 140 may be independent physical servers, or may be a server cluster composed of multiple physical servers, which may be a cloud server, a cloud database, a cloud storage, a CDN, or the like. Cloud server for basic cloud computing services.
  • a data processing method is proposed.
  • the data processing method can be applied to the transit node 130.
  • the transit node is assigned a first network address and a second network address.
  • the network address is used for communication with the management node, and the second network address is used for communication with the host corresponding to the transit node, which may include the following steps:
  • Step 202 Receive a first data backup request sent by the management node, where the first data backup request is carried. With the first data identification.
  • the network address refers to a logical address that a node on the Internet has in the network, and can be determined according to a protocol of communication. For example, an IP address.
  • the first data identifier may be one or more, and the first data identifier is used to identify the first data that needs to be backed up.
  • the user selects or inputs the corresponding first data identifier according to the first data to be backed up.
  • the user terminal receives the first data identifier and sends it to the management node.
  • the management node sends the first data backup request to the transit node
  • the first data backup request is sent to the transit node according to the first network address, and is in the first data backup request. Carry the first data identifier.
  • the first data backup request carries the first host identifier.
  • the data backup instruction received by the management node may carry the first host identifier, and the management node carries the first backup request when sending the first backup request to the transit node.
  • a host ID. Or the corresponding relationship between the data identifier and the host identifier may be set in the management node.
  • the first host identifier corresponding to the first data identifier is obtained, and the first host identifier is sent to the transit node.
  • a backup request carries the first host identifier.
  • Step 204 Acquire a first host identifier corresponding to the first data identifier.
  • the first host identifier is used to identify the first host, and the transit node may preset the correspondence between the data identifier and the host identifier. After receiving the first data identifier carried in the first backup request, the first data identifier is obtained. The first host ID.
  • the first data backup request carries the first data identifier and the first host identifier corresponding to the first data identifier. Therefore, the transit node may parse the first data backup request to obtain the first data identifier. And the corresponding first host identifier.
  • Step 206 Send a first data acquisition request to the first host corresponding to the first host identifier, where the first data acquisition request carries the first data identifier.
  • the first host is one or more of the hosts corresponding to the transit node. After the first host identifier is obtained, the first data acquisition request is sent to the first host corresponding to the first host identifier, and the first data identifier is carried in the first data acquisition request.
  • the correspondence between the host identifier and the network address of the host is preset in the transit node.
  • the first host identifier is obtained according to the first host identifier.
  • Corresponding network address corresponding to the first host. And sending a first data acquisition request to the first host according to the network address corresponding to the first host.
  • the first host identification can include a network address of the first host. Therefore, after obtaining the first host identifier, the network address of the first host can be no longer searched to improve the speed of data backup.
  • Step 208 Receive backup data returned by the first host according to the first data identifier, where the backup data includes first data corresponding to the first data identifier or change information of the first data corresponding to the first data identifier.
  • the first data refers to the complete data corresponding to the first data identifier
  • the change information of the first data refers to the changed data in the first data or the operation information obtained according to the operation record that changes the first data.
  • the backed up data can be changed to obtain data that is consistent with the changed first data in the first host.
  • Step 210 Send backup data to a preset storage node to back up the first data.
  • the backup data is sent to a preset storage node, so that the storage node stores the backup data.
  • the first data includes environment parameters for the environment of the host, such as firewall policy parameters and security gateway parameters, and the environment parameters may be set according to specific requirements, which are not limited herein.
  • the data processing method is configured to configure a corresponding transit node for each host area, where the transit node is assigned a first network address and a second network address, the first network address is used for communication with the management node, and the second network address is used for transiting
  • the hosts in the host area corresponding to the node communicate with each other. Therefore, the transit node can receive the data backup request sent by the management node, and obtain the first host identifier corresponding to the first data identifier carried in the data backup request, and further corresponding to the first host identifier.
  • the first host sends a first data acquisition request, and receives the first data sent by the first host, and then backs up the first data to the preset storage node. In this way, when the data is to be stored in the host of another host area, the transit node corresponding to the host area can acquire data from the preset storage node, which is fast and saves computer network resources.
  • the storage node includes an object storage node
  • the information processing method may further include step S302: receiving first user attribute information sent by the management node.
  • Step 210 The step of sending the backup data to the preset storage node to back up the first data includes: sending a data storage request to the storage node, where the data storage request carries the backup data, the first user attribute information, and the first data identifier, The storage node performs a hash calculation according to the first user attribute information and the first data identifier to obtain a first hash value, and stores the backup data according to the first hash value.
  • the object storage refers to storing the data as an object, and the object identifier is used to describe an attribute of the object.
  • the object identifier is first acquired, and then the object is accessed or stored according to the object identifier.
  • the first user attribute information includes a username, and in some embodiments may also include at least one of a user password and user rights and the like.
  • the first user attribute information may be user attribute information of the management node or user attribute information of the backup request sending node.
  • the first user attribute information may be carried in the first backup request. It may also be received before receiving the first backup request.
  • the transit node may store the first user attribute information.
  • the first user attribute information sent by the management node may also be received.
  • Hash calculation is a calculation method for transforming an input of arbitrary length into a certain length by a hash algorithm.
  • the hash algorithm can be MD5 (Message-digest Algorithm 5) algorithm and SHA (Secure Hash Standard, security Greek standard) algorithm, etc., specifically no restrictions.
  • MD5 Message-digest Algorithm 5
  • SHA Secure Hash Standard, security Greek standard
  • the restore transit node may also receive the first user attribute information sent by the management node, and send the first user attribute information and the first data identifier to the storage node to obtain the first data, so that the storage node obtains the first user attribute information according to the first user attribute information. And the first data identifier is hashed to obtain the first data, and the first data is returned to the corresponding restore relay node. This makes it easy to restore data to hosts on other regions.
  • the restoration may refer not only to returning the backed up data to the original backed up host, but also to sending the backed up data to other hosts.
  • the storage node includes an object storage node
  • the data processing method may further include the following steps:
  • Step S402 receiving second user attribute information sent by the management node.
  • the second user attribute information may be user attribute information of the management node or user attribute information of the backup request sending node.
  • Step S404 receiving a data restoration request sent by the management node, where the data restoration request carries the second data identifier.
  • the second data identifier is used to identify the second data that needs to be restored, and the second data identifier may be one or more.
  • the management node sends a data restore request to the transit node, and the transit node receives the data restore request.
  • the data restore command may be sent to the management node, where the data restore command carries the second data identifier, and the management node receives the data restore command. After that, a data restore request is sent to the transit node.
  • the data restoration request further carries a second host identifier, where the second host identifier is used to identify the host to be data restored.
  • the backup command sent by the user may carry the second host identifier, and after receiving the second host identifier, the management node carries the second host identifier in the data restoration request.
  • the second user attribute information may be carried in the data restoration request, or may be received before receiving the data restoration request, and after receiving the second user attribute information, storing the second user attribute information in the second user attribute information.
  • the second user attribute information sent by the management node may also be received.
  • Step S406 Acquire a second host identifier corresponding to the second data identifier.
  • the second host identifier may be one or more, and the transit node may preset the correspondence between the data identifier and the host identifier, and after receiving the second data identifier carried in the data restoration request, obtain the second data identifier corresponding to the second data identifier.
  • the second host ID may be one or more, and the transit node may preset the correspondence between the data identifier and the host identifier, and after receiving the second data identifier carried in the data restoration request, obtain the second data identifier corresponding to the second data identifier.
  • the second host ID may be one or more, and the transit node may preset the correspondence between the data identifier and the host identifier, and after receiving the second data identifier carried in the data restoration request, obtain the second data identifier corresponding to the second data identifier.
  • the data restoration request carries the second data identifier and the second host identifier corresponding to the second data identifier. Therefore, the data restoration request may be parsed to obtain the second data identifier and the corresponding second host. logo.
  • Step S408 Send a second data acquisition request to the storage node, where the second data acquisition request carries the second data identifier and the second user attribute information, so that the storage node performs hash calculation according to the second user attribute information and the second data identifier. Obtaining a second hash value and obtaining a second number according to the second hash value Corresponding to the second data corresponding to the identification.
  • the second data is already stored in the storage node, and the transit node that backs up the data backs up the second data to the storage system, and sends the second user attribute information and the second data identifier to the storage node, so that the storage node is configured according to the storage node
  • the second user attribute information and the second data identifier are hashed to obtain a second hash value, and the storage node stores the second data according to the second hash value. Therefore, when the second data is to be restored, the second data identifier and the second user attribute information are carried in the second data acquisition request, so that the storage node is consistent with the backup data according to the second data identifier and the second user attribute information.
  • the second hash value, and the corresponding second data is obtained according to the second hash value.
  • the transit node that performs data backup may be the same as or different from the transit node that performs data restoration.
  • Step S410 Receive second data returned by the storage node, and send the second data to the second host corresponding to the second host identifier.
  • the transit node receives the second data, and then sends the second data to the second host corresponding to the second host identifier, to the second host. Restore the second data.
  • the second data includes environment parameters for the environment of the host, such as firewall policy parameters and security gateway parameters, and the environment parameters may be set according to specific requirements, which are not limited herein.
  • the first virtual machine and the second virtual machine are created on the transit node, and the information processing method further includes:
  • Step S502 receiving a virtual machine network address configuration request, where the network address configuration request carries the first network address and the second network address.
  • the virtual machine is a computer system that is simulated by software and has a complete hardware system function and runs in an isolated environment.
  • the first network address is used to communicate with the management node
  • the second network address is used to communicate with the host on the host area corresponding to the transit node.
  • the first network address is different from the second network address.
  • the first network address may be an IP address belonging to the same local area network as the management node's network address
  • the second network address may be the same as the corresponding host.
  • the IP address of the LAN may be an IP address belonging to the same local area network as the management node's network address
  • the second network address may be the same as the corresponding host.
  • Step S504 assigning a first network address to the first virtual machine, and assigning a second network address to the second virtual machine.
  • the transit node communicates and communicates with the host using the second network address, for example, receives a first data backup request sent by the management node, and then sends a first data acquisition request to the first host.
  • a data processing apparatus is provided.
  • the data processing apparatus can be integrated in the transit node 130, and the transit node is assigned a first network address and a second network address.
  • the network address is used for communication with the management node, and the second network address is used for communication with the host corresponding to the transit node, which may specifically include:
  • the first backup request receiving module 602 is configured to receive a first data backup request sent by the management node, where the first data backup request carries the first data identifier.
  • the first identifier obtaining module 604 is configured to obtain a first host identifier corresponding to the first data identifier.
  • the first backup request carries the first host identifier and the first data identifier
  • the first identifier obtaining module 604 is configured to: parse the first data backup request to obtain the first data identifier and the first host identifier.
  • the first acquisition request sending module 606 is configured to send a first data acquisition request to the first host corresponding to the first host identifier, where the first data acquisition request carries the first data identifier.
  • the data receiving module 608 is configured to receive backup data that is returned by the first host according to the first data identifier, where the backup data includes first data corresponding to the first data identifier or change information of the first data corresponding to the first data identifier.
  • the backup module 610 is configured to send backup data to a preset storage node to back up the first data.
  • the storage node includes a storage node
  • the device further includes: a first attribute information obtaining module 702, configured to receive first user attribute information sent by the management node.
  • the backup module 610 is configured to: send a data storage request to the storage node, where the data storage request carries the backup data, the first user attribute information, and the first data identifier, so that the storage node is configured according to the first user.
  • the attribute information and the first data identifier are hashed to obtain a first hash value, and the backup data is stored according to the first hash value.
  • the storage node includes an object storage node
  • the device further includes:
  • the first attribute information obtaining module 802 is configured to receive second user attribute information sent by the management node.
  • the restore request receiving module 804 is configured to receive a data restoration request sent by the management node, where the data restoration request carries the second data identifier.
  • the second identifier obtaining module 806 is configured to obtain a second host identifier corresponding to the second data identifier.
  • the second acquisition request sending module 808 is configured to send a second data acquisition request to the storage node, where the second data acquisition request carries the second data identifier and the second user attribute information, so that the storage node is configured according to the second user attribute information
  • the second data identifier is hashed to obtain a second hash value, and the second data corresponding to the second data identifier is obtained according to the second hash value.
  • the data restoration module 810 is configured to receive the second data returned by the storage node, and send the second data to the second host corresponding to the second host identifier to restore the second data.
  • the first virtual machine and the second virtual machine are created on the transit node, and the device further includes:
  • the configuration request receiving module 902 is configured to receive a virtual machine network address configuration request, where the network address configuration request carries the first network address and the second network address.
  • the allocating module 904 is configured to allocate a first network address to the first virtual machine and a second network address to the second virtual machine.
  • a data processing system is further provided, and the data backup includes:
  • the management node 120 is configured to: receive a second data backup request, request a first data identifier by the second data backup, obtain a first data identifier, obtain a transit node corresponding to the first data identifier, and send the first node to the transit node.
  • the data backup request, the first data data backup request carries the first data identifier.
  • the transit node 130 the transit node is assigned a first network address for communicating with the management node, and the second network address is for communicating with the host corresponding to the transit node, and the transit node is used for The steps of the data processing method provided by the above embodiments are performed.
  • the transit node can be one or more.
  • the computer device may be a transit node as described above, and the computer device is connected to a processor, a non-volatile storage medium, an internal memory, and a network through a system connection bus. interface.
  • the non-volatile storage medium of the computer device can store an operating system and computer readable instructions that, when executed, cause the processor to perform a data processing method.
  • the processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device.
  • the internal memory can store computer readable instructions that, when executed by the processor, cause the processor to perform a data processing method.
  • the network interface of the computer device is used for network communication, such as data backup requests.
  • FIG. 11 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • the various modules in the data processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof.
  • the network interface may be an Ethernet card or a wireless network card.
  • the above modules may be embedded in the hardware in the processor or in the memory in the server, or may be stored in the memory in the server, so that the processor calls the corresponding operations of the above modules.
  • the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
  • the data processing apparatus may be implemented in the form of a computer readable instruction executable on a computer device as shown in FIG. 11, non-volatile storage of the computer device
  • the medium may store various program modules constituting the data processing device, such as the first backup request receiving module 602, the first identifier obtaining module 604, the first acquiring request sending module 606, the data receiving module 608, and the backup module 610 in FIG.
  • Each of the program modules includes computer readable instructions for causing a computer device to perform the steps in the data processing method of various embodiments of the present application described in this specification.
  • the computer device can be as shown in FIG.
  • the first backup request receiving module 602 is configured to receive a first data backup request sent by the management node, where the first data backup request carries the first data identifier.
  • the first identifier of the first data identifier is obtained by the first identifier obtaining module 604.
  • the first data acquisition request is sent by the first acquisition request sending module 606 to the first host corresponding to the first host identifier, where the first data acquisition request carries the first data identifier.
  • the corresponding first data or the first data identifier corresponding to the first data is changed.
  • the backup data is sent to the preset storage node by the backup module 610 to back up the first data.
  • a computer device which may be a transit node, wherein the transit node is assigned a first network address and a second network address, and the first network address is used for the management node Communicating, the second network address is for communicating with a host corresponding to the transit node, the computer device comprising a memory, a processor, and a computer stored on the memory and operable on the processor
  • the readable instructions when the processor executes the computer readable instructions, the following steps are performed: receiving a first data backup request sent by the management node, where the first data backup request carries a first data identifier; The first data identifier corresponding to the first data identifier is sent to the first host corresponding to the first host identifier, where the first data acquisition request carries the first data identifier, and the first data identifier is received.
  • the first change information data or data corresponding to a first identification data transmitting the backup data to a predetermined storage node to backup the first data.
  • the method further includes: receiving first user attribute information sent by the management node; sending the backup data to a preset storage node,
  • the step of backing up the first data includes: sending a data storage request to the storage node, where the data storage request carries the backup data, the first user attribute information, and the first data identifier, to And causing the storage node to perform a hash calculation according to the first user attribute information and the first data identifier to obtain a first hash value, and store the backup data according to the first hash value.
  • the method further includes: receiving second user attribute information sent by the management node; receiving a data restoration request sent by the management node, where the data restoration request is carried Obtaining a second data identifier; acquiring a second host identifier corresponding to the second data identifier; sending a second data acquisition request to the storage node, where the second data acquisition request carries the second data identifier and the Two user attribute information, so that the storage node performs a hash calculation according to the second user attribute information and the second data identifier to obtain a second hash value, Obtaining second data corresponding to the second data identifier according to the second hash value; receiving the second data returned by the storage node, and sending the second data to the second host identifier Corresponding to the second host.
  • the first virtual machine and the second virtual machine are created on the transit node, and when the processor executes the computer readable instructions, the following steps are further performed: receiving a virtual machine network address configuration request, the network address configuration Requesting to carry the first network address and the second network address; allocating the first network address to the first virtual machine, and assigning a second network address to the second virtual machine.
  • the first backup request carries the first host identifier and the first data identifier
  • the step of acquiring the first host identifier corresponding to the first data identifier includes: The first data backup request is parsed to obtain the first data identifier and the first host identifier.
  • a computer readable storage medium is stored on a computer readable storage medium, the computer readable instructions being executed by a processor, such that the processor performs the following steps to receive the management node to send The first data backup request, the first data backup request carrying the first data identifier, the first host identifier corresponding to the first data identifier, and the first host corresponding to the first host identifier a data acquisition request, the first data acquisition request carrying the first data identifier, and the backup data returned by the first host according to the first data identifier, where the backup data includes the first data identifier
  • the first data or the first data identifies change information of the corresponding first data; and the backup data is sent to a preset storage node to back up the first data.
  • the method further includes: receiving first user attribute information sent by the management node; sending the backup data to a preset storage node,
  • the step of backing up the first data includes: sending a data storage request to the storage node, where the data storage request carries the backup data, the first user attribute information, and the first data identifier, to And causing the storage node to perform a hash calculation according to the first user attribute information and the first data identifier to obtain a first hash value, and store the backup data according to the first hash value.
  • the method further includes: receiving second user attribute information sent by the management node; receiving a data restoration request sent by the management node, where the data restoration request is carried Obtaining a second data identifier; acquiring a second host identifier corresponding to the second data identifier; sending a second data acquisition request to the storage node, where the second data acquisition request carries the second data identifier and the a second user attribute information, so that the storage node performs a hash calculation according to the second user attribute information and the second data identifier to obtain a second hash value, and obtains the first hash value according to the second hash value.
  • the second data corresponding to the second data identifier; the second data returned by the storage node is received, and the second data is sent to the second host corresponding to the second host identifier.
  • the first virtual machine and the second virtual machine are created on the transit node, and when the processor executes the computer readable instructions, the following steps are further performed: receiving a virtual machine network address configuration request, the network address configuration Requesting to carry the first network address and the second network address; allocating the first network address to the first virtual machine, and assigning a second network address to the second virtual machine.
  • the first backup request carries the first host identifier and the first data identifier
  • the step of acquiring the first host identifier corresponding to the first data identifier includes: The first data backup request is parsed to obtain the first data identifier and the first host identifier.
  • the foregoing storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, or a read-only memory (ROM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种数据处理方法、装置、计算机设备和存储介质,所述方法包括:接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识(S202);获取所述第一数据标识对应的第一主机标识(S204);向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识(S206);接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息(S208);将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份(S210)。

Description

数据处理方法、装置、计算机设备和存储介质
本申请要求于2017年10月16日提交中国专利局、申请号为2017109595001、发明名称为“数据处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,特别是涉及数据处理方法、装置、计算机设备和存储介质。
背景技术
随着信息技术的发展,越来越多的企业和个人通过购买或租用主机的方式进行网络存储以及计算等服务,以应对日益增加的对主机设备的需求以及节约IT设备维护成本。
现有技术中,为了避免因存储数据遭受破坏、丢失带来的损失,一般需要对存储的数据进行备份。然而,主机一般是分区域设置的,例如,两个主机区域分别位于北京和上海。出于安全和成本的考虑,区域与区域之间的主机不能进行直接访问,因此若要将在一个区域的主机中存储的数据存储到另一个区域的主机中时,需要用户将数据下载下来再发送到另一个主机区域的主机中,速度慢,且浪费计算机网络资源。
发明内容
根据本申请的各种实施例,提供一种数据处理方法、装置、计算机设备和存储介质。
一种数据处理方法,应用于中转节点,所述中转节点分配有第一网络地址 以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络地址用于与所述中转节点所对应的主机进行通信,包括:
接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;
获取所述第一数据标识对应的第一主机标识;
向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;
接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;及
将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
一种数据处理装置,应用于中转节点,所述中转节点分配有第一网络地址以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络地址用于与所述中转节点所对应的主机进行通信,包括:
第一备份请求接收模块,用于接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;
第一标识获取模块,用于获取所述第一数据标识对应的第一主机标识;
第一获取请求发送模块,用于向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;
数据接收模块,用于接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;及
备份模块,用于将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
一种计算机设备,应用于中转节点,所述中转节点分配有第一网络地址以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络 地址用于与所述中转节点所对应的主机进行通信,所述计算机设备包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:
接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;
获取所述第一数据标识对应的第一主机标识;
向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;
接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;及
将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
一个或多个存储有计算机可读指令的非易失性可读存储介质,应用于中转节点,所述中转节点分配有第一网络地址以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络地址用于与所述中转节点所对应的主机进行通信,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;
获取所述第一数据标识对应的第一主机标识;
向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;
接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;及
将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的 其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中提供的数据处理方法的实施环境图;
图2为一个实施例中数据处理方法的流程图;
图3为一个实施例中数据处理方法的流程图;
图4为一个实施例中数据处理方法的流程图;
图5为一个实施例中数据处理方法的流程图;
图6为一个实施例中数据处理装置的结构框图;
图7为一个实施例中数据处理装置的结构框图;
图8一个实施例中数据处理装置的结构框图;
图9为一个实施例中数据处理装置的结构框图;
图10为一个实施例中数据处理系统的结构框图;
图11为一个实施例中计算机设备的内部结构框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但除非特别说明,这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一数据标识称为第二数据标识,且类似地,可将第二数据标识称为第 一数据标识。
图1为一个实施例中提供的数据处理方法的实施环境图,如图1所示,在该实施环境中,包括备份请求发送节点110、管理节点120、中转节点130以及存储节点140,中转节点130所对应的主机区域上设置有一个或多个主机,例如为主机1~主机n。中转节点130上分配有用于与管理节点120进行通信的第一网络地址以及用于与中转节点130所对应的主机区域上的主机进行通信的第二网络地址。当需要备份时,备份请求发送节点110向管理节点120发送第二备份请求,第二备份请求中携带第一数据标识以及第一主机标识,管理节点120根据第一主机标识或第一数据标识获取对应的中转节点130,向中转节点130发送第一数据备份请求,第一备份请求中携带第一主机标识以及第一数据标识,收到第一备份请求后,中转节点130向第一主机标识对应的第一主机例如主机1发送第一数据获取请求,第一数据获取请求携带第一数据标识,主机1根据第一数据标识获取到第一数据,将第一数据返回到中转节点130上,中转节点130将第一数据发送到存储节点140中进行存储。
在一个实施例中,主机区域有一个或多个,每个主机区域上的主机的数量根据实际需要设置,每个主机区域可以对应设置一个或多个中转节点。例如,上海、成都以及深圳各设置一个云主机区域,用于存放云主机。
在一个实施例中,第二数据备份请求和/或第一数据备份请求中也可以不携带第一主机标识,中转节点130上可以设置数据标识与主机标识的对应关系,当中转节点130接收到第一数据备份请求后,根据第一数据标识查找到对应的第一主机标识。
在一个实施例中,管理节点120中也可以设置数据标识与中转节点的对应关系,当接收到数据备份指令中携带的第一数据标识后,根据第一数据标识得到第一主机所对应的中转节点,向中转节点发送第一备份请求。
在一个实施例中,备份请求发送节点140可以是用户终端,也可以是服务器,例如用户可以通过在云门户的网页上发送进行数据备份的指令,指令中携带第一数据标识以及第一主机标识,云门户对应的服务器接收到数据备份的指令后,向管理节点130发送第二备份请求。云门户是指基于网络方式的云平台 资源访问和管理的入口,集成了云平台下的接口和软件。
在一个实施例中,第一主机标识可以包括第一主机的网络地址。
在一个实施例中,备份指令中还可以携带有第一主机所在的区域的主机区域标识。第二备份请求中携带主机区域标识,管理节点上存储有主机区域标识与中转节点的网络地址的对应关系。当管理节点120接收到主机区域标识后,获取到对应的中转节点的第一网络地址,再根据第一网络地址向中转节点130发送第一备份请求。
例如,当用户在终端上选择备份一个文件夹时,发送的数据标识可以为文件夹标识也可以为文件夹下多个文件的标识,得到数据标识后,终端向存储有数据标识与主机IP地址的对应关系以及数据标识与主机区域的对应关系的服务器发送信息获取请求,服务器根据数据标识获取到数据标识对应的第一主机的网络地址以及第一主机所在主机区域标识,然后返回给用户终端中,用户终端将数据标识、第一主机的网络地址以及主机区域标识发送给管理节点120。
在一个实施例中,管理节点120、中转节点130以及存储节点140属于同一个局域网,中转节点130与所对应的各个主机属于另一个局域网,即第一网络地址可以是与管理节点120的网络地址属于同一局域网的IP地址,第二网络地址可以是与中转节点130所对应的主机的IP地址属于同一局域网的IP地址。
在一个实施例中,中转节点与对应的主机是通过套接字(socket)进行通信的,socket方式传输数据时间短,性能高,因此采用socket方式进行通信可以提高数据备份的效率。在一个实施例中,也可以采用HTTP方式进行通信。
备份请求发送节点110、管理节点120、中转节点130以及存储节点140可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群,可以是提供云服务器、云数据库、云存储和CDN等基础云计算服务的云服务器。
如图2所示,在一个实施例中,提出了一种数据处理方法,该数据处理方法可以应用于上述的中转节点130中,中转节点分配有第一网络地址以及第二网络地址,第一网络地址用于与管理节点进行通信,第二网络地址用于与中转节点所对应的主机进行通信,具体可以包括以下步骤:
步骤202,接收管理节点发送的第一数据备份请求,第一数据备份请求中携 带第一数据标识。
具体地,网络地址指互联网上的节点在网络中具有的逻辑地址,可以根据通信的协议确定。例如为IP地址。第一数据标识可以为一个或多个,第一数据标识用于标识需要备份的第一数据,当需要进行数据备份时,用户根据要备份的第一数据选择或者输入对应的第一数据标识,用户终端接收第一数据标识,并发送给管理节点,管理节点向中转节点发送第一数据备份请求时,根据第一网络地址向中转节点发送第一数据备份请求,并在第一数据备份请求中携带第一数据标识。
在一个实施例中,第一数据备份请求中携带第一主机标识,例如,管理节点接收到的数据备份指令中可以携带第一主机标识,管理节点在向中转节点发送第一备份请求时携带第一主机标识。或者管理节点中也可以设置数据标识与主机标识的对应关系,当接收到数据备份指令中携带的第一数据标识后,获取第一数据标识对应的第一主机标识,并在向中转节点发送第一备份请求时携带第一主机标识。
步骤204,获取第一数据标识对应的第一主机标识。
具体地,第一主机标识用于标识第一主机,中转节点可以预先设置数据标识与主机标识的对应关系,当接收到第一备份请求中携带的第一数据标识后,获取第一数据标识对应的第一主机标识。
在一个实施例中,第一数据备请求中携带有第一数据标识以及与第一数据标识对应的第一主机标识,因此,中转节点可以对第一数据备份请求进行解析,得到第一数据标识以及对应的第一主机标识。
步骤206,向第一主机标识对应的第一主机发送第一数据获取请求,第一数据获取请求携带第一数据标识。
具体地,第一主机为中转节点对应的主机中的一个或多个。得到第一主机标识后,向第一主机标识对应的第一主机发送第一数据获取请求,并在第一数据获取请求中携带第一数据标识。
在一个实施例中,中转节点中预先设置了主机标识与主机的网络地址的对应关系。当第一主机标识不是第一主机的网络地址时,根据第一主机标识获取 对应的第一主机对应的网络地址。再根据第一主机对应的网络地址向第一主机发送第一数据获取请求。
在一个实施例中,第一主机标识可以包括第一主机的网络地址。因此,得到第一主机标识后,可以不用再查找第一主机的网络地址,以提高数据备份的速度。
步骤208,接收第一主机根据第一数据标识返回的备份数据,备份数据包括第一数据标识对应的第一数据或者第一数据标识对应的第一数据的更改信息。
具体地,第一数据是指第一数据标识对应的完整的数据,第一数据的更改信息指第一数据中更改过的数据或者根据对第一数据进行更改的的操作记录得到的操作信息,根据该操作信息进行操作可以对备份的数据进行更改,得到与第一主机中更改后的第一数据一致的数据。
步骤210,将备份数据发送到预设的存储节点中,以对第一数据进行备份。
具体地,得到备份数据后,将备份数据发送到预先设置的存储节点中,使存储节点存储该备份数据。
在一个实施例中,第一数据包括对主机进行环境搭建的环境参数,例如防火墙策略参数以及安全网关参数等等,环境参数可以根据具体需求设置,在此不做限定。
上述数据处理方法,通过为各个主机区域配置对应的中转节点,中转节点分配有第一网络地址以及第二网络地址,第一网络地址用于与管理节点进行通信,第二网络地址用于与中转节点所对应的主机区域的各个主机进行通信,因此中转节点可以接收管理节点发送的数据备份请求,获取数据备份请求携带的第一数据标识对应的第一主机标识,进而向第一主机标识对应的第一主机发送第一数据获取请求,接收第一主机发送的第一数据后将第一数据备份到预设的存储节点中。这样,当要将数据存储到另一个主机区域的主机时,该主机区域对应的中转节点可以从预设的存储节点中获取数据,速度快且节约了计算机网络资源。
在一个实施例中,如图3所示,存储节点包括对象存储节点,信息处理方法还可以包括步骤S302:接收管理节点发送的第一用户属性信息。步骤210即 将备份数据发送到预设的存储节点中,以对第一数据进行备份的步骤包括:向存储节点发送数据存储请求,数据存储请求中携带备份数据、第一用户属性信息以及第一数据标识,以使存储节点根据第一用户属性信息以及第一数据标识进行哈希计算得到第一哈希值,并根据第一哈希值存储备份数据。
具体地,对象存储是指将数据作为对象进行存储,对象标识用于描述对象的属性,当访问或存储对象时,首先获取对象标识,再根据对象标识访问或者存储对象。第一用户属性信息包括用户名,在一些实施例中还可以包括用户密码以及用户权限等信息中的至少一个。第一用户属性信息可以是管理节点的用户属性信息也可以是备份请求发送节点的用户属性信息。第一用户属性信息可以是在第一备份请求中携带的。也可以是在接收第一备份请求之前接收的,接收到第一用户属性信息后,中转节点可以存储第一用户属性信息。当然,也可以在接收到第一备份请求后,再接收管理节点发送的第一用户属性信息。
哈希计算为把任意长度的输入通过散列算法变换成一定长度的输出的计算方法,散列算法可以为MD5(Message-digest Algorithm5,信息摘要算法5)算法和SHA(Secure Hash Standard、安全哈希标准)算法等,具体不做限制。当进行哈希计算时,会获得一个哈希值,存储节点根据该哈希值存储数据。
由于在进行存储时向存储节点发送的是管理节点发送的用户属性信息,因此,若要将存储的数据还原到其他主机时,即使对应的还原中转节点与将数据备份到存储节点的备份中转节点不一样了,还原中转节点也可以通过接收管理节点发送的第一用户属性信息,并向存储节点发送第一用户属性信息以及第一数据标识获取第一数据,使存储节点根据第一用户属性信息以及第一数据标识进行哈希计算得到第一数据,并将第一数据返回到对应的还原中转节点中。因此可以方便地将数据还原到其他区域的主机上。
需要说明的是,在本申请实施例中,还原不仅可以指将备份的数据返回到原来备份的主机中,还可以指将备份的数据发送到其他主机中。
在一个实施例中,如图4,存储节点包括对象存储节点,数据处理方法还可以包括以下步骤:
步骤S402,接收管理节点发送的第二用户属性信息。
具体地,第二用户属性信息可以是管理节点的用户属性信息也可以是备份请求发送节点的用户属性信息。
步骤S404,接收管理节点发送的数据还原请求,数据还原请求携带第二数据标识。
具体地,第二数据标识用于标识需要进行还原的第二数据,第二数据标识可以为一个或多个。当要还原数据时,管理节点将数据还原请求发送到中转节点中,中转节点接收数据还原请求。例如,当用户需要将存储到存储节点上的数据还原到中转节点下的某一个主机时,可以向管理节点发送数据还原指令,数据还原指令中携带第二数据标识,管理节点接收到数据还原指令后,向中转节点发送数据还原请求。
在一个实施例中,数据还原请求中还携带有第二主机标识,第二主机标识用于标识要进行数据还原的主机。例如,用户发送的备份指令中可以携带第二主机标识,管理节点接收到第二主机标识后,在数据还原请求中携带第二主机标识。
在一个实施例中,第二用户属性信息可以是在数据还原请求中携带的,也可以是在接收数据还原请求之前接收的,接收到第二用户属性信息后,将第二用户属性信息存储在中转节点中。当然,也可以在接收到数据还原请求后,再接收管理节点发送的第二用户属性信息。
步骤S406,获取第二数据标识对应的第二主机标识。
具体地,第二主机标识可以为一个或多个,中转节点可以预先设置数据标识与主机标识的对应关系,当接收到数据还原请求中携带的第二数据标识后,获取第二数据标识对应的第二主机标识。
在一个实施例中,数据还原请求中携带有第二数据标识以及与第二数据标识对应的第二主机标识,因此,可以对数据还原请求进行解析,得到第二数据标识以及对应的第二主机标识。
步骤S408,向存储节点发送第二数据获取请求,第二数据获取请求中携带第二数据标识以及第二用户属性信息,以使存储节点根据第二用户属性信息以及第二数据标识进行哈希计算得到第二哈希值,并根据第二哈希值获取第二数 据标识对应的第二数据。
具体地,第二数据是已经存储在存储节点的,对数据进行备份的中转节点将第二数据备份到存储系统时,向存储节点发送第二用户属性信息以及第二数据标识,使存储节点根据第二用户属性信息以及第二数据标识进行哈希计算,得到第二哈希值,存储节点根据第二哈希值存储第二数据。因此,要对第二数据进行还原时,在第二数据获取请求中携带第二数据标识以及第二用户属性信息,使得存储节点根据第二数据标识以及第二用户属性信息计算得到与备份时一致的第二哈希值,并根据第二哈希值得到对应的第二数据。可以理解,进行数据备份的中转节点与进行数据还原的中转节点可以相同也可以不相同。
步骤S410,接收存储节点返回的第二数据,并将第二数据发送到第二主机标识对应的第二主机。
具体地,存储节点获取到第二数据后,将第二数据返回至中转节点,中转节点接收第二数据,然后将第二数据发送到第二主机标识对应的第二主机,以在第二主机上还原第二数据。
在一个实施例中,第二数据包括对主机进行环境搭建的环境参数,例如防火墙策略参数以及安全网关参数等等,环境参数可以根据具体需求设置,在此不做限定。通过将环境参数还原到第二主机中,可以达到对主机进行快速搭建相同环境或者恢复环境数据的目的。
在一个实施例中,如图5所示,中转节点上创建有第一虚拟机以及第二虚拟机,信息处理方法还包括:
步骤S502,接收虚拟机网络地址配置请求,网络地址配置请求携带第一网络地址以及第二网络地址。
具体地,虚拟机是通过软件模拟出来的,具有完整硬件系统功能且运行在隔离环境中的计算机系统。第一网络地址用于与管理节点进行通信,第二网络地址用于与中转节点所对应的主机区域上的主机进行通信。第一网络地址与第二网络地址是不同的,在一个实施例中,第一网络地址可以是与管理节点的网络地址属于同一局域网的IP地址,第二网络地址可以是与对应的主机属于同一局域网的IP地址。
步骤S504,为第一虚拟机分配第一网络地址,以及为第二虚拟机分配第二网络地址。
具体地,获取到第一网络地址和第二网络地址之后,将第一网络地址分配给第一虚拟机以及将第二网络地址分配给第二虚拟机,使得管理节点可以根据第一网络地址与中转节点进行通信,以及利用第二网络地址与主机进行通信,例如接收管理节点发送的第一数据备份请求,然后向第一主机发送第一数据获取请求。
如图6所示,在一个实施例中,提供了一种数据处理装置,该数据处理装置可以集成于上述的中转节点130中,中转节点分配有第一网络地址以及第二网络地址,第一网络地址用于与管理节点进行通信,第二网络地址用于与中转节点所对应的主机进行通信,具体可以包括:
第一备份请求接收模块602,用于接收管理节点发送的第一数据备份请求,第一数据备份请求中携带第一数据标识。
第一标识获取模块604,用于获取第一数据标识对应的第一主机标识。
在一个实施例中,第一备份请求携带第一主机标识以及第一数据标识,第一标识获取模块604用于:对第一数据备份请求进行解析,得到第一数据标识以及第一主机标识。
第一获取请求发送模块606,用于向第一主机标识对应的第一主机发送第一数据获取请求,第一数据获取请求携带第一数据标识。
数据接收模块608,用于接收第一主机根据第一数据标识返回的备份数据,备份数据包括第一数据标识对应的第一数据或者第一数据标识对应的第一数据的更改信息。
备份模块610,用于将备份数据发送到预设的存储节点中,以对第一数据进行备份。
在一个实施例中,如图7所示,存储节点包括存储节点,装置还包括:第一属性信息获取模块702,用于接收管理节点发送的第一用户属性信息。
备份模块610用于:向存储节点发送数据存储请求,数据存储请求中携带备份数据、第一用户属性信息以及第一数据标识,以使存储节点根据第一用户 属性信息以及第一数据标识进行哈希计算得到第一哈希值,并根据第一哈希值存储备份数据。
在一个实施例中,如图8所示,存储节点包括对象存储节点,装置还包括:
第一属性信息获取模块802,用于接收管理节点发送的第二用户属性信息。
还原请求接收模块804,用于接收管理节点发送的数据还原请求,数据还原请求携带第二数据标识。
第二标识获取模块806,用于获取第二数据标识对应的第二主机标识。
第二获取请求发送模块808,用于向存储节点发送第二数据获取请求,第二数据获取请求中携带第二数据标识以及第二用户属性信息,以使存储节点根据第二用户属性信息以及第二数据标识进行哈希计算得到第二哈希值,并根据第二哈希值获取第二数据标识对应的第二数据。
数据还原模块810,用于接收存储节点返回的第二数据,并将第二数据发送到第二主机标识对应的第二主机中,以还原第二数据。
在一个实施例中,如图9所示,中转节点上创建有第一虚拟机以及第二虚拟机,装置还包括:
配置请求接收模块902,用于接收虚拟机网络地址配置请求,网络地址配置请求携带第一网络地址以及第二网络地址。
分配模块904,用于为第一虚拟机分配第一网络地址,以及为第二虚拟机分配第二网络地址。
在一个实施例中,如图10所示,还提供了一种数据处理系统,数据备份包括:
管理节点120,管理节点用于:接收第二数据备份请求,第二数据备份请求第一数据标识,获取存储第一数据标识,获取第一数据标识所对应的中转节点,向中转节点发送第一数据备份请求,第一数据数据备份请求携带第一数据标识。
中转节点130,中转节点分配有第一网络地址以及第二网络地址,第一网络地址用于与管理节点进行通信,第二网络地址用于与中转节点所对应的主机进行通信,中转节点用于执行上述实施例提供的数据处理方法的步骤。中转节点可以为一个或多个。
如图11所示,为一个实施例中计算机设备的内部结构图,该计算机设备可以为上述的中转节点,该计算机设备通过系统连接总线连接处理器、非易失性存储介质、内存储器和网络接口。其中,该计算机设备的非易失性存储介质可存储操作系统和计算机可读指令,该计算机可读指令被执行时,可使得处理器执行一种数据处理方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该内存储器中可储存有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种数据处理方法。计算机设备的网络接口用于进行网络通信,如数据备份请求等。本领域技术人员可以理解,图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
上述数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。其中,网络接口可以是以太网卡或无线网卡等。上述各模块可以硬件形式内嵌于或独立于服务器中的处理器中,也可以以软件形式存储于服务器中的存储器中,以便于处理器调用执行以上各个模块对应的操作。该处理器可以为中央处理单元(CPU)、微处理器、单片机等。
在一个实施例中,本申请提供的数据处理装置可以实现为一种计算机可读指令的形式,计算机可读指令可在如图11所示的计算机设备上运行,计算机设备的非易失性存储介质可存储组成该数据处理装置的各个程序模块,比如图6中的第一备份请求接收模块602、第一标识获取模块604、第一获取请求发送模块606、数据接收模块608和备份模块610。各个程序模块中包括计算机可读指令,计算机可读指令用于使计算机设备执行本说明书中描述的本申请各个实施例的数据处理方法中的步骤,例如,计算机设备可以通过如图6所示的第一备份请求接收模块602,用于接收管理节点发送的第一数据备份请求,第一数据备份请求中携带第一数据标识。通过第一标识获取模块604获取第一数据标识对应的第一主机标识。通过第一获取请求发送模块606向第一主机标识对应的第一主机发送第一数据获取请求,第一数据获取请求携带第一数据标识。通过数据接收模块608接收第一主机根据第一数据标识返回的备份数据,备份数据包括第一数据标 识对应的第一数据或者第一数据标识对应的第一数据的更改信息。通过备份模块610将备份数据发送到预设的存储节点中,以对第一数据进行备份。
在一个实施例中,提出了一种计算机设备,该计算机设备可以为上述的中转节点,所述中转节点分配有第一网络地址以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络地址用于与所述中转节点所对应的主机进行通信,所述计算机设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现以下步骤:接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;获取所述第一数据标识对应的第一主机标识;向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
在其中一个实施例中,处理器执行计算机可读指令时还执行以下步骤:接收所述管理节点发送的第一用户属性信息;所述将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份的步骤包括:向所述存储节点发送数据存储请求,所述数据存储请求中携带所述备份数据、所述第一用户属性信息以及所述第一数据标识,以使所述存储节点根据所述第一用户属性信息以及所述第一数据标识进行哈希计算得到第一哈希值,并根据所述第一哈希值存储所述备份数据。
在其中一个实施例中,处理器执行计算机可读指令时还执行以下步骤:接收所述管理节点发送的第二用户属性信息;接收所述管理节点发送的数据还原请求,所述数据还原请求携带第二数据标识;获取所述第二数据标识对应的第二主机标识;向所述存储节点发送第二数据获取请求,所述第二数据获取请求中携带所述第二数据标识以及所述第二用户属性信息,以使所述存储节点根据所述第二用户属性信息以及所述第二数据标识进行哈希计算得到第二哈希值, 并根据所述第二哈希值获取所述第二数据标识对应的第二数据;接收所述存储节点返回的所述第二数据,并将所述第二数据发送到所述第二主机标识对应的第二主机中。
在其中一个实施例中,所述中转节点上创建有第一虚拟机以及第二虚拟机,处理器执行计算机可读指令时还执行以下步骤:接收虚拟机网络地址配置请求,所述网络地址配置请求携带所述第一网络地址以及所述第二网络地址;为所述第一虚拟机分配所述第一网络地址,以及为所述第二虚拟机分配第二网络地址。
在其中一个实施例中,所述第一备份请求携带所述第一主机标识以及所述第一数据标识,所述获取所述第一数据标识对应的第一主机标识的步骤包括:对所述第一数据备份请求进行解析,得到所述第一数据标识以及所述第一主机标识。
在一个实施例中,提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行以下步骤接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;获取所述第一数据标识对应的第一主机标识;向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
在其中一个实施例中,处理器执行计算机可读指令时还执行以下步骤:接收所述管理节点发送的第一用户属性信息;所述将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份的步骤包括:向所述存储节点发送数据存储请求,所述数据存储请求中携带所述备份数据、所述第一用户属性信息以及所述第一数据标识,以使所述存储节点根据所述第一用户属性信息以及所述第一数据标识进行哈希计算得到第一哈希值,并根据所述第一哈希值存储所述备份数据。
在其中一个实施例中,处理器执行计算机可读指令时还执行以下步骤:接收所述管理节点发送的第二用户属性信息;接收所述管理节点发送的数据还原请求,所述数据还原请求携带第二数据标识;获取所述第二数据标识对应的第二主机标识;向所述存储节点发送第二数据获取请求,所述第二数据获取请求中携带所述第二数据标识以及所述第二用户属性信息,以使所述存储节点根据所述第二用户属性信息以及所述第二数据标识进行哈希计算得到第二哈希值,并根据所述第二哈希值获取所述第二数据标识对应的第二数据;接收所述存储节点返回的所述第二数据,并将所述第二数据发送到所述第二主机标识对应的第二主机中。
在其中一个实施例中,所述中转节点上创建有第一虚拟机以及第二虚拟机,处理器执行计算机可读指令时还执行以下步骤:接收虚拟机网络地址配置请求,所述网络地址配置请求携带所述第一网络地址以及所述第二网络地址;为所述第一虚拟机分配所述第一网络地址,以及为所述第二虚拟机分配第二网络地址。
在其中一个实施例中,所述第一备份请求携带所述第一主机标识以及所述第一数据标识,所述获取所述第一数据标识对应的第一主机标识的步骤包括:对所述第一数据备份请求进行解析,得到所述第一数据标识以及所述第一主机标识。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,该计算机可读指令可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和 改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种数据处理方法,应用于中转节点,所述中转节点分配有第一网络地址以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络地址用于与所述中转节点所对应的主机进行通信,包括:
    接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;
    获取所述第一数据标识对应的第一主机标识;
    向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;
    接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;及
    将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收所述管理节点发送的第一用户属性信息;
    所述将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份的步骤包括:
    向所述存储节点发送数据存储请求,所述数据存储请求中携带所述备份数据、所述第一用户属性信息以及所述第一数据标识,以使所述存储节点根据所述第一用户属性信息以及所述第一数据标识进行哈希计算得到第一哈希值,并根据所述第一哈希值存储所述备份数据。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收所述管理节点发送的第二用户属性信息;
    接收所述管理节点发送的数据还原请求,所述数据还原请求携带第二数据标识;
    获取所述第二数据标识对应的第二主机标识;
    向所述存储节点发送第二数据获取请求,所述第二数据获取请求中携带所 述第二数据标识以及所述第二用户属性信息,以使所述存储节点根据所述第二用户属性信息以及所述第二数据标识进行哈希计算得到第二哈希值,并根据所述第二哈希值获取所述第二数据标识对应的第二数据;
    接收所述存储节点返回的所述第二数据,并将所述第二数据发送到所述第二主机标识对应的第二主机中。
  4. 根据权利要求1所述的方法,其特征在于,所述中转节点上创建有第一虚拟机以及第二虚拟机,所述方法还包括:
    接收虚拟机网络地址配置请求,所述网络地址配置请求携带所述第一网络地址以及所述第二网络地址;
    为所述第一虚拟机分配所述第一网络地址,以及为所述第二虚拟机分配第二网络地址。
  5. 根据权利要求1所述的方法,其特征在于,所述第一备份请求携带所述第一主机标识以及所述第一数据标识,所述获取所述第一数据标识对应的第一主机标识的步骤包括:
    对所述第一数据备份请求进行解析,得到所述第一数据标识以及所述第一主机标识。
  6. 一种数据处理装置,应用于中转节点,所述中转节点分配有第一网络地址以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络地址用于与所述中转节点所对应的主机进行通信,包括:
    第一备份请求接收模块,用于接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;
    第一标识获取模块,用于获取所述第一数据标识对应的第一主机标识;
    第一获取请求发送模块,用于向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;
    数据接收模块,用于接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;及
    备份模块,用于将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
  7. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    第一属性信息获取模块,用于接收所述管理节点发送的第一用户属性信息;
    所述备份模块用于:
    向所述存储节点发送数据存储请求,所述数据存储请求中携带所述备份数据、所述第一用户属性信息以及所述第一数据标识,以使所述存储节点根据所述第一用户属性信息以及所述第一数据标识进行哈希计算得到第一哈希值,并根据所述第一哈希值存储所述备份数据。
  8. 根据权利要求6所述的装置,其特征在于,所述装置还包括:
    第一属性信息获取模块,用于接收所述管理节点发送的第二用户属性信息;
    还原请求接收模块,用于接收所述管理节点发送的数据还原请求,所述数据还原请求携带第二数据标识;
    第二标识获取模块,用于获取所述第二数据标识对应的第二主机标识;
    第二获取请求发送模块,用于向所述存储节点发送第二数据获取请求,所述第二数据获取请求中携带所述第二数据标识以及所述第二用户属性信息,以使所述存储节点根据所述第二用户属性信息以及所述第二数据标识进行哈希计算得到第二哈希值,并根据所述第二哈希值获取所述第二数据标识对应的第二数据;
    数据还原模块,用于接收所述存储节点返回的所述第二数据,并将所述第二数据发送到所述第二主机标识对应的第二主机中。
  9. 根据权利要求6所述的装置,其特征在于,所述中转节点上创建有第一虚拟机以及第二虚拟机,所述装置还包括:
    配置请求接收模块,用于接收虚拟机网络地址配置请求,所述网络地址配置请求携带所述第一网络地址以及所述第二网络地址;
    分配模块,用于为所述第一虚拟机分配所述第一网络地址,以及为所述第二虚拟机分配第二网络地址。
  10. 根据权利要求6所述的装置,其特征在于,所述第一备份请求携带所 述第一主机标识以及所述第一数据标识,所述第一标识获取模块用于:
    对所述第一数据备份请求进行解析,得到所述第一数据标识以及所述第一主机标识。
  11. 一种计算机设备,应用于中转节点,所述中转节点分配有第一网络地址以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络地址用于与所述中转节点所对应的主机进行通信,所述计算机设备包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:
    接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携带第一数据标识;
    获取所述第一数据标识对应的第一主机标识;
    向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;
    接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;及
    将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
  12. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还用于实现以下步骤:
    接收所述管理节点发送的第一用户属性信息;
    所述将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份的步骤包括:
    向所述存储节点发送数据存储请求,所述数据存储请求中携带所述备份数据、所述第一用户属性信息以及所述第一数据标识,以使所述存储节点根据所述第一用户属性信息以及所述第一数据标识进行哈希计算得到第一哈希值,并根据所述第一哈希值存储所述备份数据。
  13. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还用于实现以下步骤:
    接收所述管理节点发送的第二用户属性信息;
    接收所述管理节点发送的数据还原请求,所述数据还原请求携带第二数据标识;
    获取所述第二数据标识对应的第二主机标识;
    向所述存储节点发送第二数据获取请求,所述第二数据获取请求中携带所述第二数据标识以及所述第二用户属性信息,以使所述存储节点根据所述第二用户属性信息以及所述第二数据标识进行哈希计算得到第二哈希值,并根据所述第二哈希值获取所述第二数据标识对应的第二数据;
    接收所述存储节点返回的所述第二数据,并将所述第二数据发送到所述第二主机标识对应的第二主机中。
  14. 根据权利要求11所述的计算机设备,其特征在于,所述中转节点上创建有第一虚拟机以及第二虚拟机,所述处理器执行所述计算机可读指令时还用于实现以下步骤:
    接收虚拟机网络地址配置请求,所述网络地址配置请求携带所述第一网络地址以及所述第二网络地址;
    为所述第一虚拟机分配所述第一网络地址,以及为所述第二虚拟机分配第二网络地址。
  15. 根据权利要求11所述的计算机设备,其特征在于,所述第一备份请求携带所述第一主机标识以及所述第一数据标识,所述处理器所执行的所述获取所述第一数据标识对应的第一主机标识的步骤包括:
    对所述第一数据备份请求进行解析,得到所述第一数据标识以及所述第一主机标识。
  16. 一个或多个存储有计算机可读指令的非易失性可读存储介质,应用于中转节点,所述中转节点分配有第一网络地址以及第二网络地址,所述第一网络地址用于与管理节点进行通信,所述第二网络地址用于与所述中转节点所对应的主机进行通信,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    接收所述管理节点发送的第一数据备份请求,所述第一数据备份请求中携 带第一数据标识;
    获取所述第一数据标识对应的第一主机标识;
    向所述第一主机标识对应的第一主机发送第一数据获取请求,所述第一数据获取请求携带所述第一数据标识;
    接收所述第一主机根据所述第一数据标识返回的备份数据,所述备份数据包括所述第一数据标识对应的第一数据或者所述第一数据标识对应的第一数据的更改信息;及
    将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份。
  17. 根据权利要求16所述的存储介质,其特征在于,所述处理器执行所述计算机可读指令时还用于实现以下步骤:
    接收所述管理节点发送的第一用户属性信息;
    所述将所述备份数据发送到预设的存储节点中,以对所述第一数据进行备份的步骤包括:
    向所述存储节点发送数据存储请求,所述数据存储请求中携带所述备份数据、所述第一用户属性信息以及所述第一数据标识,以使所述存储节点根据所述第一用户属性信息以及所述第一数据标识进行哈希计算得到第一哈希值,并根据所述第一哈希值存储所述备份数据。
  18. 根据权利要求16所述的存储介质,其特征在于,所述处理器执行所述计算机可读指令时还用于实现以下步骤:
    接收所述管理节点发送的第二用户属性信息;
    接收所述管理节点发送的数据还原请求,所述数据还原请求携带第二数据标识;
    获取所述第二数据标识对应的第二主机标识;
    向所述存储节点发送第二数据获取请求,所述第二数据获取请求中携带所述第二数据标识以及所述第二用户属性信息,以使所述存储节点根据所述第二用户属性信息以及所述第二数据标识进行哈希计算得到第二哈希值,并根据所述第二哈希值获取所述第二数据标识对应的第二数据;
    接收所述存储节点返回的所述第二数据,并将所述第二数据发送到所述第 二主机标识对应的第二主机中。
  19. 根据权利要求16所述的存储介质,其特征在于,所述中转节点上创建有第一虚拟机以及第二虚拟机,所述处理器执行所述计算机可读指令时还用于实现以下步骤:
    接收虚拟机网络地址配置请求,所述网络地址配置请求携带所述第一网络地址以及所述第二网络地址;
    为所述第一虚拟机分配所述第一网络地址,以及为所述第二虚拟机分配第二网络地址。
  20. 根据权利要求16所述的存储介质,其特征在于,所述第一备份请求携带所述第一主机标识以及所述第一数据标识,所述处理器所执行的所述获取所述第一数据标识对应的第一主机标识的步骤包括:
    对所述第一数据备份请求进行解析,得到所述第一数据标识以及所述第一主机标识。
PCT/CN2017/108291 2017-10-16 2017-10-30 数据处理方法、装置、计算机设备和存储介质 WO2019075773A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710959500.1 2017-10-16
CN201710959500.1A CN107819891B (zh) 2017-10-16 2017-10-16 数据处理方法、装置、计算机设备和存储介质

Publications (1)

Publication Number Publication Date
WO2019075773A1 true WO2019075773A1 (zh) 2019-04-25

Family

ID=61607279

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/108291 WO2019075773A1 (zh) 2017-10-16 2017-10-30 数据处理方法、装置、计算机设备和存储介质

Country Status (2)

Country Link
CN (1) CN107819891B (zh)
WO (1) WO2019075773A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835808A (zh) * 2019-08-01 2020-10-27 北京骑胜科技有限公司 数据存储方法及装置、数据读取方法及装置、存储介质
CN113691520A (zh) * 2021-08-18 2021-11-23 浙江大华技术股份有限公司 获取流媒体信息的方法、装置、存储介质及电子装置

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291000B (zh) * 2018-05-18 2023-11-03 腾讯科技(深圳)有限公司 基于区块链的文件获取方法、设备及存储介质
CN109032837A (zh) * 2018-06-15 2018-12-18 华为技术有限公司 数据备份的方法和装置
CN111352767B (zh) * 2018-12-24 2023-07-18 中国电信股份有限公司 网络功能虚拟化平台资源管理方法、备份平台和系统
CN109885424B (zh) * 2019-01-16 2024-05-31 平安科技(深圳)有限公司 一种数据备份方法、装置及计算机设备
CN109885431B (zh) * 2019-03-06 2022-02-25 北京百度网讯科技有限公司 用于备份数据的方法和装置
CN111274066B (zh) * 2020-02-03 2023-04-07 北京淳中科技股份有限公司 数据备份方法、装置和系统
CN111382012B (zh) * 2020-03-03 2020-12-29 广州鼎甲计算机科技有限公司 MySQL云数据库的备份方法、装置、计算机设备和存储介质
CN113342579A (zh) * 2021-07-05 2021-09-03 湖南快乐阳光互动娱乐传媒有限公司 一种数据还原方法及装置
CN113986620B (zh) * 2021-12-28 2022-04-12 国网浙江省电力有限公司 适用于中台的多区域信息备份验证恢复方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197754A (zh) * 2007-12-27 2008-06-11 腾讯科技(深圳)有限公司 分布式系统、分布式业务处理方法及相关装置
CN102571968A (zh) * 2012-01-17 2012-07-11 华中科技大学 云备份系统中的数据定向转发方法
CN103336730A (zh) * 2013-06-05 2013-10-02 中国人民解放军国防科学技术大学 一种基于云存储的数据备份方法及系统
CN103905526A (zh) * 2014-03-05 2014-07-02 深圳市同洲电子股份有限公司 一种调度方法及服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159943A (zh) * 2015-08-07 2015-12-16 北京思特奇信息技术股份有限公司 一种分布式数据库自动化备份方法及系统
CN107231396B (zh) * 2016-03-25 2021-05-28 阿里巴巴集团控股有限公司 数据操作方法、装置、中转设备及客户端
CN105912422A (zh) * 2016-04-05 2016-08-31 广州杰赛科技股份有限公司 数据备份方法、备份客户端与数据备份系统
CN107094167B (zh) * 2016-12-28 2020-02-04 北京星选科技有限公司 一种数据转存方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197754A (zh) * 2007-12-27 2008-06-11 腾讯科技(深圳)有限公司 分布式系统、分布式业务处理方法及相关装置
CN102571968A (zh) * 2012-01-17 2012-07-11 华中科技大学 云备份系统中的数据定向转发方法
CN103336730A (zh) * 2013-06-05 2013-10-02 中国人民解放军国防科学技术大学 一种基于云存储的数据备份方法及系统
CN103905526A (zh) * 2014-03-05 2014-07-02 深圳市同洲电子股份有限公司 一种调度方法及服务器

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835808A (zh) * 2019-08-01 2020-10-27 北京骑胜科技有限公司 数据存储方法及装置、数据读取方法及装置、存储介质
CN111835808B (zh) * 2019-08-01 2023-11-14 北京骑胜科技有限公司 数据存储方法及装置、数据读取方法及装置、存储介质
CN113691520A (zh) * 2021-08-18 2021-11-23 浙江大华技术股份有限公司 获取流媒体信息的方法、装置、存储介质及电子装置

Also Published As

Publication number Publication date
CN107819891A (zh) 2018-03-20
CN107819891B (zh) 2020-01-24

Similar Documents

Publication Publication Date Title
WO2019075773A1 (zh) 数据处理方法、装置、计算机设备和存储介质
US11095711B2 (en) DNS Resolution of internal tenant-specific domain addresses in a multi-tenant computing environment
US10320674B2 (en) Independent network interfaces for virtual network environments
CN108093094B (zh) 数据库实例访问方法、装置、系统、存储介质和设备
WO2016155394A1 (zh) 一种虚拟网络功能间链路建立方法及装置
WO2019184164A1 (zh) 自动部署Kubernetes从节点的方法、装置、终端设备及可读存储介质
US20200186600A1 (en) Mirroring network traffic of virtual networks at a service provider network
CN111277432B (zh) 配置信息更新方法、装置、电子设备及存储介质
RU2683630C2 (ru) Способ обновления дескриптора сетевой службы nsd и устройство
US10038665B2 (en) Reducing broadcast flooding in a software defined network of a cloud
US11368407B2 (en) Failover management using availability groups
US10673694B2 (en) Private network mirroring
US10547590B1 (en) Network processing using asynchronous functions
WO2017185992A1 (zh) 一种请求消息传输方法及装置
CN112929225B (zh) 会话异常处理方法、装置、计算机设备和存储介质
CN106648838B (zh) 一种资源池管理的配置方法及装置
CN114650281B (zh) 基于复杂网络的文件下载方法、装置、设备及存储介质
CN112035062B (zh) 云计算的本地存储的迁移方法、计算机设备及存储介质
US11818101B2 (en) Context-based path selection for VPN clients to facilitate remote access to network-based applications
US9847927B2 (en) Information processing device, method, and medium
EP3276914A1 (en) Data sharing method and device for virtual desktop
US9912729B2 (en) Encapsulation scheme for cloud computing environment
WO2017049959A1 (zh) 一种业务处理方法及设备
WO2015117380A1 (zh) 一种远程桌面协议网关进行路由交换的方法、设备及系统
CN106506247B (zh) 虚拟网络创建方法和装置

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: 17929416

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13.10.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17929416

Country of ref document: EP

Kind code of ref document: A1