Communication method, active pen and tablet computer

Through the multi-communication time slot data flow structure between the active pen and the tablet, the Bluetooth pairing and power reading process is simplified, solving the cumbersome problems of Bluetooth pairing and power reporting between the active pen and the capacitive touch screen device, and realizing automated Bluetooth Connection and charging management improves user experience and pairing success rate.

CN118732871APending Publication Date: 2024-10-01MAXEYE SMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410854200.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The Bluetooth pairing and battery reporting process between active pens and capacitive touch screen devices is cumbersome and prone to pairing failures and unstable connections, requiring users to repeatedly try or consult help documents for troubleshooting.

Method used

By establishing a communication connection between the active pen and the tablet, a data flow structure of multiple communication time slots is used, where the first time slot is used for pairing, the second time slot requests the Bluetooth address, and the third time slot is used for charging and reading. If the pairing fails, the Bluetooth address will be requested again on the next try, simplifying user operations and improving the pairing success rate.

Benefits of technology

Users can establish a Bluetooth communication connection with the active pen without manually operating the Bluetooth setting interface on the tablet. When charging, the Bluetooth address is automatically requested and paired, which improves charging efficiency and pairing success rate, reduces the number of manual attempts by users, and solves the problem of Bluetooth pairing and power reporting. troublesome issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732871A_ABST
    Figure CN118732871A_ABST
Patent Text Reader

Abstract

The invention discloses a communication method, an active pen and a tablet, and relates to the technical field of communication, and the communication method comprises the following steps: when a signal transmission end of the active pen is connected with the tablet, the tablet outputs a corresponding data stream to the active pen; the tablet requests the Bluetooth address of the active pen in the second communication time slot, and tries to be paired with the active pen according to the Bluetooth address; if the pairing is successful, the tablet replaces the second communication time slot in the data stream with a third communication time slot, and reads the electric quantity of the active pen in the first communication time slot; if the pairing fails, the Bluetooth address of the active pen is requested again in the next second communication time slot, and the pairing with the active pen is tried again according to the Bluetooth address; the invention aims to solve the technical problem that Bluetooth pairing and electric quantity reporting of an active pen and capacitive touch screen equipment are troublesome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a communication method, an active pen and a tablet. Background Art

[0002] Active capacitive pens are increasingly being used with capacitive touch screens. During use, active capacitive pens (hereinafter referred to as active pens) have a BLE function and must be paired with the tablet via Bluetooth before they can be used. Bluetooth is used to report power and other interactions.

[0003] When the capacitive pen is charging, if the user wants to know the current charging status of the capacitive pen, the common practice is: manually turn on the active pen and put the active pen into Bluetooth pairing state, open the Bluetooth setting interface on the capacitive touch screen device, and manually select the corresponding active pen ID on the interface for pairing. After the capacitive screen and the active pen are successfully paired, the active pen reports the power to the capacitive screen via BLE.

[0004] For users, the above operations are troublesome, and some problems may be encountered during the Bluetooth pairing process, such as pairing failure, unstable connection, etc. This may require users to try pairing repeatedly, or refer to relevant help documents for troubleshooting. Summary of the invention

[0005] The main purpose of the present invention is to provide a communication method, an active pen and a tablet, aiming to solve the technical problem that the active pen and a capacitive touch screen device have trouble pairing via Bluetooth and reporting power.

[0006] To achieve the above-mentioned purpose, the present invention proposes a communication method, which is applied to an active pen and a tablet, wherein the active pen has at least one signal transmission end, and the tablet transmits a data stream to the active pen through the signal transmission end, so that the tablet and the active pen establish a communication connection, the data stream includes a plurality of frame structures, and the frame structure includes any one of a first communication time slot, a second communication time slot, or a third communication time slot. The tablet is used to read the power of the active pen after pairing with the active pen in the first communication time slot, to request a Bluetooth address from the active pen in the second communication time slot, and to charge the active pen in the third communication time slot. The communication method includes:

[0007] When the signal transmission end of the active pen is connected to the tablet, the tablet outputs a corresponding data stream to the active pen;

[0008] The tablet requests the Bluetooth address of the active pen in the second communication time slot, and attempts to pair with the active pen according to the Bluetooth address;

[0009] If the pairing is successful, the tablet replaces the second communication time slot in the data stream with the third communication time slot, and reads the power of the active pen during the first communication time slot;

[0010] If the pairing fails, the Bluetooth address of the active pen is requested again in the next second communication time slot, and pairing with the active pen is attempted again according to the Bluetooth address.

[0011] In one embodiment, when the signal transmission end of the active pen is connected to the tablet, the tablet outputs a corresponding data stream to the active pen, wherein a first communication time slot in the data stream is separated from an adjacent second communication time slot by at least a third communication time slot.

[0012] In one embodiment, if the pairing is successful, the number of the third communication time slots in the data stream is greater than the number of the first communication time slots and also greater than the number of the second communication time slots.

[0013] The present invention further provides a communication circuit, comprising any one of the above communication methods; the communication circuit comprises a first switch circuit and a first main control circuit arranged in the tablet, and a second switch circuit and a second main control circuit arranged in the active pen, the first main control circuit having a first signal transmission end and a second signal transmission end, the second main control circuit having a third signal transmission end, a fourth signal transmission end and a fifth signal transmission end;

[0014] The first switch circuit comprises:

[0015] A first switch component, a second switch component and a signal output terminal, wherein the input terminal of the first switch component is connected to the first signal transmission terminal, the input terminal of the second switch component is connected to the second signal transmission terminal, the output terminal of the first switch component and the output terminal of the second switch component are both connected to the signal output terminal, and the controlled terminal of the first switch component and the controlled terminal of the second switch component are both electrically connected to the first main control circuit;

[0016] The second switch circuit comprises: a third switch component, a fourth switch component and a signal input terminal, the output terminal of the third switch component is connected to the third signal transmission terminal, the output terminal of the fourth switch component is connected to the fourth signal transmission terminal, the input terminal of the third switch component and the input terminal of the fourth switch component are both connected to the signal input terminal, and the controlled terminal of the third switch component and the controlled terminal of the fourth switch component are both electrically connected to the second main control circuit;

[0017] The signal output end is used to connect with the signal input end;

[0018] In the second communication time slot, the first main control circuit controls the second switch component to be turned on and off according to a preset timing, so that the corresponding square wave signal is transmitted to the signal input end; after the second main control circuit receives the first square wave signal via the fifth signal transmission end, the second main control circuit turns off the fourth switch component according to the first square wave signal and turns on the third switch component, and after the first main control circuit outputs the corresponding square wave signal, the first main control circuit controls the second switch component to be turned off and controls the first switch component to be turned on, so that the tablet requests the Bluetooth address of the active pen;

[0019] In the third communication time slot, the first main control circuit turns off the first switch component and turns on the second switch component, and the second main control circuit turns off the third switch component and turns on the fourth switch component, so that the tablet charges the active pen.

[0020] In one embodiment, during the first communication time slot, the first main control circuit controls the second switch component to be turned on and off according to a preset timing so that the corresponding square wave signal is transmitted to the signal input end; after the second main control circuit receives the first square wave signal via the fifth signal transmission end, the second main control circuit turns off the fourth switch component and turns on the third switch component according to the first square wave signal, and after the first main control circuit outputs the corresponding square wave signal, the first main control circuit controls the second switch component to be turned off and controls the first switch component to be turned on, and when the active pen and the tablet are successfully paired, the tablet reads the power of the active pen.

[0021] In one embodiment, the first switch component, the second switch component, the third switch component and the fourth switch component are all single-pole single-throw switches.

[0022] The present invention further provides an active pen, comprising any one of the communication circuits described above.

[0023] The present invention further provides a tablet comprising any of the above-mentioned communication circuits.

[0024] The communication method of the present invention is applied to an active pen and a tablet. The tablet transmits a data stream to the active pen through a signal output end of the active pen, so that the tablet and the active pen establish a communication connection. When the signal transmission end of the active pen is connected to the tablet, the tablet outputs a corresponding data stream to the active pen; the tablet requests the Bluetooth address of the active pen in a second communication time slot, and attempts to pair with the active pen according to the Bluetooth address; if the pairing is successful, the tablet replaces the second communication time slot in the data stream with a third communication time slot, and reads the power of the active pen in the first communication time slot; if the pairing fails, the tablet requests the Bluetooth address of the active pen again in the next second communication time slot, and attempts to pair with the active pen again according to the Bluetooth address.

[0025] With such a configuration, in actual application, when the active pen is out of power, the user can adsorb the active pen on the edge of the tablet or insert it into the active pen charging compartment of the tablet, so that the charging end (signal transmission end) of the active pen can establish a communication connection with the tablet. After the connection, the tablet continuously requests the Bluetooth address of the active pen while charging the active pen. When the tablet requests the Bluetooth address of the active pen, it pairs with the active pen, so that the active pen and the tablet can establish a Bluetooth communication connection, and replace the communication time slot for requesting the Bluetooth address with the time slot for charging, thereby improving the charging efficiency; after the pairing is successful, the tablet reads the power of the active pen, so that the user can know the real-time power of the active pen on the tablet. Compared with the existing active pen and tablet, the active pen and tablet using the communication method of the present invention only need to adsorb the active pen on the edge of the tablet or insert it into the charging compartment to establish a Bluetooth communication connection with the tablet during charging, and there is no need to operate the Bluetooth setting interface on the tablet, and when the pairing fails, the pairing will be tried again in the next second communication time slot, and there is no need for the user to repeatedly try to pair manually like the existing active pen and tablet, thereby solving the technical problem of how to improve the Bluetooth pairing of the active pen and the capacitive touch screen device and the troublesome reporting of the power. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0027] Figure 1 A schematic diagram of a flow chart of an embodiment of the present invention;

[0028] Figure 2 A schematic diagram of a communication time slot according to an embodiment of the present invention;

[0029] Figure 3 FIG. 1 is a schematic diagram of a circuit structure of an embodiment of the present invention.

[0030] Description of Figure Numbers:

[0031] 10. First main control circuit; 20. First switch assembly; 30. Second switch assembly; 40. Second main control circuit; 50. Third switch assembly; 60. Fourth switch assembly.

[0032] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.

[0035] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if "and / or" or "and / or" appears in the full text, its meaning includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, solution B, or solutions that satisfy both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0036] Active capacitive pens are increasingly being used with capacitive touch screens. During use, active capacitive pens (hereinafter referred to as active pens) have a BLE function and must be paired with the tablet via Bluetooth before they can be used. Bluetooth is used to report power and other interactions.

[0037] When the capacitive pen is charging, if the user wants to know the current charging status of the capacitive pen, the common practice is: manually turn on the active pen and put the active pen into Bluetooth pairing state, open the Bluetooth setting interface on the capacitive touch screen device, and manually select the corresponding active pen ID on the interface for pairing. After the capacitive screen and the active pen are successfully paired, the active pen reports the power to the capacitive screen via BLE.

[0038] For users, the above operations are troublesome, and some problems may be encountered during the Bluetooth pairing process, such as pairing failure, unstable connection, etc. This may require users to try pairing repeatedly, or refer to relevant help documents for troubleshooting.

[0039] To this end, the present invention proposes a communication method, an active pen and a tablet, aiming to solve the technical problem that the active pen and a capacitive touch screen device have troublesome Bluetooth pairing and reporting of power.

[0040] refer to Figure 1-3 In one embodiment of the present invention, a communication method is applied to an active pen and a tablet, the active pen has at least one signal transmission end, the tablet transmits a data stream to the active pen through the signal transmission end, so that the tablet and the active pen establish a communication connection, the data stream includes a plurality of frame structures, the frame structure includes any one of a first communication time slot, a second communication time slot or a third communication time slot, the tablet is used to read the power of the active pen after pairing with the active pen in the first communication time slot, to request a Bluetooth address from the active pen in the second communication time slot, and to charge the active pen in the third communication time slot, the communication method includes:

[0041] S100: When the signal transmission end of the active pen is connected to the tablet, the tablet outputs a corresponding data stream to the active pen;

[0042] S200: the tablet requests the Bluetooth address of the active pen in the second communication time slot, and attempts to pair with the active pen according to the Bluetooth address;

[0043] S300: If the pairing is successful, the tablet replaces the second communication time slot in the data stream with the third communication time slot, and reads the power of the active pen during the first communication time slot;

[0044] If the pairing fails, the Bluetooth address of the active pen is requested again in the next second communication time slot, and pairing with the active pen is attempted again according to the Bluetooth address.

[0045] In this embodiment, the present invention can be applied not only to tablets but also to capacitive touch screen devices.

[0046] In this embodiment, when the signal transmission end of the active pen is connected to the tablet, the tablet charges the active pen and turns on the active pen. With this arrangement, when the active pen is turned off due to insufficient power, the user can directly activate the active pen by adsorbing the active pen on the edge of the tablet or inserting it into the active pen charging compartment of the tablet, so that the active pen and the tablet establish a communication connection without the user having to perform a power-on operation.

[0047] Specifically, the communication method of the present invention is applied to an active pen and a tablet. The tablet transmits a data stream to the active pen through the signal output terminal VOUT of the active pen, so that the tablet and the active pen establish a communication connection. When the signal transmission terminal of the active pen is connected to the tablet, the tablet outputs the corresponding data stream to the active pen; the tablet requests the Bluetooth address of the active pen in the second communication time slot, and attempts to pair with the active pen according to the Bluetooth address; if the pairing is successful, the tablet replaces the second communication time slot in the data stream with the third communication time slot, and reads the power of the active pen in the first communication time slot; if the pairing fails, the tablet requests the Bluetooth address of the active pen again in the next second communication time slot, and tries to pair with the active pen again according to the Bluetooth address. With such a configuration, in actual application, when the active pen runs out of power, the user can adsorb the active pen on the edge of the tablet or insert it into the active pen charging compartment of the tablet, so that the charging end (signal transmission end) of the active pen can establish a communication connection with the tablet. After the connection, the tablet continuously requests the Bluetooth address of the active pen while charging the active pen. When the tablet requests the Bluetooth address of the active pen, it pairs with the active pen, so that the active pen and the tablet establish a Bluetooth communication connection, and replace the communication time slot for requesting the Bluetooth address with the time slot for charging, thereby improving the charging efficiency. After the pairing is successful, the tablet reads the power of the active pen and sends the signal to the tablet. The user can learn the real-time power level of the active pen on the tablet. Compared with the existing active pen and tablet, the active pen and tablet using the communication method of the present invention only need to adsorb the active pen on the edge of the tablet or insert it into the charging compartment to establish a Bluetooth communication connection with the tablet during charging, and there is no need to operate the Bluetooth setting interface on the tablet. When pairing fails, pairing will be attempted again in the next second communication time slot. There is no need for the user to repeatedly try to pair manually like with the existing active pen and tablet, thereby solving the technical problem of how to improve the Bluetooth pairing of the active pen and the capacitive touch screen device and the troublesome reporting of power level.

[0048] refer to Figure 2 In one embodiment of the present invention, when the signal transmission end of the active pen is connected to the tablet, the tablet outputs a corresponding data stream to the active pen, wherein a first communication time slot in the data stream is separated from a second adjacent communication time slot by at least a third communication time slot.

[0049] When the first communication time slot and the second communication time slot are close to each other, the signal of the previous time slot (such as power reading) may interfere with the signal of the next time slot (such as Bluetooth address request). Especially in wireless communication, signal interference can cause the loss or damage of data packets, making it impossible for the receiving end to correctly parse the data. After receiving the request for power reading, the active pen needs a certain amount of time to process and respond to the request, such as reading the battery power and preparing to return data. If the communication time slot for Bluetooth address request is followed, the active pen may not complete the response to the previous request before starting to receive the new request, which will cause response delays or conflicts.

[0050] Therefore, in this embodiment, there is at least a third communication time slot between the first communication time slot and the adjacent second communication time slot, and a buffer zone is set between the communication time slot for power reading and the communication time slot for Bluetooth address request, which can effectively avoid communication conflicts between reading the Bluetooth address and reading the power of the active pen, thereby improving the stability of communication.

[0051] In one embodiment of the present invention, if the pairing is successful, the number of the third communication time slots in the data stream is greater than the number of the first communication time slots and also greater than the number of the second communication time slots.

[0052] In this embodiment, increasing the number of third communication time slots means that the active pen has more time to charge, so that it can be fully charged faster or maintained at a higher power level, and can reduce unnecessary power checks and Bluetooth address requests, increase the charging time, and help reduce the internal loss of the active pen, thereby extending its service life.

[0053] refer to Figure 3 The present invention further provides a communication circuit, including the communication method described above; the communication circuit includes a first switch circuit and a first main control circuit 10 arranged in the tablet and a second switch circuit and a second main control circuit 40 arranged in the active pen, the first main control circuit 10 has a first signal transmission terminal DO1 and a second signal transmission terminal DO2, the second main control circuit 40 has a third signal transmission terminal DO3, a fourth signal transmission terminal DO4 and a fifth signal transmission terminal DO5;

[0054] The first switch circuit comprises:

[0055] A first switch component 20, a second switch component 30 and a signal output terminal VOUT, wherein the input terminal of the first switch component 20 is connected to the first signal transmission terminal DO1, the input terminal of the second switch component 30 is connected to the second signal transmission terminal DO2, the output terminal of the first switch component 20 and the output terminal of the second switch component 30 are both connected to the signal output terminal VOUT, and the controlled terminal of the first switch component 20 and the controlled terminal of the second switch component 30 are both electrically connected to the first main control circuit 10;

[0056] The second switch circuit comprises: a third switch component 50, a fourth switch component 60 and a signal input terminal VIN, the output terminal of the third switch component 50 is connected to the third signal transmission terminal DO3, the output terminal of the fourth switch component 60 is connected to the fourth signal transmission terminal DO4, the input terminal of the third switch component 50 and the input terminal of the fourth switch component 60 are both connected to the signal input terminal VIN, and the controlled terminal of the third switch component 50 and the controlled terminal of the fourth switch component 60 are both electrically connected to the second main control circuit 40;

[0057] The signal output terminal VOUT is used to connect to the signal input terminal VIN;

[0058] In the second communication time slot, the first main control circuit 10 controls the second switch component 30 to be turned on and off according to a preset timing, so that the corresponding square wave signal is transmitted to the signal input terminal VIN; after the second main control circuit 40 receives the first square wave signal via the fifth signal transmission terminal DO5, the second main control circuit 40 turns off the fourth switch component 60 according to the first square wave signal, and turns on the third switch component 50, and after the first main control circuit 10 outputs the corresponding square wave signal, the first main control circuit 10 controls the second switch component 30 to be turned off, and controls the first switch component 20 to be turned on, so that the tablet requests the Bluetooth address of the active pen;

[0059] In the third communication time slot, the first main control circuit 10 turns off the first switch component 20 and turns on the second switch component 30, and the second main control circuit 40 turns off the third switch component 50 and turns on the fourth switch component 60, so that the tablet charges the active pen.

[0060] In this embodiment, if the tablet and the active pen are paired successfully, during the first communication time slot, the first main control circuit 10 controls the second switch component 30 to be turned off, controls the first switch component 20 to be turned on, and the second main control circuit 40 controls the third switch component 50 to be turned on, and controls the fourth switch component 60 to be turned off, so that the tablet can read the power of the active pen.

[0061] In this embodiment, the first switch component 20, the second switch component 30, the third switch component 50 and the fourth switch component 60 can all be implemented by at least one switch tube, such as a MOS tube, an IGBT tube, a thyristor, a triode, a power tube, etc., and / or by at least one switch device, such as a contactor, a circuit breaker and a relay.

[0062] In this embodiment, both the active pen and the tablet include a PIN pin for grounding, and the signal input terminal VIN of the active pen and the signal output terminal VOUT of the tablet are both charging PIN pins.

[0063] In this embodiment, the first signal transmission end DO1 is a charging output end of the tablet; the second signal transmission end DO2 is a data transmission end of the tablet, which is used to output a data stream to read the Bluetooth address and power of the active pen.

[0064] In this embodiment, the signal transmission end of the active pen is the signal input end VIN.

[0065] In this embodiment, when the tablet is connected to the active pen, if the data stream is in the second communication time slot, the first signal transmission terminal DO1 of the tablet outputs a charging current, and the second switch component 20 is repeatedly turned on and off in a short time according to a preset timing under the control of the tablet, so that the signal output terminal VOUT outputs a square wave signal. After the square wave signal is output, the tablet enters the communication mode, and controls the second switch component 30 to be disconnected, and the first switch component 20 to be turned on;

[0066] The square wave signal is transmitted to the active pen through the signal input terminal VIN and the third signal transmission terminal DO3 in sequence. After receiving the square wave signal, the active pen enters the communication mode and controls the third switch component 50 to be turned on, the fourth switch component 60 to be turned off, and the path between the first signal transmission terminal DO1 and the third signal transmission terminal DO3 to be turned on, so that the tablet requests the Bluetooth address of the active pen and tries to pair with the active pen;

[0067] If the data stream is in the first communication time slot, the first main control circuit also outputs a square wave signal to the active pen in the above manner to enable the active pen to enter the communication mode. When the active pen and the tablet are successfully paired, the tablet reads the power of the active pen. It can be understood that when the active pen is not paired with the tablet, the tablet cannot read the power of the active pen.

[0068] If the data stream is in the third communication time slot, the communication mode ends, and the tablet and the active pen are both in the default state, so that the tablet controls the first switch component 20 to disconnect and controls the second switch component 30 to turn on, and the active pen controls the third switch component 50 to disconnect and controls the fourth switch component 60 to turn on, so that the path between the second signal transmission terminal DO2 and the fourth signal transmission terminal DO4 is turned on. At this time, the second signal transmission terminal DO2 of the tablet outputs the corresponding current to the fourth signal transmission terminal DO4, thereby charging the active pen.

[0069] refer to Figure 2 In one embodiment of the present invention, the first switch component 20, the second switch component 30, the third switch component 50 and the fourth switch component 60 are all single-pole single-throw switches.

[0070] The present invention also provides an active pen, comprising the communication circuit as described above.

[0071] It is worth noting that, since the lamp of the present invention is based on the above-mentioned communication circuit, the embodiments of the active pen of the present invention include all technical solutions of all embodiments of the above-mentioned communication circuit, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0072] The present invention also provides a tablet, comprising the communication circuit as described above.

[0073] It is worth noting that, since the lamp of the present invention is based on the above-mentioned communication circuit, the embodiments of the tablet of the present invention include all technical solutions of all the embodiments of the above-mentioned communication circuit, and the technical effects achieved are also exactly the same, which will not be repeated here.

[0074] The above description is only an exemplary embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the technical concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A communication method, applied to an active pen and a tablet, characterized in that: The active pen has at least one signal transmission end, and the tablet transmits a data stream to the active pen through the signal transmission end, so that the tablet and the active pen establish a communication connection, the data stream includes a plurality of frame structures, and the frame structure includes any one of a first communication time slot, a second communication time slot, or a third communication time slot. The tablet is used to read the power of the active pen after pairing with the active pen in the first communication time slot, to request a Bluetooth address from the active pen in the second communication time slot, and to charge the active pen in the third communication time slot. The communication method includes: When the signal transmission end of the active pen is connected to the tablet, the tablet outputs a corresponding data stream to the active pen; The tablet requests the Bluetooth address of the active pen in the second communication time slot, and attempts to pair with the active pen according to the Bluetooth address; If the pairing is successful, the tablet replaces the second communication time slot in the data stream with the third communication time slot, and reads the power of the active pen during the first communication time slot; If the pairing fails, the Bluetooth address of the active pen is requested again in the next second communication time slot, and the pairing with the active pen is attempted again according to the Bluetooth address.

2. The method according to claim 1, characterized in that When the signal transmission end of the active pen is connected to the tablet, the tablet outputs a corresponding data stream to the active pen, wherein a first communication time slot and an adjacent second communication time slot in the data stream are separated by at least a third communication time slot.

3. The method according to claim 1, characterized in that If the pairing is successful, the number of the third communication time slots in the data stream is greater than the number of the first communication time slots and also greater than the number of the second communication time slots.

4. A communication circuit, characterized in that: The method comprises the communication method as claimed in any one of claims 1 to 3; the communication circuit comprises a first switch circuit and a first main control circuit arranged in the tablet and a second switch circuit and a second main control circuit arranged in the active pen, the first main control circuit has a first signal transmission end and a second signal transmission end, and the second main control circuit has a third signal transmission end, a fourth signal transmission end and a fifth signal transmission end; The first switch circuit comprises: A first switch component, a second switch component and a signal output terminal, wherein the input terminal of the first switch component is connected to the first signal transmission terminal, the input terminal of the second switch component is connected to the second signal transmission terminal, the output terminal of the first switch component and the output terminal of the second switch component are both connected to the signal output terminal, and the controlled terminal of the first switch component and the controlled terminal of the second switch component are both electrically connected to the first main control circuit; The second switch circuit comprises: a third switch component, a fourth switch component and a signal input terminal, the output terminal of the third switch component is connected to the third signal transmission terminal, the output terminal of the fourth switch component is connected to the fourth signal transmission terminal, the input terminal of the third switch component and the input terminal of the fourth switch component are both connected to the signal input terminal, and the controlled terminal of the third switch component and the controlled terminal of the fourth switch component are both electrically connected to the second main control circuit; The signal output end is used to connect with the signal input end; In the second communication time slot, the first main control circuit controls the second switch component to be turned on and off according to a preset timing, so that the corresponding square wave signal is transmitted to the signal input end; after the second main control circuit receives the first square wave signal via the fifth signal transmission end, the second main control circuit turns off the fourth switch component according to the first square wave signal and turns on the third switch component, and after the first main control circuit outputs the corresponding square wave signal, the first main control circuit controls the second switch component to be turned off and controls the first switch component to be turned on, so that the tablet requests the Bluetooth address of the active pen; In the third communication time slot, the first main control circuit turns off the first switch component and turns on the second switch component, and the second main control circuit turns off the third switch component and turns on the fourth switch component, so that the tablet charges the active pen.

5. The communication circuit according to claim 4, characterized in that: During the first communication time slot, the first main control circuit controls the second switch component to be turned on and off according to a preset timing so that the corresponding square wave signal is transmitted to the signal input end; after the second main control circuit receives the first square wave signal via the fifth signal transmission end, the second main control circuit turns off the fourth switch component according to the first square wave signal and turns on the third switch component, and after the first main control circuit outputs the corresponding square wave signal, the first main control circuit controls the second switch component to be turned off and controls the first switch component to be turned on, and when the active pen and the tablet are successfully paired, the tablet reads the power of the active pen.

6. The communication circuit according to claim 4, characterized in that: The first switch component, the second switch component, the third switch component and the fourth switch component are all single-pole single-throw switches.

7. An active pen, comprising the communication circuit as claimed in any one of claims 4 to 6.

8. A tablet comprising the communication circuit according to any one of claims 4 to 6.