Electronic device and method compatible with multiple mobile communication specifications
By designing a switching circuit compatible with multiple mobile communication specifications on the motherboard, the problem that the M.2Key-B slot is not compatible with 4G and 5G modules is solved, and compatibility with different mobile communication modules is achieved, reducing manufacturing costs and lines is reduced. Design complexity.
Patent Information
- Application Number
- CN202311211525.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-09
- Filing Date
- 2023-09-19
- Publication Date
- 2024-11-12
AI Technical Summary
The existing M.2Key-B slots are not compatible with both 4G and 5G mobile communication modules, resulting in complex antenna design and increased manufacturing costs.
Design a motherboard that is compatible with multiple mobile communication specifications, including connectors, processing circuits and switching circuits, detect the connected module types through the basic input/output system, and control the switching circuit to connect the input interface and the output interface to achieve different Compatibility of mobile communication modules.
It reduces manufacturing costs and line design complexity, increases motherboard layout space, and achieves compatibility with 4G and 5G modules.
Smart Images

Figure CN118939588A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electronic device, and in particular to an electronic device compatible with multiple mobile communication specifications and a method for being compatible with multiple mobile communication specifications. Background Art
[0002] M.2 is a new electrical interface specification for the external dimensions and pins of expansion cards and related connectors inside electronic devices. It uses a new physical layout and connector, and has corresponding slots for different functions. The slots with key pins between 12 and 19 are M.2Key-B slots.
[0003] 4G mobile communication modules and 5G mobile communication modules use the M.2Key-B slot specification. However, because the interface definitions of 4G mobile communication modules and 5G mobile communication modules are different, they are not compatible with the same M.2Key-B slot. For example, 4G mobile communication modules support SIM2 signals, while 5G mobile communication modules support millimeter wave signals.
[0004] Since the M.2Key-B slot is not compatible with both 4G mobile communication modules and 5G mobile communication modules, the current common practice is to extend all the lines to multiple different daughter boards and use different daughter boards to perform different functions. However, due to the different locations of millimeter waves, if all are concentrated on the same daughter board, the antenna of the mobile communication module will be difficult to design and the manufacturing cost will increase. Summary of the invention
[0005] The technical problem to be solved by the present invention is that, in view of the deficiencies in the prior art, an electronic device is provided, which has a mainboard compatible with multiple mobile communication specifications, and the mainboard includes a connector, a processing circuit, a control circuit and a switching circuit. The processing circuit is connected to the connector and executes a basic input / output system. The control circuit is connected to the processing circuit. The switching circuit is connected to the control circuit and the connector. The switching circuit includes an input interface, a control interface, a first output interface and a second output interface, the input interface is connected to the connector, and the control interface is connected to the control circuit. When the basic input / output system detects that the connector is connected to the first mobile communication module, the control circuit sends a first control signal to the control interface so that the input interface is connected to the first output interface. When the basic input / output system detects that the connector is connected to the second mobile communication module, the control circuit sends a second control signal to the control interface so that the input interface is connected to the second output interface.
[0006] Preferably, the connector includes a first type bus slot and a second type bus slot, the first mobile communication module is connected to the first type bus slot, and the second mobile communication module is connected to the second type bus slot.
[0007] Preferably, the first type bus slot is a USB slot, and the second type bus slot is a PCIE slot.
[0008] Preferably, when the basic input / output system detects that the first type bus slot is connected to the first mobile communication module, the basic input / output system sets a first flag in the control circuit; when the basic input / output system detects that the second type bus slot is connected to the second mobile communication module, the basic input / output system sets a second flag in the control circuit.
[0009] Preferably, the connector includes a first type bus slot, and when the first mobile communication module is connected to the first type bus slot, the basic input / output system detects a first identification code of the first mobile communication module and sets a first flag in the control circuit; when the second mobile communication module is connected to the first type bus slot, the basic input / output system detects a second identification code of the second mobile communication module and sets a second flag in the control circuit.
[0010] Preferably, it also includes a first power switch, a second power switch, a first power supply and a second power supply, the first power switch is connected to the connector, the control circuit and the first power supply, the second power switch is connected to the connector, the control circuit and the second power supply, and the first power supply is different from the second power supply; when the connector is connected to the first mobile communication module, the control circuit detects a first identification code of the first mobile communication module and controls the first power switch and the second power switch to be in an on state and an off state respectively; when the connector is connected to the second mobile communication module, the control circuit detects a second identification code of the second mobile communication module and controls the first power switch and the second power switch to be in the on state and the off state respectively; when the connector is connected to a third mobile communication module, the control circuit detects a third identification code of the third mobile communication module and controls the first power switch and the second power switch to be in the off state and the on state respectively.
[0011] In order to solve the above-mentioned technical problems, another technical solution adopted by the present invention is to provide an electronic device, which has a mainboard compatible with multiple mobile communication specifications, and the mainboard includes a connector, a processing circuit and a switching circuit. The processing circuit is connected to the connector and executes a basic input / output system. The switching circuit is connected to the processing circuit and the connector. The switching circuit includes an input interface, a control interface, a first output interface and a second output interface, the input interface is connected to the connector, and the control interface is connected to the processing circuit. When the basic input / output system detects that the connector is connected to the first mobile communication module, the processing circuit sends a first control signal to the control interface to connect the input interface to the first output interface. When the basic input / output system detects that the connector is connected to the second mobile communication module, the processing circuit sends a second control signal to the control interface to connect the input interface to the second output interface.
[0012] Preferably, the connector includes a second-type bus slot and a first-type bus slot, the first mobile communication module is connected to the first-type bus slot, and the second mobile communication module is connected to the second-type bus slot.
[0013] Preferably, it also includes a first power switch, a second power switch, a first power supply and a second power supply, the first power switch is connected to the connector, the processing circuit and the first power supply, the second power switch is connected to the connector, the processing circuit and the second power supply, and the first power supply is different from the second power supply; when the connector is connected to the first mobile communication module, the processing circuit detects a first identification code of the first mobile communication module and controls the first power switch and the second power switch to be in an on state and an off state respectively; when the connector is connected to the second mobile communication module, the processing circuit detects a second identification code of the second mobile communication module and controls the first power switch and the second power switch to be in the on state and the off state respectively; when the connector is connected to a third mobile communication module, the processing circuit detects a third identification code of the third mobile communication module and controls the first power switch and the second power switch to be in the off state and the on state respectively.
[0014] In order to solve the above-mentioned technical problems, another technical solution adopted by the present invention is to provide a method compatible with multiple mobile communication specifications, including: executing a basic input / output system to detect the specifications of a bus slot connected to a mobile communication module; when the bus slot belongs to a first type of bus slot, a control circuit controls an input interface of a switching circuit and a first output interface to be in a conductive state; and when the bus slot belongs to a second type of bus slot, a control circuit controls the input interface and a second output interface of the switching circuit to be in a conductive state.
[0015] One of the beneficial effects of the present invention is that the electronic device and the method for being compatible with multiple mobile communication specifications provided by the present invention do not require other space on the mainboard to lay out the circuits for connecting the mobile communication modules, because the connector of the mainboard is compatible with two mobile communication modules of different specifications. This reduces the manufacturing cost and the complexity of the circuit design, and also increases the available layout space on the mainboard.
[0016] To further understand the features and technical contents of the present invention, please refer to the following detailed description and drawings of the present invention. However, the drawings provided are only for reference and description and are not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 FIG. 1 is a schematic diagram of a first embodiment of an electronic device according to the present invention.
[0018] Figure 2 For application Figure 1 A flowchart of a first embodiment of a method for making an electronic device compatible with multiple mobile communication standards.
[0019] Figure 3 For application Figure 1 Flow chart of a second embodiment of a method for an electronic device to be compatible with multiple mobile communication standards.
[0020] Figure 4 FIG. 4 is a schematic diagram of a second embodiment of an electronic device according to the present invention.
[0021] Figure 5 For application Figure 4 A flowchart of a third embodiment of a method for making an electronic device compatible with multiple mobile communication standards.
[0022] Figure 6 FIG. 4 is a schematic diagram of a third embodiment of an electronic device according to the present invention.
[0023] Figure 7 For application Figure 6 A flowchart of a fourth embodiment of a method for making an electronic device compatible with multiple mobile communication standards.
[0024] Figure 8 FIG. 4 is a schematic diagram of a fourth embodiment of an electronic device according to the present invention.
[0025] Fig. 9 For application Figure 8 A flowchart of a fifth embodiment of a method for making an electronic device compatible with multiple mobile communication standards. DETAILED DESCRIPTION
[0026] The following is an explanation of the implementation methods of the "electronic device and method compatible with multiple mobile communication specifications" provided by the present invention through specific embodiments. Those skilled in the art can understand the advantages and effects of the present invention from the content provided in this specification. The present invention can be implemented or applied through other different specific embodiments, and the details in this specification can also be modified and changed in various ways based on different viewpoints and applications without departing from the concept of the present invention. In addition, the drawings of the present invention are only simple schematic illustrations and are not depicted in actual size. It is stated in advance. The following implementation methods will further explain the relevant technical content of the present invention in detail, but the content provided is not intended to limit the scope of protection of the present invention.
[0027] It should be understood that, although the terms "first", "second", "third", etc. may be used herein to describe various components or signals, these components or signals should not be limited by these terms. These terms are mainly used to distinguish one component from another component, or one signal from another signal. In addition, the term "or" used herein may include any one or more combinations of the associated listed items depending on the actual situation.
[0028] Figure 1 FIG. 1 is a schematic diagram of a first embodiment of an electronic device of the present invention. Figure 1 The electronic device has a motherboard MB compatible with multiple mobile communication specifications, and the motherboard MB includes a connector 1, a processing circuit 2, a memory circuit 3, a control circuit 4, a switching circuit 5, and a user identity recognition module 6. The processing circuit 2 is connected to the connector 1, the memory circuit 3, and the control circuit 4. The memory circuit 3 stores a basic input / output system 31. The control circuit 4 is connected to the switching circuit 5 and the processing circuit 2, and the switching circuit 5 is connected to the connector 1, the control circuit 4, and the user identity recognition module 6.
[0029] The connector 1 is, for example, an M.2 Key-B slot, the processing circuit 2 is, for example, a central processing unit (CPU), the memory circuit 3 is, for example, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM) or a flash memory, the control circuit 4 is, for example, an embedded controller (Embedded controller) or a microcontroller unit (Microcontroller unit), the switching circuit 5 is, for example, a multiplexer / demultiplexer switching chip (model TS3USB221) produced by Texas Instruments, and the user identity module 6 is, for example, an embedded SIM card (Embedded SIM, eSIM), but the present invention is not limited thereto.
[0030] The connector 1 includes a first type bus slot 11 and a second type bus slot 12, and the switching circuit 5 includes an input interface 51, a control interface 52, a first output interface 53, a second output interface 54, a first switch circuit 55, and a second switch circuit 56. The first type bus slot 11 and the second type bus slot 12 are connected to the processing circuit 2 and the input interface 51, the first switch circuit 55 is connected between the input interface 51 and the first output interface 53, and the second switch circuit 56 is connected between the input interface 51 and the second output interface 54. The control interface 52 is connected to the first switch circuit 55 and the second switch circuit 56, and the first output interface 53 and the second output interface 54 are connected to the user identification module 6.
[0031] When no external device is connected to the first type bus slot 11 and the second type bus slot 12 , the first switch circuit 55 and the second switch circuit 56 are in the cut-off state.
[0032] The first type bus slot 11 is, for example, a USB slot, the second type bus slot 12 is, for example, a PCIE slot, the input interface 51 includes, for example, a first pin (UIM2_DATA_MWPON1) and a second pin (UIM2_CLK_MWPON2), the control interface 52 is, for example, a third pin (USIM2_MWPON_SEL), the first output interface 53 includes, for example, a fourth pin (UIM2_DATA) and a fifth pin (UIM2_CLK), the second output interface 54 includes, for example, a sixth pin (MMWAVE_PON1) and a seventh pin (MMWAVE_PON2), the first switch circuit 55 is, for example, an N-type metal oxide semiconductor field effect transistor (NMOSFET), the second switch circuit 56 is, for example, a P-type metal oxide semiconductor field effect transistor (PMOSFET), but the present invention is not limited thereto.
[0033] Figure 2 For application Figure 1 Flow chart of a first embodiment of a method for an electronic device to be compatible with multiple mobile communication standards. Figure 2 , in step S201, a boot procedure is executed to initialize the electronic device. In step S202, the processing circuit 2 executes the basic input / output system 31, and the basic input / output system 31 detects the state of the first type bus slot 11 and the state of the second type bus slot 12. When the basic input / output system 31 detects that a first mobile communication module is connected to the first type bus slot 11, the process proceeds to step S203. When the basic input / output system 31 detects that a second mobile communication module is connected to the second type bus slot 12, the process proceeds to step S205. For example, the first type bus slot 11 is a USB slot, the second type bus slot 12 is a PCIE slot, the first mobile communication module is a 4G mobile communication module, and the second mobile communication module is a 5G mobile communication module.
[0034] In step S203, the processing circuit 2 modifies a flag in the register of the control circuit 4 to a first flag. In step S205, the processing circuit 2 modifies a flag in the register of the control circuit 4 to a second flag. The first flag is used to indicate that the first type bus slot 11 is connected to a first mobile communication module, and the second flag is used to indicate that the second type bus slot 12 is connected to a second mobile communication module.
[0035] After step S203 , the process proceeds to step S207 . In response to the first flag being set, the control circuit 4 sends a first control signal to the control interface 52 of the switch circuit 5 .
[0036] After step S205 , the process proceeds to step S209 . In response to the second flag being set, the control circuit 4 sends a second control signal to the control interface 52 of the switch circuit 5 .
[0037] The second control signal and the first control signal may be used to control the first switch circuit 55 and the second switch circuit 56 to enter different switch state combinations, which will be described below with examples.
[0038] After step S207, the process proceeds to step S211, where the first control signal turns the first switch circuit 55 and the second switch circuit 56 into an on state and an off state, respectively. At this time, a conduction path is formed between the input interface 51 and the first output interface 53 through the first switch circuit 55, and the user identification module 6 is electrically connected to the first mobile communication module plugged into the connector 1.
[0039] After step S209, the process proceeds to step S213, where the second control signal causes the first switch circuit 55 and the second switch circuit 56 to be in an off state and an on state, respectively. At this time, a conduction path is formed between the input interface 51 and the second output interface 54 through the second switch circuit 56, and the user identity recognition module 6 is electrically connected to the second mobile communication module plugged into the connector 1.
[0040] pass Figure 2 In the first embodiment of the method for being compatible with multiple mobile communication specifications, the electronic device can be compatible with two mobile communication modules of different specifications simply through the connector 1 on the mainboard MB, without the need to lay out circuits or install sub-boards at other locations on the mainboard MB, thereby reducing manufacturing costs.
[0041] Figure 3 For applicable Figure 1 Flow chart of a second embodiment of a method for an electronic device to be compatible with multiple mobile communication standards. Figure 3 In step S301, a boot procedure is executed to initialize the electronic device. In step S302, the processing circuit 2 executes the basic input / output system 31, and the basic input / output system 31 detects the state of the first type bus slot 11 and the state of the second type bus slot 12. When the basic input / output system 31 detects that the first type bus slot 11 is connected to the first mobile communication module, the process proceeds to step S303. When the basic input / output system 31 detects that the second mobile communication module is connected to the first type bus slot 11, the process proceeds to step S305.
[0042] In step S303, the BIOS 31 detects a first identification code of the first mobile communication module. In step S305, the BIOS 31 detects a second identification code of the second mobile communication module.
[0043] The first identification code is, for example, a product identification code of a 4G mobile communication module, and the second identification code is, for example, a product identification code of a 5G mobile communication module, but the present invention is not limited thereto.
[0044] After step S303 , the process proceeds to step S307 , where the processing circuit 2 modifies a flag in the register of the control circuit 4 into a first flag.
[0045] After step S305 , the process proceeds to step S309 , where the processing circuit 2 modifies a flag in the register of the control circuit 4 into a second flag.
[0046] After step S307 , the process proceeds to step S311 . In response to the first flag being set, the control circuit 4 sends a first control signal to the control interface 52 of the switch circuit 5 .
[0047] After step S309 , the process proceeds to step S313 . In response to the second flag being set, the control circuit 4 sends a second control signal to the control interface 52 of the switch circuit 5 .
[0048] After step S311, the process proceeds to step S315, where the first control signal turns the first switch circuit 55 and the second switch circuit 56 into an on state and an off state, respectively. At this time, a conduction path is formed between the input interface 51 and the first output interface 53 through the first switch circuit 55, and the user identity recognition module 6 is electrically connected to the first mobile communication module plugged into the connector 1.
[0049] After step S313, the process proceeds to step S317, where the second control signal turns the first switch circuit 55 and the second switch circuit 56 into an off state and an on state, respectively. At this time, a conduction path is formed between the input interface 51 and the second output interface 54 through the second switch circuit 56, and the user identification module 6 is electrically connected to the second mobile communication module plugged into the connector 1.
[0050] Figure 3 The second embodiment of the method for being compatible with multiple mobile communication standards is compared with Figure 2 A first embodiment of the invention, Figure 3 The second embodiment can also identify the first mobile communication module and the second mobile communication module according to the product identification code.
[0051] Figure 4 is a schematic diagram of a second embodiment of an electronic device of the present invention. Figure 4The main board MB of the electronic device further includes a first power switch SW1, a first power source P1, a second power switch SW2 and a second power source P2. The first power switch SW1 is connected to the first power source P1, the connector 1 and the control circuit 4, and the second power switch SW2 is connected to the second power source P2, the connector 1 and the control circuit 4. The output voltage of the second power source P2 is different from the output voltage of the first power source P1. The first power source P1 is, for example, a 3.3V DC voltage source, and the second power source P2 is, for example, a 5.5V DC voltage source, but the present invention is not limited thereto.
[0052] Figure 4 The second embodiment of the electronic device is compared to Figure 1 The first embodiment differs in that, Figure 4 The electronic device can also provide a suitable voltage to the mobile communication module according to the type of the mobile communication module.
[0053] Figure 5 For application Figure 4 A flowchart of a third embodiment of a method for an electronic device to be compatible with multiple mobile communication standards. Figure 5 In step S501, a boot procedure is executed to initialize the electronic device. In step S502, the processing circuit 2 executes the basic input / output system 31, and the basic input / output system 31 detects the state of the first type bus slot 11 and the state of the second type bus slot 12. When the basic input / output system 31 detects that the first type bus slot 11 is connected to the first mobile communication module, the process proceeds to step S503. When the basic input / output system 31 detects that the second type bus slot 12 is connected to the second mobile communication module, the process proceeds to step S505. When the basic input / output system 31 detects that the third mobile communication module is connected to the first type bus slot 11, the process proceeds to step S507.
[0054] In step S503, the control circuit 4 detects the first identification code of the first mobile communication module and controls the first power switch SW1 and the second power switch SW2 to be in the on state and the off state respectively. At this time, a conduction path is formed between the input interface 51 and the first power source P1 through the first power switch SW1, and the first power source P1 supplies power to the first mobile communication module.
[0055] In step S505, the control circuit 4 detects the second identification code of the second mobile communication module and controls the first power switch SW1 and the second power switch SW2 to be in the on state and the off state respectively. At this time, a conduction path is formed between the input interface 51 and the first power source P1 through the first power switch SW1, and the first power source P1 supplies power to the second mobile communication module.
[0056] In step S507, the control circuit 4 detects the third identification code of the third mobile communication module and controls the first power switch SW1 and the second power switch SW2 to be in the off state and the on state respectively. At this time, a conduction path is formed between the input interface 51 and the second power source P2 through the second power switch SW2, and the second power source P1 supplies power to the third mobile communication module.
[0057] The first mobile communication module is, for example, a 4G mobile communication module, the first type bus slot 11 is, for example, a USB slot, the second mobile communication module is, for example, a 5G mobile communication module, the second type bus slot 12 is, for example, a PCIE slot, the third mobile communication module is, for example, a wireless local area network enhancement module (WLAN Boost Module), the first power supply P1 is, for example, a 3.3V DC voltage source, and the second power supply P2 is, for example, a 5V DC voltage source, but the present invention is not limited thereto.
[0058] Figure 5 The third embodiment of the method for being compatible with multiple mobile communication standards is compared with Figure 2 The first embodiment and Figure 3 The second embodiment, Figure 5 The third embodiment can also provide a suitable voltage to the mobile communication module according to the type of the mobile communication module.
[0059] Figure 6 FIG. 1 is a schematic diagram of a third embodiment of an electronic device of the present invention. Figure 6 The motherboard MB of the electronic device includes a connector 1, a processing circuit 2, a memory circuit 3, a switching circuit 5, and a user identification module 6. The processing circuit 2 is connected to the connector 1, the memory circuit 3, and the switching circuit 5. The memory circuit 3 stores a basic input / output system 31, and the switching circuit 5 is connected to the connector 1, the processing circuit 2, and the user identification module 6.
[0060] Figure 6 The third embodiment of the electronic device is compared to Figure 1 A first embodiment of the invention, Figure 6 The third embodiment omits the control circuit 4.
[0061] Figure 7 For application Figure 6 A flowchart of a fourth embodiment of a method for an electronic device to be compatible with multiple mobile communication standards. Figure 7In step S701, a boot procedure is executed to initialize the electronic device. In step S702, the processing circuit 2 executes the basic input / output system 31, and the basic input / output system 31 detects the state of the first type bus slot 11 and the state of the second type bus slot 12. When the basic input / output system 31 detects that the first type bus slot 11 is connected to the first mobile communication module, the process proceeds to step S703. When the basic input / output system 31 detects that the second type bus slot 12 is connected to the second mobile communication module, the process proceeds to step S705.
[0062] In step S703 , the processing circuit 2 sends a first control signal to the control interface 52 of the switching circuit 5 .
[0063] In step S705 , the processing circuit 2 sends a second control signal to the control interface 52 of the switching circuit 5 .
[0064] After step S703, the process proceeds to step S707, where the first control signal turns the first switch circuit 55 and the second switch circuit 56 into an on state and an off state, respectively. At this time, a conduction path is formed between the input interface 51 and the first output interface 53 through the first switch circuit 55, and the user identity recognition module 6 is electrically connected to the first mobile communication module plugged into the connector 1.
[0065] After step S705, the process proceeds to step S709, where the second control signal turns the first switch circuit 55 and the second switch circuit 56 into an off state and an on state, respectively. At this time, a conduction path is formed between the input interface 51 and the second output interface 54 through the second switch circuit 56, and the user identity recognition module 6 is electrically connected to the second mobile communication module plugged into the connector 1.
[0066] Figure 8 FIG. 4 is a schematic diagram of a fourth embodiment of an electronic device of the present invention. Figure 8 The main board MB of the electronic device also includes a first power switch SW1, a first power supply P1, a second power switch SW2 and a second power supply P2. The first power switch SW1 is connected to the first power supply P1, the connector 1 and the processing circuit 2, and the second power switch SW2 is connected to the second power supply P2, the connector 1 and the processing circuit 2. The output voltage of the second power supply P2 is different from the output voltage of the first power supply P1.
[0067] Figure 8 The fourth embodiment of the electronic device is compared to Figure 6 The third embodiment, Figure 8 The electronic device can also provide a suitable voltage to the mobile communication module according to the type of the mobile communication module.
[0068] Fig. 9 For application Figure 8 A flowchart of a fifth embodiment of a method for an electronic device to be compatible with multiple mobile communication standards. Fig. 9 In step S901, a boot procedure is executed to initialize the electronic device. In step S902, the processing circuit 2 executes the basic input / output system 31, and the basic input / output system 31 detects the state of the first type bus slot 11 and the state of the second type bus slot 12. When the basic input / output system 31 detects that the first type bus slot 11 is connected to the first mobile communication module, the process proceeds to step S903. When the basic input / output system 31 detects that the second type bus slot 12 is connected to the second mobile communication module, the process proceeds to step S905. When the basic input / output system 31 detects that the third mobile communication module is connected to the first type bus slot 11, the process proceeds to step S907.
[0069] In step S903, the processing circuit 2 detects the first identification code of the first mobile communication module and controls the first power switch SW1 and the second power switch SW2 to be in the on state and the off state respectively. At this time, a conduction path is formed between the input interface 51 and the first power source P1 through the first power switch SW1, and the first power source P1 supplies power to the first mobile communication module.
[0070] In step S905, the processing circuit 2 detects the second identification code of the second mobile communication module and controls the first power switch SW1 and the second power switch SW2 to be in the on state and the off state respectively. At this time, a conduction path is formed between the input interface 51 and the first power source P1 through the first power switch SW1, and the first power source P1 supplies power to the second mobile communication module.
[0071] In step S907, the processing circuit 2 detects the third identification code of the third mobile communication module and controls the first power switch SW1 and the second power switch SW2 to be in the off state and the on state respectively. At this time, a conduction path is formed between the input interface 51 and the second power source P2 through the second power switch SW2, and the second power source P2 supplies power to the third mobile communication module.
[0072] [Beneficial effects of the embodiment]:
[0073] One of the beneficial effects of the present invention is that the electronic device and the method for being compatible with multiple mobile communication specifications provided by the present invention do not require other space on the mainboard to lay out the circuits for connecting the mobile communication modules, because the connector of the mainboard is compatible with two mobile communication modules of different specifications. This reduces the manufacturing cost and the complexity of the circuit design, and also increases the available layout space on the mainboard.
[0074] The contents provided above are only preferred feasible embodiments of the present invention, and are not intended to limit the claims of the present invention. Therefore, all equivalent technical changes made using the contents of the specification and drawings of the present invention are included in the claims of the present invention.
Claims
1. An electronic device, characterized in that: The electronic device has a mainboard compatible with multiple mobile communication specifications, and the mainboard includes: a connector; a processing circuit connected to the connector and executing a basic input / output system; a control circuit connected to the processing circuit; and a switching circuit connected to the control circuit and the connector, the switching circuit comprising an input interface, a control interface, a first output interface and a second output interface, the input interface being connected to the connector, and the control interface being connected to the control circuit; When the basic input / output system detects that the connector is connected to a first mobile communication module, the control circuit sends a first control signal to the control interface to connect the input interface to the first output interface; When the basic input / output system detects that the connector is connected to a second mobile communication module, the control circuit sends a second control signal to the control interface to connect the input interface to the second output interface.
2. The electronic device according to claim 1, wherein: The connector includes a first-type bus slot and a second-type bus slot. The first mobile communication module is connected to the first-type bus slot, and the second mobile communication module is connected to the second-type bus slot.
3. The electronic device according to claim 2, wherein: The first type bus slot is a USB slot, and the second type bus slot is a PCIE slot.
4. The electronic device as claimed in claim 2, characterized in that: When the basic input / output system detects that the first type bus slot is connected to the first mobile communication module, the basic input / output system sets a first flag in the control circuit; When the basic input / output system detects that the second type bus slot is connected to the second mobile communication module, the basic input / output system sets a second flag on the control circuit.
5. The electronic device according to claim 1, wherein: The connector includes a first type bus slot, and when the first mobile communication module is connected to the first type bus slot, the basic input / output system detects a first identification code of the first mobile communication module and sets a first flag in the control circuit; When the second mobile communication module is connected to the first type bus slot, the basic input / output system detects a second identification code of the second mobile communication module and sets a second flag in the control circuit.
6. The electronic device as claimed in claim 1, wherein: The electronic device also includes a first power switch, a second power switch, a first power supply and a second power supply, the first power switch is connected to the connector, the control circuit and the first power supply, the second power switch is connected to the connector, the control circuit and the second power supply, and the first power supply is different from the second power supply; when the connector is connected to the first mobile communication module, the control circuit detects a first identification code of the first mobile communication module and controls the first power switch and the second power switch to be in an on state and an off state respectively; when the connector is connected to the second mobile communication module, the control circuit detects a second identification code of the second mobile communication module and controls the first power switch and the second power switch to be in the on state and the off state respectively; when the connector is connected to a third mobile communication module, the control circuit detects a third identification code of the third mobile communication module and controls the first power switch and the second power switch to be in the off state and the on state respectively.
7. An electronic device, characterized in that: The electronic device has a mainboard compatible with multiple mobile communication specifications, and the mainboard includes: a connector; a processing circuit connected to the connector and executing a basic input / output system; and a switching circuit connected to the processing circuit and the connector, the switching circuit comprising an input interface, a control interface, a first output interface and a second output interface, the input interface being connected to the connector, and the control interface being connected to the processing circuit; When the basic input / output system detects that the connector is connected to a first mobile communication module, the processing circuit sends a first control signal to the control interface to connect the input interface to the first output interface; When the basic input / output system detects that the connector is connected to a second mobile communication module, the processing circuit sends a second control signal to the control interface to connect the input interface to the second output interface.
8. The electronic device as claimed in claim 7, characterized in that: The connector includes a first-type bus slot and a second-type bus slot. The first mobile communication module is connected to the first-type bus slot, and the second mobile communication module is connected to the second-type bus slot.
9. The electronic device as claimed in claim 7, characterized in that: The electronic device also includes a first power switch, a second power switch, a first power supply and a second power supply, the first power switch is connected to the connector, the processing circuit and the first power supply, the second power switch is connected to the connector, the processing circuit and the second power supply, and the first power supply is different from the second power supply; when the connector is connected to the first mobile communication module, the processing circuit detects a first identification code of the first mobile communication module and controls the first power switch and the second power switch to be in an on state and an off state respectively; when the connector is connected to the second mobile communication module, the processing circuit detects a second identification code of the second mobile communication module and controls the first power switch and the second power switch to be in the on state and the off state respectively; when the connector is connected to a third mobile communication module, the processing circuit detects a third identification code of the third mobile communication module and controls the first power switch and the second power switch to be in the off state and the on state respectively.
10. A method for being compatible with multiple mobile communication standards, characterized in that: The method for being compatible with multiple mobile communication standards includes: executing a basic input / output system to detect the specification of a bus slot connected with a mobile communication module; When the bus slot belongs to a first type bus slot, a control circuit controls an input interface of a switching circuit and a first output interface to be in a conducting state; and When the bus slot belongs to a second type of bus slot, a control circuit controls the input interface and a second output interface of the switching circuit to be in a conducting state.
