Patent Description:
Embodiments of this application relate to the field of terminal technologies, and in particular, to a wireless charging system.

With the development of science and technology, some electronic products (such as tablet computers) have been provided with accessories such as wireless keyboards and electronic styluses. As an input device, a wireless keyboard has an advantage of a high input speed. As a new type of input device, an electronic stylus has advantages such as easy input, self handwriting, and identity authentication.

Currently, electronic styluses are charged mainly in two manners: wired charging and wireless charging. Existing wired charging is usually implemented with an electronic stylus being provided with a wired charging interface that is connected to a power supply device such as an adapter by a cable. Such a charging manner makes it difficult to achieve intactness and beauty of electronic styluses. Existing wireless charging is usually implemented with a tablet computer and an electronic stylus each being provided with a wireless charging coil, where the electronic stylus is adhered to the tablet computer with the wireless charging coil on the electronic stylus coupled to the wireless charging coil on the tablet computer, thereby implementing wireless charging for the electronic stylus.

However, in this charging solution, because the tablet computer has weak adhesion, the electronic stylus is apt to fall off the tablet computer. In addition, when a wireless keyboard and an electronic stylus are accommodated as accessories, the wireless keyboard can usually be accommodated with the tablet computer as a whole, whereas the electronic stylus needs to be additionally accommodated. Therefore, portability of the tablet computer, the wireless keyboard, and the electronic stylus as an integrated system is comparatively poor. Furthermore, there are usually a plurality of chips disposed in a charging link of an existing charging system, which leads to comparatively high costs.

<CIT> relates to a wireless charging system, a chip, and a wireless circuit. The wireless charging system includes an electronic device and a stylus.

<CIT> relates to a wireless keyboard that has a storage function of an electronic handwriting pen and can wirelessly charge the electronic handwriting pen.

<CIT> relates to a wireless charging device and a wireless charging system and method. <CIT> relates to a stylus for electronic devices that can be charged wirelessly.

This application provides a wireless charging system. The wireless charging system has a function of wirelessly charging an electronic stylus while accommodating the electronic stylus, so that integration of accommodation and wireless charging is implemented, and portability is good. In addition, a length of a wireless charging link is reduced, and a quantity of chips used in the link is reduced, thereby improving charging efficiency and reliability and reducing costs.

According to a first aspect, this application provides a wireless charging system. The system includes a tablet computer, a wireless keyboard, and an electronic stylus. The wireless keyboard includes a keyboard body, a support configured for placing the tablet computer, and a connection portion configured to adjustably connect the keyboard body and the support.

A first battery, a first wireless output control module, and a first wireless output coil are disposed in the tablet computer. The first wireless output control module is connected to the first battery. The first wireless output coil is connected to the first wireless output control module.

A first wireless receiving coil, a first wireless receiving control module, a first charging control module, and a second battery are disposed in the keyboard body. The first wireless receiving coil receives an electromagnetic signal sent by the first wireless output coil. The first wireless receiving control module is connected to the first wireless receiving coil. The first charging control module is connected to the first wireless receiving control module. The second battery is connected to the first charging control module.

The connection portion includes an accommodation cavity provided with an opening at one end. The accommodation cavity is configured to accommodate the electronic stylus through the opening.

A second wireless output coil is disposed in the accommodation cavity. The second wireless output coil is connected to the first wireless receiving coil. The second wireless output coil is configured to wirelessly charge the electronic stylus accommodated in the accommodation cavity.

Based on this, wireless charging apparatuses of two levels are disposed, so that the tablet computer wirelessly charges the wireless keyboard, and the wireless keyboard wirelessly charges the electronic stylus. The first wireless output control module, the first wireless output coil, the first wireless receiving coil, and the first wireless receiving control module constitute a first-level wireless charging apparatus, so that the tablet computer wirelessly charges the wireless keyboard. The first wireless receiving coil and the second wireless output coil that are directly connected to each other, and a wireless receiving coil and a wireless receiving control module that are in the electronic stylus constitute a second-level wireless charging apparatus, so that the wireless keyboard wirelessly charges the electronic stylus. The first charging control module and the second battery are disposed in the wireless keyboard. The first charging control module can be configured to control a current, a voltage, and the like for charging the second battery, so that the current and voltage are stable. The second battery can be used as a power source to supply power to the wireless keyboard.

When the wireless keyboard wirelessly charges the electronic stylus, an alternating current signal received by the first wireless receiving coil is directly transferred to the second wireless output coil, thereby implementing direct transmission of an alternating current, with no need for a conversion process of converting the alternating current into a direct current and converting the direct current into an alternating current. This saves chips needed for AC-to-DC conversion and DC-to-AC conversion, thereby reducing costs. In addition, a length of a wireless charging link is reduced, thereby improving reliability and efficiency of wireless charging.

While two-level wireless charging is implemented, the accommodation cavity is disposed in the wireless keyboard, so that the wireless keyboard accommodates the electronic stylus, thereby improving portability of the entire charging system. The second wireless output control module and the second wireless output coil are disposed in the accommodation cavity, to wirelessly charge the electronic stylus while the electronic stylus is accommodated.

In a possible design manner of the first aspect, the second wireless output coil and the first wireless receiving coil are connected by using a matching circuit, the matching circuit includes a first capacitor and a second capacitor, the first capacitor and the first wireless receiving coil form a resonant circuit, and the second capacitor and the second wireless output coil form a resonant circuit.

Based on this, the matching circuit is disposed to connect the first wireless receiving coil and the second wireless output coil, so that the alternating current signal received by the first wireless receiving coil is directly transmitted to the second wireless output coil; and the first capacitor and the second capacitor are disposed to form the resonant circuits with the first wireless receiving coil and the second wireless output coil, respectively.

In a possible design manner of the first aspect, a third wireless output coil is further disposed in the tablet computer, the third wireless output coil is connected to the first wireless output control module, and the third wireless output coil is configured to wirelessly charge the electronic stylus adhered to the tablet computer.

Based on this, the third wireless output coil is disposed in the tablet computer, and the third wireless output coil is configured to wirelessly charge the electronic stylus, so that the tablet computer wirelessly charges the electronic stylus directly.

In a possible design manner of the first aspect, a second wireless output control module and a third wireless output coil are further disposed in the tablet computer, the second wireless output control module is connected to the first battery, the third wireless output coil is connected to the second wireless output control module, and the third wireless output coil is configured to wirelessly charge the electronic stylus adhered to the tablet computer.

Based on this, in the tablet computer, the third wireless output coil is disposed, and the second wireless output control module connected to the third wireless output coil is independently disposed, where the second wireless output control module can be configured to detect, control, and transmit wireless charging energy, so that working of the third wireless output coil is unaffected by the first wireless output control module. In this way, the tablet computer can wirelessly charge the electronic stylus and the wireless keyboard at the same time.

In a possible design manner of the first aspect, a voltage stabilization control module is disposed in the tablet computer, the voltage stabilization control module is connected to the first battery, and the first wireless output control module and the second wireless output control module are both connected to the voltage stabilization control module.

Based on this, the voltage stabilization control module is disposed in the tablet computer, and the voltage stabilization control module can manage and control a voltage output by the first battery, so that the first battery can provide a stable voltage under different quantities of electricity.

In a possible design manner of the first aspect, a first control switch is disposed between the first wireless output coil and the first wireless output control module, and a second control switch is disposed between the third wireless output coil and the first wireless output control module.

Based on this, the first control switch and the second control switch are disposed, so that working states of the first wireless output coil and the third wireless output coil can be controlled. In this way, when the first wireless output coil and the third wireless output coil are both connected to the first wireless output control module, one of the wireless output coils is controlled to work, thereby avoiding a case in which the first wireless output coil and the third wireless output coil are both connected to the first wireless output control module and are simultaneously in the working states. In a possible design manner of the first aspect, a second wireless receiving coil, a second wireless receiving control module, a second charging control module, and a third battery are disposed in the electronic stylus.

The second wireless receiving coil receives an electromagnetic signal sent by the second wireless output coil.

The second wireless receiving control module is connected to the second wireless receiving coil, the second charging control module is connected to the second wireless receiving control module, and the third battery is connected to the second wireless receiving control module.

This design manner shows a specific configuration form of the electronic stylus.

In a possible design manner of the first aspect, the connection portion includes a rotating shaft, and the rotating shaft is configured to adjustably connect the keyboard body and the support.

The rotating shaft is hollow inside, and one end of the rotating shaft is provided with an opening, to form the accommodation cavity.

This design manner provides a specific implementation of the connection portion.

In a possible design manner of the first aspect, the connection portion includes a flexible connection piece and an accommodation part.

The flexible connection piece is configured to bend to adjustably connect the keyboard body and the support.

The accommodation part is fastened to a bending area of the flexible connection piece, the accommodation part is hollow inside, and one end of the accommodation part is provided with an opening, to form the accommodation cavity.

This design manner provides another specific implementation of the connection portion.

In a possible design manner of the first aspect, an elastic device is further disposed in the accommodation cavity, and when the electronic stylus is accommodated in the accommodation cavity, the elastic device is in contact with a second end of the electronic stylus. The elastic device is configured to: in response to a pressing operation performed by a user on a first end of the electronic stylus accommodated in the accommodation cavity, eject the electronic stylus out of the accommodation cavity from the second end in a direction of the first end. The first end is an end located at the opening when the electronic stylus is accommodated in the accommodation cavity, and the second end is an opposite of the first end.

Based on this, the elastic device is disposed in the accommodation cavity, and the elastic device can apply a specific elastic force to the electronic stylus after the elastic device is pressed, thereby making it easier to take the electronic stylus out of the accommodation cavity.

According to a second aspect, this application provides a computer-readable storage medium, including computer instructions. When the computer instructions are run on a wireless charging system, the wireless charging system is enabled to perform the functions of the wireless charging system according to any one of the first aspect or the possible design manners of the first aspect. According to a third aspect, this application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to perform the functions of the wireless charging system according to any one of the first aspect or the possible design manners of the first aspect.

It can be understood that, for beneficial effects that can be achieved by the computer-readable storage medium according to the second aspect and the computer program product according to the third aspect that are provided above, reference may be made to the beneficial effects of the first aspect and any one of the possible design manners of the first aspect, and details are not described herein again.

In the embodiments of this application, an expression such as "an example" or "for example" is used to represent an example, an instance, or an illustration. Any embodiment or design solution described as "an example" or "for example" in the embodiments of this application shall not be interpreted as being more preferential or advantageous than other embodiments or design solutions. To be precise, the expression such as "an example" or "for example" is intended to present a related concept in a specific manner.

In the embodiments of this application, the terms "first" and "second" are merely intended for a purpose of description, and shall not be understood as an indication or implication of relative importance or an implicit indication of a quantity of indicated technical features. Therefore, a feature limited by "first" or "second" may explicitly or implicitly include one or more features.

It should be understood that the terms used in the descriptions of the various examples in this specification are merely intended to describe specific examples, but are not intended to limit this application. As used in the descriptions of the various examples, unless otherwise clearly stated in the context, singular forms "one ("a" and "an")" and "the" are intended to also include plural forms. In this application, "at least one" means one or more, and "a plurality of" means two or more. "At least one of the following items (objects)" or a similar expression means any combination of these items, including a single item (object) or any combination of a plurality of items (objects). For example, at least one item (object) of a, b, or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, and c may be singular or plural.

It should be further understood that the term "and/or" used in this specification refers to and intends to cover any and all possible combinations of one or more of the associated listed items. The term "and/or" describes an association relationship for describing associated objects and represents the presence of three relationships. For example, A and/or B may represent the presence of three cases: only A, both A and B, and only B. In addition, the character "/" in this application generally indicates an "or" relationship between associated objects.

It should be further understood that in this application, unless otherwise specified and defined explicitly, the term "connect" should be understood in its general sense. For example, "connect" may refer to a fixed connection, a sliding connection, a detachable connection, or an integrated connection; and may be a direct connection, or an indirect connection through an intermediate medium.

It should be further understood that when used in this specification, the term "include" (also "includes", "including", "comprises", and/or "comprising") is used to specify the presence of the stated features, integers, steps, operations, elements, and/or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groupings thereof.

It should be understood that references to the terms "an embodiment", "another embodiment", and "a possible design manner" throughout the specification mean that specific features, structures, or characteristics related to the embodiments or implementations are included in at least one embodiment of this application. Therefore, "in an embodiment of this application", "in another embodiment of this application", and "a possible design manner" appearing throughout the specification do not necessarily refer to a same embodiment. In addition, these specific features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. To resolve a prior-art problem that, for a tablet computer, a wireless keyboard, and an electronic stylus as an integrated system, accommodation is not sufficiently convenient during wireless charging, a wireless charging link is comparatively long, and costs are high, the embodiments of this application provide a wireless charging system, which can perform a function of wirelessly charging an electronic stylus while accommodating the electronic stylus, so that integration of accommodation and wireless charging is implemented, and portability is good. The following describes the embodiments of this application with reference to <FIG>.

<FIG> is a schematic diagram of a product form of a wireless charging system according to an embodiment of this application. As shown in <FIG>, the wireless charging system includes a tablet computer <NUM> and a wireless keyboard <NUM>, and the wireless keyboard <NUM> includes a keyboard body A and a support B configured for placing the tablet computer <NUM> The keyboard body A and the support B are connected by using a connection portion C. The connection portion C may be a flexible material, a rotating shaft, or the like, so that the keyboard body A and the support B can rotate in relation to each other. The tablet computer <NUM> is placed or sleeved on the support B, to form a specific included angle with the keyboard body of the wireless keyboard <NUM>.

As shown in <FIG>, an accommodation cavity <NUM> is disposed in the connection portion C of the wireless keyboard <NUM> in the wireless charging system, and one end of the accommodation cavity <NUM> is provided with an opening <NUM>. An electronic stylus <NUM> shown in <FIG> may be placed, through the opening <NUM>, in the accommodation cavity <NUM> shown in <FIG>. A form of the wireless charging system after accommodating the electronic stylus <NUM> is as follows.

Refer to <FIG> is a bottom view of the wireless charging system after the keyboard body A and the support B of the wireless keyboard <NUM> are closed and the electronic stylus <NUM> is inserted into the accommodation cavity <NUM> through the opening <NUM>. <FIG> is a left view of the wireless charging system after the tablet computer <NUM> is placed in the support B, the keyboard body A and the support B of the wireless keyboard <NUM> are closed, and the electronic stylus <NUM> is inserted into the accommodation cavity <NUM> through the opening <NUM>.

The tablet computer <NUM> in this embodiment of this application can wirelessly charge the wireless keyboard <NUM>. A wireless charging coil that sends an electromagnetic signal in a charging process is disposed in the tablet computer <NUM>. A wireless charging coil that receives the electromagnetic signal is correspondingly disposed in the wireless keyboard <NUM>. The wireless charging coil of the wireless keyboard <NUM> may be coupled to the wireless charging coil of the tablet computer <NUM>. The tablet computer <NUM> may transmit a wireless charging signal to the wireless keyboard <NUM> by using the wireless charging coil, thereby wirelessly charging the wireless keyboard <NUM>.

The wireless keyboard <NUM> in this embodiment of this application can wirelessly charge the electronic stylus <NUM>. Specifically, a wireless charging coil that can generate an electromagnetic signal may be disposed in the accommodation cavity <NUM> of the wireless keyboard <NUM>. After the electronic stylus <NUM> is accommodated in the accommodation cavity <NUM> of the wireless keyboard <NUM>, the wireless keyboard <NUM> can wirelessly charge the electronic stylus <NUM> by using the wireless charging coil disposed in the accommodation cavity <NUM>. Certainly, a wireless charging coil is also disposed in a stylus body of the electronic stylus <NUM>, and the wireless charging coil can receive an electromagnetic signal sent in the accommodation cavity <NUM>. In this way, the wireless charging coil of the wireless keyboard <NUM> can be coupled to the wireless charging coil of the electronic stylus <NUM>, and the wireless keyboard <NUM> transmits a wireless charging signal to the electronic stylus <NUM> by using the coupled wireless charging coil, thereby wirelessly charging the electronic stylus <NUM>.

In addition, the tablet computer <NUM> can further wirelessly charge the electronic stylus <NUM> directly (not shown in the figure). Specifically, the electronic stylus <NUM> may be adhered to the tablet computer <NUM>, a wireless charging coil that generates an electromagnetic signal for the electronic stylus <NUM> is disposed in the tablet computer <NUM>, a location at which the electronic stylus <NUM> is adhered is close to the wireless charging coil, and a wireless charging coil that can receive the electromagnetic signal sent by the tablet computer <NUM> is disposed in the stylus body of the electronic stylus <NUM>. In this way, the wireless charging coil of the tablet computer <NUM> can be coupled to the wireless charging coil of the electronic stylus <NUM>, and the tablet computer <NUM> transmits a wireless charging signal to the electronic stylus <NUM> by using the coupled wireless charging coil, thereby wirelessly charging the electronic stylus <NUM>.

In this embodiment of this application, a function of wirelessly charging the wireless keyboard <NUM> or the electronic stylus <NUM> by the tablet computer <NUM> by using the wireless charging coil is referred to as a "forward wireless charging function", and a function of wirelessly charging the electronic stylus <NUM> by the wireless keyboard <NUM> by using the wireless charging coil is referred to as a "backward wireless charging function".

For ease of understanding, principles of wirelessly charging the wireless keyboard <NUM> by the tablet computer <NUM> and wirelessly charging the electronic stylus <NUM> by the wireless keyboard <NUM> are described in the embodiments of this application with reference to the accompanying drawings. <FIG> is a schematic diagram of a system architecture of a wireless charging system according to an embodiment of this application. The wireless charging system includes a tablet computer <NUM>, a wireless keyboard <NUM>, and an electronic stylus <NUM>.

As shown in <FIG>, the tablet computer <NUM> includes a first battery <NUM>, a first wireless output control module <NUM>, and a first wireless output coil <NUM>. The first wireless output control module <NUM> is electrically connected to the first battery <NUM>. The first wireless output coil <NUM> is electrically connected to the first wireless output control module <NUM>. A capacitor is disposed near the first wireless output coil <NUM>, so that the capacitor and the first wireless output coil <NUM> form a resonant circuit.

The wireless keyboard <NUM> includes a second battery <NUM>, a first charging control module <NUM>, a first wireless receiving control module <NUM>, a first wireless receiving coil <NUM>, and a second wireless output coil <NUM>. The second battery <NUM> is electrically connected to the first charging control module <NUM>. The first charging control module <NUM> is electrically connected to the first wireless receiving control module <NUM>. The first wireless receiving control module <NUM> is electrically connected to the first wireless receiving coil <NUM>. The second wireless output coil <NUM> is electrically connected to the first wireless receiving coil <NUM>. In this embodiment of this application, the second wireless output coil <NUM> may be connected to the first wireless receiving coil <NUM> by using a matching circuit. In a loop (the matching circuit) formed by the first wireless receiving coil <NUM> and the second wireless output coil <NUM>, a first capacitor and a second capacitor are disposed. The first capacitor is disposed close to the first wireless receiving coil <NUM>. A value of the first capacitor and a distance between the first capacitor and the first wireless receiving coil <NUM> may be set in a matching manner based on an inductance value of the first wireless receiving coil <NUM>, so that the first capacitor and the first wireless receiving coil <NUM> form a resonant or quasi-resonant circuit, to increase transmission power. The second capacitor is disposed close to the second wireless output coil <NUM>. A value of the second capacitor and a distance between the second capacitor and the second wireless output coil <NUM> may be set in a matching manner based on an inductance value of the second wireless output coil <NUM>, so that the second capacitor and the second wireless output coil <NUM> form resonance or quasi-resonance, to increase transmission power. In addition, a component such as a switch may be further disposed in the matching circuit.

In this embodiment of this application, the second wireless output coil <NUM> is directly connected to the first wireless receiving coil <NUM> by using the matching circuit. After receiving an alternating current signal from the first wireless output coil <NUM>, the first wireless receiving coil <NUM> directly transfers the alternating current signal to the second wireless output coil <NUM> by using the matching circuit.

In a prior-art solution, after the first wireless receiving coil <NUM> receives an alternating current signal from the first wireless output coil <NUM>, in the wireless keyboard <NUM>, an RX chip needs to be disposed, where the RX chip is configured to convert the alternating current signal received by the first wireless receiving coil <NUM> into a direct current signal, and a TX chip needs to be disposed, where the TX chip is configured to convert the direct current signal into an alternating current signal and transfer the alternating current signal to the second wireless output coil <NUM>.

In this embodiment of this application, the first wireless receiving coil <NUM> with a suitable inductance value is disposed, and the first capacitor is disposed in a matching manner near the first wireless receiving coil <NUM>, to form the resonant circuit; and the second wireless output coil <NUM> with a suitable inductance value is disposed, and the second capacitor is disposed in a matching manner near the second wireless output coil <NUM>, to form the resonant circuit. The matching circuit is disposed between the first wireless receiving coil <NUM> and the second wireless output coil <NUM>, thereby implementing direct transfer of an alternating current signal, with no need for a conversion process of converting an alternating current into a direct current and converting the direct current into an alternating current. This process saves the RX chip and TX chip needed for AC-to-DC conversion and DC-to-AC conversion, and reduces a length of a wireless charging link, thereby improving reliability and efficiency of wireless charging, and reducing costs of the wireless keyboard <NUM>.

In this embodiment of this application, a process of charging the wireless keyboard <NUM> by the tablet computer <NUM> is as follows: The first battery <NUM> in the tablet computer <NUM> may output a direct current voltage to the first wireless output control module <NUM>, and the first wireless output control module <NUM> converts a direct current into an alternating current and outputs the alternating current to the first wireless receiving coil <NUM>. The second wireless output coil <NUM> in the wireless keyboard <NUM> receives an alternating current signal transmitted by the first wireless receiving coil <NUM>, and transmits the alternating current signal to the first wireless receiving control module <NUM>. The first wireless receiving control module <NUM> may convert a received alternating current into a direct current, and deliver the direct current to the first charging control module <NUM>, to charge the second battery <NUM>.

The electronic stylus <NUM> includes a third battery <NUM>, a second charging control module <NUM>, a second wireless receiving control module <NUM>, and a second wireless receiving coil <NUM>. The third battery <NUM> is electrically connected to the second charging control module <NUM>. The second charging control module <NUM> is electrically connected to the second wireless receiving control module <NUM>. The second wireless receiving control module <NUM> is electrically connected to the second wireless receiving coil <NUM>. A capacitor is disposed near the second wireless receiving coil <NUM>, so that the capacitor and the second wireless receiving coil <NUM> form a resonant circuit.

The first wireless output control module <NUM> may be a TX chip of the tablet computer <NUM>. The first charging control module <NUM> may be a keyboard charger (charger) of the wireless keyboard <NUM>. The first wireless receiving control module <NUM> may be an RX chip of the wireless keyboard <NUM>. The second charging control module <NUM> may be a stylus charger of the electronic stylus <NUM>. The second wireless receiving control module <NUM> may be an RX chip of the electronic stylus <NUM>. In a process of wirelessly charging the wireless keyboard <NUM> by the tablet computer <NUM>, the first battery <NUM> of the tablet computer <NUM> may be used as a power source to supply power, and the first wireless output control module <NUM> in the tablet computer <NUM> may receive a direct current signal input by the first battery <NUM>. The first wireless output control module <NUM> converts the received direct current signal into an alternating current signal, and then inputs the alternating current signal to the first wireless output coil <NUM>. The first wireless output coil <NUM> generates an alternating electromagnetic field in response to the alternating current signal.

The first wireless receiving coil <NUM> in the wireless keyboard <NUM> is coupled to the first wireless output coil <NUM> in the tablet computer <NUM>. The first wireless receiving coil <NUM> may generate an alternating current signal after sensing the alternating electromagnetic field emitted by the first wireless output coil <NUM>, and then send the alternating current signal to the first wireless receiving control module <NUM>. The first wireless receiving control module <NUM> may rectify the alternating current signal to a direct current signal, and then input the direct current signal to the first charging control module <NUM>. The first charging control module <NUM> may manage the direct current signal, for example, manage an input current and voltage, and then input the direct current signal to the second battery <NUM>, to charge the second battery <NUM>. The second battery <NUM> may be used as a power source of the wireless keyboard <NUM>.

The first wireless receiving coil <NUM> may generate the alternating current signal after sensing the alternating electromagnetic field emitted by the first wireless output coil <NUM>, and may directly input part of the alternating current signal to the second wireless output coil <NUM> by using the matching circuit. The second wireless output coil <NUM> may generate an alternating magnetic field in response to the alternating current signal.

The second wireless receiving coil <NUM> in the electronic stylus <NUM> is coupled to the second wireless output coil <NUM> in the wireless keyboard <NUM>. After the electronic stylus <NUM> is accommodated in the accommodation cavity <NUM> in the wireless keyboard <NUM>, and the second wireless output coil <NUM> in the accommodation cavity <NUM> generates the alternating magnetic field, the second wireless receiving coil <NUM> in the stylus body of the electronic stylus <NUM> starts to work. The second wireless receiving coil <NUM> may generate an alternating current signal after sensing an alternating electromagnetic field emitted by the second wireless output coil <NUM>, and input the alternating current signal to the second wireless receiving control module <NUM>. The second wireless receiving control module <NUM> rectifies the received alternating current signal to a direct current signal, and then inputs the direct current signal to the second charging control module <NUM>. The second charging control module <NUM> processes the direct current signal, and then inputs the processed direct current signal to the third battery <NUM>, to charge the third battery <NUM>.

The first wireless output control module <NUM>, the first wireless receiving control module <NUM>, the second wireless receiving control module <NUM>, and a connection circuit between the first wireless receiving coil <NUM> and the second wireless output coil <NUM> may include matching circuits. The matching circuit may include a capacitor combination, a switch, and the like.

A matching circuit in the first wireless output control module <NUM> is configured to form LC resonance with the first wireless output coil <NUM>, to improve transmission efficiency of the first wireless output coil <NUM>. A matching circuit in the first wireless receiving control module <NUM> is configured to form LC resonance with the first wireless receiving coil <NUM>, to improve receiving efficiency of the first wireless receiving coil <NUM>. The matching circuit between the first wireless receiving coil <NUM> and the second wireless output coil <NUM> may be configured to form LC resonance with the first wireless receiving coil <NUM>, to improve receiving efficiency of the first wireless receiving coil <NUM>, and may also be configured to form LC resonance with the second wireless output coil <NUM>, to improve transmission efficiency of the second wireless output coil <NUM>. Reference may be made to descriptions of the first capacitor and the second capacitor in the foregoing content. A matching circuit in the second wireless receiving control module <NUM> is configured to form LC resonance with the second wireless receiving coil <NUM>, to improve receiving efficiency of the second wireless receiving coil <NUM>.

In an embodiment of this application, the tablet computer <NUM> further includes a third wireless output coil <NUM>, and the third wireless output coil <NUM> is electrically connected to the first wireless output control module <NUM>. <FIG> is a schematic diagram of a system architecture of another wireless charging system according to an embodiment of this application.

As shown in <FIG>, a third wireless output coil <NUM> disposed in a tablet computer <NUM> may be configured to charge an electronic stylus <NUM>. Specifically, the electronic stylus <NUM> may be adhered to the tablet computer <NUM> or placed on the tablet computer <NUM>, so that the electronic stylus <NUM> is close to the third wireless output coil <NUM> in the tablet computer <NUM>. In a process of wirelessly charging the electronic stylus <NUM> by the tablet computer <NUM>, a first battery <NUM> of the tablet computer <NUM> may be used as a power source to supply power to a first wireless output control module <NUM>, and the first wireless output control module <NUM> receives a direct current signal input by the first battery <NUM>, and then converts the received direct current signal into an alternating current signal. Because the third wireless output coil <NUM> is electrically connected to the first wireless output control module <NUM>, the first wireless output control module <NUM> may input the alternating current signal to the third wireless output coil <NUM>. The third wireless output coil <NUM> generates an alternating electromagnetic field in response to the alternating current signal.

A second wireless receiving coil <NUM> in the electronic stylus <NUM> may be coupled to the third wireless output coil <NUM> in the tablet computer <NUM>. When the electronic stylus <NUM> is adhered near the third wireless output coil <NUM> in the tablet computer <NUM>, the second wireless receiving coil <NUM> may generate an alternating current signal after sensing the alternating electromagnetic field emitted by the third wireless output coil <NUM>, and input the alternating current signal to a second wireless receiving control module <NUM>. The second wireless receiving control module <NUM> rectifies the received alternating current signal to a direct current signal, and then inputs the direct current signal to a second charging control module <NUM>. The second charging control module <NUM> processes the direct current signal, and then inputs the processed direct current signal to a third battery <NUM>, to charge the third battery <NUM>.

It should be noted that, in this embodiment of this application, a first wireless output coil <NUM> and the third wireless output coil <NUM> are both electrically connected to the first wireless output control module <NUM>, that is, the first wireless output control module <NUM> controls wireless charging energy of both the first wireless output coil <NUM> and the third wireless output coil <NUM>. Therefore, to ensure that the first wireless output coil <NUM> and the third wireless output coil <NUM> are provided with a sufficient voltage and current during wireless charging, usually, there is only one wireless charging coil working when the tablet computer <NUM> performs forward wireless charging to the outside.

In an embodiment of this application, a first control switch <NUM> is disposed between the first wireless output coil <NUM> and the first wireless output control module <NUM>, and a second control switch <NUM> is disposed between the third wireless output coil <NUM> and the first wireless output control module <NUM>. Working states of the first wireless output coil <NUM> and the third wireless output coil may be adjusted by controlling states of the first control switch <NUM> and the second control switch <NUM>.

For example, the first control switch <NUM> may be closed, and the second control switch <NUM> may be open. In this case, the tablet computer <NUM> is in a state of wirelessly charging only a wireless keyboard <NUM>, that is, the first wireless charging coil is in a working state, and the third wireless output coil <NUM> is in a non-working state, so that the first wireless charging coil <NUM> can be provided with a stable current and voltage and sufficient energy. Alternatively, the second control switch <NUM> may be closed, and the first control switch <NUM> may be open. In this case, the tablet computer <NUM> is in a state of wirelessly charging only the electronic stylus <NUM>, that is, the third wireless charging coil <NUM> is in a working state, and the first wireless charging coil <NUM> is in a non-working state, so that the third wireless charging coil <NUM> can be provided with a stable current and voltage and sufficient energy.

The first wireless output control module <NUM> is usually integrated in a TX chip of the tablet computer <NUM>. Therefore, with the foregoing configuration, only one TX chip may be disposed in the tablet computer <NUM> to control the first wireless output coil <NUM> and the third wireless output coil <NUM>. This can reduce costs.

In an embodiment of this application, the tablet computer <NUM> further includes a second wireless output control module <NUM> and a third wireless output coil <NUM>. The third wireless output coil <NUM> is electrically connected to the second wireless output control module <NUM>. The second wireless output control module <NUM> is electrically connected to the first battery <NUM>. <FIG> is a schematic diagram of a system architecture of still another wireless charging system according to an embodiment of this application.

As shown in <FIG>, in a process of wirelessly charging an electronic stylus <NUM> by a tablet computer <NUM>, a first battery <NUM> of the tablet computer <NUM> may be used as a power source to supply power to a second wireless output control module <NUM>, and the second wireless output control module <NUM> receives a direct current signal input by the first battery <NUM>, and then converts the received direct current signal into an alternating current signal. Because a third wireless output coil <NUM> is electrically connected to the second wireless output control module <NUM>, the second wireless output control module <NUM> may input the alternating current signal to the third wireless output coil <NUM>. The third wireless output coil <NUM> generates an alternating electromagnetic field in response to the alternating current signal. For interaction between the electronic stylus <NUM> and the third wireless output coil <NUM>, refer to descriptions in the foregoing embodiment.

It should be noted that, in this embodiment of this application, the tablet computer <NUM> may directly charge the electronic stylus <NUM>. The tablet computer <NUM> may also wirelessly charge a wireless keyboard <NUM>. While the wireless keyboard <NUM> is being charged, the wireless keyboard <NUM> may charge the electronic stylus <NUM>. In a process of charging the electronic stylus <NUM>, the wireless keyboard <NUM> may directly send, to the electronic stylus <NUM> by using a second wireless receiving coil <NUM>, an alternating current signal received by using a first wireless receiving coil <NUM>, with no need for AC-to-DC and DC-to-AC conversion. A corresponding module for converting a direct current signal into an alternating current signal, for example, a TX chip, is not disposed in a wireless charging link of the wireless keyboard <NUM> for the electronic stylus <NUM>. Therefore, a second battery <NUM> in the wireless keyboard <NUM> cannot be configured to charge the electronic stylus <NUM>. In a process of wirelessly charging the electronic stylus <NUM> by the wireless keyboard <NUM>, a corresponding device (for example, the tablet computer <NUM>) is needed to wirelessly charge the wireless keyboard <NUM>.

The second wireless output control module <NUM> may be a TX chip of the tablet computer <NUM>. In this embodiment of this application, it is equivalent to a case in which two TX chips are disposed to respectively control a first wireless output coil <NUM> and the third wireless output coil <NUM>. The two TX chips may respectively perform independent control on indicators such as currents and voltages input to the first wireless output coil <NUM> and the third wireless output coil <NUM>, so that the first wireless output coil <NUM> and the third wireless output coil <NUM> can work at the same time, that is, when the electronic stylus <NUM> is adhered to the tablet computer <NUM>, the tablet computer <NUM> can wirelessly charge the electronic stylus <NUM> and the wireless keyboard <NUM> at the same time. In an embodiment of this application, as shown in <FIG>, the tablet computer <NUM> further includes a voltage stabilization control module <NUM>. The voltage stabilization control module <NUM> is connected in series between the first battery <NUM> and the first wireless output control module <NUM>. If the second wireless output control module <NUM> is disposed in the tablet computer <NUM>, the voltage stabilization control module <NUM> is also connected in series between the first battery <NUM> and the second wireless output control module <NUM>. The voltage stabilization control module <NUM> may be a boost chip, a buck-boost chip, or the like. A main function of the voltage stabilization control module <NUM> is providing a stable voltage for the first wireless output control module <NUM> and/or the second wireless output control module <NUM> when the battery has different quantities of electricity.

The foregoing electrical connection includes a direct electrical connection and an indirect electrical connection. For example, the second wireless output control module <NUM> or the first wireless output control module <NUM> may be electrically connected to the first battery <NUM> directly, and the second wireless output control module <NUM> or the first wireless output control module <NUM> may also be directly connected to the voltage stabilization control module <NUM>. Because the voltage stabilization control module <NUM> is directly connected to the first battery <NUM>, equivalently, the second wireless output control module <NUM> or the first wireless output control module <NUM> is electrically connected to the first battery <NUM> indirectly.

It should be noted that <FIG>, <FIG>, and <FIG> show only some of schematic diagrams of possible charging circuit structures of the wireless charging system. A charging circuit structure of the wireless charging system in the embodiments of this application includes but is not limited to the structures shown in <FIG>. For example, the wireless keyboard <NUM> may further include a processor, and the processor is connected to the first wireless receiving control module <NUM>, the first charging control module <NUM>, and the second wireless output control module <NUM>. The processor is configured to detect whether a current is input to the first wireless receiving control module <NUM>. The processor is further configured to control the first charging control module <NUM> to work, thereby implementing a forward wireless charging function for the wireless keyboard <NUM>.

<FIG> is a schematic diagram of a structure of a tablet computer <NUM> in a wireless charging system according to an embodiment of this application. As shown in <FIG>, the tablet computer <NUM> may include a wireless communications module <NUM>, a processor <NUM>, a memory <NUM>, a sensor <NUM>, a display <NUM>, a charging interface <NUM>, a charging management module <NUM>, a first wireless charging coil <NUM>, a third wireless charging coil <NUM>, a battery <NUM>, and the like.

It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the tablet computer <NUM>. In some other embodiments, the tablet computer <NUM> may include components more or fewer than those shown in the figure, or combine some components, or split some components, or have different component arrangements. The components shown in the figure may be implemented by hardware, software, or a combination of software and hardware. The memory <NUM> may be configured to store program code, such as program code used for wirelessly charging a wireless keyboard <NUM> and/or an electronic stylus <NUM>. The memory <NUM> may further store a Bluetooth address used to uniquely identify the tablet computer <NUM>. In addition, the memory <NUM> may further store connection data of an electronic device that has been successfully paired with the tablet computer <NUM> before. For example, the connection data may be a Bluetooth address of the electronic device that has been successfully paired with the tablet computer <NUM>. Based on the connection data, the tablet computer <NUM> can be automatically paired with the electronic device with no need for configuring a connection to the electronic device, for example, performing a validity check. The Bluetooth address may be a media access control (media access control, MAC) address.

The processor <NUM> may be configured to execute the foregoing application program code, and invoke relevant modules to implement functions of the tablet computer <NUM> in the embodiments of this application, for example, implement a forward wireless charging function and a wireless communication function of the tablet computer <NUM>. The processor <NUM> may include one or more processing units, and different processing units may be independent devices or may be integrated into one or more processors <NUM>. The processor <NUM> may be specifically an integrated control chip, or may include a circuit including various active and/or passive components, and the circuit is configured to perform a function, of the processor <NUM>, described in the embodiments of this application. The processor of the tablet computer <NUM> may be a microprocessor.

The wireless communications module <NUM> may be configured to support data exchange between the tablet computer <NUM> and other electronic devices in wireless communications such as Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), wireless local area network (wireless local area networks, WLAN) (for example, wireless fidelity (wireless fidelity, Wi-Fi) network), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), and infrared (infrared, IR) technology.

In some embodiments, the wireless communications module <NUM> may be a Bluetooth chip. The tablet computer <NUM> may be paired with a Bluetooth chip of another electronic device by using the Bluetooth chip and establish a wireless connection, to implement wireless communication between the tablet computer <NUM> and the another electronic device through the wireless connection.

In addition, the wireless communications module <NUM> may further include an antenna. The wireless communications module <NUM> receives an electromagnetic wave by using the antenna, performs frequency modulation and filtering on an electromagnetic wave signal, and sends the processed signal to the processor <NUM>. The wireless communications module <NUM> may further receive a to-be-sent signal from the processor <NUM>, perform frequency modulation and amplification on the signal, convert the frequency-modulated and amplified signal into an electromagnetic wave by using the antenna, and radiate the electromagnetic wave.

In some embodiments, the tablet computer <NUM> may support wired charging. Specifically, the charging management module <NUM> may receive a charging input from a wired charger through the charging interface <NUM>, to charge the battery <NUM>.

In some other embodiments, the tablet computer <NUM> may support a function of wirelessly charging the wireless keyboard <NUM> and/or the electronic stylus <NUM>. The charging management module <NUM> may input an electrical signal to the first wireless charging coil <NUM> and/or the third wireless charging coil <NUM>. Specifically, the first wireless charging coil <NUM> and the third wireless charging coil <NUM> are separately connected to the charging management module <NUM> by using matching circuits. The first wireless charging coil <NUM> and/or the third wireless charging coil <NUM> may generate an alternating electromagnetic field in response to an alternating current signal input by the charging management module <NUM>, to wirelessly charge the wireless keyboard <NUM> and/or the electronic stylus <NUM>.

The charging management module <NUM> may further supply power to the tablet computer <NUM> while managing wireless charging to the outside. The charging management module <NUM> receives an input from the battery <NUM>, to supply power to the processor <NUM>, the memory <NUM>, the sensor <NUM>, an external memory, the wireless communications module <NUM>, and the like. The charging management module <NUM> may be further configured to monitor parameters such as a battery capacity of the battery <NUM>, a cycle count of the battery, and a state of health (leakage and impedance) of the battery. In some other embodiments, the charging management module <NUM> may be alternatively disposed in the processor <NUM>.

A touch sensor may be integrated in the display <NUM>. The tablet computer <NUM> may receive a control command of a user for the tablet computer <NUM> by using the display <NUM>.

It can be understood that the structure illustrated in this embodiment of this application does not constitute a specific limitation on the tablet computer <NUM>. The tablet computer <NUM> may have more or fewer components than those shown in <FIG>, may combine two or more components, or may have different component configurations. For example, an outer surface of the tablet computer <NUM> may further include components such as a key, an indicator light (which may indicate a state such as a battery level, an incoming/outgoing call, or a pairing mode), and a display (which may notify related information to the user). The key may be a physical key, a touch key (used in combination with the touch sensor), or the like, and is configured to trigger an operation such as power-on, power-off, starting charging, or stopping charging.

<FIG> is a schematic diagram of a structure of a wireless keyboard <NUM> in a wireless charging system according to an embodiment of this application. As shown in <FIG>, the wireless keyboard <NUM> may include a processor <NUM>, a memory <NUM>, a wireless charging receiving module <NUM>, a charging management module <NUM>, a second wireless charging coil <NUM>, a battery <NUM>, a wireless communications module <NUM>, a touch panel <NUM>, a keyboard <NUM>, and the like.

The processor <NUM>, the memory <NUM>, the wireless charging receiving module <NUM>, the charging management module <NUM>, the battery <NUM>, the wireless communications module <NUM>, the touch panel <NUM>, the keyboard <NUM>, and the like may all be disposed in a keyboard body (the keyboard body A shown in <FIG>) of the wireless keyboard <NUM>. The wireless charging coil <NUM> may be disposed in a connecting portion (the connection portion C shown in <FIG>) configured to adjustably connect the keyboard body and a support.

It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the wireless keyboard <NUM>. In some other embodiments, the wireless keyboard <NUM> may include components more or fewer than those shown in the figure, or combine some components, or split some components, or have different component arrangements. The components shown in the figure may be implemented by hardware, software, or a combination of software and hardware.

The memory <NUM> may be configured to store program code, such as program code used for wirelessly charging an electronic stylus <NUM>. The memory <NUM> may further store a Bluetooth address used to uniquely identify the wireless keyboard <NUM>. In addition, the memory <NUM> may further store connection data of an electronic device that has been successfully paired with the wireless keyboard <NUM> before. For example, the connection data may be a Bluetooth address of the electronic device that has been successfully paired with the wireless keyboard <NUM>. Based on the connection data, the wireless keyboard <NUM> can be automatically paired with the electronic device with no need for configuring a connection to the electronic device, for example, performing a validity check. The Bluetooth address may be a media access control (media access control, MAC) address.

The processor <NUM> may be configured to execute the foregoing application program code, and invoke relevant modules to implement functions of the wireless keyboard 200in the embodiments of this application, for example, implement a forward wireless charging function, a backward wireless charging function, a wireless communication function, and the like of the wireless keyboard <NUM>. The processor <NUM> may include one or more processing units, and different processing units may be independent devices or may be integrated into one or more processors <NUM>. The processor <NUM> may be specifically an integrated control chip, or may include a circuit including various active and/or passive components, and the circuit is configured to perform a function, of the processor <NUM>, described in the embodiments of this application. The processor of the wireless keyboard <NUM> may be a microprocessor.

The wireless communications module <NUM> may be configured to support data exchange between the wireless keyboard <NUM> and other electronic devices in wireless communications such as Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), wireless local area network (wireless local area networks, WLAN) (for example, wireless fidelity (wireless fidelity, Wi-Fi) network), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), and infrared (infrared, IR) technology. In some embodiments, the wireless communications module <NUM> may be a Bluetooth chip. The wireless keyboard <NUM> may be a Bluetooth keyboard. The wireless keyboard <NUM> may be paired with a Bluetooth chip of another electronic device by using the Bluetooth chip and establish a wireless connection, to implement wireless communication between the wireless keyboard <NUM> and the another electronic device through the wireless connection.

In some embodiments, the wireless keyboard <NUM> may support forward wireless charging. The charging management module <NUM> may receive a wireless charging input through the second wireless charging coil <NUM> of the wireless keyboard <NUM>. Specifically, the charging management module <NUM> is connected to the wireless charging coil <NUM> by using a matching circuit. The second wireless charging coil <NUM> may be coupled to the first wireless charging coil <NUM> of the foregoing tablet computer <NUM>, to sense an alternating electromagnetic field emitted by the first wireless charging coil <NUM> of the tablet computer <NUM>, and generate an alternating current signal. The alternating current signal generated by the second wireless charging coil <NUM> is transmitted to the charging management module <NUM> through the matching circuit, to wirelessly charge the battery <NUM>.

The charging management module <NUM> may further supply power to the wireless keyboard <NUM> while charging the battery <NUM>. The charging management module <NUM> receives an input from the battery <NUM>, to supply power to the processor <NUM>, the memory <NUM>, an external memory, the wireless communications module <NUM>, and the like. The charging management module <NUM> may be further configured to monitor parameters such as a battery capacity of the battery <NUM>, a cycle count of the battery, and a state of health (leakage and impedance) of the battery. In some other embodiments, the charging management module <NUM> may be alternatively disposed in the processor <NUM>.

It should be noted that the matching circuit may be integrated in the charging management module <NUM>, or the matching circuit may be independent of the charging management module <NUM>. This is not limited in this embodiment of this application. <FIG> is a schematic diagram of the hardware structure of the wireless keyboard <NUM> by using an example in which the matching circuit may be integrated in the charging management module <NUM>.

It should be noted that the wireless charging receiving module <NUM> may be integrated with all functions of the first wireless receiving coil <NUM> and the first wireless receiving control module <NUM> shown in <FIG>. The wireless charging receiving module <NUM> of the wireless keyboard <NUM> may be connected to an electronic device such as the tablet computer <NUM> by using a wireless charging apparatus, so that the electronic device such as the tablet computer <NUM> supplies power to the wireless keyboard <NUM>.

It should be noted that, when the wireless keyboard <NUM> shown in <FIG> is the wireless keyboard <NUM> shown in <FIG>, <FIG>, or <FIG>, the charging management module shown in <FIG> includes all functions of the first charging control module <NUM> shown in <FIG>, <FIG>, or <FIG>.

For detailed descriptions of performing forward wireless charging by the wireless keyboard <NUM>, refer to descriptions of a forward wireless charging principle of the wireless keyboard <NUM> in the foregoing embodiment. Details are not described in this embodiment of this application herein again.

A touch sensor is integrated in the touch panel <NUM>. A notebook computer may receive a control command of a user for the notebook computer by using the touch panel <NUM> and the keyboard <NUM>. It can be understood that the structure illustrated in this embodiment of this application does not constitute a specific limitation on the wireless keyboard <NUM>. The wireless keyboard <NUM> may have more or fewer components than those shown in <FIG>, may combine two or more components, or may have different component configurations. For example, a housing of the wireless keyboard <NUM> may be further provided with an accommodation cavity <NUM> for accommodating the electronic stylus <NUM>. The second wireless charging coil <NUM> is disposed in the accommodation cavity <NUM>, and is configured to wirelessly charge the electronic stylus <NUM> after the electronic stylus <NUM> is accommodated in the accommodation cavity <NUM>.

For another example, an outer surface of the wireless keyboard <NUM> may further include components such as a key, an indicator light (which may indicate a state such as a battery level, an incoming/outgoing call, or a pairing mode), and a display (which may notify related information to the user). The key may be a physical key, a touch key (used in combination with the touch sensor), or the like, and is configured to trigger an operation such as power-on, power-off, starting charging, or stopping charging.

All wireless keyboards <NUM> provided in the following embodiments may include the foregoing hardware structure. The following describes in detail a wireless keyboard <NUM> provided in the embodiments of this application.

An embodiment of this application provides a wireless keyboard <NUM>. As shown in <FIG>, <FIG>, the wireless keyboard <NUM> includes a keyboard body A, a support B configured for placing a tablet computer <NUM>, and a connection portion C configured to adjustably connect the keyboard body A and the support B.

The connection portion C includes an accommodation cavity <NUM> provided with an opening <NUM> at one end. The accommodation cavity <NUM> is configured to accommodate the electronic stylus <NUM> shown in <FIG>, through the opening <NUM>.

In some embodiments, as shown in <FIG>, the connection portion C may include a flexible connection piece C<NUM> and an accommodation part C<NUM>. As shown in <FIG>, the flexible connection piece C<NUM> is configured to bend to adjustably connect the keyboard body A and the support B. For example, the flexible connection piece C<NUM> may be a flexible foldable material.

As shown in <FIG>, the accommodation part C<NUM> is fastened to a bending area of the flexible connection piece C<NUM>. The accommodation part C<NUM> is hollow inside, and one end of the accommodation part C<NUM> is provided with the opening <NUM>, to form the accommodation cavity <NUM>. A shape of an inner wall (that is, the accommodation cavity <NUM>) of the accommodation part C<NUM> is similar to a shape of a stylus body of the electronic stylus <NUM>. For example, the inner wall of the accommodation part C<NUM> may be in any shape such as a cylinder or a prism. The accommodation part C<NUM> may be made of plastic.

For example, <FIG> is a 3D diagram of the wireless keyboard <NUM> when the keyboard body A and the support B of the wireless keyboard <NUM> are closed and the electronic stylus <NUM> is not inserted into the accommodation cavity <NUM>. <FIG> is a 3D diagram of the wireless keyboard <NUM> when the keyboard body A and the support B of the wireless keyboard <NUM> shown in <FIG> are closed and the electronic stylus <NUM> is not yet completely inserted into the accommodation cavity <NUM> through the opening <NUM>. <FIG> is a 3D diagram of the wireless keyboard <NUM> after the keyboard body A and the support B of the wireless keyboard <NUM> shown in <FIG> are closed and the electronic stylus <NUM> is inserted into the accommodation cavity <NUM> through the opening <NUM>. In some other embodiments, <FIG> is a schematic diagram of a product form of a wireless keyboard in a wireless charging system, where the foregoing connection portion C includes a rotating shaft C<NUM> configured to adjustably connect a keyboard body A and a support B. As shown in <FIG>, the rotating shaft C<NUM> is hollow inside, and one end of the rotating shaft C<NUM> is provided with an opening <NUM>, to form an accommodation cavity <NUM>.

A second wireless output coil <NUM> is disposed in the accommodation cavity <NUM> described in any one of the foregoing embodiments, and the keyboard body A further includes a first wireless receiving coil <NUM>. As shown in <FIG>, the second wireless output coil <NUM> is connected to the first wireless receiving coil <NUM>. After receiving an alternating current signal from a first wireless output coil <NUM>, the first wireless receiving coil <NUM> directly transfers the alternating current signal to the second wireless output coil <NUM> by using a matching circuit.

In a prior-art solution, after the first wireless receiving coil <NUM> receives an alternating current signal from the first wireless output coil <NUM>, in the wireless keyboard <NUM>, an RX chip needs to be disposed, where the RX chip is configured to convert the alternating current signal received by the first wireless receiving coil <NUM> into a direct current signal, and a TX chip needs to be disposed to convert the direct current signal into an alternating current signal and transfer the alternating current signal to the second wireless output coil <NUM>.

In this embodiment of this application, the first wireless receiving coil <NUM> with a suitable inductance value is disposed, and a first capacitor is disposed in a matching manner near the first wireless receiving coil <NUM>, to form a resonant circuit; and the second wireless output coil <NUM> with a suitable inductance value is disposed, and a second capacitor is disposed in a matching manner near the second wireless output coil <NUM>, to form a resonant circuit. The matching circuit is disposed between the first wireless receiving coil <NUM> and the second wireless output coil <NUM>, thereby implementing direct transfer of an alternating current signal. This reduces use of an RX chip and a TX chip, and reduces a length of a wireless charging link, thereby improving reliability and efficiency of wireless charging, and reducing costs of the wireless keyboard <NUM>.

The foregoing first wireless receiving control module <NUM> is configured to rectify, to a direct current signal, an alternating current signal generated by the first wireless receiving coil <NUM>, perform control processing on the direct current signal, and then transfer the direct current signal to a second battery <NUM>.

The foregoing second wireless output coil <NUM> is configured to generate an alternating electromagnetic field in response to an alternating current signal, to wirelessly charge an electronic stylus <NUM> accommodated in the accommodation cavity <NUM>.

To sum up, the wireless keyboard <NUM> provided in the embodiments of this application not only has a function of accommodating the electronic stylus <NUM>, but also can wirelessly charge the electronic stylus <NUM>, and moreover, reduces a length of a wireless charging link, thereby improving reliability and efficiency of wireless charging, and reducing costs.

In the embodiment, the second wireless output control module <NUM> may receive, when detecting that the electronic stylus <NUM> is accommodated in the accommodation cavity <NUM> (namely, boxed), a direct current signal from the second battery <NUM> by using the first charging control module <NUM>, and convert the direct current signal into an alternating current signal. Then, the second wireless output coil <NUM> may generate an alternating electromagnetic field in response to the alternating current signal, to wirelessly charge the electronic stylus <NUM> accommodated in the accommodation cavity <NUM>.

Certainly, when detecting that the electronic stylus <NUM> is taken out of the accommodation cavity <NUM> (namely, unboxed), the second wireless output control module <NUM> may also stop receiving a direct current signal from the second battery <NUM>. Alternatively, a processor of the wireless keyboard <NUM> may detect whether the electronic stylus <NUM> is unboxed or boxed, and then notify a detection result to the second wireless output control module <NUM>, or the processor instructs, based on a detection result, the second wireless output control module <NUM> to perform a corresponding event.

In the embodiments of this application, a method for detecting whether the electronic stylus <NUM> is accommodated in the accommodation cavity <NUM> (the electronic stylus <NUM> is boxed) or the electronic stylus <NUM> is taken out of the accommodation cavity <NUM> (the electronic stylus <NUM> is unboxed), reference may be made to an unboxing/boxing detection method in a conventional technology, such as an unboxing/boxing detection method for a TWS headset in a conventional technology. Details are not described in the embodiments of this application herein.

In the embodiment, when the wireless keyboard <NUM> charges the electronic stylus <NUM>, a corresponding device (for example, the tablet computer <NUM>) is needed to wirelessly charge the wireless keyboard <NUM>. The second battery <NUM> in the wireless keyboard <NUM> may store a specific quantity of electricity for supplying power to the wireless keyboard <NUM>. However, the electricity stored by the second battery <NUM> cannot be used for backward charging of the electronic stylus <NUM>. It can be understood that, if the second battery <NUM> provides an energy source used for cell preheating, before the second battery <NUM> is charged, the electricity in the second battery <NUM> is first consumed. A larger quantity of times of charging and discharging the second battery <NUM> indicates more wear of the second battery <NUM>, affecting a service life of the second battery <NUM>. In addition, when the first wireless receiving control module <NUM> inputs a direct current signal, the direct current signal can charge the second battery <NUM>. Therefore, in a process of charging the second battery <NUM>, the quantity of electricity of the second battery <NUM> may first decrease and then increase, which leads to unnecessary misunderstanding of the user, and causes the user to wrongly think that the second battery <NUM> is faulty.

To sum up, in the embodiments of this application, a direct current signal input by the first wireless receiving control module <NUM> provides an energy source used for cell preheating, so that a case in which the user wrongly thinks that the second battery <NUM> is faulty can be avoided, and unnecessary wear of the second battery <NUM> can also be reduced, thereby prolonging the service life of the second battery <NUM>.

In some other embodiments, an elastic device is further disposed in the accommodation cavity <NUM>. When the electronic stylus <NUM> is accommodated in the accommodation cavity <NUM>, the elastic device is in contact with a second end <NUM> of the electronic stylus <NUM>. As shown in <FIG>, a first end <NUM> of the electronic stylus <NUM> is an end located at the opening <NUM> when the electronic stylus <NUM> is accommodated in the accommodation cavity <NUM>, and the second end <NUM> is an end opposite the first end <NUM>.

The elastic device is configured to: in response to a pressing operation performed by the user on the first end <NUM> of the electronic stylus <NUM> accommodated in the accommodation cavity <NUM>, eject the electronic stylus <NUM> out of the accommodation cavity <NUM> from the second end <NUM> in a direction of the first end <NUM>. The elastic device makes it easier for the user to take the electronic stylus <NUM> out of the accommodation cavity <NUM> of the wireless keyboard <NUM>.

An embodiment of this application further provides a computer storage medium. The computer storage medium includes computer instructions. When the computer instructions are run on the foregoing wireless keyboard <NUM>, the wireless keyboard <NUM> is enabled to perform the functions or steps performed by the wireless charging system in the foregoing embodiments.

An embodiment of this application further provides a computer program product. When the computer program product is run on a computer, the computer is enabled to perform the functions or steps performed by the wireless charging system in the foregoing embodiments.

Based on the descriptions of the foregoing implementations, a person skilled in the art may understand that, for ease and brevity of description, division into the foregoing functional modules is merely an example for illustration. In actual application, the foregoing functions may be allocated to different functional modules and implemented based on a requirement. That is, an inner structure of an apparatus is divided into different functional modules to implement all or some of the functions described above.

In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiment described above is merely an example for illustration. For example, division into the modules or units is merely logical function division, and another division manner may be used in actual implementation. For example, a plurality of units or components may be combined, or may be integrated into another apparatus, or some features may be ignored or not performed.

The units described as separate parts may or may not be physically separate, and parts displayed as units may be one or more physical units, that is, the parts may be located in one place or distributed in a plurality of different places. Some or all of the units may be selected based on an actual requirement to achieve the objectives of the solutions in the embodiments.

When the integrated unit is implemented in the form of a software function unit and is sold or used as an independent product, the integrated unit may be stored in a readable storage medium. Based on such an understanding, the technical solutions in the embodiments of this application essentially, or the part contributing to the prior art, or all or some of the technical solutions may be implemented in a form of a software product. The software product is stored in a storage medium and includes several instructions for instructing a device (which may be a single-chip microcomputer, a chip, or the like) or a processor (processor) to perform all or some of the steps of the method described in the embodiments of this application. The foregoing storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (read-only memory, ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disc.

Claim 1:
A wireless charging system, comprising a tablet computer (<NUM>), a wireless keyboard (<NUM>), and an electronic stylus (<NUM>), wherein the wireless keyboard (<NUM>) comprises a keyboard body, a support configured for placing the tablet computer (<NUM>), and a connection portion configured to adjustably connect the keyboard body and the support;
a first battery (<NUM>), a first wireless output control module (<NUM>), and a first wireless output coil (<NUM>) are disposed in the tablet computer (<NUM>), the first wireless output control module (<NUM>) is connected to the first battery (<NUM>), and the first wireless output coil (<NUM>) is connected to the first wireless output control module (<NUM>);
a first wireless receiving coil (<NUM>), a first wireless receiving control module (<NUM>), a first charging control module (<NUM>), and a second battery (<NUM>) are disposed in the keyboard body, the first wireless receiving coil (<NUM>) receives an electromagnetic signal sent by the first wireless output coil (<NUM>), the first wireless receiving control module (<NUM>) is connected to the first wireless receiving coil (<NUM>), the first charging control module (<NUM>) is connected to the first wireless receiving control module (<NUM>), and the second battery (<NUM>) is connected to the first charging control module (<NUM>);
the connection portion comprises an accommodation cavity (<NUM>) provided with an opening (<NUM>) at one end, and the accommodation cavity (<NUM>) is configured to accommodate the electronic stylus (<NUM>) through the opening (<NUM>);
a second wireless output coil (<NUM>) is disposed in the accommodation cavity (<NUM>), and the second wireless output coil (<NUM>) is connected to the first wireless receiving coil (<NUM>); and
the second wireless output coil (<NUM>) is configured to wirelessly charge the electronic stylus (<NUM>) accommodated in the accommodation cavity (<NUM>).