A charging method of a stylus, an electronic device, a stylus, and a system

By reusing the Wi-Fi or Bluetooth antenna of electronic devices for radio frequency charging of styluses, the problems of high hardware cost and large space occupation in existing technologies are solved, realizing a low-cost and efficient charging solution.

CN118449289BActive Publication Date: 2025-11-04HONOR DEVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311336845.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-16
Publication Date
2025-11-04
Estimated Expiration
2043-10-16

AI Technical Summary

Technical Problem

In existing technologies, wireless charging of styluses requires electronic devices to have a built-in transmitter coil, which results in high hardware costs and occupies a large space, increasing the difficulty of layout of the internal circuitry of electronic devices.

Method used

By reusing existing antennas within electronic devices, such as Wi-Fi or Bluetooth antennas, radio frequency energy is used to charge the stylus, avoiding the need for a built-in transmitter coil and thus enabling stylus charging.

Benefits of technology

It reduces hardware costs, saves space, and simplifies the layout of internal circuits in electronic devices, without affecting the user's communication experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118449289B_ABST
    Figure CN118449289B_ABST
Patent Text Reader

Abstract

A charging method of a handwriting pen, an electronic device, a handwriting pen and a system, and relate to the technical field of terminals. The charging method comprises: when it is determined that the first antenna is not used for data transmission, and it is determined that the handwriting pen is in a charging position, controlling the first antenna to emit radio frequency energy, so that the handwriting pen is charged by using the radio frequency energy, wherein the polarization direction of the second antenna of the handwriting pen and the first antenna is the same when the handwriting pen is in the charging position. By using the method, when the first antenna is not used for data transmission, that is, the electronic device does not use the first antenna for cellular communication, Wi-Fi communication and Bluetooth communication, the first antenna is used to send radio frequency energy to the handwriting pen, and then the charging of the handwriting pen is realized. The scheme does not need to build a transmitting end coil in the electronic device, so that the hardware cost can be reduced, the space can be saved, and the layout difficulty of the internal circuit of the electronic device is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a method for charging a stylus, an electronic device, a stylus, and a system. Background Technology

[0002] To enhance the ease of use of electronic devices such as tablets or mobile phones, a stylus can be provided.

[0003] To ensure the aesthetic appeal of the stylus's industrial design, the current mainstream approach is to magnetically attach the stylus to the electronic device, and to charge it wirelessly to avoid the need for a wired charging interface. See [link / reference] for details. Figure 1 The image is a schematic diagram of the scenario provided in this application. Figure 1 When the stylus 10 is attached to the electronic device 20, the transmitting coil 21 of the electronic device 20 transmits energy to the receiving coil 11 of the stylus 10.

[0004] However, the above implementation requires the electronic device to have a built-in transmitter coil 21, which results in high hardware costs. Furthermore, the transmitter coil 21 requires a large amount of space, increasing the difficulty of layout within the electronic device's internal circuitry. Summary of the Invention

[0005] To address the aforementioned issues, this application provides a method for charging a stylus, an electronic device, a stylus, and a system that can reduce hardware costs, save space, and simplify the layout of internal circuitry in the electronic device.

[0006] In a first aspect, this application provides a method for charging a stylus, applied to an electronic device, the electronic device including a first antenna, and the stylus including a second antenna, the method comprising:

[0007] When it is determined that the first antenna is not used for data transmission and the stylus is in the charging position, the first antenna is controlled to emit radio frequency energy so that the stylus can be charged using the radio frequency energy. When the stylus is in the charging position, the polarization direction of the second antenna of the stylus is the same as that of the first antenna.

[0008] The solution provided in this application allows the first antenna on the electronic device to be in an idle state when it is not used for data transmission, i.e., when the electronic device is not using the first antenna for cellular communication, Wi-Fi communication, or Bluetooth communication. In this case, the first antenna is used to send radio frequency energy to the stylus, thereby charging the stylus. This charging method does not require a built-in transmitter coil in the electronic device; instead, it charges the stylus by reusing an existing antenna within the electronic device. Therefore, it reduces hardware costs, saves space, and simplifies the layout of the internal circuitry of the electronic device.

[0009] In one possible implementation, determining that the first antenna is not used for data transmission specifically includes:

[0010] When the electronic device is off and is currently in a preset time period, it is determined that the first antenna is not used for data transmission. The preset time period is the time period set by the user for automatically charging the stylus.

[0011] At this time, the user configures the electronic device to the first charging mode for the stylus, and the electronic device charges the stylus within a preset time period.

[0012] In one possible implementation, determining that the first antenna is not used for data transmission specifically includes:

[0013] When the electronic device does not transmit data through the first antenna within a first preset time, it is determined that the first antenna is not used for data transmission.

[0014] At this time, the user configures the electronic device to the second charging mode for the stylus. When the electronic device determines that the first antenna is idle, it can charge the stylus.

[0015] In one possible implementation, controlling the first antenna to transmit radio frequency energy specifically includes:

[0016] The first antenna is controlled to transmit an unmodulated radio frequency signal according to a preset period, so that the first antenna transmits the radio frequency energy.

[0017] In one possible implementation, the method further includes:

[0018] The first antenna is controlled to send first communication information to the stylus according to the preset period. The first communication information is used to obtain the current power status of the energy storage element of the stylus.

[0019] In one possible implementation, the method further includes:

[0020] The device receives second communication information sent by the stylus, the second communication information being used to indicate the current power status of the energy storage element;

[0021] When it is determined that the stylus is fully charged based on the second communication information, the first antenna is controlled to stop transmitting radio frequency energy.

[0022] In one possible implementation, the method further includes:

[0023] The device receives third communication information sent by the stylus, the third communication information being used to indicate the current power status of the energy storage element of the stylus;

[0024] When it is determined that the stylus is fully charged based on the third communication information, the first antenna is controlled to stop transmitting radio frequency energy.

[0025] In one possible implementation, the method further includes:

[0026] Upon receiving the third communication information, the stylus replies with a fourth communication information, which indicates that the third communication information has been received.

[0027] In one possible implementation, the first antenna is a Bluetooth antenna, or the first antenna is a Wi-Fi antenna, or the first antenna is a mid-to-high frequency (MHB) cellular antenna.

[0028] Secondly, this application also provides a charging method for a stylus, applied to a stylus, the stylus including a second antenna, a power converter and an energy storage element, the method including: the second antenna receiving radio frequency energy transmitted by an electronic device; the power converter transmitting the radio frequency energy and the direct current to the energy storage element, so that the energy storage element can be charged using the direct current.

[0029] In this solution, the stylus is charged using radio frequency energy emitted by the electronic device, eliminating the need for a built-in transmitter coil. Instead, it charges the stylus by reusing an existing antenna within the electronic device. This reduces hardware costs, saves space, and consequently simplifies the layout of the internal circuitry of the electronic device.

[0030] In one possible implementation, the method further includes:

[0031] When the first communication information sent by the electronic device is received, the power status of the energy storage element is obtained;

[0032] A second communication message is generated based on the power status, and the second communication message is sent to the electronic device. The second communication message is used to indicate the current power status of the energy storage element.

[0033] In one possible implementation, the method further includes:

[0034] The energy storage element's electrical status is acquired according to a preset period;

[0035] A third communication message is generated based on the power status and sent to the electronic device. The third communication message is used to indicate the current power status of the energy storage element.

[0036] In one possible implementation, the method further includes:

[0037] After receiving the fourth communication information sent by the electronic device, the energy storage element is charged using the radio frequency energy sent by the electronic device.

[0038] The fourth communication information is used to indicate that the third communication information of the stylus has been received.

[0039] Thirdly, this application also provides an electronic device comprising: a first antenna and a processor. The processor is configured to, when it is determined that the first antenna is not used for data transmission and when it is determined that the stylus is in a charging position, control the first antenna to emit radio frequency energy so that the stylus can be charged using the radio frequency energy, wherein, when the stylus is in the charging position, the polarization direction of the second antenna of the stylus is the same as that of the first antenna.

[0040] The first antenna of the electronic device can be a Bluetooth antenna, a Wi-Fi antenna, or a mid-to-high frequency (MHB) cellular antenna.

[0041] Fourthly, this application also provides a stylus, comprising: a second antenna, a power converter, and an energy storage element. The second antenna is used to receive radio frequency energy transmitted by an electronic device and transmit the radio frequency energy to the power converter. The power converter is used to convert the radio frequency energy into direct current and transmit the direct current to the energy storage element so that the energy storage element can be charged using the direct current.

[0042] Fifthly, this application also provides a collaborative work system, including a stylus and the electronic device described in the first aspect above. The electronic device can be a router, laptop computer, tablet computer, non-foldable screen phone, or foldable screen phone. Attached Figure Description

[0043] Figure 1 Scenario illustration provided for this application Figure 1 ;

[0044] Figure 2 Scenario illustration provided for this application Figure 2 ;

[0045] Figure 3 A flowchart illustrating another method for charging a stylus provided in an embodiment of this application;

[0046] Figure 4 Circuit diagram provided for embodiments of this application Figure 1 ;

[0047] Figure 5Circuit diagram provided for embodiments of this application Figure 2 ;

[0048] Figure 6 Circuit diagram of a stylus provided in an embodiment of this application;

[0049] Figure 7 This is a schematic diagram of a scenario provided for an embodiment of this application;

[0050] Figure 8 Simulation diagrams provided for embodiments of this application;

[0051] Figure 9 A flowchart illustrating another method for charging a stylus provided in an embodiment of this application;

[0052] Figure 10 A schematic diagram of the settings interface provided in the embodiments of this application. Figure 1 ;

[0053] Figure 11 A schematic diagram of the settings interface provided in the embodiments of this application. Figure 2 ;

[0054] Figure 12 This is a schematic diagram illustrating the working principle of a mobile phone antenna provided in an embodiment of this application;

[0055] Figure 13 Circuit diagram provided for embodiments of this application Figure 3 ;

[0056] Figure 14 Circuit diagram provided for embodiments of this application Figure 4 ;

[0057] Figure 15 A schematic diagram of an electronic device provided in an embodiment of this application;

[0058] Figure 16 The collaborative working system provided in the embodiments of this application. Detailed Implementation

[0059] To enable those skilled in the art to better understand the solution of this application, the application scenario of the technical solution of this application will be described first below.

[0060] See also Figure 1 and Figure 2 .in, Figure 2 Scenario illustration provided for this application Figure 2 .

[0061] Figure 1 The electronic device 20 is a tablet computer. Figure 2 The electronic device 20 is a foldable screen phone.

[0062] Currently, when wirelessly charging the stylus 10, the electronic device 20 can use Qi wireless charging or near field communication (NFC). However, both of these methods require the electronic device 10 to have a built-in transmitter coil 21, in which an alternating current is passed through to generate an alternating magnetic field. The stylus 11 includes a receiver coil 11, which uses the alternating magnetic field to generate an alternating current. The rectifier circuit inside the stylus 11 rectifies the alternating current into direct current to charge the energy storage element on the stylus 11.

[0063] Setting up the receiving coil 11 increases the hardware cost of the electronic device 20, requires a large space, is not conducive to miniaturization of the electronic device, and also increases the difficulty of layout of the internal circuit of the electronic device.

[0064] To address the aforementioned technical issues, this application provides a method for charging a stylus, an electronic device, a stylus, and a system. The solution of this application eliminates the need for a built-in transmitter coil in the electronic device; instead, it charges the stylus by reusing an existing antenna within the electronic device. This reduces hardware costs, saves space, and simplifies the layout of the internal circuitry of the electronic device.

[0065] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number or order of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this embodiment, unless otherwise stated, "a plurality of" means two or more.

[0066] This application provides a method for charging a stylus, which will be described in detail below with reference to the accompanying drawings.

[0067] See Figure 3 The figure is a flowchart of a method for charging a stylus provided in an embodiment of this application.

[0068] The method includes the following steps:

[0069] S11: When it is determined that the first antenna is not used for data transmission and the stylus is in the charging position, wirelessly charge the stylus.

[0070] The first antenna can be a Wi-Fi antenna, a Bluetooth antenna, or a cellular antenna; this application does not specifically limit the type of antenna.

[0071] The embodiments of this application aim to charge the stylus by transmitting radio frequency energy through the antenna. Therefore, before charging the stylus, it is necessary to ensure that the first antenna is not used for data transmission. Otherwise, directly using the first antenna to transmit radio frequency energy will affect the current data transmission and thus reduce the user's communication experience.

[0072] Simultaneously, it is necessary to determine that the stylus is currently in the charging position. When the stylus is in the charging position, the polarization direction of the stylus's second antenna and the first antenna are the same, thereby achieving maximum coupling and improving the efficiency of energy transmission.

[0073] S12: Control the first antenna to transmit radio frequency energy so that the stylus can be charged using radio frequency energy.

[0074] At this time, the radio frequency (RF) signal transmitted by the first antenna is a modulated signal used to transmit RF energy. The stylus includes a second antenna, a power converter, and an energy storage element. The second wire of the stylus is used to receive the RF energy transmitted by the electronic device and transmit the RF energy to the power converter. The power converter is used to convert the RF energy into direct current (DC) and transmit the DC power to the energy storage element so that the energy storage element can be charged using the DC power. This power converter can be a radio frequency (RF) to direct current (DC) circuit used to convert RF energy into DC power.

[0075] In summary, using the solution provided in this application, when the first antenna on the electronic device is not used for data transmission, i.e., when the electronic device is not using the first antenna for cellular communication, Wi-Fi communication, or Bluetooth communication, the first antenna is in an idle state. At this time, the first antenna is used to send radio frequency energy to the stylus, thereby charging the stylus. This charging method does not require a built-in transmitter coil in the electronic device; instead, it charges the stylus by reusing an existing antenna within the electronic device. Therefore, it can reduce hardware costs, save space, and thus reduce the difficulty of layout within the electronic device's internal circuitry.

[0076] The following explanation details the specific implementation methods. The example used is an electronic device charging a stylus using either a Wi-Fi or Bluetooth antenna. In one possible implementation, Bluetooth technology uses the 2.4GHz ISM band (2400 to 2483.5MHz), achieving a good balance between range and throughput. Furthermore, electronic devices are generally compatible with the 2.4GHz Wi-Fi band; therefore, current electronic devices can reuse a single antenna for both Bluetooth and Wi-Fi communication. Alternatively, the electronic device can be configured with an antenna solely for Bluetooth communication or a separate antenna solely for Wi-Fi communication.

[0077] See Figure 4 This figure is a circuit diagram provided in an embodiment of this application. Figure 1 .

[0078] The electronic device 20 includes: a first transmitting circuit 30, a second transmitting circuit 40, a first filter 33, a second filter 43, a third filter 45, an antenna ANT1, an antenna ANT2, and an antenna ANT3.

[0079] The stylus 10 includes: antenna ANT4, impedance matching circuit 12, fourth filter 13, communication module 14, impedance matching circuit 15, RF-DC circuit 16, and energy storage element 17.

[0080] The first transmitting circuit 30 includes a TX1 port, an RX1 port, and a P1 port. The TX1 port can be connected to the output of the modem processor of the electronic device 20, and the RX1 port can be connected to the input of the modem processor of the electronic device 20.

[0081] See Figure 5 This figure is a circuit diagram provided in an embodiment of this application. Figure 2 .

[0082] Figure 5 The diagram shows the modem processor 50 and the transmit switch 60 used in the electronic device 20.

[0083] When S1 connects P1 and power amplifier 31, the TX1 port of the first transmitting circuit 30 is connected to the TX1 port of the transmitting switch 60. At this time, the Wi-Fi TX1 port of the modem processor 50 can be connected via S4 and the Wi-Fi TX1 port of the transmitting switch 60, thereby enabling ANT1 to transmit Wi-Fi signals; alternatively, the Bluetooth TX port of the modem processor 50 can be connected via S4, S5, and the Bluetooth TX port of the transmitting switch 60, thereby enabling ANT1 to transmit Bluetooth signals.

[0084] When S1 connects P1 and power amplifier 32, the RX1 port of the first transmitting circuit 30 is connected to the Wi-Fi / Bluetooth RX1 port of the modem processor 50, thereby enabling ANT1 to receive Wi-Fi or Bluetooth signals.

[0085] S2 can turn on P2 and power amplifier 41, and also turn on P3 and power amplifier 41. At this time, the TX2 port of the second transmitting circuit 40 is connected to the TX2 port of the transmitting switch 60. The TX2 port of the transmitting switch 60 can then be connected to the Wi-Fi TX2 port of the modem processor 50 via S6 and the Wi-Fi TX2 port of the transmitting switch 60, thereby enabling ANT2 to transmit Wi-Fi signals; alternatively, it can be connected to the Bluetooth TX port of the modem processor 50 via S6, S5, and the Bluetooth TX port of the transmitting switch 60, thereby enabling ANT2 to transmit Bluetooth signals.

[0086] At this time, the RX2 port of the second transmitting circuit 40 is connected to the Wi-Fi / Bluetooth RX1 port of the modem processor 50, thereby enabling ANT3 to receive Wi-Fi or Bluetooth signals.

[0087] The modem processor 50 in this embodiment mainly processes Bluetooth and Wi-Fi signals in the 2.4GHz band.

[0088] See also Figure 4 When the electronic device 20 is not charging the stylus 10, ANT1, ANT2 and ANT3 on the electronic device 20 are used for communication normally.

[0089] When the electronic device 20 charges the stylus 10, taking the ANT2 transmitting energy to the ANT4 on the stylus as an example, the ANT2 can be connected to the Wi-Fi TX2 port of the modem processor 50 through the TX2 port of the second transmitting circuit 40, the TX2 port of the transmitting switch 60, S6, and the Wi-Fi TX2 port of the transmitting switch 60, or it can be connected to the Bluetooth TX port of the modem processor 50 through the TX2 port of the second transmitting circuit 40, the TX2 port of the transmitting switch 60, S6, S5, and the Bluetooth TX port of the transmitting switch 60.

[0090] In power transmission mode, the Wi-Fi or Bluetooth signal transmitted by ANT2 can be an unmodulated signal. At this time, the signal transmitted by ANT2 is received by the antenna ANT4 of the stylus 10, and the S3 of the stylus 10 is connected to the impedance matching circuit 15, which is connected to the RF-DC circuit 16.

[0091] Impedance matching circuit 15 is used to boost the power of the received radio frequency signal.

[0092] The RF-DC circuit 16 is a power converter that converts the acquired radio frequency energy into direct current to charge the energy storage element 17. The energy storage element 17 of the stylus can be one or more of a battery or a capacitor, and this application embodiment does not specifically limit it.

[0093] In practical applications, communication is required between the electronic device and the stylus during the charging process. The electronic device determines whether the stylus has finished charging by communicating with it.

[0094] In one possible implementation, S3 on the stylus switches between impedance matching circuit 12 and impedance matching circuit 15. When S3 is connected to impedance matching circuit 12, ANT4 is connected to the communication module through S3, impedance matching circuit 12, and fourth filter 13. The communication module 14 can acquire the first communication information sent by the electronic device received by ANT4, and can also send the second communication information to the electronic device through ANT4.

[0095] The first communication information is used to request feedback on the current battery level of the stylus; the second communication information can be used to indicate the current battery level of the stylus, so that when the electronic device determines that the stylus is fully charged according to the second communication information, it can stop transmitting radio frequency energy in a timely manner, thereby saving the power of the electronic device.

[0096] In this implementation, the stylus's ANT4 is time-division multiplexed, meaning that the stylus receives the charging radio frequency signal in the first time period and receives the first communication information and sends the second communication information in the second time period, with the first time period and the second time period alternating.

[0097] In another possible implementation, the stylus may include an ANT5 (not shown in the figure), which can be a ceramic patch antenna. The stylus's ANT4 is time-division multiplexed, meaning the stylus receives the charging RF signal in the first time period and the first communication information in the second time period. Then, ANT5 sends the second communication information to the electronic device.

[0098] In another possible implementation, see [link to relevant documentation]. Figure 6 The circuit diagram of the stylus shown is as follows. ANT4 on the stylus is only used to receive charging radio frequency signals, while ANT5 on the stylus is used to receive first communication information sent by the electronic device and to send second communication information to the electronic device.

[0099] See Figure 7 This figure is a schematic diagram of a scenario provided in an embodiment of this application.

[0100] In existing technologies, when charging is performed using a transmitter coil, the operating frequency of the transmitter coil is typically several hundred kHz. However, in this embodiment, when ANT2 transmits radio frequency energy to ANT4, it uses a Wi-Fi / Bluetooth antenna, so the radio frequency signal frequency band is approximately 2.4 GHz. To improve energy transmission efficiency, in this application, the polarization direction of the stylus's ANT4 and the electronic device's ANT2 is kept the same, thereby achieving maximum coupling. For example, the polarization direction of ANT4 and ANT2 in the figure can both be the Y direction.

[0101] In this embodiment, the specific lengths of ANT2 and ANT4 are not limited. In practical applications, to maximize energy transmission efficiency, the lengths of ANT2 and ANT4 can be set to be the same, and ANT2 and ANT4 can be aligned; or the length of ANT4 can be greater than the length of ANT2, and ANT2 can be located within the range of both ends of ANT4, that is, lt is less than lr in the figure. In this case, more of the radio frequency signal emitted by ANT2 can be received by ANT4, reducing the energy dissipated into free space and improving the efficiency of energy transmission.

[0102] Furthermore, ANT2 should be as close as possible to ANT4 to improve coupling and ensure that the radio frequency energy emitted by ANT4 is received by ANT2 as much as possible. Taking a radio frequency signal frequency band of 2.4GHz as an example, the wavelength λ of the radio frequency signal satisfies the following formula:

[0103]

[0104] After testing the energy transfer efficiency between ANT2 and ANT4 at different distances, it was found that when the distance between ANT2 and ANT4 is about 0.04λ, or about 0.5 cm, the transmission efficiency between the antennas reaches -3dB, which can well meet the charging requirements. Therefore, in practical applications, the distance between ANT2 and ANT4 should be less than or equal to 0.04λ as much as possible. At this time, ANT2 and ANT4 can be brought closer together by magnetic attraction or other physical fixing structures.

[0105] See Figure 8 This figure is a simulation diagram provided in an embodiment of this application.

[0106] Figure 8 The horizontal axis represents frequency in GHz, and the vertical axis represents gain in dB. It can be seen that the gain at 2.4 GHz is -3 dB in this simulation graph.

[0107] Taking ANT2's transmit power of 18dBm as an example, when the transmission efficiency is -3dB, ANT4's receive power is 15dBm. Therefore, the receive power P of ANT4 satisfies the following formula:

[0108] P = 10 15 / 10 =31.6mW (2)

[0109] Taking the example that the energy on the stylus is lost by 50% after passing through the impedance matching circuit 15 and the RF-DC circuit 16, that is, the charging efficiency of the energy storage element 17 is 50% at this time, then the charging power of the energy storage element 17 is 15.8mW.

[0110] Taking the energy storage element 17 as an example of a micro lithium battery with a battery voltage U of 3V and a capacity of 3mAh, the charging time t can be determined by the following formula:

[0111]

[0112] That is, it only takes 34 minutes to fully charge the stylus.

[0113] In practical applications, for electronic devices such as mobile phones and tablets, the current Wi-Fi / Bluetooth antennas are usually designed as edge antennas, that is, the Wi-Fi / Bluetooth antenna is located on the edge of the electronic device. Therefore, it can transmit power at close range with the receiving antenna of the stylus, and the antenna distance can be further less than 0.04λ, thereby further improving the power transmission efficiency and further shortening the charging time.

[0114] The following explains the specific steps for charging an electronic device's stylus, based on the principles described above.

[0115] See Figure 9 The figure is a flowchart of another method for charging a stylus provided in an embodiment of this application.

[0116] Figure 9 This example uses a mobile phone as an example. The implementation is similar when the electronic device is a tablet, and will not be repeated here. The method includes the following steps:

[0117] S21: The user sets up the stylus charging on the electronic device.

[0118] When an electronic device supports stylus input, in one possible implementation, the electronic device can be configured to actively detect whether a stylus is attached to the electronic device or fixed to the electronic device by a structure such as a protective case.

[0119] See Figure 10 This figure is a schematic diagram of the settings interface provided in an embodiment of this application. Figure 1 .

[0120] Figure 2 The drop-down settings menu of the electronic device is shown. Users can swipe down on the screen of the electronic device to bring up this drop-down settings menu. When users want to enable the automatic charging function of the stylus, they can click the automatic charging icon in the drop-down settings menu to enable the automatic charging function of the electronic device.

[0121] Based on the principle of wireless charging in this application, when the Wi-Fi / Bluetooth antenna sends radio frequency energy to the receiving antenna of the stylus, the Wi-Fi / Bluetooth antenna cannot simultaneously transmit data to the electronic device.

[0122] In one possible implementation, the electronic device includes multiple Wi-Fi / Bluetooth antennas. One of these antennas, when the stylus charging function is activated, is used to charge the stylus. In this case, Wi-Fi / Bluetooth data transmission relies on the other Wi-Fi / Bluetooth antennas on the device. However, currently, the multiple Wi-Fi / Bluetooth antennas on electronic devices are typically located on opposite sides. When one antenna is blocked by the device's grip, the other antenna can still function normally, ensuring a consistently good signal. But if the other antenna is used to charge the stylus and cannot transmit data, the signal quality of the Wi-Fi / Bluetooth communication may degrade.

[0123] In another possible implementation, the electronic device includes only a single Wi-Fi / Bluetooth antenna. When this Wi-Fi / Bluetooth antenna is used to charge the stylus, the electronic device cannot transmit data via Wi-Fi / Bluetooth. Wi-Fi / Bluetooth communication can only be restored after charging is completed or the charging function is turned off.

[0124] To overcome the shortcomings of the above two implementation methods, in this embodiment, the user can set a charging time period for the stylus so that the electronic device is charged only during that time period; and the electronic device can be configured to start charging the stylus only when the Wi-Fi / Bluetooth antenna is not transmitting Wi-Fi / Bluetooth data, as described in detail below with reference to the accompanying drawings.

[0125] See Figure 11 This figure is a schematic diagram of the settings interface provided in an embodiment of this application. Figure 2 .

[0126] Users can Figure 10 Enter the automatic charging icon in the middle Figure 11 Access it through the settings interface, or through the electronic device's system settings. Figure 11 The settings interface.

[0127] The stylus charging modes in this embodiment include: a first charging mode (automatic charging of the stylus at set times) and a second charging mode (automatic charging of the stylus when idle). In practical applications, the electronic device may only support one of these modes, for example, only supporting automatic charging of the stylus at set times or only supporting automatic charging of the stylus when idle. These two charging modes are described below.

[0128] First charging mode:

[0129] The first charging mode is automatic charging of the stylus at set times, where the electronic device will only charge the stylus within a preset time period.

[0130] When the stylus is set to automatically charge, the electronic device's processor will charge the stylus according to the user-defined charging time. Users can set the automatic charging time through the "Automatic Charging Time Settings" option. For example, setting the automatic charging time to 13:00-13:30 and 2:00-5:00 corresponds to lunch break and early morning, respectively. During these time periods, users generally do not use electronic devices, meaning the devices do not transmit data via Wi-Fi / Bluetooth. The stylus can be charged using the Wi-Fi / Bluetooth antenna without affecting the user experience.

[0131] If the electronic device determines that it is currently in automatic charging mode, but the Wi-Fi / Bluetooth antenna is being used for data transmission, a pop-up window can remind the user to stop using the Wi-Fi / Bluetooth antenna for data transmission, disable the stylus's timed automatic charging function, or adjust the automatic charging time. For example, if the user stops browsing the internet after seeing the pop-up window, the processor can start charging the stylus when the electronic device is in screen-off mode or when there is no Wi-Fi / Bluetooth data transmission within a first preset time.

[0132] In one possible implementation, when the electronic device determines that it is currently in an automatic charging period and the screen of the electronic device is currently off, it is determined that the first antenna is not used for data transmission.

[0133] In other words, the priority of determining whether the Wi-Fi / Bluetooth antenna is currently in use is higher than the determination of automatic charging time, in order to avoid reducing the user's communication experience as much as possible.

[0134] The automatic charging time can be set by the user, which can better match the user's usage habits and schedule.

[0135] The stylus automatically charges when not in use:

[0136] When automatic charging of the stylus during idle time is enabled, the electronic device will charge the stylus when there is no Wi-Fi / Bluetooth data transmission. In one possible implementation, the processor of the electronic device determines that the electronic device is idle when there is no Wi-Fi / Bluetooth data transmission within a first preset time. If the stylus is detected in the charging position at this time, charging of the stylus can be started. In another possible implementation, the processor determines that the electronic device is idle when the screen is off. If the stylus is detected in the charging position at this time, charging of the stylus can be started.

[0137] The following explanation uses the example of a user simultaneously enabling both timed automatic charging and idle automatic charging of the stylus. In this case, the electronic device will charge the stylus within the preset time period, and will also charge the stylus when the Wi-Fi / Bluetooth antenna is idle.

[0138] S22: The first processor of the electronic device determines that it is currently in an automatic charging period, or the electronic device is off, or the electronic device has no Wi-Fi / Bluetooth data transmission within a first preset period.

[0139] After the stylus charging settings are completed, the electronic device's primary processor is able to determine whether the stylus is currently being charged.

[0140] S23: The first processor of the electronic device determines that the stylus is currently in place.

[0141] Once the first processor determines that the charging conditions for the stylus are met, it also needs to determine whether the stylus is magnetically attached or fixed in the charging position. If the stylus is not currently in the charging position, the radio frequency signal emitted by the phone's antenna cannot effectively charge the stylus.

[0142] See also Figure 7 The stylus is in the charging position, meaning it is fixed close to the casing of the electronic device. The polarization directions of the phone antenna and the stylus antenna are the same, and the phone antenna is located within the range of both ends of the stylus antenna.

[0143] In one possible implementation, the stylus and electronic device can be fixed relative to each other by magnetic attraction. The electronic device can be equipped with a magnetic sensor, which may include a Hall effect sensor. The electronic device can use the magnetic sensor to detect the presence or absence of the stylus. For example, when the stylus is attached to the electronic device, the magnet on the stylus can cause a change in the magnetic field. The magnetic sensor can detect this change, allowing the first processor of the electronic device to determine, based on the detection result of the magnetic sensor, that the stylus is currently attached to the electronic device.

[0144] In another possible implementation, instead of a magnet for attracting the stylus, the electronic device is placed in a protective case or cover. The case or cover has a stylus-retaining structure, such as a retaining groove or retaining cavity, which fixes the stylus in the charging position. In this case, the stylus's magnet can cause a change in the magnetic field, which can be detected by a magnetic sensor. This allows the electronic device's first processor to determine that the stylus is currently in the charging position based on the detection result of the magnetic sensor.

[0145] S24: The first processor controls the wireless charging module to transmit radio frequency energy through the mobile phone antenna according to a preset cycle.

[0146] S25: The stylus antenna uses the received radio frequency energy to charge the stylus's energy storage components.

[0147] See also Figure 4 The stylus antenna ANT4 transmits radio frequency energy to the RF-DC circuit through S3 and impedance matching circuit 15, and the RF-DC circuit converts the radio frequency energy into DC power to charge the energy storage element.

[0148] S26: The first processor controls the wireless charging module to transmit the first communication information through the mobile phone antenna according to a preset cycle.

[0149] See Figure 12 The figure is a schematic diagram of the working principle of a mobile phone antenna provided in an embodiment of this application.

[0150] The first processor controls the wireless communication module to transmit radio frequency energy to the stylus via the mobile phone antenna during the first time period T1, and controls the wireless communication module to transmit first communication information to the stylus via the mobile phone antenna during the second time period T2.

[0151] The first time period T1 and the second time period T2 alternate. That is, the transmission period of radio frequency energy is a preset period, and the transmission period of the first communication information is a preset period.

[0152] In this application embodiment, the duration of the first time period T1 and the second time period T2 is not specifically limited. In actual applications, the duration of the first time period is longer than the duration of the second time period.

[0153] The first communication information is used to request feedback from the stylus on the current power level of the energy storage unit. Communication between the stylus and the electronic device is achieved via short-range radio communication technology. This application does not limit the specific communication technology used, but it may include, but is not limited to, Bluetooth communication or NearLink.

[0154] S27: The stylus antenna sends the first communication information to the stylus's communication module.

[0155] See also Figure 4 The stylus antenna ANT4 transmits the first communication information through S3, impedance matching circuit 12 and filter 13 to the communication module 14 for demodulation to obtain demodulated information.

[0156] S28: The communication module sends the first demodulated information to the second processor.

[0157] S29: The second processor obtains the current battery level information of the stylus.

[0158] The power information indicates the current power state of the stylus's energy storage element. In one possible implementation, the power information indicates the current state of charge (SOC) of the energy storage element. SOC, also known as remaining power, represents the ratio of the remaining capacity to its capacity when fully charged.

[0159] S30: The second processor sends the power information to the communication module.

[0160] S31: The communication module modulates and generates second communication information and transmits it to the stylus antenna.

[0161] The communication module modulates and generates second communication information based on the power information. The second communication information is used to indicate the current power status of the energy storage element.

[0162] S32: The stylus antenna transmits second communication information to the electronic device.

[0163] S33: The mobile phone antenna sends the second communication information to the wireless communication module.

[0164] S34: The wireless communication module demodulates the second communication information to obtain the second demodulated information and sends it to the first processor.

[0165] S35: When the first processor determines that the stylus has finished charging based on the second demodulation information, it controls the phone antenna to stop transmitting radio frequency energy.

[0166] The second demodulated information is used to indicate the current power status of the energy storage element. Based on the second demodulated information, the first processor can determine the current power status of the energy storage element, and thus determine whether the energy storage element has completed charging.

[0167] At this point, the phone can promptly determine that the stylus is fully charged, and then control the Wi-Fi / Bluetooth antenna to stop emitting radio frequency energy, thereby reducing the phone's power consumption and saving battery power.

[0168] The above steps in the embodiments of this application are for illustrative purposes only and do not constitute a limitation on the technical solution of this application. In actual applications, S24-S25 correspond to the radio frequency energy transmission process, and S26-S34 correspond to the communication process. The two processes can alternate multiple times. The control cycle of the radio frequency energy transmission process is a preset cycle, and the control cycle of the communication process is a preset cycle. Until a certain communication process ends, the first processor of the electronic device determines that the stylus has finished charging and controls the mobile phone antenna to stop transmitting radio frequency energy.

[0169] Furthermore, the order of S23 and S22 above can also be reversed, that is, the electronic device will only determine whether the conditions for charging the stylus are met when it detects that the stylus is in place.

[0170] In the above embodiments, the stylus and the electronic device are Figure 4 The implementation method is illustrated using an example. In this case, the electronic device time-multiplexes ANT2 to transmit radio frequency energy and the first communication information. The stylus's ANT4 is time-multiplexed to receive radio frequency energy, receive the first communication information, and transmit the second communication information.

[0171] In another possible implementation, the stylus could be used Figure 5 In this implementation, the ANT4 of the stylus is only used to receive radio frequency energy, and the stylus uses ANT5 to receive the first communication information and send the second communication information. The specific steps will not be described in detail here.

[0172] In summary, the stylus charging method provided in this application can utilize the antenna on the electronic device used for Wi-Fi and / or Bluetooth communication to send radio frequency energy to the stylus, thereby charging the stylus. This charging method does not require a built-in transmitter coil in the electronic device; instead, it charges the stylus by reusing an existing antenna within the electronic device. Therefore, it reduces hardware costs, saves space, and simplifies the layout of the internal circuitry of the electronic device. Furthermore, users can configure automatic charging time for the stylus according to their own habits, or the electronic device can automatically charge the stylus when the screen is off or when there is no Wi-Fi / Bluetooth data transmission within a first preset time, without affecting the user's communication experience. Therefore, it has high practicality.

[0173] The above embodiments illustrate the example of an electronic device actively sending first communication information to a stylus to request battery information. In practical applications, the stylus can also actively report battery information to the electronic device during charging, as will be explained in detail below.

[0174] After the stylus has been charged using radio frequency energy for the first time period, its second processor obtains the current battery level and sends this information to the stylus's communication module. The communication module then modulates and generates third communication information based on the battery level information and transmits it to the stylus antenna. The stylus antenna then transmits this third communication information to the phone's antenna. The stylus can send this third communication information to the electronic device at preset intervals.

[0175] The mobile phone antenna sends third communication information to the mobile phone's wireless communication module. The wireless communication module demodulates the third communication information to obtain third demodulated information and sends it to the first processor. The first processor determines whether the stylus is fully charged based on the battery level information indicated in the third demodulated information. After receiving the third demodulated information, the first processor controls the wireless communication module to reply with fourth communication information to the stylus, indicating that the third communication information has been received, thus responding to the stylus. After receiving the fourth communication information, the stylus switches back to the charging circuit in step S3 and continues to charge the energy storage element using the radio frequency energy transmitted by the electronic device. It is understood that if the stylus's second processor determines that charging is complete based on the battery level of the energy storage element, upon receiving the fourth communication information, it can allow step S3 to continue connecting the impedance matching circuit 12 to maintain communication.

[0176] In the above embodiments, when the electronic device supports stylus input, it can generally determine the stylus's battery level by communicating with it. Therefore, the electronic device only needs to control the Wi-Fi / Bluetooth antenna to send unmodulated radio frequency signals to the device at the software level to charge the stylus, while the current antenna structure and radio frequency circuit can be used at the hardware level. To improve charging efficiency, the length of the receiving antenna in the stylus needs to be determined based on the length of the Wi-Fi / Bluetooth antenna of the electronic device. Furthermore, the parameters of the impedance matching circuits 12 and 15 in the stylus need to be determined based on the parameters of the Wi-Fi / Bluetooth antenna of the electronic device, thereby enabling the design of a stylus model corresponding to the electronic device.

[0177] It is understood that in the above embodiments, the mobile phone antenna used to charge the stylus on the electronic device is a Wi-Fi / Bluetooth antenna, and the center operating frequency of this mobile phone antenna is 2.4GHz. When the electronic device includes a cellular antenna, it can also be used to charge the stylus. For example, when the electronic device includes a mid-high frequency (MHB) cellular antenna, since the MHB band supports a frequency range of 1710MHz to 2700MHz, which can cover 2.4GHz, it can also charge the stylus. In this case, the electronic device sends radio frequency energy to the stylus through the cellular antenna, and the electronic device communicates with the stylus through the Bluetooth antenna. The remaining charging steps are similar to those described above and will not be repeated here.

[0178] Furthermore, the antenna used to charge the stylus on the electronic device can be a single-electrode antenna, a symmetrical dipole antenna, an inverted-F antenna (IFA), a planar inverted-F antenna (PIFA), or a microstrip patch antenna, etc., and this application embodiment does not specifically limit it in this way.

[0179] The following describes other implementations of styluses and electronic devices.

[0180] See Figure 13 This figure is a circuit diagram provided in an embodiment of this application. Figure 3 .

[0181] Figure 13 and Figure 4 The difference lies in the fact that electronic device 20 includes an impedance matching adjustment circuit 44. The impedance matching adjustment circuit 44 specifically includes an impedance matching circuit 441 and an impedance matching circuit 442.

[0182] When the ANT2 of the electronic device 20 is used to transmit radio frequency power to charge the stylus, S7 and S8 are connected to the impedance matching circuit 441. At this time, the impedance matching circuit 15 of the stylus's receiving end is connected to the circuit. Impedance matching circuits are added on both sides, so that the impedance of the radio frequency energy transmitting end can match the impedance of the stylus's receiving end, thereby improving the efficiency of energy transmission.

[0183] When the ANT2 of the electronic device 20 communicates with the stylus, S7 and S8 are connected to the impedance matching circuit 442, and the impedance matching circuit 12 of the receiving end of the stylus is connected to the circuit. At this time, impedance matching circuits are added on both sides to make the impedances on both sides match, thus ensuring the communication quality when the two sides communicate with each other.

[0184] use Figure 13 The steps for charging an electronic device's stylus Figure 9 The steps shown are similar and will not be repeated here.

[0185] In this implementation, two impedance matching circuits are added to the electronic device, one for impedance matching during radio frequency energy transmission and the other for impedance matching during data communication, thereby ensuring the efficiency of radio frequency energy transmission and the quality of data communication.

[0186] See Figure 14 This figure is a circuit diagram provided in an embodiment of this application. Figure 4 .

[0187] Figure 14 and Figure 4 The difference is that the electronic device 20 includes an impedance matching adjustment circuit 44, while the stylus does not have an impedance matching circuit.

[0188] The impedance matching adjustment circuit 44 specifically includes impedance matching circuit 441 and impedance matching circuit 442.

[0189] When the ANT2 of the electronic device 20 is used to transmit radio frequency power to charge the stylus, S7 and S8 are connected to the impedance matching circuit 441. The impedance matching circuit 441 is used to match the impedance of the radio frequency energy transmitter with the impedance of the stylus receiver, thereby improving the efficiency of energy transmission.

[0190] When the ANT2 of the electronic device 20 communicates with the stylus, S7 and S8 are connected to the impedance matching circuit 442. The impedance matching circuit 442 is used to match the impedances on both sides, ensuring the communication quality when the two sides communicate with each other.

[0191] use Figure 14 The steps for charging an electronic device's stylus Figure 9 The steps shown are similar and will not be repeated here.

[0192] In this implementation, two impedance matching circuits are added to the electronic device, one for impedance matching during radio frequency power transmission and the other for impedance matching during data communication, thereby ensuring the efficiency of radio frequency power transmission and the quality of data communication. Since the impedance matching circuit 442 of the electronic device has already been matched with the stylus, an impedance matching circuit is not required on the stylus, simplifying the circuit structure of the stylus.

[0193] Based on the stylus charging method provided in the above embodiments, this application also provides an electronic device, which will be described in detail below with reference to the accompanying drawings.

[0194] See Figure 15 This figure is a schematic diagram of an electronic device provided in an embodiment of this application.

[0195] The electronic device 20 can be a router, laptop, tablet, non-foldable screen phone, or foldable screen phone, etc., and the embodiments of this application do not specifically limit it.

[0196] Electronic device 20 may include: processor 210, internal memory 220, sensor module 230, mobile communication module 240, wireless communication module 250, antenna group 1 and antenna group 2.

[0197] The sensor module 230 may include a pressure sensor, a gyroscope sensor, a magnetic sensor 180D, an accelerometer, a fingerprint sensor, etc.

[0198] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 20. In other embodiments of this application, the electronic device 20 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0199] Processor 20 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a baseband processor, etc. These different processing units may be independent devices or integrated into one or more processors.

[0200] The processor 20 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 20 is a cache memory. This memory can store instructions or data that the processor 20 has just used or that are used repeatedly. If the processor 20 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 20, and thus improves the efficiency of the system.

[0201] The wireless communication function of electronic device 20 can be implemented through antenna group 1, antenna group 2, mobile communication module 240, wireless communication module 250, modem processor and baseband processor, etc.

[0202] In some embodiments, the antenna group 1 of the electronic device 20 is coupled to the mobile communication module 240, and the antenna group 2 is coupled to the wireless communication module 250, so that the electronic device 20 can communicate with the network and other devices through wireless communication technology.

[0203] Antenna group 1 and antenna group 2 are used to transmit and receive electromagnetic wave signals.

[0204] Each antenna in electronic device 20 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antennas in antenna group 1 can be multiplexed as diversity antennas for a wireless local area network, and some antennas in antenna group 2 can be multiplexed for Bluetooth and Wi-Fi communication. In other embodiments, antennas can be used in conjunction with tuning switches.

[0205] The mobile communication module 240 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 20. The mobile communication module 240 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 240 can receive electromagnetic waves through the antenna of the antenna group 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to the modem processor for demodulation. The mobile communication module 240 can also amplify the signal modulated by the modem processor and radiate it as electromagnetic waves through the wires of the antenna group 1. In some embodiments, at least some functional modules of the mobile communication module 240 may be housed in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 240 and at least some modules of the processor 210 may be housed in the same device.

[0206] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 210 and may be housed in the same device as the mobile communication module 240 or other functional modules.

[0207] The wireless communication module 250 can provide solutions for wireless communication applications on electronic devices 20, including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies.

[0208] The wireless communication module 250 can be one or more devices integrating at least one communication processing module. The wireless communication module 250 receives electromagnetic waves via the antenna of antenna group 2, performs frequency modulation and filtering of the electromagnetic wave signal, and sends the processed signal to processor 210. The wireless communication module 250 can also receive signals to be transmitted from processor 210, perform frequency modulation and amplification, and then convert them into electromagnetic waves for radiation via the antenna of antenna group 2.

[0209] The wireless communication module 250 in this embodiment may include Figure 4 , Figure 13 as well as Figure 14 The first transmitting circuit 30, the second transmitting circuit 40, the first filter 33, the second filter 43, and the third filter 45 are included; it may also include Figure 5 The modem processor 50 and the transmit switch 60 are included.

[0210] For details on the specific implementation and working principle of the wireless communication module, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.

[0211] The electronic device provided in this application embodiment can reuse the antenna used for Wi-Fi and / or Bluetooth communication to send radio frequency energy to the stylus. When the electronic device includes an MHB cellular antenna, it can also be used to charge the stylus. In this case, the electronic device sends radio frequency energy to the stylus through the cellular antenna, thereby charging the stylus. Furthermore, the electronic device does not need to have a built-in transmitting coil for charging the stylus, thus reducing hardware costs, saving space, and simplifying the layout of the internal circuitry. In addition, users can configure automatic charging time for the stylus according to their own habits, or the electronic device can automatically charge the stylus when the screen is off, or when there is no Wi-Fi / Bluetooth data transmission within a first preset time, without affecting the user's communication experience. Therefore, it has high practicality.

[0212] This application also provides a stylus, the specific implementation and working principle of which can be found in [reference needed]. Figure 4 , Figure 13 or Figure 14 The stylus 10 in this embodiment will not be described in detail here. It is understood that in practical applications, the current charging method can coexist with the charging method provided in this embodiment, but this requires the electronic device to have a transmitting coil.

[0213] This application also provides a collaborative work system, which includes an electronic device and a stylus, as described in detail below with reference to the accompanying drawings.

[0214] See Figure 16 This figure is a schematic diagram of the collaborative work system provided in an embodiment of this application.

[0215] The collaborative work system 1600 includes a stylus 10 and an electronic device 20.

[0216] In one possible implementation, such as Figure 16 As shown in (a), electronic device 20 is a foldable screen phone.

[0217] In another possible implementation, such as Figure 16 As shown in (b), electronic device 20 is a tablet computer.

[0218] For details on the specific working principles of the stylus 10 and the electronic device 20, as well as the charging process of the electronic device for the stylus, please refer to the descriptions in the above embodiments. The embodiments of this application will not be repeated here.

[0219] This application provides a storage medium storing a program that, when executed by a processor, implements the stylus charging method.

[0220] In the above embodiments, taking the transmission of unmodulated radio frequency signals by the antenna of the electronic device when charging the stylus as an example, in other embodiments, the antenna of the electronic device can also directly use modulated communication signals to charge the stylus when charging the stylus. In this case, the antenna can also transmit data simultaneously while charging the stylus.

[0221] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically-erasable programmable read-only memory (EEPROM), flash memory, or other memory technologies.

[0222] Furthermore, in this application, directional terms such as "upper" and "lower" may be defined relative to the orientation in which the components are schematically placed in the accompanying drawings. It should be understood that these directional terms can be relative concepts, used for relative description and clarification, and can change accordingly depending on the orientation in which the components are placed in the accompanying drawings.

[0223] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0224] In this application, unless otherwise expressly specified and limited, the term "connection" shall be interpreted broadly. For example, "connection" may be a fixed connection, a detachable connection, or an integral part; it may be a direct connection or an indirect connection through an intermediate medium.

[0225] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0226] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for charging a stylus, characterized in that, Applied to an electronic device, the electronic device including a first antenna, a first impedance matching circuit and a second impedance matching circuit located between a transmitting circuit and a filter, the method includes: When it is determined that the first antenna is not used for data transmission and the stylus is in the charging position, during a first time period, the first impedance matching circuit is activated, and the first signal processed by the first impedance matching circuit is transmitted using the first antenna. This allows the stylus to receive the signal transmitted by the first antenna using a second antenna to obtain radio frequency energy for charging. The second antenna of the stylus has the same polarization direction as the first antenna. The first antenna is a Bluetooth antenna, or a Wi-Fi antenna, or a mid-to-high frequency (MHB) cellular antenna, and the distance between the first antenna and the second antenna during operation is less than or equal to 0.

04. The The wavelength of the first signal is given, the length of the second antenna is greater than the length of the first antenna, and the first antenna is located within the range of both ends of the second antenna. During the second time period, the second impedance matching circuit is turned on and the first impedance matching circuit is turned off. The first communication information processed by the second impedance matching circuit is transmitted using the first antenna, and the second communication information sent by the stylus is received. During the second time period, the electronic device does not charge the stylus. The first communication information is used to request the stylus's power information, and the second communication information is used to indicate the current power status of the stylus's energy storage element. The first time period and the second time period alternate periodically until the electronic device determines that the stylus is fully charged based on the second communication information.

2. The charging method according to claim 1, characterized in that, The determination that the first antenna is not used for data transmission specifically includes: When the electronic device is off and is currently in a preset time period, it is determined that the first antenna is not used for data transmission. The preset time period is the time period set by the user for automatically charging the stylus.

3. The charging method according to claim 1, characterized in that, The determination that the first antenna is not used for data transmission specifically includes: When the electronic device does not transmit data through the first antenna within a first preset time, it is determined that the first antenna is not used for data transmission.

4. The charging method according to any one of claims 1-3, characterized in that, During the first time period, the first impedance matching circuit is turned on, and the first signal processed by the first impedance matching circuit is transmitted using the first antenna, so that the stylus can receive the signal transmitted by the first antenna using the second antenna to obtain radio frequency energy for charging. Specifically, this includes: The first antenna is controlled to transmit an unmodulated radio frequency signal according to a preset period, so that the first antenna transmits the radio frequency energy.

5. The charging method according to claim 4, characterized in that, The method further includes: The first antenna is controlled to send the first communication information to the stylus according to the preset period.

6. The charging method according to claim 4, characterized in that, The method further includes: The third communication information sent by the stylus is received, and the third communication information is used to actively indicate the current power status of the energy storage element of the stylus during the charging process. When it is determined that the stylus is fully charged based on the third communication information, the first antenna is controlled to stop transmitting radio frequency energy.

7. The charging method according to claim 6, characterized in that, The method further includes: Upon receiving the third communication information, the stylus replies with a fourth communication information, which indicates that the third communication information has been received.

8. A method for charging a stylus, characterized in that, Applied to a stylus, the stylus includes a second antenna, a power converter, an energy storage element, a first impedance matching circuit, and a second impedance matching circuit; the method includes: During the first time period, the first impedance matching circuit is turned on, and the second antenna receives the radio frequency energy transmitted by the first antenna of the electronic device. The first antenna is a Bluetooth antenna, a Wi-Fi antenna, or a mid-to-high frequency (MHB) cellular antenna, and the distance between the first antenna and the second antenna during operation is less than or equal to 0.

04. The The wavelength of the first signal transmitted by the first antenna is given, the length of the second antenna is greater than the length of the first antenna, and the first antenna is located within the range of both ends of the second antenna. The power converter converts the radio frequency energy into direct current and transmits the direct current to the energy storage element so that the energy storage element can be charged using the direct current; During the second time period, the second impedance matching circuit is turned on and the first impedance matching circuit is turned off. The received first communication information is used to obtain power information and to send second communication information to the electronic device. During the second time period, the electronic device does not charge the stylus. The first communication information is used to request the power information of the stylus, and the second communication information is used to indicate the current power status of the energy storage element of the stylus. The first time period and the second time period alternate periodically until the electronic device determines that the stylus is fully charged based on the second communication information.

9. The charging method according to claim 8, characterized in that, The method further includes: The energy storage element's electrical status is acquired according to a preset period; A third communication message is generated based on the power status, and the third communication message is actively sent to the electronic device. The third communication message is used to actively indicate the current power status of the energy storage element during the charging process.

10. The charging method according to claim 9, characterized in that, The method further includes: After receiving the fourth communication information sent by the electronic device, the energy storage element is charged using the radio frequency energy sent by the electronic device. The fourth communication information is used to indicate that the third communication information of the stylus has been received.

11. An electronic device, characterized in that, The electronic device includes: a first antenna, a first impedance matching circuit, a second impedance matching circuit, and a processor; The first antenna is a Bluetooth antenna, or a Wi-Fi antenna, or a mid-to-high frequency (MHB) cellular antenna, and the distance between the first antenna and the second antenna of the stylus is less than or equal to 0.04 km when they are in operation. The The wavelength of the first signal is given, the length of the second antenna is greater than the length of the first antenna, and the first antenna is located within the range of both ends of the second antenna. The polarization directions of the first antenna and the second antenna are the same. The processor is configured to, when determining that the first antenna is not used for data transmission and that the stylus is in a charging position, control the first impedance matching circuit to be turned on during a first time period, and transmit the first signal processed by the first impedance matching circuit using the first antenna, so that the stylus can receive the signal transmitted by the first antenna using a second antenna to obtain radio frequency energy for charging; during a second time period, control the second impedance matching circuit to be turned on and the first impedance matching circuit to be turned off, transmit the first communication information processed by the second impedance matching circuit using the first antenna, and receive the second communication information sent by the stylus; during the second time period, the electronic device does not charge the stylus; the first communication information is used to request the stylus's power information; the second communication information is used to indicate the current power status of the stylus's energy storage element; the first time period and the second time period alternate periodically until the electronic device determines that the stylus is fully charged based on the second communication information.

12. A stylus, characterized in that, The stylus includes: a second antenna, a power converter, an energy storage element, a first impedance matching circuit, and a second impedance matching circuit; The first impedance matching circuit is turned on during a first time period. The second antenna is used to receive radio frequency energy transmitted by the first antenna of the electronic device during the first time period and transmit the radio frequency energy to the power converter. The first antenna is a Bluetooth antenna, or a Wi-Fi antenna, or a mid-to-high frequency (MHB) cellular antenna, and the distance between the first antenna and the second antenna during operation is less than or equal to 0.

04. The The wavelength of the first signal transmitted by the first antenna is given, the length of the second antenna is greater than the length of the first antenna, and the first antenna is located within the range of both ends of the second antenna. The power converter is used to convert the radio frequency energy into direct current and transmit the direct current to the energy storage element so that the energy storage element can be charged using the direct current; The second impedance matching circuit is turned on during the second time period, and the first impedance matching circuit is turned off during the second time period. The stylus is used to obtain power information using the received first communication information and to send second communication information to the electronic device during the second time period. During the second time period, the electronic device does not charge the stylus. The first communication information is used to request the power information of the stylus, and the second communication information is used to indicate the current power status of the energy storage element of the stylus. The first time period and the second time period alternate periodically until the electronic device determines that the stylus is fully charged based on the second communication information.

13. A collaborative work system, characterized in that, The collaborative work system includes the stylus of claim 12 and the electronic device of claim 11; The electronic device is used to charge the stylus.

Citation Information

Patent Citations

  • Electronic device, power receiving device, charging control method, and charging system

    CN115514110A