CN111884921A - Communication method, system, equipment and computer readable storage medium - Google Patents
Communication method, system, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN111884921A CN111884921A CN202010687087.XA CN202010687087A CN111884921A CN 111884921 A CN111884921 A CN 111884921A CN 202010687087 A CN202010687087 A CN 202010687087A CN 111884921 A CN111884921 A CN 111884921A
- Authority
- CN
- China
- Prior art keywords
- communication link
- real
- time
- performance
- preset
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 382
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000005540 biological transmission Effects 0.000 claims abstract description 225
- 238000004590 computer program Methods 0.000 claims description 34
- 230000004913 activation Effects 0.000 claims description 6
- 230000000875 corresponding effect Effects 0.000 description 14
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 239000000835 fiber Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/148—Migration or transfer of sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The application discloses a communication method, a system, equipment and a computer readable storage medium, which are applied to a first storage controller and used for acquiring a real-time communication link between the first storage controller and a second storage controller; judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not; and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link. According to the method and the device, the first storage controller selects the target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of selecting the communication link with high transmission performance, and finally, the communication is carried out with the second storage controller based on the target communication link, so that the transmission performance can be guaranteed only by selecting once, and the selection consumption of the storage controller can be reduced.
Description
Technical Field
The present application relates to the field of information interaction technologies, and in particular, to a communication method, system, device, and computer-readable storage medium.
Background
In the field of storage, in order to increase the data transmission rate and ensure the stability of a storage controller, the current storage controller mostly adopts a dual-control scheme, that is, two storage controller nodes are installed in one controller case, and the two nodes are backup for each other.
However, data transmission between two nodes in the same chassis is currently carried by using an onboard PCIe (peripheral component Interconnect Express) chip, but the existing onboard PCIe chip does not provide an external interface and cannot be used for interconnecting controllers between chassis. And if there are multiple controller enclosures in the storage cluster, the interconnection between these enclosures mostly uses FC (Fibre Channel, mesh Channel protocol) links, and physically uses fiber optic line connection. In other scenarios, for example, when communication is established between two storage clusters, there is also interconnection of IP (Internet Protocol) links. That is, the storage controller may have a plurality of communication links, which objectively causes a topology scenario that a plurality of communication links exist between nodes of the storage controller.
In summary, a problem to be solved by those skilled in the art is how to reduce routing consumption of a memory controller.
Disclosure of Invention
The present application aims to provide a communication method, which can solve the technical problem of reducing the routing consumption of a storage controller to a certain extent. The application also provides a communication system, a device and a computer readable storage medium.
In order to achieve the above purpose, the present application provides the following technical solutions:
a communication method is applied to a first storage controller and comprises the following steps:
acquiring a real-time communication link between the first storage controller and the second storage controller;
judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not;
and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link.
Preferably, the determining whether the transmission performance of the real-time communication link meets a preset transmission requirement includes:
determining a real-time performance score of the real-time communication link based on a corresponding relation between preset transmission performance and performance scores and based on the transmission performance of the real-time communication link;
acquiring a preset performance score corresponding to the preset transmission requirement;
judging whether the real-time performance score is smaller than the preset performance score;
if the real-time performance score is larger than or equal to the preset performance score, judging that the transmission performance of the real-time communication link meets the preset transmission requirement;
and if the real-time performance score is smaller than the preset performance score, judging that the transmission performance of the real-time communication link does not reach the preset transmission requirement.
Preferably, the selecting a target communication link meeting the preset transmission requirement from the real-time communication links according to a principle of selecting a communication link with high transmission performance in advance includes:
and according to the principle that communication links with high transmission performance are selected firstly, and the number of each type of selected communication links is not more than the maximum activation number of the type of communication links, selecting the target communication links meeting the preset transmission requirement from the real-time communication links.
Preferably, the selecting a target communication link meeting the preset transmission requirement from the real-time communication links according to a principle of selecting a communication link with high transmission performance in advance includes:
and according to the principle of firstly selecting the communication link with high transmission performance and the polling principle, selecting the target communication link meeting the preset transmission requirement from the real-time communication link.
Preferably, after the communication with the second storage controller based on the target communication link, the method further includes:
judging whether the target communication link is in failure;
and if the target communication link fails, deleting the target communication link from the real-time communication link, and returning to the step of judging whether the transmission performance of the real-time communication link meets the preset transmission requirement.
Preferably, the types of the real-time communication link and the target communication link include a PCIe link, an FC link, and an IP link.
Preferably, after determining whether the transmission performance of the real-time communication link meets a preset transmission requirement, the method further includes:
and if the transmission performance of the real-time communication link does not meet the preset transmission requirement, sending prompt information for representing the establishment of the communication link.
A communication system, applied to a first storage controller, comprising:
the first acquisition module is used for acquiring a real-time communication link between the first acquisition module and the second storage controller;
the first judgment module is used for judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not; and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link.
A communication device applied to a first storage controller comprises:
a memory for storing a computer program;
a processor for implementing the steps of the communication method as described in any one of the above when executing the computer program.
A computer-readable storage medium for use in a first storage controller, the computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the above-described communication methods.
The communication method is applied to a first storage controller, and a real-time communication link between the first storage controller and a second storage controller is obtained; judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not; and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link. In the application, the first storage controller acquires the real-time communication link, and after the transmission performance of the real-time communication link is judged to meet the preset transmission requirement, the target communication link meeting the preset transmission requirement is selected from the real-time communication link according to the principle that the communication link with high transmission performance is selected firstly, and finally, the communication is carried out with the second storage controller based on the target communication link, so that the transmission performance can be ensured only by selecting once, and the selection consumption of the storage controllers can be reduced. The communication system, the communication equipment and the computer readable storage medium solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a communication method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 4 is another schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a communication method according to an embodiment of the present disclosure.
The communication method provided by the embodiment of the application is applied to a first storage controller, and can include the following steps:
step S101: and acquiring a real-time communication link between the storage controller and the second storage controller.
In practical applications, the first storage controller may first acquire a real-time communication link between itself and the second storage controller, where the second storage controller is also a controller that communicates with the first storage controller, and since the acquired real-time communication link is a currently available communication link, the second storage controller is capable of acquiring a currently available communication link. In a specific application scenario, the real-time communication link and the like can be counted by the bottom-layer driver of the first storage controller.
Step S102: judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not; if the transmission performance of the real-time communication link meets the preset transmission requirement, executing step S103; if the transmission performance of the real-time communication link does not reach the preset transmission requirement, step S104 is executed.
Step S103: and according to the principle of selecting a communication link with high transmission performance, selecting a target communication link meeting the preset transmission requirement from the real-time communication links, and communicating with the second storage controller based on the target communication link.
Step S104: and sending prompt information for representing the establishment of the communication link.
In practical application, in the prior art, when the number of real-time communication links is large, the first storage controller may randomly select a target communication link from the real-time communication links, so that the transmission performance of the selected target communication link is poor, and the target communication link needs to be continuously selected again, thereby increasing the routing consumption, so that in order to reduce the routing consumption, the first storage controller can judge whether the transmission performance of the real-time communication link meets the preset transmission requirement after acquiring the real-time communication link between the first storage controller and the second storage controller; if the transmission performance of the real-time communication link meets the preset transmission requirement, a target communication link meeting the preset transmission requirement can be selected from the real-time communication links according to the principle that the communication link with high transmission performance is selected firstly, so that the transmission performance of the selected target communication link can meet the preset transmission requirement only by one-time selection, and then the target communication link is communicated with a second storage controller; if the transmission performance of the real-time communication link does not reach the preset transmission requirement, at this time, if the communication is performed according to the existing real-time communication link, the preset transmission requirement is difficult to meet, the communication efficiency between the storage devices is affected, and the preset transmission requirement cannot be met no matter how the first storage device performs the routing, so that prompt information for representing the establishment of the communication link can be sent at this time to prompt a user to establish a new communication link.
It should be noted that the preset transmission requirement may be a transmission requirement that needs to be met in the information transmission process of this time, or may also be a transmission requirement that needs to be met in each information transmission process, and the like, and the present application is not specifically limited herein. In addition, the number of target communication links meeting the preset transmission requirement may be determined according to actual needs, for example, the number of target communication links may be as small as possible.
The communication method is applied to a first storage controller, and a real-time communication link between the first storage controller and a second storage controller is obtained; judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not; and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link. In the application, the first storage controller acquires the real-time communication link, and after the transmission performance of the real-time communication link is judged to meet the preset transmission requirement, the target communication link meeting the preset transmission requirement is selected from the real-time communication link according to the principle that the communication link with high transmission performance is selected firstly, and finally, the communication is carried out with the second storage controller based on the target communication link, so that the transmission performance can be ensured only by selecting once, and the selection consumption of the storage controllers can be reduced.
The communication method provided by the embodiment of the application is applied to a first storage controller, and in order to accelerate the efficiency of judging whether the transmission performance of a real-time communication link meets the preset transmission requirement, the process can be judged by means of a score, namely, the process of judging whether the transmission performance of the real-time communication link meets the preset transmission requirement can be specifically as follows: determining a real-time performance score of the real-time communication link based on the corresponding relation between the preset transmission performance and the performance score and the transmission performance of the real-time communication link; acquiring a preset performance score corresponding to a preset transmission requirement; judging whether the real-time performance score is smaller than a preset performance score or not; if the real-time performance score is larger than or equal to the preset performance score, judging that the transmission performance of the real-time communication link meets the preset transmission requirement; and if the real-time performance score is smaller than the preset performance score, judging that the transmission performance of the real-time communication link does not meet the preset transmission requirement.
For convenience of understanding, taking the real-time communication link as an example that the real-time communication link includes a first communication link, a second communication link and a third communication link, and the performance score of the first communication link is 30, the performance score of the second communication link is 8, the performance score of the third communication link is 6, and the preset performance score is 16, the real-time performance score of the real-time communication link is greater than the preset performance score, and the transmission performance of the real-time communication link meets the preset transmission requirement; if the real-time communication link only includes the second communication link and the third communication link, the transmission performance of the real-time communication link cannot meet the preset transmission requirement.
The communication method provided by the embodiment of the application is applied to a first storage controller, and in the process of selecting a target communication link meeting a preset transmission requirement in a real-time communication link according to the principle of selecting a communication link with high transmission performance, the target communication link meeting the preset transmission requirement can be selected in the real-time communication link according to the principle of selecting a communication link with high transmission performance in advance and the principle that the number of each type of selected communication links is not more than the maximum activation number of the type of communication links.
That is, in practical application, when the number of a certain type of communication link is large and the number of activated communication links is limited, a target communication link needs to be selected according to the principle that the number of each selected type of communication link is not greater than the maximum activated number of the type of communication link, assuming that the maximum activated number of the certain type of communication link is 3 and 4 such communication links are needed to meet the preset transmission requirement, at this time, only 3 such communication links can be used as the target communication link, and 4 such communication links cannot be used as the target communication link.
The communication method provided by the embodiment of the application is applied to a first storage controller, and in the process of selecting a target communication link meeting a preset transmission requirement from a real-time communication link according to a principle of selecting a communication link with high transmission performance first, the target communication link meeting the preset transmission requirement can be selected from the real-time communication link according to a principle of selecting a communication link with high transmission performance first and a polling principle.
That is, in practical application, when the number of a certain type of communication links is large, in order to ensure the coverage balance of the communication links, a target communication link may be selected according to a polling principle, and if there are 3 certain types of communication links, a second communication link of the certain type is selected when the target communication link is selected last time, and then a third communication link of the certain type may be selected when the target communication link is selected this time.
The communication method provided by the embodiment of the application is applied to a first storage controller, and because a communication link is influenced by external factors, such as weather, line hardening and the like, a communication link fault condition may occur, and at this time, if a faulty target communication link is still used for communication, a preset transmission requirement cannot be met, so that after the target communication link is communicated with a second storage controller, whether the target communication link is faulty or not can be judged; and if the target communication link fails, deleting the target communication link from the real-time communication link, and returning to the step of judging whether the transmission performance of the real-time communication link meets the preset transmission requirement. To select an available target communication link that meets the preset transmission requirements.
The communication method provided by the embodiment of the application is applied to the first storage controller, and the types of the real-time communication link and the target communication link can include a PCIe link, an FC link, an IP link and the like.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a communication system according to an embodiment of the present disclosure.
The communication system provided in the embodiment of the present application, applied to a first storage controller, may include:
a first obtaining module 101, configured to obtain a real-time communication link between the first obtaining module and a second storage controller;
the first judging module 102 is configured to judge whether transmission performance of a real-time communication link meets a preset transmission requirement; and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link.
The communication system provided in the embodiment of the present application is applied to a first storage controller, and the first determining module may include:
the first determining unit is used for determining the real-time performance score of the real-time communication link based on the corresponding relation between the preset transmission performance and the performance score and the transmission performance of the real-time communication link;
a first obtaining unit, configured to obtain a preset performance score corresponding to a preset transmission requirement;
the first judging unit is used for judging whether the real-time performance score is smaller than a preset performance score or not; if the real-time performance score is larger than or equal to the preset performance score, judging that the transmission performance of the real-time communication link meets the preset transmission requirement; and if the real-time performance score is smaller than the preset performance score, judging that the transmission performance of the real-time communication link does not meet the preset transmission requirement.
The communication system provided in the embodiment of the present application is applied to a first storage controller, and the first determining module may include:
the first selection unit is used for selecting a target communication link meeting the preset transmission requirement from the real-time communication links according to the principles that the communication links with high transmission performance are selected firstly and the number of each type of selected communication links is not more than the maximum activation number of the type of communication links.
The communication system provided in the embodiment of the present application is applied to a first storage controller, and the first determining module may include:
and the second selection unit is used for selecting a target communication link meeting the preset transmission requirement from the real-time communication links according to the principle of selecting the communication link with high transmission performance and the polling principle.
The communication system provided in the embodiment of the present application is applied to a first storage controller, and may further include:
the second judgment module is used for judging whether the target communication link is in failure or not after the first judgment module communicates with the second storage controller on the basis of the target communication link; and if the target communication link fails, deleting the target communication link from the real-time communication link, and returning to the step of judging whether the transmission performance of the real-time communication link meets the preset transmission requirement.
The communication system provided by the embodiment of the application is applied to the first storage controller, and the types of the real-time communication link and the target communication link can comprise a PCIe link, an FC link and an IP link.
The communication system provided in the embodiment of the present application is applied to a first storage controller, and the first determining module may be further configured to: and if the transmission performance of the real-time communication link does not meet the preset transmission requirement, sending prompt information for representing the establishment of the communication link.
The application also provides a communication device and a computer readable storage medium, which have the corresponding effects of the communication method provided by the embodiment of the application. Referring to fig. 3, fig. 3 is a schematic structural diagram of a communication device according to an embodiment of the present disclosure.
The communication device provided by the embodiment of the application is applied to a first storage controller, and comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program:
acquiring a real-time communication link between the first storage controller and the second storage controller;
judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not;
and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link.
The communication device provided by the embodiment of the application is applied to a first storage controller, and comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: determining a real-time performance score of the real-time communication link based on the corresponding relation between the preset transmission performance and the performance score and the transmission performance of the real-time communication link; acquiring a preset performance score corresponding to a preset transmission requirement; judging whether the real-time performance score is smaller than a preset performance score or not; if the real-time performance score is larger than or equal to the preset performance score, judging that the transmission performance of the real-time communication link meets the preset transmission requirement; and if the real-time performance score is smaller than the preset performance score, judging that the transmission performance of the real-time communication link does not meet the preset transmission requirement.
The communication device provided by the embodiment of the application is applied to a first storage controller, and comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: and according to the principle that the communication links with high transmission performance are selected firstly, and the number of each type of selected communication links is not more than the maximum activation number of the type of communication links, selecting a target communication link meeting the preset transmission requirement from the real-time communication links.
The communication device provided by the embodiment of the application is applied to a first storage controller, and comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: and according to the principle of firstly selecting the communication link with high transmission performance and the polling principle, selecting a target communication link meeting the preset transmission requirement from the real-time communication links.
The communication device provided by the embodiment of the application is applied to a first storage controller, and comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: after the target communication link is communicated with the second storage controller, judging whether the target communication link fails; and if the target communication link fails, deleting the target communication link from the real-time communication link, and returning to the step of judging whether the transmission performance of the real-time communication link meets the preset transmission requirement.
The communication device provided by the embodiment of the application is applied to a first storage controller, and comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: the types of the real-time communication link and the target communication link comprise PCIe link, FC link and IP link.
The communication device provided by the embodiment of the application is applied to a first storage controller, and comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: after judging whether the transmission performance of the real-time communication link meets the preset transmission requirement, the method further comprises the following steps: and if the transmission performance of the real-time communication link does not meet the preset transmission requirement, sending prompt information for representing the establishment of the communication link.
Referring to fig. 4, another communication device provided in the embodiment of the present application may further include: an input port 203 connected to the processor 202, for transmitting externally input commands to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing the communication between the communication device and the outside world. The display unit 204 may be a display panel, a laser scanning display, or the like; the communication method adopted by the communication module 205 includes, but is not limited to, mobile high definition link technology (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), and wireless connection: wireless fidelity technology (WiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
The computer-readable storage medium provided in the embodiments of the present application is applied to a first storage controller, and a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the following steps:
acquiring a real-time communication link between the first storage controller and the second storage controller;
judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not;
and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link.
The computer-readable storage medium provided in the embodiments of the present application is applied to a first storage controller, and a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the following steps: determining a real-time performance score of the real-time communication link based on the corresponding relation between the preset transmission performance and the performance score and the transmission performance of the real-time communication link; acquiring a preset performance score corresponding to a preset transmission requirement; judging whether the real-time performance score is smaller than a preset performance score or not; if the real-time performance score is larger than or equal to the preset performance score, judging that the transmission performance of the real-time communication link meets the preset transmission requirement; and if the real-time performance score is smaller than the preset performance score, judging that the transmission performance of the real-time communication link does not meet the preset transmission requirement.
The computer-readable storage medium provided in the embodiments of the present application is applied to a first storage controller, and a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the following steps: and according to the principle that the communication links with high transmission performance are selected firstly, and the number of each type of selected communication links is not more than the maximum activation number of the type of communication links, selecting a target communication link meeting the preset transmission requirement from the real-time communication links.
The computer-readable storage medium provided in the embodiments of the present application is applied to a first storage controller, and a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the following steps: and according to the principle of firstly selecting the communication link with high transmission performance and the polling principle, selecting a target communication link meeting the preset transmission requirement from the real-time communication links.
The computer-readable storage medium provided in the embodiments of the present application is applied to a first storage controller, and a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the following steps: after the target communication link is communicated with the second storage controller, judging whether the target communication link fails; and if the target communication link fails, deleting the target communication link from the real-time communication link, and returning to the step of judging whether the transmission performance of the real-time communication link meets the preset transmission requirement.
The computer-readable storage medium provided in the embodiments of the present application is applied to a first storage controller, and a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the following steps: the types of the real-time communication link and the target communication link comprise PCIe link, FC link and IP link.
The computer-readable storage medium provided in the embodiments of the present application is applied to a first storage controller, and a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the following steps: and after judging whether the transmission performance of the real-time communication link reaches the preset transmission requirement, if the transmission performance of the real-time communication link does not reach the preset transmission requirement, sending prompt information for representing the establishment of the communication link.
The computer-readable storage media to which this application relates include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
For a description of a relevant part in the communication system, the device and the computer-readable storage medium provided in the embodiments of the present application, please refer to a detailed description of a corresponding part in the communication method provided in the embodiments of the present application, which is not described herein again. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application 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)
1. A communication method applied to a first storage controller comprises the following steps:
acquiring a real-time communication link between the first storage controller and the second storage controller;
judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not;
and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link.
2. The method according to claim 1, wherein the determining whether the transmission performance of the real-time communication link meets a preset transmission requirement includes:
determining a real-time performance score of the real-time communication link based on a corresponding relation between preset transmission performance and performance scores and based on the transmission performance of the real-time communication link;
acquiring a preset performance score corresponding to the preset transmission requirement;
judging whether the real-time performance score is smaller than the preset performance score;
if the real-time performance score is larger than or equal to the preset performance score, judging that the transmission performance of the real-time communication link meets the preset transmission requirement;
and if the real-time performance score is smaller than the preset performance score, judging that the transmission performance of the real-time communication link does not reach the preset transmission requirement.
3. The method according to claim 1, wherein the selecting a target communication link satisfying the preset transmission requirement from the real-time communication links according to a principle of selecting a communication link with high transmission performance in advance comprises:
and according to the principle that communication links with high transmission performance are selected firstly, and the number of each type of selected communication links is not more than the maximum activation number of the type of communication links, selecting the target communication links meeting the preset transmission requirement from the real-time communication links.
4. The method according to claim 1, wherein the selecting a target communication link satisfying the preset transmission requirement from the real-time communication links according to a principle of selecting a communication link with high transmission performance in advance comprises:
and according to the principle of firstly selecting the communication link with high transmission performance and the polling principle, selecting the target communication link meeting the preset transmission requirement from the real-time communication link.
5. The method of claim 1, wherein after communicating with the second storage controller based on the target communication link, further comprising:
judging whether the target communication link is in failure;
and if the target communication link fails, deleting the target communication link from the real-time communication link, and returning to the step of judging whether the transmission performance of the real-time communication link meets the preset transmission requirement.
6. The method of any of claims 1 to 5, wherein the types of the real-time communication link and the target communication link comprise PCIe link, FC link, IP link.
7. The method according to claim 6, wherein after determining whether the transmission performance of the real-time communication link meets a preset transmission requirement, the method further comprises:
and if the transmission performance of the real-time communication link does not meet the preset transmission requirement, sending prompt information for representing the establishment of the communication link.
8. A communication system, applied to a first storage controller, comprising:
the first acquisition module is used for acquiring a real-time communication link between the first acquisition module and the second storage controller;
the first judgment module is used for judging whether the transmission performance of the real-time communication link meets a preset transmission requirement or not; and if the transmission performance of the real-time communication link meets the preset transmission requirement, selecting a target communication link meeting the preset transmission requirement from the real-time communication link according to the principle of firstly selecting a communication link with high transmission performance, and communicating with the second storage controller based on the target communication link.
9. A communication device, applied to a first storage controller, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the communication method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium for a first storage controller, in which a computer program is stored which, when being executed by a processor, carries out the steps of a communication method according to one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010687087.XA CN111884921A (en) | 2020-07-16 | 2020-07-16 | Communication method, system, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010687087.XA CN111884921A (en) | 2020-07-16 | 2020-07-16 | Communication method, system, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111884921A true CN111884921A (en) | 2020-11-03 |
Family
ID=73156327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010687087.XA Pending CN111884921A (en) | 2020-07-16 | 2020-07-16 | Communication method, system, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111884921A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115695320A (en) * | 2023-01-04 | 2023-02-03 | 苏州浪潮智能科技有限公司 | Front-end and back-end load management method, system, equipment and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140195871A1 (en) * | 2013-01-08 | 2014-07-10 | International Business Machines Corporation | System and method for improved error response in data mirroring |
CN108924008A (en) * | 2018-07-10 | 2018-11-30 | 郑州云海信息技术有限公司 | A kind of dual controller data communications method, device, equipment and readable storage medium storing program for executing |
CN109672747A (en) * | 2019-01-02 | 2019-04-23 | 郑州云海信息技术有限公司 | A kind of data transmission method, device, equipment and computer readable storage medium |
CN110224928A (en) * | 2019-07-12 | 2019-09-10 | 苏州浪潮智能科技有限公司 | A kind of NTB communication means, device, equipment and storage medium |
CN110532202A (en) * | 2019-08-21 | 2019-12-03 | 苏州浪潮智能科技有限公司 | A kind of storage cluster system, data transmission method and device |
US20190377696A1 (en) * | 2018-06-12 | 2019-12-12 | International Business Machines Corporation | Using storage controllers to respond to multipath input/output requests |
CN110737613A (en) * | 2019-10-18 | 2020-01-31 | 苏州浪潮智能科技有限公司 | storage controller node communication method, device, equipment and storage medium |
-
2020
- 2020-07-16 CN CN202010687087.XA patent/CN111884921A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140195871A1 (en) * | 2013-01-08 | 2014-07-10 | International Business Machines Corporation | System and method for improved error response in data mirroring |
US20190377696A1 (en) * | 2018-06-12 | 2019-12-12 | International Business Machines Corporation | Using storage controllers to respond to multipath input/output requests |
CN108924008A (en) * | 2018-07-10 | 2018-11-30 | 郑州云海信息技术有限公司 | A kind of dual controller data communications method, device, equipment and readable storage medium storing program for executing |
CN109672747A (en) * | 2019-01-02 | 2019-04-23 | 郑州云海信息技术有限公司 | A kind of data transmission method, device, equipment and computer readable storage medium |
CN110224928A (en) * | 2019-07-12 | 2019-09-10 | 苏州浪潮智能科技有限公司 | A kind of NTB communication means, device, equipment and storage medium |
CN110532202A (en) * | 2019-08-21 | 2019-12-03 | 苏州浪潮智能科技有限公司 | A kind of storage cluster system, data transmission method and device |
CN110737613A (en) * | 2019-10-18 | 2020-01-31 | 苏州浪潮智能科技有限公司 | storage controller node communication method, device, equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
周飞: "浅谈基于OLSR协议的网络传输性能链路质量判别机制", 《攀枝花学院学报》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115695320A (en) * | 2023-01-04 | 2023-02-03 | 苏州浪潮智能科技有限公司 | Front-end and back-end load management method, system, equipment and computer storage medium |
WO2024146366A1 (en) * | 2023-01-04 | 2024-07-11 | 苏州元脑智能科技有限公司 | Front-end and back-end load management method, system and device, and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110890980A (en) | Method, device, server and system for switching main terminal and standby terminal | |
CN110659151B (en) | Data verification method and device and storage medium | |
CN110505319A (en) | A kind of RS485 is from device address auto-allocation method and system | |
CN103560922A (en) | Disaster recovery method and system | |
CN103257941B (en) | Multi-protocol storage controller and system | |
CN103645975B (en) | A kind of method of abnormal restoring and serial bus transmission device | |
CN112134763B (en) | Method, system, equipment and medium for transmitting layered messages among cluster nodes | |
CN102870374B (en) | Load-sharing method and apparatus, and veneer, | |
CN109471779A (en) | Board state monitoring method, micro-control unit, server and storage medium | |
CN109918320A (en) | A kind of control method of USB device, device and KVM control system | |
CN112468317A (en) | Cluster topology updating method, system, equipment and computer storage medium | |
CN103106113A (en) | Interrupt event processing method and processing equipment | |
US9081912B2 (en) | Method and apparatus for node hot-swapping | |
CN102520982A (en) | Method and device of node hot plug | |
CN111884921A (en) | Communication method, system, equipment and computer readable storage medium | |
CN105163400A (en) | WIFI hotspot connection control method and system and mobile terminal | |
CN116661688B (en) | Service response method and device of SAS storage system | |
CN109413180B (en) | Data acquisition method, system and equipment and storage medium | |
CN104899164B (en) | Address addressing method for integrated circuit bus, integrated circuit bus device and system | |
CN110661869B (en) | Node online method, system, device, equipment and computer storage medium | |
CN110673799B (en) | Cluster partnership establishment method, system, equipment and computer medium | |
CN111740881B (en) | Network card link detection method, system, equipment and computer storage medium | |
CN112911624B (en) | Network connection method and device of electronic equipment | |
CN108965378B (en) | IO mode identification method, system, equipment and computer storage medium | |
CN112114957A (en) | Multi-control storage system IO path management method and device, electronic equipment and medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201103 |