Circuit, circuit board assembly and electronic equipment

By designing switching circuits and circuits of multiple storage modules in electronic devices, the problem of the device being unable to start when the hard disk is damaged or the operating system is damaged is solved, and the backup boot disk is quickly switched, improving user experience and device availability.

CN119248580APending Publication Date: 2025-01-03HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410364241.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-26
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

Existing electronic devices cannot be started when the physical hard disk is damaged or the operating system files are damaged, and require professional repairs, resulting in wasted user time and costs.

Method used

设计一种电路,包含切换电路、处理器和两个存储模块,通过切换指令选择默认启动盘或备份启动盘作为系统盘,确保设备可以快速切换并继续使用。

Benefits of technology

It realizes that when the hard disk is damaged or the operating system is damaged, electronic devices can quickly switch back up the boot disk, save user time, improve user experience, and avoid use interruptions caused by inability to start.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248580A_ABST
    Figure CN119248580A_ABST
Patent Text Reader

Abstract

The invention provides a circuit, a circuit board assembly and electronic equipment, and relates to the technical field of electronic equipment, the circuit comprises a switching circuit, a processor, a first storage module and a second storage module; the first end of the switching circuit is used for receiving a switching instruction; the second end of the switching circuit is electrically connected with the first pin of the processor and is used for providing different level signals for the processor; the processor is electrically connected with the first storage module and the second storage module and used for selecting the first storage module or the second storage module as a system disk to be started when different level signals are received, and operating system files are stored in the first storage module and the second storage module. According to the application, the two storage modules in which the operating system files are stored are arranged, and one of the two storage modules is selected as the system disk for starting through switching between the two storage modules, so that the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a circuit, a circuit board assembly and an electronic device. Background Art

[0002] With the continuous development of electronic technology, electronic devices such as laptops and tablets have gradually become common tools in people's daily life and work. At present, electronic devices usually need to first install operating system files (such as Windows, etc.) into a physical hard disk, such as a solid state disk (SSD), and then use the physical hard disk as a system disk to start the electronic device.

[0003] However, when the physical hard disk is damaged or the stored operating system files are damaged, the electronic device will not be able to start. At this time, the electronic device cannot be used further unless it is sent for professional repair. Summary of the invention

[0004] The present application provides a circuit, a circuit board assembly and an electronic device, which select one of two storage modules storing operating system files as a system disk for startup by setting two storage modules storing operating system files.

[0005] In a first aspect, an embodiment of the present application provides a circuit, comprising: a switching circuit, a processor, a first storage module, and a second storage module; the first end of the switching circuit is used to receive a switching instruction; the second end of the switching circuit is electrically connected to the first pin of the processor, and is used to provide different level signals to the processor; the processor is electrically connected to the first storage module and the second storage module, respectively, and is used to select the first storage module or the second storage module as a system disk for startup when receiving the different level signals.

[0006] One of the storage modules may be called a default boot disk, and the other storage module may be called a backup boot disk.

[0007] In the embodiment of the present application, under normal circumstances, the default boot disk can be used as a system disk to start the electronic device; when the default boot disk is damaged or the operating system files stored in the disk are damaged, the backup boot disk can be switched to use the backup boot disk as the system disk to start the electronic device. Thus, the electronic device can be quickly restarted by switching the boot disk to continue to use, thereby saving user time and improving user experience.

[0008] In the embodiment of the present application, the first pin of the processor is Figure 7 GPIO3 as shown in the figure.

[0009] In combination with the first aspect, in a possible implementation manner, the first end of the switching circuit is electrically connected to the first control; and the switching instruction is an instruction issued by the first control in response to a user operation.

[0010] In combination with the first aspect, in a possible implementation manner, the first control is a toggle switch or a rotary control.

[0011] In an embodiment of the present application, when the first control is a toggle switch, in response to a first operation by the user, when the toggle switch is toggled to one side, the toggle switch can send a first switching instruction to the switching circuit, and the first switching instruction can indicate the sending of a first level signal; after receiving the first switching instruction, the switching circuit sends a first level signal to the processor.

[0012] In response to the user's second operation, when the toggle switch is toggled to the other side, the toggle switch can send a second switching instruction to the switching circuit, and the second switching instruction can indicate sending a second level signal; after receiving the second switching instruction, the switching circuit sends a second level signal to the processor. The first level signal is different from the second level signal.

[0013] In combination with the first aspect, in a possible implementation, the circuit also includes a keyboard and an embedded controller; the keyboard is electrically connected to a first end of the embedded controller, and a second end of the embedded controller is electrically connected to a first end of the switching circuit; the keyboard keys on the keyboard issue a trigger instruction in response to a user operation, and the switching instruction is an instruction issued by the embedded controller when it receives the trigger instruction.

[0014] In the embodiment of the present application, the embedded controller is not powered off when the electronic device is turned off, that is, when the electronic device is turned off, the EC can still work.

[0015] In combination with the first aspect, in a possible implementation, the keyboard key includes one or more keys, the user operation is one or more pressing operations on the keyboard key, and the interval durations of the multiple pressing operations satisfy a preset interval duration.

[0016] In an embodiment of the present application, when the keyboard key for issuing a trigger instruction is the F9 key, the F9 key is used to issue a trigger instruction to the switching circuit when pressed N times by the user; after receiving the trigger instruction, the EC issues a switching instruction to the switching circuit; the switching circuit is used to provide different level signals to the processor after receiving the switching instruction; and the processor is used to select different storage modules as the system disk for startup when receiving different level signals.

[0017] In the embodiment of the present application, the preset interval duration can be set as needed, and the embodiment of the present application does not limit this.

[0018] In combination with the first aspect, in a possible implementation manner, the switching circuit is arranged in the processor, and the second end of the embedded controller is electrically connected to the first end of the switching circuit through a second pin of the processor.

[0019] In the embodiment of the present application, the second pin of the processor is Fig.10 GPIO5 shown in .

[0020] It should also be understood that the electrical connection between the second end of the switching circuit and the first pin of the processor is made in the processor.

[0021] In combination with the first aspect, in a possible implementation, the switching circuit includes a first resistor, a second resistor and a transistor; the gate of the transistor is the first end of the switching circuit; the drain of the transistor is electrically connected to the power supply voltage end through the first resistor; the source of the transistor is electrically connected to the ground end through the second resistor; and the drain of the transistor is the second end of the switching circuit.

[0022] In combination with the first aspect, in a possible implementation manner, a resistance value of the first resistor is greater than a resistance value of the second resistor.

[0023] In the embodiment of the present application, when the transistor M is turned on, a series circuit is formed between the first resistor and the second resistor, and the voltage at the GPIO3 pin of the SOC is equivalent to the voltage divided by the second resistor. Because the resistance of the second resistor is smaller than that of the first resistor, the voltage at the GPIO3 pin is a low level. When the transistor M is turned off, the first resistor and the second resistor are disconnected, and the voltage at the GPIO3 pin of the SOC is equivalent to the voltage of the power supply voltage terminal VDD, so the voltage at the GPIO3 pin is a high level.

[0024] In combination with the first aspect, in a possible implementation manner, the first storage module is an SSD module, and the second storage module is a UFS module.

[0025] In the embodiment of the present application, UFS is lower in cost and thinner than SSD.

[0026] In a second aspect, an embodiment of the present application provides a circuit board assembly, including a circuit board and a circuit as described in any one of the first aspects above, wherein the circuit is arranged on the circuit board.

[0027] It will be appreciated that providing may include welding.

[0028] In a third aspect, an embodiment of the present application provides an electronic device, comprising a housing and a circuit board assembly as described in the second aspect above, wherein the circuit board assembly is disposed inside the housing.

[0029] The effects of the second and third aspects are similar to those of the first aspect and possible implementations of the first aspect, and are not elaborated herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0031] Figure 2 for Figure 1 A schematic structural diagram of a second body in the electronic device shown;

[0032] Figure 3 A schematic diagram of the structure of a circuit board assembly provided for related technology;

[0033] Figure 4 for Figure 3 An example of;

[0034] Figure 5 A schematic diagram of the structure of a circuit board assembly provided in an embodiment of the present application;

[0035] Figure 6 for Figure 5 An example of;

[0036] Figure 7 A schematic diagram of a control circuit structure of a SOC provided in an embodiment of the present application;

[0037] Figure 8 A schematic diagram of a circuit structure provided in an embodiment of the present application;

[0038] Fig. 9 Another schematic diagram of a circuit structure provided in an embodiment of the present application;

[0039] Fig.10 A schematic diagram of another circuit structure provided in an embodiment of the present application;

[0040] Fig.11 A prompt interface provided for an embodiment of the present application;

[0041] Fig.12 Another prompt interface provided in an embodiment of the present application.

[0042] Reference numerals:

[0043] 10-device body; 11-first body; 12-second body; 111-screen module; 121-keyboard assembly; 122-housing; 1221-upper cover; 1222-bottom shell; 123-circuit board assembly; 1231-circuit board; 1232-processor; 1233-storage module. DETAILED DESCRIPTION

[0044] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0045] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0046] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0047] To facilitate understanding, the nouns involved in the embodiments of the present application are first explained.

[0048] 1. Solid State Disk (Solid State Drive, SSD), also known as solid-state drive, is a hard disk made of a solid-state electronic storage chip array.

[0049] 2. Universal Flash Storage (UFS) is a flash storage specification designed for use in consumer electronic products such as digital cameras and smart phones. Its design goal is to develop a unified flash memory card format that provides high data transfer speed and stability while reducing consumer confusion about the various memory card formats on the market and the use of different memory card adapters.

[0050] The above is a brief introduction to the terms involved in the embodiments of the present application, which will not be repeated below.

[0051] In the prior art, electronic devices usually need to first install operating system files (such as Windows, etc.) into a physical hard disk (such as an SSD), and then use the physical hard disk as a system disk to start the electronic device. However, when the physical hard disk is damaged or the stored operating system files are damaged, the electronic device will not be able to start. At this time, unless the user sends the electronic device for professional repair, it cannot continue to be used. The existing solution is troublesome for users and has a high time cost; and if it is not repaired, the user cannot continue to use the electronic device. Therefore, a new solution is needed.

[0052] In view of this, the present application provides an electronic device, which may include at least two storage modules, one of which may be called a default boot disk, and the other storage module may be called a backup boot disk. The default boot disk and the backup boot disk each store an operating system file. Under normal circumstances, the default boot disk can be used as a system disk to start the electronic device; when the default boot disk is damaged or the operating system files stored in the disk are damaged, it can be switched to a backup boot disk, and the backup boot disk can be used as a system disk to start the electronic device. As a result, the electronic device can quickly start again by switching the boot disk to continue using it, thereby saving user time and improving user experience.

[0053] Exemplarily, the electronic device includes two storage modules, one storage module is an SSD, and the other storage module is a universal UFS. In an implementable manner, the default boot disk may be an SSD, and the backup boot disk may be a UFS; or, the default boot disk may be a UFS, and the backup boot disk may be an SSD.

[0054] Exemplarily, the electronic device includes three storage modules, one storage module is an SSD, and the other two storage modules are UFS, or one storage module is UFS, and the other two storage modules are SSD. In an implementable manner, the default boot disk can be an SSD, and the two backup boot disks can be UFS; or the default boot disk can be UFS, and the two backup boot disks can be SSD.

[0055] It should be noted that UFS is cheaper and thinner than SSD. UFS can be used in thin and light notebooks, tablets, etc.

[0056] Combine the following Figures 1 to 12 The solution provided in the embodiments of the present application is introduced in detail.

[0057] Exemplarily, the electronic device involved in the present application can be a mobile phone, a tablet computer (pad), a laptop computer, a vehicle terminal, a virtual reality (VR) device, an augmented reality (AR) device, a wireless device in industrial control, a wireless device in self-driving, a wireless device in remote medical surgery, a wireless device in smart grid (smart gRid), a wireless device in transportation safety, a wireless device in a smart city, a wireless device in a smart home, a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a wearable device, a terminal device in a future mobile communication network or a terminal device in a future evolved public mobile land network (PLMN), etc.

[0058] For ease of understanding, the following description will take the electronic device as a laptop computer as an example.

[0059] Figure 1 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 1 As shown, taking the electronic device as a notebook as an example, the electronic device may include a device body 10, Figure 1 In the laptop computer shown, the device body 10 can specifically include a first body 11 and a second body 12, the first body 11 is provided with a display component 111; the shell 122 of the second body 12 is provided with a keyboard component 121; the first body 11 and the second body 12 are connected by a rotating shaft, which can realize the opening and closing function of the first body 11 and the second body 12.

[0060] For example, Figure 2 for Figure 1 The schematic diagram of the structure of the second body 12 in the electronic device shown in FIG. Figure 2As shown, the housing 122 of the second body 12 can be divided into an upper cover 1221 and a bottom shell 1222, and the keyboard assembly 121 is arranged in the opening area of ​​the upper cover 1221. The upper cover 1221, the keyboard assembly 121 and the bottom shell 1222 of the second body 12 can be surrounded to form a receiving space for the electronic device, and the receiving space can be provided with components such as a circuit board assembly 123 and a battery. In addition, the receiving space can also include a heat dissipation assembly, etc., which is not limited in the embodiment of the present application.

[0061] For example, Figure 3 A schematic diagram of the structure of a circuit board assembly provided for related technology. Figure 3 As shown, the circuit board assembly 123 includes a circuit board 1231, a processor 1232, and a storage module 1233. The processor 1232 and the storage module 1233 can be connected to the circuit board 1231. Specifically, the processor 1232 and the storage module 1233 can be connected to the circuit board 1231 by welding. In addition, the circuit board assembly 123 can also include a power management module, etc., which is not limited in the embodiment of the present application.

[0062] The circuit board 1231 may be a mainboard of an electronic device, and plays the role of carrying electronic components such as a processor 1232 and a storage module 1233, and realizing electrical connection between the processor 1232 and the storage module 1233. The circuit board 1231 may include but is not limited to a printed circuit board (PCB), a flexible printed circuit (FPC), and a hard-soft combined circuit board.

[0063] For example, Figure 4 for Figure 3 An example of Figure 4 As shown in (a) of FIG. 1 , the processor 1232 integrated in the circuit board assembly 123 may be a system on chip (SOC), such as Figure 4 (a) and Figure 4 As shown in (b) in FIG. 1 , the storage module 1233 may be an SSD. The circuit board 1231 includes wiring that can realize communication transmission between the SOC and the SSD.

[0064] based on Figure 3 and Figure 4In the circuit board assembly structure shown, the electronic device can store operating system files in the SSD before leaving the factory, so that when the user presses the start button, the electronic device can start the SSD as a system disk in response to the user's pressing operation. However, when the physical hard disk is damaged or the operating system files stored in the hard disk are damaged, the electronic device will not be able to start. At this time, unless the electronic device is sent for professional repair, it cannot be used any more.

[0065] In order to solve this problem, the circuit board assembly provided in the embodiment of the present application may include at least two storage modules, and each storage module stores an operating system file.

[0066] For example, Figure 5 A schematic diagram of the structure of a circuit board assembly provided in an embodiment of the present application. Figure 5 As shown, the circuit board assembly 123 includes a circuit board 1231, a processor 1232 and a storage module 1233. Taking two storage modules as an example, the storage module 1233 may include a first storage module and a second storage module. Specifically, the processor 1232 and the first storage module and the second storage module may be connected to the circuit board 1231 by welding. For other contents, please refer to Figure 3 The description will not be repeated here.

[0067] Optionally, the types of the two storage modules may be the same or different. When the types of the two storage modules are the same, the interface versions of the two storage modules may be the same or different.

[0068] In some embodiments, the storage module may include an SSD module and a UFS module; of course, it may also be other storage modules, etc., which is not limited in the embodiments of the present application.

[0069] In other embodiments, when both storage modules are UFS modules, one UFS module may be a UFS storage module of UFS3.0 and above protocols, and the other UFS module may be a UFS storage module of UFS3.0 and below protocols.

[0070] Optionally, the types of operating system files stored in the two storage modules may be the same or different. When the types of operating system files stored in the two storage modules are the same, the operating system file versions corresponding to the two operating systems may be the same or different.

[0071] In some embodiments, when the types of operating system files stored in the two storage modules are different, one may be a Windows operating system file and the other may be a Linux operating system file.

[0072] In other embodiments, when the operating system files stored in two storage modules are of the same type but different versions, the operating system file stored in one storage module may be a Windows 10 operating system file, and the other may be a Windows 11 operating system file.

[0073] In some other embodiments, the operating system files stored on the storage module as the default boot disk may be ordinary system files, and the operating system files stored on the storage module as the backup boot disk may be original system files, wherein the original system files are purer than ordinary system files and occupy less memory.

[0074] For example, Figure 6 for Figure 5 An example of Figure 6 As shown in (a) in FIG. 1 , the processor integrated in the circuit board assembly 123 may be a SOC; Figure 6 (a) and Figure 6 As shown in (b), the first storage module may be an SSD, and the second storage module may be a UFS.

[0075] based on Figure 5 and Figure 6 The circuit board assembly structure shown, before the electronic device leaves the factory, ordinary system files can be stored on the SSD, and the SSD is used as the default boot disk; and the original system files can be stored on the UFS, and the UFS is used as the backup boot disk; wherein, the ordinary system files and the original system files can both be Windows 10 operating system files. In this way, when the user presses the start button, the electronic device responds to the user's pressing operation and can configure the SSD to start through the Basic Input Output System (BIOS); when the SSD is damaged or the corresponding Windows 10 operating system files stored on the SSD are damaged, the electronic device has no response and cannot start. At this time, when the user sees that the electronic device cannot start, another operation can be performed; in response to another user operation, the electronic device can quickly switch to UFS for startup, and continue to facilitate the user to use, without affecting the current work or other use needs, and the subsequent user can take time to send the electronic device for professional repair.

[0076] Based on this idea, the circuit board assembly provided by the present application is described in detail below. For the convenience of description, the following description is based on an example in which the processor is a SOC, the first storage module is an SSD, and the second storage module is a UFS.

[0077] For example, Figure 7 This is a schematic diagram of the control circuit structure of a SOC. Figure 7As shown, the Qualcomm ARM platform can support SSD and UFS solutions. By configuring the ID to select the boost (BOOT) mode, the SSD or UFS storage module can be selected at startup.

[0078] Specifically, Figure 7 As shown, the SOC may include four pins (also referred to as endpoints), namely GPIO1 to GPIO4; inside the SOC, each pin is also connected to the ground terminal GND through a pull-down resistor RL; outside the SOC, the first pin GPIO1 can be connected to the power supply voltage terminal VDD through the first pull-up resistor R1, the second pin GPIO2 can be connected to the power supply voltage terminal VDD through the second pull-up resistor R2, the third pin GPIO3 can be connected to the power supply voltage terminal VDD through the third pull-up resistor R3, and the fourth pin GPIO4 can be connected to the power supply voltage terminal VDD through the fourth pull-up resistor R4.

[0079] The resistance values ​​of the first pull-up resistor R1 to the fourth pull-up resistor R4 may be the same, and the resistance values ​​of the four pull-down resistors RL may be the same. For example, the resistance values ​​of the first pull-up resistor R1 to the fourth pull-up resistor R4 are all 2.2KΩ, and the resistance values ​​of the four pull-down resistors RL are all within the resistance range of 10KΩ-50KΩ.

[0080] based on Figure 7 The circuit structure shown should be understood that for any pin from GPIO1 to GPIO4, when the pin is connected to the power supply voltage terminal VDD (such as providing a voltage of 1.8V) through the corresponding pull-up resistor, the resistance of the pull-down resistor RL is larger than the resistance of the pull-up resistor, and the voltage at the pin is close to the voltage of the power supply voltage terminal VDD. Therefore, the level at the pin is equivalent to a high level; when the pin is disconnected from the pull-up resistor, the pin is not connected to the power supply voltage terminal VDD through the pull-up resistor but is suspended, the pin is equivalent to being connected to the ground terminal GND only through the pull-down resistor RL, so the voltage at the pin is equivalent to a low level. In other words, there are two situations for the level at each pin. When the pin is connected to the power supply voltage terminal VDD through the corresponding pull-up resistor, the pin is at a high level; and when the pin is suspended, the pin is at a low level.

[0081] Based on the Qualcomm ARM platform, it is possible to switch between SSD and UFS. As shown in Table 1 below, the states of different pins of the processor module are configured when the platform is switched.

[0082] Startup Module SOC_BOOT4 SOC_BOOT3 SOC_BOOT2 SOC_BOOT1 UFS 0 1 1 1 SSD 0 0 1 1

[0083] Table 1

[0084] like Figure 7As shown in (a) and Table 1, pin GPIO1 is connected to the power supply voltage terminal VDD through a pull-up resistor R1, so that the corresponding signal SOC_BOOT1 at pin GPIO1 is high level; pin GPIO2 is connected to the power supply voltage terminal VDD through a pull-up resistor R2, so that the corresponding signal SOC_BOOT2 at pin GPIO2 is high level; pin GPIO3 is suspended, so that the corresponding signal SOC_BOOT3 at pin GPIO3 is low level; pin GPIO4 is suspended, so that the corresponding signal SOC_BOOT4 at pin GPIO4 is low level; that is, when the four pin signals of SOC are configured to 1100, the Qualcomm ARM platform can choose to start UFS.

[0085] like Figure 7 As shown in (b) and Table 1, pin GPIO1 is connected to the power supply voltage terminal VDD through a pull-up resistor R1, so that the corresponding signal SOC_BOOT1 at pin GPIO1 is high level; pin GPIO2 is connected to the power supply voltage terminal VDD through a pull-up resistor R2, so that the corresponding signal SOC_BOOT2 at pin GPIO2 is high level; pin GPIO3 is connected to the power supply voltage terminal VDD through a pull-up resistor R3, so that the corresponding signal SOC_BOOT3 at pin GPIO3 is high level; pin GPIO4 is left floating, so that the corresponding signal SOC_BOOT4 at pin GPIO4 is low level; that is, when the four pin signals of SOC are configured as 1110, the Qualcomm ARM platform can choose to start the SSD.

[0086] By comparing the signals in Table 1 above, it can be seen that no matter whether the electronic device starts UFS or SSD, the levels of the three pins GPIO1, GPIO2, and GPIO4 on the SOC do not change, and only the signal on the GPIO3 pin switches between high and low levels. Therefore, in order to achieve the level switching of the GPIO3 pin on the SOC, the present application further provides three circuit structures and corresponding switching methods. Figure 8-Figure 10 The three circuit structures and switching methods are introduced in detail respectively.

[0087] Implementation method 1

[0088] Figure 8 A schematic diagram of a circuit structure provided in an embodiment of the present application. Figure 8 As shown, the electronic device may include a first control, a switching circuit, a processor, a first storage module, and a second storage module. The switching configuration between the processor and the first storage module and the second storage module is as described above. Figure 7 shown.

[0089] like Figure 8As shown in (a), the first control, the switching circuit and the processor are electrically connected in sequence. The first control is used to send a switching instruction to the switching circuit; the switching circuit is used to provide different level signals to the processor after receiving the switching instruction; the processor is used to select different storage modules as the system disk for startup when receiving different level signals.

[0090] Optionally, the first control may be a toggle switch, a rotary button, etc., which may be specifically set as required, and is not set in the embodiment of the present application.

[0091] For example, when the first control is a toggle switch, in response to a first operation by the user, when the toggle switch is toggled to one side, the toggle switch can send a first switching instruction to the switching circuit, and the first switching instruction can indicate the sending of a first level signal; after receiving the first switching instruction, the switching circuit sends a first level signal to the processor.

[0092] In response to the user's second operation, when the toggle switch is toggled to the other side, the toggle switch can send a second switching instruction to the switching circuit, and the second switching instruction can indicate sending a second level signal; after receiving the second switching instruction, the switching circuit sends a second level signal to the processor. The first level signal is different from the second level signal.

[0093] It should be understood that the operation process of the rotation button is similar, and reference may be made to the above description, which will not be repeated here.

[0094] Optionally, the switching circuit may include a first resistor R11, a second resistor R12 and a transistor. The gate of the transistor M is electrically connected to the first control, the drain of the transistor M is electrically connected to the power supply voltage terminal VDD through the first resistor R11, and the source of the transistor M is electrically connected to the ground terminal GND through the second resistor R12. In addition, the drain of the transistor M is also electrically connected to the GPIO3 pin of the processor.

[0095] Wherein, the transistor M is an N-type transistor.

[0096] Exemplarily, the N-type transistor may be an N-type Metal Oxide Semiconductor Field Effect Transistor (MOSFET) or an N-type Thin Film Transistor (TFT).

[0097] Exemplarily, the resistance value of the first resistor R11 may be 2.2KΩ, and the resistance value of the second resistor R12 may be 10Ω.

[0098] For example, Figure 8As shown in (b), the first control is a toggle switch, which is placed on the left side by default. At this time, the toggle switch sends a first switching instruction to the gate of the transistor in the switching circuit, such as a high-level signal; in the high-level state, the transistor M is turned on, and a series circuit is formed between the first resistor R11 and the second resistor R12. The voltage at the GPIO3 pin of the SOC is equivalent to the voltage divided by the second resistor R12. Because the resistance value of the second resistor R12 is smaller than that of the first resistor R11, the voltage at the GPIO3 pin is a low level; that is, SOC_BOOT_3 is a low level. In this way, the electronic device boots the SSD as the system disk by default.

[0099] When an abnormality occurs in the SSD or the stored system files are damaged, the electronic device cannot start normally. At this time, if the user toggles the toggle switch and places the toggle switch on the right, the toggle switch sends a second switching instruction to the gate of the transistor in the switching circuit, such as the second switching instruction is a low-level signal; in the low-level state, the transistor M is turned off, the first resistor R11 and the second resistor R12 are disconnected, and the voltage at the GPIO3 pin of the SOC is equivalent to the voltage of the power supply voltage terminal VDD, so the voltage at the GPIO3 pin is a high level; that is, SOC_BOOT_3 is a high level, so that the electronic device can switch from the SSD to the UFS, and start the UFS as the system disk for the user to continue to use.

[0100] Implementation method 2

[0101] Fig. 9 Another circuit structure diagram provided in the embodiment of the present application. Fig. 9 As shown, the electronic device may include a keyboard, an embedded controller (EC), a switching circuit, a processor, a first storage module and a second storage module, and the switching configuration between the processor and the first storage module and the second storage module is as described above. Figure 7 shown.

[0102] like Fig. 9 As shown in (a), the keyboard, embedded controller, switching circuit and processor are connected in sequence. The keyboard keys on the keyboard are used to send a trigger instruction to the EC under the trigger of the user; after receiving the trigger instruction, the EC sends a switching instruction to the switching circuit; the switching circuit is used to provide different level signals to the processor after receiving the switching instruction; the processor is used to select different storage modules as the system disk for startup when receiving different level signals.

[0103] Optionally, the keyboard key for issuing the trigger instruction is a key or a combination of multiple keys. For example, the keyboard key for issuing the trigger instruction is the F9 key, or a combination of the F key and the C key. It can be set as needed, and this embodiment of the application does not set this.

[0104] Optionally, the keyboard key may issue a trigger instruction after one or more presses by the user. The number of presses and the interval duration during multiple presses may be set as required, and this embodiment of the present application does not limit this.

[0105] For example, when the keyboard key for sending the trigger instruction is the F9 key, the F9 key is used to send the trigger instruction to the switching circuit when the user presses it N times; after receiving the trigger instruction, the EC sends the switching instruction to the switching circuit; the switching circuit is used to provide different level signals to the processor after receiving the switching instruction; the processor is used to select different storage modules as the system disk for startup when receiving different level signals.

[0106] It should be understood that the operation process of the combination key of the F key and the C key is similar, and can be referred to the above description, which will not be repeated here.

[0107] Optionally, the switching circuit is Figure 8 The structure of the switching circuit shown in (b) is the same as that of the switching circuit shown in (b). For detailed introduction, please refer to the above description and will not be repeated here.

[0108] For example, Fig. 9 As shown in (b), the EC sends a high-level signal to the gate of the transistor in the switching circuit by default. In the high-level state, the transistor M is turned on, and a series circuit is formed between the first resistor R11 and the second resistor R12. The voltage at the GPIO3 pin of the SOC is equivalent to the voltage divided by the second resistor R12. Because the resistance value of the second resistor R12 is smaller than that of the first resistor R11, the voltage at the GPIO3 pin is a low level; that is, the voltage at the SOC_BOOT_3 pin is a low level by default. In this way, the electronic device boots the SSD as the system disk by default.

[0109] When an abnormality occurs in the SSD or the stored system files are damaged, the electronic device cannot start normally. At this time, if the user presses the F9 key three times in succession, the F9 key can send a trigger instruction to the EC. After receiving the trigger instruction, the EC sends a switching instruction to the switching circuit. If the switching instruction is a low-level signal, in the low-level state, the transistor M is turned off, the first resistor R11 and the second resistor R12 are disconnected, and the voltage at the GPIO3 pin of the SOC is equivalent to the voltage of the power supply voltage terminal VDD. Therefore, the voltage at the GPIO3 pin is a high level; that is, SOC_BOOT_3 is a high level, so that the electronic device can switch from the SSD to the UFS, and start the UFS as the system disk for the user to continue to use.

[0110] Implementation method three

[0111] Fig.10 This is another circuit structure diagram provided in the embodiment of the present application. Fig.10 As shown, the electronic device may include a keyboard, an EC, and a processor, a first storage module, and a second storage module with a switching circuit disposed therein. The switching configuration between the processor and the first storage module and the second storage module is as described above. Figure 7 shown.

[0112] like Fig.10 As shown in (a), the keyboard, EC and processor are connected in sequence, wherein the EC is connected to the switching circuit set inside the processor through the pins of the processor. The keyboard keys on the keyboard are used to send a trigger instruction to the EC under the trigger of the user; after receiving the trigger instruction, the EC sends a switching instruction to the switching circuit set in the processor through a pin on the processor; the switching circuit is used to provide different level signals to another pin of the processor after receiving the switching instruction; the processor is used to select different storage modules as the system disk for startup when receiving different level signals.

[0113] Optionally, the keyboard keys in implementation method three may be the same as the keyboard keys and triggering methods introduced in implementation method two. For details, please refer to the above description and will not be repeated here.

[0114] Optionally, the switching circuit is Figure 8 The structure of the switching circuit shown in (b) is the same as that of the switching circuit shown in (b). For detailed introduction, please refer to the above description and will not be repeated here.

[0115] For example, Fig.10As shown in (b), the EC sends a high-level signal to the EC_GPIO pin in the processor by default. In the high-level state, the transistor M included in the switching circuit in the processor is turned on, and a series circuit is formed between the first resistor R11 and the second resistor R12. The voltage at the GPIO3 pin of the SOC is equivalent to the voltage divided by the second resistor R12. Because the resistance value of the second resistor R12 is smaller than that of the first resistor R11, the voltage at the GPIO3 pin is a low level; that is, the voltage at the SOC_BOOT_3 pin is a low level by default. In this way, the electronic device boots the SSD as the system disk by default.

[0116] When an abnormality occurs in the SSD or the stored system files are damaged, the electronic device cannot start normally. At this time, if the user presses the F key and the C key at the same time; the combination key composed of the F key and the C key can send a trigger instruction to the EC; after receiving the trigger instruction, the EC sends a switching instruction to the EC_GPIO pin of the processor, such as the switching instruction is a low-level signal; in the low-level state, the transistor M included in the switching circuit set in the processor is turned off, the first resistor R11 and the second resistor R12 are disconnected, and the voltage at the GPIO3 pin of the SOC is equivalent to the voltage of the power supply voltage terminal VDD. Therefore, the voltage at the GPIO3 pin is a high level; that is, SOC_BOOT_3 is a high level, so that the electronic device can switch from the SSD to the UFS, and start the UFS as the system disk for the user to continue to use.

[0117] It should be noted that when the electronic device is turned off, the EC is not powered off. Therefore, when the electronic device cannot be started normally, the EC can also be triggered to work through keyboard keys.

[0118] In the above three implementations, since the switch of selecting the first storage module or the second storage module as the boot disk is triggered by the first control or keyboard key, there is a case where the user touches it by mistake. Therefore, after the trigger is performed and before the electronic device switches the boot disk, a prompt can be displayed to confirm again whether it is an accidental touch. If it is an accidental touch, an operation prompt is provided to the user to return to the original system disk.

[0119] For example, Fig.11 A prompt interface provided in an embodiment of the present application.

[0120] like Fig.11As shown, when the user triggers the first control or keyboard key, the electronic device can display a prompt message, and the prompt message can be, for example, "Do you want to switch to the backup boot disk for startup? If it is an accidental touch, please press the return key (F key) to start normally." If the user subsequently operates the F key, the boot disk will not be switched, and the default system disk will continue to be used as the boot disk for normal startup. If no user operation is received after a preset period of time, it can be considered that the user did not touch it by mistake. At this time, the displayed prompt message can disappear, and the electronic device switches to the backup boot disk for startup.

[0121] After the above three implementation methods are implemented, since using the backup boot disk to boot the electronic device is only an emergency solution at the moment, the user needs to send the electronic device for professional repair later. Therefore, after booting with the backup boot disk, a prompt message can be displayed to prompt the user to perform professional repair later.

[0122] For example, Fig.12 Another prompt interface provided in an embodiment of the present application.

[0123] like Fig.12 As shown, after the user triggers the first control or keyboard key, the electronic device switches to the backup boot disk for startup, and the electronic device can display a prompt message, which can be, for example, "Since the default boot disk cannot be used for startup, please send it to the after-sales department for professional repair as soon as possible!".

[0124] An embodiment of the present application also provides a circuit board assembly, including a circuit board and the circuit as described above.

[0125] The circuit is arranged on the circuit board.

[0126] An embodiment of the present application also provides an electronic device, including a housing and a circuit board assembly as described above, wherein the circuit board assembly is disposed inside the housing.

[0127] For specific settings, please refer to the above Figure 2 The description will not be repeated here.

[0128] It should be understood that the effects of the circuit board assembly and the electronic device are similar to the effects in the circuit design provided in the embodiment of the present application, and will not be described in detail here.

[0129] In the description of the embodiments of the present application, it should be noted that, 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, or it can be an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.

[0130] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0131] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0132] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0133] In several embodiments provided in the present application, any function can be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as an independent product. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for 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: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0134] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A circuit, characterized in that: include: A switching circuit, a processor, a first storage module and a second storage module; The first end of the switching circuit is used to receive a switching instruction; The second end of the switching circuit is electrically connected to the first pin of the processor, and is used to provide different level signals to the processor; The processor is electrically connected to the first storage module and the second storage module respectively, and is used to select the first storage module or the second storage module as a system disk for startup when receiving the different level signals, and the first storage module and the second storage module both store operating system files.

2. The circuit according to claim 1, characterized in that The first end of the switching circuit is electrically connected to the first control; the switching instruction is an instruction issued by the first control in response to a user operation.

3. The circuit according to claim 2, characterized in that The first control is a toggle switch or a rotary control.

4. The circuit according to claim 1, characterized in that The circuit further includes a keyboard and an embedded controller; the keyboard is electrically connected to a first end of the embedded controller, and a second end of the embedded controller is electrically connected to a first end of the switching circuit; The keyboard keys on the keyboard send trigger instructions in response to user operations, and the switching instructions are instructions sent by the embedded controller when receiving the trigger instructions.

5. The circuit according to claim 4, characterized in that The keyboard key includes one or more keys, and the user operation is one or more pressing operations on the keyboard key, and the interval durations of the multiple pressing operations meet the preset interval duration.

6. The circuit according to claim 4 or 5, characterized in that: The switching circuit is arranged in the processor, and the second end of the embedded controller is electrically connected to the first end of the switching circuit through a second pin of the processor.

7. The circuit according to any one of claims 1 to 6, characterized in that The switching circuit includes a first resistor, a second resistor and a transistor; The gate of the transistor is a first terminal of the switching circuit; The drain of the transistor is electrically connected to the power supply voltage terminal through the first resistor; The source of the transistor is electrically connected to the ground terminal through the second resistor; the drain of the transistor is the second terminal of the switching circuit.

8. The circuit according to claim 7, characterized in that: The resistance value of the first resistor is greater than the resistance value of the second resistor.

9. The circuit according to any one of claims 1 to 8, characterized in that The first storage module is an SSD module, and the second storage module is a UFS module.

10. A circuit board assembly, characterized in that: The invention comprises a circuit board and the circuit as claimed in any one of claims 1 to 9; the circuit is arranged on the circuit board.

11. An electronic device, characterized in that: It comprises a housing and the circuit board assembly as claimed in claim 10, wherein the circuit board assembly is arranged inside the housing.

Citation Information

Patent Citations

  • Multi-system terminal device control method and apparatus, and computer readable storage medium

    CN107506666A

  • Solid-state storage device, server mainboard and control method

    CN111813599A

  • Operating system obtaining method and server

    CN115586925A

  • Dual-system switching circuit

    CN211457107U

  • KR20190120906A