Storage device, reading method of storage device, and non-volatile storage medium

By using SSD storage devices, USB HUB devices, USB switch lines and conversion chips in cloud computers, the data in the storage device can still be read when the cloud computer terminal cannot be turned on, solving the problem of mass storage and Data accessibility issues.

CN119292536APending Publication Date: 2025-01-10TIANYI TELECOM TERMINALS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411544596.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

Existing cloud computers cannot meet the needs of large-capacity local storage, and cannot read the storage space contents when shut down or when the motherboard is damaged.

Method used

Using a combination of SSD memory devices, USB HUB devices, USB switch lines and conversion chips, through signal conversion between the USB interface and PCle interface, data in the SSD memory device can still be read when the cloud computer terminal cannot be turned on.

Benefits of technology

It solves the problem that cloud computers cannot meet the needs of large-capacity storage and cannot read storage space when shut down or motherboard is damaged, and improves data reliability and accessibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292536A_ABST
    Figure CN119292536A_ABST
Patent Text Reader

Abstract

The invention discloses a storage device, a reading method of the storage device and a nonvolatile storage medium. According to the method, an SSD storage device, a USB HUB device, a USB switching circuit and a conversion chip are included, the first end of the USB HUB device is connected with a USB interface, the second end of the USB HUB device is connected with the first end of the conversion chip, the conversion chip is used for conducting signal conversion between the USB interface and a PCIe interface, and the USB HUB device is used for transmitting USB signals to the conversion chip so as to read data in the SSD storage device; the second end of the conversion chip is connected with the SSD storage device, and the third end of the conversion chip is connected with the USB switching circuit. The technical problems that an existing cloud computer cannot meet the large-capacity local storage requirement, and the content in the storage space cannot be read in the shutdown state or when a mainboard is damaged are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud computing, and more specifically, to a storage device, a method for reading a storage device, and a non-volatile storage medium. Background Art

[0002] Since the computing power of cloud computers is in the cloud, the existing cloud computers have low requirements for local CPU performance. Therefore, low-power CPU models are used in the design. The storage type is often EMMC particles (Embedded Multi Media Card, EMMC), and the read and write speeds are relatively slow. The slow read and write speeds may affect the overall performance of the device, especially when processing large amounts of data or running large applications. The design of EMMC is to package the controller and NAND flash memory particles together. This packaging method limits the number of NAND flash memory particles that EMMC can accommodate, thereby limiting its maximum capacity. With the increasing demand for storage capacity by users, EMMC may not be able to meet the demand for large-capacity storage of high-end devices, and the content of the storage space cannot be read and written when the computer is turned off or the motherboard is damaged. Therefore, the existing cloud computers have the problem of being unable to meet the demand for large-capacity local storage and being unable to read the content of the storage space when the computer is turned off or the motherboard is damaged.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a storage device, a storage device reading method and a non-volatile storage medium, so as to at least solve the technical problems that existing cloud computers cannot meet large-capacity local storage requirements and cannot read storage space contents when the computer is turned off or the motherboard is damaged.

[0005] According to one aspect of an embodiment of the present application, a storage device is provided, including: an SSD storage device, a USB HUB device, a USB switch circuit and a conversion chip, wherein a first end of the USB HUB device is connected to a USB interface, and a second end of the USB HUB device is connected to a first end of the conversion chip, wherein the conversion chip is used to perform signal conversion between the USB interface and the PCle interface, the USB HUB device is used to transmit the USB signal to the conversion chip to read data in the SSD storage device, and the USB switch circuit is used to be turned on when the cloud computer terminal cannot be turned on; the second end of the conversion chip is connected to the SSD storage device, and the third end of the conversion chip is connected to the USB switch circuit.

[0006] In some embodiments of the present application, the third end of the USB HUB device is connected to the CPU of the cloud computer terminal, and is used to access the SSD storage device through the USB HUB device and the conversion chip when the cloud computer terminal is turned on.

[0007] In some embodiments of the present application, the first end of the USB HUB device is connected to the USB interface through a first bus, the second end of the USB HUB device is connected to the conversion chip through a second bus, and the third end of the USB HUB device is connected to the CPU of the cloud computer terminal through a third bus.

[0008] In some embodiments of the present application, the bus types of the first bus, the second bus, and the third bus are of the first type, and the protocol standards supported by the first bus, the second bus, and the third bus are the same.

[0009] In some embodiments of the present application, the conversion chip is connected to the SSD storage device through a fourth bus.

[0010] In some embodiments of the present application, the bus type of the fourth bus is the second type.

[0011] In some embodiments of the present application, when the cloud computer terminal cannot be turned on, the conversion chip receives a read instruction transmitted by an external device through a USB interface and a USB switch line, and sends the read instruction to the SSD storage device.

[0012] According to another aspect of an embodiment of the present application, a method for reading a storage device is also provided, including: when a cloud computer terminal cannot be turned on, a conversion chip receives a read instruction transmitted by an external device through a USB interface and a USB switch circuit, wherein the USB switch circuit is turned on when the cloud computer terminal cannot be turned on; the read instruction is sent to an SSD storage device to access data in the SSD storage device, wherein the USB interface is connected to a first end of a USB HUB device, and a second end of the USB HUB device is connected to the conversion chip, and the conversion chip is used to perform signal conversion between the USB interface and the PCle interface.

[0013] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided, the non-volatile storage medium including a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned storage device reading method by running the computer program.

[0014] According to another aspect of an embodiment of the present application, a computer program product is also provided, including computer instructions, and when the computer instructions are executed by a processor, the above-mentioned storage device reading method is implemented.

[0015] In an embodiment of the present application, a storage device is used, including: an SSD storage device, a USB HUB device, a USB switch circuit and a conversion chip, wherein a first end of the USB HUB device is connected to a USB interface, a second end of the USB HUB device is connected to a first end of the conversion chip, wherein the conversion chip is used to perform signal conversion between the USB interface and the PCle interface, the USBHUB device is used to transmit the USB signal to the conversion chip to read data in the SSD storage device, and the USB switch circuit is used to be opened when a cloud computer terminal cannot be turned on; the second end of the conversion chip is connected to the SSD storage device, and the third end of the conversion chip is connected to the USB switch circuit, and a storage device reading method is provided: when the cloud computer terminal cannot be turned on, the conversion chip receives a read instruction transmitted by an external device through the USB interface and the USB switch circuit, wherein the USB switch circuit is opened when the cloud computer terminal cannot be turned on; the read instruction is sent to the SSD storage device to access the data in the SSD storage device, wherein the USB interface is connected to the first end of the USB HUB device, the second end of the USB HUB device is connected to the conversion chip, and the conversion chip is used to perform signal conversion between the USB interface and the PCle interface. When the cloud computer terminal cannot be turned on, the conversion chip receives the read instruction transmitted by the external device through the USB interface and the USB switch line, and sends the read instruction to the SSD storage device to access the data in the SSD storage device. The purpose of using the SSD storage device to meet the large-capacity local storage needs and reading the storage space content when the computer is turned off or the motherboard is damaged is achieved, thereby solving the technical problems that the existing cloud computers cannot meet the large-capacity local storage needs and cannot read the storage space content when the computer is turned off or the motherboard is damaged. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 is a schematic diagram of the structure of a storage device provided according to an embodiment of the present application;

[0018] Figure 2 It is a flowchart of a method for reading a storage device provided in an embodiment of the present application;

[0019] Figure 3 It is a block diagram of a cloud computer motherboard provided according to an embodiment of the present application;

[0020] Figure 4 It is a block diagram (overall framework) of a cloud computer motherboard provided according to an embodiment of the present application;

[0021] Figure 5 It is a block diagram of a cloud computer motherboard (power-on state) provided according to an embodiment of the present application;

[0022] Figure 6 It is a block diagram of a cloud computer motherboard (powered off state) provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] The information collected in the embodiments of the present application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or reject automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.

[0026] In order to better understand the embodiments of the present application, the technical terms involved in the embodiments of the present application are explained as follows:

[0027] Solid State Drive (SSD) is a storage device that mainly uses semiconductor memory as a permanent storage medium. Compared with traditional mechanical hard disks (HDDs), SSDs have no mechanical moving parts, so they have significant advantages in read and write speed, shock resistance, operating temperature range, energy consumption, and data security. Since there are no moving parts, the risk of data loss when SSDs are subjected to physical shocks is much lower than that of HDDs, making them more suitable for mobile devices and environments susceptible to vibration.

[0028] SSD storage devices include: Control unit: as the brain of SSD, responsible for receiving instructions, command, calculation and coordination; Storage unit: mainly uses flash memory chips (such as Single Level Cell (SLC): stores 1 bit of data in each storage cell, so it has the highest write speed, longest service life and highest data stability. But its storage density is low and the cost is relatively high. Multi-level cell flash memory (MLC): usually refers to 2 bits of data stored in each cell, that is, each cell can store 2 states. This provides higher storage density than SLC, but its write speed and life are lower than SLC. Triple Level Cell (TLC): each storage cell can store 3 bits of data, that is, 8 different states, which further improves storage density and reduces cost, but performance and durability continue to decrease. Quadruple Level Cell (MLC) Cell, referred to as QLC and other types) as storage media, these flash memory chips store data and are accessed by the control unit; Cache chip (optional): used to increase data read and write speeds, reduce the number of read and write times of the flash memory chip, and extend the life of the SSD; Interface: Common interfaces include Serial Advanced Technology Attachment (SATA), PCle, etc., which are used to connect the SSD to the computer motherboard. The PCle interface (especially PCle GEN 3 or GEN 4) provides a much higher speed than SATA (up to tens of GB / s), which is suitable for high-performance applications. The data read and write speed of the SSD can be completed almost instantly, far exceeding that of traditional mechanical hard drives. There are no mechanical parts inside, so it is more shock-resistant and drop-resistant than traditional hard drives, and can adapt to various complex environments. Compared with traditional hard drives, SSDs have lower energy consumption, which helps to extend battery life.

[0029] Universal Serial Bus (USB) interface: A widely used standard interface for data transmission, power supply and communication between computers and external devices. The USB interface is the input end of the USB to PCle line, which receives signals from USB devices. USB interfaces can be of Type-A, Type-B, Type-C, etc., depending on the interface type of the USB device. The USB interface connects devices through simple plug-in and pull-out operations, without opening the computer case or performing complex hardware configuration, which greatly simplifies the installation and use of the device. USB supports hot-swapping, that is, devices can be connected or disconnected without turning off the computer, without causing system crashes or data loss.

[0030] PCle interface (Peripheral Component Interconnect Express, referred to as PCle): PCle interface is the output end of the USB to PCle line. It is a high-speed serial computer expansion bus standard that transmits the converted signal to the PCle slot on the computer motherboard. PCle uses point-to-point connection, and each connection (or channel) can transmit data independently, thus providing higher data transmission rates and lower system latency. The PCle interface supports a variety of data transmission rates, from 2.5GT / s (gigatransfers per second, GT / s) of PCle 1.0 to 32GT / s of PCle 5.0. Each channel can achieve bidirectional transmission, so the actual bandwidth is the product of the number of channels and the rate of each channel. PCle uses a point-to-point connection, which means that each device has its own independent channel connected to the system chipset or processor, thus avoiding the bottleneck problem of the shared bus and improving the efficiency and reliability of data transmission.

[0031] In some embodiments of the present application, a schematic diagram of the structure of a storage device is also provided, such as Figure 1 As shown, it includes: an SSD storage device 114, a USB HUB104 device, a USB switch circuit 108 and a conversion chip 110, wherein the first end of the USB HUB104 device is connected to the USB interface 106, and the second end of the USB HUB104 device is connected to the first end of the conversion chip 110, wherein the conversion chip 110 is used to perform signal conversion between the USB interface 106 and the PCle interface 112, and the USB HUB104 device is used to transmit the USB signal to the conversion chip 110 to read the data in the SSD storage device 114, and the USB switch circuit 108 is used to be turned on when the cloud computer terminal cannot be turned on; the second end of the conversion chip 110 is connected to the SSD storage device 114, and the third end of the conversion chip 110 is connected to the USB switch circuit 108.

[0032] The USB HUB device 104 in the above storage device is a device that can expand the number of USB interfaces 106 of a computer, and it allows multiple USB devices to be connected through one USB interface 106. The USB HUB device 104 contains one or more USB ports (i.e., the first end, the second end, and the third end) inside, and a user can connect multiple USB devices (such as a mouse, a keyboard, a USB flash drive, a printer, etc.) to these ports, and the USB HUB device 104 itself is connected to the USB interface 106 of the computer through a USB cable. The working principle of the USB HUB device 104 is to divide one USB interface 106 into multiple ones, and forward and manage signals through the circuit inside the hub. It can handle operations such as connection, disconnection, data transmission, and power distribution of USB devices, and supports the hot-swappable feature of USB, that is, the device can be connected or disconnected at any time without shutting down the computer.

[0033] The following is a specific embodiment:

[0034] The USB HUB device 104 in this application supports multiple transmission speeds, including but not limited to low-speed 480Mbps, USB2.0; 5Gbps, USB3.0; 10Gbps, USB3.2 GEN 2, etc. When a high-speed device is connected, it will negotiate with the HUB through a specific signal to determine whether to use the high-speed mode for data transmission. The USB HUB device 104 is responsible for integrating various transmission signals of downstream devices and performing data transmission and management according to the provisions of the USB protocol. It will broadcast the data packets received from the upstream device (such as a computer) to all connected devices, and route the data packets received from the downstream device to the upstream device and the host.

[0035] Traditional USB HUB uses a simple broadcast mechanism to distribute upstream data to all downstream ports indiscriminately. However, this mechanism is prone to data congestion and conflict when there are many devices and complex types, reducing overall transmission efficiency. The USB HUB device 104 in this application introduces an intelligent routing algorithm and an adaptive load balancing mechanism. After startup, the USB HUB device 104 sends an initialization signal through the downstream device port, establishes a communication link with all connected devices, and analyzes the device type, operating mode, data transmission rate, power consumption requirement and health status through deep learning technology. This information is used to build a dynamic device state map as the basis for intelligent routing decisions. When an upstream device (such as a computer) issues a data transmission request, the USB HUB device 104 will intelligently select the optimal data transmission path based on the device state map. For example, if a port is connected to a high-performance SSD storage device, and other ports are connected to a low-power keyboard or mouse, the USB HUB device 104 will give priority to using the SSD port for data transmission, while reducing the power consumption of other ports and optimizing overall resource allocation. In addition, by monitoring the data transmission rate and load conditions in real time, the USB HUB device 104 can dynamically adjust the data flow between devices, avoid excessive use of hotspot ports, and achieve load balancing, thereby improving the overall data transmission speed and stability of the system.

[0036] The USB HUB device 104 in the present application has built-in advanced data encryption module and intelligent security firewall, which builds an impenetrable protective wall for data transmission. The data encryption module adopts a dynamic key generation mechanism, and each data packet is assigned a unique key for encrypting and decrypting data when passing through the USB HUB device 104. This mechanism ensures that even if the data packet is intercepted during transmission, it is difficult for the attacker to crack the true content of the data, which greatly improves the security of data transmission. For example, the dynamic key generation mechanism can be implemented in the following ways:

[0037] A key generation algorithm based on timestamp and random number is integrated inside the data encryption module of USB HUB device 104. Each time a data packet passes through USB HUB device 104, USB HUB device 104 will calculate a dynamic key based on the current timestamp and the unique random number generated by the random number generator. This process ensures the uniqueness of the key, and each data packet can be assigned to an independent and unpredictable key even at a high data transmission rate. In order to ensure that the dynamic key can be safely distributed between USB HUB device 104 and external devices, a key distribution mechanism combining pre-shared key (PSK) and public key infrastructure (PKI) is adopted. When USB HUB device 104 and external devices establish a connection for the first time, public key information is exchanged through a secure channel. After that, each time a dynamic key is generated, the key will be encrypted using the pre-shared key and then transmitted to the external device through the established encryption channel, thereby ensuring the security of the key transmission process. The life cycle of the dynamic key is strictly controlled. Once the data packet is transmitted to the receiving end and decryption is completed, the key will be destroyed immediately to prevent the key from being maliciously stored or reused. In addition, the validity period of the key is set, and expired keys will be automatically cleared to ensure the security of the system.

[0038] The USB HUB device 104 integrates an intelligent security firewall that can analyze and filter data packets in real time and identify potential abnormal data packets. The security firewall is based on a deep learning model and can learn and identify various attack patterns from historical data, such as buffer overflows. Once an abnormal data packet is detected, the firewall will immediately block its passage and send an alarm to the host to prevent potential security threats from affecting system stability and data security. This security mechanism not only protects the upstream host from the invasion of abnormal software, but also provides a layer of protection for downstream devices, ensuring that the entire USB HUB device 104 and its connected devices are in a safe environment.

[0039] For example, the intelligent security firewall integrated in the USB HUB device 104 analyzes and filters data packets in real time based on the deep learning model to identify potential abnormal data packets in the following manner:

[0040] Deep learning model training: Collect a large number of known abnormal and normal data packet samples, including different types of abnormal software, viruses, buffer overflow attacks, etc. Extract features from the data packets, including but not limited to the size of the data packet, specific strings in the data packet, the frequency pattern of the data packet, and the source and destination IP addresses. Use these features to build a deep learning model, such as a deep neural network (DNN) or a convolutional neural network (CNN). The model is trained on historical data and learns to distinguish between abnormal and normal data packets. The training process can be done online, with the model continuously updated through a cloud service, or offline before the device is put into use for the first time.

[0041] The USB HUB device 104 is integrated with a data packet capture module, which can capture the data packets passing through in real time and forward them to the intelligent security firewall for analysis. The intelligent security firewall uses deep packet analysis technology (Deep Packet Inspection, DPI) to check the content of the data packet, including its header and payload. This process can identify potential threats including abnormal software, viruses, etc. For each captured data packet, the intelligent security firewall uses a trained deep learning model to predict whether the data packet has abnormal characteristics. If the model predicts that the data packet is abnormal, the firewall will immediately prevent it from passing through the USB HUB device 104 and send an alarm to the host. In addition, the firewall can also automatically learn and adapt to new attack patterns to improve the recognition rate.

[0042] The intelligent security firewall has a built-in automatic response mechanism. Once an abnormal data packet is detected, it not only blocks the transmission of the data packet, but also triggers a security response, such as isolating the USB device or directly disconnecting the unsafe connection. The firewall sends an alarm to the user or system administrator through the notification mechanism of the host to inform the detected security threat so that further protective measures can be taken in time. The intelligent security firewall records all detected abnormal data packet information and their processing results, and generates a security report for subsequent analysis and optimization of the model. The firewall regularly obtains updates of the deep learning model from the cloud to adapt to the ever-changing security threat environment. The update process must ensure the security of data transmission to prevent attacks during model updates. The intelligent security firewall supports dynamic resource adjustment and automatically optimizes the operating parameters of the model according to the current data traffic and system load, such as reducing the model complexity to increase the processing speed or increasing the model depth to improve the recognition accuracy. The intelligent security firewall is designed as a core component of the USB HUB device 104, seamlessly integrated into the hardware architecture of the USB HUB device 104, ensuring that the data packet can be immediately analyzed and filtered when passing through the USB interface 106. The intelligent security firewall supports different versions of the USB bus standard to ensure compatibility with various USB devices, while being compatible with other interfaces such as PCle to provide security for a wider range of devices.

[0043] By adopting deep learning technology, the intelligent security firewall in this application can significantly improve the security of the USB HUB device 104 and provide real-time threat detection and protection for the upstream host and downstream devices. This mechanism not only protects the system from known abnormal software, but also has the ability to identify unknown threats, thus greatly enhancing the security of the USB HUB device 104 in a complex network environment. At the same time, through continuous model learning and optimization, the intelligent security firewall can continuously adapt to new security challenges and provide users with long-term security protection.

[0044] The data encryption module and the intelligent security firewall are tightly integrated inside the USB HUB device 104, ensuring seamless coordination of data transmission and security protection. When a data packet enters the USB HUB device 104, it is firstly checked by the firewall, then encrypted by the encryption module and attached with a dynamic key, and finally securely transmitted to the external device through the USB interface 106. In order to cope with the evolving security threats, the USB HUB device 104 supports regular software firmware updates. The update process can be carried out through a secure online channel, ensuring the continuous optimization and upgrading of firewall rules and encryption algorithms, thereby maintaining the long-term security of the system.

[0045] The third end of the USB HUB device 104 is connected to the CPU 102 of the cloud computer terminal, and is used to access the SSD storage device 114 through the USB HUB device 104 and the conversion chip 110 when the cloud computer terminal is turned on. In this way, not only can data be read when the terminal fails, but SSD storage can also be efficiently used under normal working conditions, which improves the efficiency and flexibility of storage devices and is suitable for daily office and high-performance computing environments.

[0046] The first end of the USB HUB device 104 is connected to the USB interface 106 via the first bus, the second end of the USB HUB device 104 is connected to the conversion chip 110 via the second bus, and the third end of the USB HUB device 104 is connected to the CPU 102 of the cloud computer terminal via the third bus. The bus connection method can ensure the stability and high speed of signal transmission, which is suitable for cloud computing and big data processing scenarios that require frequent data exchange.

[0047] The bus types of the first bus, the second bus, and the third bus are the first type (for example, USB3.2 GEN2 bus), and the protocol standards supported by the first bus, the second bus, and the third bus are the same (for example, USB 3.2 GEN2 protocol). By using the same type of bus and protocol standard, the signal transmission process between devices is simplified, the design complexity is reduced, and the overall stability and compatibility of the system are improved, which is particularly suitable for complex network environments where multiple devices work together.

[0048] The conversion chip 110 is connected to the SSD storage device 114 via a fourth bus. The bus type of the fourth bus is the second type (for example, PCle GEN3 bus, and the supported protocol is the PCle protocol, which provides a higher data transmission rate and lower latency than the traditional parallel bus. Key features: Multi-channel design: PCle supports simultaneous transmission of multiple data channels, thereby further improving the data transmission rate; Hot plug function: supports plugging and unplugging devices without stopping the machine; Wide range of device compatibility: including graphics cards, sound cards, network cards, solid-state hard drives and other devices.

[0049] The following is a specific embodiment:

[0050] USB and PCle are two completely different interface standards, which have great differences in physical layer, electrical characteristics, protocol stack, etc. Therefore, it is technically not feasible to directly convert the USB interface 106 to the PCle interface 112 through a simple line. Some bridge chips (i.e., the above-mentioned conversion chip 110) or converters can be used to realize data exchange between the USB interface 106 and the PCle interface 112. These bridge chips or converters integrate complex circuits and logics to adapt and convert between the two interfaces.

[0051] The interface supported by the SSD storage device 114 does not include the USB interface 106, so the SSD cannot be directly connected to the CPU 102 through the USB interface 106. It is necessary to use the USB HUB device 104 to convert the USB3.2 GEN2 into two paths, one for the USB interface 106, one for the conversion chip, and finally for the SSD storage device 114 to achieve the purpose of expanding storage. The specific connection process is as follows:

[0052] First, ensure that the USB HUB device 104 supports the USB3.2 GEN2 interface so that its high-speed transmission characteristics can be fully utilized. Select a HUB device with at least two USB3.2 GEN2 interfaces to meet the need for conversion to two channels. Use the USB3.2GEN2 bus (i.e. the third bus mentioned above) to connect the upstream interface of the USB HUB device 104 to the USB3.2 GEN2 interface of the computer to ensure that the connection is stable and avoid looseness or poor contact (i.e. the third end of the USB HUB device 104 is connected to the CPU 102 of the cloud computer terminal through the third bus). The process involves the USB 3.2GEN2 protocol: USB 3.2GEN 2 is a version of the USB standard that provides a higher data transfer rate and enhanced functions, up to 10Gbps (i.e. 1.25GB / s), and is backward compatible with USB 2.0 and USB 3.0 / 3.1GEN 1 (i.e. USB 3.2GEN 1). USB 3.2GEN 2 Two channels among the four pairs of metal pins of the USB-C interface are used for data transmission: a transmit channel (TX for short), when data is transmitted from the USB interface 106 to the SSD storage device 114, the TX channel of the conversion chip 110 converts the data signal under the USB protocol into a data format suitable for the SSD storage device 114 (i.e., the PCle protocol), and then sends it to the SSD storage device 114 through the PCle interface 112. And a receive channel (RX for short), when data is read from the SSD storage device 114 and needs to be transmitted to an external device through the USB interface 106, the RX channel of the conversion chip 110 will receive the signal from the PCle interface 112, convert it into a data format under the USB protocol, and then send it to the external device through the USB HUB device 104 and the USB interface 106.

[0053] Determine which port on the USB HUB device 104 will be used to directly connect the USB interface 106 of the USB device (such as a USB flash drive, a mobile hard disk, etc.), and determine which port will be used to connect the conversion chip 110: Use the USB3.2 GEN2 bus or other compatible data lines to connect the USB device that needs to be directly connected to the designated port of the USB HUB device 104, and connect the interface of the conversion chip 110 to another designated port of the USB HUB device 104 (that is, the first end of the above-mentioned USB HUB device 104 is connected to the USB interface 106 through the first bus, and the second end of the USB HUB device 104 is connected to the conversion chip 110 through the second bus); the conversion chip 110 implements the specific implementation of the USB to PCle line:

[0054] The core of the conversion chip 110 (for example, the JMS583 conversion chip 110 is a bridge controller from USB 3.1GEN 2 to PCle GEN3x2, which supports high-speed data transmission and is compatible with a variety of storage devices. The bridge chip (conversion chip 110) usually integrates a USB controller and a PCle controller, as well as necessary conversion logic and interface circuits) to realize the USB to PCle line is the interface conversion circuit, which is responsible for converting the signal of the USB interface 106 into a signal that can be recognized by the PCle interface 112. This usually includes circuit modules such as signal amplification, filtering, and timing adjustment. The conversion circuit needs to accurately match the electrical characteristics and communication protocols of the USB interface 106 and the PCle interface 112 to ensure the integrity and stability of the signal during the conversion process. The printed circuit board (PCB) layout and wiring are performed, and the PCB (Printed Circuit Board) layout and wiring are crucial to ensure signal quality and system stability. In the PCB design of the USB to PCLE line, special attention should be paid to the length, width, spacing of the signal line, and the layout of the power and ground lines. Reasonable layout and wiring can reduce signal interference and crosstalk, and improve the reliability and efficiency of data transmission.

[0055] In the circuit where the conversion chip 110 realizes USB to PCle conversion, the USB controller is responsible for receiving the signal from the USB device and converting it into a digital signal. Then, the conversion logic in the conversion chip 110 converts the digital signal into a signal format that can be recognized by the PCle interface 112. The converted signal is transmitted to the PCle slot on the SSD through the PCle interface 112, and finally communicates and transmits data with other components inside the computer, and stores the data in the SSD.

[0056] The conversion chip 110 in the above steps plays a key role in signal conversion between the USB interface 106 and the PCle interface 112. It is an important bridge connecting the SSD storage device 114 and the external USB device or the cloud computer terminal CPU 102. The USB interface 106 and the PCle interface 112 use different communication protocols. USB is a universal serial bus standard that is widely used for peripheral device connections; while PCle is a high-speed serial computer expansion bus standard that is mainly used for high-speed data transmission of internal components. The conversion chip 110 needs to convert the communication protocol of one interface into a protocol that can be understood by another interface to ensure that data can be correctly and efficiently transmitted between different interfaces. USB and PCle also have differences in electrical characteristics, such as voltage, current and signal integrity. The conversion chip 110 will adjust and translate the signal to ensure that the signal will not be distorted or attenuated during the conversion process, and maintain the quality and stability of data transmission.

[0057] The conversion chip 110 is connected between the SSD storage device 114 and the USB HUB device 104. Its function is to convert the signal of the USB interface 106 into a PCle signal that the SSD storage device 114 can understand, and vice versa. When the cloud computer terminal cannot be turned on or the motherboard is damaged, the conversion chip 110 allows the data in the SSD storage device 114 to still be read through the USB interface 106 connected to the external device and the turned-on USB switch circuit 108. When the cloud computer terminal is operating normally, the conversion chip 110 communicates with the CPU 102 of the cloud computer through the USB HUB device 104 to implement the read and write operations of the SSD storage device 114. When the cloud computer terminal cannot be turned on, the conversion chip 110 receives read instructions from the USB HUB device 104, which are derived from an external device (such as another computer or a USB card reader), and then converts the signal into the PCle protocol. The SSD storage device 114 reads the data according to the converted instructions and returns it to the external device through the USB interface 106. In this way, even if the cloud computer terminal is abnormal, the data of the SSD storage device 114 can still be accessed, which solves the problem that the traditional cloud computer cannot read the storage space content when it is turned off or the motherboard is damaged, and improves the reliability and accessibility of the data.

[0058] When using the conversion chip 110 to implement the USB to PCle line, the corresponding driver needs to be installed. The driver is responsible for realizing the communication and data transmission between the USB device and the PCle interface 112 at the operating system level. The driver is usually provided by the manufacturer of the bridge chip and provided with the converter or can be downloaded from the manufacturer's official website. The operating system needs to support the USB interface 106 and the PCle interface 112 so that the USB device connected through the converter can be recognized and used. Modern operating systems (such as Windows, macOS, Linux, etc.) usually have built-in support for these two interfaces. After performing the above steps, you can also test whether the USB device can work properly. You can verify by trying to transfer data, using device functions, etc. For example: connect the PCle interface 112 to the SSD through the PCle bus, and ensure that it is firmly inserted, turn on the computer, check whether the system has correctly identified and installed the USB HUB device 104 and the conversion chip 110, connect the corresponding device to the USB HUB device 104 and the conversion chip 110, and perform a data transmission test to verify its working status and performance.

[0059] When the cloud computer terminal cannot be turned on, the conversion chip 110 receives the read instruction transmitted by the external device through the USB interface 106 and the USB switch line 108 (for example, the USB interface 106 and the USB switch line 108 are connected through the USB3.2 GEN2 bus), and sends the read instruction to the SSD storage device 114. This function ensures that the accessibility of data is not affected in the case of terminal hardware failure or software crash, providing additional protection for data security, and is suitable for industries such as finance and medical care that have extremely high data security requirements.

[0060] The following is a specific embodiment:

[0061] When the cloud computer terminal cannot be turned on, first, the user needs to prepare a normally bootable external device, such as another computer or mobile device, which is equipped with a USB interface 106 and can be physically connected to the USB interface 106 on the cloud computer terminal. When the external device establishes a connection with the USB interface 106 of the cloud computer terminal through a USB cable, it triggers the USB switch circuit 108 inside the cloud computer terminal. The USB switch circuit 108 is a set of special circuits, which is controlled by the motherboard of the cloud computer terminal under normal circumstances, but when the terminal cannot be started, it can be activated by an external device, thereby bypassing the control of the motherboard and communicating directly with the conversion chip 110 (for example, connecting the conversion chip 110 and the USB switch circuit 108 through the USB3.2GEN2 bus).

[0062] The conversion chip 110 is designed to be highly flexible and intelligent, and can perform protocol conversion and signal management in real time according to the communication requirements between the external device and the SSD storage device 114. When the cloud computer terminal cannot be turned on, the conversion chip 110 will detect the external device connection signal through the USB interface 106. At this time, it will automatically start the PCle interface and prepare to receive and process data requests. One of the core functions of the conversion chip 110 is protocol conversion, which can convert the data packet under the USB interface 106 into a signal format that complies with the PCle GEN3 bus standard. During the signal conversion process, the conversion chip 110 will use its internal TX channel to encode, modulate and serialize the data to ensure that the data can be transmitted at high speed through the PCle GEN3 bus. At the same time, the RX channel is responsible for decoding, demodulating and recovering the signal on the PCle GEN3 bus, converting it into a data format that the USB interface 106 can understand, so as to communicate with external devices. In the process of converting data from the USB interface 106 to the PCle GEN3 bus, the TX channel of the conversion chip 110 will enhance the data signal to meet the strict requirements of the high-speed transmission of the PCle bus on signal strength and shape. At the same time, the RX channel will perform signal recovery and correction when receiving the signal to ensure that the data can still be accurately parsed and processed even in the case of signal attenuation or slight interference.

[0063] The PCle GEN3 bus is a high-speed serial bus technology, which is mainly used for high-speed data transmission between internal components. When the conversion chip 110 activates the PCle interface (PCle GEN3 bus), it will establish a direct communication connection with the SSD storage device 114 as the fourth bus (PCle GEN3 bus). The high-speed characteristics of the fourth bus enable the data transmission rate to reach multiple gigabits per second, which is much higher than the traditional USB 2.0 or USB 3.0 data transmission speed, greatly improving the efficiency of data reading and writing. During the data transmission process, the PCle GEN3 bus uses its high bandwidth and low latency characteristics to efficiently transmit data. The conversion chip 110 acts as a bridge between the PCle interface and the USB interface 106. On the one hand, it converts the read request of the external device into a data packet under the PCle protocol and sends it to the SSD storage device 114; on the other hand, when the SSD storage device 114 responds to the read request and returns data, the conversion chip 110 converts the PCle data packet into a data packet under the USB protocol and transmits it to the external device through the USB interface 106.

[0064] After receiving the PCle data packet sent by the conversion chip 110, the SSD storage device 114 will access the storage unit according to the read instruction in the data packet and read the specified data. The controller inside the SSD is responsible for managing the transmission of data between the storage unit and the PCle GEN3 bus. When reading data, the controller will optimize the process and speed of data transmission according to the characteristics of the PCle bus to ensure that the data can be transmitted to the conversion chip 110 at the fastest rate. After the data is transmitted to the conversion chip 110, the RX channel of the conversion chip 110 will decode and recover the data packet, convert it into a data packet under the USB protocol, and then transmit the data to the external device through the USB switch line 108 and the USB interface 106. The operating system on the external device will recognize the data transmission on the USB interface 106 and parse it into a readable file or data stream for user access and use.

[0065] Through the above steps, even if the cloud computer terminal cannot be started, the user can easily access and read the data stored on the SSD storage device 114, which solves the problem that the traditional cloud computer cannot read the content of the storage space when it is turned off or the motherboard is damaged. As a core component, the conversion chip 110 can not only efficiently perform protocol conversion, but also has signal enhancement and integrity protection functions to ensure data quality and stability during high-speed data transmission. The high-speed characteristics of the PCleGEN3 bus provide sufficient bandwidth for data transmission, so that data reading can be performed at a speed close to the maximum performance of the SSD storage device 114. This solution not only improves the accessibility of data, but also provides users of cloud computer terminals with a more flexible and reliable data management method.

[0066] In some embodiments of the present application, a flowchart of a method for reading a storage device is also provided. Figure 2 As shown, including:

[0067] Step S202, when the cloud computer terminal cannot be turned on, the conversion chip receives a read instruction transmitted by an external device through a USB interface and a USB switch circuit, wherein the USB switch circuit is turned on when the cloud computer terminal cannot be turned on.

[0068] In the technical solution provided in step S202, when the cloud computer terminal cannot be turned on, first, the user needs to prepare an external device that can be started normally, such as another computer or mobile device, which is equipped with a USB interface and can be physically connected to the USB interface on the cloud computer terminal; then communicate with the conversion chip through the USB switch line (for example, connect the conversion chip and the USB switch line through the USB3.2 GEN2 bus), obtain a read instruction, and the conversion chip can connect to the SSD storage device to access the data switch line in the SSD storage device. The USB switch line is a special set of circuits, which is controlled by the motherboard of the cloud computer terminal under normal circumstances, but when the terminal cannot be started, it can be activated by an external device, thereby bypassing the control of the motherboard and communicating directly with the conversion chip. The specific implementation method has been described in detail in the embodiment of the above steps, and will not be repeated here.

[0069] Step S204, sending a read instruction to the SSD storage device to access data in the SSD storage device, wherein the USB interface is connected to a first end of the USB HUB device, and a second end of the USB HUB device is connected to a conversion chip, and the conversion chip is used to convert signals between the USB interface and the PCle interface. The specific implementation method has been described in detail in the embodiment of the above steps, and will not be repeated here.

[0070] Through the above steps, a new, scalable, and readable storage solution is provided for cloud computer terminals, so that even in the event of a cloud computer terminal failure, users can access important data stored in the SSD through external devices, effectively avoiding the risk of data loss. It is particularly suitable for enterprise-level data backup and emergency data recovery scenarios.

[0071] In some embodiments of the present application, a cloud computer motherboard block diagram is also provided, such as Figure 3 As shown, a related technology cloud computer motherboard architecture is shown, including a low-power CPU, a USB interface, and an EMMC storage device. The HS400 bus (referring to a high-speed data transmission bus used in embedded systems or applications) and the USB3.2 GEN2 bus require the CPU to interact, so it is impossible to read the contents of the storage device in the shutdown state. Although EMMC storage devices and the HS400 bus may perform well in some applications (such as smartphones, tablets, and low-end embedded devices), their limitations become significant in scenarios that pursue high performance and high data transfer rates, such as high-performance computing, data center storage, cloud computers, or high-end mobile devices. Therefore, for applications with higher requirements, using SSDs and more advanced bus technologies (such as the PCle bus) is a better choice.

[0072] In some embodiments of the present application, a cloud computer motherboard block diagram (overall framework) is also provided, such as Figure 4 As shown, the overall framework of the cloud computer motherboard block diagram corresponding to the embodiment of the present application is Figure 3 The optimization of the cloud computer motherboard in the application shows in detail the connection architecture between the USB Hub device (or USB HUB line), USB to PCLE line (or USB to Pcle Gen3 line, realized by the above-mentioned conversion chip), USB switch line and SSD storage device involved in this application. The USB HUB line is connected to the USB interface through the USB3.2 GEN2 bus, the USB HUB line is connected to the USB to Pcle Gen3 line through the USB3.2 GEN2 bus, the USB to Pcle Gen3 line is connected to the SSD storage device through the Pcle GEN3 bus, the USB interface is connected to the USB switch line through the USB3.2GEN2 bus, and the USB switch line is connected to the USB to Pcle Gen3 line through the USB3.2 GEN2 bus. Among them, the USB Hub device is connected to the USB interface of an external device (such as another computer), and communicates with the conversion chip through the USB switch line in the shutdown state. The conversion chip is respectively connected to the USB Hub device and the SSD storage device through the bus to realize the conversion of data signals between USB and PCle protocols. It clearly illustrates how the various components work together to solve the problem that the cloud computer cannot access the SSD storage device when it is shut down or the motherboard is damaged. The specific implementation process has been described in detail in the above embodiments and will not be repeated here.

[0073] In some embodiments of the present application, a cloud computer motherboard block diagram (power-on state) is also provided, such as Figure 5 As shown, Figure 5 The mainboard block diagram of the cloud computer in the power-on state in the overall framework shows the connection architecture between the USB Hub device (or USBHUB line), the USB to PCle line (or USB to PCle Gen3 line, implemented by the above conversion chip), the USB switch line and the SSD storage device. The specific implementation process has been described in detail in the above embodiments and will not be repeated here.

[0074] Figure 6It is a block diagram of a cloud computer motherboard (shutdown state) provided according to an embodiment of the present application, which describes in detail the steps of how to read data through external devices, USB Hub devices, conversion chips and SSD storage devices when the cloud computer terminal cannot be turned on. Specifically: another device that can be turned on normally is connected to the USB interface, the USB switch line is turned on (the USB interface and the USB switch line are connected through the USB3.2 GEN2 bus), and the USB switch line is connected to the USB to PCle GEN3 bus (implemented by the above-mentioned conversion chip) through the USB3.2GEN2 bus. The USB to PCle GEN3 line connection is then connected to the PCleGEN3 bus (that is, the above-mentioned fourth bus), thereby connecting to the SSD storage device, and the external device is connected to the SSD storage device through the above-mentioned connection channel, so as to read the content stored in the SSD storage device in the shut down device. The specific implementation process has been described in detail in the above embodiments and will not be repeated here.

[0075] An embodiment of the present application also provides an electronic device, which includes a memory and a processor, wherein the memory is used to store program instructions; the processor is connected to the memory, and is used to execute program instructions to implement the following functions: when the cloud computer terminal cannot be turned on, the conversion chip receives a read instruction transmitted by an external device through a USB interface and a USB switch line, wherein the USB switch line is turned on when the cloud computer terminal cannot be turned on; the read instruction is sent to an SSD storage device to access data in the SSD storage device, wherein the USB interface is connected to a first end of a USB HUB device, and a second end of the USB HUB device is connected to the conversion chip, and the conversion chip is used to convert signals between the USB interface and the PCle interface.

[0076] An embodiment of the present application also provides a non-volatile storage medium, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the following storage device reading method by running the computer program: when the cloud computer terminal cannot be turned on, the conversion chip receives a read instruction transmitted by an external device through a USB interface and a USB switch circuit, wherein the USB switch circuit is turned on when the cloud computer terminal cannot be turned on; the read instruction is sent to an SSD storage device to access data in the SSD storage device, wherein the USB interface is connected to a first end of a USB HUB device, and a second end of the USB HUB device is connected to the conversion chip, and the conversion chip is used to convert signals between the USB interface and the PCle interface.

[0077] An embodiment of the present application also provides a computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the storage device reading method in each embodiment of the present application.

[0078] An embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the storage device reading method in each embodiment of the present application.

[0079] The embodiments of the present application also provide a computer program, which, when executed by a processor, implements the steps of the storage device reading method in each embodiment of the present application.

[0080] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0081] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0082] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0083] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0084] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0085] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0086] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A storage device, characterized in that: include: SSD storage device, USB HUB device, USB switch circuit and conversion chip, among which, The first end of the USB HUB device is connected to the USB interface, and the second end of the USB HUB device is connected to the first end of the conversion chip, wherein the conversion chip is used to convert signals between the USB interface and the PCle interface, and the USB HUB device is used to transmit the USB signal to the conversion chip to read the data in the SSD storage device, and the USB switch circuit is used to open when the cloud computer terminal cannot be turned on; The second end of the conversion chip is connected to the SSD storage device, and the third end of the conversion chip is connected to the USB switch circuit.

2. The storage device according to claim 1, characterized in that The third end of the USB HUB device is connected to the CPU of the cloud computer terminal, and is used to access the SSD storage device through the USB HUB device and the conversion chip when the cloud computer terminal is turned on.

3. The storage device according to claim 2, characterized in that: The first end of the USB HUB device is connected to the USB interface via a first bus, the second end of the USB HUB device is connected to the conversion chip via a second bus, and the third end of the USB HUB device is connected to the CPU of the cloud computer terminal via a third bus.

4. The storage device according to claim 3, characterized in that: The bus types of the first bus, the second bus and the third bus are the first type, and the protocol standards supported by the first bus, the second bus and the third bus are the same.

5. The storage device according to claim 1, characterized in that: The conversion chip is connected to the SSD storage device via a fourth bus.

6. The storage device according to claim 5, characterized in that: The bus type of the fourth bus is the second type.

7. The storage device according to claim 1, characterized in that: When the cloud computer terminal cannot be turned on, the conversion chip receives a read instruction transmitted by an external device through the USB interface and the USB switch line, and sends the read instruction to the SSD storage device.

8. A method for reading a storage device, characterized in that: include: When the cloud computer terminal cannot be turned on, the conversion chip receives a read instruction transmitted by an external device through a USB interface and a USB switch circuit, wherein the USB switch circuit is turned on when the cloud computer terminal cannot be turned on; The read instruction is sent to the SSD storage device to access the data in the SSD storage device, wherein the USB interface is connected to a first end of a USB HUB device, a second end of the USB HUB device is connected to the conversion chip, and the conversion chip is used to perform signal conversion between the USB interface and the PCle interface.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the storage device reading method described in claim 8 by running the computer program.

10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the storage device reading method described in claim 8 is implemented.