CN111880932A - Data storage method and device based on multiple network ports - Google Patents

Data storage method and device based on multiple network ports Download PDF

Info

Publication number
CN111880932A
CN111880932A CN202010721144.1A CN202010721144A CN111880932A CN 111880932 A CN111880932 A CN 111880932A CN 202010721144 A CN202010721144 A CN 202010721144A CN 111880932 A CN111880932 A CN 111880932A
Authority
CN
China
Prior art keywords
data link
establishing
network
storage node
data
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.)
Pending
Application number
CN202010721144.1A
Other languages
Chinese (zh)
Inventor
宋江波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Orca Data Technology Xian Co Ltd
Original Assignee
Orca Data Technology Xian Co Ltd
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 Orca Data Technology Xian Co Ltd filed Critical Orca Data Technology Xian Co Ltd
Priority to CN202010721144.1A priority Critical patent/CN111880932A/en
Publication of CN111880932A publication Critical patent/CN111880932A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/501Performance criteria
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/504Resource capping

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for establishing a data link based on multiple network ports, which are used for acquiring information of storage nodes; selecting a plurality of network ports with the highest transmission rate of the same type to establish a data link according to the network port address list; the method for establishing the data link comprises the following steps: acquiring the number of established data links of each network port, and establishing the data links with the network ports which have the minimum number and are in an online state; repeating the step of establishing the data link until the number of the data links on the storage node reaches the upper limit value of the data link, and completing the establishment of the data link with the storage node; according to the invention, the network port with the highest performance can be selected to establish the data link by acquiring the node information of the storage node, and the same quantity of the data links established among a plurality of network ports can be realized according to the quantity of the established data links of the network ports, so that the load balance among the network ports is realized, the data storage efficiency of the storage network is improved, and the network delay is reduced.

Description

Data storage method and device based on multiple network ports
Technical Field
The invention belongs to the technical field of data storage, and particularly relates to a data storage method and device based on multiple network ports.
Background
The traditional network storage system adopts a centralized storage server to store all data, the storage server becomes the bottleneck of the system performance, is also the focus of reliability and safety, and cannot meet the requirement of large-scale storage application. The distributed network storage system adopts an expandable system structure, utilizes a plurality of storage servers to share the storage load, and utilizes the position server to position the storage information, thereby not only improving the reliability, the availability and the access efficiency of the system, but also being easy to expand.
With the development of storage technology, a multi-portal storage technology gradually appears, namely, when storage is carried out between a client and a server, the storage is carried out in parallel through a plurality of portals, and then the data storage efficiency is improved. However, in the process of performing parallel storage of multiple network ports, it is difficult to achieve load balancing among the multiple network ports, resulting in low system utilization rate.
Disclosure of Invention
The invention aims to provide a data storage method and device based on multiple network ports, which can realize load balance among the multiple network ports in the data transmission process and improve the data storage efficiency.
The invention adopts the following technical scheme: a data link establishing method based on multiple network ports comprises the following steps:
acquiring storage node information; the storage node information comprises an upper limit value of a data link of the storage node and a network port address list;
selecting a plurality of network ports with the highest transmission rate of the same type to establish a data link according to the network port address list;
the method for establishing the data link comprises the following steps: acquiring the number of established data links of each network port, and establishing the data links with the network ports which have the minimum number and are in an online state;
and repeating the step of establishing the data link until the number of the data links on the storage node reaches the upper limit value of the data link, and finishing the establishment of the data link with the storage node.
Further, selecting the port with the highest transmission rate to establish the data link further comprises:
and when the states of a plurality of network ports of the same type with the highest transmission rate are all off-line, traversing other types of network ports of the storage node according to the sequence of the transmission rates from high to low, and establishing a data link.
Further, when establishing the data link fails:
repeatedly establishing a data link to the network port, and recording the establishing times;
when the establishment times reach the upper limit of the establishment times, setting the state of the network port as a possible offline state, and disconnecting the established data link on the network port;
and setting the state of the network port as an offline state.
Further, before the storage node information is obtained, a storage node list is obtained;
the storage node list is established through a management node in the storage system, and the establishing method comprises the following steps:
acquiring node information of each storage node; the node information comprises an upper limit value of a data link, the number of established data links, a node port address list and a node connection pool;
and summarizing the node information of each storage node to generate a storage node list.
Further, after the state of the network port is set to the offline state, the method further includes:
when the network port in the off-line state changes to the on-line state;
disconnecting all unused data links;
the data link with the storage node is re-established.
The other technical scheme of the invention is as follows: a multi-portal based data link establishment apparatus, comprising:
the acquisition module is used for acquiring the information of the storage nodes; the storage node information comprises an upper limit value of a data link of the storage node and a network port address list;
the selection module is used for selecting a plurality of network ports with the highest transmission rate and the same type to establish a data link according to the network port address list;
the method for establishing the data link comprises the following steps: acquiring the number of established data links of each network port, and establishing the data links of the network ports with the minimum number and online states;
and the repeated execution module is used for repeatedly executing the step of establishing the data link until the number of the data links on the storage node reaches the upper limit value of the data link, and finishing the establishment of the data link with the storage node.
Further, selecting a plurality of network ports of the same type with the highest transmission rate to establish the data link further comprises:
and the traversing module is used for traversing other types of network ports of the storage node according to the sequence of the transmission rates from high to low when the states of the network ports with the highest transmission rates are all off-line, and establishing a data link.
Further, when establishing the data link fails:
the repeated establishing module is used for repeatedly establishing a data link to the network port and recording the establishing times;
the state setting module is used for setting the state of the network port into a possible offline state when the establishment times reach the upper limit of the establishment times and disconnecting the established data link on the network port;
and setting the state of the network port as an offline state.
The other technical scheme of the invention is as follows: a data link establishment device based on multiple network ports comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein the processor realizes a data link establishment method based on multiple network ports when executing the computer program.
The other technical scheme of the invention is as follows: a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements a multi-portal based data link establishment method according to any of the above.
The invention has the beneficial effects that: according to the invention, through acquiring the node information of the storage node, a plurality of network ports with the highest performance can be selected from the node information to establish the data links, and according to the number of the established data links of the network ports, the data links are sequentially established with the network ports with the highest performance to carry out data transmission, so that the same number of the data links established among the network ports can be realized, the load balance among the network ports is realized, the data storage efficiency of the storage network is improved, and the network delay is reduced.
Drawings
Fig. 1 is a flowchart of a data link establishing method based on multiple network ports according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a connection relationship between nodes of a storage system according to an embodiment of the present invention;
fig. 3 is a block diagram of a data link establishing apparatus based on multiple network ports according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a data link establishing apparatus based on multiple network ports according to an embodiment of the present invention;
FIG. 5 is a detailed flow chart of an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a processing method for changing the status of the portal to offline according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating a processing method for changing the status of a portal to online according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating a first manner of acquiring a status change of a portal according to an embodiment of the present invention;
fig. 9 is a flowchart of a second method for acquiring a status change of a portal according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention discloses a data link establishing method based on multiple network ports, which comprises the following steps:
s110, acquiring storage node information; the storage node information comprises an upper limit value of a data link of the storage node and a network port address list; s120, selecting a plurality of network ports with the highest transmission rate and the same type to establish a data link according to the network port address list; the method for establishing the data link comprises the following steps: acquiring the number of established data links of each network port, and establishing the data links with the network ports which have the minimum number and are in an online state; and S130, repeating the step of establishing the data link until the number of the data links on the storage node reaches the upper limit value of the data link, and finishing the establishment of the data link with the storage node.
According to the invention, through acquiring the node information of the storage node, a plurality of network ports with the highest performance can be selected from the node information to establish the data links, and according to the number of the established data links of the network ports, the data links are sequentially established with the network ports with the highest performance to carry out data transmission, so that the same number of the data links established among the network ports can be realized, the load balance among the network ports is realized, the data storage efficiency of the storage network is improved, and the network delay is reduced.
In this embodiment of the present invention, selecting the port with the highest transmission rate to establish the data link further includes:
and when the states of a plurality of network ports of the same type with the highest transmission rate are all off-line, traversing other types of network ports of the storage node according to the sequence of the transmission rates from high to low, and establishing a data link.
In the process of establishing the data link, although the network port for establishing the data link appears in the network port address list, when the current data link is established, because the network port is in an offline state for other reasons (such as equipment maintenance, etc.), the network port with the highest transmission rate needs to traverse and check the online states of the network ports of various types one by one, delete the network ports in the offline state, and establish the data link with the online network port, thereby realizing load balancing of the network port, otherwise, establishing the data link with the offline network port wastes time, thereby prolonging data storage time and reducing storage efficiency of data storage.
In one possible implementation, when establishing the data link fails:
repeatedly establishing a data link to the network port, and recording the establishing times; when the establishment times reach the upper limit of the establishment times, setting the state of the network port as a possible offline state, and disconnecting the established data link on the network port; when the data transmission exists in the established data link, the established data link is disconnected after the data transmission is finished; however, at some point, the data link is not necessarily available, and therefore, it is necessary to wait for the data link to disconnect itself. And when all the data links on the network port are disconnected, setting the state of the network port to be an offline state.
When a data link is established, if the establishment failure may be caused by various reasons, such as that a current network port is not on line, a data transmission line fault, a data transmission packet loss and the like, if the data link is failed to be connected for the first time, the network port is abandoned, and misjudgment may be caused by the reasons. Of course, in order to improve efficiency, a threshold value, i.e., an upper limit of the number of times of establishment, may be set according to an actual operating environment.
As shown in fig. 5, which is a flowchart of a specific implementation manner of the embodiment of the present invention, it can be seen in the diagram that when a client node needs to store data to a cluster node, a storage node list is first obtained from a management node (i.e., information of a node to be connected is found from a slave node linked list in the diagram), and then, portal information of the node is obtained from node information of the node.
The network port information of the node can obtain which network ports in the node are the network ports with the highest performance (i.e. the network ports with the highest transmission rate), such as network port 1, network port 3 and network port 4. The next step is to determine the number of established connection data links in the highest performing portal and the current status of that portal. For example, the current state of the internet access 1 is online, and the number of the established data links is 1; the current state of the network port 3 is on-line, and the number of the established data links is 2; the current state of the network port 4 is off-line, and the number of the established data links is 2.
Therefore, after screening, the portal 4 in the offline state is deleted, the portal with the minimum number of established data links, i.e., the portal 1, is selected, and then a request for establishing the data links is sent to the portal 1, and after the portal 1 receives the request, a message that the data links with the current client are successfully established is returned, at this time, the data links between the client and the portal 1 are successfully established.
When the return message of the internet access 1 is not received, the request message for establishing the data link needs to be repeatedly sent to the internet access, and if the request is sent in the 3 rd time, the return message is received, the data link is established. If the number of times of sending requests reaches the maximum upper limit of 5 times, the network port 1 is marked as an offline state. And next, sending a request to the network port 3, and if the quantity of the sent requests reaches the upper limit of 5 times and the return message of the network port 3 is not received, setting the network port 3 to be offline.
At this time, it is necessary to select the port with the second highest performance from the port information to establish the data link, that is, the first port compared with the transmission rates of port 1, port 3 and port 4, it is assumed that two ports, i.e., port 6 and port 8, are found. The above process is repeated to establish a connection with the network port 6 and the network port 8, and if the two network ports cannot establish a connection, the network port is set as an offline network port. And continuously selecting the network ports with lower transmission rate, such as the network port 2, the network port 5 and the network port 7, and continuously sending requests to the three network ports to establish data links.
When the network port 2, the network port 5 and the network port 7 are all in the online state, 3 data links established on the network port 2, 5 data links established on the network port 5 and 4 data links established on the network port 7. Preferably, the network port 2 is selected to establish the data link, after the data link establishment with the network port 2 is completed, the number of the data links established by all the network ports on the node is determined, if the number of the network ports 2 is 4, the number of the network ports 5 is 5, and the number of the network ports 7 is 4, the total number of the data links on the node is 13, and if the total number of the data links of the network ports is 18, according to the above principle, 2 data links are respectively established on the network port 2 and the network port 7, and 1 data link is established on the network port 5, so that the number of the data links on the network port 2, the network port 5, and the network port 7 is 6, thereby realizing the load balance of the 3 network ports, and improving the storage efficiency of the storage system.
As shown in fig. 6, on the basis of the above example, if the internet access 7 disconnects from the client due to the device maintenance, and thus communication between the client and the internet access 7 fails, the client sends a request to the internet access 7 to reestablish the data link connection, and when the sending request reaches the upper limit of 5 times, the connection with the internet access 7 is disconnected, and the internet access 7 is set to the offline state. At this time, if 6 data links on the network port 7 are all disconnected, it is necessary to establish a data link with the network port 2 and the network port 5 again to make the number of the data links of the storage node reach the upper limit, so according to the above method, the data links are continuously established on the network port 2 and the network port 5, and finally 9 data links are respectively established on the network port 2 and the network port 5, thereby realizing load balancing on the network port 2 and the network port 5.
As shown in fig. 7, after the status of the network port is recovered, the client receives the network port status reply message, and then disconnects the unused connection, and re-records the data link between the network ports. As in the above embodiment, if the state of the network port 7 is returned to on-line, because load balancing is not implemented between the network port 2, the network port 5, and the network port 7, after each data link of the network port 2 and the network port 5 completes one data transmission, the data link is disconnected, and the data link is reestablished according to the above method, and finally, load balancing among the network port 2, the network port 5, and the network port 7 is implemented, that is, 6 data links are respectively established on the network port 2, the network port 5, and the network port 7 for data transmission.
Specifically, there are two ways to determine that the portal changes from an offline state to an online state. The first is a passive polling mode, which is to establish a connection at regular time, if the connection is failed to be established, the reason for the failure is timeout (i.e. no response) or caused by the abnormal internet access, the connection is failed to be established, and if the connection is successfully established, the internet access state is set to be on-line, i.e. on-line. As shown in fig. 8, the specific steps of this method are:
1. starting a timer, and triggering once every N seconds to send a request for establishing a data link to the network port;
2. if receiving the return message of successful connection, setting the network port state as an online state;
3. if the return message of successful connection is not received, under the action of the timer, after N seconds, triggering the next request for establishing the data link to the network port until the network port is in an online state.
The second is an active reporting mode, which is to actively report by the cluster node, and when the network port is online, the network port drives the reporting event to the cluster node. The cluster node reports the network port on-line event to the management node, and then the management node notifies the latest information of the network port state of all the clients. The client confirms the establishment of the connection. As shown in fig. 9, the specific steps are as follows:
1. a network card driver on the cluster node reports an online event of an internet port;
2. the cluster node reports the event to the management node;
3. the management node forwards the event to all clients;
4. after receiving the event, the client establishes connection with the node;
5. if the connection is successfully established, setting the state of the network port as online;
6. otherwise, no processing is performed.
In one embodiment, before obtaining the storage node information, obtaining a storage node list is further included; the storage node list is established through a management node in the storage system, and the establishing method comprises the following steps:
acquiring node information of each storage node; the node information comprises an upper limit value of a data link, the number of established data links, a node port address list and a node connection pool; and summarizing the node information of each storage node to generate a storage node list.
As shown in fig. 2, the distributed storage system includes a management node, storage nodes (i.e., cluster nodes), and client nodes, where each cluster node registers node information with the management node, and other cluster nodes synchronize all node information from the management node, and each node records node information of all nodes in a cluster. The client node downloads the synchronization node information from the management node and establishes a plurality of data links to the cluster nodes for data transmission.
In the embodiment of the present invention, the node information may include the maximum number of connections of the node (i.e., the data link upper limit value of the storage node, NodeConnMax), the number of data links that have been established by the storage node, and a list of the internet access addresses of the storage node. The upper limit value of the data link of the storage node is limited by the hardware of the network port and the storage node, such as the processing capacity of a CPU, the performance of a network card, and the like.
The port address list (nodeNicAddress List) is an ascending linked list sorted by the number of port address link connections, which includes information about individual ports (i.e., nodeNicAddress). Information of a single port is generally required to include single port address information (physical address, logical address), port address type (RDMA, FTP, TCP, etc.), port address status (online, possibly offline, etc.), port set-up connection number (NicConnNum), and the like.
When Node1 (Node 1) needs to establish connection with Node2 (Node 2), the network port address in NodeNICAddressList is traversed once to establish the data link until the data link is established successfully. In the multi-network-port distributed storage system, data links can be established between two nodes through a plurality of network ports simultaneously, when the number of the data links of the plurality of network ports is the same, the effect of load balancing is achieved, data storage can be carried out through the multi-network ports synchronously, and then the network bandwidth of the storage system is improved.
In one embodiment, after the setting the status of the portal to the offline status, the method further includes:
when the network port in the off-line state changes to the on-line state; disconnecting all unused data links; the data link with the storage node is re-established.
In the embodiment of the invention, a plurality of network ports are used for establishing a plurality of data links which are distributed on the plurality of network ports in a balanced manner, and after the abnormal network ports are recovered, the state of the network ports is automatically recovered and the load balance among the plurality of network ports is recovered. The method can meet the requirement of a distributed parallel system with extremely high network requirements, can simultaneously use a plurality of network ports, can linearly improve the network processing capacity of the distributed parallel system, automatically recover the network and provide balanced network processing capacity, and greatly improve the stability and performance of the system.
Another embodiment of the present invention further discloses a device for establishing a data link based on multiple network ports, as shown in fig. 3, including:
an obtaining module 210, configured to obtain storage node information; the storage node information comprises an upper limit value of a data link of the storage node and a network port address list; a selecting module 220, configured to select, according to the network port address list, multiple network ports of the same type with the highest transmission rate to establish a data link; the method for establishing the data link comprises the following steps: acquiring the number of established data links of each network port, and establishing the data links of the network ports with the minimum number and online states; and a repeated execution module 230, configured to repeatedly execute the step of establishing the data link until the number of data links on the storage node reaches the upper limit value of the data link, and complete establishment of the data link with the storage node.
In this embodiment, selecting the port with the highest transmission rate to establish the data link further includes:
and the traversing module is used for traversing other types of network ports of the storage node according to the sequence of the transmission rates from high to low when the states of a plurality of network ports of the same type with the highest transmission rate are all off-line, and establishing a data link.
Specifically, when establishing a data link fails:
the repeated establishing module is used for repeatedly establishing a data link to the network port and recording the establishing times; the state setting module is used for setting the state of the network port into a possible offline state when the establishment times reach the upper limit of the establishment times and disconnecting the established data link on the network port;
and the state transformation module is used for setting the state of the internet access to be an offline state.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules are based on the same concept as the method embodiment of the present invention, specific functions and technical effects thereof may be referred to specifically in the method embodiment section, and are not described herein again.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely illustrated, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to perform all or part of the above described functions. Each functional module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional modules are only used for distinguishing one functional module from another, and are not used for limiting the protection scope of the application. The specific working process of the modules in the apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Another embodiment of the present invention further discloses a multi-portal based data link establishing apparatus 3, as shown in fig. 4, which includes a memory 31, a processor 32, and a computer program 33 stored in the memory and executable on the processor, and when the processor 32 executes the computer program 33, the multi-portal based data link establishing method in any one of the above method embodiments is implemented.
Another embodiment of the present invention further discloses a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the method for establishing a data link based on multiple network ports in any of the above method embodiments is implemented.

Claims (10)

1. A data link establishing method based on multiple network ports is characterized by comprising the following steps:
acquiring storage node information; the storage node information comprises an upper limit value of a data link of the storage node and a network port address list;
selecting a plurality of network ports with the highest transmission rate of the same type to establish a data link according to the network port address list;
the method for establishing the data link comprises the following steps: acquiring the quantity of the established data links of each network port, and establishing the data links with the network ports which have the minimum quantity and are in an online state;
and repeatedly executing the step of establishing the data link until the number of the data links on the storage node reaches the upper limit value of the data link, and finishing the establishment of the data link with the storage node.
2. The method as claimed in claim 1, wherein selecting the port with the highest transmission rate to establish the data link further comprises:
and when the states of a plurality of network ports of the same type with the highest transmission rate are all off-line, traversing other types of network ports of the storage node according to the sequence of the transmission rates from high to low, and establishing a data link.
3. The method as claimed in claim 2, wherein when the data link is failed to be established:
repeatedly establishing a data link to the network port, and recording the establishing times;
when the establishment times reach the upper limit of the establishment times, setting the state of the network port as a possible offline state, and disconnecting the established data link on the network port;
and setting the state of the network port as an offline state.
4. The method as claimed in claim 2 or 3, wherein the step of obtaining the storage node information further comprises obtaining a storage node list;
the storage node list is established through a management node in a storage system, and the establishing method comprises the following steps:
acquiring node information of each storage node; the node information comprises an upper limit value of a data link, the number of established data links, a node port address list and a node connection pool;
and summarizing the node information of each storage node to generate a storage node list.
5. The method as claimed in claim 4, wherein after the setting of the status of the portal to the offline status, the method further comprises:
when the network port in the off-line state changes to the on-line state;
disconnecting all unused data links;
reestablishing a data link with the storage node.
6. A device for establishing a data link based on multiple network ports, comprising:
the acquisition module is used for acquiring the information of the storage nodes; the storage node information comprises an upper limit value of a data link of the storage node and a network port address list;
the selection module is used for selecting a plurality of network ports with the highest transmission rate and the same type to establish a data link according to the network port address list;
the method for establishing the data link comprises the following steps: acquiring the number of the established data links of each network port, and establishing the data links of the network ports with the minimum number and the online states;
and the repeated execution module is used for repeatedly executing the step of establishing the data link until the number of the data links on the storage node reaches the upper limit value of the data link, and finishing the establishment of the data link with the storage node.
7. The apparatus as claimed in claim 6, wherein the selecting the port with the highest transmission rate to establish the data link further comprises:
and the traversing module is used for traversing other types of network ports of the storage node according to the sequence of the transmission rates from high to low when the states of a plurality of network ports of the same type with the highest transmission rate are all off-line, and establishing a data link.
8. The apparatus of claim 7, wherein when the data link is failed to be established:
the repeated establishing module is used for repeatedly establishing a data link to the network port and recording the establishing times;
a state setting module, configured to set the state of the portal to a possible offline state when the establishment frequency reaches the upper limit of the establishment frequency, and disconnect an established data link on the portal;
and the state transformation module is used for setting the state of the internet access to be an offline state.
9. A multi-portal based data link establishment apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements a multi-portal based data link establishment method according to any of claims 1 to 5.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements a method for multi-portal based data link establishment according to any of claims 1 to 5.
CN202010721144.1A 2020-07-24 2020-07-24 Data storage method and device based on multiple network ports Pending CN111880932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010721144.1A CN111880932A (en) 2020-07-24 2020-07-24 Data storage method and device based on multiple network ports

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010721144.1A CN111880932A (en) 2020-07-24 2020-07-24 Data storage method and device based on multiple network ports

Publications (1)

Publication Number Publication Date
CN111880932A true CN111880932A (en) 2020-11-03

Family

ID=73200191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010721144.1A Pending CN111880932A (en) 2020-07-24 2020-07-24 Data storage method and device based on multiple network ports

Country Status (1)

Country Link
CN (1) CN111880932A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860431A (en) * 2021-01-20 2021-05-28 重庆六花网络科技有限公司 Connection method, system, equipment and storage medium of micro service node
CN113300978A (en) * 2021-02-05 2021-08-24 阿里巴巴集团控股有限公司 Data transmission method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595502A (en) * 2012-02-02 2012-07-18 中兴通讯股份有限公司 Multi-mode mobile terminal and method for balancing load
WO2018214059A1 (en) * 2017-05-24 2018-11-29 深圳市乃斯网络科技有限公司 Method and system for selecting data link in network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595502A (en) * 2012-02-02 2012-07-18 中兴通讯股份有限公司 Multi-mode mobile terminal and method for balancing load
WO2018214059A1 (en) * 2017-05-24 2018-11-29 深圳市乃斯网络科技有限公司 Method and system for selecting data link in network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860431A (en) * 2021-01-20 2021-05-28 重庆六花网络科技有限公司 Connection method, system, equipment and storage medium of micro service node
CN112860431B (en) * 2021-01-20 2024-03-15 重庆六花网络科技有限公司 Connection method, system, equipment and storage medium of micro service node
CN113300978A (en) * 2021-02-05 2021-08-24 阿里巴巴集团控股有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
US7518983B2 (en) Proxy response apparatus
Yang et al. Blockchain-based secure distributed control for software defined optical networking
CN105024855A (en) Distributed cluster management system and method
JP3798661B2 (en) Method for processing a merge request received by a member of a group in a clustered computer system
WO2004036344A2 (en) System and method for the optimization of database
CN111277629A (en) High-availability-based web high-concurrency system and method
CN107528891B (en) Websocket-based automatic clustering method and system
CN107682442B (en) Web connection method and device
CN112202918B (en) Load scheduling method, device, equipment and storage medium for long connection communication
US20130139178A1 (en) Cluster management system and method
CN111880932A (en) Data storage method and device based on multiple network ports
CN112612769A (en) File processing method, device and storage medium
CN112492022A (en) Cluster, method, system and storage medium for improving database availability
CN108512753B (en) Method and device for transmitting messages in cluster file system
CN110225133A (en) Message method, node, device, system and relevant device
CN113766013A (en) Session creation method, device, equipment and storage medium
CN114035969A (en) Method, system and equipment for realizing distributed block storage multi-path ISCSI lock
CN111800516B (en) Internet of things equipment management method and device based on P2P
CN110661836B (en) Message routing method, device and system, and storage medium
CN116346834A (en) Session synchronization method, device, computing equipment and computer storage medium
CN111478937B (en) Load balancing method and device
CN109510864B (en) Forwarding method, transmission method and related device of cache request
CN102647424A (en) Data transmission method and data transmission device
CN113535464B (en) Disaster recovery backup method, server, cluster system and storage device
CN214959613U (en) Load balancing equipment

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
CB02 Change of applicant information

Address after: 710000 Room 1202, 12th Floor, Cultural Creation Building, Yaodian Street Office, Qinhan New Town, Xixian New District, Xi'an, Shaanxi

Applicant after: Xi'an Okayun Data Technology Co.,Ltd.

Address before: No.6-2, Changxin Industrial Park, east section of Tiangong 1st Road, banxinzhuang village, ZhouLing street, Qinhan new town, Xixian New District, Xi'an City, Shaanxi Province, 710000

Applicant before: Xi'an Okayun Data Technology Co.,Ltd.

CB02 Change of applicant information