CN101534304A - Method and system of SAS domain change non-fully ergodic discovery process - Google Patents

Method and system of SAS domain change non-fully ergodic discovery process Download PDF

Info

Publication number
CN101534304A
CN101534304A CN200910082666A CN200910082666A CN101534304A CN 101534304 A CN101534304 A CN 101534304A CN 200910082666 A CN200910082666 A CN 200910082666A CN 200910082666 A CN200910082666 A CN 200910082666A CN 101534304 A CN101534304 A CN 101534304A
Authority
CN
China
Prior art keywords
sas
changes
equipment
request
expander
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
CN200910082666A
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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN200910082666A priority Critical patent/CN101534304A/en
Publication of CN101534304A publication Critical patent/CN101534304A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method of SAS domain change non-fully ergodic discovery process, comprising the followings: an expander apparatus detects that the SAS link itself is changed, SAS domain state change information is reported to an SAS initiator, the SAS initiator sends the request for obtaining changed phy information to corresponding expander apparatus according to the SAS domain state change information; after the corresponding expander apparatus returns a response containing changed phy information, whether the change is added for the apparatus is judged according to the type of the connecting apparatus of the phy information; if so, DISCOVER request is sent corresponding to the phy ID of the phy information. Moreover, the invention further discloses a system of SAS domain change non-fully ergodic discovery process. The technical proposal disclosed by the invention can improve the operation performance of SAS memory system.

Description

The method and system of SAS domain change non-fully ergodic discovery process
Technical field
The present invention relates to the communication technology, relate in particular to the method and system of a kind of SAS (serial attached SCSI (small computer system interface), Serial Attached SCSI) domain change non-fully ergodic Discovery (discovery) process.
Background technology
In the communication technology, the SAS domain system generally includes: extender device (Expander Device), SAS originating end (SAS initiator) and SAS equipment (SAS Device also claims terminal equipment).Expander equipment is a kind of switching equipment, is used for carrying out data communication between the SAS equipment or between SAS equipment and the SASinitiator.
In the practical application, the quantity of each equipment that different SAS territories is comprised may be different, correspondingly just may have different topological structures.In addition, same SAS territory also can change original topological structure when Link State changes, so SAS initiator need obtain the topology information in SAS territory often.In present SAS agreement, SAS initiator obtains the process of SAS territory topology information and finishes by finding (Discovery) process.In the prior art, monitoring SAS link-state change and the entity of initiating the Discovery process comprise Expander equipment, promptly when Expander monitoring of tools during to self SAS link-state change, can be by sending BROADCAST (CHANGE) primitive, initiate the Discovery process, variation has taken place with notice SAS initiator SAS territory.
Fig. 1 shows the schematic flow sheet that Expander equipment is initiated the Discovery process in the SAS agreement.As shown in Figure 1, this flow process comprises the steps:
Step 101, Expander monitoring of tools report BROADCAST (CHANGE) to SASinitiator during to self SAS link-state change.
Wherein, the equipment that links to each other with this Expander equipment (comprising other Expander equipment or SAS equipment) leaves, or there is new equipment (comprising other Expander equipment or SAS equipment) to add fashionable, the capital causes the link-state change of the SAS of this Expander equipment, and, can judge whether the SAS Link State changes by detecting the state of corresponding SAS link phy (the physical link interface that comprises transceiver).
BROADCAST (CHANGE) is a kind of broadcasting packet, is used for to SAS initiator notice SAS territory state variation having taken place.
Step 102 after SAS initiator receives BROADCAST (CHANGE), sends REPORT GENERAL (report summary) request to expander equipment.
Step 103, Expander equipment returns REPORT GENERAL response to SAS initiator, with the phy quantity of notifying SAS initiator self to be comprised.
Step 104, SAS initiator sends the SMP DISCOVER request of corresponding each phy according to the ID (identify label) of phy in proper order successively to this Expander equipment.
Step 105, Expander equipment returns DISCOVER response to SAS initiator, and the relevant information (as the SAS address of phy, the type of institute's connection device, the SAS address of connection device and the agreement of being supported etc.) of each phy is notified to SAS initiator.
Afterwards, SAS initiator obtains the topology information in SAS territory according to the relevant information of each phy that obtains.
Wherein, if comprised a plurality of Expander equipment in the SAS territory, as shown in Figure 2, Fig. 2 is the structural representation of the SAS domain system of a plurality of Expander equipment of comprising different stage in the prior art, wherein SAS initiator will obtain the topology in whole SAS territory, must obtain the information of all Expander equipment according to rank order (as the breadth-first principle) traversal SAS territory.Expander equipment also can be initiated the DISCOVER process to being lower than self other Expander equipment of level, and sets up routing table according to the topology information of obtaining.
But in the said process, do not comprise concrete SAS territory change information in BROADCAST (CHANGE) message, after SAS initiator receives BROADCAST (CHANGE), can learn that just variation has taken place in the SAS territory, can't directly from BROADCAST (CHANGE) message, obtain the specifying information that the SAS territory changes, such as whether having Expander equipment to increase or deletion etc.And because SASinitiator can't learn concrete SAS territory change information, so SAS initiator must carry out complete traversal to whole SAS territory, all phy to Expander equipment all in the current SAS territory initiate request successively, obtain the complete information in current SAS territory, so, information interaction need consume the long time, and in order to wait for that the Discovery process finishes dealing with, the I/O data processing in the SAS territory gets clogged.Therefore, in a SAS territory that comprises more equipment, change if more SAS territory has taken place, then the frequent triggering of Discovery process can influence the runnability of SAS storage system.
Summary of the invention
In view of this, provide a kind of method of SAS domain change non-fully ergodic Discovery process among the present invention on the one hand, a kind of system of SAS domain change non-fully ergodic Discovery process is provided on the other hand, so that improve the runnability of SAS storage system.
The method of SAS domain change non-fully ergodic Discovery process provided by the present invention comprises:
Expander Expander Equipment Inspection reports SAS territory state variation message to SAS originating end initiator when self SAS link changes;
SAS initiator is according to described SAS territory state variation message, send the request of obtaining the phy information that changes to Expander equipment correspondingly, the Expander equipment that link change takes place returns the response of carrying the phy information that changes to SAS initiator;
After SAS initiator has returned the response that comprises the phy information that changes at certain Expander equipment, judge according to the connection device type in the described phy information whether described variation is that equipment adds, if the phy ID in the then corresponding described phy information sends the DISCOVER request.
Preferably, described SAS territory state variation message is: BROADCAST (CHANGE) message;
Described SAS initiator is according to described SAS territory state variation message, sending the request of obtaining the phy information that changes to Expander equipment correspondingly is: described SAS initiator is according to described BROADCAST (CHANGE) message, Expander equipment according in the rank order traversal SAS territory sends the request of obtaining the phy information that changes to described Expander equipment successively.
Preferably, described SAS territory state variation message is: when Expander equipment determines that according to the SAS link change of self the Expander equipment that links to each other with self changes, and the SAS territory state variation message that corresponding described Expander equipment changes;
Described SAS initiator is according to described SAS territory state variation message, sending the request of obtaining the phy information that changes to Expander equipment correspondingly is: described SAS initiator is according to described SAS territory state variation message, Expander equipment according in the rank order traversal SAS territory sends the request of obtaining the phy information that changes to described Expander equipment successively.
Preferably, the SAS territory state variation message that changes of described corresponding Expander equipment is: BROADCAST (the EXPANDER DEVICE CHANGE) message that BROADCAST (CHANGE) primitive that is kept in the agreement is changed as corresponding Expander equipment.
Preferably, described SAS territory state variation message is: when Expander equipment determines that according to the SAS link change of self the SAS equipment that links to each other with self changes, and the SAS territory state variation message that corresponding described SAS equipment changes;
Described SAS initiator is according to described SAS territory state variation message, sending the request of obtaining the phy information that changes to Expander equipment correspondingly is: described SAS initiator is according to described SAS territory state variation message, and all the Expander equipment in the SAS territory send the request of obtaining the phy information that changes.
Preferably, described all Expander equipment in the SAS territory send the request of obtaining the phy information that changes and are: all the Expander equipment in the SAS territory send the request of obtaining the phy information that changes simultaneously.
Preferably, the SAS territory state variation message that changes of described corresponding SAS equipment is: BROADCAST (the END DEVICE CHANGE) message that BROADCAST (CHANGE) primitive that is kept in the agreement is changed as corresponding SAS equipment.
Preferably, this method further comprises: judge according to the connection device type in the described phy information whether described variation is that equipment leaves, if the information of then revising the described phy of current preservation is connection device not.
Preferably, this method further comprises: for the Expander equipment that does not comprise any phy information in the response of returning, SAS initiator judges that described Expander equipment does not change, and the phy to described Expander equipment does not send the DISCOVER request.
Preferably, described request of obtaining the phy information that changes is: utilize the function that keeps in the agreement number SMP message to be expanded the request REPORT CHANGE LIST request that is used to obtain the phy information that changes that obtains; Described response is: the REPORT CHANGE LIST response of corresponding described REPORT CHANGELIST request.
The system of SAS domain change non-fully ergodic Discovery process provided by the present invention comprises:
Expander equipment when the SAS link that is used to detect self changes, reports SAS territory state variation message to SAS originating end initiator; According to the request of the phy information that changes from obtaining of SAS initiator, when the SAS link of self changes, return the response of carrying the phy information that changes to SAS initiator;
SAS initiator, be used for according to SAS territory state variation message from Expander equipment, send the request of obtaining the phy information that changes to Expander equipment correspondingly, and after having returned the response that comprises the phy information that changes at certain Expander equipment, judge according to the connection device type in the described phy information whether described variation is that equipment adds, if the phy ID in the then corresponding described phy information sends the DISCOVER request.
Preferably, described SAS initiator further judges according to the connection device type in the described phy information whether described variation is that equipment leaves, if the information of then revising the described phy of current preservation is connection device not.
Preferably, described SAS initiator judges that further for the Expander equipment that does not comprise any phy information in the response of returning described Expander equipment does not change, and the phy to described Expander equipment does not send the DISCOVER request.
Preferably, described SAS initiator comprises:
The message sink unit is used to receive the SAS territory state variation message from Expander equipment;
Request transmitting unit is used for according to described SAS territory state variation message, sends the request of obtaining the phy information that changes to Expander equipment correspondingly;
The response processing unit, be used to receive the response that comprises the phy information that changes that certain Expander equipment returns, judge according to the connection device type in the phy information of carrying in the described response whether described variation is that equipment adds, if the phy ID in the then corresponding described phy information sends the DISCOVER request.
Preferably, described SAS territory state variation message is: the SAS territory state variation message that SAS territory state variation message that existing SAS territory state variation message or corresponding Expander equipment change or corresponding SAS equipment change;
The described request transmitting element sends the request of obtaining the phy information that changes to described Expander equipment successively according to the Expander equipment in the rank order traversal SAS territory; Perhaps, the described request transmitting element described SAS territory state variation message be corresponding SAS equipment change SAS territory state variation message the time, all the Expander equipment in the SAS territory send the request of obtaining the phy information that changes simultaneously.
Preferably, the SAS territory state variation message that changes of described corresponding Expander equipment is: BROADCAST (the EXPANDER DEVICE CHANGE) message that BROADCAST (CHANGE) primitive that is kept in the agreement is changed as corresponding Expander equipment;
The SAS territory state variation message that described corresponding SAS equipment changes is: BROADCAST (the END DEVICE CHANGE) message that another BROADCAST (CHANGE) primitive that is kept in the agreement is changed as corresponding SAS equipment.
Preferably, described Expander equipment comprises:
The information reporting unit is used for reporting SAS territory state variation message to SAS initiator when the SAS link that detects self changes;
The response transmitting element is used for the request according to the phy information that changes from obtaining of SAS initiator, when the SAS link of self changes, returns the response of carrying the phy information that changes to SAS initiator.
Preferably, when described information reporting unit changes at the SAS link that detects self, if when determining that according to described SAS link change the Expander equipment link to each other with self changes, the SAS territory state variation message that reports corresponding described Expander equipment to change to SASinitiator then; Otherwise, if when determining that according to described SAS link change the SAS equipment link to each other with self changes, the SAS territory state variation message that reports corresponding described SAS equipment to change to SASinitiator then.
Preferably, described request of obtaining the phy information that changes is: utilize the function that keeps in the agreement number SMP message to be expanded the request REPORT CHANGE LIST request that is used to obtain the phy information that changes that obtains; Described response is: the REPORT CHANGE LIST response of corresponding described REPORT CHANGELIST request.
From such scheme as can be seen, SAS initiator among the present invention is after learning that SAS territory state changes, by sending dedicated request to corresponding Expander equipment, promptly obtain the request of the phy information that changes, obtain the response that comprises the phy information that changes that Expander equipment that link change has taken place returns, judge according to the connection device type in this phy information whether described variation is that equipment adds then, if, phy ID in the then only corresponding described phy information sends the DISCOVER request, and other phy ID is not then sent the DISCOVER request.Thereby need not complete traversal is carried out in whole SAS territory,, avoided the frequent triggering of Discovery process, improved the runnability of SAS storage system all phy initiation DISCOVER requests of Expander equipment all in the current SAS territory.
Description of drawings
Fig. 1 is the schematic flow sheet that Expander equipment is initiated the Discovery process in the SAS agreement;
Fig. 2 is the structural representation of the SAS domain system of a plurality of Expander equipment of comprising different stage in the prior art;
Fig. 3 is the schematic flow sheet that Expander equipment is initiated the Discovery process in the embodiment of the invention;
Fig. 4 is the internal structure schematic diagram of SAS initiator in the embodiment of the invention;
Fig. 5 is the internal structure schematic diagram of Expander equipment in the embodiment of the invention.
Embodiment
In the embodiment of the invention, in order to improve the runnability of SAS storage system, avoid the frequent triggering of Discovery process, can trigger the Discovery process targetedly, for this reason, SAS initiator can be when knowing SAS territory state variation, send the request of obtaining the phy information that changes to Expander equipment correspondingly, and the Expander equipment that link change takes place returns the response of carrying the phy information that changes to SAS initiator, the Expander equipment that link change does not take place returns the response of not carrying any phy information to SASinitiator, or does not return any response to SAS initiator.
After SAS initiator has returned the response that comprises the phy information that changes at certain Expander equipment, if judge that according to this phy information the described equipment that is changed to adds, then, ask thereby avoided that all phy are sent DISCOVER only to should phy transmission DISCOVER request getting final product.
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
Fig. 3 is the schematic flow sheet that Expander equipment is initiated the Discovery process in the embodiment of the invention.As shown in Figure 3, this flow process comprises the steps:
Step 301, Expander Equipment Inspection report SAS territory state variation message to SASinitiator when self SAS link changes.
In the present embodiment, during specific implementation, this SAS territory state variation message can be BROADCAST (CHANGE) message of stipulating in the existing protocol.Perhaps, in order to accelerate the understanding of SAS initiator to being changed, in this step, Expander equipment also can be when the SAS link that detects self changes, judge the device type that changes,, then can send the SAS territory state variation message that corresponding Expander equipment changes if the device type that changes is an Expander equipment, if the device type that changes is a SAS equipment, then can send the SAS territory state variation message that corresponding SAS equipment changes.
In the practical application, the SAS territory state variation message that SAS territory state variation message that corresponding Expander equipment changes and corresponding SAS equipment change can be provided with as required, for example, can expand former protocols having, obtains new message; It also can be the reservation message that utilizes in the former protocols having.
In the present embodiment, consider to remain with following BROADCAST primitive in the former protocols having:
BROADCAST (RESERVED CHANGE 0): keep.Handle according to the identical mode of BROADCAST (CHANGE).
BROADCAST (RESERVED CHANGE 1): keep.Handle according to the identical mode of BROADCAST (CHANGE).
BROADCAST (RESERVED 3): keep.Do not handle.
BROADCAST (RESERVED 4): keep.Do not handle.
Therefore, the SAS territory state variation message that SAS territory state variation message that two BROADCAST (CHANGE) primitive that can utilize in the agreement to be kept changes as corresponding Expander equipment respectively and corresponding SAS equipment change, correspondingly state variation message in SAS territory can be designated as BROADCAST (EXPANDER DEVICE CHANGE) message and BROADCAST (ENDDEVICE CHANGE) message respectively.
Step 302, SAS initiator is according to described SAS territory state variation message, sends the request of obtaining the phy information that changes to Expander equipment correspondingly.
Wherein, the request of obtaining the phy information that changes can be a kind of SMP (SerialManagement Protocol, serial management protocol) message, for this reason, can utilize the function that keeps in the agreement number SMP message to be expanded in the present embodiment, to obtain being used to obtain the request of the phy information that changes.For example, at present the function that keeps in the agreement number is the value from 0x40 to 0x7F, be example with the situation of selecting function 0x70 for use in the present embodiment, then can obtain the request form that obtains the phy information that changes as shown in table 1, this request can be designated as: SMP REPORT CHANGE LIST request.
Figure A200910082666D00151
Table 1
No matter SAS territory state variation message is which kind of message (being BROADCAST (CHANGE) message, BROADCAST (EXPANDER DEVICECHANGE) message or BROADCAST (END DEVICE CHANGE) message) in this step, it all can send above-mentioned request of obtaining the phy information that changes to the Expander equipment that is traversed successively according to the Expander equipment in the rank order traversal SAS territory.
In addition, when SAS territory state variation message is BROADCAST (END DEVICE CHANGE) message, in the present embodiment, SAS initiator also can send the request of obtaining the phy information that changes not according to said process, but can send the request of obtaining the phy information that changes by all the Expander equipment in the SAS territory, and in order to improve the efficient of processing, this request can be to send to all Expander equipment simultaneously.
Step 303, the Expander equipment that link change takes place returns the response of carrying the phy information that changes to SAS initiator.
In the present embodiment, the phy information that changes can comprise PHY ID (PHY IDENTIFIER) and the device type that is connected (ATTACHED DEVICE TYPE), leave or equipment adding etc. as equipment, further, the phy information that changes also can comprise the reason (ATTACHEDREASON) that changes and SAS address (SAS ADDRESS) of phy etc.Table 2 shows a kind of format description of the phy information that changes:
Table 2
During specific implementation, the response of carrying the phy information that changes can be designated as SMP REPORTCHANGE LIST response, and its message format can be as shown in table 3:
Figure A200910082666D00162
Figure A200910082666D00171
Table 3
In the practical application, to the SAS link of same Expander equipment, may have simultaneously not only that a SAS link changes, so the entrained phy information that changes may be not only one in the SMP REPORT CHANGE LIST response message.
In the present embodiment, the Expander equipment that link change does not take place can return the response of not carrying any phy information to SAS initiator, promptly can send SMP REPORTCHANGE LIST response as shown in table 3 equally, just wherein not have corresponding " REPORT CHANGE LISTdescriptor list (change inventory and describe tabulation) ".Perhaps, the Expander equipment that link change does not take place can not return any response to SAS initiator yet.
Step 304, after SAS initiator has returned the response that comprises the phy information that changes at certain Expander equipment, judge according to the connection device type in the described phy information whether described variation is that equipment adds, if, phy ID in the then corresponding described phy information sends the DISCOVER request, obtains the details (comprising the SAS address, physical link speed, routing property, connector information of institute's connection device etc.) of described phy.Afterwards, SAS initiator can utilize the details of the phy that changes that obtains that the information of current preservation is upgraded, and obtains the full detail in current SAS territory.
Wherein, if judge describedly when being changed to equipment and leaving according to the connection device type in the described phy information, the information that can revise the described phy of current preservation is connection device not.Wherein, if the equipment that leaves is Expander equipment, then the phy information of this equipment is revised as not connection device after, also all phy information of this Expander equipment subordinate are deleted.
More than the method for SAS domain change non-fully ergodic Discovery process in the embodiment of the invention is described in detail, again the system of SAS domain change non-fully ergodic Discovery process in the embodiment of the invention is described in detail below.
The system of SAS domain change non-fully ergodic Discovery process is SAS territory subsystem in the embodiment of the invention, comprising: Expander equipment, SAS equipment and SAS initiator.Wherein, the quantity of each equipment can have a plurality of.
During specific implementation, when the SAS link that Expander equipment is used to detect self changes, report SAS territory state variation message to SAS originating end initiator; Request according to the phy information that changes from obtaining of SAS initiator, when the SAS link of self changes, return the response of carrying the phy information that changes, otherwise can return the response of not carrying any phy information or not return any response to SAS initiator to SAS initiator to SASinitiator.
SAS initiator is used for according to the SAS territory state variation message from Expander equipment, send the request of obtaining the phy information that changes to Expander equipment correspondingly, and after having returned the response that comprises the phy information that changes at certain Expander equipment, judge according to the connection device type in the described phy information whether described variation is that equipment adds, if, phy ID in the then corresponding described phy information sends the DISCOVER request, obtains the details of described phy.Otherwise if equipment leaves, the information that then can revise the described phy of current preservation is connection device not.Wherein, if the equipment that leaves is Expander equipment, then the phy information of this equipment is revised as not connection device after, also all phy information of this Expander equipment subordinate are deleted.
During specific implementation, the internal structure of SAS initiator can have multiple specific implementation form, and Fig. 4 shows wherein a kind of.As shown in Figure 4, this SAS initiator can comprise: message sink unit, request transmitting unit and response processing unit.
Wherein, the message sink unit is used to receive the SAS territory state variation message from Expander equipment.
Request transmitting unit is used for according to described SAS territory state variation message, sends the request of obtaining the phy information that changes to Expander equipment correspondingly.
The response processing unit is used to receive the response that comprises the phy information that changes that certain Expander equipment returns, judge according to the connection device type in the phy information of carrying in the described response whether described variation is that equipment adds, if the phy ID in the then corresponding described phy information sends the DISCOVER request.
The internal structure of Expander equipment also can have multiple specific implementation form, and Fig. 5 shows wherein a kind of.As shown in Figure 5, this Expander equipment can comprise: information reporting unit and response transmitting element.
Wherein, the information reporting unit is used for reporting SAS territory state variation message to SASinitiator when the SAS link that detects self changes.
The response transmitting element is used for the request according to the phy information that changes from obtaining of SAS initiator, when the SAS link of self changes, returns the response of carrying the phy information that changes to SAS initiator.
Corresponding with method shown in Figure 3, the SAS territory state variation message that Expander equipment reports can be existing SAS territory state variation message, as BROADCAST (CHANGE) message, also can be the SAS territory state variation message that corresponding Expander equipment changes, as BROADCAST (EXPANDER DEVICE CHANGE) message, or the SAS territory state variation message that changes of corresponding SAS equipment, as BROADCAST (END DEVICE CHANGE) message.No matter be which kind of message, SAS initiator all can send above-mentioned request of obtaining the phy information that changes to the Expander equipment that is traversed successively according to the Expander equipment in the rank order traversal SAS territory.In addition, when SAS territory state variation message is BROADCAST (ENDDEVICE CHANGE) message, in the present embodiment, SAS initiator also can send the request of obtaining the phy information that changes not according to said process, but can send the request of obtaining the phy information that changes by all the Expander equipment in the SAS territory, and in order to improve the efficient of processing, this request can be to send to all Expander equipment simultaneously.
Correspondingly, when the information reporting unit in the Expander equipment changes at the SAS link that detects self, if when determining that according to described SAS link change the Expander equipment link to each other with self changes, the SAS territory state variation message that reports corresponding described Expander equipment to change to SAS initiator then; Otherwise, if when determining that according to described SAS link change the SAS equipment link to each other with self changes, the SAS territory state variation message that reports corresponding described SAS equipment to change to SAS initiator then.
Request transmitting unit among the SAS initiator can send the request of obtaining the phy information that changes to described Expander equipment successively according to the Expander equipment in the rank order traversal SAS territory; Perhaps, the described request transmitting element described SAS territory state variation message be corresponding SAS equipment change SAS territory state variation message the time, all the Expander equipment in the SAS territory send the request of obtaining the phy information that changes.In order to improve the efficient of processing, this request can be to send to all Expander equipment simultaneously.
Wherein, the request of obtaining the phy information that changes can be the SMP REPORT CHANGE LIST request of describing in the method as shown in Figure 3, and corresponding response also can be SMP REPORTCHANGE LIST response.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is preferred embodiment of the present invention; be not to be used to limit protection scope of the present invention; within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (19)

1, a kind of method of SAS domain change non-fully ergodic discovery Discovery process is characterized in that this method comprises:
Expander Expander Equipment Inspection reports SAS territory state variation message to SAS originating end initiator when self SAS link changes;
SAS initiator is according to described SAS territory state variation message, send the request of obtaining the phy information that changes to Expander equipment correspondingly, the Expander equipment that link change takes place returns the response of carrying the phy information that changes to SAS initiator;
After SAS initiator has returned the response that comprises the phy information that changes at certain Expander equipment, judge according to the connection device type in the described phy information whether described variation is that equipment adds, if the phy ID in the then corresponding described phy information sends the DISCOVER request.
2, the method for claim 1 is characterized in that, described SAS territory state variation message is: BROADCAST (CHANGE) message;
Described SAS initiator is according to described SAS territory state variation message, sending the request of obtaining the phy information that changes to Expander equipment correspondingly is: described SAS initiator is according to described BROADCAST (CHANGE) message, Expander equipment according in the rank order traversal SAS territory sends the request of obtaining the phy information that changes to described Expander equipment successively.
3, the method for claim 1, it is characterized in that, described SAS territory state variation message is: when Expander equipment determines that according to the SAS link change of self the Expander equipment that links to each other with self changes, and the SAS territory state variation message that corresponding described Expander equipment changes;
Described SAS initiator is according to described SAS territory state variation message, sending the request of obtaining the phy information that changes to Expander equipment correspondingly is: described SAS initiator is according to described SAS territory state variation message, Expander equipment according in the rank order traversal SAS territory sends the request of obtaining the phy information that changes to described Expander equipment successively.
4, method as claimed in claim 3, it is characterized in that the SAS territory state variation message that described corresponding Expander equipment changes is: BROADCAST (EXPANDER DEVICECHANGE) message that BROADCAST (CHANGE) primitive that is kept in the agreement is changed as corresponding Expander equipment.
5, the method for claim 1, it is characterized in that, described SAS territory state variation message is: when Expander equipment determines that according to the SAS link change of self the SAS equipment that links to each other with self changes, and the SAS territory state variation message that corresponding described SAS equipment changes;
Described SAS initiator is according to described SAS territory state variation message, sending the request of obtaining the phy information that changes to Expander equipment correspondingly is: described SAS initiator is according to described SAS territory state variation message, and all the Expander equipment in the SAS territory send the request of obtaining the phy information that changes.
6, method as claimed in claim 5, it is characterized in that described all Expander equipment in the SAS territory send the request of obtaining the phy information that changes and are: all the Expander equipment in the SAS territory send the request of obtaining the phy information that changes simultaneously.
7, method as claimed in claim 5, it is characterized in that the SAS territory state variation message that described corresponding SAS equipment changes is: BROADCAST (the END DEVICE CHANGE) message that BROADCAST (CHANGE) primitive that is kept in the agreement is changed as corresponding SAS equipment.
8, as each described method among the claim 1-7, it is characterized in that, this method further comprises: judge according to the connection device type in the described phy information whether described variation is that equipment leaves, if the information of then revising the described phy of current preservation is connection device not.
9, as each described method among the claim 1-7, it is characterized in that, this method further comprises: for the Expander equipment that does not comprise any phy information in the response of returning, SAS initiator judges that described Expander equipment does not change, and the phy to described Expander equipment does not send the DISCOVER request.
10, as each described method among the claim 1-7, it is characterized in that, described request of obtaining the phy information that changes is: utilize the function that keeps in the agreement number SMP message to be expanded the request REPORT CHANGE LIST request that is used to obtain the phy information that changes that obtains; Described response is: the REPORT CHANGE LIST response of corresponding described REPORT CHANGE LIST request.
11, a kind of system of SAS domain change non-fully ergodic discovery Discovery process is characterized in that this system comprises:
Expander equipment when the SAS link that is used to detect self changes, reports SAS territory state variation message to SAS originating end initiator; According to the request of the phy information that changes from obtaining of SAS initiator, when the SAS link of self changes, return the response of carrying the phy information that changes to SAS initiator;
SAS initiator, be used for according to SAS territory state variation message from Expander equipment, send the request of obtaining the phy information that changes to Expander equipment correspondingly, and after having returned the response that comprises the phy information that changes at certain Expander equipment, judge according to the connection device type in the described phy information whether described variation is that equipment adds, if the phy ID in the then corresponding described phy information sends the DISCOVER request.
12, system as claimed in claim 11, it is characterized in that, described SAS initiator further judges according to the connection device type in the described phy information whether described variation is that equipment leaves, if the information of then revising the described phy of current preservation is connection device not.
13, system as claimed in claim 11, it is characterized in that, described SAS initiator is further for the Expander equipment that does not comprise any phy information in the response of returning, judge that described Expander equipment does not change, the phy to described Expander equipment does not send the DISCOVER request.
14, system as claimed in claim 11 is characterized in that, described SAS initiator comprises:
The message sink unit is used to receive the SAS territory state variation message from Expander equipment;
Request transmitting unit is used for according to described SAS territory state variation message, sends the request of obtaining the phy information that changes to Expander equipment correspondingly;
The response processing unit, be used to receive the response that comprises the phy information that changes that certain Expander equipment returns, judge according to the connection device type in the phy information of carrying in the described response whether described variation is that equipment adds, if the phy ID in the then corresponding described phy information sends the DISCOVER request.
15, system as claimed in claim 14, it is characterized in that described SAS territory state variation message is: the SAS territory state variation message that SAS territory state variation message that existing SAS territory state variation message or corresponding Expander equipment change or corresponding SAS equipment change;
The described request transmitting element sends the request of obtaining the phy information that changes to described Expander equipment successively according to the Expander equipment in the rank order traversal SAS territory; Perhaps, the described request transmitting element described SAS territory state variation message be corresponding SAS equipment change SAS territory state variation message the time, all the Expander equipment in the SAS territory send the request of obtaining the phy information that changes simultaneously.
16, system as claimed in claim 15, it is characterized in that the SAS territory state variation message that described corresponding Expander equipment changes is: BROADCAST (EXPANDER DEVICECHANGE) message that BROADCAST (CHANGE) primitive that is kept in the agreement is changed as corresponding Expander equipment;
The SAS territory state variation message that described corresponding SAS equipment changes is: BROADCAST (the END DEVICE CHANGE) message that another BROADCAST (CHANGE) primitive that is kept in the agreement is changed as corresponding SAS equipment.
17, system as claimed in claim 11 is characterized in that, described Expander equipment comprises:
The information reporting unit is used for reporting SAS territory state variation message to SAS initiator when the SAS link that detects self changes;
The response transmitting element is used for the request according to the phy information that changes from obtaining of SAS initiator, when the SAS link of self changes, returns the response of carrying the phy information that changes to SAS initiator.
18, system as claimed in claim 17, it is characterized in that, when described information reporting unit changes at the SAS link that detects self, if when determining that according to described SAS link change the Expander equipment link to each other with self changes, the SAS territory state variation message that reports corresponding described Expander equipment to change to SAS initiator then; Otherwise, if when determining that according to described SAS link change the SAS equipment link to each other with self changes, the SAS territory state variation message that reports corresponding described SAS equipment to change to SAS initiator then.
19, as each described system among the claim 1-18, it is characterized in that, described request of obtaining the phy information that changes is: utilize the function that keeps in the agreement number SMP message to be expanded the request REPORT CHANGE LIST request that is used to obtain the phy information that changes that obtains; Described response is: the REPORT CHANGE LIST response of corresponding described REPORT CHANGE LIST request.
CN200910082666A 2009-04-23 2009-04-23 Method and system of SAS domain change non-fully ergodic discovery process Pending CN101534304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910082666A CN101534304A (en) 2009-04-23 2009-04-23 Method and system of SAS domain change non-fully ergodic discovery process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910082666A CN101534304A (en) 2009-04-23 2009-04-23 Method and system of SAS domain change non-fully ergodic discovery process

Publications (1)

Publication Number Publication Date
CN101534304A true CN101534304A (en) 2009-09-16

Family

ID=41104692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910082666A Pending CN101534304A (en) 2009-04-23 2009-04-23 Method and system of SAS domain change non-fully ergodic discovery process

Country Status (1)

Country Link
CN (1) CN101534304A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591838A (en) * 2010-11-15 2012-07-18 Lsi公司 A method for deterministic sas discovery and configuration
WO2016074151A1 (en) * 2014-11-11 2016-05-19 华为技术有限公司 Sas system, traversal method and device thereof
CN106933748A (en) * 2017-03-17 2017-07-07 郑州云海信息技术有限公司 The SAS address configuration methods and system of a kind of Expander
CN107305474A (en) * 2016-04-21 2017-10-31 佛山市顺德区顺达电脑厂有限公司 The stocking system of linking relationship can visually be indicated
CN110399171A (en) * 2019-07-23 2019-11-01 苏州浪潮智能科技有限公司 A kind of hard disk management method, system and associated component

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591838A (en) * 2010-11-15 2012-07-18 Lsi公司 A method for deterministic sas discovery and configuration
CN102591838B (en) * 2010-11-15 2015-04-08 Lsi公司 A method for deterministic sas discovery and configuration
WO2016074151A1 (en) * 2014-11-11 2016-05-19 华为技术有限公司 Sas system, traversal method and device thereof
US10049068B2 (en) 2014-11-11 2018-08-14 Huawei Technologies Co., Ltd. SAS system, SAS system traversal method, and apparatus
CN107305474A (en) * 2016-04-21 2017-10-31 佛山市顺德区顺达电脑厂有限公司 The stocking system of linking relationship can visually be indicated
CN107305474B (en) * 2016-04-21 2020-07-21 佛山市顺德区顺达电脑厂有限公司 Storage system capable of visually indicating link relation
CN106933748A (en) * 2017-03-17 2017-07-07 郑州云海信息技术有限公司 The SAS address configuration methods and system of a kind of Expander
CN110399171A (en) * 2019-07-23 2019-11-01 苏州浪潮智能科技有限公司 A kind of hard disk management method, system and associated component
CN110399171B (en) * 2019-07-23 2022-06-07 苏州浪潮智能科技有限公司 Hard disk management method, system and related components

Similar Documents

Publication Publication Date Title
CN100502324C (en) Method for obtaining chain circuit evaluating parameter
CN101432721B (en) Detection of potential forwarding loops in bridged networks
CN101459534B (en) Network topology collecting method for tree shaped network and network equipment
CN101267363A (en) Loop testing method, system and device
CN103929492A (en) Method, devices and system for load balancing of service chain
CN101764751A (en) Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN
CN101534304A (en) Method and system of SAS domain change non-fully ergodic discovery process
CN103024028A (en) Virtual machine IP (Internet Protocol) address detection system and method in cloud computing
CN105530115B (en) A kind of method and device for realizing operation management maintainance function
WO2014056345A1 (en) Management method and apparatus for monitoring task
CN104283802A (en) Neighbor discovery method and device
WO2007144788A3 (en) Lan topology detection and assignment of addresses
CN104579729B (en) The notification method and device of CGN single board default
CN101924777B (en) Method, system and equipment for searching active nodes in P2P streaming media system
CN1781282A (en) An ad-hoc network, a network device and a method of configuration management therefor
CN108924011A (en) Monitoring system, relevant device, method and medium for OSPF+ Routing Protocol
CN103200124A (en) Service strategy adjustment method and service strategy adjustment device
CN101873232A (en) Judgment method of equipment uniqueness and IP network discovery server
CN101102231B (en) An automatic discovery method and device of PPP link routing device
CN114978871B (en) Node switching method and node switching device of service system and electronic equipment
CN109450810A (en) Identify the method and device of redundancy message
CN112422428B (en) Link state acquisition method and device, electronic equipment and readable storage medium
CN110932975B (en) Flow table issuing method, data forwarding method and device and electronic equipment
JP2010527475A (en) Information appliance data storage system and data processing method
CN114374705A (en) Service cluster and message pushing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090916