CN107102918B - A data processing method and device - Google Patents
A data processing method and device Download PDFInfo
- Publication number
- CN107102918B CN107102918B CN201710386160.8A CN201710386160A CN107102918B CN 107102918 B CN107102918 B CN 107102918B CN 201710386160 A CN201710386160 A CN 201710386160A CN 107102918 B CN107102918 B CN 107102918B
- Authority
- CN
- China
- Prior art keywords
- node
- data
- storage unit
- destination
- data stream
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000010586 diagram Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2053—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2056—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
- G06F11/2064—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring while ensuring consistency
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2053—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2056—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
- G06F11/2069—Management of state, configuration or failover
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
技术领域technical field
本发明涉及数据处理技术领域,更具体的说是涉及一种数据处理方法和装置。The present invention relates to the technical field of data processing, and more particularly to a data processing method and device.
背景技术Background technique
现有的存储系统大多数为双节点存储系统,在一个节点出现故障时,可以使用另一个节点来缓存数据,从而保证业务的正常进行。Most of the existing storage systems are dual-node storage systems. When one node fails, another node can be used to cache data to ensure normal business operations.
近年来,为了进一步提高数据缓存的安全性,在双节点存储系统的基础上,提出了多节点存储系统,多节点存储系统仍沿用双节点方式来进行数据的缓存。具体的,针对某一数据进行缓存时,该数据的数据流会被转发到任一节点上,从而出现数据不一致的技术问题。In recent years, in order to further improve the security of data caching, a multi-node storage system is proposed based on the dual-node storage system. The multi-node storage system still uses the dual-node method for data caching. Specifically, when a certain data is cached, the data stream of the data will be forwarded to any node, thereby causing a technical problem of data inconsistency.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供一种数据处理方法和装置,以解决现有技术中数据不一致的技术问题。In view of this, the present invention provides a data processing method and device to solve the technical problem of data inconsistency in the prior art.
为实现上述目的,本发明提供如下技术方案:To achieve the above object, the present invention provides the following technical solutions:
一种数据处理方法,包括:A data processing method comprising:
当第一数据的数据流到达转发层后,判断本节点是否为所述第一数据的数据流的目的节点;所述目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点;其中,所述第一存储单元为所述第一数据的写入单元;After the data stream of the first data reaches the forwarding layer, determine whether the node is the destination node of the data stream of the first data; the destination node includes the node to which the first storage unit belongs and the node to which the first storage unit belongs. A cooperative node; wherein, the first storage unit is a writing unit of the first data;
如果否,确定所述第一数据的数据流的目的节点,将所述第一数据的数据流转发至所述目的节点,由所述目的节点将所述第一数据的数据流发送到缓存层;If not, determine the destination node of the data stream of the first data, forward the data stream of the first data to the destination node, and the destination node will send the data stream of the first data to the cache layer ;
如果是,将所述第一数据的数据流发送到缓存层。If so, the data stream of the first data is sent to the cache layer.
优选的,所述判断本节点是否为所述第一数据的数据流的目的节点之前,还包括:Preferably, before the judging whether the current node is the destination node of the data stream of the first data, the method further includes:
判断本节点是否为第一存储单元所属节点组中的节点;Determine whether the current node is a node in the node group to which the first storage unit belongs;
如果是,触发所述判断本节点是否为所述第一数据的数据流的目的节点的步骤;If so, trigger the step of judging whether the current node is the destination node of the data stream of the first data;
如果否,触发所述确定所述第一数据流的目的节点的步骤。If not, triggering the step of determining the destination node of the first data stream.
优选的,所述将所述第一数据的数据流发送到缓存层之后,还包括:Preferably, after the data stream of the first data is sent to the cache layer, the method further includes:
当本节点为所述第一存储单元的所属节点时,将所述第一数据镜像到所述所属节点的合作节点;When the current node is the subordinate node of the first storage unit, mirroring the first data to the cooperative node of the subordinate node;
当本节点为所述第一存储单元的所属节点的合作节点时,将所述第一数据镜像到本节点的前置节点;When the current node is a cooperative node of the node to which the first storage unit belongs, mirroring the first data to the preceding node of the current node;
其中,所述本节点的前置节点为所述第一存储单元的所属节点。Wherein, the front node of the current node is the node to which the first storage unit belongs.
优选的,所述确定所述第一数据流的目的节点包括:Preferably, the determining the destination node of the first data stream includes:
从所述所属节点和所述所属节点的合作节点中选取数据处理能力大的节点为目的节点。A node with a large data processing capability is selected from the affiliated node and the cooperative nodes of the affiliated node as the destination node.
优选的,所述从所述所属节点和所述所属节点的合作节点中选取数据处理能力大的节点为目的节点,包括:Preferably, selecting the node with large data processing capability from the affiliated node and the cooperative node of the affiliated node as the destination node, including:
从所述所属节点和所述所属节点的合作节点中确定上一次进行数据处理的节点;Determine the node that performed data processing last time from the affiliated node and the cooperative nodes of the affiliated node;
确定除所述上一次进行数据处理的节点的另一节点为目的节点。Another node other than the node that performed data processing last time is determined as the destination node.
一种数据处理装置,包括:A data processing device, comprising:
第一判断单元,用于当第一数据的数据流到达转发层后,判断本节点是否为所述第一数据的数据流的目的节点;所述目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点;其中,所述第一存储单元为所述第一数据的写入单元;The first judgment unit is used to judge whether the current node is the destination node of the data flow of the first data after the data flow of the first data reaches the forwarding layer; the destination node includes the node to which the first storage unit belongs and the first data flow. A cooperative node of a node to which a storage unit belongs; wherein the first storage unit is a writing unit of the first data;
确定转发单元,用于当本节点不是所述第一数据的数据流的目的节点时,确定所述第一数据的数据流的目的节点,将所述第一数据的数据流转发至所述目的节点,由所述目的节点将所述第一数据的数据流发送到缓存层;determining a forwarding unit, configured to determine the destination node of the data stream of the first data when the current node is not the destination node of the data stream of the first data, and forward the data stream of the first data to the destination node, the destination node sends the data stream of the first data to the cache layer;
第一发送单元,用于当本节点是所述第一数据的数据流的目的节点时,将所述第一数据的数据流发送到缓存层。A first sending unit, configured to send the data stream of the first data to the cache layer when the local node is the destination node of the data stream of the first data.
优选的,还包括:Preferably, it also includes:
第二判断单元,用于当第一数据的数据流到达转发层后,判断本节点是否为第一存储单元所属节点组中的节点;a second judging unit, configured to judge whether the current node is a node in the node group to which the first storage unit belongs after the data stream of the first data reaches the forwarding layer;
第一触发单元,用于当本节点为第一存储单元所属节点组中的节点时,触发所述第一判断单元执行判断本节点是否为所述第一数据的数据流的目的节点的操作;a first triggering unit, configured to trigger the first judgment unit to perform an operation of judging whether the current node is the destination node of the data stream of the first data when the current node is a node in the node group to which the first storage unit belongs;
第二触发单元,用于当本节点不是第一存储单元所属节点组中的节点时,触发所述确定转发单元执行确定所述第一数据流的目的节点的操作。The second triggering unit is configured to trigger the determining and forwarding unit to perform an operation of determining the destination node of the first data stream when the current node is not a node in the node group to which the first storage unit belongs.
优选的,还包括:Preferably, it also includes:
第一镜像单元,用于当本节点为所述第一存储单元的所属节点时,将所述第一数据镜像到所述所属节点的合作节点;a first mirroring unit, configured to mirror the first data to a cooperative node of the affiliated node when the current node is the affiliated node of the first storage unit;
第二镜像单元,用于当本节点为所述第一存储单元的所属节点的合作节点时,将所述第一数据镜像到本节点的前置节点;a second mirroring unit, configured to mirror the first data to the preceding node of the node when the node is a cooperative node of the node to which the first storage unit belongs;
其中,所述本节点的前置节点为所述第一存储单元的所属节点。Wherein, the front node of the current node is the node to which the first storage unit belongs.
优选的,所述确定转发单元包括:Preferably, the determining the forwarding unit includes:
第一确定模块,用于当本节点不是所述第一数据的数据流的目的节点时,从所述所属节点和所述所属节点的合作节点中选取数据处理能力大的节点为目的节点;a first determining module, configured to select a node with a large data processing capability from the affiliated node and the cooperative node of the affiliated node as the destination node when the current node is not the destination node of the data stream of the first data;
第一转发模块,用于将所述第一数据的数据流转发至所述目的节点,由所述目的节点将所述第一数据的数据流发送到缓存层。The first forwarding module is configured to forward the data stream of the first data to the destination node, and the destination node sends the data stream of the first data to the cache layer.
优选的,所述第一确定模块具体用于从所述所属节点和所述所属节点的合作节点中确定上一次进行数据处理的节点,从而确定除所述上一次进行数据处理的节点的另一节点为目的节点。Preferably, the first determining module is specifically configured to determine the node that performed data processing last time from the affiliated node and the cooperative nodes of the affiliated node, so as to determine another node other than the node that performed data processing last time node is the destination node.
经由上述的技术方案可知,与现有技术相比,本发明公开提供了一种数据处理方法,具体的,当第一数据的数据流到达转发层后,判断本节点是否为第一数据的数据流的目的节点,目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点;其中,所第一存储单元为所述第一数据的写入单元;如果否,则确定出第一数据的数据流的目的节点,将第一数据的数据流转发至目的节点,最终由目的节点将第一数据的数据流发送到缓存层。由此可见,本申请中的第一数据的数据流会转发到目的节点上,由目的节点缓存到缓存层,保证了数据的一致性。It can be seen from the above technical solutions that, compared with the prior art, the present invention provides a data processing method. Specifically, after the data stream of the first data reaches the forwarding layer, it is determined whether the node is the data of the first data. The destination node of the flow, the destination node includes the node to which the first storage unit belongs and the cooperative node of the node to which the first storage unit belongs; wherein, the first storage unit is the writing unit of the first data; if not, determine The destination node that outputs the data stream of the first data, forwards the data stream of the first data to the destination node, and finally the destination node sends the data stream of the first data to the cache layer. It can be seen that the data stream of the first data in the present application will be forwarded to the destination node, and the destination node will cache it to the cache layer, which ensures the consistency of the data.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative work.
图1为本发明公开的一种多节点存储系统的结构示意图;FIG. 1 is a schematic structural diagram of a multi-node storage system disclosed in the present invention;
图2为本发明实施例一公开的一种数据处理方法的流程示意图;2 is a schematic flowchart of a data processing method disclosed in Embodiment 1 of the present invention;
图3为本发明实施例二公开的一种数据处理方法的流程示意图;3 is a schematic flowchart of a data processing method disclosed in Embodiment 2 of the present invention;
图4为本发明实施例三公开的一种数据处理方法的流程示意图;4 is a schematic flowchart of a data processing method disclosed in Embodiment 3 of the present invention;
图5为本发明实施例四公开的一种数据处理装置的结构示意图;5 is a schematic structural diagram of a data processing apparatus disclosed in Embodiment 4 of the present invention;
图6为本发明实施例五公开的一种数据处理装置的结构示意图;6 is a schematic structural diagram of a data processing apparatus disclosed in Embodiment 5 of the present invention;
图7为本发明实施例六公开的一种数据处理装置的结构示意图。FIG. 7 is a schematic structural diagram of a data processing apparatus disclosed in Embodiment 6 of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
实施例一Example 1
本发明实施一公开了一种数据处理方法,该数据处理方法应用于多节点存储系统中,具体的,图1示出了本发明公开的一种多节点存储系统的结构示意图,如图1所示,客户端Host与N个节点相连,N个节点组成一个节点组,其中,一个节点为与其相邻的前一个节点的合作节点,为与其相邻的后一个节点的前置节点。也就是说,两个相邻的节点之间是单方合作关系,并不是互为合作关系。即,Node1为Node0的合作节点,为Node2的前置节点;Node2为Node1的合作节点,为Node3的前置节点,…以此类推。Embodiment 1 of the present invention discloses a data processing method, which is applied to a multi-node storage system. Specifically, FIG. 1 shows a schematic structural diagram of a multi-node storage system disclosed in the present invention, as shown in FIG. 1 . As shown, the client Host is connected to N nodes, and the N nodes form a node group, wherein one node is the cooperative node of the previous node adjacent to it, and the predecessor node of the next node adjacent to it. That is to say, there is a unilateral cooperative relationship between two adjacent nodes, not a mutual cooperative relationship. That is, Node1 is the cooperative node of Node0, and is the pre-node of Node2; Node2 is the cooperative node of Node1, and is the pre-node of Node3, and so on.
需说明的是,多节点存储系统包括至少一个节点组,图1以客户端对应一个节点组为例,当然客户端可以对应多个节点组,本发明对此并不做限定。而每个节点组包括至少两个节点。It should be noted that the multi-node storage system includes at least one node group, and FIG. 1 takes the client corresponding to one node group as an example. Of course, the client may correspond to multiple node groups, which is not limited in the present invention. And each node group includes at least two nodes.
图2示出了一种数据处理方法的流程示意图,如图2所示,该方法包括以下步骤:Figure 2 shows a schematic flowchart of a data processing method, as shown in Figure 2, the method includes the following steps:
步骤201:当第一数据的数据流到达转发层后,判断本节点是否为第一数据的数据流的目的节点;若否,进入步骤202;若是,进入步骤203;Step 201: when the data stream of the first data reaches the forwarding layer, determine whether the current node is the destination node of the data stream of the first data; if not, go to step 202; if so, go to step 203;
本节点指代为其转发层上接收到第一数据的数据流的节点。The present node refers to the node that receives the data stream of the first data on its forwarding layer.
其中,目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点。The destination node includes a node to which the first storage unit belongs and a cooperative node of the node to which the first storage unit belongs.
第一存储单元为第一数据的写入单元,具体的,第一存储单元为LUN(LogicalUnit Number,逻辑单元号),一个LUN可以由一块磁盘构成,也可以由几块磁盘构成,还可以由一块磁盘上的部分空间构成等等。The first storage unit is a writing unit of the first data. Specifically, the first storage unit is a LUN (Logical Unit Number, logical unit number). A LUN may be composed of one disk, several disks, or may be composed of Partial space composition on a disk, etc.
第一存储单元的所属节点为拥有该第一存储单元的节点,该节点为第一存储单元的指定节点,用于将需要写入第一存储单元的数据写入到第一存储单元中。第一存储单元的所属节点的合作节点为与第一存储单元的所属节点相邻的节点,由前文关于多节点存储系统的描述可知,第一存储单元的所属节点和所属节点的合作节点之间为单方向合作关系,第一存储单元的所属节点为第一存储单元的所属节点的合作节点的前置节点。The node to which the first storage unit belongs is a node that owns the first storage unit, and the node is a designated node of the first storage unit, and is used for writing data to be written into the first storage unit into the first storage unit. The cooperative node of the node to which the first storage unit belongs is a node adjacent to the node to which the first storage unit belongs. From the foregoing description of the multi-node storage system, it can be known that there is a relationship between the node to which the first storage unit belongs and the cooperative node of the node to which it belongs. In a unidirectional cooperative relationship, the node to which the first storage unit belongs is a preceding node of the cooperative node of the node to which the first storage unit belongs.
当客户端下发的第一数据的数据流到达某一节点的转发层后,该节点会判断本节点是否为第一数据的数据流的目的节点。After the data stream of the first data delivered by the client reaches the forwarding layer of a node, the node will determine whether the node is the destination node of the data stream of the first data.
具体的,多节点存储系统中每一节点上存储有本节点的节点索引以及所有节点的位图信息,因此,基于本节点的节点索引以及所有节点的位图信息能够判断出本节点是否为第一数据的数据流的目的节点。例如,位图信息为32位的整型值,即针对节点0-31。本节点的节点索引为第N位,那么,如果位图信息的第N位置1则表示节点N上接收到的第一存储单元的数据流需要转发,即节点N不是第一数据的数据流的目的节点,如果位图信息的第N为置0则表示节点N上接收到的第一存储单元的数据流不需要转发,即节点N是第一数据的数据流的目的节点。也就是说,位图信息中除了第一数据的数据流所属的第一存储单元的所属节点的位以及合作节点的位置0外,其余位均置1。Specifically, each node in the multi-node storage system stores the node index of the node and the bitmap information of all nodes. Therefore, based on the node index of the node and the bitmap information of all nodes, it can be determined whether the node is the first node. The destination node of a data stream. For example, the bitmap information is a 32-bit integer value, that is, for nodes 0-31. The node index of this node is the Nth bit, then, if the Nth bit of the bitmap information is 1, it means that the data stream of the first storage unit received on the node N needs to be forwarded, that is, the node N is not the data stream of the first data. For the destination node, if the Nth bit of the bitmap information is set to 0, it means that the data stream of the first storage unit received on node N does not need to be forwarded, that is, node N is the destination node of the data stream of the first data. That is to say, in the bitmap information, except for the bit of the node to which the first storage unit of which the data stream of the first data belongs and the position 0 of the cooperative node, all other bits are set to 1.
步骤202:确定第一数据的数据流的目的节点,将第一数据的数据流转发至目的节点,由目的节点将第一数据的数据流发送至缓存层;Step 202: Determine the destination node of the data stream of the first data, forward the data stream of the first data to the destination node, and the destination node sends the data stream of the first data to the cache layer;
当确定本节点不是第一数据的数据流的目的节点时,则可以从第一存储单元的所属节点和第一存储单元的所属节点的合作节点中选择一个节点作为目的节点,从而将第一数据的数据流转发至目的节点的转发层,由目的节点将第一数据的数据流发送至目的节点的缓存层。When it is determined that the current node is not the destination node of the data stream of the first data, a node may be selected from the node to which the first storage unit belongs and the cooperative node of the node to which the first storage unit belongs, as the destination node, so that the first data The data stream of the first data is forwarded to the forwarding layer of the destination node, and the destination node sends the data stream of the first data to the cache layer of the destination node.
步骤203:将第一数据的数据流发送到缓存层。Step 203: Send the data stream of the first data to the cache layer.
当确定本节点是第一数据的数据流的目的节点时,则直接由本节点将第一数据的数据流发送到本节点的缓存层。需说明的是,在第一节点的转发层和缓存层之间可能还具有其他数据处理层,但是,该第一数据的数据流最终会被发送到缓存层中,即将第一数据的数据流发送到缓存层并不一定指代为由转发层直接下发到缓存层,而可以指代为由转发层下发到其他数据处理层经过数据处理后最终发送到缓存层。When it is determined that the node is the destination node of the data stream of the first data, the data stream of the first data is directly sent by the node to the cache layer of the node. It should be noted that there may be other data processing layers between the forwarding layer and the cache layer of the first node, but the data stream of the first data will eventually be sent to the cache layer, that is, the data stream of the first data Sending to the cache layer does not necessarily mean that it is directly delivered to the cache layer by the forwarding layer, but can refer to being sent by the forwarding layer to other data processing layers and finally sent to the cache layer after data processing.
在本实施例中,当第一数据的数据流到达转发层后,判断本节点是否为第一数据的数据流的目的节点,目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点;其中,所第一存储单元为所述第一数据的写入单元;如果否,则确定出第一数据的数据流的目的节点,将第一数据的数据流转发至目的节点,最终由目的节点将第一数据的数据流发送到缓存层。由此可见,本申请中的第一数据的数据流会转发到目的节点上,由目的节点缓存到缓存层,保证了数据的一致性。In this embodiment, after the data stream of the first data reaches the forwarding layer, it is determined whether the current node is the destination node of the data stream of the first data, and the destination node includes the node to which the first storage unit belongs and the node to which the first storage unit belongs. The cooperative node of the node; wherein, the first storage unit is the writing unit of the first data; if not, the destination node of the data stream of the first data is determined, and the data stream of the first data is forwarded to the destination node , and finally the destination node sends the data stream of the first data to the cache layer. It can be seen that the data stream of the first data in the present application will be forwarded to the destination node, and the destination node will cache it to the cache layer, which ensures the consistency of the data.
实施例二Embodiment 2
本发明实施例二还公开了一种数据处理方法,如图3所示,该方法包括以下步骤:The second embodiment of the present invention also discloses a data processing method, as shown in FIG. 3 , the method includes the following steps:
步骤301:当第一数据的数据流到达转发层后,判断本节点是否为第一存储单元所属节点组中的节点;若是,进入步骤302;若否,进入步骤303;Step 301: when the data stream of the first data reaches the forwarding layer, determine whether the current node is a node in the node group to which the first storage unit belongs; if so, go to step 302; if not, go to step 303;
第一存储单元为第一数据的写入单元,具有拥有该第一存储单元的所属节点。在多节点存储系统中,每一节点均属于一个节点组,相应的,第一存储单元所属节点组为具有第一存储单元的所属节点的节点组。The first storage unit is a writing unit of the first data, and has a node to which the first storage unit belongs. In a multi-node storage system, each node belongs to a node group. Correspondingly, the node group to which the first storage unit belongs is a node group having the node to which the first storage unit belongs.
具体的,多节点存储系统中每一节点上存储有本节点的节点索引以及所有节点的位图信息,因此,基于本节点的节点索引以及所有节点的位图信息能够判断出本节点是否为第一存储单元所属节点组中的节点。Specifically, each node in the multi-node storage system stores the node index of the node and the bitmap information of all nodes. Therefore, based on the node index of the node and the bitmap information of all nodes, it can be determined whether the node is the first node. A node in a node group to which a storage unit belongs.
步骤302:判断本节点是否为所述第一数据的数据流的目的节点;若否,进入步骤303,若是,进入步骤304;Step 302: determine whether the current node is the destination node of the data stream of the first data; if not, go to step 303, if yes, go to step 304;
步骤303:确定所述第一数据的数据流的目的节点,将所述第一数据的数据流转发至所述目的节点,由所述目的节点将所述第一数据的数据流发送到缓存层;Step 303: Determine the destination node of the data stream of the first data, forward the data stream of the first data to the destination node, and send the data stream of the first data to the cache layer by the destination node ;
作为一种具体的实现方式,确定所述第一数据流的目的节点包括:从所属节点和所属节点的合作节点中选取数据处理能力大的节点为目的节点。As a specific implementation manner, determining the destination node of the first data stream includes: selecting a node with a large data processing capability as the destination node from the affiliated node and the cooperative nodes of the affiliated node.
具体的,从所属节点和所属节点的合作节点中选取数据处理能力大的节点为目的节点,包括:从所属节点和所属节点的合作节点中确定上一次进行数据处理的节点,从而确定除上一次数据处理的节点的另一节点为目的节点。Specifically, selecting a node with a large data processing capability from the affiliated node and the cooperative nodes of the affiliated node as the destination node, including: determining the node that performed data processing last time from the affiliated node and the cooperative nodes of the affiliated node, so as to determine the last node except the last time. Another node of the data processing node is the destination node.
其中,第一存储单元的所属节点和所属节点的合作节点中,确定出上一次进行数据处理的节点,若上一次进行数据处理的节点为第一存储单元的所属节点,那么则确定第一存储单元的所属节点的合作节点为目的节点;若上一次进行数据处理的节点为第一存储单元的所属节点的合作节点,那么则确定第一存储单元的所属节点为目的节点。Wherein, among the node to which the first storage unit belongs and the cooperative node of the node to which it belongs, the node that performs data processing last time is determined, and if the node that performs data processing last time is the node to which the first storage unit belongs, then the first storage unit is determined. The cooperative node of the node to which the unit belongs is the destination node; if the node that performed data processing last time is the cooperative node of the node to which the first storage unit belongs, then the node to which the first storage unit belongs is determined to be the destination node.
步骤304:将所述第一数据的数据流发送到缓存层。Step 304: Send the data stream of the first data to the cache layer.
在本实施例中,当第一数据的数据流到达转发层后,判断本节点是否为第一存储单元所属节点组中的节点,若本节点是第一存储单元所属节点组中的节点,那么则需判断本节点是否为所述第一数据的数据流的目的节点,如果本节点不是第一存储单元所属节点组中的节点,那么则可以直接确定第一数据的数据流的目的节点,从而实现由目的节点将第一数据的数据流发送到的缓存层,保证了数据的一致性。In this embodiment, after the data stream of the first data reaches the forwarding layer, it is determined whether the current node is a node in the node group to which the first storage unit belongs. If the current node is a node in the node group to which the first storage unit belongs, then Then it is necessary to judge whether the current node is the destination node of the data stream of the first data. If the current node is not a node in the node group to which the first storage unit belongs, then the destination node of the data stream of the first data can be directly determined, thereby The cache layer to which the data stream of the first data is sent by the destination node is implemented, and the consistency of the data is ensured.
实施例三Embodiment 3
本发明实施例三还公开了一种数据处理方法,如图4所示,该方法包括以下步骤:The third embodiment of the present invention also discloses a data processing method, as shown in FIG. 4 , the method includes the following steps:
步骤401:当第一数据的数据流到达转发层后,判断本节点是否为第一数据的数据流的目的节点;若否,进入步骤402;若是,进入步骤403;Step 401: when the data stream of the first data reaches the forwarding layer, determine whether the current node is the destination node of the data stream of the first data; if not, go to step 402; if so, go to step 403;
其中,目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点。The destination node includes a node to which the first storage unit belongs and a cooperative node of the node to which the first storage unit belongs.
第一存储单元为第一数据的写入单元。The first storage unit is a writing unit of the first data.
步骤402:确定第一数据的数据流的目的节点,将第一数据的数据流转发至目的节点,由目的节点将第一数据的数据流发送至缓存层;Step 402: Determine the destination node of the data stream of the first data, forward the data stream of the first data to the destination node, and the destination node sends the data stream of the first data to the cache layer;
当确定本节点不是第一数据的数据流的目的节点时,则可以从第一存储单元的所属节点和第一存储单元的所属节点的合作节点中选择一个节点作为目的节点,从而将第一数据的数据流转发至目的节点的转发层,由目的节点将第一数据的数据流发送至目的节点的缓存层。When it is determined that the current node is not the destination node of the data stream of the first data, a node may be selected from the node to which the first storage unit belongs and the cooperative node of the node to which the first storage unit belongs, as the destination node, so that the first data The data stream of the first data is forwarded to the forwarding layer of the destination node, and the destination node sends the data stream of the first data to the cache layer of the destination node.
步骤403:将第一数据的数据流发送到缓存层;Step 403: Send the data stream of the first data to the cache layer;
步骤404:当本节点为第一存储单元的所属节点时,将第一数据镜像到所属节点的合作节点;Step 404: When the current node is a node to which the first storage unit belongs, mirror the first data to a cooperative node of the node to which it belongs;
步骤405:当本节点为第一存储单元的所属节点的合作节点时,将第一数据镜像到本节点的前置节点。Step 405: When the current node is a cooperative node of the node to which the first storage unit belongs, mirror the first data to the preceding node of the current node.
其中,本节点的前置节点为第一存储单元的所属节点。第一存储单元的所属节点和第一存储单元的所属节点的合作节点为两个相邻的节点,且第一存储单元的所属节点为第一存储单元的所属节点的合作节点的前置节点,当本节点为第一存储单元的所属节点的合作节点时,将第一数据镜像到本节点的前置节点后,则相当于将第一数据镜像到第一存储单元的所属节点。Wherein, the front node of this node is the node to which the first storage unit belongs. The node to which the first storage unit belongs and the cooperative node of the node to which the first storage unit belongs are two adjacent nodes, and the node to which the first storage unit belongs is a pre-node of the cooperative node of the node to which the first storage unit belongs, When the current node is a cooperative node of the node to which the first storage unit belongs, after mirroring the first data to the preceding node of the node, it is equivalent to mirroring the first data to the node to which the first storage unit belongs.
在本实施例中,当数据流达到缓存层后,当本节点为所述第一存储单元的所属节点时,将所述第一数据镜像到所述所属节点的合作节点,当本节点为所述第一存储单元的所属节点的合作节点时,将所述第一数据镜像到本节点的前置节点,从而保证当一个节点出现故障时,能够通过另一个节点进行来缓存数据。并且,由于第一数据分别保存在第一存储单元的所属节点以及所属节点的合作节点中,因此能够保证通过第一存储单元的所属节点下发到第一存储单元的数据为最新的数据。In this embodiment, after the data stream reaches the cache layer, when the current node is the node to which the first storage unit belongs, the first data is mirrored to the cooperative node of the node to which it belongs. When the first storage unit is a cooperative node of the node to which the first storage unit belongs, the first data is mirrored to the front node of the node, so as to ensure that when one node fails, the data can be cached by another node. Moreover, since the first data is stored in the node to which the first storage unit belongs and the cooperative node of the node to which it belongs, it can be ensured that the data delivered to the first storage unit through the node to which the first storage unit belongs is the latest data.
与上述一种数据处理方法对应的,本发明还提供了一种数据处理装置,该装置应用于多节点存储系统中。具体的,通过以下实施例进行详细描述:Corresponding to the above-mentioned data processing method, the present invention also provides a data processing apparatus, which is applied in a multi-node storage system. Specifically, it is described in detail by the following examples:
实施例四Embodiment 4
本发明实施例四公开了一种数据处理装置,如图5所示,该装置包括:第一判断单元501、确定转发单元502、第一发送单元503;其中:Embodiment 4 of the present invention discloses a data processing apparatus. As shown in FIG. 5 , the apparatus includes: a
第一判断单元501,用于当第一数据的数据流到达转发层后,判断本节点是否为所述第一数据的数据流的目的节点;The
目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点;其中,第一存储单元为所述第一数据的写入单元。The destination node includes a node to which the first storage unit belongs and a cooperative node of the node to which the first storage unit belongs; wherein the first storage unit is a writing unit of the first data.
第一存储单元的所属节点为拥有该第一存储单元的节点,该节点为第一存储单元的指定节点,用于将需要写入第一存储单元的数据写入到第一存储单元中。第一存储单元的所属节点的合作节点为与第一存储单元的所属节点相邻的节点,由前文关于多节点存储系统的描述可知,第一存储单元的所属节点和所属节点的合作节点之间为单方向合作关系,第一存储单元的所属节点为第一存储单元的所属节点的合作节点的前置节点。The node to which the first storage unit belongs is a node that owns the first storage unit, and the node is a designated node of the first storage unit, and is used for writing data to be written into the first storage unit into the first storage unit. The cooperative node of the node to which the first storage unit belongs is a node adjacent to the node to which the first storage unit belongs. From the foregoing description of the multi-node storage system, it can be known that there is a relationship between the node to which the first storage unit belongs and the cooperative node of the node to which it belongs. In a unidirectional cooperative relationship, the node to which the first storage unit belongs is a predecessor node of the cooperative node of the node to which the first storage unit belongs.
第一判断单元501用于当客户端下发的第一数据的数据流到达某一节点的转发层后,判断本节点是否为第一数据的数据流的目的节点。具体的,多节点存储系统中每一节点上存储有与第一存储单元相关的信息,该信息包含有第一存储单元的所属节点和第一存储单元的所属节点的合作节点,因此第一判断单元基于该信息能够确定出本节点是否为目的节点。The first determining
确定转发单元502,用于当本节点不是所述第一数据的数据流的目的节点时,确定所述第一数据的数据流的目的节点,将所述第一数据的数据流转发至所述目的节点,由所述目的节点将所述第一数据的数据流发送到缓存层;A determining
当确定本节点不是第一数据的数据流的目的节点时,确定转发单元则可以从第一存储单元的所属节点和第一存储单元的所属节点的合作节点中选择一个节点作为目的节点,从而将第一数据的数据流转发至目的节点的转发层,由目的节点将第一数据的数据流发送至目的节点的缓存层。When it is determined that the current node is not the destination node of the data stream of the first data, it is determined that the forwarding unit may select a node from the node to which the first storage unit belongs and the cooperative node of the node to which the first storage unit belongs, as the destination node, so as to transfer the The data stream of the first data is forwarded to the forwarding layer of the destination node, and the destination node sends the data stream of the first data to the cache layer of the destination node.
具体的,作为一种实现方式,确定转发单元502包括:第一确定模块和第一转发模块。其中,第一确定模块,用于当本节点不是所述第一数据的数据流的目的节点时,从所述所属节点和所述所属节点的合作节点中选取数据处理能力大的节点为目的节点;第一转发模块,用于将所述第一数据的数据流转发至所述目的节点,由所述目的节点将所述第一数据的数据流发送到缓存层。Specifically, as an implementation manner, the determining and
其中,第一确定模块具体用于从所述所属节点和所述所属节点的合作节点中确定上一次进行数据处理的节点,从而确定除所述上一次进行数据处理的节点的另一节点为目的节点。也就是说,若上一次进行数据处理的节点为第一存储单元的所属节点,那么第一确定模块则确定第一存储单元的所属节点的合作节点为目的节点;若上一次进行数据处理的节点为第一存储单元的所属节点的合作节点,那么第一确定模块则确定第一存储单元的所属节点为目的节点。Wherein, the first determination module is specifically configured to determine the node that performed data processing last time from the node to which it belongs and its cooperative nodes, so as to determine another node other than the node that performed data processing last time for the purpose of determining node. That is to say, if the node that performed data processing last time is the node to which the first storage unit belongs, then the first determination module determines that the cooperative node of the node to which the first storage unit belongs is the destination node; is a cooperative node of the node to which the first storage unit belongs, then the first determining module determines that the node to which the first storage unit belongs is the destination node.
第一发送单元503,用于当本节点是所述第一数据的数据流的目的节点时,将所述第一数据的数据流发送到缓存层。The
在本实施例中,当第一数据的数据流到达转发层后,判断本节点是否为第一数据的数据流的目的节点,目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点;其中,所第一存储单元为所述第一数据的写入单元;如果否,则确定出第一数据的数据流的目的节点,将第一数据的数据流转发至目的节点,最终由目的节点将第一数据的数据流发送到缓存层。由此可见,本申请中的第一数据的数据流会转发到目的节点上,由目的节点缓存到缓存层,保证了数据的一致性。In this embodiment, after the data stream of the first data reaches the forwarding layer, it is determined whether the current node is the destination node of the data stream of the first data, and the destination node includes the node to which the first storage unit belongs and the node to which the first storage unit belongs. The cooperative node of the node; wherein, the first storage unit is the writing unit of the first data; if not, the destination node of the data stream of the first data is determined, and the data stream of the first data is forwarded to the destination node , and finally the destination node sends the data stream of the first data to the cache layer. It can be seen that the data stream of the first data in the present application will be forwarded to the destination node, and the destination node will cache it to the cache layer, which ensures the consistency of the data.
实施例五Embodiment 5
本发明实施例五公开了一种数据处理装置,如图6所示,该装置包括:第二判断单元601、第一触发单元602、第二触发单元603、第一判断单元604、确定转发单元605、第一发送单元606;其中:Embodiment 5 of the present invention discloses a data processing apparatus. As shown in FIG. 6 , the apparatus includes: a
第二判断单元601,用于当第一数据的数据流到达转发层后,判断本节点是否为第一存储单元所属节点组中的节点;The
第一存储单元为第一数据的写入单元,具有拥有该第一存储单元的所属节点。在多节点存储系统中,每一节点均属于一个节点组,相应的,第一存储单元所属节点组为具有第一存储单元的所属节点的节点组。The first storage unit is a writing unit of the first data, and has a node to which the first storage unit belongs. In a multi-node storage system, each node belongs to a node group. Correspondingly, the node group to which the first storage unit belongs is a node group having the node to which the first storage unit belongs.
具体的,多节点存储系统中每一节点上存储有与第一存储单元相关的信息,该信息包含有第一存储单元的所属节点和第一存储单元的所属节点的合作节点,还包含有第一存储单元所属节点组标识;多节点存储系统中每一节点上还存储有其所属节点组的标识。因此,第二判断单元可以通过判断本节点所属节点组的标识与第一存储单元所属节点组标识是否一致来确定本节点是否为第一存储单元所属节点组中的节点。Specifically, each node in the multi-node storage system stores information related to the first storage unit, the information includes the node to which the first storage unit belongs and the cooperative node of the node to which the first storage unit belongs, and also includes the first storage unit. The identifier of the node group to which a storage unit belongs; each node in the multi-node storage system also stores the identifier of the node group to which it belongs. Therefore, the second judging unit can determine whether the current node is a node in the node group to which the first storage unit belongs by judging whether the identifier of the node group to which the node belongs is consistent with the identifier of the node group to which the first storage unit belongs.
第一触发单元602,用于当本节点为第一存储单元所属节点组中的节点时,触发第一判断单元604执行判断本节点是否为所述第一数据的数据流的目的节点的操作;The first triggering
第二触发单元603,用于当本节点不是第一存储单元所属节点组中的节点时,触发确定转发单元605执行确定第一数据流的目的节点的操作;The second triggering
第一判断单元604,用于判断本节点是否为第一数据的数据流的目的节点;The
目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点;其中,第一存储单元为第一数据的写入单元。The destination node includes a node to which the first storage unit belongs and a cooperative node of the node to which the first storage unit belongs; wherein the first storage unit is a writing unit of the first data.
确定转发单元605,用于当本节点不是第一数据的数据流的目的节点时,确定第一数据的数据流的目的节点,将第一数据的数据流转发至目的节点,由目的节点将第一数据的数据流发送到缓存层;The determining
第一发送单元606,用于当本节点是第一数据的数据流的目的节点时,将第一数据的数据流发送到缓存层。The
在本实施例中,当第一数据的数据流到达转发层后,先判断本节点是否为第一存储单元所属节点组中的节点,若本节点是第一存储单元所属节点组中的节点,那么则再判断本节点是否为所述第一数据的数据流的目的节点,如果本节点不是第一存储单元所属节点组中的节点,则直接确定第一数据的数据流的目的节点,从而实现由目的节点将第一数据的数据流发送到的缓存层,保证了数据的一致性。In this embodiment, after the data stream of the first data reaches the forwarding layer, it is first determined whether the current node is a node in the node group to which the first storage unit belongs. If the current node is a node in the node group to which the first storage unit belongs, Then, it is then judged whether the current node is the destination node of the data stream of the first data. If the current node is not a node in the node group to which the first storage unit belongs, the destination node of the data stream of the first data is directly determined, thereby realizing The cache layer to which the data stream of the first data is sent by the destination node ensures data consistency.
实施例六Embodiment 6
本发明实施例六公开了一种数据处理装置,如图7所示,该装置包括:第一判断单元701、确定转发单元702、第一发送单元703、第一镜像单元704以及第二镜像单元705;其中:Embodiment 6 of the present invention discloses a data processing apparatus. As shown in FIG. 7 , the apparatus includes: a
第一判断单元701,用于当第一数据的数据流到达转发层后,判断本节点是否为所述第一数据的数据流的目的节点;a
目的节点包括第一存储单元的所属节点和第一存储单元的所属节点的合作节点;其中,所述第一存储单元为第一数据的写入单元。The destination node includes a node to which the first storage unit belongs and a cooperative node of the node to which the first storage unit belongs; wherein the first storage unit is a writing unit of the first data.
确定转发单元702,用于当本节点不是第一数据的数据流的目的节点时,确定第一数据的数据流的目的节点,将第一数据的数据流转发至目的节点,由目的节点将所述第一数据的数据流发送到缓存层;The determining
第一发送单元703,用于当本节点是第一数据的数据流的目的节点时,将第一数据的数据流发送到缓存层;a
第一镜像单元704,用于当本节点为第一存储单元的所属节点时,将第一数据镜像到所述所属节点的合作节点;a
第二镜像单元705,用于当本节点为第一存储单元的所属节点的合作节点时,将第一数据镜像到本节点的前置节点;The
其中,本节点的前置节点为所述第一存储单元的所属节点。第一存储单元的所属节点和第一存储单元的所属节点的合作节点为两个相邻的节点,且第一存储单元的所属节点为第一存储单元的所属节点的合作节点的前置节点,当本节点为第一存储单元的所属节点的合作节点时,将第一数据镜像到本节点的前置节点后,则相当于将第一数据镜像到第一存储单元的所属节点。Wherein, the front node of this node is the node to which the first storage unit belongs. The node to which the first storage unit belongs and the cooperative node of the node to which the first storage unit belongs are two adjacent nodes, and the node to which the first storage unit belongs is a pre-node of the cooperative node of the node to which the first storage unit belongs, When the current node is a cooperative node of the node to which the first storage unit belongs, after mirroring the first data to the preceding node of the node, it is equivalent to mirroring the first data to the node to which the first storage unit belongs.
在本实施例中,当数据流达到缓存层后,当本节点为所述第一存储单元的所属节点时,将所述第一数据镜像到所述所属节点的合作节点,当本节点为所述第一存储单元的所属节点的合作节点时,将所述第一数据镜像到本节点的前置节点,从而保证当一个节点出现故障时,能够通过另一个节点进行来缓存数据。并且,由于第一数据分别保存在第一存储单元的所属节点以及所属节点的合作节点中,因此能够保证通过第一存储单元的所属节点将第一数据下发到第一存储单元的数据为最新的数据。In this embodiment, after the data stream reaches the cache layer, when the current node is the node to which the first storage unit belongs, the first data is mirrored to the cooperative node of the node to which it belongs. When the first storage unit is a cooperative node of the node to which the first storage unit belongs, the first data is mirrored to the front node of the node, so as to ensure that when one node fails, the data can be cached by another node. In addition, since the first data is stored in the node to which the first storage unit belongs and the cooperative node of the node to which it belongs, it can be ensured that the data delivered to the first storage unit through the node to which the first storage unit belongs is the latest data. The data.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710386160.8A CN107102918B (en) | 2017-05-26 | 2017-05-26 | A data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710386160.8A CN107102918B (en) | 2017-05-26 | 2017-05-26 | A data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107102918A CN107102918A (en) | 2017-08-29 |
CN107102918B true CN107102918B (en) | 2020-06-16 |
Family
ID=59670072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710386160.8A Active CN107102918B (en) | 2017-05-26 | 2017-05-26 | A data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107102918B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110968453A (en) * | 2018-09-28 | 2020-04-07 | 杭州海康威视系统技术有限公司 | Data storage method and device |
CN109460187B (en) * | 2018-11-09 | 2022-05-03 | 郑州云海信息技术有限公司 | Verification method and verification terminal for data consistency of qcow2 file |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562543B (en) * | 2009-05-25 | 2013-07-31 | 阿里巴巴集团控股有限公司 | Cache data processing method and processing system and device thereof |
DE112010003594B4 (en) * | 2009-10-19 | 2023-03-16 | International Business Machines Corporation | Apparatus, method and computer program for operating a distributed write storage network |
CN102594698A (en) * | 2012-03-12 | 2012-07-18 | 中国人民解放军总参谋部第六十三研究所 | DTN asynchronous routing algorithm based on node position projection |
CN104008111B (en) * | 2013-02-27 | 2019-02-15 | 深圳市腾讯计算机系统有限公司 | A kind of memory management method and device of data |
US9069681B1 (en) * | 2013-03-20 | 2015-06-30 | Google Inc. | Real-time log joining on a continuous stream of events that are approximately ordered |
EP2978180A1 (en) * | 2014-07-22 | 2016-01-27 | Alcatel Lucent | Signaling for transmission of coherent data flow within packet-switched network |
CN105721398B (en) * | 2014-12-04 | 2019-07-26 | 深圳市金蝶天燕中间件股份有限公司 | The method and device of data access |
CN105577547B (en) * | 2016-01-18 | 2019-03-22 | 重庆邮电大学 | Multi-Qos route selection method is based in a kind of mobile ad-hoc network |
CN106156328B (en) * | 2016-07-06 | 2019-05-07 | 中国银行股份有限公司 | A kind of bank's running log data monitoring method and system |
-
2017
- 2017-05-26 CN CN201710386160.8A patent/CN107102918B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN107102918A (en) | 2017-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200081807A1 (en) | Implementing automatic switchover | |
US12335088B2 (en) | Implementing switchover operations between computing nodes | |
US10353870B2 (en) | Tracking structure for data replication synchronization | |
CN104135539B (en) | Date storage method, SDN controllers and distributed network storage system | |
EP3304311B1 (en) | Dynamic mirroring | |
CN105739924B (en) | Caching method and system based on cache cluster | |
US20180314748A1 (en) | Non-disruptive baseline and resynchronization of a synchronous replication relationship | |
US10853210B2 (en) | Storage device health status synchronization | |
US9307011B2 (en) | Synchronous mirroring of NVLog to multiple destinations (architecture level) | |
CN107451013B (en) | Data recovery method, device and system based on distributed system | |
WO2014101044A1 (en) | Partition balancing method, device and server in distributed storage system | |
EP3449373B1 (en) | Cross-platform replication | |
WO2019201209A1 (en) | Message forwarding | |
CN107329859B (en) | Data protection method and storage device | |
CN103944974B (en) | A kind of protocol message processing method, controller failure processing method and relevant device | |
CN104363977A (en) | Data replication method, data replication device and storage device | |
CN105634832B (en) | A backup method and device for a server | |
CN107102918B (en) | A data processing method and device | |
US20160188691A1 (en) | Recovery synchronization in a distributed storage system | |
US20190114076A1 (en) | Method and Apparatus for Storing Data in Distributed Block Storage System, and Computer Readable Storage Medium | |
CN105635310A (en) | Method and device for accessing storage resources | |
CN103631682B (en) | The implementation method of data backup and device | |
CN112104729A (en) | Storage system and caching method thereof | |
CN106062721B (en) | A kind of method and storage system writing data into storage system | |
CN104461779B (en) | A kind of storage method of distributed data, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200520 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |