Electronic equipment, control method and readable storage medium

By designing different control methods of switch components in charging and non-chargeable states in electronic devices, using the return path and RF module connection, the problem of low charging efficiency of electronic devices is solved, and faster charging time and good communication quality are achieved.

CN120222545APending Publication Date: 2025-06-27VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510368009.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

When charging an electronic device, due to the large path impedance of the charging current, the charging time is longer and the charging efficiency is low.

Method used

An electronic device is designed that includes a metal frame, an antenna, a circuit board, a feed shrapnel, a charging chip and a switch assembly. In the charging state, the switch assembly is in the first state, so that the charging chip and the metal frame form a return path; in the non-charging state, the switch assembly is in the second state, and the antenna is electrically connected to the radio frequency module on the circuit board through the feeding shrapnel.

Benefits of technology

By increasing the parallel path of the charging current, the impedance of the charging current path is reduced, thereby shortening the charging time of electronic devices, improving charging efficiency, and ensuring communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120222545A_ABST
    Figure CN120222545A_ABST
Patent Text Reader

Abstract

The invention discloses electronic equipment, a control method and a readable storage medium, and belongs to the technical field of charging. The electronic equipment provided by the embodiment of the invention comprises a metal frame body, an antenna is arranged on the metal frame body, a circuit board is arranged in the metal frame body, a feed elastic sheet, a charging chip and a switch assembly are arranged on the circuit board, and the feed elastic sheet is electrically connected with the antenna; wherein when the electronic equipment is in a charging state, the switch assembly is in a first state, so that the charging chip and the metal frame body form a backflow path; and when the electronic equipment is in a non-charging state, the switch assembly is in a second state, and the antenna is electrically connected with the radio frequency module on the circuit board through the feed elastic sheet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of charging, and particularly relates to an electronic device, a control method, and a readable storage medium. Background Art

[0002] Generally, a battery, a main circuit board, a charging interface, and a middle frame are provided in an electronic device. The battery, the main circuit board, and the charging interface are all fixed on the middle frame. The battery is electrically connected to the main circuit board, and the main circuit board is electrically connected to the charging interface. Thus, when the electronic device is being charged, the charging current can first flow from the charging interface through the main circuit board to the battery, and then flow from the battery through the main circuit board and the middle frame to the ground terminal of the charging interface.

[0003] However, since the impedance corresponding to the path where the charging current flows from the battery through the main circuit board and the middle frame to the ground terminal of the charging interface is relatively large when the electronic device is being charged, the charging time of the electronic device may be relatively long, resulting in low charging efficiency of the electronic device. Summary of the Invention

[0004] The purpose of the embodiments of this application is to provide an electronic device, a control method, and a readable storage medium, which can solve the problem of low charging efficiency of the electronic device.

[0005] In a first aspect, the embodiments of this application provide an electronic device, which includes: a metal frame body, on which an antenna is provided, and a circuit board is provided inside the metal frame body. A feeding elastic sheet, a charging chip, and a switch component are provided on the circuit board, and the feeding elastic sheet is electrically connected to the antenna; wherein, when the electronic device is in a charging state, the switch component is in a first state to form a return current path between the charging chip and the metal frame body; when the electronic device is in a non-charging state, the switch component is in a second state, and the antenna is electrically connected to a radio frequency module on the circuit board through the feeding elastic sheet.

[0006] In a second aspect, the embodiments of this application provide a control method, which includes: when the electronic device is in a charging state, determining whether the antenna of the electronic device is being used; when the antenna is not being used, controlling the switch component on the circuit board of the electronic device to be in a first state to form a return current path between the charging chip on the circuit board and the metal frame body of the electronic device.

[0007] In a third aspect, the embodiments of this application provide an electronic device, which includes a processor and a memory. The memory stores a program or instruction that can run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the second aspect are implemented.

[0008] Fourthly, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the second aspect are implemented.

[0009] Fifthly, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is configured to run a program or instruction to implement the steps of the method described in the second aspect.

[0010] Sixthly, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the second aspect.

[0011] In the embodiment of the present application, the electronic device includes a metal housing, on which an antenna is provided, and a circuit board is provided inside the metal housing. A feeding elastic sheet, a charging chip and a switch component are provided on the circuit board, and the feeding elastic sheet is electrically connected to the antenna. Wherein, when the electronic device is in a charging state, the switch component is in a first state to enable the charging chip and the metal housing to form a current return path; when the electronic device is in a non-charging state, the switch component is in a second state, and the antenna is electrically connected to a radio frequency module on the circuit board through the feeding elastic sheet. Since the feeding elastic sheet is provided on the circuit board and is electrically connected to the antenna on the metal housing, and when the electronic device is in a charging state, the switch component can be controlled to be in the first state to enable the charging chip and the metal housing to form a current return path. In this way, in addition to the charging current flowing from the battery of the electronic device through the charging chip, the ground terminal of the circuit board and the metal housing to the charging interface of the electronic device to flow to the ground terminal, the charging current can also flow from the battery through the charging chip, the circuit board, the feeding elastic sheet, the antenna, the switch component and the metal housing to the charging interface to flow to the ground terminal, and the other path from the battery through the charging chip, the ground terminal of the circuit board, the metal housing, the antenna, the switch component and the metal housing to the charging interface to flow to the ground terminal, and these two paths are in parallel. Therefore, the impedance corresponding to the path of the charging current flowing from the battery to the charging interface can be reduced, thereby reducing the charging time of the electronic device. On the other hand, since when the electronic device is in a non-charging state, the switch component can be controlled to be in the second state, the radio frequency module can normally send or receive signals through the feeding elastic sheet and the antenna. Therefore, the situation that the electronic device cannot use the antenna for communication can be avoided, thereby ensuring the communication quality of the electronic device. In this way, while ensuring the communication quality of the electronic device, the charging efficiency of the electronic device can be improved. Description of the Drawings

[0012] Figure 1 is a schematic structural diagram of an electronic device in the related art;

[0013] Figure 2 is one of the schematic structural diagrams of the electronic device provided by the embodiments of the present application;

[0014] Figure 3 is the schematic structural diagram of the switch assembly of the electronic device provided by the embodiments of the present application;

[0015] Figure 4 is the schematic circuit diagram of the switch assembly of the electronic device provided by the embodiments of the present application;

[0016] Figure 5 is the schematic diagram of the flow of the charging current when the electronic device provided by the embodiments of the present application is charging;

[0017] Figure 6 is the schematic diagram of the impedance of the path of the charging current flow when the electronic device provided by the embodiments of the present application is charging;

[0018] Figure 7 is one of the schematic circuit diagrams of the electronic device provided by the embodiments of the present application;

[0019] Figure 8 is the second schematic circuit diagram of the electronic device provided by the embodiments of the present application;

[0020] Figure 9 is one of the schematic flowcharts of the control method provided by the embodiments of the present application;

[0021] Figure 10 is the second schematic flowchart of the control method provided by the embodiments of the present application;

[0022] Figure 11 is the third schematic flowchart of the control method provided by the embodiments of the present application;

[0023] Figure 12 is one of the schematic hardware diagrams of the electronic device provided by the embodiments of the present application;

[0024] Figure 13 is the second schematic hardware diagram of the electronic device provided by the embodiments of the present application. Description of the Drawings:

[0026] 101 - Middle frame, 102 - Main circuit board, 103 - Sub - circuit board, 104 - Battery, 105 - FPC, 106 - Charging interface, 107 - Battery FPC, 108 - Charging chip, 11 - Metal housing, 111 - Antenna, 1111 - First ground return end, 1112 - Second ground return end, 112 - Circuit board, 1121 - Feeding elastic piece, 1122 - Charging chip, 1123 - Switch assembly, 11231 - Switch, 11232 - Control component, 113 - Metal screw, 114 - Battery, 115 - Battery FPC, 116 - Charging interface, 117 - Sub - circuit board, 12 - First ground return elastic piece, 13 - Second ground return elastic piece, 131 - Isolation part, 14 - Shielding component. Detailed implementation manner

[0027] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0028] The terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. generally belong to the same category, and do not limit the number of objects. For example, the first object can be one or multiple. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / " generally represents an "or" relationship between the associated objects before and after.

[0029] The terms "at least one (item)", "at least one of", etc. in the description and claims of the present application refer to any one, any two or more combinations of the objects it contains. For example, at least one (item) of a, b, and c can represent: "a", "b", "c", "a and b", "a and c", "b and c", and "a, b, and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" means two or more, and its expressed meaning is similar to that of "at least one (item)".

[0030] Generally, the stacked structure of electronic devices (such as mobile phones) mostly adopts the traditional three-section stacked structure, including a battery, a main circuit board, a charging interface, and a middle frame. The battery and the main circuit board are fixed on the middle frame, the charging interface is fixed on the middle frame through a secondary circuit board, the battery is electrically connected to the main circuit board through a battery flexible printed circuit (FPC), and the main circuit board is electrically connected to the charging interface through an FPC.

[0031] For example, Figure 1 shows a schematic structural diagram of a traditional electronic device in the related art. As Figure 1 shown, an electronic device (such as a mobile phone) may include a middle frame 101, a main circuit board 102, a secondary circuit board 103, a battery 104, an FPC 105, a charging interface 106, a battery FPC 107, and a charging chip 108. Among them, the main circuit board 102 is fixed on the middle frame 101 through a locking plate screw 109, the secondary circuit board 103 is fixed on the middle frame 101 through a locking plate screw 110, and the charging interface 106 is fixed on the secondary circuit board 103 through a locking plate screw 111. Thus, when charging the mobile phone, the charging current can enter the main circuit board 102 through the FPC 105 from the charging interface 106, and after being adjusted by the charging chip 108, it enters the battery 104 through the battery FPC 107 for charging; and, a part of the charging current can also enter the main circuit board 102 through the battery FPC 107, flow through the middle frame 101 through the locking plate screw 109 to the secondary circuit board 103, and enter the ground terminal of the charging interface 106 through the locking plate screw 112; another part of the charging current can also enter the main circuit board 102 through the battery FPC 107 and flow to the ground terminal of the charging interface 106 through the FPC 105; thus forming a charging circuit.

[0032] However, since when charging the electronic device, the impedance corresponding to the path of the above-mentioned charging current flowing from the battery through the main circuit board and the middle frame to the ground terminal of the charging interface is relatively large, therefore, it may cause the charging time of the electronic device to be relatively long, resulting in low charging efficiency of the electronic device.

[0033] To solve the above technical problems, the embodiments of the present application provide an electronic device, a control method, and a readable storage medium. The following will combine the drawings to describe in detail the electronic device, the control method, and the readable storage medium provided by the embodiments of the present application through specific embodiments and their application scenarios.

[0034] Figure 2 shows a schematic structural diagram of the electronic device provided by the embodiments of the present application. As Figure 2As shown in the figure, the electronic device provided by the embodiment of the present application includes: a metal housing 11, on which an antenna 111 is provided, inside which a circuit board 112 is provided, on which a feeding elastic sheet 1121, a charging chip 1122 and a switch component 1123 are provided, and the feeding elastic sheet 1121 is electrically connected to the antenna 111.

[0035] In the embodiment of the present application, when the electronic device is in a charging state, the switch component 1123 is in a first state, so that the charging chip 1122 and the metal housing 11 form a current return path; when the electronic device is in a non-charging state, the switch component 1123 is in a second state, and the antenna 111 is electrically connected to the radio frequency module on the circuit board 112 through the feeding elastic sheet 1121.

[0036] In some embodiments of the present application, the above-mentioned metal housing 11 may specifically be a metal middle frame, on which a receiving space is recessed, and the receiving space is used to receive other components of the electronic device.

[0037] In some embodiments of the present application, the above-mentioned antenna 111 may specifically be a metal antenna, and the metal antenna may be fixedly arranged inside the metal housing 11 (i.e., close to the inner side of the above-mentioned receiving space). The number of the above-mentioned antennas 111 may be at least one.

[0038] In some embodiments of the present application, the circuit board 112 may specifically be a main board. Of course, the circuit board 112 may also be other circuit boards, and the embodiment of the present application does not limit this. The circuit board 112 may be fixed to the metal housing 11 through metal screws 113.

[0039] In some embodiments of the present application, the battery 114 of the electronic device may be fixedly arranged in the above-mentioned receiving space.

[0040] In some embodiments of the present application, the above-mentioned battery 114 may be electrically connected to the circuit board 112. For example, the battery 114 may be electrically connected to the circuit board 112 through a battery FPC 115.

[0041] In some embodiments of the present application, a charging interface 116 is further fixedly arranged on the above-mentioned metal housing 11, and the charging interface 116 may be a Universal Serial Bus (USB) socket. The charging interface 116 may be directly fixed to the metal housing 11 through metal screws; or may be fixed to a sub-circuit board 117 arranged on the metal housing 11 through metal screws, so as to be fixed to the metal housing 11 through the sub-circuit board 117. Figure 2 It is shown by taking the charging interface 116 being fixed to the sub-circuit board 117 arranged on the metal housing 11 through metal screws as an example.

[0042] Among them, the ground terminal of the circuit board 112 can be electrically connected to the metal housing 11 through a metal screw 113, so that the ground terminal of the circuit board 112 can be connected to the ground terminal of the charging interface 116 through the metal housing 11.

[0043] In some embodiments of the present application, the charging chip 1122 can be electrically connected to the battery 114, and the charging chip 1122 can be connected to the circuit board 112 through a wire. The charging chip 1122 is used to adjust the current that enters the circuit board 112 through the FPC of the charging interface 116, and then output the adjusted current to the battery 114 through the battery FPC 115 to charge the battery 114.

[0044] In some embodiments of the present application, the switch assembly 1123 can be located in the accommodation space. One end of the switch assembly 1123 can be electrically connected to the antenna 111, and the other end can be electrically connected to the metal housing 11 to be connected to the ground terminal of the charging interface 116 through the metal housing 11. The number of the switch assemblies 1123 can be at least one. Figure 2 In the figure, the number of the switch assemblies 1123 is shown as one for illustration.

[0045] Among them, when the number of the switch assemblies 1123 is at least two, each switch assembly 1123 is associated with an antenna frequency band respectively, and each switch assembly 1123 is electrically connected to at least one antenna 111 respectively.

[0046] In some embodiments of the present application, when the switch assembly 1123 is in the first state, the path between the antenna 111 and the metal housing 11 is turned on. When the switch assembly 1123 is in the second state, the path between the antenna 111 and the metal housing 11 is turned off.

[0047] In some embodiments of the present application, in combination with Figure 2 , as Figure 3 shown, the switch assembly 1123 includes: at least one switch 11231. The first end of the switch 11231 is electrically connected to the antenna 111, and the second end of the switch 11231 is electrically connected to the metal housing 11.

[0048] In the embodiments of the present application, when the switch assembly 1123 is in the first state, at least some of the switches 11231 are turned on; when the switch assembly 1123 is in the second state, the switches 11231 are turned off.

[0049] In some examples, the switch 11231 can be a single-pole single-throw switch. Of course, the switch 11231 can also be other components (such as a switching tube, etc.), and the embodiments of the present application do not limit this.

[0050] In some examples, the above-mentioned switch component 1123 further includes at least one port. Each port can be understood as one end of the switch component 1123. Each port is respectively connected to one end of a switch 11231, and the other end of each switch 11231 is also connected to the metal housing 11.

[0051] For example, as Figure 3 and Figure 4 shown, the switch component 1123 may include at least one port, such as port RF1, port RF2, port RF3, and port RF4. The port RF1 is connected to the first end of a switch 11231, the port RF2 is connected to the first end of another switch 11231, the port RF3 is connected to the first end of yet another switch 11231, and the port RF4 is connected to the first end of still another switch 11231. The second ends of these four switches 11231 can be electrically connected to the metal housing 11.

[0052] It can be understood that when at least one of the four switches 11231 in Figure 3 and Figure 4 is turned on, the switch component 1123 is in the first state. At this time, the path between the antenna 111 and the metal housing 11 is turned on. That is to say, the path between the antenna 111 and the ground terminal of the charging interface 116 is turned on. That is to say, the antenna 111 is grounded.

[0053] Thus, it can be known that since the switch component may include at least one switch, and the at least one switch is arranged in parallel, the number of parallel paths from the charging chip to the ground terminal of the charging interface can be flexibly adjusted by controlling the number of turned-on switches. Therefore, the flexibility of adjusting the impedance corresponding to the path of the charging current flowing from the charging chip to the ground terminal can be improved.

[0054] In some embodiments of the present application, in combination with Figure 3 , the above-mentioned switch component 1123 further includes: a control component 11232, and the control component 11232 is electrically connected to the switch 11231.

[0055] In the embodiments of the present application, the above-mentioned control component 11232 is configured to control at least some of the switches 11231 to be turned on when the electronic device is in a charging state, so that the switch component 1123 is in the first state; or, is configured to control the switch 11231 to be turned off when the electronic device is in a non-charging state, so that the switch component 1123 is in the second state.

[0056] In some examples, the above control component 11232 may include a control module and a register. The control module may be any one of the following: a single-chip microcomputer, a microcontroller unit (MCU), etc. The control module may be electrically connected to the register, and the register may be connected to the third terminal of each switch 11231.

[0057] Taking the switch component 1123 connected to a certain antenna 111 as an example, the control module of the switch component 1123 may determine in real time whether the electronic device is in a charging state. When it is determined that the electronic device is in a charging state, it may determine whether the certain antenna 111 is being used. When it is determined that the certain antenna 111 is not being used, a first control instruction is output to the register. The first control instruction is used to control at least some of the switches 11231 to conduct. Thus, the register may output the first control instruction to at least some of the switches 11231 to control at least some of the switches 11231 to conduct. Alternatively, when it is determined that the electronic device is in a non-charging state, if the certain antenna 111 is being used, the control module may output a second control instruction to the register according to the requirements of the radio frequency module 1124. The second control instruction is used to control some of the switches 11231 to conduct. Thus, the register may output the second control instruction to some of the switches 11231 to control some of the switches 11231 to conduct, so that the certain antenna 111 is in the required working state. For example, the certain antenna 111 may transmit a signal that meets the requirements of the radio frequency module 1124. If the certain antenna 111 is not being used, the control module outputs a third control instruction to the register. The third control instruction is used to control all the switches 11231 to disconnect. Thus, the register may output the second control instruction to all the switches 11231 to control all the switches 11231 to disconnect, thereby avoiding the influence of the certain antenna 111 on other working components (such as other antennas 111).

[0058] It can be seen that a control component may also be provided in the switch component. In this way, the control component can accurately control the switch component to be in the first state when the electronic device is in a charging state, or can accurately control the switch component to be in the second state when the electronic device is in a non-charging state. Therefore, the accuracy of the state control of the switch component can be improved.

[0059] In some embodiments of the present application, the number of the above feeding elastic pieces 1121 may be at least one. The feeding elastic piece 1121 may specifically be a metal elastic piece. Of course, the feeding elastic piece 1121 may also be other conductive members, and the embodiments of the present application do not limit this.

[0060] In some embodiments of the present application, the above-mentioned switch component 1123 may be electrically connected to the feeding end of the antenna 111 (for example, connected to the feeding end of the antenna 111 through a feeding elastic sheet 1121), or may be electrically connected to the grounding end of the antenna 111.

[0061] In some embodiments of the present application, the above-mentioned feeding elastic sheet 1121 may be connected to the antenna 111, the circuit board 112, and the switch component 1123.

[0062] In the embodiments of the present application, when the electronic device is in a charging state, if the registered frequency band of the electronic device does not match the antenna frequency band of the antenna 111, the switch component 1123 is in the first state, so that the charging chip 1122 and the metal frame 11 form a current return path.

[0063] Among them, the situation that the registered frequency band of the electronic device does not match the antenna frequency band of the antenna 111 can be understood as that the antenna 111 connected to the switch component 1123 is in a non-operating state.

[0064] It can be understood that since the number of the switch components 1123 may be at least two, therefore, the at least two switch components 1123 may be associated with at least two antenna frequency bands, and each switch component 1123 is electrically connected to at least one antenna 111 respectively. In this way, the electronic device can determine an antenna frequency band different from the registered frequency band from the at least two antenna frequency bands, and respectively control the switch components 1123 associated with the different antenna frequency bands to be in the first state.

[0065] In the embodiments of the present application, the antenna 111 may be connected to the circuit board 112, such as Figure 5As shown, in the related art, when the electronic device is charging, the charging current first enters the secondary circuit board 117 from the charging interface 116, then enters the circuit board 112 from the secondary circuit board 117 through the FPC, and enters the charging chip 1122 through the circuit board 112, and enters the battery 114 from the charging chip 1122. Then, the charging current can enter the charging chip 1122 from the battery 114 and enter the circuit board 112 from the charging chip 1122. Next, a part of the charging current enters the secondary circuit board 117 from the circuit board 112 through the FPC and enters the ground terminal of the charging interface 116 from the secondary circuit board 117. Another part of the charging current enters the metal frame 11 from the ground terminal of the circuit board 112 through the metal screw 113, enters the secondary circuit board 117 from the metal screw of the secondary circuit board 117, and enters the ground terminal of the charging interface 116 from the secondary circuit board 117. However, in the embodiment of the present application, the antenna 111 can be electrically connected to the circuit board 112. In this way, the charging current can also enter the antenna 111 from the charging chip 1122 through the circuit board 112, enter the metal frame 11 from the antenna 111 through the switch component 1123, enter the secondary circuit board 117 from the metal screw of the secondary circuit board 117, and enter the ground terminal of the charging interface 116 from the secondary circuit board 117. Moreover, the charging current can also enter the antenna 111 from the charging chip 1122 through the metal frame 11, and enter the ground terminal of the charging interface 116 from the antenna 111 through the switch component 1123, the metal frame 11 and the secondary circuit board 117.

[0066] As Figure 6 shown, in the related art, the actual effective power of charging can be:

[0067] P1 = P0 - i1 * [R1 + R8 + R3 * (R5 + R11) / (R3 + R5 + R11)] - i2 * [R2 + R4 * (R6 + R11) / (R4 + R6 + R11)]

[0068] wherein, R1 is Figure 5 the impedance from the charging interface 116 through the secondary circuit board 117 and the circuit board 112 to the charging chip 1122 in Figure 5 the impedance from the charging chip 1122 through the battery FPC 115 to the battery 114 in Figure 5 the impedance from the charging chip 1122 through the circuit board 112 and the secondary circuit board 117 to the ground terminal of the charging interface 116 in Figure 5The impedance of the middle battery 114 from the charging chip 1122, through the circuit board 112 and the secondary circuit board 117 to the ground terminal of the charging interface 116, R5 is the impedance of the charging chip 1122 from the ground terminal of the circuit board 112 and the metal screw 113 to the metal housing 11 to the ground terminal of the charging interface 116, R6 is the impedance of the battery 114 from the charging chip 1122, through the circuit board 112, and then through the metal screw 113 to the metal housing 11 to the ground terminal of the charging interface 116, R8 is the internal resistance of the charging chip 1122, and R11 is the impedance of the metal housing 11 from the metal screw and the secondary circuit board 117 to the ground terminal of the charging interface 116.

[0069] However, in the embodiment of the present application, the actual effective charging power can be:

[0070] P2 = P0 - i1 * [R1 + R8 + R3(R5’ + R11’) / (R3 + R5’ + R11’)] - i2 * [R2 + R4*(R6’ + R11’) / (R4 + R6’ + R11’)], where R5’ = R5 * R7 / (R5 + R7), R6’ = R6 * R9 / (R6 + R9), and R11’ = R11 * R10 / (R11 + R10).

[0071] Among them, R7 is the impedance of the charging chip 1122 from the circuit board 112 and the antenna 111 to the switch component 1123 and then to the ground terminal (i.e., the ground terminal of the charging interface 116), R9 is the impedance of the battery 114 from the charging chip 1122 and the ground terminal of the circuit board 112 through the antenna 111 to the switch component 1123 and then to the metal housing 11 to the ground terminal of the charging interface 116, and R10 is the impedance of the metal housing 11 and the secondary circuit board 117 connected through the antenna 111.

[0072] It can be understood that since R7, R9, and R10 are respectively in parallel with R5, R6, and R11, this can make R5’ less than R5, R6’ less than R6, and R11’ less than R11, thereby reducing the impedance corresponding to the path of the charging current flowing from the charging chip 1122 to the ground terminal (i.e., the ground terminal of the charging interface 116). This can make P2 > P1, that is, the charging efficiency of the electronic device provided by the embodiment of the present application is higher than that of the electronic device in the related art.

[0073] An embodiment of the present application provides an electronic device. The electronic device includes a metal housing, on which an antenna is provided, and a circuit board is provided inside the metal housing. A feeding elastic sheet, a charging chip, and a switch component are provided on the circuit board, and the feeding elastic sheet is electrically connected to the antenna. Wherein, when the electronic device is in a charging state, the switch component is in a first state to enable the charging chip and the metal housing to form a current return path; when the electronic device is in a non-charging state, the switch component is in a second state, and the antenna is electrically connected to a radio frequency module on the circuit board through the feeding elastic sheet. Since the feeding elastic sheet is provided on the circuit board, the feeding elastic sheet is electrically connected to the antenna on the metal housing, and when the electronic device is in a charging state, the switch component can be controlled to be in the first state to enable the charging chip and the metal housing to form a current return path. In this way, in addition to the charging current flowing to the ground terminal through the path from the battery of the electronic device, through the charging chip, the ground terminal of the circuit board, and the metal housing to the charging interface of the electronic device, the charging current can also flow to the ground terminal through a path from the battery, through the charging chip, the circuit board, the feeding elastic sheet, the antenna, the switch component, and the metal housing to the charging interface. And the other path from the battery, through the charging chip, the ground terminal of the circuit board, the metal housing, the antenna, the switch component, and the metal housing to the charging interface flows to the ground terminal, and these two paths are in parallel. Therefore, the impedance corresponding to the path of the charging current flowing from the battery to the charging interface can be reduced, thereby reducing the charging time of the electronic device. On the other hand, since the switch component can be controlled to be in the second state when the electronic device is in a non-charging state, the radio frequency module can normally send or receive signals through the feeding elastic sheet and the antenna. Therefore, the situation where the electronic device cannot use the antenna for communication can be avoided, thereby ensuring the communication quality of the electronic device. In this way, while ensuring the communication quality of the electronic device, the charging efficiency of the electronic device can be improved.

[0074] Moreover, since the electronic device provided by the embodiment of the present application can increase the number of parallel paths of the charging current flowing from the battery to the ground terminal through the antenna and the switch component, the problem of reduced charging efficiency caused by the failure of the mechanical structure of the electronic device after aging can also be improved, and the problem of increased impedance after the failure of the original connector position and the risk of out-of-control heating caused by a large charging current during charging can also be improved. Without significantly increasing the material cost and changing the stacking of the electronic device, the bottleneck of the fast charging efficiency can be improved, which can enhance the user experience of the fast charging and battery life of the electronic device and has broad market application prospects.

[0075] In some examples, as Figure 7 shown, the first end of the above-mentioned feeding elastic sheet 1121 is electrically connected to the feeding end of the antenna 111, the second end of the feeding elastic sheet 1121 is electrically connected to the switch component 1123, and the third end of the feeding elastic sheet 1121 is electrically connected to the circuit board 112.

[0076] In some examples, the second end of the feeding spring 1121 and the third end of the feeding spring 1121 may be the same end. Figure 7 In the figure, the second end of the feeding spring 1121 and the third end of the feeding spring 1121 are illustrated as the same end.

[0077] In some examples, the first end of the above-mentioned feeding spring 1121 can be fixedly connected to the feeding end of the antenna 111 (for example, welding, fixing by metal screws, etc.), the second end of the feeding spring 1121 can be electrically connected to the switch component 1123 through a wire, and the third end of the feeding spring 1121 can be electrically connected to the circuit board 112 through a wire.

[0078] In some examples, the fourth end of the feeding spring 1121 may also be connected to the RF module 1124 on the circuit board 112 via a wire.

[0079] In the embodiment of the present application, since the second end of the feed spring 1121 is electrically connected to the circuit board 112, and the first end of the feed spring 1121 is electrically connected to the feed end of the antenna 111, when the electronic device needs to use the antenna 111 for communication, the RF module 1124 on the circuit board 112 can be controlled to send RF signals to the antenna 111 through the feed spring 1121, so that the antenna 111 can send the RF signal to other electronic devices.

[0080] In the embodiment of the present application, since the second end of the feeding spring 1121 is electrically connected to the feeding end of the antenna 111, when the electronic device is charged and the registered frequency band of the electronic device does not match the antenna frequency band of the antenna 111, that is, when the antenna 111 is not in a working state, the switch component 1123 can conduct the passage between the feeding spring 1121 and the metal frame 11, so that the antenna 111 is connected to the ground end of the charging interface 116 through the metal frame 11, that is, the antenna 111 is grounded, so that the charging current can be passed through the battery, the charging chip 1122, The path of the circuit board 112, the feeding spring 1121, the antenna 111 and the switch component 1123 flows to the metal frame 11 and flows to the ground end of the charging interface 116, and can flow from the battery through the charging chip 1122, the ground end of the circuit board 112, the metal frame 11, the antenna 111, the feeding spring 1121 and the switch component 1123 and then flows to the ground end of the charging interface 116 again, and these two paths are both connected in parallel with the path from the battery through the charging chip 1122, the circuit board 112 and the metal frame 11 to the charging interface 116.

[0081] Among them, the ground end of the above-mentioned circuit board 112 can be connected to the metal frame 11 through a metal screw, and the ground end of the circuit board 112 can be regarded as the ground end of the metal frame 11 (it can also be understood as the ground end of the charging interface 116).

[0082] When the switch component 1123 is connected to the ground terminal of the metal housing 11, the charging current can also flow from the battery through the charging chip 1122, the ground terminal of the circuit board 112, the antenna 111, the feeding elastic sheet 1121, the switch component 1123, and the metal housing 11 to the ground terminal of the charging interface 116.

[0083] In some examples, the second end of the above-mentioned feeding elastic sheet 1121 can be electrically connected to any one of at least one port of the switch component 1123.

[0084] It can be seen that since the feeding elastic sheet is electrically connected to the feeding end of the antenna, the switch component, and the circuit board, when the electronic device is charging, the charging current can also flow from the battery through the charging chip, the circuit board, the feeding elastic sheet, the antenna, and the switch component to the ground terminal of the metal housing (i.e., the ground terminal of the charging interface), and can flow from the battery through the charging chip, the ground terminal of the circuit board, the metal housing, the antenna, the feeding elastic sheet, and the switch component to the ground terminal of the metal housing. And these two paths are in parallel with the path from the battery through the charging chip, the circuit board, and the metal housing to the charging interface. Therefore, the impedance corresponding to the path of the charging current flowing from the battery to the ground terminal can be reduced. In this way, the charging efficiency of the electronic device can be improved.

[0085] In some examples, in combination with Figure 7 , the electronic device provided by the embodiment of the present application further includes: a second ground-return elastic sheet 13. The first end of the second ground-return elastic sheet 13 is electrically connected to the second ground-return end 1112 of the antenna 111, and the second end of the second ground-return elastic sheet 13 is electrically connected to the switch component 1123.

[0086] In some examples, the above-mentioned second ground-return elastic sheet 13 can specifically be a metal elastic sheet. The number of the second ground-return elastic sheets 13 can be at least one.

[0087] In some examples, the second ground-return elastic sheet 13 can be connected to multiple ends of the switch component 1123. For example, in Figure 7 , the second ground-return elastic sheet 13 can be connected to RF1, RF2, and RF3 of the switch component 1123.

[0088] In some embodiments of the present application, an isolator 131 is provided on the path where the second end of the second ground-return elastic sheet 13 is electrically connected to the switch component 1123. The isolator 131 is used to isolate the interference of the switch component 1123 on the signals transmitted or received by the RF module 1124. The number of the isolators 131 can be at least one.

[0089] Among them, the isolator 131 can include at least one of the following: an inductor, a capacitor, etc.

[0090] In the embodiments of the present application, since the first end of the second ground spring piece 13 is electrically connected to the second ground end 1112 of the antenna 111, when the electronic device is charging and the registered frequency band of the electronic device does not match the antenna frequency band of the antenna 111, that is, when the antenna 111 is not in the working state, the switch component 1123 can conduct the path between the second ground spring piece 13 and the metal housing 11. In this way, the charging current can flow from the battery through the charging chip 1122, the ground end of the circuit board 112, the metal housing 11, the antenna 111, the second ground spring piece 13, and the switch component 1123 to the ground end of the metal housing 11 (i.e., the ground end of the charging interface 116). This path is in parallel with the path from the battery through the charging chip 1122, the circuit board 112, and the metal housing 11 to the ground end of the charging interface 116.

[0091] It can be seen that since the electronic device may further include a second ground spring piece, the antenna can be electrically connected to the switch component through the second ground spring piece. Therefore, the charging current can flow from the battery through the charging chip, the ground end of the circuit board, the metal housing, the antenna, the second ground spring piece, and the switch component to the ground end of the metal housing (i.e., the ground end of the charging interface). This path is in parallel with the path from the battery through the charging chip, the circuit board, and the metal housing to the ground end of the charging interface, thereby reducing the impedance corresponding to the path of the charging current flowing from the battery to the ground end. In this way, the charging efficiency of the electronic device can be improved.

[0092] In some examples, as Figure 8 shown, the electronic device provided by the embodiments of the present application further includes: a first ground spring piece 12. The first end of the first ground spring piece 12 is electrically connected to the first ground end 1111 of the antenna 111. The second end of the first ground spring piece 12 is electrically connected to the switch component 1123. The third end of the first ground spring piece 12 is connected to the ground end.

[0093] In some examples, the above-mentioned first ground spring piece 12 may be a metal spring piece. Among them, the number of the first ground spring pieces 12 may be at least one.

[0094] In some examples, the above-mentioned first ground spring piece 12 may be a spring piece that returns to the ground through a capacitor at high frequency.

[0095] In some examples, the third end of the above-mentioned first ground spring piece 12 may be the same end as the second end of the first ground spring piece 12. It should be noted that Figure 8 the case where the third end of the first ground spring piece 12 is the same end as the second end of the first ground spring piece 12 is shown for illustration.

[0096] In the embodiment of the present application, since the first end of the first ground spring piece 12 is electrically connected to the first ground end 1111 of the antenna 111, when the electronic device is charging and the registered frequency band of the electronic device does not match the antenna frequency band of the antenna 111, that is, when the antenna 111 is not in the working state, the switch component 1123 can conduct the path between the first ground spring piece 12 and the ground end of the metal housing 11 (i.e., the ground end of the charging interface 116). In this way, the charging current can flow from the battery through the charging chip, the ground end of the circuit board 112, the metal housing 11, the antenna 111, the first ground spring piece 12, and the switch component 1123 to the ground end of the metal housing 11 (i.e., the ground end of the charging interface 116). This path is parallel to the path from the battery through the charging chip 1122, the circuit board 112, and the metal housing 11 to the charging interface 116.

[0097] It can be seen that since the electronic device may further include a first ground spring piece, the antenna can be electrically connected to the switch component through the first ground spring piece. Therefore, the charging current can flow from the battery through the charging chip, the ground end of the circuit board, the metal housing, the antenna, the first ground spring piece, and the switch component to the ground end of the metal housing (i.e., the ground end of the charging interface). This path is parallel to the path from the battery through the charging chip, the circuit board, and the metal housing to the ground end of the charging interface. Thus, the impedance corresponding to the path of the charging current flowing from the battery to the ground end can be reduced, and in this way, the charging efficiency of the electronic device can be improved.

[0098] In some examples, in combination with Figure 8 , the electronic device provided in the embodiment of the present application further includes: a second ground spring piece 13. The first end of the second ground spring piece 13 is electrically connected to the second ground end 1112 of the antenna 111, and the second end of the second ground spring piece 13 is electrically connected to the switch component 1123.

[0099] It should be noted that for the description of the second ground spring piece, reference can be made to the specific description in the above embodiment, and the embodiment of the present application will not elaborate herein.

[0100] In some embodiments of the present application, an isolator 131 is provided on the path where the second end of the second ground spring piece 13 is electrically connected to the switch component 1123. The isolator 131 is used to isolate the interference of the switch component 1123 on the signals transmitted or received by the RF module 1124. The number of the isolators 131 can be at least one.

[0101] Among them, the isolator 131 may include at least one of the following: an inductor, a capacitor, etc.

[0102] It can be seen that since the electronic device may further include a second ground spring piece, the antenna can be electrically connected to the switch component through the second ground spring piece. Therefore, the charging current can flow from the battery through the charging chip, the ground terminal of the circuit board, the metal housing, the antenna, the second ground spring piece, and the switch component to the ground terminal of the metal housing (i.e., the ground terminal of the charging interface). This path is in parallel with the path from the battery through the charging chip, the circuit board, and the metal housing to the ground terminal of the charging interface. Thus, the impedance corresponding to the path for the charging current to flow from the battery to the ground terminal can be reduced, and accordingly, the charging efficiency of the electronic device can be improved.

[0103] In some embodiments of the present application, in combination with Figure 7 and Figure 8 , the electronic device provided by the embodiments of the present application further includes: a shielding component 14, a first end of the shielding component 14 is electrically connected to the switch component 1123, and a second end of the shielding component 14 is electrically connected to the antenna 111; wherein, the shielding component 14 is used to shield the interference of the switch component 1123 on the radio frequency signal of the antenna 111.

[0104] In some examples, the above shielding component 14 includes at least one of the following: an inductor, a capacitor, etc.

[0105] In some examples, the number of the above shielding components 14 may be at least one. For example, Figure 7 and Figure 8 show an example where the number of the shielding components 14 is two.

[0106] It can be seen that since the electronic device may further include a shielding component, and the shielding component is disposed between the antenna and the switch component, the interference of the switch component on the signal transmitted or received by the radio frequency module can be shielded through the shielding component. Therefore, the noise signal in the signal can be reduced, and accordingly, the communication quality of the electronic device can be improved.

[0107] Figure 9 shows a schematic flowchart of the control method provided by the embodiments of the present application. As Figure 9 shown, the control method provided by the embodiments of the present application may include the following step 101 and step 102.

[0108] Step 101: When the electronic device is in a charging state, determine whether the antenna of the electronic device is being used.

[0109] In some embodiments of the present application, the electronic device may obtain the registered frequency bands of the electronic device and determine whether the antenna is being used according to the registered frequency bands.

[0110] In some examples, the number of the above registered frequency bands may include at least one.

[0111] For example, when the number of registered frequency bands is at least two, the electronic device can obtain a set A of registered frequency bands, which includes the registered frequency bands of the electronic device, such as frequency band a, frequency band b, and so on.

[0112] In some embodiments of the present application, when the electronic device is powered on, the electronic device can perform a network search and registration operation and register on the registered frequency band. Thus, the electronic device can accurately determine the registered frequency band according to the registration information of the electronic device.

[0113] In some embodiments of the present application, after the electronic device obtains the registered frequency band, the electronic device can also determine the unregistered frequency band of the electronic device according to all the antenna frequency bands of the electronic device and the registered frequency band. Among them, the number of the unregistered frequency bands can include at least one.

[0114] For example, when the number of unregistered frequency bands is at least two, the electronic device can obtain a set B of unregistered frequency bands, which includes the unregistered frequency bands of the electronic device, such as frequency band c, frequency band d, frequency band e, and so on.

[0115] Step 102: When the antenna of the electronic device is not in use, control the switch component on the circuit board of the electronic device to be in a first state, so that the charging chip on the circuit board and the metal frame of the electronic device form a current return path.

[0116] In some embodiments of the present application, when the antenna frequency band of the antenna associated with the switch component of the electronic device does not match the registered frequency band, the electronic device can determine that the antenna is not in use, so that the electronic device can control the switch component to be in the first state.

[0117] In some embodiments of the present application, the electronic device can determine whether the antenna frequency band of the antenna associated with the switch component of the electronic device matches the registered frequency band according to the above-mentioned set B of unregistered frequency bands. It can be understood that if the antenna frequency band of an antenna associated with a switch component belongs to the set B of unregistered frequency bands, it can be considered that the registered frequency band does not match the antenna frequency band of the antenna associated with the switch component. If the antenna frequency band of an antenna associated with a switch component belongs to the set A of registered frequency bands, it can be considered that the registered frequency band matches the antenna frequency band of the antenna associated with the switch component.

[0118] In some embodiments of the present application, in combination with Figure 9 , as Figure 10 shown, the above step 102 can be specifically implemented by the following step 102a.

[0119] Step 102a: When the antenna of the electronic device is not in use and the electronic device enters the fast charging mode, the switch component is controlled to be in the first state, so that a current return path is formed between the charging chip on the circuit board and the metal housing of the electronic device.

[0120] In some embodiments of the present application, the electronic device can determine whether the electronic device enters the fast charging mode according to the charging interface detection and the charging protocol.

[0121] Among them, the charging interface includes a detection pin (pin), and the impedance changes when the charging cable is inserted. After the charging interface is connected to the charging cable, the charging interface and the charging chip of the charging cable can implement charging protocol communication confirmation, and enter the fast charging mode after confirmation. Thus, the electronic device can determine whether the impedance changes through the detection pin to determine whether the charging interface is connected to the charging cable, and determine whether the electronic device is charging. Moreover, the electronic device can determine whether the electronic device enters the fast charging mode by confirming whether the charging protocol matches the charging protocol of the fast charging mode.

[0122] In some embodiments of the present application, when the electronic device determines that the antenna frequency band of the antenna associated with the switch component belongs to the unregistered frequency band set B, the electronic device can first configure the state of the control component of the switch component to the best isolation state ANT_x_reg[1], and then, when the electronic device is charging and the electronic device enters the fast charging mode, configure the state of the control component of the switch component to the minimum impedance through state ANT_x_reg[2], so that the control component can control the switch component to be in the first state. Wherein, x is used to identify a frequency band.

[0123] It can be seen that since the electronic device can control the switch component to be in the first state only when the electronic device is charging and the electronic device enters the fast charging mode, on the one hand, it can avoid the impact on the communication performance of the electronic device caused by the formation of a current return path between the charging chip and the metal housing when the electronic device is not charging; on the other hand, it can improve the charging efficiency of the electronic device in the fast charging mode. In this way, while ensuring the communication performance of the electronic device, the charging efficiency of the electronic device in the fast charging mode can be improved.

[0124] In some embodiments of the present application, when the electronic device determines that the antenna frequency band of the antenna associated with the switch component belongs to the registered frequency band set A, the electronic device can configure the state of the control component of the switch component to the best antenna efficiency state ANT_x_reg[0], so that the control component can control the switch component to be in the second state to avoid the situation where the electronic device cannot communicate through the registered frequency band.

[0125] The embodiments of the present application provide a control method. When the electronic device is in a charging state, the electronic device can determine whether the antenna of the electronic device is being used; and when the antenna is not being used, the electronic device can control the switch component on the circuit board of the electronic device to be in a first state, so that the charging chip on the circuit board and the metal housing of the electronic device form a return current path. Since when the antenna is not being used, the electronic device can control the switch component to be in the first state, so that the charging chip on the circuit board and the metal housing of the electronic device form a return current path. In this way, in addition to the charging current flowing to the ground through the path from the battery of the electronic device through the charging chip, the ground terminal of the circuit board, and the metal housing to the charging interface of the electronic device, the charging current can also flow to the ground through a path from the battery through the charging chip, the circuit board, the feeding elastic sheet, the antenna, the switch component, and the metal housing to the charging interface. And this path from the battery through the charging chip, the ground terminal of the circuit board, the metal housing, the antenna, the switch component, and the metal housing to the charging interface flows to the ground, and these two paths are in parallel. Therefore, the impedance corresponding to the path of the charging current flowing from the battery to the charging interface can be reduced, thereby reducing the charging time of the electronic device. On the other hand, since the electronic device controls the switch component to be in the first state only when the antenna is not being used, that is to say, when the antenna is being used, the electronic device can not control the switch component to be in the first state, which can avoid the interference caused by the charging chip and the metal housing forming a return current path to the radio frequency module transmitting or receiving signals through the feeding elastic sheet and the antenna. Therefore, the situation that the electronic device cannot use this antenna for communication can be avoided, thereby ensuring the communication quality of the electronic device. In this way, while ensuring the communication quality of the electronic device, the charging efficiency of the electronic device can be improved.

[0126] In some embodiments of the present application, the control method provided by the embodiments of the present application may further include the following step 201.

[0127] Step 201: When the electronic device is in a non-charging state, the electronic device controls the switch component to be in a second state, so that the antenna is electrically connected to the radio frequency module on the circuit board through the feeding elastic sheet on the circuit board.

[0128] It can be seen that since the electronic device can control the switch component to be in the second state when the electronic device is in a non-charging state, this can avoid the interference caused by the charging chip and the metal housing forming a return current path to the radio frequency module transmitting or receiving signals through the feeding elastic sheet and the antenna. Therefore, the situation that the electronic device cannot use this antenna for communication can be avoided, thereby ensuring the communication quality of the electronic device.

[0129] In some embodiments of the present application, in combination with Figure 9 , such as Figure 11As shown, after step 102 above, the control method provided by the embodiments of the present application may further include the following step 103.

[0130] Step 103: When the electronic device exits the fast charging mode, the electronic device controls the switch component to be in the second state, so that the antenna is electrically connected to the radio frequency module on the circuit board through the feeding elastic sheet on the circuit board.

[0131] Thus, it can be known that when the electronic device exits the fast charging mode, that is, when the electronic device may not require a high charging efficiency, the electronic device can control the switch component to be in the second state. Therefore, it can be avoided that the charging chip and the metal frame form a reflux path, which causes interference to the signal transmitted or received by the radio frequency module through the feeding elastic sheet and the antenna. In this way, the communication quality of the electronic device can be avoided from being affected.

[0132] In some embodiments of the present application, as Figure 12 shown, the embodiments of the present application further provide an electronic device 30, including a processor 31 and a memory 32. A program or instruction that can run on the processor 31 is stored on the memory 32. When the program or instruction is executed by the processor 31, each process step of the above control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.

[0133] It should be noted that the electronic device in the embodiments of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.

[0134] Figure 13 It is a schematic diagram of the hardware structure of an electronic device for implementing an embodiment of the present application.

[0135] The electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110 and other components.

[0136] Those skilled in the art can understand that the electronic device 100 may further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 13 The structure of the electronic device shown in does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0137] Among them, the processor 110 is configured to determine whether the antenna of the electronic device is in use when the electronic device is in a charging state; and when the antenna is not in use, control the switch component on the circuit board of the electronic device to be in a first state, so that the charging chip on the circuit board and the metal housing of the electronic device form a return current path.

[0138] An embodiment of the present application provides an electronic device. Since when the antenna is not in use, the electronic device can control the switch component to be in the first state, so that the charging chip on the circuit board and the metal housing of the electronic device form a return current path. In this way, in addition to the charging current flowing to the ground terminal through the path from the battery of the electronic device through the charging chip, the ground terminal of the circuit board, and the metal housing to the charging interface of the electronic device, the charging current can also flow from the battery through the charging chip, the circuit board, the feeding elastic sheet, the antenna, the switch component, and the metal housing to the charging interface to the ground terminal. And this path from the battery through the charging chip, the ground terminal of the circuit board, the metal housing, the antenna, the switch component, and the metal housing to the charging interface flows to the ground terminal, and these two paths are in parallel. Therefore, the impedance corresponding to the path of the charging current flowing from the battery to the charging interface can be reduced, thereby reducing the charging time of the electronic device. On the other hand, since the electronic device controls the switch component to be in the first state only when the antenna is not in use, that is to say, when the antenna is in use, the electronic device can not control the switch component to be in the first state, which can avoid the interference caused by the charging chip and the metal housing forming a return current path to the radio frequency module transmitting or receiving signals through the feeding elastic sheet and the antenna. Therefore, the situation where the electronic device cannot use the antenna for communication can be avoided, thereby ensuring the communication quality of the electronic device. In this way, while ensuring the communication quality of the electronic device, the charging efficiency of the electronic device can be improved.

[0139] In a possible implementation manner, the processor 110 is specifically configured to control the switch component to be in the first state when the electronic device enters the fast charging mode.

[0140] In a possible implementation manner, the processor 110 is further configured to control the switch component to be in a second state when the electronic device is in a non-charging state, so that the antenna is electrically connected to the radio frequency module on the circuit board through the feeding elastic sheet on the circuit board.

[0141] It should be understood that in the embodiments of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processing unit 1041 processes the image data of static pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. The other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, which will not be elaborated herein.

[0142] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synch link DRAM (SLDRAM), and a direct rambus RAM (DRRAM). The memory 109 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memories.

[0143] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110 either.

[0144] The embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it realizes each process of the above control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0145] Among them, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disc, etc.

[0146] The embodiment of the present application further provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instruction to realize each process of the above control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0147] It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, system chip, chip system or system-on-chip, etc.

[0148] The embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to realize each process of the above control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0149] It should be noted that in this text, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, article or device comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in the reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.

[0150] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0151] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Those of ordinary skill in the art, under the inspiration of the present application and without departing from the spirit of the present application and the scope protected by the claims, can still make many forms, all of which fall within the protection scope of the present application.

Claims

1. An electronic device, characterized in that: include: A metal frame, wherein an antenna is arranged on the metal frame, a circuit board is arranged inside the metal frame, a feeding spring, a charging chip and a switch component are arranged on the circuit board, and the feeding spring is electrically connected to the antenna; Wherein, when the electronic device is in a charging state, the switch assembly is in a first state so that the charging chip and the metal frame form a reflux path; When the electronic device is in a non-charging state, the switch component is in a second state, and the antenna is electrically connected to the radio frequency module on the circuit board through the feeding spring.

2. The method according to claim 1, characterized in that The switch assembly comprises: at least one switch, wherein a first end of the switch is electrically connected to the antenna, and a second end of the switch is electrically connected to the metal frame; Wherein, when the switch component is in the first state, at least part of the switches are turned on; when the switch component is in the second state, the switches are turned off.

3. The method according to claim 2, characterized in that The switch assembly further comprises: a control component, the control component being electrically connected to the switch; Wherein, the control component is used to control at least part of the switches to be turned on when the electronic device is in a charging state, so that the switch component is in the first state; or, Used to control the switch to be disconnected when the electronic device is in a non-charging state, so that the switch component is in the second state.

4. The electronic device according to claim 1, characterized in that: The first end of the feeding spring is electrically connected to the feeding end of the antenna, the second end of the feeding spring is electrically connected to the switch component, and the third end of the feeding spring is electrically connected to the circuit board.

5. The electronic device according to claim 1, characterized in that: The electronic device further comprises: A first ground return spring sheet, wherein a first end of the first ground return spring sheet is electrically connected to a first ground return end of the antenna, a second end of the first ground return spring sheet is electrically connected to the switch assembly, and a third end of the first ground return spring sheet is connected to the ground end.

6. The electronic device according to claim 4 or 5, characterized in that: The electronic device further comprises: A second ground return spring sheet, wherein a first end of the second ground return spring sheet is electrically connected to a second ground return end of the antenna, and a second end of the second ground return spring sheet is electrically connected to the switch assembly.

7. The electronic device according to claim 1, characterized in that: The electronic device further comprises: a shielding component, wherein a first end of the shielding component is electrically connected to the switch assembly, and a second end of the shielding component is electrically connected to the antenna; Wherein, the shielding component is used to shield the interference of the switch component on the radio frequency signal of the antenna.

8. A control method, applied to the electronic device according to any one of claims 1 to 7, characterized in that: The method comprises: When the electronic device is in a charging state, determining whether an antenna of the electronic device is used; When the antenna is not in use, the switch component on the circuit board of the electronic device is controlled to be in a first state, so that the charging chip on the circuit board and the metal frame of the electronic device form a return path.

9. The method according to claim 8, characterized in that The switch component on the circuit board of the electronic device is controlled to be in a first state, comprising: When the electronic device enters the fast charging mode, the switch component is controlled to be in the first state.

10. The method according to claim 8, characterized in that The method further comprises: When the electronic device is in a non-charging state, the switch component is controlled to be in the second state so that the antenna is electrically connected to the radio frequency module on the circuit board through the feeding spring on the circuit board.

11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the control method according to any one of claims 8 to 10 are implemented.

12. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the control method according to any one of claims 8 to 10 are implemented.