Patent Description:
With explosive growth of smartphones and tablets (tablets), a stylus is gradually widely used, and a performance requirement of the stylus is also increasingly higher. According to different working principles, the stylus mainly includes an inductive stylus and a capacitive stylus, and the capacitive stylus includes an active capacitive stylus and a passive capacitive stylus.

Currently, the active capacitive stylus is provided with an electrode and a circuit board. The stylus is usually provided with a rechargeable battery to provide power for the circuit board. The stylus is provided with a wireless charging coil to charge the battery. The stylus can be adsorbed at a fixed location of another electronic product (such as a tablet or a wireless keyboard). A wireless charging coil is disposed at the fixed location of the tablet or the wireless keyboard. When the stylus is adsorbed at the fixed location of the tablet or the wireless keyboard, the wireless charging coil of the tablet or the wireless keyboard may be coupled to the wireless charging coil of the stylus to wirelessly charge the battery in the stylus.

However, when the stylus is adsorbed at the fixed location of the tablet or the wireless keyboard for charging, the wireless charging coil of the stylus needs to be aligned with the wireless charging coil at the fixed location of the tablet or the wireless keyboard to implement charging. Consequently, a user needs to align the two wireless charging coils for a plurality of times, and therefore the user cannot quickly complete a charging operation of the stylus.

Document <CIT> discloses a wireless keyboard and a stylus, wherein the wireless keyboard comprises: an accommodating portion for accommodating the stylus; a stylus charging mechanism; a keyboard body and a support, wherein the keyboard body and the support are rotatably connected through a connecting portion, and the accommodating portion is located in the connecting portion; and at least one group of limiting components, wherein the limiting component is configured to limit a location of the stylus in the accommodating portion. <CIT> describes an inductive peripheral retention device. <CIT> describes a wireless charging structure for a stylus pen.

Embodiments of this application provide an electronic device component as set forth in the claims, so that a stylus can be charged when the stylus is blindly inserted into an accommodating portion, to resolve a prior-art problem that a user cannot quickly charge the stylus because charging coils need to be aligned for a plurality of times when the stylus is charged.

The invention is defined in independent claim <NUM>, and is best understood in light of the embodiment described in the context of <FIG>.

An embodiment of this application provides an electronic device component, including at least:
a wireless keyboard and a stylus, where the wireless keyboard includes an accommodating portion for accommodating the stylus, a first charging coil is disposed on an inner wall of the accommodating portion, and a second charging coil corresponding to the first charging coil is disposed in the stylus.

At least one of the first charging coil and the second charging coil is a circle coil, and the circle coil is disposed around circumference of the accommodating portion or the stylus.

The first charging coil is disposed in the accommodating portion of the wireless keyboard, and the second charging coil is disposed in the stylus. When the stylus is accommodated in the accommodating portion, a location of the first charging coil corresponds to a location of the second charging coil, at least one of the first charging coil and the second charging coil is a circle coil, and the circle coil is disposed around the circumference of the accommodating portion or the stylus. In this way, when the stylus is blindly inserted into the accommodating portion, the circle coil in the first charging coil and the second charging coil is always coupled to the other charging coil, to implement a function of <NUM>° blind insertion charging of the stylus, and avoid an operation of alignment between the wireless charging coil of the stylus and the wireless charging coil of an electronic device when the stylus is charged. In addition, the stylus can be accommodated in the accommodating portion of the wireless keyboard, so that the stylus can be carried more portably. Therefore, according to the wireless keyboard and the stylus provided in this embodiment of this application, the stylus can be charged when the stylus is blindly inserted into the accommodating portion, to resolve a prior-art problem that a user cannot quickly charge the stylus because the charging coils need to be aligned for a plurality of times when the stylus is charged.

In a possible implementation, the accommodating portion is a cavity, and one end of the cavity having an opening through which the stylus can be inserted into the cavity.

According to the invention, the circle coil is a <NUM>° continuous circle coil.

According to the invention, the electronic device component further includes: at least one group of limiting components, where the limiting component is configured to limit a location of the stylus in the accommodating portion.

According to the invention, the limiting component includes a first ring magnet and a magnetic piece attracted to the first ring magnet; and
one of the first ring magnet and the magnetic piece is located on the inner wall of the accommodating portion, and the other of the first ring magnet and the magnetic piece is located in the stylus.

In a possible implementation, there are two groups of limiting components, and two first ring magnets in the two groups of limiting components are respectively located on two sides of the first charging coil; and
two magnetic pieces in the two groups of limiting components are respectively located on two sides of the second charging coil.

In a possible implementation, the limiting component includes: an elastic buckle and a buckle groove connected to the elastic buckle, one of the elastic buckle and the buckle groove is disposed on the inner wall of the accommodating portion, and the other of the elastic buckle and the buckle groove is disposed on the stylus; and
one of the elastic buckle and the buckle groove is an annular structure.

In a possible implementation, the electronic device component further includes: an elastic pressing component, where the elastic pressing component is located in the accommodating portion, and one end of the elastic pressing component is in contact with a stylus tip of the stylus when the stylus is accommodated in the accommodating portion; and
the elastic pressing component is configured to: be compressed when the stylus is accommodated in the accommodating portion, and drive the stylus to eject outward after one end of the stylus is pressed.

In a possible implementation, the electronic device component further includes: a sensing component, where the sensing component is configured to be triggered when the stylus is properly inserted into the accommodating portion, so that the stylus starts to be charged.

In a possible implementation, the sensing component is a pressure sensor, the pressure sensor is located in the accommodating portion, the pressure sensor is in contact with one end of the elastic pressing component, and the pressure sensor is configured to detect a magnitude of pressure applied when the elastic pressing component is compressed.

In a possible implementation, the sensing component is an infrared sensor, the infrared sensor is disposed in the accommodating portion, and the infrared sensor is close to one end that is of the elastic pressing component and that faces the stylus tip of the stylus.

In a possible implementation, the sensing component includes: a second ring magnet and a Hall sensor corresponding to the second ring magnet, where one of the second ring magnet and the Hall sensor is disposed on the inner wall of the accommodating portion, and the other of the second ring magnet and the Hall sensor is disposed in the stylus.

In a possible implementation, the second ring magnet is a <NUM>° ring magnet, or the second ring magnet is a non-closed ring magnet formed by two semicircular ring magnets disposed alternately.

In a possible implementation, the wireless keyboard includes: a keyboard body and a support, where the keyboard body and the support are rotatably connected through a connecting portion, and the accommodating portion is located on the connecting portion, or the accommodating portion is located in the connecting portion, or the accommodating portion is disposed close to the connecting portion.

In a possible implementation, the connecting portion is a rotating shaft, the rotating shaft is connected to the keyboard body, the support is rotatably connected to the rotating shaft, or the rotating shaft is connected to the support, and the keyboard body is rotatably connected to the rotating shaft.

In a possible implementation, the electronic device component further includes: a charging indication module, where the charging indication module is configured to perform an indication when the wireless keyboard charges the stylus.

In a possible implementation, the electronic device component further includes: an electronic device, where the electronic device includes a touchscreen, the charging indication module is located in the electronic device, and the charging indication module includes a charging display unit; and the charging display unit is configured to display a charging status of the stylus through the touchscreen when the wireless keyboard charges the stylus; or
the charging indication module is disposed on the wireless keyboard, the charging indication module includes an indicator, and the indicator indicates a charging status of the stylus.

<FIG> is a schematic diagram of a scenario to which an embodiment of this application is applicable. Refer to <FIG>. The scenario includes a stylus (stylus) <NUM>, an electronic device <NUM>, and a wireless keyboard <NUM>. In <FIG>, an example in which the electronic device <NUM> is a tablet (tablet) is used for description. The stylus <NUM> and the wireless keyboard <NUM> may provide an input to the electronic device <NUM>. The electronic device <NUM> performs an operation in response to the input based on the input of the stylus <NUM> or the wireless keyboard <NUM>. A touch area may be disposed on the wireless keyboard <NUM>. The stylus <NUM> may operate the touch area of the wireless keyboard <NUM> to provide an input to the wireless keyboard <NUM>, and the wireless keyboard <NUM> may perform an operation in response to the input based on the input of the stylus <NUM>. In an embodiment, the stylus <NUM> and the electronic device <NUM>, the stylus <NUM> and the wireless keyboard <NUM>, and the electronic device <NUM> and the wireless keyboard <NUM> may be interconnected through a communication network, to implement interaction between wireless signals. The communication network may include but is not limited to the following: a Wi-Fi hotspot network, a Wi-Fi peer-to-peer (peer-to-peer, P2P) network, a Bluetooth network, a ZigBee network, or a near field communication (near field communication, NFC) network.

The stylus <NUM> may include but is not limited to the following: an inductive stylus and a capacitive stylus. The electronic device <NUM> includes a touchscreen <NUM>. When the stylus <NUM> is the inductive stylus, an electromagnetic induction board needs to be integrated on the touchscreen <NUM> of the electronic device <NUM> interacting with the stylus <NUM>. A coil is distributed on the electromagnetic induction board, and a coil is also integrated in the inductive stylus. According to an electromagnetic induction principle, the inductive stylus can accumulate electric energy with movement of the inductive stylus in a magnetic field range generated by the electromagnetic induction board. The inductive stylus can transmit the accumulated electric energy to the electromagnetic induction board through the coil in the inductive stylus and free oscillation. The electromagnetic induction board may scan the coil on the electromagnetic induction board based on the electric energy from the inductive stylus, and calculate a location of the inductive stylus on the touchscreen <NUM>. The touchscreen <NUM> of the electronic device <NUM> may also be referred to as a touchscreen <NUM>, and the stylus <NUM> may be referred to as a stylus.

The capacitive stylus may include: a passive capacitive stylus and an active capacitive stylus. The passive capacitive stylus may be referred to as a passive capacitive stylus, and the active capacitive stylus may be referred to as an active capacitive stylus.

One or more electrodes may be disposed in the active capacitive stylus (for example, a stylus tip). The active capacitive stylus may transmit a signal through the electrode. When the stylus <NUM> is the active capacitive stylus, an electrode array needs to be integrated on the touchscreen <NUM> of the electronic device <NUM> interacting with the stylus <NUM>. In an embodiment, the electrode array may be a capacitive electrode array. The electronic device <NUM> may receive a signal from the active capacitive stylus through the electrode array, and when receiving the signal, identify a location of the active capacitive stylus on the touchscreen and an inclination angle of the active capacitive stylus based on a change in a capacitance value on the touchscreen <NUM>.

<FIG> is a schematic diagram of a structure of a stylus. Refer to <FIG>. The stylus <NUM> may include a stylus tip <NUM>, a stylus rod <NUM>, and a rear cover <NUM>. The inside of the stylus rod <NUM> is in a hollow structure. The stylus tip <NUM> and the rear cover <NUM> are respectively located at two ends of the stylus rod <NUM>. The rear cover <NUM> and the stylus rod <NUM> may be connected through plugging or snapping. For a fitting relationship between the stylus tip <NUM> and the stylus rod <NUM>, refer to descriptions in <FIG>.

<FIG> is a schematic diagram of a partially split structure of a stylus. Refer to <FIG>. The stylus <NUM> further includes a spindle component <NUM>. The spindle component <NUM> is located in the stylus rod <NUM>, and the spindle component <NUM> is slidably disposed in the stylus rod <NUM>. The spindle component <NUM> has an external screw thread <NUM>, and the stylus tip <NUM> includes a writing end <NUM> and a connecting end <NUM>. The connecting end <NUM> of the stylus tip <NUM> has an internal screw thread (not shown) fitting the external screw thread <NUM>.

When the spindle component <NUM> is assembled into the stylus rod <NUM>, the connecting end <NUM> of the stylus tip <NUM> extends into the stylus rod <NUM> and is threadedly connected to the external screw thread <NUM> of the spindle component <NUM>. In some other examples, the connecting end <NUM> of the stylus tip <NUM> may also be connected to the spindle component <NUM> in a detachable manner such as snapping. The connecting end <NUM> of the stylus tip <NUM> is detachably connected to the spindle component <NUM>, to implement replacement of the stylus tip <NUM>.

To detect pressure applied to the writing end <NUM> of the stylus tip <NUM>, as shown in <FIG>, there is a gap 10a between the stylus tip <NUM> and the stylus rod <NUM>. In this way, it can be ensured that when the writing end <NUM> of the stylus tip <NUM> is subjected to an external force, the stylus tip <NUM> can move toward the stylus rod <NUM>, and movement of the stylus tip <NUM> drives the spindle component <NUM> to move in the stylus rod <NUM>. To detect the pressure, as shown in <FIG>, a pressure sensing component <NUM> is disposed on the spindle component <NUM>. A part of the pressure sensing component <NUM> is fixedly connected to a fastener in the stylus rod <NUM>, and a part of the pressure sensing component <NUM> is fixedly connected to the spindle component <NUM>. In this way, when the spindle component <NUM> moves with the stylus tip <NUM>, because the part of the pressure sensing component <NUM> is fixedly connected to the fastener in the stylus rod <NUM>, movement of the spindle component <NUM> drives deformation of the pressure sensing component <NUM>, and deformation of the pressure sensing component <NUM> is transmitted to a circuit board <NUM> (for example, the pressure sensing component <NUM> and the circuit board <NUM> can be electrically connected through a wire or a flexible circuit board). The circuit board <NUM> detects the pressure of the writing end <NUM> of the stylus tip <NUM> based on deformation of the pressure sensing component <NUM>, and therefore controls a line thickness of the writing end <NUM> based on the pressure of the writing end <NUM> of the stylus tip <NUM>.

It should be noted that detection on the pressure of the stylus tip <NUM> includes but is not limited to the foregoing method. For example, a pressure sensor may be further disposed at the writing end <NUM> of the stylus tip <NUM>, and the pressure of the stylus tip <NUM> is detected by the pressure sensor.

In this embodiment, as shown in <FIG>, the stylus <NUM> further includes a plurality of electrodes. The plurality of electrodes may be, for example, a first transmitting electrode <NUM>, a ground electrode <NUM>, and a second transmitting electrode <NUM>. The first transmitting electrode <NUM>, the ground electrode <NUM>, and the second transmitting electrode <NUM> are electrically connected to the circuit board <NUM>. The first transmitting electrode <NUM> may be located in the stylus tip <NUM> and close to the writing end <NUM>. The circuit board <NUM> may be configured to provide a signal control board to each of the first transmitting electrode <NUM> and the second transmitting electrode <NUM>, and the first transmitting electrode <NUM> is configured to transmit a first signal. When the first transmitting electrode <NUM> is close to the touchscreen <NUM> of the electronic device <NUM>, a coupling capacitance may be formed between the first transmitting electrode <NUM> and the touchscreen <NUM> of the electronic device <NUM>, so that the electronic device <NUM> can receive the first signal. The second transmitting electrode <NUM> is configured to transmit a second signal, and the electronic device <NUM> can determine an inclination angle of the stylus <NUM> based on the received second signal. In this embodiment of this application, the second transmitting electrode <NUM> may be located on an inner wall of the stylus rod <NUM>. In an example, the second transmitting electrode <NUM> may also be located on the spindle component <NUM>.

The ground electrode <NUM> may be located between the first transmitting electrode <NUM> and the second transmitting electrode <NUM>, or the ground electrode <NUM> may be located at the outer periphery of the first transmitting electrode <NUM> and the second transmitting electrode <NUM>, and the ground electrode <NUM> is used to reduce coupling between the first transmitting electrode <NUM> and the second transmitting electrode <NUM>.

When the electronic device <NUM> receives a first signal from the stylus <NUM>, a capacitance value at a corresponding location on the touchscreen <NUM> changes. Based on this, the electronic device <NUM> may determine a location of the stylus <NUM> (or the stylus tip of the stylus <NUM>) on the touchscreen <NUM> based on the change in the capacitance value on the touchscreen <NUM>. In addition, the electronic device <NUM> may obtain the inclination angle of the stylus <NUM> by using a double-tip projection method in an inclination angle detection algorithm. Because locations of the first transmitting electrode <NUM> and the second transmitting electrode <NUM> in the stylus <NUM> are different, when the electronic device <NUM> receives the first signal and a second signal from the stylus <NUM>, capacitance values at the two locations on the touchscreen <NUM> change. The electronic device <NUM> may obtain the inclination angle of the stylus <NUM> based on a distance between the first transmitting electrode <NUM> and the second transmitting electrode <NUM> and a distance between the two locations at which the capacitance values on the touchscreen <NUM> change. For more detailed descriptions of obtaining the inclination angle of the stylus <NUM>, refer to related descriptions of the double-tip projection method in the conventional technology.

In this embodiment of this application, as shown in <FIG>, the stylus <NUM> further includes: a battery <NUM>, where the battery <NUM> is configured to supply power to the circuit board <NUM>. The battery <NUM> may include a lithium ion battery, or the battery <NUM> may include a nickel chromium battery, an alkaline battery, a nickel hydrogen battery, or the like. In an embodiment, the battery included in the battery <NUM> may be a rechargeable battery or a primary battery. When the battery included in the battery <NUM> may be the rechargeable battery, the stylus <NUM> can charge the battery in the battery <NUM> through wireless charging.

When the stylus <NUM> is an active capacitive stylus, as shown in <FIG>, after the electronic device <NUM> is wirelessly connected to the stylus <NUM>, the electronic device <NUM> may send an uplink signal to the stylus <NUM> through an electrode array integrated on the touchscreen <NUM>. The stylus <NUM> may receive the uplink signal through a receiving electrode, and the stylus <NUM> transmits a downlink signal through a transmitting electrode (for example, the first transmitting electrode <NUM> and the second transmitting electrode <NUM>). The downlink signal includes the first signal and the second signal. When the stylus tip <NUM> of the stylus <NUM> contacts the touchscreen <NUM>, the capacitance value at the corresponding location on the touchscreen <NUM> changes, and the electronic device <NUM> may determine a location of the stylus tip <NUM> of the stylus <NUM> on the touchscreen <NUM> based on the capacitance value on the touchscreen <NUM>. In an embodiment, an uplink signal and a downlink signal may be square wave signals.

In an embodiment, as shown in <FIG>, the wireless keyboard <NUM> may include a support <NUM> and a keyboard body <NUM>. The support <NUM> is configured to place the electronic device <NUM>, and the keyboard body <NUM> may be provided with a button, a touchpad, or the like for a user operation.

When the wireless keyboard <NUM> is used, the support <NUM> and the keyboard body <NUM> of the wireless keyboard <NUM> need to be opened. When the wireless keyboard <NUM> is not used, the support <NUM> and the keyboard body <NUM> of the wireless keyboard <NUM> can be closed. In an embodiment, the support <NUM> and the keyboard body <NUM> of the wireless keyboard <NUM> are rotatably connected to each other. For example, the support <NUM> and the keyboard body <NUM> may be connected through a rotating shaft or a hinge. Alternatively, in some examples, the support <NUM> and the keyboard body <NUM> are rotationally connected by using a flexible material (for example, a leather material or a cloth material). Alternatively, in some examples, the support <NUM> and the keyboard body <NUM> may be integrally formed, and a connection part between the support <NUM> and the keyboard body <NUM> is thinned, so that the connection part between the support <NUM> and the keyboard body <NUM> can be bent. A manner of the connection between the support <NUM> and the keyboard body <NUM> may include but is not limited to the foregoing rotational connection manners.

The support <NUM> may include at least two rotationally connected supports. For example, as shown in <FIG>, the support <NUM> includes a first support 301a and a second support 301b. The first support 301a and the second support 301b are rotatably connected to each other. During use, the first support 301a and the second support 301b may be used to jointly support the electronic device <NUM> (for details, refer to <FIG>). Alternatively, the first support 301a supports the second support 301b, and the second support 301b supports the electronic device <NUM>. Refer to <FIG>. The second support 301b and the keyboard body <NUM> are rotatably connected to each other.

As shown in <FIG>, to accommodate the stylus <NUM>, the wireless keyboard <NUM> may be provided with an accommodating portion <NUM> for accommodating the stylus <NUM>. As shown in <FIG>, the accommodating portion <NUM> is a cylindrical cavity, and one end of the cavity has an opening through which the stylus can be inserted into the cavity. During accommodating, the stylus <NUM> is inserted into the accommodating cavity along an arrow direction in <FIG>.

In this embodiment, as shown in <FIG>, the keyboard body <NUM> and the second support 301b are rotatably connected to each other through a connecting portion <NUM>. In <FIG>, the accommodating portion <NUM> is formed in the connecting portion <NUM>. The connecting portion <NUM> may be a rotating shaft, the rotating shaft is fixedly connected to the keyboard body <NUM>, and the support <NUM> is rotatably connected to the rotating shaft. For example, the support <NUM> includes a sleeve (not shown) sleeved on the rotating shaft, and the support <NUM> is rotatably connected to the rotating shaft through the sleeve. Alternatively, the rotating shaft is fixedly connected to the support <NUM>, and the keyboard body <NUM> is rotatably connected to the rotating shaft.

When the connecting portion <NUM> may be a rotating shaft, a cavity may be disposed in the rotating shaft to form the accommodating portion <NUM>.

Certainly, in some examples, the accommodating portion <NUM> may alternatively be disposed on a surface of the connecting portion <NUM>, or the accommodating portion <NUM> may be disposed close to the connecting portion <NUM>. It should be noted that when the accommodating portion <NUM> is disposed close to the connecting portion <NUM>, a stylus container may be disposed at a location that is on the wireless keyboard <NUM> and that is near the connecting portion <NUM>, and the accommodating portion <NUM> may be formed in the stylus container.

<FIG> is a schematic diagram in which a stylus <NUM> is accommodated in an accommodating portion <NUM>. <FIG> is a schematic side view obtained when a stylus <NUM> is accommodated in an accommodating portion <NUM> of a wireless keyboard <NUM>. Refer to <FIG>. The accommodating portion <NUM> is a circular cavity, and an inner diameter of the accommodating portion <NUM> is larger than an outer diameter of the stylus <NUM>.

In an embodiment, a magnetic material may be disposed on an inner wall of the accommodating portion <NUM>, and a magnetic material may be disposed in the stylus <NUM>, to prevent the stylus <NUM> from falling out of the accommodating portion <NUM>. The stylus <NUM> is adsorbed in the accommodating portion <NUM> through magnetic adsorption between the magnetic materials. Certainly, in some examples, when the stylus <NUM> is fastened to the accommodating portion <NUM>, the stylus <NUM> is fastened to the accommodating portion <NUM> through magnetic adsorption or the like. For example, the stylus <NUM> may also be fastened to the accommodating portion <NUM> through snapping.

To facilitate removal of the stylus <NUM> from the accommodating portion <NUM>, an elastic pressing component (for details, refer to descriptions in <FIG>) may be disposed in the accommodating portion <NUM>. For example, one end of the stylus <NUM> is pressed, so that the elastic pressing component can drive one end of the stylus <NUM> to eject from the accommodating portion <NUM>.

<FIG> is a schematic diagram of a hardware structure of a stylus according to an embodiment of this application. Refer to <FIG>. The stylus <NUM> may include a processor <NUM>. The processor <NUM> may include storage and processing circuits configured to support operations of the stylus <NUM>. The storage and processing circuits may include a storage apparatus (for example, a flash memory or another electrical programmable read-only memory configured as a solid-state drive) such as a non-volatile memory, a volatile memory (for example, a static or dynamic random access memory), and the like. The processing circuit in the processor <NUM> may be used to control an operation of the stylus <NUM>. The processing circuit may be based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio chips, application-specific integrated circuits, and the like.

The stylus <NUM> may include one or more sensors. For example, the sensor may include a pressure sensor <NUM>. The pressure sensor <NUM> may be disposed at the writing end <NUM> of the stylus <NUM> (as shown in <FIG>). Certainly, the pressure sensor <NUM> may also be disposed in the stylus rod <NUM> of the stylus <NUM>. In this way, after one end of the stylus tip <NUM> of the stylus <NUM> is forced, the other end of the stylus tip <NUM> moves to apply force to the pressure sensor <NUM>. In an embodiment, the processor <NUM> may adjust, based on pressure detected by the pressure sensor <NUM>, a writing line thickness of the stylus tip <NUM> of the stylus <NUM>.

The sensor may also include an inertial sensor <NUM>. The inertial sensor <NUM> may include a three-axis accelerometer and a three-axis gyroscope, and/or another component configured to measure movement of the stylus <NUM>. For example, a three-axis magnetometer may be included in the sensor in a configuration of a nine-axis inertial sensor. The sensor may also include an additional sensor, such as a temperature sensor, an ambient light sensor, an optical proximity sensor, a contact sensor, a magnetic sensor, a pressure sensor, and/or another sensor.

The stylus <NUM> may include a status indicator <NUM> such as a light-emitting diode and a button <NUM>. The status indicator <NUM> is configured to prompt a user with a status of the stylus <NUM>. The button <NUM> may include a mechanical button and a non-mechanical button, and the button <NUM> may be configured to collect button press information from the user.

In this embodiment of this application, the stylus <NUM> may include one or more electrodes <NUM> (for details, refer to the descriptions in <FIG>), one electrode <NUM> may be located at the writing end of the stylus <NUM>, and one electrode <NUM> may be located in the stylus tip <NUM>. For details, refer to the foregoing related descriptions.

The stylus <NUM> may include a sensing circuit <NUM>. The sensing circuit <NUM> may sense capacitive coupling between the electrode <NUM> and a drive line on a capacitive touch sensor panel interacting with the stylus <NUM>. The sensing circuit <NUM> may include an amplifier used to receive capacitive readings from the capacitive touch sensor panel, a clock used to generate a demodulation signal, a phase shifter used to generate a phase-shifted demodulation signal, a mixer used to demodulate capacitive readings by using an in-phase demodulation frequency component, a mixer used to demodulate capacitive readings by using a quadrature demodulation frequency component, and the like. A demodulation result of the mixer may be used to determine an amplitude proportional to a capacitance, so that the stylus <NUM> can sense contact with the capacitive touch sensor panel.

It may be understood that the stylus <NUM> may include a microphone, a speaker, an audio generator, a vibrator, a camera, a data port, and another device based on an actual requirement. The user may use these devices to provide commands to control operations of the stylus <NUM> and the electronic device <NUM> interacting with the stylus <NUM>, and receive status information and another output.

The processor <NUM> may be configured to run software that is on the stylus <NUM> and that controls an operation of the stylus <NUM>. In an operation process of the stylus <NUM>, the software running on the processor <NUM> may process a sensor input, a button input, and an input from another apparatus to monitor movement of the stylus <NUM> and an input of another user. The software running on the processor <NUM> may detect a user command and may communicate with the electronic device <NUM>.

To support wireless communication between the stylus <NUM> and the electronic device <NUM>, the stylus <NUM> may include a wireless module. In <FIG>, an example in which the wireless module is a Bluetooth module <NUM> is used for description. The wireless module may also be a Wi-Fi hotspot module, a Wi-Fi peer-to-peer module, or the like. The Bluetooth module <NUM> may include a radio frequency transceiver, for example, a transceiver. The Bluetooth module <NUM> may also include one or more antennas. The transceiver may transmit and/or receive a wireless signal through the antenna. The wireless signal may be a Bluetooth signal, a wireless local area network signal, a remote signal such as a cellular phone signal, a near field communication signal, or another wireless signal based on a type of the wireless module.

The stylus <NUM> may further include a charging module <NUM>. The charging module <NUM> may support charging of the stylus <NUM> to provide power to the stylus <NUM>.

It should be understood that the electronic device <NUM> in this embodiment of this application may be referred to as user equipment (user equipment, UE), a terminal (terminal), or the like. For example, the electronic device <NUM> may be a mobile terminal or a fixed terminal including a touchscreen, for example, a tablet (portable android device, PAD), a personal digital assistant (personal digital assistant, PDA), a handheld device having a wireless communication function, a computing device, a vehicle-mounted device, a wearable device, a virtual reality (virtual reality, VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in a smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in a smart city (smart city), or a wireless terminal in a smart home (smart home). A form of the terminal device is not specifically limited in this embodiment of this application.

<FIG> is a schematic diagram of a hardware structure of an electronic device according to an embodiment of this application. Refer to <FIG>. The electronic device <NUM> may include a plurality of subsystems. The subsystems cooperate to perform, coordinate, or monitor one or more operations or functions of the electronic device <NUM>. The electronic device <NUM> includes a processor <NUM>, an input surface <NUM>, a coordination engine <NUM>, a power subsystem <NUM>, a power connector <NUM>, a wireless interface <NUM>, and a display <NUM>.

For example, the coordination engine <NUM> may be configured to: communicate with another subsystem of the electronic device <NUM> and/or process data; communicate with and/or transact data with the stylus <NUM>; measure and/or obtain one or more outputs of one or more analog or digital sensors (for example, touch sensors); measure and/or obtain one or more outputs of one or more sensor nodes in a sensor node array (for example, a capacitive sensing node array); receive and position a tip signal and a ring signal from the stylus <NUM>; position the stylus <NUM> based on locations of a tip signal crossing area and a ring signal crossing area, and the like.

The coordination engine <NUM> of the electronic device <NUM> includes or may be communicatively coupled, in another manner, to a sensor layer located below the input surface <NUM> or integrated with the input surface. The coordination engine <NUM> uses the sensor layer to position the stylus <NUM> on the input surface <NUM>, and uses the technology in this specification to estimate an angular location of the stylus <NUM> relative to a plane of the input surface <NUM>. In an embodiment, the input surface <NUM> may be referred to as a touchscreen <NUM>.

For example, the sensor layer of the coordination engine <NUM> of the electronic device <NUM> is a grid of capacitive sensing nodes arranged in columns and rows. More specifically, a column trace array is set to be perpendicular to a row trace array. The sensor layer may be separated from another layer of the electronic device, or the sensor layer may be disposed directly on another layer. The another layer includes but is not limited to: a display stack layer, a force sensor layer, a digitizer layer, a polarizer layer, a battery layer, a structural or decorative shell layer, or the like.

The sensor layer can operate in a plurality of modes. If the sensor layer operates in mutual capacitance mode, a column trace and a row trace form a single capacitive sensing node (for example, a "vertical" mutual capacitance) at each overlapping point. If the sensor layer operates in self-capacitive mode, a column trace and a row trace form two (vertically aligned) capacitive sensing nodes at each overlapping point. In another implementation solution, if the sensor layer operates in mutual capacitance mode, adjacent column traces and/or adjacent row traces each may form a single capacitive sensing node (for example, a "horizontal" mutual capacitance). As described above, the sensor layer may monitor a change in a capacitance (for example, a mutual capacitance or a self-capacitance) presented at each capacitive sensing node to detect existence of the stylus tip <NUM> of the stylus <NUM> and/or touch of a finger of the user. In many cases, the coordination engine <NUM> may be configured to detect, through capacitive coupling, the tip signal and the ring signal received from the stylus <NUM> through the sensor layer.

The tip signal and/or the ring signal may include specific information and/or data that may be configured to enable the electronic device <NUM> to identify the stylus <NUM>. Such information is usually referred to as "stylus identity" information in this specification. The information and/or the data may be received by the sensor layer, and interpreted, decoded, and/or demodulated by the coordination engine <NUM>.

The processor <NUM> may use the stylus identity information to receive an input from more than one stylus simultaneously. Specifically, the coordination engine <NUM> may be configured to transmit, to the processor <NUM>, a location and/or an angular location that are/is of each of several styluses and that are/is detected by the coordination engine <NUM>. In another case, the coordination engine <NUM> may further transmit, to the processor <NUM>, information about relative locations and/or relative angular locations that are of a plurality of styluses and that are detected by the coordination engine <NUM>. For example, the coordination engine <NUM> may notify that a first stylus detected by the processor <NUM> is located at a location of a second stylus detected by the processor <NUM>.

In another case, the tip signal and/or the ring signal may further include specific information and/or data used to enable the electronic device <NUM> to identify a specific user. Such information is usually referred to as "user identity" information in this specification.

The coordination engine <NUM> may forward the user identity information (if the user identity information can be detected and/or can be restored) to the processor <NUM>. If the user identity information cannot be restored from the tip signal and/or the ring signal, the coordination engine <NUM> may optionally indicate to the processor <NUM> that the user identity information is not available. The processor <NUM> can use the user identity information in any proper manner (or a case in which the information does not exist), including but not limited to: accepting or rejecting an input from a specific user, allowing or denying access to a specific function of the electronic device, and the like. The processor <NUM> may use the user identity information to receive an input from more than one user simultaneously.

In another case, the tip signal and/or the ring signal may include specific information and/or data that may be configured to enable the electronic device <NUM> to identify settings or preferences of the user or the stylus <NUM>. Such information is usually referred to as "stylus setting" information in this specification.

The coordination engine <NUM> may forward the stylus setting information (if the stylus setting information can be detected and/or can be restored) to the processor <NUM>. If the stylus setting information cannot be restored from the tip signal and/or the ring signal, the coordination engine <NUM> may optionally indicate to the processor <NUM> that the stylus setting information is not available. The electronic device <NUM> can use the stylus setting information in any proper manner (or a case in which the information does not exist), including but not limited to: applying settings to the electronic device, applying settings to a program running on the electronic device, changing a line thickness, a color, and a pattern presented by a graphical program on the electronic device, changing settings of a video game operated on the electronic device, and the like.

Usually, the processor <NUM> may be configured to: perform, coordinate, and/or manage functions of the electronic device <NUM>. Such functions may include but are not limited to: communicating with and/or transacting data with another subsystem of the electronic device <NUM>, communicating with and/or transacting data with the stylus <NUM>, performing data communication and/or transacting data through a wireless interface, performing data communication and/or transacting data through a wired interface, facilitating power exchange through a wireless (for example, inductive or resonant) or wired interface, receiving one or more locations and angular locations of one or more styluses, and the like.

The processor <NUM> may be implemented as any electronic device that can process, receive, or send data or instructions. For example, the processor may be a microprocessor, a central processing unit, an application-specific integrated circuit, a field programmable gate array, a digital signal processor, an analog circuit, a digital circuit, or a combination of these devices. The processor may be a single-threaded processor or a multi-threaded processor. The processor may be a single-core processor or a multi-core processor.

During use, the processor <NUM> may be configured to access a memory that stores instructions. The instructions may be configured to enable the processor to perform, coordinate, or monitor one or more operations or functions of the electronic device <NUM>.

The instructions stored in the memory may be configured to: control or coordinate an operation of another component of the electronic device <NUM>. The component includes but is not limited to: another processor, an analog or digital circuit, a volatile or non-volatile memory module, a display, a speaker, a microphone, a rotary input device, a button or another physical input device, a biometric authentication sensor and/or system, a force or touch input/output component, a communications module (for example, a wireless interface and/or a power connector), and/or a tactile feedback device.

The memory may further store electronic data that can be used by the stylus or the processor. For example, the memory may store electronic data or content (such as a media file, a document, and an application), device settings and preferences, a timing signal and a control signal, data, data structures, or databases used for various modules, a file or a configuration related to detection of a tip signal and/or a ring signal, and the like. The memory may be configured as any type of memory. For example, the memory may be implemented as a random access memory, a read-only memory, a flash memory, a removable memory, another type of storage element, or a combination of these devices.

The electronic device <NUM> further includes the power subsystem <NUM>. The power subsystem <NUM> may include a battery or another power supply. The power subsystem <NUM> may be configured to provide power to the electronic device <NUM>. The power subsystem <NUM> may be further coupled to the power connector <NUM>. The power connector <NUM> may be any proper connector or port, and may be configured to receive power from an external power supply and/or configured to provide power to an external load. For example, in some implementation solutions, the power connector <NUM> may be configured to recharge a battery in the power subsystem <NUM>. In another implementation solution, the power connector <NUM> may be configured to transmit power stored in (or available to) the power subsystem <NUM> to the stylus <NUM>.

The electronic device <NUM> further includes the wireless interface <NUM> to facilitate electronic communication between the electronic device <NUM> and the stylus <NUM>. In an implementation solution, the electronic device <NUM> may be configured to communicate with the stylus <NUM> through a low energy Bluetooth communication interface or a near field communication interface. In another example, the communication interface facilitates electronic communication between the electronic device <NUM> and an external communication network, a device, or a platform.

The wireless interface <NUM> (whether a communication interface between the electronic device <NUM> and the stylus <NUM> or another communication interface) may be implemented as one or more wireless interfaces, a Bluetooth interface, a near field communication interface, a magnetic interface, a universal serial bus interface, an inductance interface, a resonant interface, a capacitive coupling interface, a Wi-Fi interface, a TCP/IP interface, a network communication interface, an optical interface, an acoustic interface, or any conventional communication interface.

The electronic device <NUM> further includes the display <NUM>. The display <NUM> may be located behind the input surface <NUM>, or may be integrated with the input surface <NUM>. The display <NUM> may be communicatively coupled to the processor <NUM>. The processor <NUM> may present information to a user through the display <NUM>. In many cases, the processor <NUM> presents, through the display <NUM>, an interface with which a user can interact. In many cases, the user manipulates the stylus <NUM> to interact with an interface.

It is appreciated by a person skilled in the art that some of the foregoing specific details presented by the electronic device <NUM> may not be required to practice the particular implementation solutions or equivalents thereof. Similarly, another electronic device may include more subsystems, modules, components, and the like. In a proper case, some submodules may be implemented as software or hardware. Therefore, it should be understood that the foregoing descriptions are not intended to be exhaustive or to limit the disclosure to the exact form in this specification. On the contrary, it is appreciated by a person of ordinary skill in the art that many modifications and variations are possible based on the foregoing teachings.

<FIG> is a schematic diagram of a hardware structure of a wireless keyboard according to an embodiment of this application. Refer to <FIG>. The wireless keyboard <NUM> may include a processor <NUM>, a memory <NUM>, a charging interface <NUM>, a charging management module <NUM>, a wireless charging coil <NUM>, a battery <NUM>, a wireless communications module <NUM>, a touchpad <NUM>, and a keyboard <NUM>.

The processor <NUM>, the memory <NUM>, the charging interface <NUM>, the charging management module <NUM>, the battery <NUM>, the wireless communications module <NUM>, the touchpad <NUM>, the keyboard <NUM>, and the like may all be disposed on a keyboard body (that is, the keyboard body <NUM> shown in <FIG>) of the wireless keyboard <NUM>. The wireless charging coil <NUM> may be disposed in the connecting portion <NUM> (shown in <FIG>) for movably connecting the keyboard body and a support. It may be understood that the structure shown in this embodiment does not constitute a specific limitation on the wireless keyboard <NUM>. In some other embodiments, the wireless keyboard <NUM> may include more or fewer components 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 in hardware, software, or a combination of software and hardware.

The memory <NUM> may be configured to store program code, for example, program code used to wirelessly charge the stylus <NUM>. The memory <NUM> may further store a Bluetooth address for uniquely identifying the wireless keyboard <NUM>. In addition, the memory <NUM> may further store connection data of an electronic device successfully paired with the wireless keyboard <NUM>. For example, the connection data may be a Bluetooth address of the electronic device successfully paired with the wireless keyboard <NUM>. Based on the connection data, the wireless keyboard <NUM> can be automatically paired with the electronic device without configuring a connection between the wireless keyboard <NUM> and the electronic device, for example, performing validity verification. The Bluetooth address may be a media access control (media access control, MAC) address.

The processor <NUM> may be configured to: execute the application code, and invoke related modules to implement functions of the wireless keyboard <NUM> in this embodiment of this application, for example, implement a wired charging function, a reverse 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 functions of the processor <NUM> described in this embodiment 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 another electronic device including wireless communication such as Bluetooth (Bluetooth, BT), a global navigation satellite system (global navigation satellite system, GNSS), a wireless local area network (wireless local area network, WLAN) (for example, a wireless fidelity (wireless fidelity, Wi-Fi) network), frequency modulation (frequency modulation, FM), near field communication (near field communication, NFC), and an 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 through 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 addition, the wireless communications module <NUM> may further include an antenna. The wireless communications module <NUM> receives an electromagnetic wave through the antenna, performs frequency modulation and filtering processing on an electromagnetic wave signal, and sends a 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, and convert the signal into an electromagnetic wave for radiation through the antenna.

In some embodiments, the wireless keyboard <NUM> may support wired charging. Specifically, the charging management module <NUM> may receive a charging input of a wired charger through the charging interface <NUM>.

In some other embodiments, the wireless keyboard <NUM> may support forward wireless charging. The charging management module <NUM> may receive a wireless charging input through the wireless charging coil <NUM> of the wireless keyboard <NUM>. Specifically, the charging management module <NUM> is connected to the wireless charging coil <NUM> through a matching circuit. The wireless charging coil <NUM> may be coupled to the wireless charging coil of the wireless charger to induce an alternating electromagnetic field emitted by the wireless charging coil <NUM> of the wireless charger and generate an alternating electrical signal. The alternating electrical signal generated by the 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 of the battery <NUM>, and supplies 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, a battery cycle count, and a battery health status (such as leakage or impedance) of the battery <NUM>. In some other embodiments, the charging management module <NUM> may alternatively be disposed in the processor <NUM>.

In some other embodiments, the wireless keyboard <NUM> may support reverse wireless charging. Specifically, the charging management module <NUM> may further receive an input of the charging interface <NUM> or the battery <NUM>, and convert a direct electric signal that is input by the charging interface <NUM> or the battery <NUM> into an alternating electric signal. The alternating electric signal is transmitted to the wireless charging coil <NUM> through a matching circuit. The wireless charging coil <NUM> may generate an alternating electromagnetic field when receiving the alternating electric signal. A wireless charging coil of another mobile terminal induces the alternating electromagnetic field to perform wireless charging. To be specific, the wireless keyboard <NUM> may also wirelessly charge the another mobile terminal. In an embodiment, the wireless charging coil <NUM> may be disposed in the accommodating portion <NUM> of the wireless keyboard <NUM>, and a wireless charging coil is disposed in the stylus rod <NUM> of the stylus <NUM>. When the stylus <NUM> is placed in the accommodating portion <NUM>, the wireless keyboard <NUM> may charge the stylus <NUM> through the wireless charging coil <NUM>.

It should be noted that the matching circuit may be integrated into the charging management module <NUM>, and 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 a hardware structure of the wireless keyboard <NUM> by using an example in which the matching circuit may be integrated into the charging management module <NUM>.

The charging interface <NUM> may be configured to provide a wired connection for charging or communication between the wireless keyboard <NUM> and another electronic device (for example, a wired charger of the wireless keyboard <NUM>).

A touch sensor is integrated into the touchpad <NUM>. A notebook computer may receive a user control command on the notebook computer through the touchpad <NUM> and the keyboard <NUM>.

It may be understood that the structure shown 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 also be provided with an accommodating portion for accommodating the stylus <NUM>. The wireless charging coil <NUM> is disposed in the accommodating portion, and is configured to wirelessly charge the stylus <NUM> when the stylus <NUM> is accommodated in the accommodating portion.

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

In the related technology, the stylus <NUM> is usually adsorbed at a fixed location of the electronic device (tablet) <NUM> (for example, a side surface of the tablet) through magnetic adsorption. To charge a battery in the stylus <NUM>, a wireless charging coil is usually disposed in the stylus <NUM>, and a wireless charging coil is disposed at the fixed location of the electronic device <NUM>. Charging can be implemented only when the wireless charging coil of the stylus <NUM> is aligned with the wireless charging coil at the fixed location of the tablet. Consequently, when the stylus <NUM> is charged, the user often needs to align the two wireless charging coils for a plurality of times to implement charging, and therefore the user cannot quickly charge the stylus <NUM>.

To resolve the foregoing problem, in this embodiment of this application, a first charging coil <NUM> is disposed in the accommodating portion <NUM> of the wireless keyboard <NUM>, and a second charging coil <NUM> is disposed in the stylus <NUM>. When the stylus <NUM> is accommodated in the accommodating portion <NUM>, a location of the first charging coil <NUM> corresponds to a location of the second charging coil <NUM>, at least one of the first charging coil <NUM> and the second charging coil <NUM> is a circle coil, and the circle coil is disposed around circumference of the accommodating portion <NUM> or the stylus <NUM>. In this way, when the stylus <NUM> is blindly inserted into the accommodating portion <NUM>, the circle coil in the first charging coil <NUM> and the second charging coil <NUM> is always coupled to the other charging coil, to implement a function of <NUM>° blind insertion charging of the stylus <NUM>, and avoid an operation of alignment between the wireless charging coil of the stylus <NUM> and the wireless charging coil of the electronic device <NUM> when the stylus <NUM> is charged.

In addition, the stylus <NUM> can be accommodated in the accommodating portion <NUM> of the wireless keyboard <NUM>, so that the stylus <NUM> can be carried more portably. Therefore, according to the wireless keyboard <NUM> and the stylus <NUM> provided in this embodiment of this application, the stylus <NUM> can be charged when the stylus <NUM> is blindly inserted into the accommodating portion <NUM>, to resolve a prior-art problem that the user cannot quickly charge the stylus <NUM> because the charging coils need to be aligned for a plurality of times when the stylus <NUM> is charged.

<FIG> is a schematic diagram of a partial cross-sectional structure along an A-A direction in <FIG>. Refer to <FIG>. The first charging coil <NUM> is disposed in the accommodating portion <NUM>, and the second charging coil <NUM> corresponding to the first charging coil <NUM> is disposed in the stylus <NUM>. It should be understood that the correspondence between the first charging coil <NUM> and the second charging coil <NUM> specifically refers to a mutual location relationship obtained when the first charging coil <NUM> and the second charging coil <NUM> can be coupled when the stylus <NUM> is accommodated in the accommodating portion <NUM>.

At least one of the first charging coil <NUM> and the second charging coil <NUM> is a circle coil, and the circle coil is disposed around circumference of the accommodating portion <NUM> or the stylus <NUM>. For example, as shown in <FIG>, the first charging coil <NUM> of the accommodating portion <NUM> may be a <NUM>° circle coil, and the first charging coil <NUM> is disposed around circumference of an inner wall of the accommodating portion <NUM>, that is, the first charging coil <NUM> is disposed in one circle around the circumference of the inner wall of the accommodating portion <NUM>; and the second charging coil <NUM> may be a non-circle coil. In this way, when the stylus <NUM> is blindly inserted into the accommodating portion <NUM>, the annular first charging coil <NUM> of the accommodating portion <NUM> is always coupled to the second charging coil <NUM> of the stylus <NUM>, so that the stylus <NUM> can be charged when the stylus <NUM> is blindly inserted into the accommodating portion <NUM>.

Certainly, in some examples, the second charging coil <NUM> of the stylus <NUM> may be set as a <NUM>° circle coil, and the first charging coil <NUM> of the accommodating portion <NUM> may be set as a non-circle coil. In this way, when the stylus <NUM> is blindly inserted into the accommodating portion <NUM>, the circle coil of the stylus <NUM> is always coupled to the first charging coil of the accommodating portion <NUM> to charge the stylus <NUM>.

Alternatively, in some examples, both the first charging coil <NUM> and the second charging coil <NUM> may be set as <NUM>° circle coils. In this way, when the stylus <NUM> is blindly inserted into the accommodating portion <NUM>, the two annular charging coils are opposite to each other, and the two annular charging coils are coupled in each direction to implement fast charging.

It should be noted that when the at least one of the first charging coil <NUM> and the second charging coil <NUM> is the circle coil, the circle coil may be a <NUM>° continuous closed circle coil, or the circle coil may be a non-closed circle coil. It should be understood that when the circle coil is the non-closed circle coil, a spacing at a non-closed location needs to ensure that the circle coil can be coupled to the other charging coil when the stylus <NUM> is blindly inserted.

The stylus <NUM> is charged in the accommodating portion <NUM>. In this case, as shown in <FIG>, the first charging coil <NUM> is a transmit (Tx) coil, the second charging coil <NUM> is a receive (Rx) coil, and the first charging coil <NUM> is coupled to the second charging coil <NUM>. The charging management module <NUM> in the wireless keyboard <NUM> receives a direct electric signal provided by the charging interface <NUM>. The charging management module <NUM> may convert the direct electric signal into an alternating electric signal, and then input the alternating electric signal to the first charging coil <NUM>. The first charging coil <NUM> can generate an alternating electromagnetic field in response to the alternating electric signal. The second charging coil <NUM> senses the alternating electromagnetic field, and transmits the alternating electric signal to the charging module <NUM>. The charging module <NUM> can rectify the alternating electric signal into a direct electric signal, and provide the direct electric signal to the battery <NUM>, to charge the battery <NUM>.

It should be noted that when the wireless charging coil <NUM> in <FIG> is a transmit coil, the wireless charging coil <NUM> in <FIG> may serve as the first charging coil <NUM>.

To ensure that the stylus <NUM> does not fall out easily when being accommodated in the accommodating portion <NUM>, or to ensure that a location of the stylus <NUM> is fixed when the stylus <NUM> is accommodated in the accommodating portion <NUM> for charging, in this embodiment of this application, as shown in <FIG>, the electronic device component further includes: at least one group of limiting components <NUM>, where the limiting component <NUM> is configured to limit a location of the stylus <NUM> in the accommodating portion <NUM>, so that according to the limiting component <NUM>, the location at which the stylus <NUM> is accommodated in the accommodating portion <NUM> is limited, to prevent the stylus <NUM> from falling out of the accommodating portion <NUM>, and ensure that the first charging coil <NUM> and the second charging coil <NUM> are always coupled in a charging process of the stylus <NUM>.

In this embodiment of this application, one implementation of the limiting component <NUM> is as follows: As shown in <FIG>, the limiting component <NUM> includes a first ring magnet <NUM> and a magnetic piece <NUM> attracted to the first ring magnet <NUM>, one of the first ring magnet <NUM> and the magnetic piece <NUM> is located on the inner wall of the accommodating portion <NUM>, and the other of the first ring magnet <NUM> and the magnetic piece <NUM> is located in the stylus <NUM>.

For example, as shown in <FIG>, the first ring magnet <NUM> is located on the inner wall of the accommodating portion <NUM>, and the first ring magnet <NUM> is disposed in a circle along circumference of the inner wall of the accommodating portion <NUM>. The magnetic piece <NUM> is located in the stylus <NUM>, the stylus <NUM> is accommodated in the accommodating portion <NUM>, and the stylus <NUM> is fastened to the accommodating portion <NUM> through attraction between the first ring magnet <NUM> and the magnetic piece <NUM>.

The limiting component <NUM> includes the first ring magnet <NUM> and the magnetic piece <NUM>. In this way, the stylus <NUM> can be fastened when the stylus <NUM> is blindly inserted into the accommodating portion <NUM>. In the conventional technology, a magnet in the stylus <NUM> often needs to be aligned with a magnet on the electronic device <NUM> or the wireless keyboard <NUM> to implement adsorption and fastening. Therefore, in this embodiment of this application, the stylus <NUM> can be fastened when the stylus <NUM> is blindly inserted into the accommodating portion <NUM> at any degree within <NUM> degrees.

Certainly, in some examples, the first ring magnet <NUM> may alternatively be disposed in the stylus <NUM>, and the magnetic piece <NUM> may be disposed on the inner wall of the accommodating portion <NUM>. It should be noted that the magnetic piece <NUM> may be an annular magnetic piece <NUM>, or may be a magnetic sheet, a magnetic strip, or the like.

In this embodiment of this application, as shown in <FIG>, there are two groups of limiting components <NUM>, and the two groups of limiting components <NUM> are respectively located on two sides of the first charging coil <NUM> and the second charging coil <NUM>. For example, as shown in <FIG>, two first ring magnets <NUM> in the two groups of limiting components <NUM> are respectively located on two sides of the first charging coil <NUM>. Two magnetic pieces <NUM> in the two groups of limiting components <NUM> are respectively located on two sides of the second charging coil <NUM>. Certainly, in some examples, two first ring magnets <NUM> may alternatively be located on two sides of the second charging coil <NUM>, and two magnetic pieces <NUM> may be respectively located on two sides of the first charging coil <NUM>.

Alternatively, in some examples, in one group of limiting components <NUM>, a first ring magnet <NUM> is located on the inner wall of the accommodating portion <NUM>, and a magnetic piece <NUM> is located in the stylus <NUM>; and in the other group of limiting components <NUM>, a first ring magnet <NUM> is located in the stylus <NUM>, and a magnetic piece <NUM> is located on the inner wall of the accommodating portion <NUM>. In this case, the first ring magnet <NUM> in the one group of limiting components <NUM> and the magnetic piece <NUM> in the other group of limiting components <NUM> are respectively located on two sides of the first charging coil <NUM>, and the magnetic piece <NUM> in the one group of limiting components <NUM> and the first ring magnet <NUM> in the other group of limiting components <NUM> are respectively located on two sides of the second charging coil <NUM>.

Another implementation of the limiting component <NUM> is as follows: Refer to <FIG>. The limiting component <NUM> includes: an elastic buckle <NUM> and a buckle groove <NUM> (for details, refer to <FIG>) connected to the elastic buckle <NUM>, where one of the elastic buckle <NUM> and the buckle groove <NUM> is disposed on the inner wall of the accommodating portion <NUM>, and the other of the elastic buckle <NUM> and the buckle groove <NUM> is disposed on the stylus <NUM>. For example, as shown in <FIG>, the elastic buckle <NUM> is disposed on the inner wall of the accommodating portion <NUM>, and the buckle groove <NUM> is located on the stylus <NUM> (for details, refer to <FIG>). Certainly, the elastic buckle <NUM> may alternatively be located on the stylus <NUM>, and the buckle groove <NUM> may be disposed on the inner wall of the accommodating portion <NUM>.

It should be noted that, to implement that the stylus <NUM> can be fastened when the stylus <NUM> is blindly inserted into the accommodating portion <NUM> at any degree within <NUM>°, in this embodiment of this application, one of the elastic buckle <NUM> and the buckle groove <NUM> may be an annular structure. For example, the buckle groove <NUM> may be an annular buckle groove <NUM>, and the annular buckle groove <NUM> may be disposed in one circle along the circumference of the inner wall of the accommodating portion <NUM> or the circumference of the outer surface of the stylus <NUM>, or the elastic buckle <NUM> may be an annular buckle, and the annular buckle may be disposed in one circle along the circumference of the inner wall of the accommodating portion <NUM> or the circumference of the outer surface of the stylus <NUM>. In this way, the stylus <NUM> is fastened in the accommodating portion <NUM> when the stylus <NUM> is blindly inserted into the accommodating portion <NUM>, to facilitate accommodating of the stylus <NUM> by the user.

In a possible implementation, to facilitate removal of the stylus <NUM> from the accommodating portion <NUM>, as shown in <FIG> and <FIG>, the electronic device component further includes: an elastic pressing component <NUM>, where the elastic pressing component <NUM> is located in the accommodating portion <NUM>, and when the stylus <NUM> is accommodated in the accommodating portion <NUM>, one end of the elastic pressing component <NUM> is in contact with the stylus tip of the stylus <NUM>, the elastic pressing component <NUM> is in a compressed state under an action of the stylus <NUM>, and the elastic pressing component <NUM> is locked; and when the user needs to take out the stylus <NUM>, the user may press a rear cover of the stylus <NUM>, the stylus <NUM> applies a thrust force to the elastic pressing component <NUM> again, the elastic pressing component <NUM> is unlocked under the thrust force, and the elastic pressing component <NUM> in the compressed state ejects the stylus <NUM> outward based on an elastic force. For a specific structure of the elastic pressing component <NUM>, refer to detailed descriptions of <FIG>.

The elastic pressing component <NUM> is disposed, so that the stylus <NUM> can be easily taken out and placed in the accommodating portion <NUM>. In addition, when the stylus <NUM> is inserted into the accommodating portion <NUM>, the user can determine, through fitting between the stylus <NUM> and the elastic pressing component <NUM>, that the stylus <NUM> is properly inserted into the accommodating portion <NUM>.

When the stylus <NUM> starts to be charged in the accommodating portion <NUM>, it is necessary to detect that the stylus <NUM> is properly inserted into the accommodating portion <NUM>. To detect whether the stylus <NUM> is properly inserted into the accommodating portion <NUM>, in this embodiment of this application, as shown in <FIG>, the electronic device component further includes: a sensing component <NUM>, where the sensing component <NUM> is configured to be triggered when the stylus <NUM> is properly inserted into the accommodating portion <NUM>, so that the wireless keyboard can control, based on a signal generated when the sensing component is triggered, whether to start charging the stylus <NUM>.

It should be understood that the sensing component <NUM> needs to transmit a signal to a control board in the wireless keyboard <NUM>. Therefore, the sensing component <NUM> is electrically connected to the control board in the wireless keyboard <NUM> in a wired or wireless manner.

The sensing component <NUM> is disposed, to implement sensing detection on whether the stylus <NUM> is properly inserted into the accommodating portion <NUM>. Therefore, it can be ensured that the wireless keyboard <NUM> starts charging the stylus <NUM> only when the stylus <NUM> is properly accommodated, to avoid power consumption caused because the wireless keyboard <NUM> starts charging and the stylus <NUM> is not properly installed.

In embodiments of this application, there may be a plurality of implementations of the sensing component <NUM>. One of the implementations is as follows: Refer to <FIG>. The sensing component <NUM> may be an infrared sensor, and the infrared sensor is disposed in the accommodating portion <NUM>. When the stylus <NUM> is accommodated in the accommodating portion <NUM>, the infrared sensor is close to one end that is of the elastic pressing component <NUM> and that faces the stylus tip of the stylus <NUM> (that is, a first end 3032a of the elastic pressing component <NUM> in <FIG>). In this way, when the stylus <NUM> is properly accommodated in the accommodating portion <NUM>, one end of the stylus tip of the stylus <NUM> blocks light of the infrared sensor, the infrared sensor senses a change of the light, and the wireless keyboard <NUM> determines, based on the change that is of the light and that is sensed by the infrared sensor, that the stylus <NUM> is properly inserted into the accommodating portion <NUM>. In this case, the wireless keyboard <NUM> can start charging the stylus <NUM>.

Another implementation of the sensing component <NUM> is as follows: Refer to <FIG>. The sensing component <NUM> is a pressure sensor, the pressure sensor is located in the accommodating portion <NUM>, and the pressure sensor is in contact with one end of the elastic pressing component <NUM> (for example, one end that is of the elastic pressing component <NUM> and that faces away from the stylus tip of the stylus <NUM>, that is, a second end 3032b in <FIG>). The pressure sensor is configured to detect a magnitude of pressure applied when the elastic pressing component <NUM> is compressed. When the stylus <NUM> is properly accommodated in the accommodating portion <NUM>, the stylus tip of the stylus <NUM> applies pressure to the elastic pressing component <NUM>, and the pressure is transmitted to the pressure sensor. The control board in the wireless keyboard <NUM> can determine, based on the magnitude of the pressure sensed by the sensor, whether the stylus <NUM> is properly accommodated.

In this embodiment of this application, as shown in <FIG>, the elastic pressing component <NUM> may include: a fixed sleeve 3032c, an elastic piece 3032e, a sliding rod 3032d, and a sliding sleeve 3032f, where the fixed sleeve 3032c is fastened at a tail end of the accommodating portion <NUM>, the fixed sleeve 3032c has two cavities connected to each other, and inner diameters of the two cavities are different. The elastic piece 3032e is sleeved on one end of the sliding sleeve 3032f (for example, a left end of the sliding sleeve 3032f in <FIG>, that is, a second end 3032b in <FIG>), one end of the elastic piece 3032e abuts on a junction of the two cavities of the fixed sleeve 3032c, one end of the sliding rod 3032d is slidably disposed on the sliding sleeve 3032f, and the other end of the sliding rod 3032d passes through a location of a connection between the two cavities of the fixed sleeve 3032c and protrudes into a cavity that is of the fixed sleeve 3032c and that is away from the stylus <NUM>. An inner wall of the cavity that is of the fixed sleeve 3032c and that is away from the stylus <NUM> has a buckle (not shown) snapped into one end of the sliding rod 3032d. Both the sensing component <NUM> (that is, the pressure sensor) and the elastic piece 3032e are located in a cavity at one end that is of the fixed sleeve 3032c and that faces the stylus <NUM>.

In this manner, when the stylus <NUM> is accommodated in the accommodating portion <NUM>, the stylus tip of the stylus <NUM> applies an external force to one end of the sliding sleeve 3032f, the sliding sleeve 3032f slides in the fixed sleeve 3032c, the elastic piece 3032e is compressed, and the sliding rod 3032d is snapped into the buckle in the fixed sleeve 3032c under the push of the sliding sleeve 3032f, so that the elastic pressing component <NUM> is locked. When the user presses the tail of the stylus <NUM> again, the stylus <NUM> applies an external force to the sliding sleeve 3032f again, the external force pushes the sliding rod 3032d out of the buckle, and the elastic pressing component <NUM> is unlocked. In this case, an elastic force of the elastic piece 3032e drives the sliding sleeve 3032f to move toward the stylus <NUM>, and the movement of the sliding sleeve 3032f drives the stylus <NUM> to eject from the accommodating portion <NUM>.

In this embodiment of this application, as shown in <FIG>, the outer surface of the stylus rod <NUM> of the stylus <NUM> includes a flat surface 20a and a curved surface 20b, that is, the outer surface of the stylus rod <NUM> is not a circular surface. In this embodiment of this application, the outer surface of the stylus rod <NUM> includes the flat surface 20a, to help the user hold the stylus rod <NUM> of the stylus <NUM>. In addition, when the stylus <NUM> is placed on the inclined surface, the flat surface 20a may play a role in preventing the stylus <NUM> from falling downward, for example, the flat surface 20a of the stylus <NUM> may be placed on the inclined surface, to prevent the stylus <NUM> from falling downward when the stylus <NUM> is placed on the inclined surface.

A third implementation of the sensing component <NUM> is as follows: Refer to <FIG>. The sensing component <NUM> includes: a second ring magnet <NUM> and a Hall sensor <NUM> corresponding to the second ring magnet <NUM>, where one of the second ring magnet <NUM> and the Hall sensor <NUM> is disposed on an inner wall of the accommodating portion <NUM>, and the other of the second ring magnet <NUM> and the Hall sensor <NUM> is disposed in the stylus <NUM>.

It should be understood that the correspondence between the second ring magnet <NUM> and the Hall sensor <NUM> specifically indicates that when the stylus <NUM> is properly accommodated in the accommodating portion <NUM>, the second ring magnet <NUM> and the Hall sensor <NUM> may be correspondingly disposed face to face (for details, refer to <FIG>).

For example, as shown in <FIG>, the second ring magnet <NUM> is located on the inner wall of the accommodating portion <NUM>, and the Hall sensor <NUM> is located in the stylus <NUM>. In this way, when the stylus <NUM> is properly inserted into the accommodating portion <NUM>, the Hall sensor <NUM> can sense a magnetic line generated by the second ring magnet <NUM>, the Hall sensor <NUM> can be electrically connected to a circuit board in the stylus <NUM>, and the circuit board in the stylus <NUM> can send, based on a signal sensed by the Hall sensor <NUM>, a signal for starting charging to a control board in the wireless keyboard <NUM>. In this way, the control board in the wireless keyboard <NUM> releases a charging signal, and the charging management module <NUM> (for details, refer to <FIG>) provides a direct electric signal to the second charging coil <NUM> based on the received charging signal, and starts charging the stylus <NUM>.

Certainly, to reduce signal interaction, in some examples, the Hall sensor <NUM> may be disposed on the inner wall of the accommodating portion <NUM>, and the Hall sensor <NUM> is electrically connected to the control board in the wireless keyboard <NUM>. In this way, a change of the signal sensed by the Hall sensor <NUM> may be directly transmitted to the control board in the wireless keyboard <NUM>, the control board releases the charging signal based on the signal transmitted by the Hall sensor <NUM>, and the charging management module <NUM> (for details, refer to <FIG>) provides the direct electric signal to the second charging coil <NUM> based on the charging signal, and starts charging the stylus <NUM>.

It should be noted that, in this embodiment of this application, one structure of the second ring magnet <NUM> is shown in <FIG>, and the second ring magnet <NUM> is a <NUM>° ring magnet. Another structure of the second ring magnet <NUM> is shown in <FIG>. The second ring magnet <NUM> is a non-closed ring magnet formed by two semicircular ring magnets disposed alternately. The two semicircular ring magnets are respectively a semicircular ring magnet 3062a and a semicircular ring magnet 3062b, the two semicircular ring magnets are disposed opposite to each other, and there is a spacing between two ends of the two semicircular rings. The spacing may be used as accommodating space of a circuit board or a harness, or a path through which a circuit board or a harness passes.

It should be noted that when the stylus <NUM> is accommodated in the accommodating portion <NUM>, if the Hall sensor <NUM> in <FIG> is opposite to the spacing between the two semicircular ring magnets, to avoid a problem that the Hall sensor <NUM> cannot sense a magnetic line due to an excessively large spacing between the two semicircular ring magnets, in this embodiment of this application, the spacing between the two semicircular ring magnets needs to ensure that the Hall sensor <NUM> can sense the magnetic line when the Hall sensor <NUM> is opposite to the spacing.

It should be noted that, in this embodiment of this application, the sensing component <NUM> includes but is not limited to the foregoing three implementations, for example, an accommodating location of the stylus <NUM> may be detected by a sensor such as a laser.

In a possible implementation, to enable the user to intuitively observe a status of charging the stylus by the wireless keyboard, in this embodiment of this application, the electronic device component further includes: a charging indication module (not shown), where the charging indication module is configured to perform an indication when the wireless keyboard <NUM> charges the stylus <NUM>. For example, when the stylus <NUM> is properly inserted into the accommodating portion <NUM>, the wireless keyboard <NUM> controls, based on a signal transmitted by the sensing component <NUM>, the charging indication module to indicate a charging status of the stylus <NUM>. In this way, the user intuitively observes, through the charging indication module, whether the stylus <NUM> starts charging. Correspondingly, when charging of the stylus <NUM> is completed, the charging indication module may also indicate a charging complete state.

In this embodiment of this application, an implementation of the charging indication module is as follows: The charging indication module is disposed on the wireless keyboard <NUM>. The charging indication module includes an indicator, and the indicator indicates a charging status of the stylus <NUM>. For example, when the wireless keyboard <NUM> receives the signal transmitted by the sensing component <NUM>, the wireless keyboard <NUM> controls the indicator to light up in a first color, for example, the indicator is a red light. When charging of the stylus <NUM> is completed, the indicator may light up in a first color, for example, the indicator is a yellow light.

An implementation of the charging indication module is as follows: The charging indication module is located in the electronic device <NUM>, and the charging indication module includes a charging display unit. The charging display unit is configured to display a charging status of the stylus <NUM> through the touchscreen <NUM> when the wireless keyboard <NUM> charges the stylus <NUM>, where the charging status includes a charging state, a charging complete state, a charging disconnected state, and a battery level state.

In the descriptions of embodiments of this application, it should be noted that the terms "mounting" and "connection" need to be broadly understood, for example, may be a fixed connection, or may be indirectly connected through an intermediate medium, or may be communication between two elements or an interaction between two elements, unless otherwise specified and defined. A person of ordinary skill in the art may understand specific meaning of the foregoing terms in embodiments of this application in specific circumstances.

The apparatus or element indicated in embodiments of this application or implications should have a specific orientation, and is constructed and operated in a specific orientation. Therefore, this cannot be understood as a limitation to embodiments of this application. In the descriptions of embodiments of this application, "a plurality of" means two or more, unless otherwise exactly specified.

The terms "first", "second", "third", "fourth", and the like (if existent) in the specification, claims, and accompanying drawings of embodiments of this application are used to distinguish between similar objects, but are not necessarily used to describe a particular order or sequence. It should be understood that the data used in such a manner are interchangeable in proper cases, so that embodiments of this application described herein can be implemented, for example, in an order other than those illustrated or described herein. In addition, the terms "may include", "have", and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to the process, method, product, or device.

Claim 1:
An electronic device component, comprising at least:
a wireless keyboard (<NUM>) and a stylus (<NUM>), wherein the wireless keyboard (<NUM>) comprises an accommodating portion (<NUM>) for accommodating the stylus (<NUM>), a first charging coil (<NUM>) disposed on an inner wall of the accommodating portion (<NUM>), and a second charging coil (<NUM>) corresponding to the first charging coil (<NUM>) is disposed in the stylus (<NUM>); and
at least one of the first charging coil (<NUM>) and the second charging coil (<NUM>) is a circle coil, and the circle coil is disposed around circumference of the accommodating portion (<NUM>) or the stylus (<NUM>);
wherein the circle coil is a <NUM>° continuous circle coil;
wherein the wireless keyboard (<NUM>) comprises: a keyboard body (<NUM>) and a support (<NUM>), wherein the keyboard body (<NUM>) and the support (<NUM>) are rotatably connected through a connecting portion (<NUM>), and the accommodating portion (<NUM>) is located on the connecting portion (<NUM>), or the accommodating portion (<NUM>) is located in the connecting portion (<NUM>), or the accommodating portion (<NUM>) is disposed close to the connecting portion (<NUM>);
the wireless keyboard and stylus further comprising: at least one group of limiting components (<NUM>), wherein the group of limiting components (<NUM>) is configured to limit a location of the stylus (<NUM>) in the accommodating portion (<NUM>);
wherein the group of limiting components (<NUM>) comprises a first ring magnet (<NUM>) and a magnetic piece (<NUM>) attracted to the first ring magnet (<NUM>); and
one of the first ring magnet (<NUM>) and the magnetic piece (<NUM>) is located on the inner wall of the accommodating portion (<NUM>), and the other of the first ring magnet (<NUM>) and the magnetic piece (<NUM>) is located in the stylus (<NUM>).