Electronic device and control method
By designing and switching circuits in the electronic device, the camera decoration ring is used as the NFC coil when the NFC function is used to solve the problem of the NFC coil layout affected by the camera, and the success rate of NFC function is improved.
Patent Information
- Application Number
- CN202411486564.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-24
AI Technical Summary
The layout of NFC coils in electronic devices is affected by the layout tension and performance caused by the increase in the number and volume of cameras, resulting in a decrease in the success rate of NFC function.
Design an electronic device, including an NFC coil, a camera decorative ring and a switching circuit. By adjusting the status of the switching circuit, the camera decorative ring can be reused as an NFC coil enhancement part when the NFC function is used, or remain grounded to avoid interference.
By dynamically adjusting the grounding status of the camera decorative ring, the receiving strength of the NFC signal by the electronic device is improved, and the success rate of using the NFC function is enhanced.
Smart Images

Figure CN119363905A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic technology, and specifically relates to an electronic device and a control method. Background Art
[0002] The NFC (Near Field Communication) coil of an electronic device is usually located in the middle or top of the back of the electronic device, so that the user can easily bring the electronic device close to other devices to read the NFC tag when using the NFC function.
[0003] However, the NFC coil is set near the camera of the electronic device. With the continuous development of electronic technology, the number of cameras in electronic devices is increasing and the size is getting larger and larger. As a result, the layout and stacking space are tight, which affects the layout and performance of the NFC coil. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an electronic device and a control method, which can improve the success rate of using the NFC function of the electronic device.
[0005] In a first aspect, an embodiment of the present application provides an electronic device, which includes an NFC coil, a camera decorative ring and a switching circuit, wherein the NFC coil and the camera decorative ring are concentric and spaced apart, and the switching circuit is connected to at least the camera decorative ring, wherein: when the switching circuit is in a first state, the camera decorative ring and the NFC coil jointly receive an NFC signal; when the switching circuit is in a second state, the camera decorative ring is grounded through the switching circuit.
[0006] In a second aspect, an embodiment of the present application provides a control method, which is applied to an electronic device as in the first aspect, the electronic device including an NFC coil, a camera decorative ring and a switching circuit, the control method including: when the electronic device is in a near field communication mode, controlling the switching circuit to be in a first state so that the camera decorative ring and the NFC coil jointly receive the NFC signal; when the electronic device is not in the near field communication mode, controlling the switching circuit to be in a second state so that the camera decorative ring is grounded.
[0007] In a third aspect, an embodiment of the present application provides a control device, which is applied to an electronic device as in the first aspect, wherein the electronic device includes an NFC coil, a camera decorative ring and a switching circuit, and the control device includes: a control unit, which is used to control the switching circuit to be in a first state when the electronic device is in a near field communication mode, so that the camera decorative ring and the NFC coil receive the NFC signal together; the control unit is also used to control the switching circuit to be in a second state when the electronic device is not in the near field communication mode, so that the camera decorative ring is grounded.
[0008] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the control method of the second aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a readable storage medium having a program or instruction stored thereon, and when the program or instruction is executed by a processor, the steps of the control method of the second aspect are implemented.
[0010] In a sixth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the control method of the second aspect.
[0011] In a seventh aspect, 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 control method of the second aspect.
[0012] The electronic device provided by the embodiment of the present application includes an NFC coil, a camera decorative ring and a switching circuit. The NFC coil and the camera decorative ring are concentric and spaced apart. The switching circuit is at least connected to the camera decorative ring, wherein: when the switching circuit is in a first state, the camera decorative ring and the NFC coil receive NFC signals together; when the switching circuit is in a second state, the camera decorative ring is grounded through the switching circuit. Through the above electronic device, the camera decorative ring is designed as a winding coil, and a switching circuit is added, and then by adjusting the working state of the switching circuit, the camera decorative ring and the NFC coil are controlled to receive NFC signals together, or the camera decorative ring is controlled to be grounded. In this way, the camera decorative ring is designed as a winding coil, so that the camera decorative ring can be used as an NFC coil enhancement part, which is convenient for dynamically adjusting the grounding state of the camera decorative ring according to the use scenario of the electronic device, so that when the electronic device does not use the NFC function, the camera decorative ring is kept grounded, and when the electronic device uses the NFC function, the camera decorative ring is reused as an NFC coil to increase the reception strength of the electronic device to the NFC signal, thereby improving the success rate of using the NFC function of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 One of the structural schematic diagrams of the electronic device provided in the embodiment of the present application;
[0014] Figure 2 One of the structural schematic diagrams of the switching circuit provided in the embodiment of the present application;
[0015] Figure 3 A second structural diagram of an electronic device provided in an embodiment of the present application;
[0016] Figure 4 The second structural diagram of the switching circuit provided in the embodiment of the present application;
[0017] Figure 5 A schematic diagram of the NFC coil, camera decorative ring and NFC card swiping position provided in the embodiment of the present application;
[0018] Figure 6 One of the working flow diagrams of the NFC circuit provided in the embodiment of the present application;
[0019] Figure 7 The second working flow diagram of the NFC circuit provided in the embodiment of the present application;
[0020] Figure 8 A flow chart of a control method provided in an embodiment of the present application;
[0021] Fig. 9 A structural block diagram of a control device provided in an embodiment of the present application;
[0022] Fig.10 A structural block diagram of an electronic device provided in an embodiment of the present application;
[0023] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0024] Figures 1 to 4 Reference numerals in the figures:
[0025] 100 electronic device, 102 NFC coil, 104 camera decoration ring, 106 switching circuit, 108 first switch, 110 second switch, 112 third switch, 114 fourth switch, 116 fifth switch, 118 first capacitor, 120 second capacitor, 124 rectifier circuit, 126 sixth switch, 128 seventh switch. DETAILED DESCRIPTION
[0026] The embodiments of the present application will be described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0027] The features of the terms "first" and "second" in the specification and claims of this application may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.
[0028] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0029] Combine the following Figure 1-Figure 11 The electronic device and the control method according to the embodiments of the present application are described in detail.
[0030] like Figure 1 and Figure 3 As shown, an embodiment of the present application provides an electronic device 100. The electronic device 100 includes a camera decorative ring 104, and the camera decorative ring 104 is designed in the form of a winding coil.
[0031] Furthermore, the electronic device 100 also includes an NFC coil 102 and a switching circuit 106 .
[0032] The NFC coil 102 and the camera decoration ring 104 are concentric and spaced apart.
[0033] Furthermore, the NFC coil 102 is used to receive NFC signals.
[0034] Furthermore, the switching circuit 106 is connected to at least the camera decorative ring 104 .
[0035] During the operation of the electronic device 100, the camera decorative ring 104 is in a grounded state by default. When the electronic device 100 is in a near field communication mode, that is, in a scenario where the electronic device 100 needs to use the NFC function, the switching circuit 106 is in a first state. At this time, the switching circuit 106 reuses the camera decorative ring 104 as an NFC coil, so that the camera decorative ring 104 is used as an enhanced part of the NFC coil 102, so that the camera decorative ring 104 and the NFC coil 102 receive the NFC signal together, thereby enhancing the reception strength of the NFC signal by the electronic device 100, avoiding the camera decorative ring 104 from affecting the reception signal of the NFC coil 102, and ensuring the success rate of the electronic device using the NFC function. When the electronic device 100 is not in a near field communication mode, that is, in a scenario where the electronic device 100 does not need to use the NFC function, the switching circuit 106 is in a second state. At this time, the switching circuit 106 controls the camera decorative ring 104 to remain grounded.
[0036] It is understandable that if Figure 5As shown in the figure, if the NFC coil of the electronic device is arranged inside the camera decorative ring, when the electronic device is swiping the NFC card against the gate coil, the field strength received by the NFC coil is relatively small. In the related art, in order to ensure the NFC card swiping area, the threshold for waking up NFC and the threshold for controlling NFC to start communication are set too low, which will worsen the crash problem when swiping the NFC card.
[0037] Therefore, in the electronic device 100 of the embodiment of the present application, the camera decorative ring 104 is designed to be a winding coil, so that the camera decorative ring 104 can be used as an enhanced part of the NFC coil 102, and a switching circuit 106 is added, and then according to the usage scenario of the electronic device 100, when the electronic device 100 uses the NFC function, the camera decorative ring 104 is multiplexed as an NFC coil through the switching circuit 106, so that the camera decorative ring 104 and the NFC coil receive the NFC signal together, thereby increasing the reception strength of the NFC signal by the electronic device 100, and when the electronic device 100 does not use the NFC function, the camera decorative ring 104 is kept grounded through the switching circuit 106.
[0038] In actual application, the camera decoration ring 104 can also be reused as a relay coil, and the relay coil can be used to increase the NFC area, thereby improving the success rate of NFC card swiping.
[0039] According to the electronic device 100 of the embodiment of the present application, it includes a camera decorative ring 104, an NFC coil 102 and a switching circuit 106. Among them, the NFC coil 102 and the camera decorative ring 104 are concentric and spaced apart, and the switching circuit 106 is at least connected to the camera decorative ring 104. Further, when the switching circuit 106 is in a first state, the camera decorative ring 104 and the NFC coil 102 receive the NFC signal together; when the switching circuit 106 is in a second state, the camera decorative ring 104 is grounded through the switching circuit 106. Through the above electronic device 100, the camera decorative ring 104 is designed as a winding coil, and the switching circuit 106 is added, and then by adjusting the working state of the switching circuit 106, the camera decorative ring 104 and the NFC coil 102 are controlled to receive the NFC signal together, or the camera decorative ring 104 is controlled to be grounded. In this way, the camera decorative ring 104 is designed as a winding coil, so that the camera decorative ring 104 can be used as an enhanced part of the NFC coil 102, which is convenient for dynamically adjusting the grounding state of the camera decorative ring 104 according to the usage scenario of the electronic device 100, so as to keep the camera decorative ring 104 grounded when the electronic device 100 is not using the NFC function, and when the electronic device 100 is using the NFC function, the camera decorative ring 104 is multiplexed as an NFC coil to increase the reception strength of the electronic device 100 to the NFC signal, thereby improving the success rate of using the NFC function of the electronic device 100.
[0040] According to some embodiments of the present application, optionally, Figure 1 As shown, the switching circuit 106 can be connected between the NFC coil 102 and the camera decorative ring 104. Figure 2 As shown, the switching circuit 106 includes a first switch 108 , a second switch 110 , a third switch 112 , a fourth switch 114 , and a fifth switch 116 .
[0041] The first switch 108 is a single-pole single-throw switch. A first end of the first switch 108 is connected to a first end of the NFC coil 102 , and a second end of the first switch 108 is connected to a second end of the NFC coil 102 .
[0042] Further, the second switch 110 is a single-pole single-throw switch. A first end of the second switch 110 is connected to a first end of the first switch 108 , and a second end of the second switch 110 is connected to the fifth switch 116 .
[0043] Further, the third switch 112 is a single-pole single-throw switch. A first end of the third switch 112 is connected to a second end of the first switch 108 , and a second end of the third switch 112 is connected to the fourth switch 114 .
[0044] Further, the fourth switch 114 is a single-pole double-throw switch. A first end D1 of the fourth switch 114 is grounded, a second end D2 of the fourth switch 114 is connected to the second end of the third switch 112 , and a third end D of the fourth switch 114 is connected to the second end of the camera decorative ring 104 .
[0045] Further, the fifth switch 116 is a single-pole double-throw switch. A first end E1 of the fifth switch 116 is grounded, a second end E2 of the fifth switch 116 is connected to the second end of the second switch 110 , and a third end E of the fifth switch 116 is connected to the first end of the camera decorative ring 104 .
[0046] During the operation of the electronic device 100, the camera decorative ring 104 is in a grounded state by default. When the electronic device 100 is in a near field communication mode, that is, when the electronic device 100 needs to use the NFC function, the connection state of the first switch 108, the second switch 110, the third switch 112, the fourth switch 114, and the fifth switch 116 is controlled to disconnect the camera decorative ring 104 from the ground, and connect the first end of the NFC coil 102 to the first end of the camera decorative ring 104, and connect the second end of the NFC coil 102 to the second end of the camera decorative ring 104, so as to conduct the NFC coil 102 and the camera decorative ring 104, thereby increasing the area of the NFC coil and improving the success rate of the electronic device using the NFC function. When the electronic device 100 is not in the near field communication mode, that is, when the electronic device 100 does not need to use the NFC function, the connection state of the first switch 108, the second switch 110, the third switch 112, the fourth switch 114 and the fifth switch 116 is controlled to disconnect the connection between the camera decorative ring 104 and the NFC coil 102, and control the camera decorative ring 104 to be grounded. In this way, by adding a switching circuit 106 between the camera decorative ring 104 and the NFC coil 102, and using the switch in the switching circuit 106 to control the camera decorative ring 104 to be connected to the NFC coil 102, or to control the camera decorative ring 104 to be grounded, the area of the NFC coil can be increased when the electronic device 100 uses the NFC function, thereby increasing the reception strength of the electronic device 100 to the NFC signal, and improving the success rate of the electronic device 100 using the NFC function.
[0047] According to the electronic device 100 of the embodiment of the present application, the switching circuit 106 includes a first switch 108, a second switch 110, a third switch 112, a fourth switch 114 and a fifth switch 116. Among them, the first end of the first switch 108 is connected to the first end of the NFC coil 102, and the second end of the first switch 108 is connected to the second end of the NFC coil 102; the first end of the second switch 110 is connected to the first end of the first switch 108; the first end of the third switch 112 is connected to the second end of the first switch 108; the first end of the fourth switch 114 is grounded, the second end of the fourth switch 114 is connected to the second end of the third switch 112, and the third end of the fourth switch 114 is connected to the second end of the camera decorative ring 104; the first end of the fifth switch 116 is grounded, the second end of the fifth switch 116 is connected to the second end of the second switch 110, and the third end of the fifth switch 116 is connected to the first end of the camera decorative ring 104. In this way, a switching circuit 106 is added between the camera decorative ring 104 and the NFC coil 102, and the switch in the switching circuit 106 is used to control the connection between the camera decorative ring 104 and the NFC coil 102, or to control the camera decorative ring 104 to be grounded. When the electronic device 100 uses the NFC function, the area of the NFC coil can be increased, thereby increasing the receiving strength of the electronic device 100 for the NFC signal and improving the success rate of the electronic device 100 using the NFC function.
[0048] According to some embodiments of the present application, optionally, when the switching circuit 106 is connected between the NFC coil 102 and the camera decorative ring 104, when the electronic device 100 is not in the near field communication mode, that is, when the electronic device 100 does not need to use the NFC function, the switching circuit 106 is in the second state and the electronic device 100 is in the default state.
[0049] When the switching circuit 106 is in the second state, the first switch 108 is closed, the second switch 110 and the third switch 112 are opened, the third end D of the fourth switch 114 is connected to the first end D1 of the fourth switch 114, and the third end E of the fifth switch 116 is connected to the first end E1 of the fifth switch 116. At this time, the camera decorative ring 104 is grounded through the switching circuit 106, and the NFC coil 102 is connected alone.
[0050] Furthermore, when the electronic device 100 is in the near field communication mode, that is, when the electronic device 100 needs to use the NFC function, the switching circuit 106 is in the first state, and the electronic device 100 is in the NFC enhanced state.
[0051] When the switching circuit 106 is in the first state, the first switch 108 is opened, the second switch 110 and the third switch 112 are closed, the third end D of the fourth switch 114 is connected to the second end D2 of the fourth switch 114, and the third end E of the fifth switch 116 is connected to the second end E2 of the fifth switch 116. At this time, the camera decorative ring 104 is disconnected from the ground, and the camera decorative ring 104 is connected to the NFC coil 102 through the switching circuit 106, and the camera decorative ring 104 and the NFC coil 102 receive the NFC signal together.
[0052] In actual application, based on the different NFC states of the electronic device 100 , the switching logic of each switch in the switching circuit 106 may be specifically as shown in Table 1 below.
[0053] Table 1: NFC status and switch logic table
[0054] NFC status First switch Second switch Third switch Fourth switch Fifth switch Default state closure disconnect disconnect D connects to D1 E connects to E1 Enhanced status disconnect closure closure D connects to D2 E connects to E2
[0055] For example, Figure 6 As shown, when the electronic device 100 provided by the embodiment of the present application performs NFC card swiping, the working process of the electronic device 100 may specifically include the following S302 to S314:
[0056] S302: The NFC status is the default status.
[0057] S304: Determine: There is an NFC signal input, if yes, execute S306, if not, execute S302.
[0058] S306: The first switch is turned off.
[0059] S308: The second switch and the third switch are closed.
[0060] S310: The fourth switch: D is connected to D2, and the fifth switch: E is connected to E2.
[0061] S312: The NFC state changes to the enhanced state.
[0062] S314: Determine: NFC card swiping is successful, if so, end the process, if not, execute S306.
[0063] According to the electronic device 100 of the embodiment of the present application, when the switching circuit 106 is in the second state, the first switch 108 is closed, the second switch 110 and the third switch 112 are opened, the third end of the fourth switch 114 is connected to the first end of the fourth switch 114, the third end of the fifth switch 116 is connected to the first end of the fifth switch 116, and the camera decorative ring 104 is grounded through the switching circuit 106; when the switching circuit 106 is in the first state, the first switch 108 is opened, the second switch 110 and the third switch 112 are closed, the third end of the fourth switch 114 is connected to the second end of the fourth switch 114, and the third end of the fifth switch 116 is connected to the second end of the fifth switch 116, so as to turn on the NFC coil 102 and the camera decorative ring 104, and the camera decorative ring 104 and the NFC coil jointly receive the NFC signal. In this way, by using the switch in the switching circuit 106 to control the connection between the camera decorative ring 104 and the NFC coil 102, or to control the camera decorative ring 104 to be grounded, the area of the NFC coil can be increased when the electronic device 100 uses the NFC function, thereby increasing the reception strength of the electronic device 100 to the NFC signal, and improving the success rate of the electronic device 100 using the NFC function.
[0064] According to some embodiments of the present application, optionally, Figure 2 As shown, the switching circuit 106 further includes a first capacitor 118 and a second capacitor 120 .
[0065] The first end of the first capacitor 118 is connected to the first end of the first switch 108 , and the second end of the first capacitor 118 is connected to the first end of the second switch 110 .
[0066] Further, a first end of the second capacitor 120 is connected to a second end of the first switch 108 , and a second end of the second capacitor 120 is connected to a first end of the third switch 112 .
[0067] During the operation of the electronic device 100 , the first capacitor 118 and the second capacitor 120 are used as resonant capacitors to adjust the resonant frequency of the NFC coil 102 and the camera decorative ring 104 after they are turned on, so that the camera decorative ring 104 is used as an enhanced part of the NFC coil 102 .
[0068] The capacitance values of the first capacitor 118 and the second capacitor 120 satisfy that the resonant frequency of the NFC coil 102 and the camera decorative ring 104 after being turned on is consistent with the resonant frequency of the single NFC coil 102. Thus, compared with the single NFC coil 102, the NFC coil 102 and the camera decorative ring 104 after being turned on can be used as a NFC coil with a larger area, so that the camera decorative ring 104 can be reused as an NFC coil, the area of the NFC coil is increased, and the success rate of the electronic device 100 using the NFC function is improved.
[0069] Furthermore, the capacitance values of the first capacitor 118 and the second capacitor 120 are fixed values. In actual application, the specific capacitance values of the first capacitor 118 and the second capacitor 120 can be selected according to actual conditions and are not specifically limited here.
[0070] According to the electronic device 100 of the embodiment of the present application, the switching circuit 106 further includes a first capacitor 118 and a second capacitor 120. The first end of the first capacitor 118 is connected to the first end of the first switch 108, and the second end of the first capacitor 118 is connected to the first end of the second switch 110. The first end of the second capacitor 120 is connected to the second end of the first switch 108, and the second end of the second capacitor 120 is connected to the first end of the third switch 112; wherein, the capacitance values of the first capacitor 118 and the second capacitor 120 satisfy: the resonant frequency of the NFC coil 102 and the camera decorative ring 104 after being turned on is consistent with the resonant frequency of the single NFC coil 102. In this way, by adjusting the resonant frequency of the NFC coil 102 and the camera decorative ring 104 after being turned on by the first capacitor 118 and the second capacitor 120, the camera decorative ring 104 can be reused as the NFC coil, so that the camera decorative ring 104 is used as the enhanced part of the NFC coil 102, the area of the NFC coil is increased, and the success rate of the electronic device 100 using the NFC function is improved.
[0071] According to some embodiments of the present application, optionally, Figure 3 As shown, the switching circuit 106 can be connected only to the camera decorative ring 104. Figure 4 As shown, the switching circuit 106 includes a rectifier circuit 124 , a sixth switch 126 , and a seventh switch 128 .
[0072] The first end of the rectifier circuit 124 is connected to the sixth switch 126 , and the second end of the rectifier circuit 124 is connected to the seventh switch 128 .
[0073] Further, the sixth switch 126 is a single-pole double-throw switch. A first terminal F1 of the sixth switch 126 is grounded, a second terminal F2 of the sixth switch 126 is connected to a first terminal of the rectifier circuit 124 , and a third terminal F of the sixth switch 126 is connected to a second terminal of the camera decorative ring 104 .
[0074] Further, the seventh switch 128 is a single-pole double-throw switch. A first end G1 of the seventh switch 128 is grounded, a second end G2 of the seventh switch 128 is connected to the second end of the rectifier circuit 124 , and a third end G of the seventh switch 128 is connected to the first end of the camera decorative ring 104 .
[0075] Furthermore, the rectifier circuit 124 is used to adjust the resonant frequency of the camera decorative ring 104. When the rectifier circuit 124 and the camera decorative ring 104 are turned on, the rectifier circuit 124 can adjust the resonant frequency of the camera decorative ring 104 to reuse the camera decorative ring 104 as an NFC coil, thereby increasing the number of NFC coils and allowing two NFC coils to work simultaneously. At this time, the two NFC coils simultaneously sense the NFC signal, which enhances the reception strength of the electronic device 100 for the NFC signal. The electronic device 100 can use the NFC signal with the best signal quality received by the two NFC coils, thereby improving the success rate of the electronic device 100 using the NFC function.
[0076] Specifically, during the operation of the electronic device 100, the camera decorative ring 104 is in a grounded state by default. When the electronic device 100 is in a near field communication mode, that is, when the electronic device 100 needs to use the NFC function, the connection state of the sixth switch 126 and the seventh switch 128 is controlled to disconnect the connection between the camera decorative ring 104 and the ground, and the camera decorative ring 104 and the rectifier circuit 124 are turned on to adjust the resonant frequency of the camera decorative ring 104 through the rectifier circuit 124, so that the camera decorative ring 104 is reused as an NFC coil. When the electronic device 100 is not in a near field communication mode, that is, when the electronic device 100 does not need to use the NFC function, the connection state of the sixth switch 126 and the seventh switch 128 is controlled to disconnect the connection between the camera decorative ring 104 and the rectifier circuit 124, and the camera decorative ring 104 is controlled to be grounded. In this way, a switching circuit 106 is set on the camera decorative ring 104, and the switch and the rectifier circuit 124 in the switching circuit 106 are used to control the resonant frequency of the camera decorative ring 104. When the electronic device 100 uses the NFC function, the camera decorative ring 104 can be reused as an NFC coil, thereby increasing the number of NFC coils, increasing the receiving strength of the electronic device 100 for the NFC signal, and improving the success rate of the electronic device 100 using the NFC function.
[0077] According to the electronic device 100 of the embodiment of the present application, the switching circuit 106 includes a rectifier circuit 124, a sixth switch 126 and a seventh switch 128. The rectifier circuit 124 is used to adjust the resonant frequency of the camera decorative ring 104; the first end of the sixth switch 126 is grounded, the second end of the sixth switch 126 is connected to the first end of the rectifier circuit 124, and the third end of the sixth switch 126 is connected to the second end of the camera decorative ring 104; the first end of the seventh switch 128 is grounded, the second end of the seventh switch 128 is connected to the second end of the rectifier circuit 124, and the third end of the seventh switch 128 is connected to the first end of the camera decorative ring 104. In this way, the switching circuit 106 is set on the camera decorative ring 104, and the resonant frequency of the camera decorative ring 104 is controlled by using the switch in the switching circuit 106 and the rectifier circuit 124. When the electronic device 100 uses the NFC function, the camera decorative ring 104 can be reused as an NFC coil, thereby increasing the number of NFC coils, increasing the receiving strength of the electronic device 100 to the NFC signal, and improving the success rate of the electronic device 100 using the NFC function.
[0078] According to some embodiments of the present application, optionally, when the switching circuit 106 is connected only to the camera decorative ring 104, when the electronic device 100 is not in near field communication mode, that is, when the electronic device 100 does not need to use the NFC function, the switching circuit 106 is in the second state and the electronic device 100 is in the default state.
[0079] When the switching circuit 106 is in the second state, the third end F of the sixth switch 126 is connected to the first end F1 of the sixth switch 126, and the third end G of the seventh switch 128 is connected to the first end G1 of the seventh switch 128. At this time, the camera decorative ring 104 is not connected to the rectifier circuit 124, the camera decorative ring 104 is grounded through the switching circuit 106, and only one NFC coil 102 is working.
[0080] Furthermore, when the electronic device 100 is in the near field communication mode, that is, when the electronic device 100 needs to use the NFC function, the switching circuit 106 is in the first state, and the electronic device 100 is in the NFC enhanced state.
[0081] When the switching circuit 106 is in the first state, the third terminal F of the sixth switch 126 is connected to the second terminal F2 of the sixth switch 126, and the third terminal G of the seventh switch 128 is connected to the second terminal G2 of the seventh switch 128. At this time, the camera decorative ring 104 is disconnected from the ground and is connected to the rectifier circuit 124. The camera decorative ring 104 is reused as a new NFC coil, and the two NFC coils work at the same time, that is, the camera decorative ring 104 and the NFC coil 102 receive the NFC signal together.
[0082] For example, Figure 7 As shown, when the electronic device 100 provided by the embodiment of the present application performs NFC card swiping, the working process of the electronic device 100 may specifically include the following S402 to S414:
[0083] S402: The NFC status is the default status.
[0084] S404: Determine: There is an NFC signal input, if yes, execute S406, if not, execute S402.
[0085] S406: The sixth switch: F is connected to F2, and the seventh switch: G is connected to G2.
[0086] S408: Adjust the resonance frequency of the camera decorative ring through the rectifier circuit.
[0087] S410: Dual NFC coils work simultaneously.
[0088] S412: Using the NFC signal with the best signal quality.
[0089] S414: Determine: NFC card swiping is completed, if yes, end the process, if no, execute S406.
[0090] According to the electronic device 100 of the embodiment of the present application, when the switching circuit 106 is in the second state, the third end of the sixth switch 126 is connected to the first end of the sixth switch 126, the third end of the seventh switch 128 is connected to the first end of the seventh switch 128, and the camera decorative ring 104 is grounded through the switching circuit 106; when the switching circuit 106 is in the first state, the third end of the sixth switch 126 is connected to the second end of the sixth switch 126, the third end of the seventh switch 128 is connected to the second end of the seventh switch 128, and the camera decorative ring 104 and the NFC coil receive the NFC signal together. In this way, the resonant frequency of the camera decorative ring 104 is controlled by using the switch and the rectifier circuit 124 in the switching circuit 106, so that when the electronic device 100 uses the NFC function, the camera decorative ring 104 can be reused as an NFC coil, thereby increasing the number of NFC coils, increasing the reception strength of the electronic device 100 to the NFC signal, and improving the success rate of the electronic device 100 using the NFC function.
[0091] It should be noted that the electronic device 100 in the embodiment of the present application includes a mobile electronic device and a non-mobile electronic device.
[0092] In the actual application process, the electronic device 100 can be a terminal or other devices other than a terminal. For example, the electronic device 100 can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiments of the present application are not specifically limited.
[0093] like Figure 8 As shown, the embodiment of the present application further provides a control method, which is applied to the above electronic device, the electronic device includes an NFC coil, a camera decorative ring and a switching circuit, and the control method may include the following S802 and S804:
[0094] S802: When the electronic device is in a near field communication mode, control the switching circuit to be in a first state so that the camera decorative ring and the NFC coil receive NFC signals together.
[0095] Specifically, in the control method provided in the embodiment of the present application, the electronic device includes an NFC coil, a camera decorative ring and a switching circuit. During the operation of the electronic device, the camera decorative ring is grounded by default. When the electronic device is in near field communication mode, that is, when the electronic device needs to use the NFC function, the control switching circuit is in the first state, so that the camera decorative ring is reused as an NFC coil through the switching circuit, thereby using the camera decorative ring as an enhanced part of the NFC coil, so that the camera decorative ring and the NFC coil receive the NFC signal together, so as to enhance the reception strength of the electronic device to the NFC signal, avoid the camera decorative ring affecting the NFC coil receiving signal, and ensure the success rate of the electronic device using the NFC function.
[0096] S804: When the electronic device is not in the near field communication mode, control the switching circuit to be in the second state so that the camera decorative ring is grounded.
[0097] Specifically, in the control method provided in the embodiment of the present application, when the electronic device is not in the near field communication mode, that is, when the electronic device does not need to use the NFC function, the control switching circuit is in the second state to control the camera decorative ring 104 to remain grounded through the switching circuit 106.
[0098] Through the above control method provided by the embodiment of the present application, the electronic device includes an NFC coil, a camera decorative ring and a switching circuit. When the electronic device is in the near field communication mode, the switching circuit is controlled to be in the first state so that the camera decorative ring and the NFC coil receive the NFC signal together; when the electronic device is not in the near field communication mode, the switching circuit is controlled to be in the second state so that the camera decorative ring is grounded. Through the above control method, by adjusting the working state of the switching circuit in the electronic device, the camera decorative ring and the NFC coil are controlled to receive the NFC signal together, or the camera decorative ring is controlled to be grounded. In this way, it is convenient to dynamically adjust the grounding state of the camera decorative ring according to the use scenario of the electronic device, so that when the electronic device does not use the NFC function, the camera decorative ring is kept grounded, and when the electronic device uses the NFC function, the camera decorative ring is reused as an NFC coil to increase the reception strength of the electronic device to the NFC signal, thereby improving the success rate of using the NFC function of the electronic device.
[0099] In the embodiment of the present application, the switching circuit includes a first switch, a second switch, a third switch, a fourth switch, and a fifth switch. The step of controlling the switching circuit to be in the first state may specifically include the following S806:
[0100] S806: Control the first switch to be opened, the second switch to be closed, and the third switch to be closed, control the fourth switch to be turned on between the camera decorative ring and the third switch, and control the fifth switch to be turned on between the camera decorative ring and the second switch, so as to turn on the NFC coil and the camera decorative ring, and put the switching circuit in the first state.
[0101] Specifically, in the control method provided in the embodiment of the present application, the switching circuit includes a first switch, a second switch, a third switch, a fourth switch and a fifth switch. During the operation of the electronic device, the camera decorative ring is in a grounded state by default. When the electronic device is in near field communication mode, that is, when the electronic device needs to use the NFC function, the first switch is controlled to be disconnected, the second switch is closed, and the third switch is closed, the fourth switch is controlled to turn on the camera decorative ring and the third switch, and the fifth switch is controlled to turn on the camera decorative ring and the second switch to turn on the NFC coil and the camera decorative ring, so that the switching circuit is in the first state, thereby increasing the area of the NFC coil and improving the success rate of the electronic device using the NFC function.
[0102] In the above embodiment provided by the present application, the switching circuit includes a first switch, a second switch, a third switch, a fourth switch and a fifth switch. In the process of controlling the switching circuit to be in the first state, the first switch is controlled to be disconnected, the second switch is controlled to be closed, and the third switch is controlled to be closed. The fourth switch is controlled to conduct the camera decorative ring and the third switch, and the fifth switch is controlled to conduct the camera decorative ring and the second switch to conduct the NFC coil and the camera decorative ring, so that the switching circuit is in the first state. In this way, in the scenario where the electronic device needs to use the NFC function, controlling the camera decorative ring to be connected to the NFC coil can increase the area of the NFC coil, thereby increasing the reception strength of the electronic device to the NFC signal, and improving the success rate of the electronic device using the NFC function.
[0103] In the embodiment of the present application, the step of controlling the switching circuit to be in the second state may specifically include the following S808:
[0104] S808: Control the first switch to close, the second switch to open, the third switch to open, control the fourth switch to connect the camera decorative ring and the ground terminal, and control the fifth switch to connect the camera decorative ring and the ground terminal, so that the switching circuit is in the second state.
[0105] Specifically, in the control method provided in the embodiment of the present application, when the electronic device is not in the near field communication mode, that is, when the electronic device does not need to use the NFC function, the first switch is controlled to be closed, the second switch is disconnected, the third switch is disconnected, the fourth switch is controlled to conduct the camera decorative ring and the ground terminal, and the fifth switch is controlled to conduct the camera decorative ring and the ground terminal, so that the switching circuit is in the second state. At this time, the camera decorative ring is grounded through the switching circuit, and the NFC coil works alone, which reduces the power consumption of the electronic device.
[0106] In the above embodiment provided by the present application, in the process of controlling the switching circuit to be in the second state, the first switch is controlled to be closed, the second switch is disconnected, the third switch is disconnected, the fourth switch is controlled to conduct the camera decorative ring and the ground terminal, and the fifth switch is controlled to conduct the camera decorative ring and the ground terminal, so that the switching circuit is in the second state. In this way, in a scenario where the electronic device does not need to use the NFC function, the camera decorative ring is controlled to be grounded, so that the NFC coil works alone, reducing the power consumption of the electronic device.
[0107] In the embodiment of the present application, the switching circuit includes a rectifier circuit, a sixth switch, and a seventh switch. The step of controlling the switching circuit to be in the first state may specifically include the following S810:
[0108] S810: Control the sixth switch to turn on the rectifier circuit and the camera decorative ring, and control the seventh switch to turn on the rectifier circuit and the camera decorative ring, so as to adjust the resonant frequency of the camera decorative ring through the rectifier circuit, so that the switching circuit is in the first state.
[0109] Specifically, in the control method provided in the embodiment of the present application, the switching circuit includes a rectifier circuit, a sixth switch and a seventh switch. During the operation of the electronic device, the camera decorative ring is in a grounded state by default. When the electronic device is in near field communication mode, that is, when the electronic device needs to use the NFC function, the sixth switch is controlled to turn on the rectifier circuit and the camera decorative ring, and the seventh switch is controlled to turn on the rectifier circuit and the camera decorative ring, so as to adjust the resonant frequency of the camera decorative ring through the rectifier circuit, thereby multiplexing the camera decorative ring as a new NFC coil, so that the two NFC coils work at the same time, that is, the camera decorative ring and the NFC coil receive the NFC signal together, so that the switching circuit is in the first state.
[0110] In the above embodiment provided by the present application, the switching circuit includes a rectifier circuit, a sixth switch and a seventh switch. In the process of controlling the switching circuit to be in the first state, the sixth switch is controlled to turn on the rectifier circuit and the camera decorative ring, and the seventh switch is controlled to turn on the rectifier circuit and the camera decorative ring, so as to adjust the resonance frequency of the camera decorative ring through the rectifier circuit, so that the switching circuit is in the first state. In this way, in the scenario where the electronic device needs to use the NFC function, the camera decorative ring is reused as an NFC coil, thereby increasing the number of NFC coils, increasing the reception strength of the electronic device to the NFC signal, and improving the success rate of the electronic device using the NFC function.
[0111] In the embodiment of the present application, the step of controlling the switching circuit to be in the second state may specifically include the following S812:
[0112] S812: Control the sixth switch to conduct the ground terminal and the camera decoration ring, and control the seventh switch to conduct the ground terminal and the camera decoration ring, so that the switching circuit is in the second state.
[0113] Specifically, in the control method provided in the embodiment of the present application, when the electronic device is not in the near field communication mode, that is, in the scenario where the electronic device does not need to use the NFC function, the sixth switch is controlled to connect the ground terminal and the camera decorative ring, and the seventh switch is controlled to connect the ground terminal and the camera decorative ring, so that the camera decorative ring is grounded, thereby making the switching circuit in the second state.
[0114] In the above embodiment provided by the present application, in the process of controlling the switching circuit to be in the second state, the sixth switch is controlled to conduct the ground terminal and the camera decorative ring, and the seventh switch is controlled to conduct the ground terminal and the camera decorative ring, so that the switching circuit is in the second state. In this way, in a scenario where the electronic device does not need to use the NFC function, the camera decorative ring is controlled to be grounded, so that the NFC coil works alone, thereby reducing the power consumption of the electronic device.
[0115] In the control method provided in the embodiment of the present application, the execution subject may be a control device. In the embodiment of the present application, the control device provided in the embodiment of the present application is described by taking the control device executing the above control method as an example.
[0116] like Fig. 9 As shown, an embodiment of the present application provides a control device 500, which is applied to the above-mentioned electronic device. The electronic device includes an NFC coil, a camera decorative ring and a switching circuit. The control device 500 may include the following control unit 502.
[0117] The control unit 502 is used to control the switching circuit to be in a first state when the electronic device is in a near field communication mode, so that the camera decorative ring and the NFC coil receive the NFC signal together;
[0118] The control unit 502 is further used to control the switching circuit to be in the second state when the electronic device is not in the near field communication mode, so that the camera decorative ring is grounded.
[0119] Through the control device 500 provided in the embodiment of the present application, the electronic device includes an NFC coil, a camera decorative ring and a switching circuit. When the electronic device is in the near field communication mode, the switching circuit is controlled to be in the first state so that the camera decorative ring and the NFC coil receive the NFC signal together; when the electronic device is not in the near field communication mode, the switching circuit is controlled to be in the second state so that the camera decorative ring is grounded. Through the above-mentioned control device 500, by adjusting the working state of the switching circuit in the electronic device, the camera decorative ring and the NFC coil are controlled to receive the NFC signal together, or the camera decorative ring is controlled to be grounded. In this way, it is convenient to dynamically adjust the grounding state of the camera decorative ring according to the use scenario of the electronic device, so that when the electronic device does not use the NFC function, the camera decorative ring is kept grounded, and when the electronic device uses the NFC function, the camera decorative ring is reused as an NFC coil to increase the reception strength of the electronic device to the NFC signal, thereby improving the success rate of using the NFC function of the electronic device.
[0120] In an embodiment of the present application, the switching circuit includes a first switch, a second switch, a third switch, a fourth switch and a fifth switch, and the control unit 502 is specifically used to: control the first switch to be opened, the second switch to be closed, and the third switch to be closed, control the fourth switch to turn on the camera decorative ring and the third switch, and control the fifth switch to turn on the camera decorative ring and the second switch, so as to turn on the NFC coil and the camera decorative ring, so that the switching circuit is in the first state.
[0121] In the above embodiment provided by the present application, the switching circuit includes a first switch, a second switch, a third switch, a fourth switch and a fifth switch. In the process of controlling the switching circuit to be in the first state, the first switch is controlled to be disconnected, the second switch is controlled to be closed, and the third switch is controlled to be closed. The fourth switch is controlled to conduct the camera decorative ring and the third switch, and the fifth switch is controlled to conduct the camera decorative ring and the second switch to conduct the NFC coil and the camera decorative ring, so that the switching circuit is in the first state. In this way, in the scenario where the electronic device needs to use the NFC function, controlling the camera decorative ring to be connected to the NFC coil can increase the area of the NFC coil, thereby increasing the reception strength of the electronic device to the NFC signal, and improving the success rate of the electronic device using the NFC function.
[0122] In an embodiment of the present application, the control unit 502 is specifically used to: control the first switch to close, the second switch to open, the third switch to open, control the fourth switch to connect the camera decorative ring and the ground terminal, and control the fifth switch to connect the camera decorative ring and the ground terminal, so that the switching circuit is in the second state.
[0123] In the above embodiment provided by the present application, in the process of controlling the switching circuit to be in the second state, the first switch is controlled to be closed, the second switch is disconnected, the third switch is disconnected, the fourth switch is controlled to conduct the camera decorative ring and the ground terminal, and the fifth switch is controlled to conduct the camera decorative ring and the ground terminal, so that the switching circuit is in the second state. In this way, in a scenario where the electronic device does not need to use the NFC function, the camera decorative ring is controlled to be grounded, so that the NFC coil works alone, reducing the power consumption of the electronic device.
[0124] In an embodiment of the present application, the switching circuit includes a rectifier circuit, a sixth switch and a seventh switch, and the control unit 502 is specifically used to: control the sixth switch to turn on the rectifier circuit and the camera decorative ring, and control the seventh switch to turn on the rectifier circuit and the camera decorative ring, so as to adjust the resonant frequency of the camera decorative ring through the rectifier circuit, so that the switching circuit is in the first state.
[0125] In the above embodiment provided by the present application, the switching circuit includes a rectifier circuit, a sixth switch and a seventh switch. In the process of controlling the switching circuit to be in the first state, the sixth switch is controlled to turn on the rectifier circuit and the camera decorative ring, and the seventh switch is controlled to turn on the rectifier circuit and the camera decorative ring, so as to adjust the resonance frequency of the camera decorative ring through the rectifier circuit, so that the switching circuit is in the first state. In this way, in the scenario where the electronic device needs to use the NFC function, the camera decorative ring is reused as an NFC coil, thereby increasing the number of NFC coils, increasing the reception strength of the electronic device to the NFC signal, and improving the success rate of the electronic device using the NFC function.
[0126] In the embodiment of the present application, the control unit 502 is specifically used to: control the sixth switch to connect the ground terminal and the camera decorative ring, and control the seventh switch to connect the ground terminal and the camera decorative ring, so that the switching circuit is in the second state.
[0127] In the above embodiment provided by the present application, in the process of controlling the switching circuit to be in the second state, the sixth switch is controlled to conduct the ground terminal and the camera decorative ring, and the seventh switch is controlled to conduct the ground terminal and the camera decorative ring, so that the switching circuit is in the second state. In this way, in a scenario where the electronic device does not need to use the NFC function, the camera decorative ring is controlled to be grounded, so that the NFC coil works alone, thereby reducing the power consumption of the electronic device.
[0128] The control device 500 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0129] The control device 500 provided in the embodiment of the present application can realize Figure 8 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0130] Alternatively, if Fig.10 As shown, an embodiment of the present application also provides an electronic device 600, including a processor 602 and a memory 604, wherein the memory 604 stores programs or instructions that can be executed on the processor 602, and when the program or instructions are executed by the processor 602, the various steps of the above-mentioned control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0131] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0132] Fig.11 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0133] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710 and other components.
[0134] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.11The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0135] The processor 710 is used to control the switching circuit to be in a first state when the electronic device is in a near field communication mode, so that the camera decorative ring and the NFC coil receive the NFC signal together.
[0136] The processor 710 is further configured to control the switching circuit to be in the second state when the electronic device is not in the near field communication mode, so as to ground the camera decorative ring.
[0137] In an embodiment of the present application, the electronic device includes an NFC coil, a camera decorative ring, and a switching circuit. When the electronic device is in a near field communication mode, the switching circuit is controlled to be in a first state so that the camera decorative ring and the NFC coil receive NFC signals together; when the electronic device is not in a near field communication mode, the switching circuit is controlled to be in a second state so that the camera decorative ring is grounded. In an embodiment of the present application, by adjusting the working state of the switching circuit in the electronic device, the camera decorative ring and the NFC coil are controlled to receive NFC signals together, or the camera decorative ring is controlled to be grounded. In this way, it is convenient to dynamically adjust the grounding state of the camera decorative ring according to the use scenario of the electronic device, so that when the electronic device does not use the NFC function, the camera decorative ring is kept grounded, and when the electronic device uses the NFC function, the camera decorative ring is reused as an NFC coil to increase the reception strength of the electronic device to the NFC signal, thereby improving the success rate of using the NFC function of the electronic device.
[0138] Optionally, the switching circuit includes a first switch, a second switch, a third switch, a fourth switch and a fifth switch, and the processor 710 is specifically used to: control the first switch to open, the second switch to close, and the third switch to close, control the fourth switch to turn on the camera decorative ring and the third switch, and control the fifth switch to turn on the camera decorative ring and the second switch to turn on the NFC coil and the camera decorative ring, so that the switching circuit is in the first state.
[0139] In the above embodiment provided by the present application, the switching circuit includes a first switch, a second switch, a third switch, a fourth switch and a fifth switch. In the process of controlling the switching circuit to be in the first state, the first switch is controlled to be disconnected, the second switch is controlled to be closed, and the third switch is controlled to be closed. The fourth switch is controlled to conduct the camera decorative ring and the third switch, and the fifth switch is controlled to conduct the camera decorative ring and the second switch to conduct the NFC coil and the camera decorative ring, so that the switching circuit is in the first state. In this way, in the scenario where the electronic device needs to use the NFC function, controlling the camera decorative ring to be connected to the NFC coil can increase the area of the NFC coil, thereby increasing the reception strength of the electronic device to the NFC signal, and improving the success rate of the electronic device using the NFC function.
[0140] Optionally, the processor 710 is specifically used to: control the first switch to close, the second switch to open, the third switch to open, control the fourth switch to connect the camera decorative ring and the ground terminal, and control the fifth switch to connect the camera decorative ring and the ground terminal, so that the switching circuit is in the second state.
[0141] In the above embodiment provided by the present application, in the process of controlling the switching circuit to be in the second state, the first switch is controlled to be closed, the second switch is disconnected, the third switch is disconnected, the fourth switch is controlled to conduct the camera decorative ring and the ground terminal, and the fifth switch is controlled to conduct the camera decorative ring and the ground terminal, so that the switching circuit is in the second state. In this way, in a scenario where the electronic device does not need to use the NFC function, the camera decorative ring is controlled to be grounded, so that the NFC coil works alone, reducing the power consumption of the electronic device.
[0142] Optionally, the switching circuit includes a rectifier circuit, a sixth switch and a seventh switch, and the processor 710 is specifically used to: control the sixth switch to turn on the rectifier circuit and the camera decorative ring, and control the seventh switch to turn on the rectifier circuit and the camera decorative ring, so as to adjust the resonant frequency of the camera decorative ring through the rectifier circuit, so that the switching circuit is in the first state.
[0143] In the above embodiment provided by the present application, the switching circuit includes a rectifier circuit, a sixth switch and a seventh switch. In the process of controlling the switching circuit to be in the first state, the sixth switch is controlled to turn on the rectifier circuit and the camera decorative ring, and the seventh switch is controlled to turn on the rectifier circuit and the camera decorative ring, so as to adjust the resonance frequency of the camera decorative ring through the rectifier circuit, so that the switching circuit is in the first state. In this way, in the scenario where the electronic device needs to use the NFC function, the camera decorative ring is reused as an NFC coil, thereby increasing the number of NFC coils, increasing the reception strength of the electronic device to the NFC signal, and improving the success rate of the electronic device using the NFC function.
[0144] Optionally, the processor 710 is specifically used to: control the sixth switch to connect the ground terminal and the camera decoration ring, and control the seventh switch to connect the ground terminal and the camera decoration ring, so that the switching circuit is in the second state.
[0145] In the above embodiment provided by the present application, in the process of controlling the switching circuit to be in the second state, the sixth switch is controlled to conduct the ground terminal and the camera decorative ring, and the seventh switch is controlled to conduct the ground terminal and the camera decorative ring, so that the switching circuit is in the second state. In this way, in a scenario where the electronic device does not need to use the NFC function, the camera decorative ring is controlled to be grounded, so that the NFC coil works alone, thereby reducing the power consumption of the electronic device.
[0146] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and at least one of other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0147] The memory 709 can be used to store software programs and various data. The memory 709 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 709 may include a volatile memory or a non-volatile memory, or the memory 709 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 709 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0148] The processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 710.
[0149] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0150] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0151] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0152] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0153] An 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 implement the various processes of the above-mentioned control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0154] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the 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, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0155] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0156] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0157] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. An electronic device, characterized in that: The electronic device comprises an NFC coil, a camera decorative ring and a switching circuit, wherein the NFC coil and the camera decorative ring are concentric and spaced apart, and the switching circuit is at least connected to the camera decorative ring, wherein: When the switching circuit is in the first state, the camera decorative ring and the NFC coil jointly receive an NFC signal; When the switching circuit is in the second state, the camera decorative ring is grounded through the switching circuit.
2. The electronic device according to claim 1, characterized in that: The switching circuit comprises: a first switch, wherein a first end of the first switch is connected to a first end of the NFC coil, and a second end of the first switch is connected to a second end of the NFC coil; a second switch, wherein a first end of the second switch is connected to a first end of the first switch; a third switch, a first end of the third switch being connected to a second end of the first switch; a fourth switch, wherein a first end of the fourth switch is grounded, a second end of the fourth switch is connected to the second end of the third switch, and a third end of the fourth switch is connected to the second end of the camera decorative ring; A fifth switch, wherein a first end of the fifth switch is grounded, a second end of the fifth switch is connected to the second end of the second switch, and a third end of the fifth switch is connected to the first end of the camera decorative ring.
3. The electronic device according to claim 2, characterized in that: When the switching circuit is in the second state, the first switch is closed, the second switch and the third switch are opened, the third end of the fourth switch is connected to the first end of the fourth switch, the third end of the fifth switch is connected to the first end of the fifth switch, and the camera decorative ring is grounded through the switching circuit; When the switching circuit is in the first state, the first switch is opened, the second switch and the third switch are closed, the third end of the fourth switch is connected to the second end of the fourth switch, and the third end of the fifth switch is connected to the second end of the fifth switch, so as to turn on the NFC coil and the camera decorative ring, and the camera decorative ring and the NFC coil jointly receive the NFC signal.
4. The electronic device according to claim 2, characterized in that: The switching circuit further includes: a first capacitor, wherein a first end of the first capacitor is connected to a first end of the first switch, and a second end of the first capacitor is connected to a first end of the second switch; a second capacitor, wherein a first end of the second capacitor is connected to a second end of the first switch, and a second end of the second capacitor is connected to a first end of the third switch; The capacitance values of the first capacitor and the second capacitor satisfy that: the resonant frequency of the NFC coil and the camera decorative ring after being turned on is consistent with the resonant frequency of the single NFC coil.
5. The electronic device according to claim 1, characterized in that: The switching circuit comprises: A rectifier circuit, used to adjust the resonant frequency of the camera decorative ring; a sixth switch, wherein a first end of the sixth switch is grounded, a second end of the sixth switch is connected to the first end of the rectifier circuit, and a third end of the sixth switch is connected to the second end of the camera decorative ring; A seventh switch, wherein a first end of the seventh switch is grounded, a second end of the seventh switch is connected to the second end of the rectifier circuit, and a third end of the seventh switch is connected to the first end of the camera decorative ring.
6. The electronic device according to claim 5, characterized in that: When the switching circuit is in the second state, the third end of the sixth switch is connected to the first end of the sixth switch, the third end of the seventh switch is connected to the first end of the seventh switch, and the camera decorative ring is grounded through the switching circuit; When the switching circuit is in the first state, the third end of the sixth switch is connected to the second end of the sixth switch, the third end of the seventh switch is connected to the second end of the seventh switch, and the camera decorative ring and the NFC coil jointly receive the NFC signal.
7. A control method, characterized in that: Applied to the electronic device according to any one of claims 1 to 6, the electronic device comprises an NFC coil, a camera decorative ring and a switching circuit, and the control method comprises: When the electronic device is in a near field communication mode, controlling the switching circuit to be in the first state, so that the camera decorative ring and the NFC coil receive NFC signals together; When the electronic device is not in the near field communication mode, the switching circuit is controlled to be in the second state so that the camera decorative ring is grounded.
8. The control method according to claim 7, characterized in that: The switching circuit includes a first switch, a second switch, a third switch, a fourth switch, and a fifth switch, and the controlling the switching circuit to be in the first state includes: The first switch is controlled to be opened, the second switch is controlled to be closed, and the third switch is controlled to be closed, the fourth switch is controlled to turn on the camera decorative ring and the third switch, and the fifth switch is controlled to turn on the camera decorative ring and the second switch, so as to turn on the NFC coil and the camera decorative ring, so that the switching circuit is in the first state.
9. The control method according to claim 8, characterized in that: The controlling the switching circuit to be in the second state comprises: The first switch is controlled to be closed, the second switch is controlled to be opened, the third switch is controlled to be opened, the fourth switch is controlled to be connected to the camera decorative ring and the ground terminal, and the fifth switch is controlled to be connected to the camera decorative ring and the ground terminal, so that the switching circuit is in the second state.
10. The control method according to claim 7, characterized in that: The switching circuit includes a rectifier circuit, a sixth switch, and a seventh switch, and the controlling the switching circuit to be in the first state includes: The sixth switch is controlled to turn on the rectifier circuit and the camera decorative ring, and the seventh switch is controlled to turn on the rectifier circuit and the camera decorative ring, so as to adjust the resonant frequency of the camera decorative ring through the rectifier circuit, so that the switching circuit is in the first state.
11. The control method according to claim 10, characterized in that: The controlling the switching circuit to be in the second state comprises: The sixth switch is controlled to conduct the ground terminal and the camera decoration ring, and the seventh switch is controlled to conduct the ground terminal and the camera decoration ring, so that the switching circuit is in the second state.