Nothing Special   »   [go: up one dir, main page]

TWM606415U - Control system of accessing data for memory storage - Google Patents

Control system of accessing data for memory storage Download PDF

Info

Publication number
TWM606415U
TWM606415U TW109210799U TW109210799U TWM606415U TW M606415 U TWM606415 U TW M606415U TW 109210799 U TW109210799 U TW 109210799U TW 109210799 U TW109210799 U TW 109210799U TW M606415 U TWM606415 U TW M606415U
Authority
TW
Taiwan
Prior art keywords
interface
memory storage
storage device
host system
selector
Prior art date
Application number
TW109210799U
Other languages
Chinese (zh)
Inventor
胡耀中
Original Assignee
創惟科技股份有限公司
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 創惟科技股份有限公司 filed Critical 創惟科技股份有限公司
Priority to TW109210799U priority Critical patent/TWM606415U/en
Publication of TWM606415U publication Critical patent/TWM606415U/en

Links

Images

Landscapes

  • Bus Control (AREA)

Abstract

A control system of accessing data and method thereof for memory storage are provided. The control system includes a memory storage interface, a host system interface, and a control device. When a memory storage operates in a first communication protocol, the memory storage interface electrically connects to the host system interface via a second selector, a bridge device, and a first selector. When a memory storage operates in a second communication protocol, the memory storage interface electrically connects to the host system interface via the second selector, and the memory storage interface electrically connects to the host system interface via the first selector. When a memory storage operates in a third communication protocol, the memory storage interface electrically connects to the host system interface via a first selector, a second selector, a third selector, and a bridge device.

Description

記憶體儲存裝置的讀寫控制系統Read and write control system of memory storage device

本創作係關於一種電子裝置及方法,特別是關於一種記憶體儲存裝置的讀寫控制系統及方法。This creation is related to an electronic device and method, in particular to a read-write control system and method of a memory storage device.

隨著資訊技術的快速發展,電子產品的應用日益普及,例如筆記型電腦、手機以及平板電腦等手持式電子裝置處處可見。這些電子裝置的特點是可隨身攜帶、隨時隨地使用,並且為了使各種電子裝置之間可以互相進行較大量的資料傳輸,故通常是以記憶體儲存裝置插接於記憶體存取裝置使上述的電子產品可讀寫該記憶體儲存裝置的資料,以擴充該電子產品的記憶體儲存容量。With the rapid development of information technology, the application of electronic products has become increasingly popular, such as handheld electronic devices such as notebook computers, mobile phones, and tablet computers. The characteristics of these electronic devices are that they can be carried and used anytime and anywhere, and in order to enable a large amount of data transmission between various electronic devices, it is usually the memory storage device that is plugged into the memory access device to make the above The electronic product can read and write data of the memory storage device to expand the memory storage capacity of the electronic product.

然而隨著記憶體儲存裝置的資料存取速度越來越快,無法以較舊版本規格的控制方式來存取較新版本規格的記憶體儲存裝置,致使較新規格的記憶體儲存裝置無法在較舊版本規格的記憶體存取裝置中使用,即,較新規格的記憶體儲存裝置無法支援較舊版本規格的記憶體存取裝置的存取,造成記憶體儲存裝置與記憶體存取裝置的控制晶片之間相容性的問題,並且降低記憶體儲存裝置的使用彈性。有鑑於此,目前仍需要發展一種新式的電子裝置及方法,以改善上述問題。However, as the data access speed of the memory storage device becomes faster and faster, it is impossible to access the memory storage device of the newer version specification with the control method of the older version specification, so that the memory storage device of the newer specification cannot be Used in memory access devices of older version specifications, that is, memory storage devices of newer specifications cannot support access of memory access devices of older specifications, resulting in memory storage devices and memory access devices The problem of compatibility between the control chips and reduce the flexibility of the memory storage device. In view of this, there is still a need to develop a new type of electronic device and method to improve the above problems.

本創作之一目的在於提供一種讀寫控制系統及方法,藉由控制裝置的控制模組、第一選擇器以及第三選擇器,使主機系統透過第一介面、第二介面以及第三介面,即可支援不同的通訊協定讀寫記憶體儲存裝置的資料,解決記憶體儲存裝置與讀寫控制系統之間相容性的問題,並且提高記憶體儲存裝置的使用彈性,同時降低讀寫控制系統的生產成本。One of the purposes of this creation is to provide a read-write control system and method, through the control module of the control device, the first selector, and the third selector, so that the host system can use the first interface, the second interface, and the third interface. It can support different communication protocols to read and write the data of the memory storage device, solve the compatibility problem between the memory storage device and the read-write control system, and increase the flexibility of the memory storage device while reducing the read-write control system Production costs.

為達成上述目的,本創作之第一實施例中提供一種讀寫控制系統,用以供一主機系統讀寫一記憶體儲存裝置的資料,該讀寫控制系統包括:一記憶體儲存裝置介面,用以連接該記憶體儲存裝置;一主機系統介面,電性連接該記憶體儲存裝置介面,且該主機系統連接該主機系統介面;以及一控制裝置,包括一控制模組以及一第一選擇器,該控制模組電性連接該記憶體儲存裝置介面、該主機系統介面以及該第一選擇器,該第一選擇器電性連接該主機系統介面,該控制模組包括:一橋接裝置,電性連接該主機系統介面、該記憶體儲存裝置介面以及該第一選擇器;以及一第二選擇器,電性連接該主機系統介面、該記憶體儲存裝置介面以及該橋接裝置;其中,該控制裝置更包括一第三選擇器,該第三選擇器電性連接該記憶體儲存裝置介面、橋接裝置以及該第一選擇器;其中,當該記憶體儲存裝置以一第一通訊協定運作時,該記憶體儲存裝置介面經該第二選擇器、該橋接裝置以及該第一選擇器來與該主機系統介面電性連接;其中,當該記憶體儲存裝置以一第二通訊協定運作時,該記憶體儲存裝置介面經該第二選擇器以與該主機系統介面電性連接,該記憶體儲存裝置介面亦經該第三選擇器以及該第一選擇器以與該主機系統介面電性連接;其中,當該記憶體儲存裝置以一第三通訊協定運作時,該記憶體儲存裝置介面經該第二選擇器以及該橋接裝置以與該主機系統介面電性連接,該記憶體儲存裝置介面亦經該第三選擇器、該橋接裝置以及該第一選擇器以與該主機系統介面電性連接。To achieve the above objective, the first embodiment of the present invention provides a read-write control system for a host system to read and write data of a memory storage device. The read-write control system includes: a memory storage device interface, Used to connect the memory storage device; a host system interface electrically connected to the memory storage device interface, and the host system connects to the host system interface; and a control device including a control module and a first selector , The control module is electrically connected to the memory storage device interface, the host system interface and the first selector, the first selector is electrically connected to the host system interface, the control module includes: a bridge device, electrical The host system interface, the memory storage device interface and the first selector; and a second selector electrically connected to the host system interface, the memory storage device interface, and the bridge device; wherein, the control The device further includes a third selector electrically connected to the memory storage device interface, the bridge device, and the first selector; wherein, when the memory storage device operates under a first communication protocol, The memory storage device interface is electrically connected to the host system interface through the second selector, the bridge device, and the first selector; wherein, when the memory storage device operates under a second communication protocol, the The memory storage device interface is electrically connected to the host system interface through the second selector, and the memory storage device interface is also electrically connected to the host system interface through the third selector and the first selector; Wherein, when the memory storage device operates under a third communication protocol, the memory storage device interface is electrically connected to the host system interface via the second selector and the bridge device, and the memory storage device interface is also The third selector, the bridge device and the first selector are electrically connected to the host system interface.

在一實施例中,該控制裝置偵測該記憶體儲存裝置電性連接該記憶體儲存裝置介面,並預設以該第一通訊協定與該記憶體儲存裝置連接,以該第一通訊協定啟動該記憶體儲存裝置。In one embodiment, the control device detects that the memory storage device is electrically connected to the memory storage device interface, and connects to the memory storage device by the first communication protocol by default, and activates by the first communication protocol The memory storage device.

在一實施例中,該橋接裝置包括:一第一介面,電性連接該主機系統介面以及該第一選擇器;以及一第二介面,電性連接該記憶體儲存裝置介面、該第一介面以及該第二選擇器;一第三介面,電性連接該第一介面、該第二介面以及該第三選擇器;其中,當該記憶體儲存裝置以該第一通訊協定運作時,該記憶體儲存裝置介面經由該第二選擇器、該第二介面以及該第一介面,並且經由該控制裝置的該第一選擇器,以與該主機系統介面電性連接,其中該記憶體儲存裝置介面、該第二介面、該第一介面以及該主機系統介面間的傳輸路徑定義為一第一傳輸路徑,該記憶體儲存裝置介面、該第二選擇器、該第二介面、該第一介面、該第一選擇器以及該主機系統介面間的傳輸路徑定義為一第二傳輸路徑,使該主機系統透過該第一傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第二傳輸路徑以該第一通訊協定讀寫該記憶體儲存裝置的該資料;其中,當該記憶體儲存裝置以該第二通訊協定運作時,該記憶體儲存裝置介面經由該第二選擇器以與該主機系統介面電性連接,並且該記憶體儲存裝置介面經由該控制裝置的該第三選擇器以及第一選擇器,以與該主機系統介面電性連接,其中該記憶體儲存裝置介面、該第二選擇器以及該主機系統介面間的傳輸路徑定義為一第三傳輸路徑,該記憶體儲存裝置介面、該第一選擇器、該第三選擇器以及該主機系統介面間的傳輸路徑定義為一第四傳輸路徑,使該主機系統透過該第三傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第四傳輸路徑以該第二通訊協定讀寫該記憶體儲存裝置的該資料;其中,當該記憶體儲存裝置以該第三通訊協定運作時,該記憶體儲存裝置介面經由該第二選擇器、該第三介面以及該第一介面,以與該主機系統介面電性連接,並且該記憶體儲存裝置介面經由該控制裝置的該第三選擇器、該第三介面、該第一介面以及該第一選擇器,以與該主機系統介面電性連接,其中該記憶體儲存裝置介面、該第二選擇器、第三介面、第一介面以及該主機系統介面定義為一第五傳輸路徑,該記憶體儲存裝置介面、該第三選擇器、該第三介面、該第一介面、該第一選擇器以及該主機系統介面定義為一第六傳輸路徑,使該主機系統透過該第五傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第六傳輸路徑以該第三通訊協定讀寫該記憶體儲存裝置的該資料。In one embodiment, the bridge device includes: a first interface electrically connected to the host system interface and the first selector; and a second interface electrically connected to the memory storage device interface and the first interface And the second selector; a third interface electrically connected to the first interface, the second interface and the third selector; wherein, when the memory storage device operates under the first communication protocol, the memory The volume storage device interface is electrically connected to the host system interface via the second selector, the second interface, and the first interface, and via the first selector of the control device, wherein the memory storage device interface , The transmission path between the second interface, the first interface and the host system interface is defined as a first transmission path, the memory storage device interface, the second selector, the second interface, the first interface, The transmission path between the first selector and the host system interface is defined as a second transmission path, so that the host system communicates with the memory storage device interface through the first transmission path and communicates with the memory storage device through the second transmission path. The first communication protocol reads and writes the data of the memory storage device; wherein, when the memory storage device operates with the second communication protocol, the memory storage device interface is used to interface with the host system through the second selector And the memory storage device interface is electrically connected to the host system interface through the third selector and the first selector of the control device, wherein the memory storage device interface and the second selector And the transmission path between the host system interface is defined as a third transmission path, and the transmission path between the memory storage device interface, the first selector, the third selector, and the host system interface is defined as a fourth transmission Path, so that the host system communicates with the memory storage device interface through the third transmission path, and reads and writes the data of the memory storage device through the fourth transmission path using the second communication protocol; wherein, when the memory When the volume storage device operates under the third communication protocol, the memory storage device interface is electrically connected to the host system interface through the second selector, the third interface, and the first interface, and the memory storage The device interface is electrically connected to the host system interface through the third selector, the third interface, the first interface, and the first selector of the control device, wherein the memory storage device interface, the second The selector, the third interface, the first interface, and the host system interface are defined as a fifth transmission path, the memory storage device interface, the third selector, the third interface, the first interface, and the first selection The device and the host system interface are defined as a sixth transmission path, so that the host system communicates with the memory storage device interface through the fifth transmission path, and reads and writes the memory through the sixth transmission path using the third communication protocol The data of the body storage device.

在一實施例中,該主機系統介面包括一第一子介面以及一第二子介面,該第一選擇器包括一第一傳收端以及一第二傳收端,該第三選擇器包括一第三傳收端以及一第四傳收端,當該記憶體儲存裝置以該第一通訊協定運作時,該主機系統透過該橋接裝置的該第一介面產生一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶體儲存裝置介面透過該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面,該記憶體儲存裝置介面亦透過該第二選擇器以及該橋接裝置的該第一介面與該第二介面電性連接該主機系統介面的該第一子介面。In one embodiment, the host system interface includes a first sub-interface and a second sub-interface, the first selector includes a first transmitting and receiving end and a second transmitting and receiving end, and the third selector includes a The third transmitting and receiving end and the fourth transmitting and receiving end. When the memory storage device operates under the first communication protocol, the host system generates a first trigger signal through the first interface of the bridge device to trigger the first The first transmitting and receiving end of the selector allows the memory storage device interface to be electrically connected to the second sub-interface of the host system interface through the bridge device and the first transmitting and receiving end, and the memory storage device interface is also The first sub-interface of the host system interface is electrically connected through the second selector and the first interface and the second interface of the bridge device.

在一實施例中,當該記憶體儲存裝置以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器電性連接該主機系統介面的該第一子介面,且該主機系統透過該第三介面產生一第三觸發信號觸發該第三選擇器的該第四傳收端,該主機系統透過該第一介面產生該第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶體儲存裝置介面透過該第四傳收端以及該第二傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory storage device operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal to allow the memory storage device interface to pass through the second The selector is electrically connected to the first sub-interface of the host system interface, and the host system generates a third trigger signal through the third interface to trigger the fourth transmitting and receiving end of the third selector, and the host system through the The first interface generates the first trigger signal to trigger the second transmitting and receiving end of the first selector, so that the memory storage device interface is electrically connected to the host through the fourth transmitting and receiving end and the second transmitting and receiving end The second sub-interface of the system interface.

在一實施例中,當該記憶體儲存裝置以該第三通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器、該第三介面以及該第一介面電性連接該主機系統介面的該第一子介面,且該主機系統透過該第一介面產生該第一觸發信號觸發該第一選擇器的該第一傳收端,該主機系統透過該第三介面產生一第三觸發信號觸發該第三選擇器,以讓該記憶體儲存裝置介面透該第三傳收端以及該第一傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory storage device operates under the third communication protocol, the second interface triggers the second selector with a second trigger signal to allow the memory storage device interface to pass through the second The selector, the third interface, and the first interface are electrically connected to the first sub-interface of the host system interface, and the host system generates the first trigger signal through the first interface to trigger the first selector of the first selector A transmitting and receiving end, the host system generates a third trigger signal through the third interface to trigger the third selector, so that the memory storage device interface is electrically transparent to the third transmitting and receiving end and the first transmitting and receiving end The second sub-interface of the host system interface is connected.

在一實施例中,當該記憶體儲存裝置以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端。In one embodiment, when the memory storage device operates under the second communication protocol, the host system interface disconnects the first transmission and reception end of the first selector.

在一實施例中,該主機系統透過該主機系統介面、該第一選擇器的該第一傳收端以及該第二選擇器與該記憶體儲存裝置通訊,以判斷該記憶體儲存裝置是否支援該主機系統的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本。In one embodiment, the host system communicates with the memory storage device through the host system interface, the first transmitting and receiving end of the first selector, and the second selector to determine whether the memory storage device supports The protocol version of the host system, the protocol version includes PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions.

在一實施例中,當該主機系統經該主機系統介面確認該記憶體儲存裝置的該第一通訊協定支援該主機系統的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端讀寫該記憶體儲存裝置的該資料,當該主機系統經該主機系統介面確認該記憶體儲存裝置的該第二通訊協定支援該主機系統的PCIe3.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第二傳收端以及該第三選擇器的該第四傳收端讀寫該記憶體儲存裝置的該資料,當該主機系統經該主機系統介面確認該記憶體儲存裝置的該第三通訊協定支援該主機系統的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端、該第一介面、該第三介面以及該第三選擇器的該第三傳收端讀寫該記憶體儲存裝置的該資料。In one embodiment, when the host system confirms through the host system interface that the first communication protocol of the memory storage device supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system, the host system uses the The host system interface and the first transmitting and receiving end of the first selector read and write the data of the memory storage device, when the host system confirms through the host system interface that the second communication protocol of the memory storage device supports the The PCIe3.0 protocol version of the host system, the host system reads and writes to the memory storage device through the host system interface and the second transmitting and receiving end of the first selector and the fourth transmitting and receiving end of the third selector When the host system confirms through the host system interface that the third communication protocol of the memory storage device supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system, the host system passes the host system The interface and the first transmitting and receiving end of the first selector, the first interface, the third interface and the third transmitting and receiving end of the third selector read and write the data of the memory storage device.

在一實施例中,當該記憶體儲存裝置支援該第二通訊協定的運作時,該主機系統的一非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面以及該第一選擇器的該第二傳收端存取該記憶體儲存裝置的資料。In one embodiment, when the memory storage device supports the operation of the second communication protocol, a non-volatile memory shortcut (NVMe) protocol driver of the host system passes through the host system interface and the first selector The second transmitting and receiving end accesses the data of the memory storage device.

在一實施例中,該記憶體儲存裝置的該第一通訊協定以及第三通訊協定定義為安全數位(SD)模式,該記憶體儲存裝置的該第二通訊協定定義為快捷安全數位(SD Express)模式。In one embodiment, the first communication protocol and the third communication protocol of the memory storage device are defined as a secure digital (SD) mode, and the second communication protocol of the memory storage device is defined as a fast secure digital (SD Express) mode. )mode.

在一實施例中,該記憶體儲存裝置的該第一通訊協定以及該第三通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率,該第一通訊協定的資料傳輸率小於該第三通訊協定的資料傳輸率。In one embodiment, the data transfer rate of the first communication protocol and the third communication protocol of the memory storage device is less than the data transfer rate of the second communication protocol, and the data transfer rate of the first communication protocol is less than the data transfer rate of the first communication protocol. 3. The data transfer rate of the communication protocol.

本創作之第二實施例中提供一種讀寫控制系統,用以供一主機系統讀寫一記憶體儲存裝置的資料,該讀寫控制系統包括:一第一傳輸路徑,連接於一記憶體儲存裝置介面、一橋接裝置以及一主機系統介面之間,其中該記憶體儲存裝置介面用以連接該記憶體儲存裝置;一第二傳輸路徑,連接於該記憶體儲存裝置介面、一第二選擇器、該橋接裝置、一第一選擇器以及該主機系統介面之間;一第三傳輸路徑,連接於該記憶體儲存裝置介面、該第二選擇器以及該主機系統介面之間;以及一第四傳輸路徑,連接於該記憶體儲存裝置介面、一第三選擇器、該第一選擇器以及該主機系統介面之間;一第五傳輸路徑,連接於該記憶體儲存裝置介面、該第二選擇器、該橋接裝置以及該主機系統介面之間;一第六傳輸路徑,連接於該記憶體儲存裝置介面、該第三選擇器、該橋接裝置、該第一選擇器以及該主機系統介面之間;其中,當該記憶體儲存裝置以該第一通訊協定運作時,該主機系統經該主機系統介面透過該第一傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第二傳輸路徑以該第一通訊協定讀寫該記憶體儲存裝置的該資料;其中,當該記憶體儲存裝置以該第二通訊協定運作時,該主機系統經該主機系統介面透過該第三傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第四傳輸路徑以該第二通訊協定讀寫該記憶體儲存裝置的該資料;其中,當該記憶體儲存裝置以該第三通訊協定運作時,該主機系統經該主機系統介面透過該第五傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第六傳輸路徑以該第三通訊協定讀寫該記憶體儲存裝置的該資料。The second embodiment of the present invention provides a read-write control system for a host system to read and write data in a memory storage device. The read-write control system includes: a first transmission path connected to a memory storage Between the device interface, a bridge device, and a host system interface, the memory storage device interface is used to connect the memory storage device; a second transmission path is connected to the memory storage device interface and a second selector , The bridge device, a first selector, and the host system interface; a third transmission path connected between the memory storage device interface, the second selector, and the host system interface; and a fourth A transmission path is connected between the memory storage device interface, a third selector, the first selector, and the host system interface; a fifth transmission path is connected to the memory storage device interface and the second selection A sixth transmission path connected between the memory storage device interface, the third selector, the bridge device, the first selector, and the host system interface ; Wherein, when the memory storage device operates with the first communication protocol, the host system communicates with the memory storage device interface through the host system interface through the first transmission path and communicates with the memory storage device interface through the second transmission path The first communication protocol reads and writes the data of the memory storage device; wherein, when the memory storage device operates under the second communication protocol, the host system communicates with the memory through the third transmission path through the host system interface The volume storage device interface communicates and reads and writes the data of the memory storage device using the second communication protocol through the fourth transmission path; wherein, when the memory storage device operates under the third communication protocol, the host system The host system interface communicates with the memory storage device interface through the fifth transmission path, and reads and writes the data of the memory storage device through the sixth transmission path using the third communication protocol.

在一實施例中,該主機系統介面包括一第一子介面以及一第二子介面,該橋接裝置包括一第一介面、第二介面以及一第三介面,該第一選擇器包括一第一傳收端以及一第二傳收端,該第三選擇器包括一第三傳收端以及一第四傳收端,當該記憶體儲存裝置以該第一通訊協定運作時,該主機系統經該第一介面產生一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶體儲存裝置介面透過該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面,該記憶體儲存裝置介面亦透過該第二選擇器以及該橋接裝置的該第一介面與該第二介面電性連接該主機系統介面的該第一子介面。In one embodiment, the host system interface includes a first sub-interface and a second sub-interface, the bridge device includes a first interface, a second interface, and a third interface, and the first selector includes a first Transmitting and receiving end and a second transmitting and receiving end. The third selector includes a third transmitting and receiving end and a fourth transmitting and receiving end. When the memory storage device operates under the first communication protocol, the host system The first interface generates a first trigger signal to trigger the first transmitting and receiving end of the first selector, so that the memory storage device interface is electrically connected to the host system interface through the bridge device and the first transmitting and receiving end The second sub-interface and the memory storage device interface are also electrically connected to the first sub-interface of the host system interface through the second selector and the first interface and the second interface of the bridge device.

在一實施例中,當該記憶體儲存裝置以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器電性連接該主機系統介面的該第一子介面,且該主機系統透過該第三介面產生一第三觸發信號觸發該第三選擇器的該第四傳收端,該主機系統介面以該第一介面產生該第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶體儲存裝置介面透過該第四傳收端以及該第二傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory storage device operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal to allow the memory storage device interface to pass through the second The selector is electrically connected to the first sub-interface of the host system interface, and the host system generates a third trigger signal through the third interface to trigger the fourth transmitting and receiving end of the third selector, and the host system interface is The first interface generates the first trigger signal to trigger the second transmitting and receiving end of the first selector, so that the memory storage device interface is electrically connected to the fourth transmitting and receiving end and the second transmitting and receiving end The second sub-interface of the host system interface.

在一實施例中,當該記憶體儲存裝置以該第三通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器、該第三介面以及該第一介面電性連接該主機系統介面的該第一子介面,且該主機系統透過該第一介面產生該第一觸發信號觸發該第一選擇器的該第一傳收端,該主機系統透過該第三介面產生一第三觸發信號觸發該第三選擇器,以讓該記憶體儲存裝置介面透該第三傳收端以及該第一傳收端電性連接該主機系統介面的該第二子介面。在一實施例中,第三介面經過該第二介面電性連接該第一介面。In one embodiment, when the memory storage device operates under the third communication protocol, the second interface triggers the second selector with a second trigger signal to allow the memory storage device interface to pass through the second The selector, the third interface, and the first interface are electrically connected to the first sub-interface of the host system interface, and the host system generates the first trigger signal through the first interface to trigger the first selector of the first selector A transmitting and receiving end, the host system generates a third trigger signal through the third interface to trigger the third selector, so that the memory storage device interface is electrically transparent to the third transmitting and receiving end and the first transmitting and receiving end The second sub-interface of the host system interface is connected. In one embodiment, the third interface is electrically connected to the first interface through the second interface.

在一實施例中,當該記憶體儲存裝置以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端,當該記憶體儲存裝置以該第一通訊協定或是該第三通訊協定運作時,該主機系統介面斷開該第一選擇器的該第二傳收端。In one embodiment, when the memory storage device operates under the second communication protocol, the host system interface disconnects the first transmission and reception end of the first selector, and when the memory storage device uses the first When the communication protocol or the third communication protocol is operating, the host system interface disconnects the second transmitting and receiving end of the first selector.

本創作之第三實施例中提供一種讀寫控制方法,用於一讀寫控制系統,以供一主機系統透過該讀寫控制系統讀寫一記憶體儲存裝置,該讀寫控制系統包括一記憶體儲存裝置介面、一主機系統介面以及一控制裝置,該控制裝置包括一控制模組、一第一選擇器以及一第三選擇器,該控制模組包括一橋接裝置以及第二選擇器,該橋接裝置包括該一第一介面、一第二介面以及一第三介面,該主機系統介面包括一第一子介面以及一第二子介面,該第一選擇器包括一第一傳收端以及一第二傳收端,該第三選擇器包括一第三傳收端以及一第四傳收端,該讀寫控制方法包括下列步驟:The third embodiment of the present invention provides a read-write control method for a read-write control system for a host system to read and write a memory storage device through the read-write control system. The read-write control system includes a memory A bulk storage device interface, a host system interface, and a control device. The control device includes a control module, a first selector, and a third selector. The control module includes a bridge device and a second selector. The bridge device includes a first interface, a second interface, and a third interface. The host system interface includes a first sub-interface and a second sub-interface. The first selector includes a first transmitting and receiving end and a third interface. The second transmitting and receiving end, the third selector includes a third transmitting and receiving end and a fourth transmitting and receiving end, the read-write control method includes the following steps:

該主機系統透過該橋接裝置產生一第一觸發信號觸發該第一選擇器的該第一傳收端,該主機系統經由該主機系統介面、該第一選擇器的該第一傳收端以及該控制模組電性連接該記憶體儲存裝置介面;The host system generates a first trigger signal through the bridge device to trigger the first transmitting and receiving end of the first selector, and the host system uses the host system interface, the first transmitting and receiving end of the first selector, and the The control module is electrically connected to the memory storage device interface;

偵測該記憶體儲存裝置連接於該記憶體儲存裝置介面,並以一第一通訊協定與該記憶體儲存裝置進行連接;Detecting that the memory storage device is connected to the memory storage device interface, and connects with the memory storage device using a first communication protocol;

判斷該記憶體儲存裝置是否支援一第二通訊協定的運作;Determine whether the memory storage device supports the operation of a second communication protocol;

當判斷該記憶體儲存裝置支援該第二通訊協定運作時,該記憶體儲存裝置介面經該第二選擇器以與該主機系統介面電性連接,該記憶體儲存裝置介面亦經該第三選擇器以及該第一選擇器以與該主機系統介面電性連接,並且該主機系統透過該主機系統介面與該控制裝置的該第一選擇器的該第二傳收端,以該第二通訊協定讀寫該記憶體儲存裝置的該資料;When it is determined that the memory storage device supports the second communication protocol operation, the memory storage device interface is electrically connected to the host system interface via the second selector, and the memory storage device interface is also selected via the third selection The first selector and the first selector are electrically connected to the host system interface, and the host system communicates with the second transmitting and receiving end of the first selector of the control device through the host system interface, using the second communication protocol Read and write the data of the memory storage device;

當判斷該記憶體儲存裝置不支援該第二通訊協定的運作時,判斷該記憶體儲存裝置是否支援一第三通訊協定的運作;When it is determined that the memory storage device does not support the operation of the second communication protocol, it is determined whether the memory storage device supports the operation of a third communication protocol;

當判斷該記憶體儲存裝置支援該第三通訊協定的運作時,該記憶體儲存裝置介面經該第二選擇器以及該橋接裝置以與該主機系統介面電性連接,該記憶體儲存裝置介面亦經該第三選擇器、該橋接裝置以及該第一選擇器以與該主機系統介面電性連接,使該主機系統透過該主機系統介面與該控制裝置的該第一選擇器的該第一傳收端,以該第三通訊協定讀寫該記憶體儲存裝置的該資料;When it is determined that the memory storage device supports the operation of the third communication protocol, the memory storage device interface is electrically connected to the host system interface via the second selector and the bridge device, and the memory storage device interface is also The third selector, the bridge device, and the first selector are electrically connected to the host system interface, so that the host system communicates with the first transmission of the first selector of the control device through the host system interface. The receiving end uses the third communication protocol to read and write the data of the memory storage device;

當判斷該記憶體儲存裝置不支援該第三通訊協定的運作時,該記憶體儲存裝置以該第一通訊協定運作,該記憶體儲存裝置介面經該第二選擇器、該橋接裝置以及該第一選擇器以與該主機系統介面電性連接,使該主機系統透過該主機系統介面以該第一通訊協定讀寫該記憶體儲存裝置的該資料。When it is determined that the memory storage device does not support the operation of the third communication protocol, the memory storage device operates under the first communication protocol, and the memory storage device interfaces through the second selector, the bridge device, and the first communication protocol. A selector is electrically connected with the host system interface, so that the host system reads and writes the data of the memory storage device through the host system interface using the first communication protocol.

在一實施例中,偵測出該記憶體儲存裝置連接於該記憶體儲存裝置介面的步驟之後,還包括該第二介面產生一第二觸發信號以觸發該第二選擇器。In one embodiment, after the step of detecting that the memory storage device is connected to the interface of the memory storage device, it further includes the second interface generating a second trigger signal to trigger the second selector.

在一實施例中,偵測該記憶體儲存裝置連接於該記憶體儲存裝置介面的步驟之後,該主機系統透過該主機系統介面與該橋接裝置,以該第一通訊協定啟動該記憶體儲存裝置,當判斷該記憶體儲存裝置支援該第二通訊協定運作之後,以該第二通訊協定啟動該記憶體儲存裝置,當判斷該記憶體儲存裝置支援該第三通訊協定運作之後,以該第三通訊協定啟動該記憶體儲存裝置。In one embodiment, after detecting that the memory storage device is connected to the memory storage device interface, the host system activates the memory storage device through the host system interface and the bridge device using the first communication protocol When it is determined that the memory storage device supports the operation of the second communication protocol, the memory storage device is activated by the second communication protocol, and when it is determined that the memory storage device supports the operation of the third communication protocol, the third communication protocol is used. The communication protocol activates the memory storage device.

在一實施例中,當該記憶體儲存裝置以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器電性連接該主機系統介面的該第一子介面。In one embodiment, when the memory storage device operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal to allow the memory storage device interface to pass through the second The selector is electrically connected to the first sub-interface of the host system interface.

在一實施例中,當該記憶體儲存裝置以該第二通訊協定運作時,該橋接裝置的該第三介面產生一第三觸發信號觸發該第三選擇器的該第四傳收端,該橋接裝置的該第一介面產生一第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶體儲存裝置介面透該過該第四傳收端以及第二傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory storage device operates under the second communication protocol, the third interface of the bridge device generates a third trigger signal to trigger the fourth transmitting and receiving end of the third selector, the The first interface of the bridge device generates a first trigger signal to trigger the second transmitting and receiving end of the first selector, so that the memory storage device interface can pass through the fourth transmitting and receiving end and the second transmitting and receiving end The second sub-interface of the host system interface is electrically connected.

在一實施例中,當該記憶體儲存裝置以該第三通訊協定運作時,該橋接裝置的該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第三介面與該第一介面電性連接該主機系統介面的該第一子介面。在一實施例中,第三介面經過該第二介面電性連接該第一介面。In one embodiment, when the memory storage device operates under the third communication protocol, the second interface of the bridge device triggers the second selector with a second trigger signal so that the memory storage device interface The first sub-interface of the host system interface is electrically connected to the first interface through the third interface. In one embodiment, the third interface is electrically connected to the first interface through the second interface.

在一實施例中,當該記憶體儲存裝置以該第三通訊協定運作時,該橋接裝置的該第三介面產生一第三觸發信號觸發該第三選擇器的該第三傳收端,該橋接裝置的該第一介面產生一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶體儲存裝置介面透過該第三傳收端、該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory storage device operates under the third communication protocol, the third interface of the bridge device generates a third trigger signal to trigger the third transmitting and receiving end of the third selector, the The first interface of the bridge device generates a first trigger signal to trigger the first transmitting and receiving end of the first selector, so that the memory storage device interface can pass through the third transmitting and receiving end, the bridge device, and the first The transmitting and receiving end is electrically connected to the second sub-interface of the host system interface.

在一實施例中,當該記憶體儲存裝置以該第一通訊協定運作時,該橋接裝置的該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二介面與該第一介面電性連接該主機系統介面的該第一子介面。In one embodiment, when the memory storage device operates under the first communication protocol, the second interface of the bridge device triggers the second selector with a second trigger signal, so that the memory storage device interface The first sub-interface of the host system interface is electrically connected to the first interface through the second interface.

在一實施例中,當該記憶體儲存裝置以該第一通訊協定運作時,該橋接裝置的該第一介面產生一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶體儲存裝置介面透過該第二選擇器、該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面。In one embodiment, when the memory storage device operates under the first communication protocol, the first interface of the bridge device generates a first trigger signal to trigger the first transmitting and receiving end of the first selector to The memory storage device interface is electrically connected to the second sub-interface of the host system interface through the second selector, the bridge device and the first transmitting and receiving end.

在一實施例中,當該記憶體儲存裝置以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端。In one embodiment, when the memory storage device operates under the second communication protocol, the host system interface disconnects the first transmission and reception end of the first selector.

在一實施例中,該主機系統透過該主機系統介面、該第一選擇器的該第一傳收端以及該第二選擇器與該記憶體儲存裝置通訊,以判斷該記憶體儲存裝置是否支援該主機系統的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本。In one embodiment, the host system communicates with the memory storage device through the host system interface, the first transmitting and receiving end of the first selector, and the second selector to determine whether the memory storage device supports The protocol version of the host system, the protocol version includes PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions.

在一實施例中,當確認該記憶體儲存裝置的該第一通訊協定支援該主機系統介面的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端讀寫該記憶體儲存裝置的該資料,當確認該記憶體儲存裝置的該第二通訊協定支援該主機系統的PCIe3.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第二傳收端以及該第三選擇器的該第四傳收端讀寫該記憶體儲存裝置的該資料,當該主機系統經該主機系統介面確認該記憶體儲存裝置的該第三通訊協定支援該主機系統的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端、該第一介面、該第三介面以及該第三選擇器的該第三傳收端讀寫該記憶體儲存裝置的該資料。In one embodiment, when it is confirmed that the first communication protocol of the memory storage device supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system interface, the host system communicates with the first protocol through the host system interface. The first transmitting and receiving end of the selector reads and writes the data of the memory storage device, and when it is confirmed that the second communication protocol of the memory storage device supports the PCIe3.0 protocol version of the host system, the host system uses the host The system interface and the second transmitting and receiving end of the first selector and the fourth transmitting and receiving end of the third selector read and write the data of the memory storage device, when the host system confirms the data through the host system interface The third communication protocol of the memory storage device supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system, and the host system communicates with the first transmitting and receiving end of the first selector through the host system interface, The first interface, the third interface, and the third transmitting and receiving end of the third selector read and write the data of the memory storage device.

在一實施例中,該記憶體儲存裝置的該第一通訊協定以及第三通訊協定定義為安全數位(SD)模式,該記憶體儲存裝置的該第二通訊協定定義為快捷安全數位(SD Express)模式。In one embodiment, the first communication protocol and the third communication protocol of the memory storage device are defined as a secure digital (SD) mode, and the second communication protocol of the memory storage device is defined as a fast secure digital (SD Express) mode. )mode.

在一實施例中,該記憶體儲存裝置的該第一通訊協定以及該第三通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率,該第一通訊協定的資料傳輸率小於該第三通訊協定的資料傳輸率。In one embodiment, the data transfer rate of the first communication protocol and the third communication protocol of the memory storage device is less than the data transfer rate of the second communication protocol, and the data transfer rate of the first communication protocol is less than the data transfer rate of the first communication protocol. 3. The data transfer rate of the communication protocol.

在一實施例中,當該記憶體儲存裝置支援該第二通訊協定的運作時,該主機系統的一非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面以及該第一選擇器的該第二傳收端存取該記憶體儲存裝置的資料。In one embodiment, when the memory storage device supports the operation of the second communication protocol, a non-volatile memory shortcut (NVMe) protocol driver of the host system passes through the host system interface and the first selector The second transmitting and receiving end accesses the data of the memory storage device.

本創作之讀寫控制系統及方法,藉由控制裝置的控制模組、第一選擇器以及第三選擇器,使主機系統透過第一介面、第二介面以及第三介面,即可支援不同的通訊協定讀寫記憶體儲存裝置的資料,解決記憶體儲存裝置與讀寫控制系統之間相容性的問題,並且提高記憶體儲存裝置的使用彈性,同時降低讀寫控制系統的生產成本。The reading and writing control system and method of this creation, through the control module of the control device, the first selector and the third selector, enable the host system to support different interfaces through the first interface, the second interface and the third interface The communication protocol reads and writes the data of the memory storage device, solves the compatibility problem between the memory storage device and the read-write control system, and improves the flexibility of the memory storage device while reducing the production cost of the read-write control system.

請參照圖式,其中相同的元件符號代表相同的元件或是相似的元件,本創作的原理是以實施在適當的運算環境中來舉例說明。以下的說明是基於所例示的本創作具體實施例,其不應被視為限制本創作未在此詳述的其它具體實施例。Please refer to the drawings, where the same component symbols represent the same components or similar components. The principle of this creation is illustrated by implementing it in a suitable computing environment. The following description is based on the illustrated specific embodiments of the present creation, which should not be regarded as limiting other specific embodiments of the present creation not detailed here.

參考第1圖,其係繪示依據本創作實施例中讀寫控制系統之方塊圖。該讀寫控制系統用以供一主機系統103讀寫一記憶體儲存裝置100的資料。該讀寫控制系統包括記憶體儲存裝置介面101、主機系統介面102以及控制裝置104。其中,記憶體儲存裝置100可以是記憶卡(Memory Card)、內嵌式存儲器(Embedded Multi Media Card, eMMC)、固態硬碟(Solid State Disk, SSD)或是其他類型的儲存裝置,本文在此對記憶體儲存裝置100的類型並不做任何限制。Refer to Figure 1, which is a block diagram of the read-write control system according to this creative embodiment. The read-write control system is used for a host system 103 to read and write data of a memory storage device 100. The read-write control system includes a memory storage device interface 101, a host system interface 102, and a control device 104. The memory storage device 100 may be a memory card (Memory Card), embedded memory (Embedded Multi Media Card, eMMC), solid state disk (Solid State Disk, SSD), or other types of storage devices. There is no restriction on the type of the memory storage device 100.

如第1圖所示,該記憶體儲存裝置介面101用以連接該記憶體儲存裝置100。該主機系統介面102電性連接該記憶體儲存裝置介面101,且該主機系統103連接該主機系統介面102。該控制裝置104連接於記憶體儲存裝置介面101與主機系統介面102之間。該控制裝置104包括控制模組106、第一選擇器108以及第三選擇器115,該控制模組106電性連接該記憶體儲存裝置介面101、該主機系統介面102、該第一選擇器108以及第三選擇器115,該第一選擇器108電性連接該記憶體儲存裝置介面101以及該主機系統介面102,該第三選擇器115電性連接該記憶體儲存裝置介面101以及該第一選擇器108。該控制模組106包括橋接裝置109以及第二選擇器114,該橋接裝置109電性連接該主機系統介面102、該記憶體儲存裝置介面101、該第一選擇器108以及該第三選擇器115,該第二選擇器114電性連接該主機系統介面102、該記憶體儲存裝置介面101以及該橋接裝置109。As shown in FIG. 1, the memory storage device interface 101 is used to connect the memory storage device 100. The host system interface 102 is electrically connected to the memory storage device interface 101, and the host system 103 is connected to the host system interface 102. The control device 104 is connected between the memory storage device interface 101 and the host system interface 102. The control device 104 includes a control module 106, a first selector 108, and a third selector 115. The control module 106 is electrically connected to the memory storage device interface 101, the host system interface 102, and the first selector 108 And a third selector 115, the first selector 108 is electrically connected to the memory storage device interface 101 and the host system interface 102, and the third selector 115 is electrically connected to the memory storage device interface 101 and the first The selector 108. The control module 106 includes a bridge device 109 and a second selector 114, and the bridge device 109 is electrically connected to the host system interface 102, the memory storage device interface 101, the first selector 108 and the third selector 115 , The second selector 114 is electrically connected to the host system interface 102, the memory storage device interface 101 and the bridge device 109.

其中,當該記憶體儲存裝置100以第一通訊協定運作時,該記憶體儲存裝置介面101經該第二選擇器114、該橋接裝置109以及該第一選擇器108以與該主機系統介面102電性連接。當該記憶體儲存裝置100以第二通訊協定運作時,該記憶體儲存裝置介面101經該第二選擇器114來與該主機系統介面102電性連接,該記憶體儲存裝置介面101亦經該第三選擇器115以及該第一選擇器101以與該主機系統介面102電性連接。當該記憶體儲存裝置100以一第三通訊協定運作時,該記憶體儲存裝置介面101經該第二選擇器114以及該橋接裝置109以與該主機系統介面102電性連接,該記憶體儲存裝置介面101亦經該第三選擇器115、該橋接裝置109以及該第一選擇器108以與該主機系統介面102電性連接。此外,在本實施例中,該橋接裝置109包括第一介面110、第二介面112以及第三介面113。該第一介面110電性連接該主機系統介面102以及該第一選擇器108,該第二介面112電性連接該記憶體儲存裝置介面101、該第一介面110以及該第二選擇器114。該第三介面113電性連接該第一介面110、該第二介面112以及該第三選擇器115。在一實施例中,橋接裝置109可產生第一觸發信號TS1、第二觸發信號TS2以及第三觸發信號TS3。Wherein, when the memory storage device 100 operates under the first communication protocol, the memory storage device interface 101 communicates with the host system interface 102 via the second selector 114, the bridge device 109, and the first selector 108 Electrical connection. When the memory storage device 100 operates under the second communication protocol, the memory storage device interface 101 is electrically connected to the host system interface 102 via the second selector 114, and the memory storage device interface 101 also passes through the The third selector 115 and the first selector 101 are electrically connected to the host system interface 102. When the memory storage device 100 operates under a third communication protocol, the memory storage device interface 101 is electrically connected to the host system interface 102 via the second selector 114 and the bridge device 109, and the memory storage device The device interface 101 is also electrically connected to the host system interface 102 via the third selector 115, the bridge device 109, and the first selector 108. In addition, in this embodiment, the bridge device 109 includes a first interface 110, a second interface 112, and a third interface 113. The first interface 110 is electrically connected to the host system interface 102 and the first selector 108, and the second interface 112 is electrically connected to the memory storage device interface 101, the first interface 110 and the second selector 114. The third interface 113 is electrically connected to the first interface 110, the second interface 112 and the third selector 115. In an embodiment, the bridge device 109 can generate a first trigger signal TS1, a second trigger signal TS2, and a third trigger signal TS3.

第2圖係繪示依據本創作第一實施例中讀寫控制系統之方塊圖。請繼續參考第2圖,在一實施例中,該主機系統103可經該控制裝置104偵測出該記憶體儲存裝置介面101電性連接該主機系統介面102,並以該第一通訊協定與該記憶體儲存裝置100連接,以該第一通訊協定初始化或啟動(Initialization process)該記憶體儲存裝置100。該初始化例如是該主機系統介面102對該記憶體儲存裝置100提供運作所需要的電力,該主機系統介面102對該記憶體儲存裝置100傳送運作、存取的指令,透過該記憶體儲存裝置介面101以建立該主機系統介面102與該記憶體儲存裝置100之間雙向通信。其中,於第2圖中,實線的元件及傳輸方向例如是表示在該第一通訊協定的狀態下所進行的傳輸路徑。相對地,虛線的元件及傳輸方向例如是表示在該第一通訊協定的狀態下禁能(disable)的傳輸路徑,但不以此為限。Figure 2 is a block diagram of the read-write control system according to the first embodiment of the creation. Please continue to refer to Figure 2. In one embodiment, the host system 103 can detect through the control device 104 that the memory storage device interface 101 is electrically connected to the host system interface 102, and uses the first communication protocol to communicate with The memory storage device 100 is connected to initialize or start (Initialization process) the memory storage device 100 using the first communication protocol. The initialization is, for example, that the host system interface 102 provides power required for operation of the memory storage device 100, and the host system interface 102 transmits operation and access commands to the memory storage device 100 through the memory storage device interface 101 to establish a two-way communication between the host system interface 102 and the memory storage device 100. Among them, in Figure 2, the solid line components and the transmission direction represent, for example, the transmission path under the state of the first communication protocol. In contrast, the dashed element and the transmission direction, for example, indicate a transmission path that is disabled in the state of the first communication protocol, but is not limited thereto.

進一步地說,當該記憶體儲存裝置100以該第一通訊協定運作時,該記憶體儲存裝置介面101可經由該第二選擇器114、該第二介面110以及該第一介面112,並且經由該控制裝置104的該第一選擇器108,以與該主機系統介面102電性連接。在本實施例中,該記憶體儲存裝置介面101、該第二介面112、該第一介面110以及該主機系統介面102間的傳輸路徑會定義為第一傳輸路徑P1。上述之該記憶體儲存裝置介面101、該第二選擇器114、該第二介面112、該第一介面110、該第一選擇器108以及該主機系統介面102間的傳輸路徑則是定義為第二傳輸路徑P2。因此,本實施例可使該主機系統介面102透過該第一傳輸路徑P1以與該記憶體儲存裝置介面101通訊並且透過該第二傳輸路徑P2以該第一通訊協定讀寫該記憶體儲存裝置100的該資料。詳細地說,在本實施例中,該主機系統介面102是經該第一傳輸路徑P1偵測出該記憶體儲存裝置介面101電性連接該主機系統介面102。該主機系統介面102可經該第一傳輸路徑P1以該第一通訊協定對該記憶體儲存裝置100初始化。在一較佳實施例中,在偵測該記憶體儲存裝置100的連接過程中,該主機系統103例如是透過主機系統介面102與該橋接裝置109的該第一介面110以及該第二介面112,以該第一通訊協定初始化或啟動該記憶體儲存裝置100。其中,該第一通訊協定例如為安全數位(SD)模式。Furthermore, when the memory storage device 100 operates under the first communication protocol, the memory storage device interface 101 can pass through the second selector 114, the second interface 110, and the first interface 112, and through The first selector 108 of the control device 104 is electrically connected to the host system interface 102. In this embodiment, the transmission path between the memory storage device interface 101, the second interface 112, the first interface 110, and the host system interface 102 is defined as the first transmission path P1. The aforementioned transmission path between the memory storage device interface 101, the second selector 114, the second interface 112, the first interface 110, the first selector 108, and the host system interface 102 is defined as the first 2. Transmission path P2. Therefore, in this embodiment, the host system interface 102 can communicate with the memory storage device interface 101 through the first transmission path P1 and read and write to the memory storage device using the first communication protocol through the second transmission path P2. 100 of the information. In detail, in this embodiment, the host system interface 102 detects that the memory storage device interface 101 is electrically connected to the host system interface 102 through the first transmission path P1. The host system interface 102 can initialize the memory storage device 100 with the first communication protocol via the first transmission path P1. In a preferred embodiment, in the process of detecting the connection of the memory storage device 100, the host system 103 uses the host system interface 102 and the first interface 110 and the second interface 112 of the bridge device 109, for example. , Initialize or start the memory storage device 100 with the first communication protocol. Wherein, the first communication protocol is, for example, a secure digital (SD) mode.

第3圖係繪示依據本創作第二實施例中讀寫控制系統之方塊圖。其中,於第3圖中,實線的元件及傳輸方向例如是表示在該第二通訊協定的狀態下所進行的傳輸路徑。相對地,虛線的元件及傳輸方向例如是表示在該第二通訊協定的狀態下禁能(disable)的傳輸路徑,但不以此為限。請繼續參考第3圖,在一實施例中,當該記憶體儲存裝置100以該第二通訊協定運作時,該記憶體儲存裝置介面101經由該第二選擇器114與該主機系統介面102電性連接,並且該記憶體儲存裝置介面101經由該控制裝置104的該第三選擇器115以及第一選擇器108,以與該主機系統介面102電性連接,其中該記憶體儲存裝置介面101、該第二選擇器114以及該主機系統介面102間的傳輸路徑定義為第三傳輸路徑P3,該記憶體儲存裝置介面101、該第三選擇器115、第一選擇器108以及該主機系統介面102間的傳輸路徑定義為第四傳輸路徑P4,使該主機系統介面102透過該第三傳輸路徑P3以與該記憶體儲存裝置介面101通訊並且透過該第四傳輸路徑P4以該第二通訊協定讀寫該記憶體儲存裝置100的該資料。其中,在判斷該記憶體儲存裝置100支援該第二通訊協定運作後,本實施例例如會再以該第二通訊協定初始化或啟動(Initialization process)該記憶體儲存裝置100,以再進行後續的通訊或是讀寫作業。其中,該第二通訊協定例如為快捷安全數位(SD Express)模式。Figure 3 is a block diagram of the read-write control system according to the second embodiment of the invention. Among them, in Figure 3, the solid line components and the transmission direction represent, for example, the transmission path performed in the state of the second communication protocol. In contrast, the dashed element and the transmission direction, for example, indicate a transmission path that is disabled in the state of the second communication protocol, but is not limited to this. Please continue to refer to FIG. 3. In one embodiment, when the memory storage device 100 operates with the second communication protocol, the memory storage device interface 101 communicates with the host system interface 102 through the second selector 114 And the memory storage device interface 101 is electrically connected to the host system interface 102 via the third selector 115 and the first selector 108 of the control device 104, wherein the memory storage device interface 101, The transmission path between the second selector 114 and the host system interface 102 is defined as a third transmission path P3, the memory storage device interface 101, the third selector 115, the first selector 108, and the host system interface 102 The intermediate transmission path is defined as the fourth transmission path P4, so that the host system interface 102 communicates with the memory storage device interface 101 through the third transmission path P3 and reads with the second communication protocol through the fourth transmission path P4 Write the data of the memory storage device 100. Wherein, after determining that the memory storage device 100 supports the operation of the second communication protocol, in this embodiment, for example, the memory storage device 100 is initialized or started (Initialization process) using the second communication protocol to perform subsequent operations. Communication or read and write operations. Wherein, the second communication protocol is, for example, a fast and secure digital (SD Express) mode.

第4圖係繪示依據本創作第三實施例中讀寫控制系統之方塊圖。。請繼續參考第4圖,本實施例之讀寫控制系統類似第3圖的實施例之讀寫控制系統。進一步地說,相較於第3圖的實施例之讀寫控制系統,本實施例之讀寫控制系統更設有一傳收通道116,而記憶體儲存裝置介面101可透過傳收通道116直接連接主機系統介面102。如此一來,當該記憶體儲存裝置100支援該第二通訊協定的運作時,該主機系統103的一非揮發性記憶體快捷(NVMe)協定驅動程式可透過該主機系統介面102、該傳收通道116以及記憶體儲存裝置介面101存取該記憶體儲存裝置100的資料。其中,在本實施例中,該快捷安全數位模式係為安全數位協定版本,例如是支援安全數位(SD)7.0協定版本以及SD 8.0或是之後更新的協定版本。本實施例之讀寫控制系統例如可以配設於一線路板,而傳收通道116例如是線路板上之一資料傳收線路。Figure 4 is a block diagram of the read-write control system according to the third embodiment of this creation. . Please continue to refer to Fig. 4, the read-write control system of this embodiment is similar to the read-write control system of the embodiment in Fig. 3. Furthermore, compared with the read-write control system of the embodiment in FIG. 3, the read-write control system of this embodiment further has a transmission and reception channel 116, and the memory storage device interface 101 can be directly connected through the transmission and reception channel 116 The host system interface 102. In this way, when the memory storage device 100 supports the operation of the second communication protocol, a non-volatile memory shortcut (NVMe) protocol driver of the host system 103 can pass through the host system interface 102, the transmission and reception The channel 116 and the memory storage device interface 101 access the data of the memory storage device 100. Wherein, in this embodiment, the quick and secure digital mode is a secure digital protocol version, for example, it supports a secure digital (SD) 7.0 protocol version and SD 8.0 or later updated protocol versions. The read-write control system of this embodiment can be configured on a circuit board, for example, and the transmission and reception channel 116 is, for example, a data transmission and reception circuit on the circuit board.

第5圖係繪示依據本創作第四實施例中讀寫控制系統之方塊圖。請繼續參考第5圖,在本實施例中,當該記憶體儲存裝置100以該第三通訊協定運作時,該記憶體儲存裝置介面101經由該第二選擇器114、該第三介面113以及該第一介面110,以與該主機系統介面102電性連接,並且該記憶體儲存裝置介面101經由該控制裝置104的該第三選擇器115、該第三介面113、該第一介面110以及該第一選擇器108,以與該主機系統介面102電性連接,其中該記憶體儲存裝置介面101、該第二選擇器114、第三介面113、第一介面110以及該主機系統介面102定義為一第五傳輸路徑P5,該記憶體儲存裝置介面101、該第三選擇器115、該第三介面113、該第一介面110、該第一選擇器108以及該主機系統介面102定義為一第六傳輸路徑P6,使該主機系統103透過該第五傳輸路徑P5以與該記憶體儲存裝置介面101通訊並且透過該第六傳輸路徑P6以該第三通訊協定讀寫該記憶體儲存裝置100的該資料。在一實施例中,第三介面113係經過該第二介面112電性連接該第一介面110。Figure 5 is a block diagram of the read-write control system in the fourth embodiment according to the invention. Please continue to refer to FIG. 5. In this embodiment, when the memory storage device 100 operates under the third communication protocol, the memory storage device interface 101 passes through the second selector 114, the third interface 113, and The first interface 110 is electrically connected to the host system interface 102, and the memory storage device interface 101 passes through the third selector 115 of the control device 104, the third interface 113, the first interface 110, and The first selector 108 is electrically connected to the host system interface 102, wherein the memory storage device interface 101, the second selector 114, the third interface 113, the first interface 110 and the host system interface 102 define Is a fifth transmission path P5, the memory storage device interface 101, the third selector 115, the third interface 113, the first interface 110, the first selector 108, and the host system interface 102 are defined as a The sixth transmission path P6 enables the host system 103 to communicate with the memory storage device interface 101 through the fifth transmission path P5 and to read and write the memory storage device 100 through the sixth transmission path P6 using the third communication protocol Of the information. In one embodiment, the third interface 113 is electrically connected to the first interface 110 through the second interface 112.

請再參考第1圖,在一實施例中,記憶介面101例如是安全數位記憶體儲存裝置(secure digital memory storage)協定,如SD-UHS I、SD-UHS II、SD-UHS III、SD 7.0以及SD 8.0等協定版本,但不限於此。在一實施例中,該記憶體儲存裝置100的該第一通訊協定定義為安全數位(SD)模式,例如是SD-UHS I、SD-UHS II、SD-UHS III協定版本。該記憶體儲存裝置100的該第二通訊協定定義為快捷安全數位(SD Express)模式。該安全數位模式係為快捷安全數位模式以前的協定版本,該快捷安全數位模式係為安全數位(SD)7.0以及SD 8.0協定版本,例如是支援安全數位(SD)7.0協定版本以及SD 8.0或是之後更新的協定版本。在一實施例中,該記憶體儲存裝置100的該第一通訊協定以及該第三通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率,該第一通訊協定的資料傳輸率小於該第三通訊協定的資料傳輸率。主機系統介面102例如是快捷周邊元件互聯根複合(peripheral component interconnect express (PCIe) root complex)元件,用以將處理器與記憶體連接到由一個或多個交換裝置組成的PCIe交換架構,可設置於筆記型電腦、手機、平板電腦,或是其他的處理器與記憶體連接的電子裝置中。控制裝置104例如是記憶體存取裝置的控制晶片或是控制電路,但不限於此。Please refer to Fig. 1. In one embodiment, the memory interface 101 is, for example, a secure digital memory storage protocol, such as SD-UHS I, SD-UHS II, SD-UHS III, SD 7.0 And agreement versions such as SD 8.0, but not limited to this. In one embodiment, the first communication protocol of the memory storage device 100 is defined as a secure digital (SD) mode, such as SD-UHS I, SD-UHS II, and SD-UHS III protocol versions. The second communication protocol of the memory storage device 100 is defined as a fast and secure digital (SD Express) mode. The secure digital mode is the protocol version before the fast secure digital mode, and the fast secure digital mode is the secure digital (SD) 7.0 and SD 8.0 protocol versions, for example, it supports the secure digital (SD) 7.0 protocol version and SD 8.0 or The updated version of the agreement. In one embodiment, the data transfer rate of the first communication protocol and the third communication protocol of the memory storage device 100 is less than the data transfer rate of the second communication protocol, and the data transfer rate of the first communication protocol is less than the The data transfer rate of the third communication protocol. The host system interface 102 is, for example, a peripheral component interconnect express (PCIe) root complex component, which is used to connect the processor and memory to a PCIe switching architecture composed of one or more switching devices. In notebook computers, mobile phones, tablet computers, or other electronic devices connected to the processor and memory. The control device 104 is, for example, a control chip or a control circuit of a memory access device, but is not limited thereto.

此外,在一實施例中,該主機系統介面102可包括第一子介面102a以及第二子介面102b,該第一選擇器108包括第一傳收端TR1以及第二傳收端TR2,該第三選擇器115包括一第三傳收端TR3以及一第四傳收端TR4。例如,該第一子介面102a包括快捷周邊元件互聯重設(PCI Express Reset, PERST#)信號、時脈請求運行信號(clock request, CLKREQ#)、以及參考時脈差分對信號(reference clock, REFCLK+, REFCLK-),其中快捷周邊元件互聯重設(PERST#)信號用以管理該第二子介面102b的復位運作;時脈請求運行信號(clock request, CLKREQ#)用以請求參考時脈運行;參考時脈差分對信號(reference clock, REFCLK+, REFCLK-)用以提供參考時脈。第一子介面102a電性連接於該橋接裝置109的第一介面110以及該第二選擇器114,用以傳輸上述4個信號,包括PERST#、CLKREQ#、REFCLK+、REFCLK- 4個信號。該第二子介面102b用以執行介面裝置102與記憶體儲存裝置介面101之間的資料傳送/接收(transmit/receive, TX/RX)。該第二子介面102b支援PCIe1.0、PCIe2.0以及PCIe3.0協定版本。如PCIe1.0的傳輸頻寬係為2.5GHz,如PCIe2.0的傳輸頻寬係為5.0GHz,如PCIe3.0的傳輸頻寬係為8.0GHz。第一傳收端TR1例如是一低速傳收端,第二傳收端TR2例如是一高速傳收端,但不以此為限,例如是第一傳收端TR1與第二傳收端TR2具有不同的傳輸頻寬。In addition, in an embodiment, the host system interface 102 may include a first sub-interface 102a and a second sub-interface 102b. The first selector 108 includes a first transmitting and receiving terminal TR1 and a second transmitting and receiving terminal TR2. The three selector 115 includes a third transmitting and receiving terminal TR3 and a fourth transmitting and receiving terminal TR4. For example, the first sub-interface 102a includes a PCI Express Reset (PERST#) signal, a clock request operation signal (clock request, CLKREQ#), and a reference clock differential pair signal (reference clock, REFCLK+) signal. , REFCLK-), where the shortcut peripheral component interconnection reset (PERST#) signal is used to manage the reset operation of the second sub-interface 102b; the clock request operation signal (clock request, CLKREQ#) is used to request the reference clock operation; The reference clock differential pair signal (reference clock, REFCLK+, REFCLK-) is used to provide the reference clock. The first sub-interface 102a is electrically connected to the first interface 110 of the bridge device 109 and the second selector 114 for transmitting the above-mentioned 4 signals, including PERST#, CLKREQ#, REFCLK+, and REFCLK- 4 signals. The second sub-interface 102b is used to perform data transmission/receive (transmit/receive, TX/RX) between the interface device 102 and the memory storage device interface 101. The second sub-interface 102b supports PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions. For example, the transmission bandwidth of PCIe1.0 is 2.5GHz, the transmission bandwidth of PCIe2.0 is 5.0GHz, and the transmission bandwidth of PCIe3.0 is 8.0GHz. The first transmitting and receiving terminal TR1 is, for example, a low-speed transmitting and receiving terminal, and the second transmitting and receiving terminal TR2 is, for example, a high-speed transmitting and receiving terminal, but not limited to this, such as the first transmitting and receiving terminal TR1 and the second transmitting and receiving terminal TR2. Have different transmission bandwidths.

請再同時參考第1圖以及第2圖,在一實施例中,當該記憶體儲存裝置100以該第一通訊協定運作時,該主機系統介面102透過該橋接裝置109的該第一介面產生第一觸發信號TS1觸發該第一選擇器108的該第一傳收端TR1,以讓該記憶體儲存裝置介面101透過該橋接裝置109以及該第一傳收端TR1電性連接該主機系統介面102的該第二子介面102b,該記憶體儲存裝置介面101亦透過該第二選擇器114以及該橋接裝置109的該第一介面110與該第二介面112電性連接該主機系統介面102的該第一子介面102a。第一傳收端TR1例如是一低速傳收端,但不以此為限,例如是第一傳收端TR1與第二傳收端TR2具有不同的傳輸頻寬。Please refer to Fig. 1 and Fig. 2 at the same time. In one embodiment, when the memory storage device 100 operates with the first communication protocol, the host system interface 102 is generated through the first interface of the bridge device 109 The first trigger signal TS1 triggers the first transmitting and receiving terminal TR1 of the first selector 108, so that the memory storage device interface 101 is electrically connected to the host system interface through the bridge device 109 and the first transmitting and receiving terminal TR1 The second sub-interface 102b of 102, the memory storage device interface 101 is also electrically connected to the host system interface 102 through the second selector 114 and the first interface 110 and the second interface 112 of the bridge device 109 The first sub-interface 102a. The first transmitting and receiving terminal TR1 is, for example, a low-speed transmitting and receiving terminal, but not limited to this. For example, the first transmitting and receiving terminal TR1 and the second transmitting and receiving terminal TR2 have different transmission bandwidths.

請再同時參考第1圖以及第3圖,在一實施例中,當該記憶體儲存裝置100以該第二通訊協定運作時,該橋接裝置109的第二介面112以第二觸發信號TS2觸發該第二選擇器114,以讓該記憶體儲存裝置介面101透過該第二選擇器114電性連接該主機系統介面102的該第一子介面102a,且該主機系統103透過該第三介面113產生一第三觸發信號TS3觸發該第三選擇器115的該第四傳收端TR4,該主機系統透過該第一介面102產生第一觸發信號TS1觸發該第一選擇器108的該第二傳收端TR2,以讓該記憶體儲存裝置介面101透過該第四傳收端TR4以及該第二傳收端TR2電性連接該主機系統介面102的該第二子介面102b。在一實施例中,當該記憶體儲存裝置100以該第二通訊協定運作時,該主機系統介面102斷開該第一選擇器108的該第一傳收端TR1。Please refer to FIG. 1 and FIG. 3 at the same time. In one embodiment, when the memory storage device 100 operates under the second communication protocol, the second interface 112 of the bridge device 109 is triggered by the second trigger signal TS2 The second selector 114 allows the memory storage device interface 101 to be electrically connected to the first sub-interface 102a of the host system interface 102 through the second selector 114, and the host system 103 through the third interface 113 A third trigger signal TS3 is generated to trigger the fourth transmitting and receiving terminal TR4 of the third selector 115, and the host system generates a first trigger signal TS1 through the first interface 102 to trigger the second transmission of the first selector 108 The receiving terminal TR2 allows the memory storage device interface 101 to be electrically connected to the second sub-interface 102b of the host system interface 102 through the fourth transmitting and receiving terminal TR4 and the second transmitting and receiving terminal TR2. In one embodiment, when the memory storage device 100 operates under the second communication protocol, the host system interface 102 disconnects the first transmitting and receiving terminal TR1 of the first selector 108.

請再同時參考第1圖以及第5圖,在一實施例中,當該記憶體儲存裝置100以該第三通訊協定運作時,該第二介面112以一第二觸發信號TS2觸發該第二選擇器114,以讓該記憶體儲存裝置介面101透過該第二選擇器114、該第三介面113以及該第一介面110電性連接該主機系統介面102的該第一子介面102a,且該主機系統103透過該第一介面110產生該第一觸發信號TS1觸發該第一選擇器108的該第一傳收端TR1,該主機系統103透過該第三介面113產生一第三觸發信號TS3觸發該第三選擇器115,以讓該記憶體儲存裝置介面101透該第三傳收端TR3以及該第一傳收端TR1電性連接該主機系統介面102的該第二子介面102b。在一實施例中,第三介面113例如是經過該第二介面112電性連接該第一介面110。Please refer to FIGS. 1 and 5 at the same time. In one embodiment, when the memory storage device 100 operates under the third communication protocol, the second interface 112 uses a second trigger signal TS2 to trigger the second Selector 114 to allow the memory storage device interface 101 to be electrically connected to the first sub-interface 102a of the host system interface 102 through the second selector 114, the third interface 113, and the first interface 110, and the The host system 103 generates the first trigger signal TS1 through the first interface 110 to trigger the first transmitting and receiving terminal TR1 of the first selector 108, and the host system 103 generates a third trigger signal TS3 through the third interface 113 to trigger The third selector 115 allows the memory storage device interface 101 to be electrically connected to the second sub-interface 102b of the host system interface 102 through the third transmitting and receiving terminal TR3 and the first transmitting and receiving terminal TR1. In one embodiment, the third interface 113 is electrically connected to the first interface 110 through the second interface 112, for example.

如第1圖至第5圖所示,該主機系統103例如是經該主機系統介面102以透過該第一選擇器108的該第一傳收端TR1以及該第二選擇器114掃描該記憶體儲存裝置100,以判斷該記憶體儲存裝置100是否支援該主機系統介面102的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本。當確認該記憶體儲存裝置100的該第一通訊協定支援該主機系統介面102的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統103例如經該主機系統介面102以透過該第一選擇器114的該第一傳收端TR1讀寫該記憶體儲存裝置100的該資料。當確認該記憶體儲存裝置100的該第二通訊協定支援該主機系統介面102的PCIe3.0協定版本,該主機系統103例如經該主機系統介面102以透過該第一選擇器108的該第二傳收端TR2以及該第三選擇器115的該第四傳收端TR4讀寫該記憶體儲存裝置100的該資料。當該主機系統103經該主機系統介面102確認該記憶體儲存裝置100的該第三通訊協定支援該主機系統的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統103透過該主機系統介面102與該第一選擇器108的該第一傳收端TR1、該第一介面110、該第三介面113以及該第三選擇器115的該第三傳收端TR3讀寫該記憶體儲存裝置100的該資料。As shown in FIGS. 1 to 5, the host system 103 scans the memory through the first transmission and reception terminal TR1 of the first selector 108 and the second selector 114 via the host system interface 102, for example. The storage device 100 determines whether the memory storage device 100 supports the protocol version of the host system interface 102, and the protocol version includes PCIe1.0, PCIe2.0, and PCIe3.0 protocol versions. When it is confirmed that the first communication protocol of the memory storage device 100 supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system interface 102, the host system 103, for example, through the host system interface 102 through the first The first transmitting and receiving terminal TR1 of the selector 114 reads and writes the data of the memory storage device 100. When it is confirmed that the second communication protocol of the memory storage device 100 supports the PCIe3.0 protocol version of the host system interface 102, the host system 103, for example, passes through the host system interface 102 to pass the second selector of the first selector 108 The transmitting and receiving terminal TR2 and the fourth transmitting and receiving terminal TR4 of the third selector 115 read and write the data of the memory storage device 100. When the host system 103 confirms through the host system interface 102 that the third communication protocol of the memory storage device 100 supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system, the host system 103 uses the host system The interface 102 and the first transmitting and receiving terminal TR1 of the first selector 108, the first interface 110, the third interface 113, and the third transmitting and receiving terminal TR3 of the third selector 115 read and write the memory storage The data of the device 100.

如第1圖所示,在一實施例中,該橋接裝置109的第二介面112包括控制介面112a以及傳收介面112b,該控制介面112a連接該記憶體儲存裝置介面101,該傳收介面112b連接該第二選擇器114。控制介面112a包括安全數位指令(secure digital command, SD CMD)以及安全數位時脈(secure digital clock, SD CLK)等信號,用以建立第二介面112與記憶體儲存裝置介面101之間的通訊連結。傳收介面112b包括安全數位資料(secure digital data, SD DAT),例如是SD DAT 0~3,其包括4個位元,用以傳收第二介面112與記憶體儲存裝置介面101之間的資料。該第二介面112的控制介面112a以及傳收介面112b分別用以轉換該主機系統介面102的該第一子介面102a以及第二子介面102b與該第一通訊協定之間的通訊以及資料傳輸格式。在一實施例中,該第二選擇器114例如多工器,但不限於此,例如以電路元件或是邏輯元件組合而成的選擇器。在一實施例中,第二介面112例如是SD-UHS I的主控制器。As shown in Figure 1, in one embodiment, the second interface 112 of the bridge device 109 includes a control interface 112a and a transmission interface 112b. The control interface 112a is connected to the memory storage device interface 101, and the transmission interface 112b The second selector 114 is connected. The control interface 112a includes signals such as secure digital command (SD CMD) and secure digital clock (SD CLK) for establishing a communication link between the second interface 112 and the memory storage device interface 101 . The transmitting and receiving interface 112b includes secure digital data (SD DAT), such as SD DAT 0~3, which includes 4 bits for transmitting and receiving data between the second interface 112 and the memory storage device interface 101 data. The control interface 112a and the receiving interface 112b of the second interface 112 are respectively used to convert the communication and data transmission format between the first sub-interface 102a and the second sub-interface 102b of the host system interface 102 and the first communication protocol . In one embodiment, the second selector 114 is, for example, a multiplexer, but is not limited thereto, for example, a selector formed by combining circuit elements or logic elements. In one embodiment, the second interface 112 is, for example, the main controller of the SD-UHS I.

在一實施例中,該橋接裝置109的第三介面113包括參考時脈以及資料訊號,例如安全數位參考時脈(SD UHS-II RCLK)以及安全數位時脈資料訊號(SD DAT0~1),其對應於SD DAT 0~3安全數位資料的4個位元通道。在一實施例中,該第三選擇器115例如多工器,但不限於此,例如以電路元件或是邏輯元件組合而成的選擇器。在一實施例中,第三介面113例如是SD-UHS II的主控制器。In one embodiment, the third interface 113 of the bridge device 109 includes a reference clock and data signals, such as a secure digital reference clock (SD UHS-II RCLK) and a secure digital clock data signal (SD DAT0~1), It corresponds to the 4 bit channels of SD DAT 0~3 secure digital data. In an embodiment, the third selector 115 is, for example, a multiplexer, but is not limited thereto, for example, a selector formed by combining circuit elements or logic elements. In one embodiment, the third interface 113 is, for example, the main controller of SD-UHS II.

如第1圖至第5圖所示,在一實施例中,該讀寫控制系統用以控制一記憶體儲存裝置100的資料之讀寫,該讀寫控制系統包括第一傳輸路徑P1、第二傳輸路徑P2、第三傳輸路徑P3、第四傳輸路徑P4、第五傳輸路徑P5以及第六傳輸路徑P6。該第一傳輸路徑P1連接於一記憶體儲存裝置介面101、一橋接裝置109以及一主機系統介面102之間,其中該記憶體儲存裝置介面101用以連接該記憶體儲存裝置100。該第二傳輸路徑P2連接於該記憶體儲存裝置介面101、一第二選擇器114、該橋接裝置109、一第一選擇器108以及該主機系統介面102之間。該第三傳輸路徑P3連接於該記憶體儲存裝置介面101、該第二選擇器114以及該主機系統介面102之間。該第四傳輸路徑P4連接於該記憶體儲存裝置介面101、第三選擇器115、該第一選擇器108以及該主機系統介面102之間。第五傳輸路徑P5連接於該記憶體儲存裝置介面101、該第二選擇器114、該橋接裝置109以及該主機系統介面102之間。第六傳輸路徑P6連接於該記憶體儲存裝置介面101、該第三選擇器115、該橋接裝置106、該第一選擇器108以及該主機系統介面102之間。其中,當該記憶體儲存裝置100以該第一通訊協定運作時,該主機系統103透過該第一傳輸路徑P1以與該記憶體儲存裝置介面101通訊並且透過該第二傳輸路徑P2以該第一通訊協定讀寫該記憶體儲存裝置100的該資料。其中,當該記憶體儲存裝置100以該第二通訊協定運作時,該主機系統103透過該第三傳輸路徑P3以與該記憶體儲存裝置介面101通訊並且透過該第四傳輸路徑P4以該第二通訊協定讀寫該記憶體儲存裝置100的該資料。當該記憶體儲存裝置100以該第三通訊協定運作時,該主機系統103經該主機系統介面102透過該第五傳輸路徑P5以與該記憶體儲存裝置介面101通訊並且透過該第六傳輸路徑P6以該第三通訊協定讀寫該記憶體儲存裝置100的該資料。As shown in Figures 1 to 5, in one embodiment, the read-write control system is used to control the reading and writing of data in a memory storage device 100. The read-write control system includes a first transmission path P1, a second The second transmission path P2, the third transmission path P3, the fourth transmission path P4, the fifth transmission path P5, and the sixth transmission path P6. The first transmission path P1 is connected between a memory storage device interface 101, a bridge device 109 and a host system interface 102, wherein the memory storage device interface 101 is used to connect the memory storage device 100. The second transmission path P2 is connected between the memory storage device interface 101, a second selector 114, the bridge device 109, a first selector 108, and the host system interface 102. The third transmission path P3 is connected between the memory storage device interface 101, the second selector 114 and the host system interface 102. The fourth transmission path P4 is connected between the memory storage device interface 101, the third selector 115, the first selector 108, and the host system interface 102. The fifth transmission path P5 is connected between the memory storage device interface 101, the second selector 114, the bridge device 109 and the host system interface 102. The sixth transmission path P6 is connected between the memory storage device interface 101, the third selector 115, the bridge device 106, the first selector 108 and the host system interface 102. Wherein, when the memory storage device 100 operates under the first communication protocol, the host system 103 communicates with the memory storage device interface 101 through the first transmission path P1 and communicates with the first transmission path P2 through the second transmission path P2. A communication protocol reads and writes the data of the memory storage device 100. Wherein, when the memory storage device 100 operates under the second communication protocol, the host system 103 communicates with the memory storage device interface 101 through the third transmission path P3 and communicates with the first transmission path P4 through the fourth transmission path P4. Two communication protocols read and write the data of the memory storage device 100. When the memory storage device 100 operates under the third communication protocol, the host system 103 communicates with the memory storage device interface 101 through the host system interface 102 through the fifth transmission path P5 and through the sixth transmission path P6 uses the third communication protocol to read and write the data of the memory storage device 100.

根據上述,本創作之讀寫控制系統,藉由控制裝置104的控制模組106、第一選擇器108以及第三選擇器115,使主機系統103透過第一介面110、第二介面112以及第三介面113,即可支援不同的通訊協定讀寫記憶體儲存裝置100的資料,解決記憶體儲存裝置100與讀寫控制系統之間相容性的問題,並且提高記憶體儲存裝置100的使用彈性,同時降低讀寫控制系統的生產成本。According to the above, the read-write control system of this creation uses the control module 106, the first selector 108, and the third selector 115 of the control device 104 to enable the host system 103 to pass through the first interface 110, the second interface 112, and the second interface. The three interfaces 113 can support different communication protocols to read and write data of the memory storage device 100, solve the compatibility problem between the memory storage device 100 and the read-write control system, and improve the flexibility of the memory storage device 100 , While reducing the production cost of the read-write control system.

請再參考第1圖以及第6圖,第6圖係繪示依據本創作第一實施例中讀寫控制方法之流程圖。該讀寫控制方法用於一讀寫控制系統,以供主機系統103透過該讀寫控制系統讀寫記憶體儲存裝置100。該讀寫控制系統包括一記憶體儲存裝置介面101、一主機系統介面102以及一控制裝置104,該控制裝置104包括一控制模組106、一第一選擇器108以及一第三選擇器115,該控制模組106包括一第一介面110、一第二介面112以及第二選擇器114,該主機系統介面102包括一第一子介面102a以及一第二子介面102b,該第一選擇器108包括第一傳收端TR1以及第二傳收端TR2,該第三選擇器115包括一第三傳收端TR3以及一第四傳收端TR4,該讀寫控制方法包括下列步驟:Please refer to Fig. 1 and Fig. 6 again. Fig. 6 is a flow chart of the method of reading and writing control according to the first embodiment of the creation. The read-write control method is used in a read-write control system for the host system 103 to read and write the memory storage device 100 through the read-write control system. The read-write control system includes a memory storage device interface 101, a host system interface 102, and a control device 104. The control device 104 includes a control module 106, a first selector 108 and a third selector 115, The control module 106 includes a first interface 110, a second interface 112, and a second selector 114. The host system interface 102 includes a first sub-interface 102a and a second sub-interface 102b. The first selector 108 It includes a first transmitting and receiving terminal TR1 and a second transmitting and receiving terminal TR2. The third selector 115 includes a third transmitting and receiving terminal TR3 and a fourth transmitting and receiving terminal TR4. The read-write control method includes the following steps:

在步驟S200中,該主機系統103透過該橋接裝置109產生第一觸發信號TS1觸發該第一選擇器108的第一傳收端TR1,該主機系統103經由該主機系統介面102、該第一選擇器108的該第一傳收端TR1以及該控制模組106電性連接該記憶體儲存裝置介面101。In step S200, the host system 103 generates the first trigger signal TS1 through the bridge device 109 to trigger the first transmitting and receiving terminal TR1 of the first selector 108, and the host system 103 uses the host system interface 102, the first selection The first transmitting and receiving terminal TR1 of the device 108 and the control module 106 are electrically connected to the memory storage device interface 101.

在步驟S202中,偵測出該記憶體儲存裝置100連接於該主機系統介面102以及該控制裝置104。在一實施例中,該主機系統103例如是預先以一第一通訊協定與該記憶體儲存裝置100連接。In step S202, it is detected that the memory storage device 100 is connected to the host system interface 102 and the control device 104. In one embodiment, the host system 103 is connected to the memory storage device 100 in advance through a first communication protocol, for example.

在步驟S204中,判斷該記憶體儲存裝置100是否支援一第二通訊協定的運作。In step S204, it is determined whether the memory storage device 100 supports the operation of a second communication protocol.

在步驟S206中,當判斷該記憶體儲存裝置100支援該第二通訊協定運作時,該記憶體儲存裝置介面101經該第二選擇器114以與該主機系統介面102電性連接,該記憶體儲存裝置介面101亦經該第三選擇器115以及第一選擇器108以與該主機系統介面102電性連接,並且該主機系統103透過該主機系統介面102與該控制裝置104的該第一選擇器108的該第二傳收端TR2,以該第二通訊協定讀寫該記憶體儲存裝置100的該資料。In step S206, when it is determined that the memory storage device 100 supports the second communication protocol operation, the memory storage device interface 101 is electrically connected to the host system interface 102 through the second selector 114, and the memory The storage device interface 101 is also electrically connected to the host system interface 102 via the third selector 115 and the first selector 108, and the host system 103 passes through the host system interface 102 and the first selection of the control device 104 The second transmitting and receiving terminal TR2 of the device 108 uses the second communication protocol to read and write the data of the memory storage device 100.

在步驟S208中,當判斷該記憶體儲存裝置不支援該第二通訊協定的運作時,判斷該記憶體儲存裝置是否支援一第三通訊協定的運作。In step S208, when it is determined that the memory storage device does not support the operation of the second communication protocol, it is determined whether the memory storage device supports the operation of a third communication protocol.

在步驟S210中,當判斷該記憶體儲存裝置100支援該第三通訊協定的運作時,該記憶體儲存裝置介面101經該第二選擇器114以及該橋接裝置109以與該主機系統介面102電性連接,該記憶體儲存裝置介面101亦經該第三選擇器115、該橋接裝置109以及該第一選擇器108以與該主機系統介面102電性連接,使該主機系統103透過該主機系統介面102與該控制裝置104的該第一選擇器108的該第一傳收端TR1,以該第三通訊協定讀寫該記憶體儲存裝置100的該資料。In step S210, when it is determined that the memory storage device 100 supports the operation of the third communication protocol, the memory storage device interface 101 communicates with the host system interface 102 via the second selector 114 and the bridge device 109. The memory storage device interface 101 is also electrically connected to the host system interface 102 through the third selector 115, the bridge device 109, and the first selector 108, so that the host system 103 can pass through the host system The interface 102 and the first transmitting/receiving terminal TR1 of the first selector 108 of the control device 104 read and write the data of the memory storage device 100 by the third communication protocol.

在步驟S212中,當判斷該記憶體儲存裝置100不支援該第三通訊協定的運作時,該記憶體儲存裝置100以該第一通訊協定運作,該記憶體儲存裝置介面101經該第二選擇器114、該橋接裝置109以及該第一選擇器108以與該主機系統介面102電性連接,使該主機系統103透過該主機系統介面102以該第一通訊協定讀寫該記憶體儲存裝置100的該資料。In step S212, when it is determined that the memory storage device 100 does not support the operation of the third communication protocol, the memory storage device 100 operates according to the first communication protocol, and the memory storage device interface 101 undergoes the second selection The device 114, the bridge device 109, and the first selector 108 are electrically connected to the host system interface 102, so that the host system 103 can read and write to the memory storage device 100 through the host system interface 102 using the first communication protocol Of the information.

請再參考第1圖以及第7-8圖,第7-8圖係繪示依據本創作第二實施例中讀寫控制方法之流程圖,用於讀寫控制系統,該讀寫控制系統包括一記憶體儲存裝置介面101、一主機系統介面102以及一控制裝置104,該控制裝置104包括一控制模組106、一第一選擇器108以及一第三選擇器115,該控制模組106包括一橋接裝置109以及第二選擇器114,該橋接裝置109包括該一第一介面110、一第二介面112以及一第三介面113,該主機系統介面102包括一第一子介面102a以及一第二子介面102b,該第一選擇器108包括第一傳收端TR1以及第二傳收端TR2,該讀寫控制方法包括下列步驟:Please refer to Figure 1 and Figures 7-8 again. Figures 7-8 show the flow chart of the read-write control method according to the second embodiment of this creation, which is used in a read-write control system. The read-write control system includes A memory storage device interface 101, a host system interface 102, and a control device 104. The control device 104 includes a control module 106, a first selector 108, and a third selector 115. The control module 106 includes A bridge device 109 and a second selector 114. The bridge device 109 includes a first interface 110, a second interface 112, and a third interface 113. The host system interface 102 includes a first sub-interface 102a and a second interface. Two sub-interfaces 102b, the first selector 108 includes a first transmitting/receiving terminal TR1 and a second transmitting/receiving terminal TR2, the read-write control method includes the following steps:

在步驟S300中,主機系統103透過該主機系統介面102以第一觸發信號TS1觸發該第一選擇器108的第一傳收端TR1,該主機系統介面102經由該第一選擇器108的該第一傳收端TR1以及該控制模組106電性連接該記憶體儲存裝置介面101。In step S300, the host system 103 triggers the first transmitting and receiving terminal TR1 of the first selector 108 through the host system interface 102 with the first trigger signal TS1, and the host system interface 102 passes through the second selector 108 of the first selector 108. A transmitting and receiving terminal TR1 and the control module 106 are electrically connected to the memory storage device interface 101.

在步驟S302中,偵測該記憶體儲存裝置100電性連接該記憶體儲存裝置介面101。其中,本實施例例如是以該第一通訊協定與該記憶體儲存裝置100進行連接。在一較佳實施例中,該控制裝置104偵測出該記憶體儲存裝置100電性連接該記憶體儲存裝置介面101。該控制裝置104例如可將偵測訊息傳送至該主機系統103。凡具有偵測出該記憶體儲存裝置100電性連接該記憶體儲存裝置介面101的動作皆屬本揭露的精神與範疇,本文在此不作任何限制。In step S302, it is detected that the memory storage device 100 is electrically connected to the memory storage device interface 101. In this embodiment, for example, the first communication protocol is used to connect with the memory storage device 100. In a preferred embodiment, the control device 104 detects that the memory storage device 100 is electrically connected to the memory storage device interface 101. The control device 104 can send detection messages to the host system 103, for example. Any action that detects that the memory storage device 100 is electrically connected to the memory storage device interface 101 is within the spirit and scope of the present disclosure, and there is no limitation here.

在步驟S304中,該第二介面112產生第二觸發信號TS2以觸發該第二選擇器114。In step S304, the second interface 112 generates a second trigger signal TS2 to trigger the second selector 114.

在步驟S306中,以該第一通訊協定初始化或啟動(Initialization process)該記憶體儲存裝置100。在一實施例中,該主機系統103例如可透過該控制模組106的橋接裝置109之第一介面110以及第二介面112,以該第一通訊協定來初始化或啟動該記憶體儲存裝置100。在其他實施例中,該控制模組106亦可透過橋接裝置109之第一介面110、第二介面112以及第三介面113,以該第一通訊協定來對該記憶體儲存裝置100初始化或啟動。凡以該第一通訊協定初始化或啟動該記憶體儲存裝置100的動作皆屬本揭露的精神與範疇,本文在此不作任何限制。In step S306, the memory storage device 100 is initialized or started (Initialization process) using the first communication protocol. In one embodiment, the host system 103 can initialize or activate the memory storage device 100 through the first interface 110 and the second interface 112 of the bridge device 109 of the control module 106, for example. In other embodiments, the control module 106 may also use the first communication protocol to initialize or activate the memory storage device 100 through the first interface 110, the second interface 112, and the third interface 113 of the bridge device 109 . Any actions of initializing or starting the memory storage device 100 using the first communication protocol are within the spirit and scope of the disclosure, and no limitation is made herein.

在步驟S308中,判斷該記憶體儲存裝置100是否支援該第二通訊協定的運作。在一實施例中,該主機系統103可經該主機系統介面102以透過該第一選擇器108的該第一傳收端TR1,以判斷該記憶體儲存裝置100是否支援該第二通訊協定的運作。在其他實施例中,例如可由控制模組106來判斷該記憶體儲存裝置100是否支援該第二通訊協定的運作。凡判斷該記憶體儲存裝置100是否支援該第二通訊協定的運作的技術皆屬本揭露的精神與範疇,本文在此不作任何限制。值得一提的是,當判斷該記憶體儲存裝置100支援該第二通訊協定運作之後,亦例如會再以該第二通訊協定初始化或啟動(Initialization process)該記憶體儲存裝置。當判斷該記憶體儲存裝置100支援該第三通訊協定運作之後,亦例如會再以該第三通訊協定初始化或啟動(Initialization process)該記憶體儲存裝置。In step S308, it is determined whether the memory storage device 100 supports the operation of the second communication protocol. In one embodiment, the host system 103 can determine whether the memory storage device 100 supports the second communication protocol through the first transmitting and receiving end TR1 of the first selector 108 via the host system interface 102 Operation. In other embodiments, for example, the control module 106 can determine whether the memory storage device 100 supports the operation of the second communication protocol. Any technology for determining whether the memory storage device 100 supports the operation of the second communication protocol falls within the spirit and scope of this disclosure, and this article does not make any restrictions here. It is worth mentioning that when it is determined that the memory storage device 100 supports the operation of the second communication protocol, for example, the memory storage device is initialized or activated (Initialization process) by the second communication protocol. After it is determined that the memory storage device 100 supports the operation of the third communication protocol, for example, the memory storage device 100 is initialized or activated (Initialization process) with the third communication protocol.

在步驟S310中,當判斷該記憶體儲存裝置100支援該第二通訊協定運作時,該第二介面112以該第二觸發信號TS2觸發該第二選擇器114,以讓該記憶體儲存裝置介面101透過該第二選擇器114電性連接該主機系統介面102的該第一子介面102a,在一實施例中,該第一子介面102a例如是支援PCIe3.0協定版本。In step S310, when it is determined that the memory storage device 100 supports the second communication protocol operation, the second interface 112 triggers the second selector 114 with the second trigger signal TS2, so that the memory storage device interface 101 is electrically connected to the first sub-interface 102a of the host system interface 102 through the second selector 114. In one embodiment, the first sub-interface 102a supports a PCIe3.0 protocol version, for example.

在步驟S312中,當該記憶體儲存裝置100以該第二通訊協定運作時,該橋接裝置109的該第三介面113產生一第三觸發信號TS3觸發該第三選擇器115的該第四傳收端TR4,該橋接裝置109的該第一介面110產生一第一觸發信號TR1觸發該第一選擇器108的該第二傳收端TR2,以讓該記憶體儲存裝置介面101透過該第四傳收端TR4以及該第二傳收端TR2電性連接該主機系統介面102的該第二子介面102b。在一實施例中,該第二子介面102b例如是支援PCIe3.0協定版本。In step S312, when the memory storage device 100 operates under the second communication protocol, the third interface 113 of the bridge device 109 generates a third trigger signal TS3 to trigger the fourth transmission of the third selector 115 The receiving terminal TR4, the first interface 110 of the bridge device 109 generates a first trigger signal TR1 to trigger the second transmitting and receiving terminal TR2 of the first selector 108, so that the memory storage device interface 101 can pass through the fourth The transmitting/receiving terminal TR4 and the second transmitting/receiving terminal TR2 are electrically connected to the second sub-interface 102b of the host system interface 102. In one embodiment, the second sub-interface 102b supports PCIe3.0 protocol version, for example.

在步驟S314中,當該記憶體儲存裝置100以該第二通訊協定運作時,該主機系統介面102斷開該第一選擇器108的該第一傳收端TR1,該第一傳收端TR1例如是支援PCIe1.0以及PCIe2.0協定版本。In step S314, when the memory storage device 100 operates under the second communication protocol, the host system interface 102 disconnects the first transmission and reception terminal TR1 of the first selector 108, and the first transmission and reception terminal TR1 For example, it supports PCIe1.0 and PCIe2.0 protocol versions.

在步驟S316中,當該記憶體儲存裝置100支援該第二通訊協定的運作時,在一實施例中,該主機系統103的一非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面102以及該第一選擇器108的該第二傳收端TR2存取該記憶體儲存裝置100的資料,即快捷安全數位(SD Express)模式。In step S316, when the memory storage device 100 supports the operation of the second communication protocol, in one embodiment, a non-volatile memory shortcut (NVMe) protocol driver of the host system 103 passes through the host system The interface 102 and the second transmitting and receiving terminal TR2 of the first selector 108 access the data of the memory storage device 100 in SD Express mode.

在步驟S318中,當判斷該記憶體儲存裝置100不支援該第二通訊協定的運作時,判斷該記憶體儲存裝置100是否支援一第三通訊協定的運作。在一實施例中,第三通訊協定例如是SD-UHS II的協定版本。In step S318, when it is determined that the memory storage device 100 does not support the operation of the second communication protocol, it is determined whether the memory storage device 100 supports the operation of a third communication protocol. In one embodiment, the third communication protocol is, for example, the protocol version of SD-UHS II.

在步驟S320中,當該記憶體儲存裝置100以該第三通訊協定運作時,該橋接裝置109的該第二介面112以一第二觸發信號TS2觸發該第二選擇器114,以讓該記憶體儲存裝置介面101透過該第三介面113與該第一介面110電性連接該主機系統介面102的該第一子介面102a。In step S320, when the memory storage device 100 operates under the third communication protocol, the second interface 112 of the bridge device 109 triggers the second selector 114 with a second trigger signal TS2, so that the memory The bulk storage device interface 101 is electrically connected to the first sub-interface 102a of the host system interface 102 through the third interface 113 and the first interface 110.

在步驟S322中,當該記憶體儲存裝置100以該第三通訊協定運作時,該橋接裝置109的該第三介面112產生一第三觸發信號TS3觸發該第三選擇器115的該第三傳收端TR3,該橋接裝置109的該第一介面110產生一第一觸發信號TR1觸發該第一選擇器108的該第一傳收端TR1,以讓該記憶體儲存裝置介面101透過該第一傳收端TR1電性連接該主機系統介面102的該第二子介面102b。In step S322, when the memory storage device 100 operates under the third communication protocol, the third interface 112 of the bridge device 109 generates a third trigger signal TS3 to trigger the third transmission of the third selector 115 The receiving terminal TR3, the first interface 110 of the bridge device 109 generates a first trigger signal TR1 to trigger the first transmitting and receiving terminal TR1 of the first selector 108, so that the memory storage device interface 101 can pass through the first The transmitting and receiving terminal TR1 is electrically connected to the second sub-interface 102b of the host system interface 102.

在步驟S324中,該主機系統103的驅動程式透過該主機系統介面102連結第三選擇器115的該第三傳收端TR3、第三介面113以及該第一選擇器108的該第一傳收端TR2存取該記憶體儲存裝置100的資料,即快捷安全數位(SD-UHS II)模式。In step S324, the driver of the host system 103 connects the third transmission and reception terminal TR3 of the third selector 115, the third interface 113, and the first transmission and reception of the first selector 108 through the host system interface 102. The terminal TR2 accesses the data of the memory storage device 100, that is, the SD-UHS II mode.

在步驟S326中,當判斷該記憶體儲存裝置100不支援該第三通訊協定的運作時,該記憶體儲存裝置100以該第一通訊協定運作。當該記憶體儲存裝置100以該第一通訊協定運作時,該橋接裝置109的該第二介面112以一第二觸發信號TS2觸發該第二選擇器114,以讓該記憶體儲存裝置介面101透過該第二介面112與該第一介面110電性連接該主機系統介面102的該第一子介面102a。In step S326, when it is determined that the memory storage device 100 does not support the operation of the third communication protocol, the memory storage device 100 operates according to the first communication protocol. When the memory storage device 100 operates under the first communication protocol, the second interface 112 of the bridge device 109 triggers the second selector 114 with a second trigger signal TS2, so that the memory storage device interface 101 The first sub-interface 102 a of the host system interface 102 is electrically connected to the first interface 110 through the second interface 112.

在步驟S328中,當該記憶體儲存裝置100以該第一通訊協定運作時,該橋接裝置109的該第一介面110產生一第一觸發信號TS1觸發該第一選擇器108的該第一傳收端TR1,以讓該記憶體儲存裝置介面101透該第一傳收端TR1電性連接該主機系統介面102的該第二子介面102b。In step S328, when the memory storage device 100 operates under the first communication protocol, the first interface 110 of the bridge device 109 generates a first trigger signal TS1 to trigger the first transmission of the first selector 108 The receiving terminal TR1 allows the memory storage device interface 101 to be electrically connected to the second sub-interface 102b of the host system interface 102 through the first transmitting and receiving terminal TR1.

在步驟S330中,該主機系統103的驅動程式透過該主機系統介面102連結第二選擇器114、第二介面112以及該第一選擇器108的該第一傳收端TR2存取該記憶體儲存裝置100的資料,即快捷安全數位(SD-UHS I)模式。In step S330, the driver of the host system 103 connects the second selector 114, the second interface 112, and the first receiver TR2 of the first selector 108 through the host system interface 102 to access the memory storage The data of the device 100 is in the SD-UHS I mode.

在步驟S308之後,若判斷該記憶體儲存裝置100不支援該第二通訊協定的運作,即進行步驟S318。亦即,在步驟S318中,判斷該記憶體儲存裝置100是否支援一第三通訊協定的運作。若該主機系統103經該主機系統介面102確認該記憶體儲存裝置100的該第三通訊協定支援該主機系統介面102的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統介面102透過該第一選擇器108的該第一傳收端TR1讀寫該記憶體儲存裝置100的該資料。After step S308, if it is determined that the memory storage device 100 does not support the operation of the second communication protocol, step S318 is performed. That is, in step S318, it is determined whether the memory storage device 100 supports the operation of a third communication protocol. If the host system 103 confirms through the host system interface 102 that the third communication protocol of the memory storage device 100 supports the PCIe1.0 protocol version or the PCIe2.0 protocol version of the host system interface 102, the host system interface 102 passes The first transmitting and receiving terminal TR1 of the first selector 108 reads and writes the data of the memory storage device 100.

綜上所述,本創作之讀寫控制系統及方法,藉由控制裝置的控制模組、第一選擇器以及第三選擇器,使主機系統透過第一介面、第二介面以及第三介面,即可支援不同的通訊協定讀寫記憶體儲存裝置的資料,解決記憶體儲存裝置與讀寫控制系統之間相容性的問題,並且提高記憶體儲存裝置的使用彈性,同時降低讀寫控制系統的生產成本。To sum up, the read-write control system and method of this creation, through the control module of the control device, the first selector and the third selector, make the host system through the first interface, the second interface and the third interface, It can support different communication protocols to read and write the data of the memory storage device, solve the compatibility problem between the memory storage device and the read-write control system, and increase the flexibility of the memory storage device while reducing the read-write control system Production costs.

在一較佳實施例中,上述之讀寫控制系統及方法在同一PCIe連接埠配置驅動程式(Driver)即可切換安全數位卡的各種存取介面,但不以此為限。In a preferred embodiment, the above-mentioned read-write control system and method can switch various access interfaces of the secure digital card by configuring a driver on the same PCIe port, but it is not limited to this.

雖然本創作已用較佳實施例揭露如上,然其並非用以限定本創作,本創作所屬技術領域中具有通常知識者,在不脫離本創作之精神和範圍內,當可作各種之更動與潤飾,因此本創作之保護範圍當視後附之申請專利範圍所界定者為準。Although this creation has been disclosed above in the preferred embodiment, it is not used to limit this creation. Those with ordinary knowledge in the technical field to which this creation belongs can make various changes and changes without departing from the spirit and scope of this creation. Retouching, therefore, the protection scope of this creation shall be subject to the scope of the attached patent application.

100:記憶體儲存裝置 101:記憶體儲存裝置介面 102:主機系統介面 102a:第一子介面 102b:第二子介面 103:主機系統 104:控制裝置 106:控制模組 108:第一選擇器 109:橋接裝置 110:第一介面 112:第二介面 112a:控制介面 112b:傳收介面 113:第三介面 114:第二選擇器 115:第三選擇器 116:傳收通道 TS1:第一觸發信號 TS2:第二觸發信號 TS3:第三觸發信號 TR1:第一傳收端 TR2:第二傳收端 TR3:第三傳收端 TR4:第四傳收端 DAT 0~3:資料 P1:第一傳輸路徑 P2:第二傳輸路徑 P3:第三傳輸路徑 P4:第四傳輸路徑 P5:第五傳輸路徑 P6:第六傳輸路徑 SD DAT 0~3:安全數位資料 SD CMD:安全數位指令 SD CLK:安全數位時脈 TX/RX:資料傳送/接收 PERST#:快捷周邊元件互聯重設信號 CLKREQ#:時脈請求運行信號 REFCLK+、REFCLK-:參考時脈差分對信號 S200、S202、S204、S206、S208、S210、S212、S300、S302、S304、S306、S308、S310、S312、S314、S316、S318、S320、S322、S324、S326、S328、S330:步驟100: Memory storage device 101: Memory storage device interface 102: Host system interface 102a: The first sub-interface 102b: The second sub-interface 103: host system 104: control device 106: control module 108: First selector 109: Bridge device 110: First interface 112: Second interface 112a: Control interface 112b: Transmission and receiving interface 113: Third Interface 114: second selector 115: third selector 116: Transmission Channel TS1: the first trigger signal TS2: second trigger signal TS3: third trigger signal TR1: First pass and receive end TR2: Second pass and receive end TR3: Third pass and receive end TR4: The fourth pass DAT 0~3: data P1: The first transmission path P2: second transmission path P3: Third transmission path P4: Fourth transmission path P5: fifth transmission path P6: sixth transmission path SD DAT 0~3: Secure digital data SD CMD: Secure Digital Instructions SD CLK: Secure digital clock TX/RX: data transmission/reception PERST#: Quick peripheral component interconnection reset signal CLKREQ#: Clock request operation signal REFCLK+, REFCLK-: reference clock differential pair signal S200, S202, S204, S206, S208, S210, S212, S300, S302, S304, S306, S308, S310, S312, S314, S316, S318, S320, S322, S324, S326, S328, S330: steps

為了更清楚地說明本創作實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本創作的一些實施例,對於本創作所屬技術領域中具有通常知識者來講,還可以根據這些附圖獲得其他的附圖。 第1圖係繪示依據本創作實施例中讀寫控制系統之方塊圖。 第2圖係繪示依據本創作第一實施例中讀寫控制系統之方塊圖。 第3圖係繪示依據本創作第二實施例中讀寫控制系統之方塊圖。 第4圖係繪示依據本創作第三實施例中讀寫控制系統之方塊圖。 第5圖係繪示依據本創作第四實施例中讀寫控制系統之方塊圖。 第6圖係繪示依據本創作第一實施例中讀寫控制方法之流程圖。 第7-8圖係繪示依據本創作第二實施例中讀寫控制方法之流程圖。 In order to more clearly explain the technical solutions in the creative embodiments, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the creative. For those with ordinary knowledge in the technical field to which this creation belongs, other drawings can also be obtained from these drawings. Figure 1 is a block diagram of the read-write control system according to this creative embodiment. Figure 2 is a block diagram of the read-write control system according to the first embodiment of the creation. Figure 3 is a block diagram of the read-write control system according to the second embodiment of the invention. Figure 4 is a block diagram of the read-write control system according to the third embodiment of this creation. Figure 5 is a block diagram of the read-write control system in the fourth embodiment according to the invention. Figure 6 is a flowchart showing the method of reading and writing control in the first embodiment of the creation. Figures 7-8 show the flow chart of the method for reading and writing in the second embodiment of the creation.

100:記憶體儲存裝置 100: Memory storage device

101:記憶體儲存裝置介面 101: Memory storage device interface

102:主機系統介面 102: Host system interface

102a:第一子介面 102a: The first sub-interface

102b:第二子介面 102b: The second sub-interface

103:主機系統 103: host system

104:控制裝置 104: control device

106:控制模組 106: control module

108:第一選擇器 108: First selector

109:橋接裝置 109: Bridge device

110:第一介面 110: First interface

112:第二介面 112: Second interface

112a:控制介面 112a: Control interface

112b:傳收介面 112b: Transmission and receiving interface

113:第三介面 113: Third Interface

114:第二選擇器 114: second selector

115:第三選擇器 115: third selector

TS1:第一觸發信號 TS1: the first trigger signal

TS2:第二觸發信號 TS2: second trigger signal

TS3:第三觸發信號 TS3: third trigger signal

TR1:第一傳收端 TR1: First pass and receive end

TR2:第二傳收端 TR2: Second pass and receive end

TR3:第三傳收端 TR3: Third pass and receive end

TR4:第四傳收端 TR4: The fourth pass

DAT 0~3:資料 DAT 0~3: data

P1:第一傳輸路徑 P1: The first transmission path

P2:第二傳輸路徑 P2: second transmission path

P3:第三傳輸路徑 P3: Third transmission path

P4:第四傳輸路徑 P4: Fourth transmission path

P5:第五傳輸路徑 P5: fifth transmission path

P6:第六傳輸路徑 P6: sixth transmission path

SD DAT 0~3:安全數位資料 SD DAT 0~3: Secure digital data

SD CMD:安全數位指令 SD CMD: Secure Digital Instructions

SD CLK:安全數位時脈 SD CLK: Secure digital clock

TX/RX:資料傳送/接收 TX/RX: data transmission/reception

PERST#:快捷周邊元件互聯重設信號 PERST#: Quick peripheral component interconnection reset signal

CLKREQ#:時脈請求運行信號 CLKREQ#: Clock request operation signal

REFCLK+、REFCLK-:參考時脈差分對信號 REFCLK+, REFCLK-: reference clock differential pair signal

Claims (9)

一種讀寫控制系統,用以供一主機系統讀寫一記憶體儲存裝置的資料,該讀寫控制系統包括: 一記憶體儲存裝置介面,用以連接該記憶體儲存裝置; 一主機系統介面,電性連接該記憶體儲存裝置介面,且該主機系統連接該主機系統介面;以及 一控制裝置,包括一控制模組以及一第一選擇器,該控制模組電性連接該記憶體儲存裝置介面、該主機系統介面以及該第一選擇器,該第一選擇器電性連接該主機系統介面,該控制模組包括: 一橋接裝置,電性連接該主機系統介面、該記憶體儲存裝置介面以及該第一選擇器;以及 一第二選擇器,電性連接該主機系統介面、該記憶體儲存裝置介面以及該橋接裝置; 其中,該控制裝置更包括一第三選擇器,該第三選擇器電性連接該記憶體儲存裝置介面、該橋接裝置以及該第一選擇器; 其中,當該記憶體儲存裝置以一第一通訊協定運作時,該記憶體儲存裝置介面經該第二選擇器、該橋接裝置以及該第一選擇器來與該主機系統介面電性連接; 其中,當該記憶體儲存裝置以一第二通訊協定運作時,該記憶體儲存裝置介面經該第二選擇器以與該主機系統介面電性連接,該記憶體儲存裝置介面亦經該第三選擇器以及該第一選擇器以與該主機系統介面電性連接; 其中,當該記憶體儲存裝置以一第三通訊協定運作時,該記憶體儲存裝置介面經該第二選擇器以及該橋接裝置以與該主機系統介面電性連接,該記憶體儲存裝置介面亦經該第三選擇器、該橋接裝置以及該第一選擇器以與該主機系統介面電性連接。 A read-write control system for a host system to read and write data of a memory storage device, the read-write control system includes: A memory storage device interface for connecting the memory storage device; A host system interface electrically connected to the memory storage device interface, and the host system is connected to the host system interface; and A control device includes a control module and a first selector. The control module is electrically connected to the memory storage device interface, the host system interface and the first selector, and the first selector is electrically connected to the The host system interface, the control module includes: A bridge device electrically connected to the host system interface, the memory storage device interface and the first selector; and A second selector electrically connected to the host system interface, the memory storage device interface and the bridge device; Wherein, the control device further includes a third selector electrically connected to the memory storage device interface, the bridge device and the first selector; Wherein, when the memory storage device operates under a first communication protocol, the memory storage device interface is electrically connected to the host system interface via the second selector, the bridge device, and the first selector; Wherein, when the memory storage device operates with a second communication protocol, the memory storage device interface is electrically connected to the host system interface via the second selector, and the memory storage device interface is also connected via the third The selector and the first selector are electrically connected to the host system interface; Wherein, when the memory storage device operates under a third communication protocol, the memory storage device interface is electrically connected to the host system interface via the second selector and the bridge device, and the memory storage device interface is also The third selector, the bridge device and the first selector are electrically connected to the host system interface. 如申請專利範圍第1項所述之讀寫控制系統,其中該控制裝置偵測該記憶體儲存裝置電性連接該記憶體儲存裝置介面,並預設以該第一通訊協定與該記憶體儲存裝置連接,以該第一通訊協定啟動該記憶體儲存裝置。Such as the read-write control system described in item 1 of the scope of patent application, wherein the control device detects that the memory storage device is electrically connected to the memory storage device interface, and presets the first communication protocol and the memory storage The device is connected, and the memory storage device is activated with the first communication protocol. 如申請專利範圍第1項所述之讀寫控制系統,其中該橋接裝置包括: 一第一介面,電性連接該主機系統介面以及該第一選擇器; 一第二介面,電性連接該記憶體儲存裝置介面、該第一介面以及該第二選擇器;以及 一第三介面,電性連接該第一介面、該第二介面以及該第三選擇器; 其中,當該記憶體儲存裝置以該第一通訊協定運作時,該記憶體儲存裝置介面經由該第二選擇器、該第二介面以及該第一介面,並且經由該控制裝置的該第一選擇器,以與該主機系統介面電性連接,其中該記憶體儲存裝置介面、該第二介面、該第一介面以及該主機系統介面間的傳輸路徑定義為一第一傳輸路徑,該記憶體儲存裝置介面、該第二選擇器、該第二介面、該第一介面、該第一選擇器以及該主機系統介面間的傳輸路徑定義為一第二傳輸路徑,使該主機系統透過該第一傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第二傳輸路徑以該第一通訊協定讀寫該記憶體儲存裝置的該資料; 其中,當該記憶體儲存裝置以該第二通訊協定運作時,該記憶體儲存裝置介面經由該第二選擇器以與該主機系統介面電性連接,並且該記憶體儲存裝置介面經由該控制裝置的該第三選擇器以及該第一選擇器,以與該主機系統介面電性連接,其中該記憶體儲存裝置介面、該第二選擇器以及該主機系統介面間的傳輸路徑定義為一第三傳輸路徑,該記憶體儲存裝置介面、該第三選擇器、該第一選擇器以及該主機系統介面間的傳輸路徑定義為一第四傳輸路徑,使該主機系統透過該第三傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第四傳輸路徑以該第二通訊協定讀寫該記憶體儲存裝置的該資料; 其中,當該記憶體儲存裝置以該第三通訊協定運作時,該記憶體儲存裝置介面經由該第二選擇器、該第三介面以及該第一介面,以與該主機系統介面電性連接,並且該記憶體儲存裝置介面經由該控制裝置的該第三選擇器、該第三介面、該第一介面以及該第一選擇器,以與該主機系統介面電性連接,其中該記憶體儲存裝置介面、該第二選擇器、第三介面、第一介面以及該主機系統介面定義為一第五傳輸路徑,該記憶體儲存裝置介面、該第三選擇器、該第三介面、該第一介面、該第一選擇器以及該主機系統介面定義為一第六傳輸路徑,使該主機系統透過該第五傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第六傳輸路徑以該第三通訊協定讀寫該記憶體儲存裝置的該資料。 The read-write control system described in item 1 of the scope of patent application, wherein the bridge device includes: A first interface electrically connected to the host system interface and the first selector; A second interface electrically connected to the memory storage device interface, the first interface and the second selector; and A third interface electrically connected to the first interface, the second interface and the third selector; Wherein, when the memory storage device operates under the first communication protocol, the memory storage device interface passes through the second selector, the second interface, and the first interface, and passes through the first selection of the control device The device is electrically connected to the host system interface, wherein the transmission path between the memory storage device interface, the second interface, the first interface and the host system interface is defined as a first transmission path, and the memory storage The transmission path between the device interface, the second selector, the second interface, the first interface, the first selector, and the host system interface is defined as a second transmission path through which the host system transmits The path communicates with the memory storage device interface and reads and writes the data of the memory storage device using the first communication protocol through the second transmission path; Wherein, when the memory storage device operates under the second communication protocol, the memory storage device interface is electrically connected to the host system interface via the second selector, and the memory storage device interface is via the control device The third selector and the first selector are electrically connected to the host system interface, wherein the transmission path between the memory storage device interface, the second selector and the host system interface is defined as a third Transmission path, the transmission path between the memory storage device interface, the third selector, the first selector and the host system interface is defined as a fourth transmission path, so that the host system can communicate with each other through the third transmission path The memory storage device interface communicates and reads and writes the data of the memory storage device through the fourth transmission path using the second communication protocol; Wherein, when the memory storage device operates under the third communication protocol, the memory storage device interface is electrically connected to the host system interface through the second selector, the third interface and the first interface, And the memory storage device interface is electrically connected to the host system interface through the third selector, the third interface, the first interface, and the first selector of the control device, wherein the memory storage device The interface, the second selector, the third interface, the first interface, and the host system interface are defined as a fifth transmission path, the memory storage device interface, the third selector, the third interface, and the first interface , The first selector and the host system interface are defined as a sixth transmission path, so that the host system communicates with the memory storage device interface through the fifth transmission path and uses the third communication through the sixth transmission path The protocol reads and writes the data in the memory storage device. 如申請專利範圍第3項所述之讀寫控制系統,其中該主機系統介面包括一第一子介面以及一第二子介面,該第一選擇器包括一第一傳收端以及一第二傳收端,該第三選擇器包括一第三傳收端以及一第四傳收端; 其中,當該記憶體儲存裝置以該第一通訊協定運作時,該主機系統透過該橋接裝置的該第一介面產生一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶體儲存裝置介面透過該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面,該記憶體儲存裝置介面亦透過該第二選擇器以及該橋接裝置的該第一介面與該第二介面電性連接該主機系統介面的該第一子介面; 其中,當該記憶體儲存裝置以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器電性連接該主機系統介面的該第一子介面,且該主機系統透過該第三介面產生一第三觸發信號觸發該第三選擇器的該第四傳收端,該主機系統透過該第一介面產生該第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶體儲存裝置介面透過該第四傳收端以及該第二傳收端電性連接該主機系統介面的該第二子介面,且當該記憶體儲存裝置以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端; 其中,當該記憶體儲存裝置以該第三通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器、該第三介面以及該第一介面電性連接該主機系統介面的該第一子介面,且該主機系統透過該第一介面產生該第一觸發信號觸發該第一選擇器的該第一傳收端,該主機系統透過該第三介面產生一第三觸發信號觸發該第三選擇器,以讓該記憶體儲存裝置介面透該第三傳收端以及該第一傳收端電性連接該主機系統介面的該第二子介面。 As described in item 3 of the scope of patent application, the host system interface includes a first sub-interface and a second sub-interface, and the first selector includes a first transmitting and receiving terminal and a second transmitting terminal. The receiving end, the third selector includes a third transmitting and receiving end and a fourth transmitting and receiving end; Wherein, when the memory storage device operates under the first communication protocol, the host system generates a first trigger signal through the first interface of the bridge device to trigger the first transmitting and receiving end of the first selector to The memory storage device interface is electrically connected to the second sub-interface of the host system interface through the bridge device and the first transmitting and receiving end, and the memory storage device interface is also through the second selector and the bridge device The first interface and the second interface are electrically connected to the first sub-interface of the host system interface; Wherein, when the memory storage device operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal so that the memory storage device interface is electrically connected through the second selector The first sub-interface is connected to the host system interface, and the host system generates a third trigger signal through the third interface to trigger the fourth transmitting and receiving end of the third selector, and the host system generates through the first interface The first trigger signal triggers the second transmitting and receiving end of the first selector, so that the memory storage device interface is electrically connected to the host system interface through the fourth transmitting and receiving end and the second transmitting and receiving end A second sub-interface, and when the memory storage device operates with the second communication protocol, the host system interface disconnects the first transmitting and receiving end of the first selector; Wherein, when the memory storage device operates under the third communication protocol, the second interface triggers the second selector with a second trigger signal, so that the memory storage device interface passes through the second selector, the The third interface and the first interface are electrically connected to the first sub-interface of the host system interface, and the host system generates the first trigger signal through the first interface to trigger the first transmitting and receiving end of the first selector The host system generates a third trigger signal through the third interface to trigger the third selector, so that the memory storage device interface is electrically connected to the host system through the third transmitting and receiving end and the first transmitting and receiving end The second sub-interface of the interface. 如申請專利範圍第4項所述之讀寫控制系統,其中該主機系統透過該主機系統介面、該第一選擇器的該第一傳收端以及該第二選擇器與該記憶體儲存裝置通訊,以判斷該記憶體儲存裝置是否支援該主機系統的協定版本,該協定版本包括PCIe1.0、PCIe2.0以及PCIe3.0協定版本; 其中,當該主機系統經該主機系統介面確認該記憶體儲存裝置的該第一通訊協定支援該主機系統的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端讀寫該記憶體儲存裝置的該資料; 其中,當該主機系統經該主機系統介面確認該記憶體儲存裝置的該第二通訊協定支援該主機系統的PCIe3.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第二傳收端以及該第三選擇器的該第四傳收端讀寫該記憶體儲存裝置的該資料; 其中,當該主機系統經該主機系統介面確認該記憶體儲存裝置的該第三通訊協定支援該主機系統的PCIe1.0協定版本或是PCIe2.0協定版本,該主機系統透過該主機系統介面與該第一選擇器的該第一傳收端、該第一介面、該第三介面以及該第三選擇器的該第三傳收端讀寫該記憶體儲存裝置的該資料。 The read-write control system described in item 4 of the scope of patent application, wherein the host system communicates with the memory storage device through the host system interface, the first transmitting and receiving end of the first selector, and the second selector To determine whether the memory storage device supports the protocol version of the host system, and the protocol version includes PCIe1.0, PCIe2.0 and PCIe3.0 protocol versions; Wherein, when the host system confirms through the host system interface that the first communication protocol of the memory storage device supports the PCIe 1.0 protocol version or the PCIe 2.0 protocol version of the host system, the host system communicates with the host system through the host system interface The first transmitting and receiving end of the first selector reads and writes the data of the memory storage device; Wherein, when the host system confirms through the host system interface that the second communication protocol of the memory storage device supports the PCIe3.0 protocol version of the host system, the host system communicates with the first selector of the host system through the host system interface. The second transmitting and receiving end and the fourth transmitting and receiving end of the third selector read and write the data of the memory storage device; Wherein, when the host system confirms through the host system interface that the third communication protocol of the memory storage device supports the PCIe 1.0 protocol version or the PCIe 2.0 protocol version of the host system, the host system communicates with the host system through the host system interface The first transmitting and receiving end of the first selector, the first interface, the third interface, and the third transmitting and receiving end of the third selector read and write the data of the memory storage device. 如申請專利範圍第4項所述之讀寫控制系統,其中當該記憶體儲存裝置支援該第二通訊協定的運作時,該主機系統的一非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面以及該第一選擇器的該第二傳收端存取該記憶體儲存裝置的資料; 其中,當該記憶體儲存裝置的該第二通訊協定定義為快捷安全數位(SD Express)7.0或是8.0模式,該主機系統的該非揮發性記憶體快捷(NVMe)協定驅動程式透過該主機系統介面與該記憶體儲存裝置介面之間的一傳收通道存取該記憶體儲存裝置的資料。 Such as the read-write control system described in item 4 of the scope of patent application, wherein when the memory storage device supports the operation of the second communication protocol, a non-volatile memory shortcut (NVMe) protocol driver of the host system passes The host system interface and the second transmitting and receiving end of the first selector access the data of the memory storage device; Wherein, when the second communication protocol of the memory storage device is defined as the SD Express 7.0 or 8.0 mode, the non-volatile memory shortcut (NVMe) protocol driver of the host system passes through the host system interface A transmission and reception channel between the interface with the memory storage device accesses the data of the memory storage device. 如申請專利範圍第1項所述之讀寫控制系統,其中該記憶體儲存裝置的該第一通訊協定以及第三通訊協定定義為安全數位(SD)模式,該記憶體儲存裝置的該第二通訊協定定義為快捷安全數位(SD Express)模式,其中該記憶體儲存裝置的該第一通訊協定以及該第三通訊協定的資料傳輸率小於該第二通訊協定的資料傳輸率,該第一通訊協定的資料傳輸率小於該第三通訊協定的資料傳輸率。For the read-write control system described in item 1 of the scope of patent application, the first communication protocol and the third communication protocol of the memory storage device are defined as a secure digital (SD) mode, and the second The communication protocol is defined as a fast and secure digital (SD Express) mode, in which the data transfer rate of the first communication protocol and the third communication protocol of the memory storage device is less than the data transfer rate of the second communication protocol, and the first communication The data transmission rate of the protocol is lower than the data transmission rate of the third communication protocol. 一種讀寫控制系統,用以供一主機系統讀寫一記憶體儲存裝置的資料,該讀寫控制系統包括: 一第一傳輸路徑,連接於一記憶體儲存裝置介面、一橋接裝置以及一主機系統介面之間,其中該記憶體儲存裝置介面用以連接該記憶體儲存裝置; 一第二傳輸路徑,連接於該記憶體儲存裝置介面、一第二選擇器、該橋接裝置、一第一選擇器以及該主機系統介面之間; 一第三傳輸路徑,連接於該記憶體儲存裝置介面、該第二選擇器以及該主機系統介面之間; 一第四傳輸路徑,連接於該記憶體儲存裝置介面、一第三選擇器、該第一選擇器以及該主機系統介面之間; 一第五傳輸路徑,連接於該記憶體儲存裝置介面、該第二選擇器、該橋接裝置以及該主機系統介面之間;以及 一第六傳輸路徑,連接於該記憶體儲存裝置介面、該第三選擇器、該橋接裝置、該第一選擇器以及該主機系統介面之間; 其中,當該記憶體儲存裝置以該第一通訊協定運作時,該主機系統經該主機系統介面透過該第一傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第二傳輸路徑以該第一通訊協定讀寫該記憶體儲存裝置的該資料; 其中,當該記憶體儲存裝置以該第二通訊協定運作時,該主機系統經該主機系統介面透過該第三傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第四傳輸路徑以該第二通訊協定讀寫該記憶體儲存裝置的該資料; 其中,當該記憶體儲存裝置以該第三通訊協定運作時,該主機系統經該主機系統介面透過該第五傳輸路徑以與該記憶體儲存裝置介面通訊並且透過該第六傳輸路徑以該第三通訊協定讀寫該記憶體儲存裝置的該資料。 A read-write control system for a host system to read and write data of a memory storage device, the read-write control system includes: A first transmission path connected between a memory storage device interface, a bridge device and a host system interface, wherein the memory storage device interface is used to connect the memory storage device; A second transmission path connected between the memory storage device interface, a second selector, the bridge device, a first selector, and the host system interface; A third transmission path connected between the memory storage device interface, the second selector and the host system interface; A fourth transmission path connected between the memory storage device interface, a third selector, the first selector and the host system interface; A fifth transmission path connected between the memory storage device interface, the second selector, the bridge device, and the host system interface; and A sixth transmission path connected between the memory storage device interface, the third selector, the bridge device, the first selector, and the host system interface; Wherein, when the memory storage device operates under the first communication protocol, the host system communicates with the memory storage device interface through the host system interface through the first transmission path and communicates with the memory storage device interface through the second transmission path. A communication protocol to read and write the data of the memory storage device; Wherein, when the memory storage device operates with the second communication protocol, the host system communicates with the memory storage device interface via the host system interface through the third transmission path and communicates with the memory storage device interface through the fourth transmission path. 2. The communication protocol reads and writes the data of the memory storage device; Wherein, when the memory storage device operates under the third communication protocol, the host system communicates with the memory storage device interface via the host system interface through the fifth transmission path and communicates with the memory storage device interface through the sixth transmission path. Three communication protocols read and write the data of the memory storage device. 如申請專利範圍第8項所述之讀寫控制系統,其中該主機系統介面包括一第一子介面以及一第二子介面,該橋接裝置包括一第一介面、第二介面以及一第三介面,該第一選擇器包括一第一傳收端以及一第二傳收端,該第三選擇器包括一第三傳收端以及一第四傳收端; 其中,當該記憶體儲存裝置以該第一通訊協定運作時,該主機系統經該第一介面產生一第一觸發信號觸發該第一選擇器的該第一傳收端,以讓該記憶體儲存裝置介面透過該橋接裝置以及該第一傳收端電性連接該主機系統介面的該第二子介面,該記憶體儲存裝置介面亦透過該第二選擇器以及該橋接裝置的該第一介面與該第二介面電性連接該主機系統介面的該第一子介面; 其中,當該記憶體儲存裝置以該第二通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器電性連接該主機系統介面的該第一子介面,且該主機系統透過該第三介面產生一第三觸發信號觸發該第三選擇器的該第四傳收端,該主機系統介面以該第一介面產生該第一觸發信號觸發該第一選擇器的該第二傳收端,以讓該記憶體儲存裝置介面透過該第四傳收端以及該第二傳收端電性連接該主機系統介面的該第二子介面; 其中,當該記憶體儲存裝置以該第三通訊協定運作時,該第二介面以一第二觸發信號觸發該第二選擇器,以讓該記憶體儲存裝置介面透過該第二選擇器、該第三介面以及該第一介面電性連接該主機系統介面的該第一子介面,且該主機系統透過該第一介面產生該第一觸發信號觸發該第一選擇器的該第一傳收端,該主機系統透過該第三介面產生一第三觸發信號觸發該第三選擇器,以讓該記憶體儲存裝置介面透該第三傳收端以及該第一傳收端電性連接該主機系統介面的該第二子介面; 其中,當該記憶體儲存裝置以該第二通訊協定運作時,該主機系統介面斷開該第一選擇器的該第一傳收端,當該記憶體儲存裝置以該第一通訊協定或是該第三通訊協定運作時,該主機系統介面斷開該第一選擇器的該第二傳收端。 The read-write control system described in claim 8, wherein the host system interface includes a first sub-interface and a second sub-interface, and the bridge device includes a first interface, a second interface, and a third interface , The first selector includes a first transmitting and receiving end and a second transmitting and receiving end, and the third selector includes a third transmitting and receiving end and a fourth transmitting and receiving end; Wherein, when the memory storage device operates under the first communication protocol, the host system generates a first trigger signal through the first interface to trigger the first transmitting and receiving end of the first selector, so that the memory The storage device interface is electrically connected to the second sub-interface of the host system interface through the bridge device and the first transmitting/receiving terminal, and the memory storage device interface is also through the second selector and the first interface of the bridge device The first sub-interface of the host system interface is electrically connected to the second interface; Wherein, when the memory storage device operates under the second communication protocol, the second interface triggers the second selector with a second trigger signal so that the memory storage device interface is electrically connected through the second selector The first sub-interface of the host system interface is connected, and the host system generates a third trigger signal through the third interface to trigger the fourth transmitting and receiving end of the third selector. The host system interface uses the first interface The first trigger signal is generated to trigger the second transmitting and receiving end of the first selector, so that the memory storage device interface is electrically connected to the host system interface through the fourth transmitting and receiving end and the second transmitting and receiving end The second sub-interface; Wherein, when the memory storage device operates under the third communication protocol, the second interface triggers the second selector with a second trigger signal, so that the memory storage device interface passes through the second selector, the The third interface and the first interface are electrically connected to the first sub-interface of the host system interface, and the host system generates the first trigger signal through the first interface to trigger the first transmitting and receiving end of the first selector The host system generates a third trigger signal through the third interface to trigger the third selector, so that the memory storage device interface is electrically connected to the host system through the third transmitting and receiving end and the first transmitting and receiving end The second sub-interface of the interface; Wherein, when the memory storage device operates under the second communication protocol, the host system interface disconnects the first transmitting and receiving end of the first selector, and when the memory storage device operates under the first communication protocol or When the third communication protocol is operating, the host system interface disconnects the second transmitting and receiving end of the first selector.
TW109210799U 2020-08-19 2020-08-19 Control system of accessing data for memory storage TWM606415U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109210799U TWM606415U (en) 2020-08-19 2020-08-19 Control system of accessing data for memory storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109210799U TWM606415U (en) 2020-08-19 2020-08-19 Control system of accessing data for memory storage

Publications (1)

Publication Number Publication Date
TWM606415U true TWM606415U (en) 2021-01-11

Family

ID=75238329

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109210799U TWM606415U (en) 2020-08-19 2020-08-19 Control system of accessing data for memory storage

Country Status (1)

Country Link
TW (1) TWM606415U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI816046B (en) * 2020-08-19 2023-09-21 創惟科技股份有限公司 Control system of accessing data for memory storage and method thereof
US11971838B2 (en) 2021-03-05 2024-04-30 Suzhou Bayhub Electronics Technoi Apparatuses, systems, and methods for providing communication between memory cards and host devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI816046B (en) * 2020-08-19 2023-09-21 創惟科技股份有限公司 Control system of accessing data for memory storage and method thereof
US11971838B2 (en) 2021-03-05 2024-04-30 Suzhou Bayhub Electronics Technoi Apparatuses, systems, and methods for providing communication between memory cards and host devices

Similar Documents

Publication Publication Date Title
US8510494B2 (en) USB 3.0 support in mobile platform with USB 2.0 interface
US7363395B2 (en) Intermediate device capable of communicating using different communication protocols
US7738397B2 (en) Generating topology information identifying devices in a network topology
CN213069787U (en) Read-write control system of memory card
JP2010508600A (en) Memory controller with dual-mode memory interconnect
US8250258B2 (en) Hybrid serial peripheral interface data transmission architecture and method of the same
EP2704021B1 (en) SRAM handshake
KR102453113B1 (en) Signal transmitting circuit reducing power at standby state
TWM606415U (en) Control system of accessing data for memory storage
US20140062661A1 (en) Interface arbitration for a wired tag
TWM592995U (en) Control system of accessing data for memory cards
CN109992556B (en) I2C driving method and device
WO2014023247A1 (en) Embedded device and method for control data communication based on the device
KR20160016485A (en) Operating method of controller for setting link between interfaces of electronic devices, and storage device including controller
TWM592994U (en) Control system of accessing data
TWI717884B (en) Control system of accessing data for memory cards and method thereof
TWI746983B (en) Control system of accessing data and method thereof
TWI816046B (en) Control system of accessing data for memory storage and method thereof
US20080320186A1 (en) Memory device capable of communicating with host at different speeds, and data communication system using the memory device
US20070131767A1 (en) System and method for media card communication
AU2004306900B2 (en) Backward-compatible parallel DDR bus for use in host-daughtercard interface
TWM619018U (en) Storage module
US12015508B2 (en) System and operating method thereof
CN118467434B (en) Service system, input/output chassis, equipment chassis and chassis identification method
US20240012770A1 (en) Interface device having plurality of ports and method of operating the same