Storage device, communication data switching method of storage device and analog switch

By introducing analog switches and voltage control modules into the storage device, the signal line group will be automatically switched, which will solve the inconvenience and antenna interference problems when connecting the USB flash drive to the smartphone, and realize convenient data exchange and high-quality USB2.0 signal transmission.

CN119917437APending Publication Date: 2025-05-02SHENZHEN SHICHUANGYI ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411994603.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

When connecting existing USB drives to smartphones, since smartphones usually only have Type-C USB sockets, data exchange needs to be exchanged through mobile phone adapter cables, which leads to inconvenience. At the same time, multi-interface USB drives are prone to antenna interference when connected, reducing USB2.0 transmission signals.

Method used

Design a storage device, including a main control module, voltage control module, analog switch and multiple different types of interfaces. The analog switches automatically switch signal line groups to ensure that only the required interfaces are used for signal transmission and avoid antenna interference.

Benefits of technology

It realizes convenient data exchange between USB drives and smartphones, avoids antenna interference problems, and improves the transmission quality and stability of USB 2.0 signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917437A_ABST
    Figure CN119917437A_ABST
Patent Text Reader

Abstract

The invention discloses a storage device, a communication data switching method of the storage device and an analog switch, the storage device comprises a voltage control module, the analog switch, a first interface and a second interface, the analog switch comprises a voltage control pin, a first group of signal line connection pins and a second group of signal line connection pins, the voltage control module is connected with the voltage control pin, the first group of signal line pins is connected with the first interface through the first signal connection line group, and the second group of signal line pins is connected with the second interface through the second signal connection line group; and the switch chip controls the first group of signal line connection pins or the second group of signal line connection pins to output signals to the corresponding first interface or the second interface according to the voltage change of the voltage control pins, so that the first interface or the second interface realizes signal transmission with corresponding connection equipment. The novel storage device is designed, analog switch signal lines are divided into two groups, automatic switching is achieved, and signal antenna interference cannot be generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of storage chips, and in particular to a storage device, a communication data switching method for a storage device, and an analog switch. Background Art

[0002] U disk is a commonly used electronic storage device, also known as mobile storage device. The existing U disk mainly includes a U disk body and a U disk plug. When in use, the U disk plug is inserted into the U disk socket on the computer host to connect with the computer host to realize the exchange of electronic data. However, with the popularity of smart phones, there are many occasions where the U disk needs to be connected to the smart phone to realize the exchange of electronic data between the smart phone and the U disk. However, the existing smart phones are usually only equipped with Type-C USB sockets. Therefore, when exchanging data with the U disk, it can only be done through a mobile phone adapter cable, which is very inconvenient.

[0003] In order to be compatible with more mobile phone and computer interfaces, two or more interfaces are usually designed on a USB flash drive, so that it can be inserted into both a computer and a smartphone for data exchange. However, most of the USB flash drive master controllers and USB bridge chips on the market currently have only one set of USB2.0 signal lines D+ / D-. Connecting to two or more interfaces of the mobile storage device at the same time will cause antenna interference, reduce the USB2.0 transmission signal, and cause the USB flash drive to malfunction. Summary of the invention

[0004] The purpose of the present application is to provide a storage device, a communication data switching method for the storage device, and an analog switch to avoid antenna interference when a storage device with multiple interfaces is working.

[0005] The present application discloses a storage device, which includes a main control module, a voltage control module, an analog switch, a first interface and a second interface. The main control module is connected to the analog switch, and the analog switch includes a voltage control pin, a first group of signal line connection pins and a second group of signal line connection pins. The voltage control module is connected to the voltage control pin, and the first group of signal line pins is connected to the first interface of the storage device through a first signal connection line group, and the second group of signal line pins is connected to the second interface of the storage device through a second signal connection line group; wherein the first interface and the second interface belong to different interface types, the voltage control module outputs different voltages to the voltage control pin, and the switch chip controls the first group of signal line connection pins or the second group of signal line connection pins to output signals to the corresponding first interface or second interface according to the voltage change of the voltage control pin, so that the first interface or the second interface realizes signal transmission with the corresponding connection device.

[0006] Optionally, the analog switch includes a switch chip, the voltage control module includes a load switch chip and a pull-down unit, one end of the pull-down unit is connected to the voltage control pin of the analog switch, and the other end is connected to the input end of the load switch chip, and the output end of the load switch chip is connected to the working voltage pin of the switch chip of the analog switch; wherein the load switch chip receives the power supply voltage, and divides the power supply voltage and outputs it to the working voltage pin and the pull-down unit of the switch chip of the analog switch respectively.

[0007] Optionally, the load switch chip divides the power supply voltage into a first power supply voltage and a second power supply voltage, the first power supply voltage is output to the working voltage pin of the analog switch, the pull-down unit includes a first resistor and a second resistor, one end of the first resistor receives the second power supply voltage through the second resistor, and the other end is grounded, and the voltage control pin of the analog switch is connected between the first resistor and the second resistor.

[0008] Optionally, the storage device includes a power supply voltage control module, the power supply voltage control module includes a power management chip, and the power management chip adjusts the external input voltage to a preset power supply voltage and outputs it to the voltage control module and the switch chip respectively.

[0009] Optionally, the first interface is any one of a USB Type-A interface, a USB Type-C interface, or a lightning interface, and the second interface is any one of a USB Type-A interface, a USB Type-C interface, or a lightning interface; wherein, when the first interface is a USB Type-A interface, the second interface is any one of a USB Type-C interface or a lightning interface.

[0010] Optionally, the power supply voltage control module also includes a filtering circuit and a voltage divider circuit, the filtering circuit includes an inductor and a capacitor, one end of the inductor is connected to the power management chip and the other end is connected to the output end of the power supply voltage control module, one end of the capacitor is grounded and the other end is connected between the inductor and the output end of the power supply voltage control module; the voltage divider circuit includes a voltage divider resistor, one end of the voltage divider resistor is grounded, and the other end is connected between the inductor and the capacitor.

[0011] The present application also discloses a communication data switching method for a storage device, which is used for any of the above storage devices, and the communication data switching method comprises the following steps:

[0012] Detect the interface currently connected to the external device;

[0013] According to the connected interface, the potential of the voltage control pin of the analog switch is pulled up or down to control the signal transmission between the connected interface and the external device, and at the same time, the signal transmission of another interface is turned off.

[0014] Optionally, the step of pulling up or down the potential of the voltage control pin of the analog switch according to the connected interface to control the signal transmission between the connected interface and the external device and shutting down the signal transmission of another interface includes:

[0015] When the connected interface is the first interface, the potential of the voltage control pin is pulled down, and the analog switch controls the first group of signal line connection pins to output signals to the first interface of the storage device through the first signal connection line group, so as to realize signal transmission between the first interface and the external device, and at the same time close the second group of signal line pins;

[0016] When the connected interface is the second interface, the potential of the voltage control pin is pulled up, and the analog switch controls the second group of signal line connection pins to output signals through the second signal connection line group to the second interface of the storage device to realize signal transmission between the first interface and the external device, while closing the first group of signal line pins.

[0017] Optionally, after the step of detecting the interface currently connected to the external device, the following steps are further included:

[0018] Adjust the external input voltage to the preset power supply voltage;

[0019] The preset power supply voltage is divided into a first power supply voltage and a second power supply voltage, which are output to an analog switch and a voltage control module respectively.

[0020] The present application also discloses an analog switch for controlling signal switching of a storage device, wherein the storage device comprises a first interface and a second interface, and the analog switch comprises a switch chip, wherein a voltage control pin, a first group of signal line connection pins and a second group of signal line connection pins are provided on the switch chip, wherein the first group of signal line pins are connected to the first interface of the storage device through a signal connection line, and the second group of signal line pins are connected to the second interface of the storage device through a signal connection line;

[0021] Among them, the first interface and the second interface belong to different interface types, and the switch chip controls the first group of signal line connection pins or the second group of signal line connection pins to output signals to the corresponding first interface or second interface according to the voltage change of the voltage control pin, so that the first interface or the second interface realizes signal transmission with the corresponding connection device.

[0022] Compared with a storage device in which only one set of signal lines is set for two interfaces, the present application sets up a new storage device, which includes a voltage control module and an analog switch, and at least two interfaces of different types. The analog switch of the storage device sets two sets of signal lines. The analog switch controls the first set of signal line connection pins or the second set of signal line connection pins to output signals to the corresponding first interface or second interface according to the voltage change of the voltage control pin, so that the first interface or the second interface realizes signal transmission with the corresponding connection device. The analog switch is used to switch USB2.0 signals. When working, it can automatically connect the required connector and disconnect the D+ / D- signals to other connectors. The two interfaces use different signal lines for signal transmission to avoid antenna interference. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The included drawings are used to provide a further understanding of the embodiments of the present application, which constitute a part of the specification, are used to illustrate the implementation methods of the present application, and together with the text description, explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0024] Figure 1 is a structural schematic diagram of a storage device according to the first embodiment of the present application;

[0025] Figure 2 is a schematic diagram of a circuit structure of a storage device according to a second embodiment of the present application;

[0026] Figure 3 is a circuit diagram of a power supply voltage control module of a storage device according to a third embodiment of the present application;

[0027] Figure 4 It is a schematic flow chart of a communication data switching method of a storage device according to the fourth embodiment of the present application;

[0028] Figure 5 It is a schematic diagram of the circuit structure of an analog switch of the fifth embodiment of the present application.

[0029] Among them, 100, storage device; 110, first interface; 120, second interface; 130, voltage control module; 131, load switch chip; 132, pull-down unit; 133, first resistor; 134, second resistor; 140, analog switch; 141, voltage control pin; 142, first group of signal line connection pins; 143, second group of signal line connection pins; 144, working voltage pin; 145, switch chip; 150, main control module; 160, power supply voltage control module; 170, power management chip; 180, filter circuit; 190, voltage divider circuit; 210, first signal connection line group; 220, second signal connection line group. DETAILED DESCRIPTION

[0030] It should be understood that the terms used herein, the specific structures and functional details disclosed are only for describing specific embodiments and are representative, but the present application can be implemented in many alternative forms and should not be construed as being limited to only the embodiments described herein.

[0031] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating relative importance or implicitly indicating the number of technical features indicated. Therefore, unless otherwise specified, features defined as "first" and "second" may explicitly or implicitly include one or more of the features; "plurality" means two or more. The term "including" and any variation thereof means non-exclusive inclusion, and one or more other features, integers, steps, operations, units, components and / or combinations thereof may exist or be added.

[0032] In addition, terms indicating orientation or positional relationships, such as “center,” “lateral,” “up,” “down,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inside,” and “outside,” are described based on the orientation or relative positional relationships shown in the accompanying drawings and are merely simplified descriptions for the convenience of describing the present application. They do not indicate that the devices or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limitations on the present application.

[0033] In addition, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be internally connected between two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0034] The present application is described in detail below with reference to the accompanying drawings and optional embodiments.

[0035] like Figure 1 As shown, as an embodiment of the present application, a storage device 100 is disclosed, wherein the storage device 100 includes a main control module 150, a voltage control module 130, an analog switch 140, a first interface 110 and a second interface 120, wherein the main control module 150 is connected to the analog switch 140, and the analog switch 140 includes a voltage control pin 141, a first group of signal line connection pins 142 and a second group of signal line connection pins 143, the voltage control module 130 is connected to the voltage control pin 141, the first group of signal line pins is connected to the first interface 110 of the storage device 100 via a first signal connection line group 210, and the second group of signal line pins is connected to the second interface 120 of the storage device 100 via a second signal connection line group 220.

[0036] Among them, the first interface 110 and the second interface 120 belong to different interface types, the first interface 110 is any one of a USB Type-A interface, a USB Type-C interface, or a lightning interface, and the second interface 120 is any one of a USB Type-A interface, a USB Type-C interface, or a lightning interface; wherein, when the first interface 110 is a USB Type-A interface, the second interface 120 is any one of a USB Type-C interface or a lightning interface; the voltage control module 130 outputs different voltages to the voltage control pin 141, and the analog switch 140 controls the first group of signal line connection pins 142 or the second group of signal line connection pins 143 to output signals to the corresponding first interface 110 or second interface 120 according to the voltage change of the voltage control pin 141, so that the first interface 110 or the second interface 120 realizes signal transmission with the corresponding connection device.

[0037] In this embodiment, the main improvement is that the USB2.0 signal line is divided into two groups and automatic switching is realized. The storage device 100 is mainly a mobile storage device 100, such as a USB flash drive. The mobile storage device 100 is composed of a voltage control module 130, an analog switch 140 and two different interface types (a first interface 110 and a second interface 120). The analog switch 140 includes a pin for receiving voltage control, a group of signal line connection pins connected to the first interface 110 and another group of signal line connection pins connected to the second interface 120; the voltage control module 130 is directly connected to the voltage control pin 141 on the analog switch 140, and by changing The voltage on this pin controls which group of signal lines can transmit data from the internal to the external device; specifically, when a specific value is applied to the voltage control pin 141, the signal output by the receiving main control module 150 can selectively activate the first group or the second group of signal lines, so that the corresponding first interface 110 or second interface 120 becomes the currently active data exchange channel, and the analog switch 140 is used to switch the USB2.0 signal. When working, it can automatically connect the required connector and disconnect the signals to other connectors, thereby avoiding antenna interference caused by two or more interfaces connected to the mobile storage device 100 at the same time when the product is mistakenly used as an adapter.

[0038] like Figure 2 As shown, as the second embodiment of the present application, it is a further refinement of the above-mentioned first embodiment. By integrating the load switch chip 131 and the pull-down unit 132, accurate control and flexible adjustment of the working voltage of the analog switch 140 are achieved, thereby improving the performance, stability and energy efficiency of the system, and simplifying the circuit design; specifically, the voltage control module 130 includes the load switch chip 131 and the pull-down unit 132, the analog switch 140 includes a switch chip 145, one end of the pull-down unit 132 is connected to the voltage control pin 141 of the analog switch 140, and the other end is connected to the input end of the load switch chip 131, and the output end of the load switch chip 131 is connected to the working voltage pin 144 of the analog switch 140; wherein, the load switch chip 131 receives the power supply voltage, and divides the power supply voltage and outputs it to the working voltage pin 144 and the pull-down unit 132 of the analog switch 140 respectively; wherein, Figure 2 D17 is a switch chip, pin 10 of D17 is a voltage control pin that receives the SEL signal, HSD1- and HSD1+ are the first group of signal line pins, HSD2- and HSD2+ are the second group of signal line pins, and the other pins are as shown in the figure. Since no changes have been made, they will not be repeated here.

[0039] In this embodiment, by using the load switch chip 131 to divide the power supply voltage, the voltage supplied to the analog switch 140 can be more accurately controlled, thereby optimizing the power management of the entire system; this division ensures that the analog switch 140 can obtain appropriate operating voltages in different operating modes, which helps to improve the stability and efficiency of the system; the introduction of the pull-down unit 132 provides an additional control means for the analog switch 140; for example, by adjusting the resistance value or configuration of the pull-down unit 132, the potential of the voltage control pin 141 of the analog switch 140 can be affected, and then the state of the analog switch 140 can be controlled, thereby increasing the adjustability and adaptability of the power supply system, allowing designers to flexibly adjust the circuit behavior according to specific application requirements; by accurately controlling the voltage supplied to the analog switch 140, unnecessary high voltage supply can be avoided, thereby reducing the power consumption of the entire system. This is a significant advantage for battery-powered mobile devices because it can extend the use time of the device.

[0040] Further, the load switch chip 131 divides the power supply voltage into a first power supply voltage VUSB_A and a second power supply voltage VBUS, the load switch chip is UP8, the first power supply voltage is output to the working voltage pin 144 of the analog switch 140, that is, pin 9 of D7, the pull-down unit 132 includes a first resistor 133 and a second resistor 134, Figure 2 R246 is the first resistor. Figure 2 R247 is the second resistor; one end of the first resistor 133 receives the second power supply voltage through the second resistor 134, and the other end is grounded, and the voltage control pin 141 of the analog switch 140 is connected between the first resistor 133 and the second resistor 134; the power supply voltage is divided into two different voltages by using the load switch chip 131, and a precise operating voltage is provided for the analog switch 140, which helps to ensure the stability and reliability of the analog switch 140 in different working states; the design of the pull-down unit 132 allows the voltage on the voltage control pin 141 of the analog switch 140 to be adjusted by changing the values ​​of the first resistor 133 and the second resistor 134 to adapt to different application requirements; in addition, by accurately controlling the voltage supplied to the analog switch 140, unnecessary high voltage supply can be avoided, thereby reducing the power consumption of the entire system.

[0041] like Figure 3 As shown, as the third embodiment of the present application, it is a further refinement of any of the above embodiments, the storage device 100 includes a power supply voltage control module 160, the power supply voltage control module 160 includes a power management chip 170, the power management chip 170 adjusts the voltage input from the outside to a preset power supply voltage and outputs it to the voltage control module 130 and the switch chip 145 respectively, Figure 3UP5 in the chip is a power management chip that can make the storage device compatible with 12V / 20V input power.

[0042] The power supply voltage control module 160 further includes a filter circuit 180 and a voltage divider circuit 190. The filter circuit 180 includes an inductor and a capacitor. Figure 3 L7 in the figure is an inductor, C821 and BC55 in the figure are capacitors of the filter circuit. Since other components are not key protection structures of this embodiment and are commonly used components, they are not described one by one. One end of the inductor is connected to the power management chip 170 and the other end is connected to the output end of the power supply voltage control module 160. One end of the capacitor is grounded and the other end is connected between the inductor and the output end of the power supply voltage control module 160; the voltage divider circuit 190 includes a voltage divider resistor, one end of the voltage divider resistor is grounded, and the other end is connected between the inductor and the capacitor to achieve further adjustment of the power supply voltage.

[0043] In this embodiment, a power supply IC with a working voltage of 4-30V is selected, and voltage is divided by voltage dividing resistors R55 / R56. When the input voltage is 9V / 12V / 20V, it can still be converted into 5V after passing through the UP5 device, ensuring normal operation under different voltages. Specifically, the power supply voltage control module 160 is mainly composed of a power management chip 170, a filter circuit 180 and a voltage divider circuit 190; the power management chip 170 receives the external input voltage and adjusts it to a preset power supply voltage, and then outputs this stable power supply voltage to the voltage control module 130 and the switch chip of the analog switch 140 respectively; the power management chip 170 adjusts the external input voltage to the preset power supply voltage to ensure the stability and reliability of the power supply, and the inductor and capacitor combination in the filter circuit 180 can effectively filter out high-frequency noise and ripple in the power supply, thereby reducing the impact of these interferences on the analog switch 140 and other sensitive circuits, thereby improving signal quality and system performance; the voltage divider circuit 190 further adjusts the power supply voltage through the voltage divider resistor to adapt it to the needs of different components, increasing the flexibility of the power supply system, so that the same power supply can meet applications with a variety of different voltage requirements.

[0044] Since the Type-C interface has several voltage outputs, such as 5V / 12V / 20V, the input voltage protection of the mobile storage device 100 on the market is designed according to the 5V standard. When some users mistakenly plug the storage device 100 into the Type-C interface with 12V or 20V output, it will damage the product components or even cause a fire. By setting the power supply voltage control module 160 to adjust the working voltage of the storage device 100, adding a power management chip 170 with a 4-30V working voltage to adjust the voltage, the product can still work normally when mistakenly plugged into the Type-C interface with 20V power supply; the input voltage of the A port and the C port is separated by the load switch chip, so that the connection to different interfaces can be monitored by the analog switch, thereby automatically switching to the required group of USB2.0 signals and shutting down the other group.

[0045] like Figure 4 As shown, as a fourth embodiment of the present application, a communication data switching method of a storage device 100 is disclosed, which is used for the storage device 100 described in any of the above embodiments, and the communication data switching method includes the following steps:

[0046] S1: Detect the interface currently connected to the external device;

[0047] S2: According to the connected interface, the potential of the voltage control pin 141 of the analog switch 140 is pulled up or down to control the signal transmission between the connected interface and the external device, and the signal transmission of another interface is turned off.

[0048] Generally, when the connected interface is the first interface 110, the potential of the voltage control pin 141 is pulled down, and the analog switch 140 controls the first group of signal line connection pins 142 to output signals through the first signal connection line group 210 to the first interface 110 of the storage device 100, so as to realize signal transmission between the first interface 110 and the external device, and at the same time close the second group of signal line pins; when the connected interface is the second interface 120, the potential of the voltage control pin 141 is pulled up, and the analog switch 140 controls the second group of signal line connection pins 143 to output signals through the second signal connection line group 220 to the second interface 120 of the storage device 100, so as to realize signal transmission between the first interface 110 and the external device, and at the same time close the first group of signal line pins.

[0049] refer to Figure 2 As shown in the figure, when connected to the Type-A port, the SEL pin is pulled up, D2+ / D2- is turned on, D1+ / D1- is turned off, and the master D+ / D- pin is connected to the Type-A. When connected to the Type-C port, the SEL pin is pulled down, D1+ / D1- is turned on, D2+ / D2- is turned off, and the master D+ / D- pin is connected to the Type-C.

[0050] Furthermore, after the step of detecting the interface currently connected to the external device, the following steps are also included:

[0051] Adjust the external input voltage to the preset power supply voltage;

[0052] The preset power supply voltage is divided into a first power supply voltage and a second power supply voltage, which are output to the analog switch 140 and the voltage control module 130 respectively.

[0053] The power supply voltage control module 160 adjusts the external input voltage to the preset power supply voltage, and the OE pin of the switch chip 145 of the analog switch 140 is pulled down by default, and the Type-A / C signal switching is controlled by adjusting the pull-up and pull-down states of the S pin. Specifically, the Type-A / C input power is divided into VUSB_A and VBUS through the load switch, and output to the analog switch 140 and the voltage control module 130 respectively.

[0054] like Figure 5 As shown, as a fifth embodiment of the present application, an analog switch 140 is also disclosed, which is used to control the signal switching of the storage device 100 in any of the above embodiments, referring to Figure 1 and Figure 5 As shown, the storage device 100 includes a first interface 110 and a second interface 120, and the analog switch 140 includes a switch chip 145. The switch chip 145 is provided with a voltage control pin 141, a first group of signal line connection pins 142 and a second group of signal line connection pins 143. The first group of signal line pins is connected to the first interface 110 of the storage device 100 through signal connection lines, and the second group of signal line pins is connected to the second interface 120 of the storage device 100 through signal connection lines.

[0055] Among them, the first interface 110 and the second interface 120 belong to different interface types, and the switch chip 145 controls the first group of signal line connection pins 142 or the second group of signal line connection pins 143 to output signals to the corresponding first interface 110 or second interface 120 according to the voltage change of the voltage control pin 141, so that the first interface 110 or the second interface 120 can realize signal transmission with the corresponding connection device.

[0056] In this embodiment, the storage device 100 is equipped with two different types of interfaces, and an analog switch 140 is set. By integrating an analog switch 140 to manage the signal transmission of the two interfaces, the first interface 110 or the second interface 120 can be selected as needed, thereby improving the applicability and flexibility of the device and making it compatible with more types of external devices. The design of the analog switch 140 makes it unnecessary to disconnect the power supply or restart the system when switching between different interfaces, thereby improving the reliability and stability of the system.

[0057] It should be noted that the inventive concept of the present application can form a large number of embodiments, but the length of the application document is limited and it is impossible to list them one by one. Therefore, under the premise of no conflict, the embodiments or technical features described above can be arbitrarily combined to form new embodiments. After the embodiments or technical features are combined, the original technical effects will be enhanced.

[0058] The above contents are further detailed descriptions of the present application in combination with specific optional implementation methods, and it cannot be determined that the specific implementation of the present application is limited to these descriptions. For ordinary technicians in the technical field to which the present application belongs, several simple deductions or substitutions can be made without departing from the concept of the present application, which should be deemed to fall within the scope of protection of the present application.

Claims

1. A storage device, characterized in that: The storage device comprises a main control module, a voltage control module, an analog switch, a first interface and a second interface, the main control module is connected to the analog switch, the analog switch comprises a voltage control pin, a first group of signal line connection pins and a second group of signal line connection pins, the voltage control module is connected to the voltage control pin, the first group of signal line pins is connected to the first interface of the storage device through a first signal connection line group, and the second group of signal line pins is connected to the second interface of the storage device through a second signal connection line group; Among them, the first interface and the second interface belong to different interface types, the voltage control module outputs different voltages to the voltage control pin, and the analog switch controls the first group of signal line connection pins or the second group of signal line connection pins to output signals to the corresponding first interface or second interface according to the voltage change of the voltage control pin, so that the first interface or the second interface realizes signal transmission with the corresponding connection device.

2. The storage device according to claim 1, wherein: The analog switch includes a switch chip, the voltage control module includes a load switch chip and a pull-down unit, one end of the pull-down unit is connected to the voltage control pin of the analog switch, and the other end is connected to the input end of the load switch chip, and the output end of the load switch chip is connected to the working voltage pin of the switch chip of the analog switch; The load switch chip receives a power supply voltage, and divides the power supply voltage and outputs it to the working voltage pin and the pull-down unit of the switch chip of the analog switch.

3. The storage device according to claim 2, wherein: The load switch chip divides the power supply voltage into a first power supply voltage and a second power supply voltage, the first power supply voltage is output to the working voltage pin of the analog switch, the pull-down unit includes a first resistor and a second resistor, one end of the first resistor receives the second power supply voltage through the second resistor, and the other end is grounded, and the voltage control pin of the analog switch is connected between the first resistor and the second resistor.

4. The storage device according to claim 1, wherein: The storage device includes a power supply voltage control module, and the power supply voltage control module includes a power management chip. The power management chip adjusts the voltage input from the outside to a preset power supply voltage and outputs it to the voltage control module and the switch chip respectively.

5. The storage device according to claim 1, wherein: The first interface is any one of a USB Type-A interface, a USB Type-C interface, and a lightning interface, and the second interface is any one of a USB Type-A interface, a USB Type-C interface, and a lightning interface; wherein, when the first interface is a USB Type-A interface, the second interface is any one of a USB Type-C interface and a lightning interface.

6. The storage device according to claim 4, characterized in that: The power supply voltage control module also includes a filtering circuit and a voltage divider circuit. The filtering circuit includes an inductor and a capacitor. One end of the inductor is connected to the power management chip and the other end is connected to the output end of the power supply voltage control module. One end of the capacitor is grounded and the other end is connected between the inductor and the output end of the power supply voltage control module. The voltage divider circuit includes a voltage divider resistor. One end of the voltage divider resistor is grounded and the other end is connected between the inductor and the capacitor.

7. A method for switching communication data of a storage device, used for the storage device according to any one of claims 1 to 6, characterized in that: The communication data switching method comprises the following steps: Detect the interface currently connected to the external device; According to the connected interface, the potential of the voltage control pin of the analog switch is pulled up or down to control the signal transmission between the connected interface and the external device, and at the same time, the signal transmission of another interface is turned off.

8. The communication data switching method according to claim 7, characterized in that: The step of pulling up or down the potential of the voltage control pin of the analog switch according to the connected interface to control the signal transmission between the connected interface and the external device and shutting down the signal transmission of another interface comprises: When the connected interface is the first interface, the potential of the voltage control pin is pulled down, and the analog switch controls the first group of signal line connection pins to output signals to the first interface of the storage device through the first signal connection line group, so as to realize signal transmission between the first interface and the external device, and at the same time close the second group of signal line pins; When the connected interface is the second interface, the potential of the voltage control pin is pulled up, and the analog switch controls the second group of signal line connection pins to output signals through the second signal connection line group to the second interface of the storage device to realize signal transmission between the first interface and the external device, while closing the first group of signal line pins.

9. The communication data switching method according to claim 7, characterized in that: After the step of detecting the interface currently connected to the external device, the following steps are also included: Adjust the external input voltage to the preset power supply voltage; The preset power supply voltage is divided into a first power supply voltage and a second power supply voltage, which are output to an analog switch and a voltage control module respectively.

10. An analog switch for controlling signal switching of a storage device, wherein the storage device comprises a first interface and a second interface, wherein: The analog switch comprises a switch chip, on which a voltage control pin, a first group of signal line connection pins and a second group of signal line connection pins are provided, the first group of signal line pins are connected to a first interface of a storage device via a signal connection line, and the second group of signal line pins are connected to a second interface of the storage device via a signal connection line; Among them, the first interface and the second interface belong to different interface types, and the switch chip controls the first group of signal line connection pins or the second group of signal line connection pins to output signals to the corresponding first interface or second interface according to the voltage change of the voltage control pin, so that the first interface or the second interface realizes signal transmission with the corresponding connection device.