Storage device and data processing system

文档序号:828780 发布日期:2021-03-30 浏览:6次 中文

阅读说明:本技术 存储装置及数据处理系统 (Storage device and data processing system ) 是由 郑吉华 于 2020-12-11 设计创作,主要内容包括:本发明实施例公开一种存储装置及数据处理系统,其中,存储装置利用处理单元获取第一类型接口与第一类型设备的第一连接状态,以及第二类型接口与第二类型设备的第二连接状态,其中,处理单元可以根据第一连接状态或第二连接状态,分时接通NVMe固态硬盘与第一类型接口或第二类型接口,使得存储装置可以分时与第一类型设备或者第二类型设备进行数据传输,丰富了NVMe固态硬盘的应用场景,有效提升存储装置的实用性。另外,本发明实施例中的数据处理系统,包括上述存储装置、第一类型设备或第二类型设备,第一类型设备或第二类型设备可以获取存储装置存储的数据或者向存储装置写入新的数据,系统结构简单,实用性强。(The embodiment of the invention discloses a storage device and a data processing system, wherein the storage device utilizes a processing unit to acquire a first connection state of a first type interface and a first type device and a second connection state of a second type interface and a second type device, wherein the processing unit can be used for connecting an NVMe solid state disk and the first type interface or the second type interface in a time-sharing manner according to the first connection state or the second connection state, so that the storage device can transmit data with the first type device or the second type device in a time-sharing manner, application scenes of the NVMe solid state disk are enriched, and the practicability of the storage device is effectively improved. In addition, the data processing system in the embodiment of the present invention includes the storage device, the first type device or the second type device, and the first type device or the second type device may acquire data stored in the storage device or write new data into the storage device.)

1. A storage device is characterized by comprising a shell, an NVMe solid-state disk arranged in the shell, a processing unit, a first type interface used for being connected with a first type device, and a second type interface used for being connected with a second type device, wherein a PCIe signal line interface of the NVMe solid-state disk is connected with the processing unit, the processing unit is respectively connected with the first type interface and the second type interface, an output end of the first type interface or an output end of the second type interface is respectively connected with a detection input end of the processing unit, so that the processing unit acquires a first connection state of the first type interface and the first type device and a second connection state of the second type interface and the second type device, and the processing unit is used for acquiring a first connection state or a second connection state according to the first connection state or the second connection state, and connecting the NVMe solid state disk and the first type interface or the second type interface in a time-sharing manner.

2. The storage apparatus according to claim 1, wherein the first type device is an upper computer, and the first type interface is a USB interface; or, the second type device is a device having a PCIe interface, and the second type interface is a PCIe interface.

3. The storage device according to claim 2, wherein the upper computer comprises any one of a computer, an SoC system, a mobile terminal and a virtual terminal.

4. The storage apparatus of claim 2, wherein the device having a PCIe interface comprises a video camera or a video camera.

5. The storage device according to claim 2, wherein the processing unit includes a controller, a multiplexer, and a PCIe to USB module, the PCIe signal line interface of the NVMe solid state disk is connected to the input end of the multiplexer, the first output end of the multiplexer is connected to the PCIe to USB module, the PCIe to USB module is connected to the USB interface, the second output end of the multiplexer is connected to the PCIe interface, the output end of the USB interface or the output end of the PCIe interface is respectively connected to the input end of the controller, and the output end of the controller is connected to the control end of the multiplexer.

6. The memory device of claim 5, wherein the multiplexer is a MUX chip.

7. A memory device according to any one of claims 1 to 6, further comprising a status indicator light, wherein the output of the processing unit is connected to the input of the status indicator light for controlling the operation of the status indicator light upon power-up of the device.

8. A storage device as claimed in any one of claims 1 to 6, wherein the enclosure is an anti-static enclosure.

9. The storage device of any one of claims 1 to 6, further comprising a heat sink unit.

10. A data processing system comprising a storage apparatus, a first type device or a second type device according to any one of claims 1 to 9, said first type device being connected to said first type interface and said second type device being connected to said second type interface.

Technical Field

The present invention relates to the field of data storage technologies, and in particular, to a storage device and a data processing system.

Background

In the field of computer storage and professional server or camera storage, high-performance and low-latency NVMe solid state disk (NVMe SSD) is becoming more and more popular in the mass market, but the NVMe solid state disk is a bare circuit board (typically, an NVMe solid state disk with a size of 2280), and can only be used in a main board (a PCIe interface of the main board is inserted) in a computer/server chassis, which is cumbersome to operate, and severely limits the application scenarios of the NVMe solid state disk.

Disclosure of Invention

The embodiment of the invention provides a storage device and a data processing system, which can enrich the application scene of an NVMe solid state disk.

In a first aspect, an embodiment of the present invention provides a storage apparatus, which includes a housing, an NVMe solid-state disk disposed in the housing, a processing unit, a first type interface used for connecting with a first type device, and a second type interface used for connecting with a second type device, where a PCIe signal line interface of the NVMe solid-state disk is connected to the processing unit, the processing unit is connected to the first type interface and the second type interface, respectively, an output end of the first type interface or an output end of the second type interface is connected to a detection input end of the processing unit, so that the processing unit obtains a first connection state of the first type interface and the first type device, and a second connection state of the second type interface and the second type device, and the processing unit is configured to, according to the first connection state or the second connection state, and connecting the NVMe solid state disk and the first type interface or the second type interface in a time-sharing manner.

In one possible embodiment, the first type device is an upper computer, and the first type interface is a USB interface; or, the second type device is a device having a PCIe interface, and the second type interface is a PCIe interface.

In one possible embodiment, the upper computer includes any one of a computer, an SoC system, a mobile terminal, and a virtual terminal.

In one possible embodiment, the device having a PCIe interface includes a video camera or a video camera.

In one possible embodiment, the processing unit includes a controller, a multiplexer, and a PCIe to USB module, a PCIe signal line interface of the NVMe solid state disk is connected to an input end of the multiplexer, a first output end of the multiplexer is connected to the PCIe to USB module, the PCIe to USB module is connected to the USB interface, a second output end of the multiplexer is connected to the PCIe interface, an output end of the USB interface or an output end of the PCIe interface is connected to an input end of the controller, and an output end of the controller is connected to a control end of the multiplexer.

In one possible embodiment, the multiplexer is a MUX chip.

In a possible embodiment, the storage device further comprises a status indicator light, and the output end of the processing unit is connected with the input end of the status indicator light to control the operation of the status indicator light after the device is powered on.

In one possible embodiment, the housing is an antistatic housing.

In one possible embodiment, the storage device further includes a heat dissipation unit.

In a second aspect, an embodiment of the present invention provides a data processing system, including the storage apparatus, the first type device, or the second type device described in the first aspect, where the first type device is connected to the first type interface, and the second type device is connected to the second type interface.

The storage device in the embodiment of the invention utilizes the processing unit to acquire the first connection state of the first type interface and the first type device and the second connection state of the second type interface and the second type device, wherein the processing unit can be used for connecting the NVMe solid state disk and the first type interface or the second type interface in a time-sharing manner according to the first connection state or the second connection state, so that the storage device can perform data transmission with the first type device or the second type device in a time-sharing manner, application scenes of the NVMe solid state disk are enriched, and the practicability of the storage device is effectively improved. In addition, the data processing system in the embodiment of the present invention includes the storage device, the first type device or the second type device, and the first type device or the second type device may acquire data stored in the storage device or write new data into the storage device.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 is a block diagram of a data processing system according to an embodiment of the present invention;

FIG. 2 is a detailed structural diagram of a data processing system according to an embodiment of the present invention;

fig. 3a and fig. 3b are schematic structural diagrams of a memory device according to an embodiment of the present invention.

Detailed Description

The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

It should be understood that the terms "first," "second," and the like in the description and claims of this application and in the drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.

Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by the person skilled in the art that the described embodiments of the invention can be combined with other embodiments.

In the prior art, the NVMe solid state disk can only be inserted into a motherboard of a computer for use, and is complex to operate, and the use scene of the NVMe solid state disk is single, so that the embodiment of the invention provides the storage device and the data processing system, the storage device can be controlled by the first type of equipment or the second type of equipment, the operation is simple, and the application scene of the NVMe solid state disk can be effectively expanded.

Referring to fig. 1, fig. 1 is a schematic structural diagram of a data processing system according to an embodiment of the present invention; the data processing system comprises a storage apparatus 100, a first type device 105 or a second type device 106, wherein the storage apparatus 100 comprises a housing (not shown), an NVMe solid state disk 101 disposed in the housing, a processing unit 102, a first type interface 103 for connecting with the first type device 105, and a second type interface 104 for connecting with the second type device 106, a PCIe signal line interface of the NVMe solid state disk 101 is connected with the processing unit 102, the processing unit 102 is respectively connected with the first type interface 103 and the second type interface 104, an output end of the first type interface 103 or an output end of the second type interface 104 is respectively connected with a detection input end of the processing unit 102 (not shown), so that the processing unit 102 obtains a first connection state of the first type interface 103 and the first type device 105, and a second connection state of the second type interface 104 and the second type device 106, the processing unit 102 is configured to connect the NVMe solid state disk 101 and the first type interface 103 or the second type interface 104 in a time-sharing manner according to the first connection state or the second connection state.

Under the condition that a PCIe interface of a mainboard is not inserted, data in the NVMe solid state disk can be directly and conveniently accessed.

In particular, through holes corresponding to the first type interface 103 and the second type interface 104 are formed on the shell, so that the plugging and unplugging of the interfaces are realized. The PCIe signal line interface of the NVMe solid state disk is an interface of the high-speed serial computer expansion bus standard, such as an NVMe m.2 interface.

When the first connection state is selected to perform time-sharing connection control of the first type interface 103 and the second type interface 104, the processing unit 102 fixedly connects the second type interface, and when the processing unit 102 detects that the first connection state of the first type interface 103 is the connection state, that is, the first type device 105 is connected to the first type interface 103, the processing unit 102 switches to connect the NVMe solid state disk 101 and the first type interface 103. On the contrary, if the second connection state is selected to perform the time-sharing connection control, the processing unit 102 fixedly connects the first type interface 103, and when the processing unit 102 detects that the second connection state of the second type interface 104 is the connection state, that is, the second type device 106 accesses the second type interface 104, at this time, the processing unit 102 switches to connect the NVMe solid state disk 101 and the second type interface 104.

In the storage device 100 in the embodiment of the present invention, the processing unit is used to acquire the first connection state between the first type interface and the first type device, or the second connection state between the second type interface and the second type device, wherein the processing unit may connect the NVMe solid state disk and the first type interface or the second type interface in a time-sharing manner according to the first connection state or the second connection state, so that the storage device may perform data transmission with the first type device or the second type device in a time-sharing manner, application scenarios of the NVMe solid state disk 101 are enriched, and the practicability of the storage device is effectively improved. In addition, because the data processing system in the embodiment of the present invention includes the storage device, the first type device or the second type device may acquire data stored in the storage device or write new data into the storage device, the system structure is simple, and the practicability is strong.

In a possible embodiment, referring to fig. 2, fig. 2 is a schematic diagram illustrating a detailed structure of a data processing system according to an embodiment of the present invention. The first type device is an upper computer, the upper computer includes any one of a computer, an SoC system, a mobile terminal and a virtual terminal, and the computer includes a desktop computer 204 or a notebook computer. And the first TYPE of interface is a USB interface 203 (such as TYPE-C USB interface, etc.). The second type of device is a device with a PCIe interface, such as a video camera, etc. The second type of interface is a PCIe interface 205, such as an SFF interface or the like.

Therefore, the storage device can be directly and conveniently plugged into a computer through a universal data line (for example, cables with TYPE-C USB interfaces at two ends), and the computer can quickly access and read data in the NVMe solid state disk without a card reader. The PCIe interface is used for being connected with equipment with PCIe interfaces, such as a camera or a video camera and the like, so that the PCIe interface is strong in robustness and resistant to plugging; and moreover, the audio and video data of the camera or the video camera can be recorded and stored in the NVMe solid state disk.

In one possible embodiment, referring to fig. 2, the processing unit includes a controller 200, a multiplexer 201, and a PCIe-to-USB module 202, a PCIe signal line interface of the NVMe solid state disk 101 is connected to an input end of the multiplexer 201, a first output end of the multiplexer 201 is connected to the PCIe-to-USB module 202, the PCIe-to-USB module 202 is connected to the USB interface 203, a second output end of the multiplexer 201 is connected to the PCIe interface 205, an output end of the USB interface 203 or an output end of the PCIe interface 205 is connected to an input end of the controller 200, respectively, and an output end of the controller 200 is connected to a control end of the multiplexer 201.

Specifically, the PCIe-to-USB module 202 is a PCIe-to-USB chip and is responsible for exchanging a PCIe protocol and a USB protocol. The controller 200 may be a single chip, and the multiplexer 201 may be a MUX chip. In practice, taking the USB interface as an example, the status indication signal of the USB interface 203 is output to a DET (detection input) pin on the single chip, and a pin GPIO (general purpose input output pin) of the single chip is connected to the multiplexer 201.

When the output end of the USB interface 203 is connected to the input end of the controller 200, and when the USB interface 203 is connected to the desktop computer 204 through the data line, the USB interface 203 sends a status indication signal to the DET pin of the single chip, the single chip performs logic judgment, and controls gating of the multiplexer 201 through the GPIO pin, so that the multiplexer is selectively connected to the NVMe solid state disk 101 and the PCIe-to-USB module 202, and thus the desktop computer 204 can access data on the NVMe solid state disk 101 through the USB interface.

Similarly, when the output end of the PCIe interface 205 is connected to the input end of the controller 200, and when the PCIe interface 205 is connected to the camera, the PCIe interface 205 gives a status indication signal to the single chip microcomputer, so that the single chip microcomputer controls the multiplexer 201 to connect the NVMe solid state disk 101 and the PCIe interface 205, so that the camera can store the recorded audio and video in the NVMe solid state disk 101.

In one possible embodiment, the storage device further comprises a status indicator light, and the output of the processing unit is connected to the input of the status indicator light to control the operation of the status indicator light after the device is powered on. The status indicator lamp is an LED lamp, and after the storage device is powered on, the processing unit controls the status indicator lamp to emit light so that the indicating device is in a working state. Further, when the storage device utilizes the first type interface and the first connection state of the first type device for time-sharing connection control, the LED lamp is arranged at the corresponding position of the second type interface, so that a user can quickly know that the second type interface is in an available state. The switching indicator lamp can also be an LED lamp, the switching indicator lamp is arranged at a corresponding position of the first type interface, when the first type interface is detected to be connected with the first type equipment, the processing unit extinguishes the status indicator lamp and controls the switching indicator lamp to emit light so as to indicate that the first type interface is in an available state. On the contrary, when the storage apparatus is time-division-on-control using the second type interface and the second connection state of the second type device, the state indicator lamp is disposed at the corresponding position of the first type interface, and the switching indicator lamp is disposed at the corresponding position of the second type interface.

In one possible embodiment, the housing is an antistatic housing. In the using process, the anti-static shell isolates the NVMe solid state disk from external objects, so that the NVMe solid state disk in the storage device cannot be damaged due to contact of hands or static electricity of other objects, and the service life of the storage device is effectively prolonged.

In one possible embodiment, the storage device further includes a heat dissipation unit, and in particular, the heat dissipation unit may be implemented by using at least one of a heat dissipation hole, a heat dissipation fin, a heat dissipation fan, and the like. Referring to fig. 3a and 3b, fig. 3a and 3b are schematic structural diagrams of a storage device according to an embodiment of the present invention, where the housing 301 has heat dissipation holes to dissipate heat in the housing 301 through the heat dissipation holes, so as to prevent the storage device from being broken or damaged due to an over-high temperature, and further prolong the service life of the storage device. When the heat dissipation is realized by using the heat dissipation fins, the heat dissipation fins can be attached to the inner side of the shell or the outer side of the processing unit so as to absorb the heat in the shell or the heat generated by the processing unit. The heat dissipation fan can be matched with the heat dissipation holes for use, and the air outlet can be opposite to the heat dissipation holes, so that the heat dissipation fan can quickly discharge heat through the heat dissipation holes. In addition, the housing 301 has a first type interface 302 and a second type interface 303 thereon.

The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种在位线结构中设置有传输门的SRAM及存取提升方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类