CN102495814A - Communication method between controllers of storage device - Google Patents
Communication method between controllers of storage device Download PDFInfo
- Publication number
- CN102495814A CN102495814A CN2011104232644A CN201110423264A CN102495814A CN 102495814 A CN102495814 A CN 102495814A CN 2011104232644 A CN2011104232644 A CN 2011104232644A CN 201110423264 A CN201110423264 A CN 201110423264A CN 102495814 A CN102495814 A CN 102495814A
- Authority
- CN
- China
- Prior art keywords
- controller
- communication
- order
- communication link
- link
- 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
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention provides a communication method between controllers of storage device. In the method, the controllers determine a corresponding communication link according to a predetermined communication rule when commands are needed to be forwarded, thus, the communication design between the controllers can shield the difference of hardware designs and improve the flexibility of the communication between the controllers, and the communication between the controllers is easier to realize and maintain.
Description
Technical field
The present invention relates to the multi-controller memory technology, particularly relate to the means of communication between the multi-controller memory device middle controller.
Background technology
High available for memory device is had, high bandwidth, the characteristic of high read-write speed (iops) when design stores equipment, is generally it and disposes a plurality of controllers, like four controllers or multi-controller more.In having the memory device of a plurality of controllers, all controllers all are in state of activation, and data storage service can externally be provided.In this case, the work coordination between the configuration operation of memory device and each controller, all very important.And everything all depends on the reliable communicating between each controller.
At present; There is multiple communication channel between the multi-controller; Comprise direct memory access (Dma), twin wire universal serial bus (I2c), high-speed peripheral bus (Pci-e) and Ethernet (Eth) or the like, multiple passage connected mode also possibly occur between the multi-controller simultaneously, comprise ring-like; Star-like, master-slave type or the like.And the communication between the existing multi-controller memory device middle controller is to bind with the hardware configuration of memory device.Like this, for different hardware configurations, need the different communication modes of design.And the variation of above-mentioned communication channel and connected mode makes that the design and the realization of communication modes is very complicated between controller.
This shows, the means of communication between the existing multi-controller memory device middle controller since with the direct binding of hardware, realize and safeguard complicated problems and exist.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide the means of communication between a kind of controller of memory device, and this method is easy to realize and safeguard.
In order to achieve the above object, the technical scheme of the present invention's proposition is:
The means of communication between a kind of controller of memory device, this method may further comprise the steps:
The source controller of order is confirmed to transmit the employed communication link of said order, and is utilized said communication link to transmit said order according to preset communication rule, and source controller sign and target controller sign are carried in said order;
When the controller in the said memory device receives said order; Judge whether the target controller sign that said order is carried is the sign of this purpose controller, if then accept said order; Otherwise; According to said communication rule, confirm to transmit the employed communication link of said order, and utilize this communication link to transmit said order.
In sum; The means of communication between the controller of a kind of memory device that the present invention proposes; When needing forward command, confirm corresponding communication link according to preset communication rule, but not confirm corresponding communication link according to hardware in the existing memory device, thereby make communication design between controller can shield the difference of hardware designs by controller; Improve the dirigibility of control communication among unit, make the communication between controller be easier to realize and safeguard.
Description of drawings
Fig. 1 is the schematic flow sheet of the embodiment of the invention one;
Fig. 2 is the synoptic diagram that four controllers annular connects;
Fig. 3 is the synoptic diagram that four controllers connect in twos;
The synoptic diagram that Fig. 4 connects through Central Retransmission Facility for controller.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, the present invention is done to describe in detail further below in conjunction with accompanying drawing and specific embodiment.
Core concept of the present invention is: communication rule is set in advance; Order is transmitted employed communication link at each controller stipulates; When the needs forward command, confirm corresponding communication link according to this communication rule, but not confirm corresponding communication link according to hardware in the existing memory device, thereby make communication design between controller can shield the difference of hardware designs by controller; Improve the dirigibility of control communication among unit, make the communication between controller be easier to realize and safeguard.
Fig. 1 is the schematic flow sheet of the embodiment of the invention one, and this method as shown in Figure 1 may further comprise the steps:
The source controller of step 101, order is confirmed to transmit the employed communication link of said order, and is utilized said communication link to transmit said order according to preset communication rule, and source controller sign and target controller sign are carried in said order.
Step 102, when the controller in the said memory device receives said order; Judge whether the target controller sign that said order is carried is the sign of this purpose controller, if then accept said order; Otherwise; According to said communication rule, confirm to transmit the employed communication link of said order, and utilize this communication link to transmit said order.
Spendable communication link information when having write down arbitrary controller in the said memory device in the said communication rule and sending a command to other each controllers.
Preferably, said communication rule defaults in each controller in the said memory device, should rule confirm corresponding communication link so that each controller can utilize rapidly.In practical application, this communication rule can change according to the difference of hardware designs.Preferably, the said method middle controller confirm to transmit the employed communication link of said order concrete grammar can for:
From said communication rule; Spendable communication link information when inquiring about this controller and sending a command to said target controller; If the link that is inquired has only one; Then this link is confirmed as and transmitted the employed communication link of said order, if the link that is inquired has two at least, then the employed communication link of said order is transmitted in an optional conduct from the link that is inquired.
With the connected mode between two kinds of controllers commonly used, the concrete design regular to said communication describes below.
Fig. 2 is the synoptic diagram that four controllers annular connects.Wherein each controller all has 2 communication links, is labeled as 1 and 2.Table 1 is for being connected corresponding communication rule with this annular.
Current controller identifier | The target controller sign | Spendable |
1 | 2 | 1 |
1 | 3 | 2 |
1 | 4 | 1,2 |
2 | 1 | 1 |
2 | 3 | 1,2 |
2 | 4 | 2 |
3 | 1 | 1 |
3 | 2 | 1,2 |
3 | 4 | 2 |
4 | 1 | 1,2 |
4 | 2 | 1 |
4 | 3 | 2 |
Table 1
Fig. 3 is the synoptic diagram that four controllers connect in twos.Wherein each controller all has 3 communication links, is labeled as 1,2,3.Table 2 is for be connected corresponding communication rule with this in twos.
Current controller identifier | The target controller sign | Spendable |
1 | 2 | 1 |
1 | 3 | 2 |
1 | 4 | 3 |
2 | 1 | 1 |
2 | 3 | 3 |
2 | 4 | 2 |
3 | 1 | 1 |
3 | 2 | 3 |
3 | 4 | 2 |
4 | 1 | 3 |
4 | 2 | 1 |
4 | 3 | 2 |
Table 2
In practical application, the transmission of ordering between each controller also can through one be specifically designed to forwarding controller (being Central Retransmission Facility) realize.The synoptic diagram that Fig. 4 connects through Central Retransmission Facility for controller.Wherein each controller has only 1 communication link, is labeled as 1, and forwarding unit can be thought and is controller 5, has communication link 1,2,3,4.Table 3 is for being connected corresponding communication rule with this.
Current controller identifier | The target controller sign | Spendable |
1 | 2 | 1 |
1 | 3 | 1 |
1 | 4 | 1 |
2 | 1 | 1 |
2 | 3 | 1 |
2 | 4 | 1 |
3 | 1 | 1 |
3 | 2 | 1 |
3 | 4 | 1 |
4 | 1 | 1 |
4 | 2 | 1 |
4 | 3 | 1 |
5 | 1 | 1 |
5 | 2 | 2 |
5 | 3 | 3 |
5 | 4 | 4 |
Table 3
In the foregoing description; Through introducing the communication rule; Confirm to be used for the communication link of forward command by controller according to this communication rule, but not confirm corresponding communication link according to hardware in the existing memory device, thereby make communication design between controller can shield the difference of hardware designs.Like this, the communication rule can be based on the difference of actual hardware designs and change at any time, thereby the flexibility that can improve the control communication among unit makes the communication between controller be easier to realize and safeguard.
In sum, more than being merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. the means of communication between the controller of a memory device is characterized in that, this method may further comprise the steps:
The source controller of order is confirmed to transmit the employed communication link of said order, and is utilized said communication link to transmit said order according to preset communication rule, and source controller sign and target controller sign are carried in said order;
When the controller in the said memory device receives said order; Judge whether the target controller sign that said order is carried is the sign of this purpose controller, if then accept said order; Otherwise; According to said communication rule, confirm to transmit the employed communication link of said order, and utilize this communication link to transmit said order.
2. method according to claim 1 is characterized in that, spendable communication link information when having write down arbitrary controller in the said memory device in the said communication rule and sending a command to other each controllers.
3. method according to claim 2 is characterized in that, the employed communication link of the said order of said definite forwarding is:
From said communication rule; Spendable communication link information when inquiring about this controller and sending a command to said target controller; If the link that is inquired has only one; Then this link is confirmed as and transmitted the employed communication link of said order, if the link that is inquired has two at least, then the employed communication link of said order is transmitted in an optional conduct from the link that is inquired.
4. method according to claim 1 is characterized in that, said communication rule defaults in each controller in the said memory device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104232644A CN102495814A (en) | 2011-12-16 | 2011-12-16 | Communication method between controllers of storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104232644A CN102495814A (en) | 2011-12-16 | 2011-12-16 | Communication method between controllers of storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102495814A true CN102495814A (en) | 2012-06-13 |
Family
ID=46187639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011104232644A Pending CN102495814A (en) | 2011-12-16 | 2011-12-16 | Communication method between controllers of storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102495814A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389127A (en) * | 2015-11-04 | 2016-03-09 | 华为技术有限公司 | Method and apparatus for transmitting message in storage system, storage system and controller |
CN105975410A (en) * | 2016-04-27 | 2016-09-28 | 浪潮(北京)电子信息产业有限公司 | Inter-storage device controller communication method and system |
CN106506625A (en) * | 2016-11-02 | 2017-03-15 | 郑州云海信息技术有限公司 | Four control servers and four control server communications methods |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050152293A1 (en) * | 2004-01-09 | 2005-07-14 | Sanjiv Nanda | Network using encoded transmissions and forwarding |
CN101415027A (en) * | 2008-11-25 | 2009-04-22 | 哈尔滨工业大学 | Communication module based on HDLC protocol, and control method for data real time forwarding and storage |
CN101471882A (en) * | 2007-12-27 | 2009-07-01 | 株式会社日立制作所 | Storage subsystem |
JP2009302688A (en) * | 2008-06-10 | 2009-12-24 | Nec Corp | Mobile terminal, store-and-forward multihop communication method and program |
JP2010108211A (en) * | 2008-10-30 | 2010-05-13 | Hitachi Ltd | Storage device and data path failover method for internal network of storage controller |
CN101834796A (en) * | 2010-05-06 | 2010-09-15 | 中兴通讯股份有限公司 | Double-controller communication system and method |
-
2011
- 2011-12-16 CN CN2011104232644A patent/CN102495814A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050152293A1 (en) * | 2004-01-09 | 2005-07-14 | Sanjiv Nanda | Network using encoded transmissions and forwarding |
CN101471882A (en) * | 2007-12-27 | 2009-07-01 | 株式会社日立制作所 | Storage subsystem |
JP2009302688A (en) * | 2008-06-10 | 2009-12-24 | Nec Corp | Mobile terminal, store-and-forward multihop communication method and program |
JP2010108211A (en) * | 2008-10-30 | 2010-05-13 | Hitachi Ltd | Storage device and data path failover method for internal network of storage controller |
CN101415027A (en) * | 2008-11-25 | 2009-04-22 | 哈尔滨工业大学 | Communication module based on HDLC protocol, and control method for data real time forwarding and storage |
CN101834796A (en) * | 2010-05-06 | 2010-09-15 | 中兴通讯股份有限公司 | Double-controller communication system and method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389127A (en) * | 2015-11-04 | 2016-03-09 | 华为技术有限公司 | Method and apparatus for transmitting message in storage system, storage system and controller |
CN105389127B (en) * | 2015-11-04 | 2018-06-26 | 华为技术有限公司 | The method, apparatus of message and storage system, controller are transmitted within the storage system |
CN105975410A (en) * | 2016-04-27 | 2016-09-28 | 浪潮(北京)电子信息产业有限公司 | Inter-storage device controller communication method and system |
CN106506625A (en) * | 2016-11-02 | 2017-03-15 | 郑州云海信息技术有限公司 | Four control servers and four control server communications methods |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2398128A3 (en) | System and method for control of power distribution networks | |
TW200707213A (en) | Data transmitting apparatus, data transmitting method and program | |
CN103399546A (en) | Method and system for controlling triple redundancy | |
CN108885601A (en) | The more host end point reflector hubs of USB | |
WO2013080027A3 (en) | Interrupt handling systems and methods for pcie bridges with multiple buses | |
CN104395854A (en) | System and method for managing power consumption in a computer device | |
CN104798010B (en) | At least part of serial storage protocol compliant frame conversion | |
CN103279434B (en) | From device address amending method and device | |
CN105549916A (en) | Peripheral component interconnect express (PCIe) solid state hard disk controller, PCIe based storage system and data read and write method thereof | |
CN105204459A (en) | RFID based flexible processing system and method | |
CN102495814A (en) | Communication method between controllers of storage device | |
CN104809088A (en) | Connecting device and control chip and control method thereof | |
CN106155971A (en) | The referee method of I2C bus and device | |
CN104699584A (en) | PCIE non-transparent bridge performance testing method | |
CN110209606A (en) | A kind of control method of the multiplex roles storage equipment based on PCIe | |
CN103077139B (en) | Use integrated circuit and the control method thereof of internal integrate circuit bus | |
CN103067617A (en) | Test terminal driving method and apparatus thereof, and terminal test method and system thereof | |
CN104007693A (en) | Control device for cooperative work of multiple air cushion suspended transport carts | |
CN108873769A (en) | Automated system and operation method | |
CN104950880B (en) | Industrial control equipment debugging system and method | |
CN206226346U (en) | Electric machine control system | |
CN107632793A (en) | A kind of data flow management-control method for SSD rear ends | |
TW200725294A (en) | Data transmission system applied in an electronic apparatus with multiple servo units | |
CN110673511B (en) | Control system | |
CN103217930B (en) | Data interaction system between a kind of industrial control unit (ICU) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120613 |