Patent ID: 8266713
Filing Date: 2012-09-11
Classification: G06F,G06K,G07F

Abstract:
1. A system for transmitting and dispatching data stream, suitable for transmitting data stream to a storage device having a non-volatile memory and a smart card chip from a host, the system for transmitting and dispatching data stream comprising: an application program, installed on the host and used for operating the storage device; and a controller, disposed in the storage device and electrically connected to the non-volatile memory and the smart card chip, wherein the application program transmits a key to the controller, and the controller stores the key, wherein the application program creates a temporary file on a logical block address of the non-volatile memory, generates a first value, generates a second value by encrypting the first value via the key and transmits a key verification writing command for writing the first value and the second value into the temporary file to the controller, wherein the controller receives the key verification writing command with the first value and the second value, decrypts the received second value to obtain a third value, determines whether the third value is the same as the received first value and when the third value is the same as the received first value, records the logical block address of the temporary file, wherein the controller judges whether the data stream transmitted to the storage device from the host is written to the logical block address of the temporary file, and when the data stream is written to the logical block address of the temporary file, the data stream is then judged to be a communication data unit of the smart card chip, and the controller dispatches the data stream to the smart card chip.