WO2005066806A1 - Semiconductor storage apparatus for serial advanced technology attachment-based - Google Patents

Semiconductor storage apparatus for serial advanced technology attachment-based Download PDF

Info

Publication number
WO2005066806A1
WO2005066806A1 PCT/CN2004/001444 CN2004001444W WO2005066806A1 WO 2005066806 A1 WO2005066806 A1 WO 2005066806A1 CN 2004001444 W CN2004001444 W CN 2004001444W WO 2005066806 A1 WO2005066806 A1 WO 2005066806A1
Authority
WO
WIPO (PCT)
Prior art keywords
data storage
data
storage device
ata
semiconductor
Prior art date
Application number
PCT/CN2004/001444
Other languages
French (fr)
Chinese (zh)
Inventor
Xiaohua Cheng
Original Assignee
Netac Technology Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netac Technology Co., Ltd. filed Critical Netac Technology Co., Ltd.
Publication of WO2005066806A1 publication Critical patent/WO2005066806A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0661Format or protocol conversion arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Definitions

  • the present invention relates to the field of data storage, and in particular, to a semiconductor storage device based on a serial ATA interface. Background technique
  • storage devices such as hard disks, CD or VD drives, large-capacity removable storage devices, and CDRW drives are usually connected to the computer using an interface.
  • This interface is mainly used to define the physical and logical requirements for data input and output.
  • the information storage capacity of the hard disk is greatly improved, the capacity of the information stored in the hard disk is getting larger and larger, and the host system has higher and higher requirements for the interface of the hard disk.
  • IDE Drive integrated Drive Electronics
  • IDE interface more accurately called ATA interface (Advanced Technology Attachment, advanced technology structure)
  • parallel ATA interface this interface started in 1986, formed a standard in 1988
  • This standard mainly provides a standardized method for attaching the disk to the structure of a personal computer.
  • ATA interface technology In recent years, in order to meet the improvement of the data access speed of the hard disk by the processing unit, the continuous development of ATA interface technology has formed a variety of standard specifications, such as ATA / ATAPI, EIDE, ATA-2, High-speed ATA, ATA-3, UltraATA, Ultra DMA, ATA / ATAPI-4, ATA / ATAPI-5, ATA / ATAPI-6, etc.
  • the parallel ATA interface dominates the connection between the hard disks inside the current desktop and portable computers because of its simplicity and low cost.
  • the parallel ATA interface has a series of limiting factors that make people tired of continuously increasing their performance. . These limited factors include: high pin count, 40-pin 80-core cable, and short cable length, which is inconvenient for hard disk access and system heat dissipation requirements.
  • serial ATA Interface Serial ATA
  • S-ATA is the development of parallel ATA physical memory interface. This technology has a much lower pin number than parallel ATA in software. Only 4 pins are needed. The cable is softer and provides a longer access cable for hard disks. Convenient hard disk access to the host system, and supports hot swap.
  • the lower pin count of the S-ATA interface is also beneficial to the system design of the motherboard, including chips and other integrated silicon components.
  • the technical problem to be solved by the present invention is to provide a semiconductor storage device capable of safely storing data in a vibration environment.
  • Another technical problem to be solved by the present invention is to provide a semiconductor storage device which has a high data storage speed and is convenient for mobile storage requirements.
  • the technical solution of the present invention to solve the technical problem is to provide a semiconductor storage device, including: a data storage unit, the data storage unit is composed of at least one semiconductor storage chip for data storage; and a definition with S-ATA A bus-connected S-ATA interface connector, providing a data input and output port of the data storage device, sending and receiving data to and from the S-ATA-defined bus; and an S-ATA storage controller Provide a data connection between the data storage unit and the S-ATA interface connector, execute an input operation instruction of the data storage device, and perform data operations on the data storage unit.
  • the semiconductor storage device of the present invention has the following beneficial effects: First, because the storage medium of the data storage device of the present invention uses a semiconductor storage medium, It has shock resistance, and can work normally under the environment of great acceleration change or high vibration. Secondly, there is no relative mechanical movement during the reading of the data, and it has small size, low energy consumption and no noise. Again, The data storage device uses an S-ATA interface, with fast read and write speeds, a bus speed of up to 600MB / S, and serial ATA supports hot plugging. Like USB and IEEE1394, it can be used without shutting down. Can complete the work of data storage device access or removal. BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram of the main components of the data storage device of the present invention.
  • FIG. 2 is a block diagram of the main components of the data storage device of the present invention.
  • FIG. 3 is a principle diagram and a system schematic block diagram of the connection between the data storage device and the host system shown in FIG. 1;
  • FIG. 5 is a flowchart of a data operation on a data storage device according to the present invention.
  • Fig. 6 is a block diagram of a connection principle of the main components of a data storage device according to another embodiment of the present invention. detailed description
  • FIG. 1 is a schematic block diagram of a semiconductor storage device 200 provided according to the present invention.
  • the semiconductor storage device 200 includes a data storage unit 230.
  • the data storage unit 230 is composed of at least one semiconductor storage chip for data storage.
  • An S-ATA interface connector 220 connected to the S-ATA-defined bus, providing a port for data input and output of the semiconductor storage device 200, sending data to the S-ATA-defined bus and receiving data from the S-ATA bus; and
  • An S-ATA storage controller 210 provides a data connection between the data storage unit 230 and the S-ATA interface connector 220, executes an operation instruction input to the semiconductor storage device 200, and performs data operations on the data storage unit 230.
  • the S-ATA interface connector 220 includes an S-ATA interface slot 222 and an interface controller 224.
  • the S-ATA interface slot 222 provides a data input / output port of the semiconductor storage device 200.
  • the interface controller 224 is provided with firmware that implements interface standard functions, thereby supporting S-ATA functions that comply with the S-ATA standard.
  • the S-ATA interface functions required by the semiconductor storage device 200 are identified, enumerated, configured, and registered on the bus.
  • the functional component that plays an important role in the semiconductor storage device 200 is the S-ATA storage control unit 210.
  • the S-ATA storage control unit 210 provides an interface for connecting the S-ATA interface connector 220 and the data storage unit 230.
  • the S-ATA storage control unit 210 is provided with management and operation of files in the data storage unit 230.
  • Firmware of a file system that complies with the corresponding operating system specifications, processes commands and data from external systems, and executes data storage units. 230 operations, including data read, write or erase.
  • the S-ATA storage control unit 210 may implement the above functions by a single integrated circuit chip, or may be composed of multiple integrated circuit chips with different functions to implement the above functions.
  • An optimized method can integrate the interface controller 224 of the S-ATA interface connector 220 and the storage control unit 210 into a single chip, and control the data access of the data storage unit 230 and realize the interface function by setting the integrated chip
  • the firmware can realize the integrated single chip with the functions of controlling data storage and interface.
  • the data storage unit 230 is a flash memory.
  • This flash memory is a large-capacity electronic memory chip, which has a small size and a fast storage speed.
  • the data can be read or written randomly or sequentially, and can be erased.
  • it is a non-volatile storage medium with the function of saving data when power is off.
  • the data storage medium of the semiconductor storage device 200 of the present invention using flash memory is only a specific implementation.
  • Other non-volatile storage media with non-mechanical characteristics can be used by the present invention, such as magnetoresistive random storage. Access memory (MRAM), DRAM, SDRAM, EPROM, EEPROM or SRAM.
  • the S-ATA interface standard has a hot plug function, like USB and IEEE1394, it can complete the work of adding or removing data storage devices without shutting down the host, and it will not affect the semiconductor storage device 200 and its
  • the internal storage controller 210 causes damage, which facilitates users to expand the storage capacity of the computer system and realize data transfer.
  • the S-ATA storage control unit 210 and the data storage unit 230 are inserted on the same circuit board for electrical connection, and the S-ATA interface connector 220 and the S-ATA storage control unit 210 are electrically connected.
  • the connection can be performed through the cable 240, and the change in the length of the cable 240 can provide convenience for the semiconductor memory device 200 to access.
  • Another connection method between the S-ATA interface connector 220 and the S-ATA storage control unit 210 is, The long cable 240 is not needed, but the S-ATA interface connector 220 is directly set on the circuit board to establish a close connection with the S-ATA storage control unit, and the whole package is provided, which can meet the semiconductor storage device 200 pair mobile The storage requirements are convenient for users to move storage.
  • FIG. 3 is a schematic block diagram of the principle of the connection between the semiconductor memory device 200 and the host system loo implemented in accordance with the present invention and the main system yak.
  • the host system loo includes a host controller 110.
  • the host controller 110 performs data operations on the semiconductor storage device 200 connected to the host system 100 via the S-ATA interface connector 120, so that the semiconductor storage device 200 becomes the host system. 100 data storage space.
  • the host system 100 may be a desktop computer, a notebook computer, a server, or a dedicated machine.
  • the semiconductor storage device 200 implemented by the present invention may also be connected with other external devices to realize data storage.
  • the external devices may be, but are not limited to, card readers, communication devices, digital cameras, computer peripherals, or other special equipment;
  • the semiconductor storage device 200 proposed by the present invention is connected to the S-ATA interface connector 120 of the host system 100 through the S-ATA interface plug 220 to establish a data connection between the semiconductor storage device 200 and the host system 100.
  • the main function part is the host controller 110, which is used to control and manage all S-ATA data transmission on the S-ATA bus, and other devices in the host system 100 and connected to the host system 100 or Operation of parts.
  • the semiconductor memory device 200 When the semiconductor memory device 200 is connected to the host system 100, a standard S-ATA enumeration process is generated. In this process, the host system 100 configures the semiconductor memory device 200 and the configuration mode of the semiconductor memory device 200. Although there are many different configurations that can implement the data connection between the semiconductor memory device 200 and the host system 100, the semiconductor memory device of the present invention
  • the interface between the 200 and the host system 100 adopts the S-ATA standard.
  • the data storage device According to the working procedure of the firmware in the S-ATA storage control unit 210, the data storage device is initialized in cooperation with the host operating system, and according to the requirements of the host operating system. To perform standard interface operations and accept special operation requests set by the firmware of the semiconductor storage device 200 to configure the semiconductor storage device 200, such as sending a prompt to the host operating system to the semiconductor storage device 200 or sending a short blessing to the user, or Other Information.
  • FIG. 4 is a flowchart of initialization and data operation of accessing the semiconductor storage device 200 of the present invention to the host system 100.
  • the user connects the semiconductor storage device 200 to the S-ATA interface connector corresponding to the host system 100 through the S-ATA interface connector 220 (step 1).
  • the corresponding S-ATA interface connector of the host system 100 detects that a device is connected, it supplies power to the accessed semiconductor storage device 200 (step 2).
  • the host system 100 issues an inquiry instruction to the semiconductor memory device 200 to inquire the descriptor of the semiconductor memory device 200.
  • the semiconductor storage device 200 obtains a device descriptor from the S-ATA storage control unit 210 according to the inquiry instruction.
  • the device descriptor contains a flag indicating that the semiconductor storage device 200 allows one or more drive letters.
  • the semiconductor storage device 200 returns the device descriptor to the host system 100 (step 3).
  • the host system 100 assigns a logical address to the semiconductor memory device 200 (step 4).
  • the host system 100 issues an inquiry instruction again, inquires the configuration, the endpoint, and the interface descriptor, and the semiconductor storage device 200 obtains the above descriptor according to the inquiry instruction and returns it to the host system 100 (step 5).
  • the descriptor contains information that supports the maximum number of logical units (LUNs), that is, a flag of how many drive letters are required to be generated.
  • the host system 100 checks the returned descriptors to check whether the descriptors meet the specifications (step 6). If the descriptors do not conform to the specifications, it is prohibited to configure the device. Before returning to the first query of the descriptors, query again (step 7,) .
  • the host sends an instruction to the semiconductor memory device 200 to permit the configuration of the device (step 7), and starts a series of configuration operations of the semiconductor memory device 200-the host issues an inquiry command to ask the device related information (step 8),
  • the information includes the device manufacturer name, product name, etc .; start the corresponding device driver, select the interface, endpoint (pipe), and determine the transmission method.
  • the semiconductor memory device 200 responds to the inquiry command and returns the above information (step 9).
  • the host operating system assigns one or more drive letters to the semiconductor storage device 200 according to the requirements of the semiconductor storage device 200 (step 10). So far, the process of identifying and configuring the semiconductor storage device 200 by the host is complete.
  • the host system 100 sends an operation instruction (step 11) through the host controller 110 to request the semiconductor storage device 200 for service.
  • the host controller 110 sends these operation instructions to the S-ATA interface connector 120, and these operation instructions are received by the S-ATA storage control unit 210 via the S-ATA interface connector 220 (step 12).
  • the S-ATA storage control unit 210 interprets and executes the operation instruction request (step 13), and the instruction execution result, The system information, operation data, etc. are returned to the host system 100 (step 14).
  • the above process is repeated to execute the operation instruction until the user removes and closes the semiconductor memory device 200 (step 15).
  • the host system 100 and the semiconductor storage device 200 After receiving the signal from the user to remove and close the semiconductor storage device 200, the host system 100 and the semiconductor storage device 200 complete all operational tasks and stop power supply (step 16). At this time, the semiconductor storage device 200 is disconnected from the host. The entire process End.
  • the host operating system When the user unplugs the data storage device from the S-ATA interface of the host, the host operating system automatically detects that the device has been unplugged from the host system 100, and the host operating system eliminates the storage device corresponding to the semiconductor storage device 200. Device symbol.
  • the basic data operation instruction of the host system 100 to the semiconductor storage device 200 includes a read data operation, a write data operation, an erase operation, or a format operation.
  • the specific data operation process is the data operation instruction of the host operating system.
  • Send to the driver (the driver is set in the operating system).
  • the driver first packages the operation instruction with S-ATA, and sends the packaged operation instruction to the underlying operating system, and the underlying operating system sends the operation request to the S- running in the semiconductor storage device 200 through the S-ATA interface.
  • the firmware in the ATA storage controller then executes the operation instruction by the firmware to perform data operations on the data storage unit 230, and returns the results of the data operations to the driver through the underlying operating system, which is sent to the host operating system by the driver. .
  • the specific execution process of the semiconductor memory device 200 is different.
  • the basic data operation instructions of the host system 100 to the semiconductor storage device 200 please refer to the specific execution flow of the basic data operation instructions shown in FIG. 5, and refer to FIG. 4 in detail as follows:
  • the semiconductor storage device 200 After receiving the operation command sent by the host system 100, the semiconductor storage device 200 interprets the operation command (step 1) and selects a different method for processing according to the type of the operation command (step 2).
  • the read data operation instruction For the read data operation instruction (step 3), the data in the specified address in the data storage unit 230 needs to be read out, and the S-ATA storage control unit 210 of the semiconductor storage device 200 reads the specified data from the data storage unit 230 (step 4) If the read operation is successful (step 5), the data is returned to the host system 100 (step 6); otherwise, the operation failure information is returned to the host system 100 (step 6 ').
  • step 7 For the write data operation instruction (step 7), data needs to be written to the designated address of the data storage unit 230, and the S-ATA storage control unit 210 of the semiconductor storage device 200 stores the data Write to the address specified by the data storage unit 230 (step 8), and return data write success information (step 10) or failure information (step 10,) to the host system 100 according to the operation completion status (step 9).
  • the S-ATA storage control unit 210 of the semiconductor storage device 200 performs an erase operation on the data storage unit 230 according to the file system specification (step 12), and sends the operation to the operation completion condition (step 13).
  • the host returns a formatted success message (step 14) or a failure message (step 15).
  • the premise that the data storage unit 230 can perform a write operation is that the written address is blank. If the specified location written by the flash storage medium already contains valid data, new data cannot be written. Only when valid data at this location is erased can new data be written. For this reason, the driver converts write operations into three different internal operations in the order of execution: read operations, internal erase, and data reorganization and write-back operations. First, the driver performs an internal read operation, as described above, reads out and saves the original data at the write location; then, performs an internal erase operation to clear all data at the write location; and finally, writes the data that needs to be written The new data is combined with the original data, and an internal write operation is performed on the combined data.
  • the semiconductor memory device 200 can also be improved and auxiliary functions can be expanded, for example, the data capacity of the semiconductor memory device 200 can be increased by increasing the number of memory chips, that is, for the data of the semiconductor memory device 200 of the present invention
  • the storage unit 230 is not limited to a single chip, and may be configured by using a plurality of flash memory chips.
  • a light emitting diode can be used as an indicator light, and the working status of the semiconductor storage device 200 is reflected to the user through the working state of the light emitting diode.
  • the light emitting diode is electrically connected to the S-ATA storage control unit 210 and is controlled by it.
  • an input / output unit 250 may be further provided to the semiconductor storage device 200, and the input / output unit 250 and the S-ATA storage control unit are respectively provided. 210 connection, accept its control.
  • the input / output unit can be implemented by the same touch screen.
  • the semiconductor storage device 200 is further provided with an independent power supply 260.
  • the input unit provides a user's input operation to the semiconductor storage device 200, including turning on / off the semiconductor storage device 200, performing simple instructions such as file deletion, copying, and the like.
  • the unit can be implemented by a simple combination of buttons or voice input.
  • the output unit is a display module such as a liquid crystal, and is used to display parameter information of files in the semiconductor storage device 200, including the number and size of the files, the used space and remaining space of the semiconductor storage device 200, and operation instructions input to the input unit. Execution status information.
  • the output unit may also be a voice output module, such as a speaker and a headphone interface.
  • the data storage unit can be divided into 230 rows. It can be divided into multiple different storage areas, such as the public area and the confidential area. The corresponding drive letters are assigned to improve the storage of user data. Safety.
  • For the public area It can provide any user with an open data storage space. Any user who can use the semiconductor storage device 200 can read and write in the public area. In the public, the user cannot see the drive letter of the confidential area. It is impossible to read the contents of the secret zone;
  • For the secret zone All data operations in the secret zone are the same as in the public zone, but only after executing an executable file located in the public zone and entering the correct password, can the data be read Otherwise, you cannot perform data operations on the confidential area.
  • the partition operation is set by software; for the case where the data storage unit 230 is multi-chip, the partition operation can be set by software in addition to being set by software. Set in hardware mode, and select one or more chips as the security zone.
  • a write protection switch can also be set for the semiconductor storage device 200, and the write protection function for the entire data storage device can be realized by placing the write protection switch in different positions.
  • 230 is a single chip.
  • the write protection can also implement the write protection function of the semiconductor memory device 200 by software.
  • the write protection can be implemented not only by software or hardware.
  • To implement the write protection function of the entire semiconductor memory device 200, and one or more of the memory chip portions may also be selected to implement the write protection of the semiconductor memory device 200, so that some regions of the semiconductor memory device 200 have a write protection function, while others Part of it does not have a write protection function to strengthen the security protection of important data.
  • the way to achieve write protection of this part includes suspending the CS line of some memory chips by means of hardware.
  • the above are only preferred embodiments of the present invention. It should be noted that, for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and retouches can be made. These improvements and retouches should also be made. It is regarded as the protection scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The present invention discloses a data storage apparatus for serial ATA bus-based, including a data storage unit for data storage which consists of at least one semiconductor storage chip, a SATA interface connector connects to the bus based-on SATA, said connector provides input/output port for the data in the data storage apparatus, and sends data to the bus based-on SATA, and receives data from the bus based-on SATA, a SATA storage controller which provides data connecting between the data storage unit and the SATA interface connector, and carries out operating instruction of input for said data storage apparatus, and carries out data operating for the data storage unit. The advantages of the data storage apparatus of the present invention can be so described: said data storage apparatus has anti-impaction, little cubage, low power, low noise, quickly reading/writing, because of the usage of flash storage module, and it can be hot plug-pull.

Description

基于串行高级技术结构接口的半导体存储装置 技术领域  Semiconductor storage device based on serial advanced technology structure interface
本发明关于数据存储领域, 特别涉及一种基于串行 ATA接口的半 导体存储装置。 背景技术  The present invention relates to the field of data storage, and in particular, to a semiconductor storage device based on a serial ATA interface. Background technique
在计算机系统里, 硬盘、 CD或者 VD驱动器、 大容量可移动存储 装置, CDRW驱动器等存储设备通常利用接口与计算机相连接, 该接 口主要用来定义数据的输入与输出的物理和逻辑上要求, 随着硬盘信 息存储能力的大幅度提高, 硬盘所存储的信息容量越来越大, 主机系 统对于硬盘的接口的要求也越来越高。  In computer systems, storage devices such as hard disks, CD or VD drives, large-capacity removable storage devices, and CDRW drives are usually connected to the computer using an interface. This interface is mainly used to define the physical and logical requirements for data input and output. As the information storage capacity of the hard disk is greatly improved, the capacity of the information stored in the hard disk is getting larger and larger, and the host system has higher and higher requirements for the interface of the hard disk.
当前在计算机系统里使用的最广泛的硬盘接口是集成磁盘电子接 口, 简称 IDE接口 (Integrated Drive Electronics)。 IDE接口, 更准确的 称呼是 ATA接口 (Advanced Technology Attachment, 高级技术结构), 因该接口是一种并行的接口方式, 也称是并行 ATA接口, 该接口起始 于 1986年, 在 1988形成标准, 该标准主要提供一种规范方法使磁盘 附属到个人计算机的结构, 近年来, 为了满足处理单元对硬盘数据访 问速度的提高, ATA接口技术的不断发展, 已形成多种标准规范, 如 ATA/ATAPI, EIDE , ATA-2,高速 ATA, ATA-3, UltraATA, Ultra DMA, ATA/ATAPI-4, ATA/ATAPI-5, ATA /ATAPI-6等。  The most widely used hard disk interface in computer systems is the integrated disk electronic interface, referred to as IDE Drive (Integrated Drive Electronics). IDE interface, more accurately called ATA interface (Advanced Technology Attachment, advanced technology structure), because this interface is a parallel interface method, also known as parallel ATA interface, this interface started in 1986, formed a standard in 1988 This standard mainly provides a standardized method for attaching the disk to the structure of a personal computer. In recent years, in order to meet the improvement of the data access speed of the hard disk by the processing unit, the continuous development of ATA interface technology has formed a variety of standard specifications, such as ATA / ATAPI, EIDE, ATA-2, High-speed ATA, ATA-3, UltraATA, Ultra DMA, ATA / ATAPI-4, ATA / ATAPI-5, ATA / ATAPI-6, etc.
并行 ATA接口在当前桌上计算机以及便携式计算机内部的硬盘之 间连接占据统治地位,是因为它的简单,低成本等因素,然而并行 ATA 接口有一系列的限制因素, 使人疲惫于不断增加其性能。 这些受限的 因素包括: 高针数, 40针 80芯电缆, 且电缆长度短, 不方便硬盘的接 入及系统的散热的要求。 这些以及并行的 ATA接口的其他特性使该接 口的数据传输速率在过去不能得到较快的发展, 以致于并行 ATA接口 正接近于它的性能容量, 不能满足计算机对数据传输速度的进一步增 加需求。  The parallel ATA interface dominates the connection between the hard disks inside the current desktop and portable computers because of its simplicity and low cost. However, the parallel ATA interface has a series of limiting factors that make people tired of continuously increasing their performance. . These limited factors include: high pin count, 40-pin 80-core cable, and short cable length, which is inconvenient for hard disk access and system heat dissipation requirements. These and other characteristics of the parallel ATA interface have prevented the data transmission rate of the interface from developing rapidly in the past, so that the parallel ATA interface is approaching its performance capacity and cannot meet the computer's further increase in data transmission speed.
基于这些因素, 为满足下一代接口技术发展的需求, 串行的 ATA 接口 (Serial ATA)发展成为下一代 ATA规范。 S-ATA是并行 ATA物理 存储器接口的发展, 该技术在软件上相对并行 ATA有一个低得多的针 脚数, 仅需 4支针脚, 线缆更软, 提供硬盘更长的接入线缆, 方便硬 盘接入主机系统, 且支持热插拔。 此外, S-ATA接口釆用较低的针脚 数也有益于主板包括芯片及其他集成的硅零部件在内的系统设计。 Based on these factors, in order to meet the development needs of next-generation interface technology, serial ATA Interface (Serial ATA) has evolved into the next generation ATA specification. S-ATA is the development of parallel ATA physical memory interface. This technology has a much lower pin number than parallel ATA in software. Only 4 pins are needed. The cable is softer and provides a longer access cable for hard disks. Convenient hard disk access to the host system, and supports hot swap. In addition, the lower pin count of the S-ATA interface is also beneficial to the system design of the motherboard, including chips and other integrated silicon components.
然而, 随着计算机技术的快速发展, 对信息处理的能力不断的提 高, 而计算机硬盘的发展只是不断提高存储容量, 以及如前所述, 提 高硬盘接口的方式, 以提高硬盘数据的存储速度, 以适应主机对数据 高速访问的需求, 而对信息的存储的方法却始终没有改进, 硬盘对数 据读写的方式的是机械的, 其不仅有速度慢、 噪音大、 抗震性差、 能 耗高等缺陷, 硬盘存储器的这些缺点直接限制了计算机在众多领域的 运用, 特别是在震动环境中的应用, 一旦硬盘出现故障, 造成存储数 据的永久性丢失, 对计算机用户来讲, 损失是无法挽回的。  However, with the rapid development of computer technology, the ability to process information has been continuously improved, and the development of computer hard disks has only continued to increase the storage capacity, and as mentioned earlier, the way to increase the hard disk interface to increase the storage speed of hard disk data, In order to meet the needs of the host for high-speed data access, the method of storing information has not been improved. The hard disk reads and writes data in a mechanical way, which not only has the disadvantages of slow speed, high noise, poor seismic resistance, and high energy consumption. These shortcomings of hard disk storage directly limit the use of computers in many fields, especially in applications in vibration environments. Once the hard disk fails, it causes permanent loss of stored data. For computer users, the loss is irreparable.
由于硬盘对数据读取的方式是机械的, 硬盘的体积通常较大, 限 制了一些要求微型化、 便携式产品的开发, 不利于移动存储的应用。 发明内容  Because the way the hard disk reads data is mechanical, the volume of the hard disk is usually large, which limits the development of some miniaturized and portable products, which is not conducive to the application of mobile storage. Summary of the invention
由于现有机械硬盘不能在振动环境下安全稳定的进行数据的存 储, 本发明要解决的技术问题是提供一种能在振动环境下安全存储数 据的半导体存储装置。  Since the existing mechanical hard disk cannot store data safely and stably in a vibration environment, the technical problem to be solved by the present invention is to provide a semiconductor storage device capable of safely storing data in a vibration environment.
本发明要解决的另一技术问题是提供一种具有较高数据存储速度 且便于移动存储要求的半导体存储装置。  Another technical problem to be solved by the present invention is to provide a semiconductor storage device which has a high data storage speed and is convenient for mobile storage requirements.
为此, 本发明解决技术问题的技术方案是提供一种半导体存储装 置, 包括:一数据存储单元, 所述数据存储单元由至少一半导体存储芯 片构成, 用于数据存储; 一个与 S-ATA定义的总线连接的 S-ATA接口 连接器, 提供所述数据存储装置数据输入输出的端口, 将数据发送到 S-ATA定义的总线和从 S-ATA总线接收数据;以及一个 S-ATA存储控制 器, 提供数据存储单元与 S-ATA接口连接器之间的数据连接, 执行输 入所述数据存储装置的操作指令, 对数据存储单元进行数据操作。  To this end, the technical solution of the present invention to solve the technical problem is to provide a semiconductor storage device, including: a data storage unit, the data storage unit is composed of at least one semiconductor storage chip for data storage; and a definition with S-ATA A bus-connected S-ATA interface connector, providing a data input and output port of the data storage device, sending and receiving data to and from the S-ATA-defined bus; and an S-ATA storage controller Provide a data connection between the data storage unit and the S-ATA interface connector, execute an input operation instruction of the data storage device, and perform data operations on the data storage unit.
相对于现有技术, 本发明半导体存储装置的有益效果是: 首先, 由于本发明的数据存储装置的存储介质采用半导体存储介质, 因而具 有抗冲击性, 可在加速度变化极大或高振动的环境下完全正常的工作; 其次, 对数据的读取过程中没有相对的机械运动, 具有体积小、 能耗 低、 无噪音; 再次, 所述数据存储装置采用 S-ATA接口, 读写速度快, 总线速度可高达 600MB/S 的传输速率, 且串行 ATA支持热插拔, 像 USB和 IEEE1394—样,在不关机的情况下就能完成数据存储装置接入 或移除的工作。 附图说明 Compared with the prior art, the semiconductor storage device of the present invention has the following beneficial effects: First, because the storage medium of the data storage device of the present invention uses a semiconductor storage medium, It has shock resistance, and can work normally under the environment of great acceleration change or high vibration. Secondly, there is no relative mechanical movement during the reading of the data, and it has small size, low energy consumption and no noise. Again, The data storage device uses an S-ATA interface, with fast read and write speeds, a bus speed of up to 600MB / S, and serial ATA supports hot plugging. Like USB and IEEE1394, it can be used without shutting down. Can complete the work of data storage device access or removal. BRIEF DESCRIPTION OF THE DRAWINGS
图 1是本发明数据存储装置主要部件的连接原理框图;  FIG. 1 is a block diagram of the main components of the data storage device of the present invention;
图 2是本发明数据存储装置主要部件的连接原理框图  FIG. 2 is a block diagram of the main components of the data storage device of the present invention.
图 3是图 1所示的数据存储装置与主机系统连接的原理和系统示 意框图;  3 is a principle diagram and a system schematic block diagram of the connection between the data storage device and the host system shown in FIG. 1;
图 4是本发明数据存储装置接入主机系统的初始化及数据操作流 程图;  4 is a flowchart of initialization and data operation of the data storage device accessing the host system according to the present invention;
图 5是对本发明数据存储装置数据操作的流程图;  5 is a flowchart of a data operation on a data storage device according to the present invention;
图 6是对本发明另一实施方式的数据存储装置主要部件的连接原 理框图。 具体实施方式  Fig. 6 is a block diagram of a connection principle of the main components of a data storage device according to another embodiment of the present invention. detailed description
请参阅图 1, 是按照本发明提供的半导体存储装置 200原理框图, 该半导体存储装置 200包括一个数据存储单元 230,所述数据存储单元 230 由至少一半导体存储芯片构成, 用于数据存储; 一个与 S-ATA定 义的总线连接的 S-ATA接口连接器 220,提供所述半导体存储装置 200 数据输入输出的端口, 将数据发送到 S-ATA定义的总线和从 S-ATA总 线接收数据; 以及一个 S-ATA存储控制器 210, 提供数据存储单元 230 与 S-ATA接口连接器 220之间的数据连接, 执行输入所述半导体存储 装置 200的操作指令, 对数据存储单元 230进行数据操作。  Please refer to FIG. 1, which is a schematic block diagram of a semiconductor storage device 200 provided according to the present invention. The semiconductor storage device 200 includes a data storage unit 230. The data storage unit 230 is composed of at least one semiconductor storage chip for data storage. An S-ATA interface connector 220 connected to the S-ATA-defined bus, providing a port for data input and output of the semiconductor storage device 200, sending data to the S-ATA-defined bus and receiving data from the S-ATA bus; and An S-ATA storage controller 210 provides a data connection between the data storage unit 230 and the S-ATA interface connector 220, executes an operation instruction input to the semiconductor storage device 200, and performs data operations on the data storage unit 230.
请参阅图 2, 所述 S-ATA接口连接器 220包括一 S-ATA接口插槽 222及接口控制器 224,所述 S-ATA接口插槽 222提供半导体存储装置 200的数据输入 /输出端口, 所述接口控制器 224设有实现接口标准功 能的固化软件, 从而支持遵从 S-ATA标准的 S-ATA功能, 并在 S-ATA 总线上进行设备的标识、 列举、 配置和登记半导体存储装置 200所需 的 S-ATA接口功能。 Referring to FIG. 2, the S-ATA interface connector 220 includes an S-ATA interface slot 222 and an interface controller 224. The S-ATA interface slot 222 provides a data input / output port of the semiconductor storage device 200. The interface controller 224 is provided with firmware that implements interface standard functions, thereby supporting S-ATA functions that comply with the S-ATA standard. The S-ATA interface functions required by the semiconductor storage device 200 are identified, enumerated, configured, and registered on the bus.
半导体存储装置 200内起重要作用的功能部件是 S-ATA存储控制 单元 210, S-ATA存储控制单元 210对 S-ATA接口连接器 220和数据 存储单元 230提供连接的接口,通过在其内的 S-ATA存储控制单元 210 上设置对数据存储单元 230 中的文件进行管理和操作, 符合相应操作 系统规范的文件系统的固化软件, 对来自外部系统的命令和数据进行 处理, 执行对数据存储单元 230 的各种操作, 包括数据读取、 写入或 擦除等。 所述 S-ATA存储控制单元 210可以由一片集成电路芯片实现 上述功能, 也可由多片具有不同功能的集成电路芯片组成, 实现上述 功能。  The functional component that plays an important role in the semiconductor storage device 200 is the S-ATA storage control unit 210. The S-ATA storage control unit 210 provides an interface for connecting the S-ATA interface connector 220 and the data storage unit 230. The S-ATA storage control unit 210 is provided with management and operation of files in the data storage unit 230. Firmware of a file system that complies with the corresponding operating system specifications, processes commands and data from external systems, and executes data storage units. 230 operations, including data read, write or erase. The S-ATA storage control unit 210 may implement the above functions by a single integrated circuit chip, or may be composed of multiple integrated circuit chips with different functions to implement the above functions.
一个优化的方式可将 S-ATA接口连接器 220的接口控制器 224与 存储控制单元 210集成为一单一的芯片, 通过对集成后的芯片设置控 制数据存储单元 230 的数据存取和实现接口功能的固化软件, 实现集 成的单一芯片同时具有控制数据存储和接口的功能。  An optimized method can integrate the interface controller 224 of the S-ATA interface connector 220 and the storage control unit 210 into a single chip, and control the data access of the data storage unit 230 and realize the interface function by setting the integrated chip The firmware can realize the integrated single chip with the functions of controlling data storage and interface.
所述数据存储单元 230是快闪存储器(Flash Memory), 这种快闪 存储器是一种大容量的电子式存储芯片, 其体积小、 存储速度快, 数 据可随机或顺序读写, 并可擦除, 是非易失性存储介质, 具有掉电保 存数据的功能。 本发明的半导体存储装置 200 的数据存储介质采用快 闪存储器仅为一具体的实现方式, 其它具有非机械特性的非易失性存 储介质, 均可为本发明所采用, 如磁阻性随机存取存储器 (MRAM)、 DRAM、 SDRAM, EPROM、 EEPROM或 SRAM等。  The data storage unit 230 is a flash memory. This flash memory is a large-capacity electronic memory chip, which has a small size and a fast storage speed. The data can be read or written randomly or sequentially, and can be erased. In addition, it is a non-volatile storage medium with the function of saving data when power is off. The data storage medium of the semiconductor storage device 200 of the present invention using flash memory is only a specific implementation. Other non-volatile storage media with non-mechanical characteristics can be used by the present invention, such as magnetoresistive random storage. Access memory (MRAM), DRAM, SDRAM, EPROM, EEPROM or SRAM.
由于 S-ATA接口标准有支持热插拔的功能,如同 USB和 IEEE1394 一样, 在主机不关机的情况下就能完成增加或移除数据存储装置的工 作, 并且不会对半导体存储装置 200和其内的存储控制器 210造成损 坏, 方便了用户对计算机系统存储容量的扩展及实现数据转存。  Since the S-ATA interface standard has a hot plug function, like USB and IEEE1394, it can complete the work of adding or removing data storage devices without shutting down the host, and it will not affect the semiconductor storage device 200 and its The internal storage controller 210 causes damage, which facilitates users to expand the storage capacity of the computer system and realize data transfer.
本发明提供的半导体存储装置 200,其中 S-ATA存储控制单元 210 与数据存储单元 230插在同一块电路板进行电连接, 而 S-ATA接口连 接器 220与 S-ATA存储控制单元 210之间可通过电缆线 240进行连接, 电缆线 240长度的变化可提供半导体存储装置 200接入的方便。 S-ATA 接口连接器 220与 S-ATA存储控制单元 210之间的另一种连接方式是, 无需较长的电缆线 240, 而是将 S-ATA接口连接器 220直接设置在电 路板上建立与 S-ATA存储控制单元的紧密连结方式,并进行整体封装, 可满足半导体存储装置 200对移动存储的要求, 以利用户移动存储的 方便。 In the semiconductor storage device 200 provided by the present invention, the S-ATA storage control unit 210 and the data storage unit 230 are inserted on the same circuit board for electrical connection, and the S-ATA interface connector 220 and the S-ATA storage control unit 210 are electrically connected. The connection can be performed through the cable 240, and the change in the length of the cable 240 can provide convenience for the semiconductor memory device 200 to access. Another connection method between the S-ATA interface connector 220 and the S-ATA storage control unit 210 is, The long cable 240 is not needed, but the S-ATA interface connector 220 is directly set on the circuit board to establish a close connection with the S-ATA storage control unit, and the whole package is provided, which can meet the semiconductor storage device 200 pair mobile The storage requirements are convenient for users to move storage.
请参阅图 3,是按照本发明实现的半导体存储装置 200与主机系统 loo连接的原理和系统主要音 ΪΗ牛的示意方框图。主机系统 loo其内包括 主机控制器 110, 该主机控制器 110对经过 S-ATA接口连接器 120与 主机系统 100相连接的半导体存储装置 200进行数据操作, 使该半导 体存储装置 200成为该主机系统 100的数据存储空间。 所述主机系统 100可以是台式电脑、 笔记本电脑、 服务器或专用机。  Please refer to FIG. 3, which is a schematic block diagram of the principle of the connection between the semiconductor memory device 200 and the host system loo implemented in accordance with the present invention and the main system yak. The host system loo includes a host controller 110. The host controller 110 performs data operations on the semiconductor storage device 200 connected to the host system 100 via the S-ATA interface connector 120, so that the semiconductor storage device 200 becomes the host system. 100 data storage space. The host system 100 may be a desktop computer, a notebook computer, a server, or a dedicated machine.
本发明实现的半导体存储装置 200也可与其它的外部设备进行连 接, 实现数据的存储, 所述外部设备可以但不限于是读卡器、 通讯设 备、 数码相机、 计算机外设或其他专用设备;  The semiconductor storage device 200 implemented by the present invention may also be connected with other external devices to realize data storage. The external devices may be, but are not limited to, card readers, communication devices, digital cameras, computer peripherals, or other special equipment;
作为一个本发明提出的半导体存储装置 200通过 S-ATA接口插头 220连接到主机系统 100的 S-ATA接口连接器 120,建立半导体存储装 置 200与主机系统 100之间的数据连接, 在主机系统 100中起主要作 用的功能部件是主机控制器 110, 用来控制和管理所有在 S-ATA总线 上的 S-ATA数据传送, 及该主机系统 100内以及与该主机系统 100相 连接的其它设备或部件的操作。  The semiconductor storage device 200 proposed by the present invention is connected to the S-ATA interface connector 120 of the host system 100 through the S-ATA interface plug 220 to establish a data connection between the semiconductor storage device 200 and the host system 100. The main function part is the host controller 110, which is used to control and manage all S-ATA data transmission on the S-ATA bus, and other devices in the host system 100 and connected to the host system 100 or Operation of parts.
在半导体存储装置 200接入主机系统 100时, 会产生一个标准的 S-ATA列举的过程。 在这个过程中, 主机系统 100对半导体存储装置 200和半导体存储装置 200的配置模式进行配置,虽有许多不同的配置 可实现半导体存储装置 200与主机系统 100建立数据连接, 本发明的 半导体存储装置 200与主机系统 100之间接口采用 S-ATA标准, 按照 S-ATA存储控制单元 210内的固化软件的工作流程, 与主机操作系统 配合对数据存储装置进行初始化工作, 并按照主机操作系统的要求, 进行接口标准操作和接受半导体存储装置 200 的固化软件所设定的特 殊操作请求对半导体存储装置 200进行配制, 如向主机操作系统发送 对半导体存储装置 200提示或向用户发送短暂的祝福, 或其它信息。  When the semiconductor memory device 200 is connected to the host system 100, a standard S-ATA enumeration process is generated. In this process, the host system 100 configures the semiconductor memory device 200 and the configuration mode of the semiconductor memory device 200. Although there are many different configurations that can implement the data connection between the semiconductor memory device 200 and the host system 100, the semiconductor memory device of the present invention The interface between the 200 and the host system 100 adopts the S-ATA standard. According to the working procedure of the firmware in the S-ATA storage control unit 210, the data storage device is initialized in cooperation with the host operating system, and according to the requirements of the host operating system. To perform standard interface operations and accept special operation requests set by the firmware of the semiconductor storage device 200 to configure the semiconductor storage device 200, such as sending a prompt to the host operating system to the semiconductor storage device 200 or sending a short blessing to the user, or Other Information.
请参阅图 4,是本发明半导体存储装置 200接入主机系统 100的初 始化及数据操作流程图。 用户将半导体存储装置 200通过 S-ATA接口连接器 220接入到主 机系统 100对应的 S-ATA接口连接器(步骤 1 )。 主机系统 100的对应 的 S-ATA接口连接器检测到有设备接入, 即向接入的半导体存储装置 200供电 (步骤 2)。 Please refer to FIG. 4, which is a flowchart of initialization and data operation of accessing the semiconductor storage device 200 of the present invention to the host system 100. The user connects the semiconductor storage device 200 to the S-ATA interface connector corresponding to the host system 100 through the S-ATA interface connector 220 (step 1). When the corresponding S-ATA interface connector of the host system 100 detects that a device is connected, it supplies power to the accessed semiconductor storage device 200 (step 2).
接着, 主机系统 100向半导体存储装置 200发出问询指令, 询问 半导体存储装置 200的描述符。 半导体存储装置 200根据问询指令, 从 S-ATA存储控制单元 210中获取设备描述符。 该设备描述符含有标 志, 表明半导体存储装置 200允许一个或多个盘符。 半导体存储装置 200将该设备描述符返回给主机系统 100 (步骤 3 )。主机系统 100接收 到该描述符后, 为半导体存储装置 200分配逻辑地址 (步骤 4)。  Next, the host system 100 issues an inquiry instruction to the semiconductor memory device 200 to inquire the descriptor of the semiconductor memory device 200. The semiconductor storage device 200 obtains a device descriptor from the S-ATA storage control unit 210 according to the inquiry instruction. The device descriptor contains a flag indicating that the semiconductor storage device 200 allows one or more drive letters. The semiconductor storage device 200 returns the device descriptor to the host system 100 (step 3). After receiving the descriptor, the host system 100 assigns a logical address to the semiconductor memory device 200 (step 4).
接下来, 主机系统 100再次发出问询指令, 询问配置、 端点、 接 口描述符, 半导体存储装置 200根据该问询指令获得上述描述符返回 给主机系统 100 (步骤 5 )。 所述描述符包含支持最大逻辑单元 (LUN) 数的信息, 即要求产生多少个盘符的标志。 主机系统 100对返回的描 述符进行检验, 检查描述符是否符合规范 (步骤 6), 如果不合规范则 禁止配置该设备, 返回到第一次问询描述符之前, 再次进行询问 (步 骤 7,)。  Next, the host system 100 issues an inquiry instruction again, inquires the configuration, the endpoint, and the interface descriptor, and the semiconductor storage device 200 obtains the above descriptor according to the inquiry instruction and returns it to the host system 100 (step 5). The descriptor contains information that supports the maximum number of logical units (LUNs), that is, a flag of how many drive letters are required to be generated. The host system 100 checks the returned descriptors to check whether the descriptors meet the specifications (step 6). If the descriptors do not conform to the specifications, it is prohibited to configure the device. Before returning to the first query of the descriptors, query again (step 7,) .
如果描述符符合规范, 则主机向半导体存储装置 200发出准许配 置设备的指令 (步骤 7), 开始进行一系列半导体存储装置 200配置操 作- 主机发出问询指令, 询问设备相关信息 (步骤 8 ), 该信息包括设 备厂商名、 产品名等; 启动相应设备驱动程序, 选择接口、 端点 (管 道), 确定传输方式。 半导体存储装置 200应答该问询指令, 返回上述 信息 (步骤 9)。 主机操作系统根据半导体存储装置 200的要求, 为半 导体存储装置 200分配一个或多个盘符(步骤 10)。 至此, 主机对半导 体存储装置 200的识别、 配置过程完毕。  If the descriptor conforms to the specification, the host sends an instruction to the semiconductor memory device 200 to permit the configuration of the device (step 7), and starts a series of configuration operations of the semiconductor memory device 200-the host issues an inquiry command to ask the device related information (step 8), The information includes the device manufacturer name, product name, etc .; start the corresponding device driver, select the interface, endpoint (pipe), and determine the transmission method. The semiconductor memory device 200 responds to the inquiry command and returns the above information (step 9). The host operating system assigns one or more drive letters to the semiconductor storage device 200 according to the requirements of the semiconductor storage device 200 (step 10). So far, the process of identifying and configuring the semiconductor storage device 200 by the host is complete.
接下来, 主机系统 100通过主机控制器 110发送操作指令 (步骤 11 ) 请求半导体存储装置 200服务。 主机控制器 110将这些操作指令 发送到 S-ATA接口连接器 120, 这些操作指令由 S-ATA存储控制单元 210经 S-ATA接口连接器 220接收(步骤 12)。于是, S-ATA存储控制 单元 210解释、 执行该操作指令请求(步骤 13), 将指令执行结果、 系 统信息、 操作数据等返回给主机系统 100 (步骤 14)。 重复上述过程执 行操作指令直到用户移除、 关闭半导体存储装置 200 (步骤 15 )。 Next, the host system 100 sends an operation instruction (step 11) through the host controller 110 to request the semiconductor storage device 200 for service. The host controller 110 sends these operation instructions to the S-ATA interface connector 120, and these operation instructions are received by the S-ATA storage control unit 210 via the S-ATA interface connector 220 (step 12). Then, the S-ATA storage control unit 210 interprets and executes the operation instruction request (step 13), and the instruction execution result, The system information, operation data, etc. are returned to the host system 100 (step 14). The above process is repeated to execute the operation instruction until the user removes and closes the semiconductor memory device 200 (step 15).
在接收到用户移除、 关闭半导体存储装置 200 的信号后, 主机系 统 100和半导体存储装置 200完成所有操作任务,停止供电(步骤 16), 此时半导体存储装置 200与主机断开连接, 整个流程结束。  After receiving the signal from the user to remove and close the semiconductor storage device 200, the host system 100 and the semiconductor storage device 200 complete all operational tasks and stop power supply (step 16). At this time, the semiconductor storage device 200 is disconnected from the host. The entire process End.
当用户把数据存储装置从主机的 S-ATA接口拔出时, 主机操作系 统自动检测到该装置已经从主机系统 100上拔出, 主机操作系统消除 与所述半导体存储装置 200对应的存储装置的装置符。  When the user unplugs the data storage device from the S-ATA interface of the host, the host operating system automatically detects that the device has been unplugged from the host system 100, and the host operating system eliminates the storage device corresponding to the semiconductor storage device 200. Device symbol.
在上述流程中, 主机系统 100对半导体存储装置 200的基本数据 操作指令包括, 读数据操作、 写数据操作及擦除操作或格式化操作, 具体的数据操作过程是由主机操作系统将数据操作指令发送给驱动程 序 (驱动程序设置在操作系统中)。 驱动程序首先对该操作指令进行 S-ATA打包, 并把打包后的操作指令发送给底层操作系统, 由底层操 作系统将操作请求通过 S-ATA接口发送给运行在半导体存储装置 200 内的 S-ATA存储控制器中的固化软件,再由固化软件执行该操作指令, 对数据存储单元 230进行数据操作, 并把数据操作的结果经底层操作 系统返回给驱动程序, 由驱动程序发送给主机操作系统。  In the above process, the basic data operation instruction of the host system 100 to the semiconductor storage device 200 includes a read data operation, a write data operation, an erase operation, or a format operation. The specific data operation process is the data operation instruction of the host operating system. Send to the driver (the driver is set in the operating system). The driver first packages the operation instruction with S-ATA, and sends the packaged operation instruction to the underlying operating system, and the underlying operating system sends the operation request to the S- running in the semiconductor storage device 200 through the S-ATA interface. The firmware in the ATA storage controller then executes the operation instruction by the firmware to perform data operations on the data storage unit 230, and returns the results of the data operations to the driver through the underlying operating system, which is sent to the host operating system by the driver. .
对于不同类型的操作指令, 半导体存储装置 200 的具体执行过程 不同。 为了更好理解主机系统 100对半导体存储装置 200的基本的数 据操作指令, 请参阅图 5所示的基本数据操作指令的具体执行流程, 一并参考图 4详细描述如下:  For different types of operation instructions, the specific execution process of the semiconductor memory device 200 is different. In order to better understand the basic data operation instructions of the host system 100 to the semiconductor storage device 200, please refer to the specific execution flow of the basic data operation instructions shown in FIG. 5, and refer to FIG. 4 in detail as follows:
半导体存储装置 200接到主机系统 100发送的操作命令后, 解释 该操作命令(步骤 1 )并根据操作命令的类型, 选择不同的方式进行处 理 (步骤 2)。  After receiving the operation command sent by the host system 100, the semiconductor storage device 200 interprets the operation command (step 1) and selects a different method for processing according to the type of the operation command (step 2).
对于读数据操作指令 (步骤 3), 需要将数据存储单元 230内指定 地址中的数据读取出来, 半导体存储装置 200的 S-ATA存储控制单元 210从数据存储单元 230中读取指定数据 (步骤 4), 如果读取操作成 功 (步骤 5 )则将数据返回给主机系统 100 (步骤 6); 否则向主机系统 100返回操作失败信息 (步骤 6' )。  For the read data operation instruction (step 3), the data in the specified address in the data storage unit 230 needs to be read out, and the S-ATA storage control unit 210 of the semiconductor storage device 200 reads the specified data from the data storage unit 230 (step 4) If the read operation is successful (step 5), the data is returned to the host system 100 (step 6); otherwise, the operation failure information is returned to the host system 100 (step 6 ').
对于写数据操作指令(步骤 7),需要将数据写到数据存储单元 230 指定地址中, 半导体存储装置 200的 S-ATA存储控制单元 210将数据 写入数据存储单元 230指定的地址中 (步骤 8), 并根据操作完成情况 (步骤 9) 向主机系统 100返回写数据成功信息 (步骤 10) 或者失败 信息 (步骤 10,)。 For the write data operation instruction (step 7), data needs to be written to the designated address of the data storage unit 230, and the S-ATA storage control unit 210 of the semiconductor storage device 200 stores the data Write to the address specified by the data storage unit 230 (step 8), and return data write success information (step 10) or failure information (step 10,) to the host system 100 according to the operation completion status (step 9).
对于擦除操作指令 (步骤 11 ), 半导体存储装置 200的 S-ATA存 储控制单元 210根据文件系统规范对数据存储单元 230进行擦除操作 (步骤 12), 并根据操作完成情况 (步骤 13 ) 向主机返回格式化成功 信息 (步骤 14) 或失败信息 (步骤 15)。  For the erase operation instruction (step 11), the S-ATA storage control unit 210 of the semiconductor storage device 200 performs an erase operation on the data storage unit 230 according to the file system specification (step 12), and sends the operation to the operation completion condition (step 13). The host returns a formatted success message (step 14) or a failure message (step 15).
需要指出的是, 对于数据存储单元 230 能执行写操作的前提是所 写入的地址为空白的情况, 如果快闪存储介质所写入的指定位置已经 含有效数据, 则新的数据无法写入, 只有当该位置的有效数据被擦除 后, 才能写入新的数据。 基于这个原因, 驱动程序依执行的顺序把写 操作转换成三个不同的内部操作: 读操作、 内部擦除和数据重组与回 写操作。 首先, 驱动程序执行一个内部读操作, 如前所述, 把写位置 的原有数据读出来并保存; 然后, 执行一个内部擦除操作, 以清除写 位置的所有数据; 最后, 把需要写入的新数据和原有数据结合在一起, 并对结合后的数据执行一个内部写操作。  It should be noted that the premise that the data storage unit 230 can perform a write operation is that the written address is blank. If the specified location written by the flash storage medium already contains valid data, new data cannot be written. Only when valid data at this location is erased can new data be written. For this reason, the driver converts write operations into three different internal operations in the order of execution: read operations, internal erase, and data reorganization and write-back operations. First, the driver performs an internal read operation, as described above, reads out and saves the original data at the write location; then, performs an internal erase operation to clear all data at the write location; and finally, writes the data that needs to be written The new data is combined with the original data, and an internal write operation is performed on the combined data.
在上述方法的基础上, 还可以对半导体存储装置 200进行改进和 辅助功能的扩展, 例如通过增加存储芯片的数量增加半导体存储装置 200数据容量, 也就是说, 对于本发明半导体存储装置 200的数据存储 单元 230不限于单一芯片, 可以釆用多块快闪存储芯片构成。  Based on the above method, the semiconductor memory device 200 can also be improved and auxiliary functions can be expanded, for example, the data capacity of the semiconductor memory device 200 can be increased by increasing the number of memory chips, that is, for the data of the semiconductor memory device 200 of the present invention The storage unit 230 is not limited to a single chip, and may be configured by using a plurality of flash memory chips.
此外, 对半导体存储装置 200可采用发光二极管作为指示灯, 通 过发光二极管的工作状态向用户反映半导体存储装置 200的工作状态, 该发光二极管与 S-ATA存储控制单元 210电连接, 接受其控制。  In addition, for the semiconductor storage device 200, a light emitting diode can be used as an indicator light, and the working status of the semiconductor storage device 200 is reflected to the user through the working state of the light emitting diode. The light emitting diode is electrically connected to the S-ATA storage control unit 210 and is controlled by it.
参见图 6,为了更好的实现对该半导体存储装置 200的直接数据操 作, 还可对该半导体存储装置 200设置输入 /输出单元 250, 所述输入 / 输出单元 250分别与 S-ATA存储控制单元 210的连接, 接受其控制。 一个优选的方案是该输入 /输出单元可由同一块触摸屏实现。 当然, 要 实现对该半导体存储装置 200的直接数据操作,该半导体存储装置 200 还进一步设置有独立供电源 260。  Referring to FIG. 6, in order to better implement direct data operation on the semiconductor storage device 200, an input / output unit 250 may be further provided to the semiconductor storage device 200, and the input / output unit 250 and the S-ATA storage control unit are respectively provided. 210 connection, accept its control. A preferred solution is that the input / output unit can be implemented by the same touch screen. Of course, to achieve direct data operation on the semiconductor storage device 200, the semiconductor storage device 200 is further provided with an independent power supply 260.
所述输入单元提供用户对半导体存储装置 200 的输入操作, 包括 开 /关半导体存储装置 200, 执行文件删除、 复制等简单的指令, 操作 单元可为简单的按钮组合或语音输入等方式实现。 The input unit provides a user's input operation to the semiconductor storage device 200, including turning on / off the semiconductor storage device 200, performing simple instructions such as file deletion, copying, and the like. The unit can be implemented by a simple combination of buttons or voice input.
所述输出单元为液晶等显示模块, 用于显示半导体存储装置 200 内的文件的参数信息, 包括文件的数量、 大小, 半导体存储装置 200 的使用空间及剩余空间, 以及对输入单元输入的操作指令执行的状态 信息。 输出单元为显示模块之外, 该输出单元也可为语音输出模块, 如喇叭、 耳机接口等。  The output unit is a display module such as a liquid crystal, and is used to display parameter information of files in the semiconductor storage device 200, including the number and size of the files, the used space and remaining space of the semiconductor storage device 200, and operation instructions input to the input unit. Execution status information. In addition to the display unit, the output unit may also be a voice output module, such as a speaker and a headphone interface.
根据用户对数据存储性质的要求可对数据存储单元 230行区划分, 可分为多个不同的存储区域, 如公共区和保密区两个部分, 并分配相 应的盘符, 提高用户数据的存储安全。 对于公用区: 可提供任用户一 开放的数据存储空间, 任何能使用该半导体存储装置 200 的用户皆能 对公用区进行读写的操作, 在公用中用户无法看见保密区的盘符, 从 而也就无法读取保密区的内容; 对于保密区: 在保密区中所有数据操 作与公用区一样, 但须执行一个位于公共区内可执行文件, 并输入正 确的密码后, 才能进行数据的读取, 否则无法对保密区进行数据的操 作。  According to the user's requirements for the nature of data storage, the data storage unit can be divided into 230 rows. It can be divided into multiple different storage areas, such as the public area and the confidential area. The corresponding drive letters are assigned to improve the storage of user data. Safety. For the public area: It can provide any user with an open data storage space. Any user who can use the semiconductor storage device 200 can read and write in the public area. In the public, the user cannot see the drive letter of the confidential area. It is impossible to read the contents of the secret zone; For the secret zone: All data operations in the secret zone are the same as in the public zone, but only after executing an executable file located in the public zone and entering the correct password, can the data be read Otherwise, you cannot perform data operations on the confidential area.
对于半导体存储装置 200的数据存储单元 230是单一芯片, 该分 区操作通过软件的方式设定; 对数据存储单元 230是多芯片的情况, 该分区操作除了通过软件的方式设定外, 还可通过硬件的方式进行设 定, 选定其中的一个或多个芯片作为保密区。  For the data storage unit 230 of the semiconductor storage device 200 being a single chip, the partition operation is set by software; for the case where the data storage unit 230 is multi-chip, the partition operation can be set by software in addition to being set by software. Set in hardware mode, and select one or more chips as the security zone.
为了防止误操作造成的数据丢失, 还可对该半导体存储装置 200 设定写保护的开关, 通过将该写保护开关置于不同的位置实现对整个 数据存储装置的写保护功能, 对于数据存储单元 230是单一芯片, 该 写保护除了硬件方式之外, 也可以通过软件的方式实现半导体存储装 置 200的写保护功能; 对于数据存储单元 230是多芯片构成的, 该写 保护非但可以通过软件或硬件方式实现整个半导体存储装置 200 的写 保护功能, 还可以选定其中的一个或多个存储芯片部分的实现对半导 体存储装置 200的写保护, 使得半导体存储装置 200部分区域具有写 保护功能, 而其它部分没有写保护功能, 以加强对重要数据的安全保 护, 该部分的写保护实现的方式包括通过硬件的方式悬空部分存储芯 片的 CS线。 以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领 域的普通技术人员来说, 在不脱离本发明原理的前提下, 还可以作出 若干改进和润饰, 这些改进和润饰也应视为本发明的保护范围。 In order to prevent data loss caused by misoperation, a write protection switch can also be set for the semiconductor storage device 200, and the write protection function for the entire data storage device can be realized by placing the write protection switch in different positions. 230 is a single chip. In addition to the hardware method, the write protection can also implement the write protection function of the semiconductor memory device 200 by software. For the data storage unit 230 is composed of multiple chips, the write protection can be implemented not only by software or hardware. To implement the write protection function of the entire semiconductor memory device 200, and one or more of the memory chip portions may also be selected to implement the write protection of the semiconductor memory device 200, so that some regions of the semiconductor memory device 200 have a write protection function, while others Part of it does not have a write protection function to strengthen the security protection of important data. The way to achieve write protection of this part includes suspending the CS line of some memory chips by means of hardware. The above are only preferred embodiments of the present invention. It should be noted that, for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and retouches can be made. These improvements and retouches should also be made. It is regarded as the protection scope of the present invention.

Claims

权利要求书 Claim
1. 一种半导体存储装置, 包括: 1. A semiconductor storage device, comprising:
一数据存储单元, 所述数据存储单元由至少一半导体存储芯片构 成, 用于数据存储;  A data storage unit, which is composed of at least one semiconductor storage chip and is used for data storage;
一个与 S-ATA定义的总线连接的 S-ATA接口连接器, 提供数据发 送到 S-ATA定义的总线和从 S-ATA总线接收数据的接口; 以及  An S-ATA interface connector connected to the S-ATA-defined bus, providing an interface for data to be sent to and received from the S-ATA-defined bus; and
一个 S-ATA存储控制器, 提供数据存储单元与 S-ATA接口连接器 之间的数据连接, 执行输入所述数据存储装置的操作指令, 对数据存 储单元进行数据操作。  An S-ATA storage controller provides a data connection between a data storage unit and an S-ATA interface connector, executes an operation instruction input to the data storage device, and performs data operations on the data storage unit.
2. 如权利要求 1 所述的数据存储装置, 其特征在于: 所述半导体芯 片包括 Flash、 MRAM、 DRAM. SDRAM、 EPROM、 EEPROM或 SRAM。 2. The data storage device according to claim 1, wherein: said semiconductor chip comprises Flash, MRAM, DRAM. SDRAM, EPROM, EEPROM or SRAM.
3. 如权利要求 1 所述的数据存储装置, 其特征在于: 所述数据存储 单元分为多个具不同保密要求的数据存储区域。 3. The data storage device according to claim 1, wherein the data storage unit is divided into a plurality of data storage areas with different security requirements.
4. 如权利要求 1所述的数据存储装置, 其特征在于: 所述 S-ATA存 储控制器与 S-ATA接口连接器之间的连接可为线缆方式或紧密连接方 式。 4. The data storage device according to claim 1, wherein the connection between the S-ATA storage controller and the S-ATA interface connector is a cable method or a tight connection method.
5. 如权利要求 1所述的数据存储装置, 其特征在于: 所述 S-ATA存 储控制器可为一块或多块半导体芯片构成。 5. The data storage device according to claim 1, wherein the S-ATA storage controller is configured by one or more semiconductor chips.
6. 如权利要求 1 所述的数据存储装置, 其特征在于: 所述数据存储 装置进一步包括输入 /输出单元。 6. The data storage device according to claim 1, wherein the data storage device further comprises an input / output unit.
7. 如权利要求 6所述的数据存储装置, 其特征在于: 所述输入单元 包括按钮组合和 /或语音输入方式, 输出单元包括显示模块和 /或语音模 块。 7. The data storage device according to claim 6, wherein: the input unit includes a button combination and / or a voice input mode, and the output unit includes a display module and / or a voice module.
8. 如权利要求 1所述的数据存储装置, 其特征在于: 所述数据存储 装置进一步包括一写保护开关。 8. The data storage device according to claim 1, wherein the data storage device further comprises a write protection switch.
9. 如权利要求 8所述的数据存储装置, 其特征在于: 所述写保护开 关包括硬件的方式和 /或软件的方式实现。 9. The data storage device according to claim 8, wherein the write protection switch is implemented in a hardware manner and / or a software manner.
10. 如权利要求 1所述的数据存储装置, 其特征在于: 所述数据存储 装置具有整体或部分的实现写保护。 10. The data storage device according to claim 1, wherein: the data storage device has a whole or part of a write protection.
PCT/CN2004/001444 2003-12-31 2004-12-14 Semiconductor storage apparatus for serial advanced technology attachment-based WO2005066806A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNB2003101177138A CN100565482C (en) 2003-12-31 2003-12-31 Semiconductor storage based on the serial advanced technology structure interface
CN200310117713.8 2003-12-31

Publications (1)

Publication Number Publication Date
WO2005066806A1 true WO2005066806A1 (en) 2005-07-21

Family

ID=34744501

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2004/001444 WO2005066806A1 (en) 2003-12-31 2004-12-14 Semiconductor storage apparatus for serial advanced technology attachment-based

Country Status (2)

Country Link
CN (1) CN100565482C (en)
WO (1) WO2005066806A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7814245B2 (en) * 2006-10-05 2010-10-12 Lsi Corporation Apparatus and methods for improved SATA device interaction without a SAS expander
JP2008210477A (en) * 2007-02-27 2008-09-11 Hitachi-Lg Data Storage Inc Disk device
CN104182367B (en) * 2014-07-28 2017-05-17 英业达科技有限公司 Storage control device and calling method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1304509A (en) * 1999-04-05 2001-07-18 M-系统快闪盘开拓者公司 Architecture for universal serial bus-based PC flash disk
CN1367438A (en) * 2002-02-09 2002-09-04 深圳市朗科科技有限公司 Semiconductor storage method for supporting several interfaces and device
DE20303894U1 (en) * 2002-12-30 2003-07-10 Carry Computer Eng Co Ltd Card reader device with a SATA interface, for reading one or more types of memory cards, e.g. SD, MMC, memory stick, etc., whereby use of a SATA interface increases data transfer rates and provides hot-swapping capability

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1304509A (en) * 1999-04-05 2001-07-18 M-系统快闪盘开拓者公司 Architecture for universal serial bus-based PC flash disk
CN1367438A (en) * 2002-02-09 2002-09-04 深圳市朗科科技有限公司 Semiconductor storage method for supporting several interfaces and device
DE20303894U1 (en) * 2002-12-30 2003-07-10 Carry Computer Eng Co Ltd Card reader device with a SATA interface, for reading one or more types of memory cards, e.g. SD, MMC, memory stick, etc., whereby use of a SATA interface increases data transfer rates and provides hot-swapping capability

Also Published As

Publication number Publication date
CN1635577A (en) 2005-07-06
CN100565482C (en) 2009-12-02

Similar Documents

Publication Publication Date Title
US7136951B2 (en) Multifunction semiconductor storage device and a method for booting-up computer host
KR101008449B1 (en) Device and method for providing data exchange and storage
US6829672B1 (en) Electronic flash memory external storage method and device
TW564349B (en) Method and related apparatus for controlling transmission interface of external device of computer system
WO2003044732A1 (en) Semiconductor storage method and device supporting multi-interfaces
JP2009087124A (en) Storage device and storage device access control method
US8626985B2 (en) Hybrid optical disk drive, method of operating the same, and electronic system adopting the hybrid optical disk drive
US20100180080A1 (en) External storage device having a self-contained security function
US20090019211A1 (en) Establishing A Redundant Array Of Inexpensive Drives
US20200363971A1 (en) Portable storage device that is self-convertible from being a removable disk to a fixed disk and from being a fixed disk to a removable disk
WO2005066806A1 (en) Semiconductor storage apparatus for serial advanced technology attachment-based
KR102609473B1 (en) Data storage device and operating method thereof
TWI407327B (en) Method and system for processing data, and storage device controller
JP2004362523A (en) Wireless type storage device, wireless type hard disk, wireless type flash memory disc, storage device authentication method
TWM240645U (en) Micro flash memory card with an USB interface
US8209452B2 (en) External device having a virtual storage device
WO2005064475A1 (en) Data processing apparatus
US20070066119A1 (en) Memory device with serial AT attachment
US7146440B1 (en) DMA acknowledge signal for an IDE device
KR100462898B1 (en) The apparatus for compatible memory device interface
KR100856811B1 (en) Universal Serial Bus Interface apparatus
TW201324172A (en) Portable storage device, system and method for transmitting data from digital device

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase