1. Field of the Invention
The present invention relates to a system for transferring information and method thereof; in particular, it relates to a system for transferring information applicable to a disc storage architecture and a method thereof.
2. Description of Related Art
In a disc storage system, it commonly utilizes a dual-processor architecture: a storage processor, which is used for implementing the processes of disc storage protocol and information input/output (I/O); a management processor, which is used for the management of peripheral components, such as non-volatile memory (e.g. Electronic Erasable Programmable Read-Only Memory, EEPROM). In many applications, it is necessary to store specific information in the peripheral devices for future updating, and the specific information is usually the required information when dealing with disc storage protocol or information I/O processes. The practical example of the specific information described supra is World Wide Name (WWN). WWN is the indicator specifying only storage processor used in storage network, which is characterized in two features: on one hand, it is relatively fixed; on the other hand, it needs to be modified under certain circumstances. Once the system is initiated, until modified and then re-initiated, the system will use the modified WWN. To facilitate modification, it is usual to save the WWN in the storage processor of a peripheral device, such as non-volatile memory (e.g. EEPROM).
However, in the dual-processor architecture, suppose the aforementioned WWN information needs to be used, whereas there does not exist an effective dual-processor information transfer technology, then the only approach is to separate the peripheral devices into two types. The first type is used for connecting the peripheral devices storing the above-mentioned specific information to the storage processor, while the other type is used for connecting other peripheral devices to the management processor. But this management approach of dividing peripheral devices into two types apparently conflicts with the design purpose of management processor which is specifically employed for peripheral device management.
Therefore, as the system initiated, the management processor needs to, through the transfer interface, efficiently and correctly transfer the information required for the operations of the storage processor to the storage processor. Furthermore, after successful reception of the information at the storage processor, it needs to reply to the management processor via the transfer interface.
The present invention discloses a system for transferring information and method thereof, which is employed in a disc storage architecture. When the information transfer system initiated, the information required by the storage processor in the disc storage architecture will be correctly sent by the management processor to the storage processor.
The system for transferring information of the present invention includes a management processor, a storage processor and a peripheral component. Between the management processor and the storage processor there connects an Internal Integrated Circuit (I2C) bus and a General Purpose Input/Output (GPIO) bus. The I2C bus is used for information transfer between these two processors, and the GPIO bus is used for acknowledged instruction of the reception of information. During the initiation course of the system for transferring information of the present invention, the management processor keeps sending information through the I2C bus to the storage processor, until it appreciates, via the GPIO bus, that the storage processor has successfully and correctly received the information, then continues the subsequent processes. At the same time, during the initiation course of the system for transferring information of the present invention, the storage processor should wait, through the I2C bus, for the information from the management processor, and only after the information has been successfully and correctly received can it continue to execute the subsequent logics. The aforementioned information can be the World Wide Name (WWN), Media Access Control (MAC) address, identification data or other information. Meanwhile, inside the information there can include contents such as verification code, so as to ensure the correctness of the information.
The method for transferring information is applied in the above-mentioned system for transferring information, which consists of the following steps: at the beginning, the management processor loads in the management operating system, such a management operating system can initialize the management processor, thus turning it into an I2C bus controlling element. Besides, the storage processor loads in the storage operating system, such a storage operating system can initialize the storage processor, thus turning it into an I2C bus controlled element, which will be used to store a local variable of the information, initialized as an invalid information value (INVALID_INFO_VALUE). Thereafter, the management processor reads the information from a peripheral component (memory), and writes the information into the storage processor by way of an I2C bus. Next, through a GPIO bus, determining whether the storage processor has successfully and correctly received the transferred information; if not yet done, then the management processor keeps writing the information to the storage processor; contrarily, if yes, the management processor continues its executions of subsequent logics.
In the above-mentioned step of the management processor reading information from the peripheral component (memory) and writing the acquired information to the storage processor, the storage processor will decide whether the information stored by the local variable is valid. In the description supra, if not valid, then the storage processor will inquire the register in the I2C bus, and read the information therein to the local variable, then decide again whether the information stored by the local variable is valid. Contrarily, if valid, then the storage processor notifies the management processor through the GPIO bus that the information has been successful and correctly received, and continues the execution of subsequent logics.
Thus, during the initiation course of the system for transferring information of the present invention, the management processor, by means of managing the peripheral component, keeps sending the information stored in the peripheral component to the storage processor, hence the present invention meets the design purpose of the management processor which is specifically used for peripheral component management. Meanwhile, after that the storage processor accomplishes the reception of the information, it replies to the management processor via the transfer interface, thus achieving the correctness of the information transfer.
The aforementioned summary and the following detailed descriptions are merely exemplary, which are directed to further explain the scope of the present invention. Other objectives and advantages of the present invention will be set out in the subsequent descriptions and drawings.
Refer now to
Refer now again to
Refer now once again to
Refer yet again to
Additionally, during the initiation course of the system for transferring information of the present invention, the storage processor 12 should wait for the information from the management processor 10 through the I2C bus 14, and only when the information has been successfully and correctly received therein can it stop receiving the information as well as perform the subsequent logics. The aforementioned information can be the World Wide Name (WWN), Media Access Control (MAC) address, identification data or other information. Besides, the information may include verification code for ensuring the correctness of the information.
Refer now to
In conjunction with
Thereafter, the management processor 10 reads the information from the peripheral component 18 (memory), and writes the information into the storage processor by way of an I2C bus (S12). Next, through the GPIO bus 16, determining whether the storage processor 12 has successfully and correctly received the transferred information (S14); if not yet done, then the management processor 10 keeps writing the information to the storage processor 12 (S12); contrarily, if yes, the management processor 10 continues its executions of subsequent logics (S16).
After the step (S13), the storage processor 12 will decide whether the information stored by the local variable is valid (S15). In the description supra, if the stored information in the local variable is invalid, then the storage processor 12 will inquire the register in the I2C bus (not shown), and read the information therein to the local variable (not shown) (S17), and decide again whether the information stored by the local variable is valid (S15). Contrarily, if the information stored by the local variable is valid, then the storage processor 12 notifies the management processor 10 through the GPIO bus 16 that the information has been successful and correctly received (S18), and continues the executions of subsequent logics (S19).
In summary, the system for transferring information of the present invention includes a management processor, a storage processor and a peripheral component. Between the management processor and the storage processor there connects an Internal Integrated Circuit (I2C) bus and a General Purpose Input/Output (GPIO) bus, wherein the I2C bus is used for information transfer between these two processors, and the GPIO bus is used for acknowledged instruction of the reception of information. Thus, during the initiation course of the system for transferring information of the present invention, the management processor keeps sending information through the I2C bus to the storage processor, until it appreciates that the storage processor has successfully and correctly received the information, then continues the subsequent processes. While the storage processor should wait for the information from the management processor, and only after the information has been successfully and correctly received can it continue to execute the subsequent logics.
The above-mentioned descriptions represent merely the preferred embodiment of the present invention, while the aspects of the present invention are by no means limited thereto. Various changes, alternations or modifications that any skilled ones in the related arts of the present invention can easily contemplate are all viewed as falling within the scope of the present invention defined by the following claims.
This Application is based on Provisional Patent Application Ser. No. 60/973,562, filed 19 Sep. 2007, currently pending.
| Number | Date | Country | |
|---|---|---|---|
| 60973562 | Sep 2007 | US |