Active pen interaction method, active pen and interaction system
By setting a capacitance film on the pen body of the active pen, detecting capacitance changes and sending identification information, the problem of cumbersome operation of users is solved, and simple control of functional equipment and remote control is achieved, improving the user experience.
Patent Information
- Application Number
- CN202510272904.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-06-27
AI Technical Summary
During the use of existing active pens, users need to frequently operate on the touch screen, which increases the cumbersomeness of user operations and leads to poor user experience.
By setting a capacitance film on the pen body of the active pen, the capacitance changes of the capacitance film are detected, the user's operation type is determined, and the identification information is sent to the functional device, so that the functional device can perform the corresponding target function according to the identification information.
It simplifies user operations, reduces frequent clicks on functional devices, realizes remote remote control of functional devices, and significantly improves users' experience of active pens.
Smart Images

Figure CN120215729A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and more specifically, to an active pen interaction method, an active pen, and an interaction system. Background Art
[0002] An active stylus, also known as an active pen, is an advanced electronic writing tool that interacts with the touch screen through built-in electronic components and sensors, providing a more precise and smoother writing experience than a traditional passive stylus. With the continuous development of technology, the functions and performance of active pens are also constantly improving, becoming one of the indispensable accessories for smart devices. Currently, when using an active pen, users need to frequently operate the touch screen with the tip of the stylus to control the touch screen to perform corresponding functions, such as opening menus, adjusting parameters, etc. This increases the cumbersomeness of user operations and results in a poor user experience.
[0003] Therefore, how to improve the user experience of active pens is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides an active pen interaction method, an active pen, and an interaction system, which can reduce the complexity of user operations and thus improve user experience.
[0005] In a first aspect, an interaction method of an active pen is provided, comprising: detecting the capacitance of a capacitive film of the active pen to obtain a capacitive detection signal, the capacitive film being arranged on the pen body of the active pen and surrounding and fitting between an outer shell of the active pen and an inner pen tube of the active pen; when a user operates an area corresponding to the capacitive film in the active pen, determining identification information according to a change in the capacitive detection signal, the identification information being used to identify an operation type of the user on the active pen, and the identification information being used to be sent to a functional device so that the functional device executes a corresponding target function according to the identification information.
[0006] Through the technical solution of the embodiment of the present application, the user can operate on the pen body of the active pen, and by detecting the capacitance detection signal of the capacitance film at the pen body of the active pen, the user's operation type can be determined, and the identification information used to characterize the user's operation type is sent to the functional device, so that the functional device can perform the target function based on the identification information. The user can quickly control the functional device through the operation of the pen body, without the need to perform complex operations such as frequent clicks on the functional device, and further remote control of the functional device can be realized, which is conducive to greatly improving the user's experience of using the active pen.
[0007] In combination with the first aspect, in a possible implementation, the capacitive film includes a touch electrode layer and a wiring layer arranged in a stacked manner. The touch electrode layer is arranged facing the outer shell of the active pen. The wiring layer is arranged between the touch electrode layer and the inner pen tube of the active pen. The inner pen tube is grounded. The first capacitance between the touch electrode layer and the ground terminal is used to determine the touch of the user on the active pen.
[0008] In combination with the first aspect, in a possible implementation, the operation type includes at least one of the following: single click, double click, long press, and swipe. Among them, the above-mentioned determination of the identification information according to the change of the capacitance detection signal includes: if the first capacitance detection signal of a single area in the touch electrode layer generates a single change and the change time is less than or equal to the first time threshold, determining the first identification information, where the first identification information is used to identify a single click; or, if the first capacitance detection signal of a single area in the touch electrode layer generates at least two changes and the change time is less than or equal to the first time threshold, determining the second identification information, where the second identification information is used to identify a double click; or, if the first capacitance detection signal of a single area in the touch electrode layer generates a single change and the change time is greater than the first time threshold, determining the third identification information, where the third identification information is used to identify a long press; or, if the capacitance detection signals of continuous areas in the capacitive film generate continuous changes, determining the fourth identification information, where the fourth identification information is used to identify a swipe.
[0009] In combination with the first aspect, in a possible implementation, the capacitive film includes a touch electrode layer, a wiring layer, and a pressure sensing electrode layer arranged in a stacked manner. The touch electrode layer is arranged facing the outer shell of the active pen. The pressure sensing electrode layer is arranged facing the inner pen tube of the active pen. The inner pen tube is grounded. The first capacitance between the touch electrode layer and the ground terminal is used to determine the touch of the user on the active pen. The second capacitance formed between the pressure sensing electrode layer and the ground terminal is used to determine the extrusion of the user on the active pen.
[0010] Through the technical solution of the embodiments of the present application, in the embodiments of the present application, not only can touch detection be realized, but also the detection of pressing pressure can be realized, which can expand the operation types on the active pen, thereby further improving the user experience. In addition, the structural design of the capacitive film provided by the embodiments of the present application is relatively compact. On the basis that the capacitive film can realize touch detection and pressure detection, it is also beneficial to reduce the overall thickness of the capacitive film.
[0011] In combination with the first aspect, in a possible implementation manner, the operation types include at least one of the following: long extrusion, short extrusion, light extrusion, or heavy extrusion; the determining of the identification information according to the change of the capacitance detection signal includes: if the second capacitance detection signals of at least two target regions in the pressure sensing electrode layer change once, and the change time is greater than or equal to the second time threshold, determining a fifth identification information, where the fifth identification information is used to identify long extrusion; or, if the second capacitance detection signals of at least two target regions in the pressure sensing electrode layer change once, and the change time is less than the second time threshold, determining a sixth identification information, where the sixth identification information is used to identify short extrusion; or, if the second capacitance detection signals of at least two target regions in the pressure sensing electrode layer change once, and the change value is less than the first preset threshold, determining a seventh identification information, where the seventh identification information is used to identify light extrusion; or, if the second capacitance detection signals of at least two target regions in the pressure sensing electrode layer change once, and the change value is greater than or equal to the first preset threshold, determining an eighth identification information, where the eighth identification information is used to identify heavy extrusion.
[0012] In combination with the first aspect, in a possible implementation manner, the operation types include at least one of the following: long light extrusion, long heavy extrusion, short light extrusion, or short heavy extrusion; the determining of the identification information according to the change of the capacitance detection signal includes: if the second capacitance detection signals of at least two target regions in the pressure sensing electrode layer change once, and the change value is less than or equal to the first preset threshold and the change time is greater than or equal to the second time threshold, determining a ninth identification information, where the ninth identification information is used to identify long light extrusion; or, if the second capacitance detection signals of at least two target regions in the pressure sensing electrode layer change once, and the change value is greater than the first preset threshold and the change time is greater than or equal to the second time threshold, determining a tenth identification information, where the tenth identification information is used to identify long heavy extrusion; or, if the second capacitance detection signals of at least two target regions in the pressure sensing electrode layer change once, and the change value is less than or equal to the first preset threshold and the change time is less than the second time threshold, determining an eleventh identification information, where the eleventh identification information is used to identify short light extrusion; or, if the second capacitance detection signals of at least two target regions in the pressure sensing electrode layer change once, and the change value is greater than the first preset threshold and the change time is less than the second time threshold, determining a twelfth identification information, where the twelfth identification information is used to identify short heavy extrusion.
[0013] Through the technical solution of the embodiments of the present application, various different extrusion actions of the user on the active pen can be recognized according to the second capacitance detection signal, so as to expand more operation types for the active pen.
[0014] In combination with the first aspect, in a possible implementation, the functional device includes a display device, and the identification information is used to enable the display device to execute the target function corresponding to the identification information according to the current display page and the identification information.
[0015] In combination with the first aspect, in a possible implementation, the target function includes at least one of the following: brush type switching mode, brush thickness adjustment mode, color palette calling mode, opening a target application program, and controlling screen mirroring.
[0016] In combination with the first aspect, in a possible implementation, after determining the identification information according to the capacitance detection signal, the interaction method further includes: instructing the active pen to generate a feedback signal, where the feedback signal includes at least one of the following signals: vibration signal, optical signal, and sound information.
[0017] Through the technical solution of the embodiments of the present application, after the active pen confirms the identification information, it can generate a feedback signal to feedback the successful operation to the user, which can further improve the user experience.
[0018] In combination with the first aspect, in a possible implementation, the interaction method further includes: when the user operates on the area corresponding to the capacitive film in the active pen, determining that the capacitance detection signals of multiple electrodes in the capacitive film change; performing weighted processing on the capacitance detection signals of the multiple electrodes; and determining the identification information according to the capacitance detection signals after weighted processing.
[0019] In combination with the first aspect, in a possible implementation, the interaction method further includes: calibrating the reference capacitance of the capacitive film regularly or irregularly, where the calibration includes: detecting the capacitance detection signals of multiple electrodes of the capacitive film within multiple scanning cycles; and if the capacitance detection signals of the multiple electrodes are within a preset range within multiple scanning cycles, calibrating the reference capacitance according to the capacitance detection signals of the multiple electrodes.
[0020] In combination with the first aspect, in a possible implementation, the capacitive film includes a detection electrode and a reference electrode, the detection electrode is correspondingly arranged with the user's holding area in the active pen, and the reference electrode is correspondingly arranged with the user's non-holding area in the active pen; the interaction method further includes: detecting the reference capacitance detection signal of the reference electrode in the capacitive film; and calibrating the capacitance detection signal of the detection electrode in the capacitive film based on the reference capacitance detection signal.
[0021] In combination with the first aspect, in a possible implementation, the interaction method further includes: obtaining the target state of the active pen, where the target state includes at least one of the following information: writing state, pen twirling state, or charging state, where the writing state and the pen twirling state are detected by a sensor in the active pen, and the charging state is detected by a controller in the active pen; and closing the detection of the user's operation according to the target state.
[0022] In combination with the first aspect, in a possible implementation, the interaction method further includes: receiving an indication signal sent by the communication device of the active pen, where the indication signal is used to indicate the interruption of the communication signal of the active pen; and detecting the capacitance of the capacitive film of the active pen according to the indication signal to obtain a capacitance detection signal.
[0023] Through the technical solutions of the above several methods, through signal weighting processing, calibrating the reference capacitance of the capacitive film at regular or irregular intervals, calibrating the capacitance detection signal of the detection electrode in the capacitive film, turning off the detection of user operations according to the target state, and indicating the interruption of the communication signal of the active pen, the accuracy of the active pen's detection of user operations can be improved, so as to further improve the overall performance of the active pen and optimize the user experience.
[0024] In combination with the first aspect, in a possible implementation, the touch detection device detects the capacitance of the capacitive film of the active pen to obtain a capacitance detection signal. The touch detection device includes a working state, a low-power state, and a sleep state; in the working state, the touch detection device sends a coding signal to the capacitive film at a first frequency; in the low-power state, the touch detection device sends a coding signal to the capacitive film at a second frequency, where the second frequency is less than the first frequency; in the sleep state, the touch detection device stops sending the coding signal. Through this technical solution, it is beneficial to reduce the power consumption of the touch detection device.
[0025] In a second aspect, a touch detection device is provided, including: a processor and a memory. The memory is used to store a computer program, and the processor is used to call the computer program to execute the interaction method in the first aspect or any possible implementation manner in the first aspect.
[0026] In a third aspect, an active pen is provided, including: a capacitive film disposed on the pen body of the active pen and sleeved around between the outer shell of the active pen and the inner pen tube of the active pen; a touch detection device for executing the interaction method in the first aspect or any possible implementation manner in the first aspect to determine identification information, where the identification information is used to identify the type of user operation on the active pen; and a communication device for sending the identification information to a functional device so that the functional device executes a corresponding target function according to the identification information.
[0027] In a fourth aspect, an interaction system is provided, including: a functional device and the active pen in the third aspect, where the active pen is used to control the functional device to execute a target function. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a schematic structural diagram of an interaction system;
[0029] Figure 2 is a schematic diagram of an application scenario of an interaction system;
[0030] Figure 3 It is a schematic flowchart of an interaction method of an active pen provided by an embodiment of the present application;
[0031] Figure 4 It is a schematic structural diagram of an active pen provided by an embodiment of the present application;
[0032] Figure 5 It is a schematic laminated diagram of a capacitive film provided by an embodiment of the present application;
[0033] Figure 6 It is a schematic flowchart of a single - click and double - click operation provided by an embodiment of the present application;
[0034] Figure 7 It is a schematic flowchart of a long - press operation provided by an embodiment of the present application;
[0035] Figure 8 It is a schematic flowchart of a sliding operation provided by an embodiment of the present application;
[0036] Figure 9 It is a schematic laminated diagram of another capacitive film provided by an embodiment of the present application;
[0037] Figure 10 It is a schematic flowchart of another interaction method of an active pen provided by an embodiment of the present application;
[0038] Figure 11 It is a schematic flowchart of a long - extrusion operation and a short - extrusion operation provided by an embodiment of the present application;
[0039] Figure 12 It is a schematic flowchart of a light - extrusion operation and a heavy - extrusion operation provided by an embodiment of the present application;
[0040] Figure 13 It is a schematic flowchart of a long - heavy - extrusion, long - light - extrusion, short - heavy - extrusion, and short - light - extrusion operation provided by an embodiment of the present application;
[0041] Figure 14 It is a schematic diagram of the state transition of a touch detection device provided by an embodiment of the present application;
[0042] Figure 15 It is a schematic diagram of an active pen provided by an embodiment of the present application;
[0043] Figure 16 It is a schematic diagram of an interaction system including an active pen and a display device provided by an embodiment of the present application;
[0044] Figure 17 It is a schematic diagram of another interaction system including an active pen and a display device provided by an embodiment of the present application;
[0045] Figure 18 is a schematic structural block diagram of an active pen provided by an embodiment of the present application;
[0046] Figure 19 is a schematic structural diagram of an interaction system provided by an embodiment of the present application. Detailed implementation manners
[0047] Next, the technical solutions in the present application will be described with reference to the accompanying drawings.
[0048] In the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B; herein, "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone.
[0049] In the embodiments of the present application, terms such as "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", etc. may explicitly or implicitly include one or more of such features. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two, "at least one" and "one or more" mean one, two or more than two. The singular forms "a", "an", "the", "above-mentioned", "said", "this" are also intended to include expressions such as "one or more", unless there is a clear contrary indication in the context.
[0050] Reference to "one embodiment" or "some embodiments" etc. described in this specification means that a specific feature, structure, or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments" etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0051] An active stylus, also known as an active pen, is an advanced electronic writing tool that interacts with a touch screen through built-in electronic components and sensors, providing a more accurate and smooth writing experience than traditional passive styli. With the continuous development of technology, the functions and performance of active pens are also constantly improving, becoming one of the indispensable accessories for smart devices.
[0052] For example, Figure 1Shows a schematic structural diagram of an interaction system. Refer to Figure 1 , the interaction system 1 includes an active pen 10 and a functional device 20. The active pen 10 can provide input to the functional device 20, and the functional device 20 can perform an operation in response to the input based on the input of the active pen 10. Exemplarily, the functional device 20 can include a touch screen. The active pen 10 can perform a touch operation on the touch screen to provide an input signal. Correspondingly, the touch screen receives the input signal.
[0053] Specifically, the functional device 20 detecting the active pen 10 can refer to the functional device 20 detecting the coding signal output by the active pen 10 to determine information such as the nib position coordinates of the active pen 10. When the functional device 20 detects information such as the nib coordinate position of the active pen 10, the coding signal can be output by the nib electrode of the active pen 10. A coupling capacitance will be generated between the nib of the active pen 10 and the detection electrode in the functional device 20. The coding signal is coupled to the detection electrode in the functional device 20 through the coupling capacitance, so as to determine the nib coordinates of the active pen 10 through the detection signal output by the detection electrode. This coding signal can also be referred to as a driving signal, an excitation signal, etc., and is an electrical signal emitted by the nib electrode of the active pen for determining the position of the active pen nib.
[0054] However, when the current user is using the active pen, it is usually necessary to select the functions of the active pen on the touch screen. After selection, it may be necessary to adjust parameters on the touch screen. Figure 2 Shows a schematic diagram of an application scenario of an interaction system. Refer to Figure 2 , during the process of software writing with the active pen 10, if it is necessary to select different brush tools and adjust their parameters, it is usually necessary to click on different brushes on the touch screen for selection. And after selection, it is necessary to click on the tool again to bring up the parameter page of the tool for selection, and then adjust parameters such as brush thickness. This increases the operation path for the user to select the functions of the active pen and results in a poor user experience.
[0055] In view of this, the embodiments of the present application provide an interaction method for an active pen, which can reduce the operation path in the process of the user selecting the functions of the active pen, reduce the complexity of the user operation, and thus improve the user experience of the active pen.
[0056] Figure 3 Is a schematic flowchart of an interaction method for an active pen provided by an embodiment of the present application. Optionally, the interaction method 200 can be executed by the active pen and the functional device.
[0057] As Figure 3 shown, the interaction method 200 includes the following steps.
[0058] S210, the active pen detects the capacitance of the capacitance film to obtain a capacitance detection signal.
[0059] S220. When the user operates on the area corresponding to the capacitive film in the active pen, the active pen determines the identification information according to the change of the capacitance detection signal, and the identification information is used to identify the operation type of the user on the active pen.
[0060] S230. The active pen sends the identification information to the functional device.
[0061] S240. The functional device executes the corresponding target function according to the identification information.
[0062] In the embodiment of the present application, a capacitive film is provided in the active pen. The capacitive film is arranged on the pen body of the active pen and is sleeved around between the outer shell of the active pen and the inner pen tube of the active pen.
[0063] Figure 4 Shows a schematic diagram of a capacitive film in an active pen provided by an embodiment of the present application.
[0064] As Figure 4 shown, the active pen 101 may include: a nib 1011, an inner pen tube 1012, and an outer shell 1013. The nib 1011 is connected to one end of the outer shell 1013. After the nib 1011 is connected to the outer shell 1013, a receiving space is formed, and the inner pen tube 1012 is received in the receiving space.
[0065] The capacitive film 110 may be arranged between the inner pen tube 1012 and the outer shell 1013 of the active pen. When the user holds the active pen 101, his finger may be located in the area corresponding to the capacitive film 110 in the outer shell 1013. The user can operate in this area, so as to realize the control of the active pen 101, and further realize the control of the functional device 102 connected to the active pen 101.
[0066] As an example, as Figure 4 shown, the capacitive film 110 may be annularly wrapped around the inner pen tube 1012. In some alternative embodiments, the capacitive film 110 may be wrapped around a part of the side surface of the inner pen tube 1012. For example, the capacitive film may be "C"-shaped and wrapped around the inner pen tube 1012.
[0067] By arranging a capacitive film between the inner pen tube and the outer shell of the active pen, the capacitive film can effectively detect the user's grip on the active pen, and can also provide more operation areas for the active pen, that is, used to detect the user's touch, click, press and other operations on the outer shell, so as to expand the functions of the active pen, improve the comprehensive performance of the active pen and the user's experience of using the active pen.
[0068] Based on Figure 4 the capacitive film of the embodiment shown, Figure 5 shows a schematic laminated diagram of a capacitive film provided by an embodiment of the present application.
[0069] See Figure 5 Figure 5 , the capacitive film 110 may include a touch electrode layer 111, a first substrate 112, and a wiring layer 113 which are stacked. Among them, the touch electrode layer 111 is arranged facing the outer shell 1013 of the active pen 101, and the wiring layer 113 is arranged facing the inner pen tube 1012 of the active pen 101. Optionally, the inner pen tube 1012 may be grounded and used as the grounding end of the capacitive film 110.
[0070] A plurality of touch electrodes may be arranged in the touch electrode layer 111, and the plurality of touch electrodes may form an electrode array and be distributed in the touch electrode layer 111. Optionally, the touch electrode may be a planar electrode. For example, the touch electrode may be a rectangular electrode or a rhombic electrode, etc. The embodiments of the present application do not limit the form of the touch electrode.
[0071] A capacitance Cp may be formed between each touch electrode in the touch electrode layer 111 and the grounding end. When the user's finger touches the area corresponding to a certain touch electrode in the outer shell 1013, a capacitance Cr will be formed between the finger and the touch electrode. The capacitance Cr is connected in parallel with the capacitance Cp, so that the total capacitance value increases, thereby affecting the overall capacitance between the touch electrode and the grounding end. Therefore, by detecting the capacitance of each touch electrode in the touch electrode layer 111, a capacitance detection signal can be obtained to achieve the detection of the user's touch.
[0072] During application, a driving signal (or also referred to as an excitation signal or a coding signal) may be input into the touch electrode layer 111 through a touch chip (Touch IC), and then the induction signal of each touch electrode is detected, so as to realize the capacitance detection of each touch electrode. The induction signal may be a voltage signal or a current signal, and the induction signal can be used to characterize the capacitance at each touch electrode, so it is also called a capacitance detection signal. Optionally, in the present application, the touch chip may also be referred to as a touch driving chip, a touch driving chip, a touch detection chip, a touch detection device, etc. A touch electrode in the touch electrode layer may also be referred to as a touch detection channel or a touch channel. During touch detection or touch detection, the capacitances on the respective touch electrodes of the touch electrode layer can be detected through a coding waveform of a specific frequency. For example, the touch chip emits a periodic high-frequency square wave signal to each touch electrode, and this signal frequency can be dozens to hundreds of kHz. While the touch electrode can be charged through the driving signal, the voltage and charging speed on the electrode can be detected by means of an analog-to-digital converter, etc., and then the capacitance change of the corresponding electrode can be judged.
[0073] In touch detection, the frequency at which the touch chip emits a coding signal to the touch electrode layer 111 for signal detection can be referred to as the scanning frequency. Optionally, in the normal operating state, the scanning frequency is about 60 - 400 Hz.
[0074] For ease of description, hereinafter, all relevant signals for detecting or characterizing the capacitance of the touch electrodes are collectively referred to as capacitance detection signals.
[0075] Optionally, Figure 5 In the illustrated embodiment, the first substrate 112 is used to isolate and support the touch electrode layer 111 and the wiring layer 113, and the wiring layer 113 is used to implement the wiring for connecting the touch electrodes in the touch electrode layer 111 to the outside (such as a touch chip).
[0076] Returning to Figure 3 Referring back to the interactive method 200 shown, in steps S210 and S220, a touch detection device (such as a touch chip) in the active pen can detect the capacitance of each touch electrode in the capacitive film to obtain a capacitance detection signal. When the user touches the area corresponding to the capacitive film on the active pen, the capacitance detection signal of the touch electrode corresponding to the user's touch area will change accordingly. Based on this change, the identification information for identifying the type of user operation can be determined. As an example, through the capacitive film, various information such as the size of the user's touch area, the time length, and the number of touches can be detected. Different information can be set with different identifications, thereby corresponding to different types of user operations.
[0077] In steps S230 and S240, the communication device in the active pen can send different identification information to the functional device so that the functional device can execute the corresponding target function according to the different identification information. Optionally, the communication device in the active pen can be, for example, a wireless communication device such as Bluetooth. Or the communication device in the active pen can also include the tip of the active pen, that is, the active pen can send signals to devices such as a touch screen through the tip.
[0078] Optionally, the above different identification information and different target functions can have a preset corresponding relationship. The functional device can store this corresponding relationship. After receiving the identification information characterizing different user operations, the functional device can determine the target function corresponding to the received identification information according to the corresponding relationship and further execute the target function.
[0079] By way of example and not limitation, the above identification information can be used to characterize at least one of the following operations of the user on the active pen: single click, double click, long press, swipe, etc. The above target function can be determined according to the type of the functional device. For example, in the case where the functional device includes a display device, the target function can include: turning on / off the screen display, operating the displayed content, etc. Optionally, the display device can execute the corresponding target function according to the currently displayed interface and the received identification information. In different display interfaces, the same identification information (i.e., the same operation of the user) can be used to control the display device to execute different target functions. For example, when the currently displayed interface is the home page, the user can double click to open the target application on the home page. When entering the painting application interface, the user can double click to open the brush options. The embodiments of the present application do not limit the specific settings of the user operation and the target function.
[0080] Through the technical solution of the embodiments of the present application, the user can operate on the body of the active pen. By detecting the capacitance detection signal of the capacitance film at the body of the active pen, the type of the user operation can be determined, and the identification information used to characterize the type of the user operation is sent to the functional device, so that the functional device can execute the target function based on the identification information. The user can simply and quickly control the functional device through the operation on the body of the pen, without performing complex operations such as frequent clicking on the functional device, and further can realize the remote control of the functional device, which is beneficial to greatly improving the user experience of using the active pen.
[0081] Based on Figure 5 the capacitance film stack structure shown below, in combination with Figures 6 to 8 , a variety of detection methods for the capacitance film provided by the embodiments of the present application are described, which can detect different operations of the user.
[0082] Figure 6 FIG. is a schematic flowchart for detecting single click and double click operations provided by the embodiments of the present application. This process is executed by the active pen 101. For example, it can be executed by the touch detection device in the active pen 101. As Figure 6 shown, this detection process can include the following steps.
[0083] S201, Detect the capacitances of multiple regions in the capacitance film to obtain multiple capacitance detection signals.
[0084] S211, Determine whether the capacitance detection signal of a single region in the capacitance film changes, and whether the change time is less than or equal to the first time threshold. Optionally, the first time threshold can be less than or equal to 1-2 scanning cycles.
[0085] If it is detected that the capacitance detection signal of a single region in the capacitance film changes, and the change time is less than or equal to the first time threshold, then execute S221.
[0086] If the detected capacitive film does not meet the conditions that the capacitive detection signal of a single area changes and the change time is less than or equal to the first time threshold, then S310 is executed.
[0087] S212, determine the number of times the capacitive detection signal changes.
[0088] If the number of times the capacitive detection signal changes is 1, then S310 is executed. If the number of times the capacitive detection signal changes is 2, then S320 is executed. If the number of times the capacitive detection signal changes is greater than 2, then S330 is executed.
[0089] S310, send the first identification information, and the first identification information is used to identify a single click.
[0090] S320, send the second identification information, and the second identification information is used to identify a double click.
[0091] S330, do not send identification information.
[0092] In the embodiments of the present application and the related embodiments below, the division of areas in the capacitive film can be distinguished according to the area size of the finger. For example, a single area in the capacitive film can be substantially equivalent to the contact area of the finger on the active pen. For example, the area of this single area can be substantially equivalent to the contact area of the index finger on the active pen, or, it can also be substantially equivalent to the contact area of the thumb on the active pen, or, equivalent to the average contact area of the index finger and the thumb on the active pen.
[0093] Optionally, one or more touch electrodes can be provided in a single area of the capacitive film. In other words, the area of the touch electrode can be less than or equal to the contact area of the finger on the active pen.
[0094] Optionally, in some alternative embodiments, for the above step S212, if the number of times the capacitive detection signal changes is greater than or equal to 2, then S320 can be executed, that is, it is determined that the user operation is a double click.
[0095] For the process of single click and double click detection, as an example, if it is detected that the capacitance value of the touch electrode layer in the capacitive film suddenly increases and triggers a set threshold within 1 - 2 scanning cycles and then returns below the trigger threshold in subsequent scanning cycles, a single click is triggered. If it is detected that the capacitance value of the touch electrode layer suddenly increases and triggers a set threshold within 1 - 2 scanning cycles, returns to the original capacitance value or the capacitance value decreases for a short period of time and then suddenly increases to the preset threshold, a double click can be triggered at this time.
[0096] Figure 7FIG. 0 is a schematic flowchart for detecting a long - press operation provided by an embodiment of the present application. This process is executed by the active pen 101. For example, it can be executed by a touch detection device in the active pen 101. As Figure 7 shown, the detection process may include the following steps.
[0097] S201, Detect the capacitances of multiple regions in the capacitive film to obtain multiple capacitance detection signals.
[0098] S221, Determine whether the capacitance detection signal of a single region in the capacitive film changes, and whether the change time is greater than a first time threshold.
[0099] If it is detected that the capacitance detection signal of a single region in the capacitive film changes and the change time is greater than the first time threshold, then execute S340.
[0100] If it is detected that the capacitive film does not meet the condition that the capacitance detection signal of a single region changes and the change time is greater than the first time threshold, then execute S330.
[0101] S330, Do not send identification information.
[0102] S340, Send a third identification information, where the third identification information is used to identify a long - press.
[0103] Figure 8 FIG. 24 is a schematic flowchart for detecting a sliding operation provided by an embodiment of the present application. This process is executed by the active pen 101. For example, it can be executed by a touch detection device in the active pen 101. As Figure 8 shown, the detection process may include the following steps.
[0104] S201, Detect the capacitances of multiple regions in the capacitive film to obtain multiple capacitance detection signals.
[0105] S231, Determine whether the capacitance detection signals of consecutive regions in the capacitive film change continuously.
[0106] If it is detected that the capacitance detection signals of consecutive regions in the capacitive film change continuously, then execute S350.
[0107] If it is detected that the capacitance detection signals of consecutive regions in the capacitive film do not change continuously, then execute S330.
[0108] S330, Do not send identification information.
[0109] S350, Send a fourth identification information, where the fourth identification information is used to identify a slide.
[0110] In the embodiments of the present application, a continuous region may include two or more adjacent regions among multiple regions of the capacitive film, and the line connecting the centers of the two or more regions may be a straight line.
[0111] For the process of slide detection, as an example, if it is detected that several consecutive touch electrodes (or channels) in the touch electrode layer of the capacitive film generate continuous capacitance changes at different scanning times and trigger a set threshold, then a slide is triggered.
[0112] Optionally, in Figures 6 to 8 the illustrated embodiment, after steps S310, S320, S330, S340, and S350, step S210 may be repeatedly executed, that is, continuously monitor the change of capacitance in the capacitive film to continuously monitor the subsequent operations of the user on the active pen.
[0113] In the above Figures 5 to 8 illustrated embodiment, the capacitive film may include a touch electrode layer, so as to detect various touch operations of the user, such as the detection of operations such as single click, double click, long press, and slide described above. The embodiments of the present application also provide a capacitive film that includes both a touch electrode layer and a pressure sensing electrode layer. While detecting the user's touch operations, the detection of the user's pressure operations can also be achieved.
[0114] Based on Figure 4 the capacitive film of the illustrated embodiment, Figure 9 a schematic laminated diagram of another capacitive film provided by the embodiments of the present application is shown.
[0115] As Figure 9 shown, the capacitive film 110 may include a touch electrode layer 111, a first substrate 112, a wiring layer 113, a second substrate 114, and a pressure sensing electrode layer 115 that are laminated. That is, on the basis of the film layer structure shown above Figure 5 the capacitive film 110 further includes a second substrate 114 and a pressure sensing electrode layer 115. The second substrate 114 and the pressure sensing electrode layer 115 may be disposed between the wiring layer 113 and the inner pen tube 1012, and the pressure sensing electrode layer 115 may be connected to the wiring layer 113 through the second substrate 114.
[0116] A plurality of pressure sensing electrodes may be provided in the pressure sensing electrode layer 115, and the plurality of pressure sensing electrodes may be arranged in an electrode array in the pressure sensing electrode layer 115. Optionally, the pressure sensing electrode may be a planar electrode. For example, the pressure sensing electrode may be a rectangular electrode or a diamond electrode, etc. The embodiments of the present application do not limit the form of the pressure sensing electrode.
[0117] The pressure sensing electrode layer 115 can also be used to form a capacitive structure, and by detecting the capacitance detection signal of the capacitive structure, the pressing condition of the user on the active pen can be detected. In some examples, the pressure sensing electrodes in the pressure sensing electrode layer 115 can form a self-capacitance structure with the ground terminal in the active pen, and the pressure detection of the user can be realized by detecting the self-capacitance signal of the pressure sensing electrodes.
[0118] During the pressing process of the user, the pressure can squeeze the outer shell and the film layer in the capacitive film 110, so that the pressure sensing electrode layer 115 in the capacitive film 110 deforms. The inner pen tube of the active pen can be grounded to form the ground terminal of the active pen. When the pressure sensing electrode layer 115 deforms, the distance and capacitance between the pressure sensing electrodes therein and the active pen change. By detecting the changed capacitance detection signal, the pressure detection of the user can be realized. Optionally, an elastic layer, such as a foam layer, etc., can be arranged between the capacitive film 110 and the inner pen tube. The foam layer can be used to limit the spatial distance between the capacitive film 110 and the inner pen tube to ensure that the capacitive film can more accurately detect the pressing condition of the user.
[0119] Specifically, each pressure sensing electrode in the pressure sensing electrode layer 115 can form a capacitance Cs with the ground terminal. When the user's finger squeezes a certain area of the outer shell, causing the capacitive film to deform in this area, the distance between the pressure sensing electrode corresponding to this area and the inner pen tube changes, and thus the capacitance Cs between the pressure sensing electrode corresponding to this area and the inner pen tube also changes accordingly. Therefore, the pressure detection of the user can be realized by performing capacitance detection on each pressure sensing electrode in the pressure sensing electrode layer 115 to obtain the capacitance detection signal. During the application process, a driving signal (or also referred to as an excitation signal or a coding signal) can also be input to the pressure sensing electrode layer 115 through a touch chip, and then the sensing signal of each pressure sensing electrode is detected, so as to detect the capacitance of each pressure sensing electrode.
[0120] For the capacitance detection of the touch electrode layer 111 in the embodiments of the present application, reference can be made to the relevant descriptions of the embodiments shown above. Figure 5 For the sake of easy distinction, in the embodiments of the present application, the capacitance between the touch electrodes in the touch electrode layer 111 and the ground terminal can be referred to as the first capacitance, and the detection signal of the first capacitance can be referred to as the first capacitance detection signal. The capacitance between the pressure sensing electrodes in the pressure sensing electrode layer 115 and the ground terminal can be referred to as the second capacitance, and the capacitance detection signal of the second capacitance can be referred to as the second capacitance detection signal.
[0121] Figure 10 Fig. shows a schematic flowchart of another interaction method of the active pen provided by the embodiments of the present application.
[0122] As Figure 10As shown, the interaction method 400 includes the following steps.
[0123] S410, the active pen detects the capacitance of the capacitive film to obtain a first capacitance detection signal and a second capacitance detection signal.
[0124] S420, when the user operates on the area corresponding to the capacitive film in the active pen, the active pen determines identification information according to the changes in the first capacitance detection signal and the second capacitance detection signal, and the identification information is used to identify the operation type of the user on the active pen.
[0125] S430, the active pen sends the identification information to the functional device.
[0126] S440, the functional device executes the corresponding target function according to the identification information.
[0127] In the embodiment of the present application, a detection device (such as a touch control chip) in the active pen can detect the first capacitance of the touch control electrode in the capacitive film to obtain a first capacitance detection signal, and detect the second capacitance of the pressure sensing electrode to obtain a second capacitance detection signal.
[0128] In the case where the user touches, presses, etc. on the area corresponding to the capacitive film on the active pen, the capacitance detection signals of the touch control electrode and the pressure sensing electrode corresponding to the user operation area will change accordingly. According to this change, the operation type of the user can be determined, and identification information corresponding to the operation type can be generated. As an example, through the touch control electrode of the capacitive film, various information such as the size of the user touch area, the time length, the number of touches, etc. can be detected. Through the pressure sensing electrode of the capacitive film, various information such as the size of the user pressing area, the time length, the pressing force, the number of presses, etc. can be detected. Different information can be set with different identifications, so as to correspond to different operation types of the user.
[0129] As an example but not a limitation, the above identification information can be used to characterize at least one of the following operations of the user on the active pen: long extrusion, short extrusion, light pressure, heavy pressure, etc.
[0130] Through the technical solution of the embodiment of the present application, the capacitive film in the active pen can not only support the touch detection of the user, but also support the pressing pressure detection of the user, so that the operation types of the user on the active pen can be further expanded, facilitating the user to control the active pen and the functional device in a more flexible and changeable operation manner, which is beneficial to further improving the operation performance of the active pen and the control performance of the functional device, and enhancing the user experience.
[0131] Next, in combination with Figures 11 to 13 , it is described that various detection methods for the capacitive film provided in the embodiment of the present application can detect different operations of the user.
[0132] Figure 11 FIG. 0 is a schematic flowchart for detecting long extrusion operations and short extrusion operations provided by an embodiment of the present application. This process can be executed by the active pen 101. For example, it can be executed by a touch detection device in the active pen 101. As Figure 11 shown, this detection process may include the following steps.
[0133] S411, Detect the capacitance of multiple regions in the capacitive film to obtain multiple first capacitance detection signals and second capacitance detection signals.
[0134] S421, Determine whether the first capacitance detection signals of at least two target regions in the capacitive film are in a holding state after changing.
[0135] If so, execute S422. If not, return to continue executing S411.
[0136] S422, Determine whether the second capacitance detection signals of at least two target regions change once.
[0137] If so, execute S423. If not, return to continue executing S411.
[0138] S423, Determine whether the change time is greater than or equal to a second time threshold.
[0139] If so, execute S424. If not, execute S425.
[0140] S424, Send a fifth identification information, which is used to identify a long extrusion.
[0141] S425, Send a sixth identification information, which is used to identify a short extrusion.
[0142] In the embodiment of the present application, at least two target regions may include the contact regions of two fingers of the user on the active pen. For example, it may include the contact regions of the index finger and the thumb on the active pen. At least one touch electrode and at least one pressure detection electrode may be correspondingly arranged for each target region.
[0143] Optionally, during the actual detection process, by analyzing the region where the capacitance detection signal changes, it can be determined whether the region is a target region. For example, it can be determined whether the distribution of the region conforms to the position distribution of the index finger and the thumb on the active pen when the user holds the active pen.
[0144] In step S421, if the first capacitance detection signals of at least two target regions are in a holding state after changing, it indicates that the user's finger has been touching the active pen.
[0145] In step S422, when the user's finger keeps touching the active pen, it can be further determined whether the second capacitance detection signals of at least two target areas change once, that is, it is determined whether the user applies pressure to the active pen.
[0146] When the second capacitance detection signals of at least two target areas change once, it indicates that the user's finger applies a squeezing action on the active pen. In view of this, it can be determined whether the user's squeezing is a long squeeze or a short squeeze according to the change time of the second capacitance detection signals.
[0147] In step S423, it is determined whether the change time of the second capacitance detection signal is greater than or equal to the second time threshold. If so, it indicates that the user's squeeze on the active pen is a long squeeze, and the active pen can send a fifth identification signal to the functional device. If not, it indicates that the user's squeeze on the active pen is a short squeeze, and the active pen can send a sixth identification signal to the functional device.
[0148] In some embodiments, the squeezing pressure magnitude of the user can be further determined according to the second capacitance detection signal, so as to further identify light squeezing and heavy squeezing operations.
[0149] Figure 12 FIG. is a schematic flowchart for detecting light squeezing operations and heavy squeezing operations provided by an embodiment of the present application. This process can be executed by the active pen 101. For example, it can be executed by a touch detection device in the active pen 101. As Figure 12 shown, this detection process can include the following steps.
[0150] S411, detecting the capacitance of multiple areas in the capacitive film to obtain multiple first capacitance detection signals and second capacitance detection signals.
[0151] S421, determining whether the first capacitance detection signals of at least two target areas in the capacitive film are in a holding state after changing.
[0152] If so, execute S422. If not, return to continue executing S411.
[0153] S422, determining whether the second capacitance detection signals of at least two target areas change once.
[0154] If so, execute S423. If not, return to continue executing S411.
[0155] S426, determining whether the change value is less than a first preset threshold.
[0156] If so, execute S427. If not, execute S428.
[0157] S427, sending a seventh identification message, where the seventh identification message is used to identify light squeezing.
[0158] S428, Send the eighth identification information, where the eighth identification information is used to identify re-extrusion.
[0159] Figure 13 It is a schematic flowchart for detecting long re-extrusion, long light extrusion, short re-extrusion, and short light extrusion operations provided by an embodiment of the present application. This process is executed by the active pen 101. For example, it can be executed by a touch detection device in the active pen 101. As Figure 13 shown, this detection process may include the following steps.
[0160] S411, Detect the capacitance of multiple regions in the capacitive film to obtain multiple first capacitance detection signals and second capacitance detection signals.
[0161] S421, Determine whether the first capacitance detection signals of at least two target regions in the capacitive film are in a holding state after changing.
[0162] If so, execute S422. If not, return to continue executing S411.
[0163] S422, Determine whether the second capacitance detection signals of at least two target regions change once.
[0164] If so, execute S423. If not, return to continue executing S411.
[0165] S423, Determine whether the change time is greater than or equal to the second time threshold.
[0166] S426, Determine whether the change value is less than the first preset threshold.
[0167] S429, When the change time is greater than or equal to the second time threshold and the change value is less than the first preset threshold, send the ninth identification information, where the ninth identification information is used to identify long light extrusion.
[0168] S4210, When the change time is greater than or equal to the second time threshold and the change value is greater than or equal to the first preset threshold, send the tenth identification information, where the tenth identification information is used to identify long re-extrusion.
[0169] S4211, When the change time is less than the second time threshold and the change value is less than the first preset threshold, send the eleventh identification information, where the eleventh identification information is used to identify short light extrusion.
[0170] S4212, When the change time is less than the second time threshold and the change value is greater than or equal to the first preset threshold, send the twelfth identification information, where the twelfth identification information is used to identify short re-extrusion.
[0171] In the embodiments of the present application, various different squeezing actions of the user on the active pen can be recognized based on the first capacitance detection signal and the second capacitance detection signal, so as to expand more operation types for the active pen. More operation types help the user perform more flexible gesture controls on the active pen and the functional device.
[0172] Optionally, in the above-mentioned embodiments of the application, step S423 and step S426 can be executed synchronously or sequentially. Step S423 can be executed before or after step S426. The embodiments of the present application do not make specific limitations on this.
[0173] For the above Figures 11 to 13 For the detection process shown above, in some embodiments, the above step S421 can be omitted. For example, in step S411, the second capacitance detection signal of the pressure sensing electrode layer can be detected, and then step S422 is executed to determine whether there is a single change in the second capacitance detection signal of at least two target regions in the pressure sensing electrode layer, so as to perform subsequent squeezing judgments.
[0174] For the above squeezing detection process, as an example, if the capacitance value change of the pressure detection electrode layer in the capacitive film exceeds the threshold for triggering a light pinch, a light pinch gesture is triggered. If the capacitance change of the pressure detection electrode layer continuously increases and exceeds the threshold for triggering a hard pinch within multiple scanning cycles, a hard pinch gesture is triggered; long pinches and short pinches can also be triggered according to the capacitance value change situation within multiple scanning cycles.
[0175] Optionally, in order to further enrich the user experience of using the active pen, in some embodiments of the present application, after the active pen detects the user's operation and determines the operation type, a feedback signal can be further generated, such as one or more of a vibration signal, a sound signal, and a light signal. For example, the active pen can include a vibration device, a sound device, or a light-emitting device, etc. After the touch detection device in the active pen detects the operation type, it can instruct one or more of the vibration device, the sound device, or the light-emitting device to respond, so as to remind the user.
[0176] For example, after the active pen determines the user's touch / press / click / double-click / light pinch / slide and other operations, it will first feedback different vibration sensations to the user through the vibration sensor inside the pen body or prompt the user through sound to let the user clearly know that their operation has been successful. Then the triggered event will be sent to the system layer of the functional device through a radio frequency signal (which can be transmitted wirelessly through Bluetooth or other means, or through the pen tip). The system layer of the functional device will then transmit this signal to the upper-layer application, and the upper-layer application will respond to the instructions of the active pen through its preset functions.
[0177] Optionally, during the use of the active pen, one or more of the following means can also be executed to improve the success rate of touch detection on the active pen and reduce the false alarm rate, while meeting the stability of active pen applications:
[0178] (1) Self-calibration;
[0179] (2) Increase the scanning frequency;
[0180] (3) Multi-channel detection;
[0181] (4) Temperature compensation;
[0182] (5) Specific event shielding;
[0183] (6) Coding synchronization.
[0184] The implementation methods of the above several means are described separately below.
[0185] (1) For self-calibration, in some embodiments of the present application, the interaction method of the active pen further includes: calibrating the reference capacitance of the capacitive film regularly or irregularly, where the calibration includes: detecting the capacitance detection signals of multiple electrodes of the capacitive film within multiple scanning cycles; if the capacitance detection signals of the multiple electrodes are within a preset range within multiple scanning cycles, calibrate the reference capacitance according to the capacitance detection signals of the multiple electrodes. For example, the reference capacitance of the capacitive film may include: the reference capacitance of the touch electrode and the reference capacitance of the pressure detection electrode, and the calibration of the above reference capacitance may include: the calibration of the reference capacitance of the touch electrode and / or the calibration of the reference capacitance of the pressure detection electrode. The above calibration process can be executed by the touch detection device.
[0186] As described above, the basic principle of the touch detection device for gesture detection is to detect different gestures according to the changes in the capacitance values of different electrodes. Therefore, in the algorithm, it is usually necessary to determine a capacitance value reference, calculate the change amount of the capacitance and set a threshold on this basis. Therefore, it is necessary for the touch detection device to trigger a scanning calibration during the initialization process to calculate the reference value. In addition, the reference values of different electrodes often change with the ambient temperature and humidity. Therefore, a self-calibration mechanism is added to the algorithm, that is, if the capacitance value changes of all electrodes are very small and the absolute capacitance is within a certain range within multiple consecutive scanning cycles, it can be considered that there is no human hand touch at this time. At this time, the capacitance values measured during this process are used as the reference values for calculation.
[0187] (2) For increasing the scanning frequency, in some embodiments of the present application, the interaction method of the active pen further includes: setting the scanning frequency of the touch detection device, and this scanning frequency can be greater than 400 Hz. In some embodiments, when the touch detection device is in the normal working state, the range of its scanning frequency is 60 - 400 Hz. In the embodiments of the present application, the scanning frequency of the touch detection device is greater than that in the normal working state.
[0188] During the process of the touch detection device detecting the user's gesture, multiple frames of detection may be required to determine a specific gesture. By increasing the scanning frequency of the touch detection device, the number of detections per unit time can be increased, thereby increasing the response time, which is beneficial to improving the accuracy of gesture detection.
[0189] (3) For multi-channel detection, in some embodiments of the present application, the interaction method of the active pen further includes: when the user operates the active pen, determining that the capacitance detection signals of multiple electrodes in the capacitive film change; performing weighted processing on the capacitance detection signals of the multiple electrodes; and determining identification information according to the capacitance detection signals after weighted processing. The above process can be executed by the touch detection device.
[0190] In this embodiment, during the process of the user operating the active pen (such as single-clicking, double-clicking, etc.), the capacitance detection signals of multiple touch electrodes in the capacitive film may change. In addition, when the user applies a certain pressure to the active pen (such as the user performs a pressing or squeezing operation), the capacitance detection signals of multiple pressure detection electrodes in the capacitive film may also change. In this case, weighted processing can be performed on the multiple capacitance detection signals that have changed to increase the accuracy of capacitance detection. For example, during the extrusion detection process, since the deformation of the pen tube will cause changes in the capacitance values of multiple pressure detection electrodes, weighted processing can be performed on the capacitance changes of the multiple pressure detection electrodes under this extrusion detection to increase the accuracy of pressure detection. Among them, the weighted processing may include performing unified processing and calculation on the capacitance detection signals of multiple electrodes. For example, the overall capacitance changes of each electrode are superimposed and used as a sampling value to be compared with a preset threshold to improve the detection accuracy.
[0191] (4) For temperature compensation, in some embodiments of the present application, the capacitive film includes a detection electrode and a reference electrode. The detection electrode is correspondingly arranged with the user's holding area in the active pen, and the reference electrode is correspondingly arranged with the user's non-holding area in the active pen; the interaction method further includes: detecting the reference capacitance detection signal of the reference electrode in the capacitive film; and calibrating the capacitance detection signal of the detection electrode in the capacitive film based on the reference capacitance detection signal. The above process can be executed by the touch detection device.
[0192] In this embodiment, since the capacitance of each electrode in the capacitive film is greatly affected by temperature, during the process of a human hand holding the capacitive film area, the body temperature of the human will generate heat, causing a large deviation in the reference capacitance values of each electrode. Therefore, a temperature calibration function is also required. In implementation, a reference electrode can be separately reserved in the capacitive film. The area of this reference electrode can be set to be relatively small, for example, smaller than the area of other touch electrodes or pressure sensing electrodes used for touch detection or pressure detection in the capacitive film. This reference electrode can be far away from the holding area of the human hand. For example, it can be set at the corner of the capacitive film. The influence of the human body temperature on this reference electrode is very small. Therefore, the capacitance value change of this reference electrode can be measured to perform reference value compensation for other detection electrodes.
[0193] (5) For specific event shielding, the main control end of the active pen can perform some functions of shielding and reporting on the gesture events (also referred to as user operation types above) output by the touch detection device. When the main control end shields and reports a certain gesture event, the communication device in the active pen may not send the identification information identifying this gesture event to the functional device.
[0194] For example, using the pressure sensor at the tip of the active pen, when pressure is detected, it is considered that the active pen is in the writing process. At this time, the output events of the touch detection device may be false alarms generated during the process of a person holding the pen to write. The main control can shield and report such events. Another example is that the six-axis sensor on the active pen detects a specific gesture event. For example, when the six-axis sensor detects that the active pen is rotating periodically, it is considered that the user is performing operations such as twirling the pen. In this case, the event reporting of such a situation can be shielded. Another example is an active pen product that uses wireless charging. During the charging process, it is considered that the pen is adsorbed on the tablet or the charging case. In this case, the event reporting of such a situation can be shielded.
[0195] In the above various situations, in addition to being able to shield event reporting, in some embodiments of the present application, the interaction method further includes: obtaining the target state of the active pen, where the target state includes at least one of the following information: writing state, pen twirling state, or charging state, where the writing state and the pen twirling state are detected by sensors in the active pen, and the charging state is detected by a controller in the active pen; according to the target state, closing the detection of user operations. The above process can be executed by the touch detection device.
[0196] In this embodiment, when the active pen is in the writing state, the pen twirling state, or the charging state, the touch detection device can obtain these several target states and further turn off the detection function. For example, stop sending coding signals to the capacitive film. This implementation method can reduce the power consumption of the touch detection device.
[0197] (6)For coding synchronization, in some embodiments of the present application, the interaction method further includes: receiving an indication signal sent by the communication device of the active pen, where the indication signal is used to indicate the interruption of the communication signal of the active pen; and detecting the capacitance of the capacitive film of the active pen according to the indication signal to obtain a capacitance detection signal. The above process can be executed by the touch detection device.
[0198] During the interaction process between the active pen and the functional device (such as a display screen), it usually involves the situation where the uplink signal of the active pen tip outputs a high-voltage coding signal to the functional device, and this signal is usually a high-voltage square wave signal with a frequency of 10 kHz - 1 MHz. However, the uplink and downlink signals of the active pen tip may interfere with the coding signal of the touch detection device, resulting in large noise fluctuations in touch detection or a decrease in the writing performance of the pen. Therefore, a signal synchronization function is added between the coding communication device of the active pen and the touch detection device. When the active pen does not perform coding at the pen tip and there is no uplink reception, it gives a specific indication signal (also called an interruption signal) to the touch detection device, controlling the touch detection device to perform capacitance detection on each electrode within a specified time window, thereby minimizing the mutual influence between the two.
[0199] Through the interaction methods of the above embodiments, it is beneficial to improve the speed and accuracy of user operation detection, so as to further improve the performance of the active pen and the user experience.
[0200] In some embodiments of the present application, the touch detection device may include a working state, a low-power state, and a sleep state. The touch detection device can switch between these three states.
[0201] Figure 14 The schematic diagram of the state transition of the touch detection device according to the embodiment of the present application is shown.
[0202] As Figure 14 shown, in the normal working state, the touch detection device can periodically scan each electrode in the capacitive film, and the scanning frequency can be, for example, between 60 Hz and 400 Hz. This scanning frequency can be set according to different IC schemes and performance power consumption requirements. The higher the scanning frequency, the better the detection processing and response speed of the algorithm, but it will bring greater power consumption. In addition, the scanning is also divided into two types: scanning each electrode one by one or row by row and global simultaneous scanning. Scanning each electrode one by one or row by row has less mutual interference between electrodes, but it will bring longer scanning time and thus increase power consumption. Different scanning methods can be used at different usage periods of the active pen according to different needs.
[0203] In the low-power state, if no obvious capacitance change is detected during a period of time (which can be a preset period) in the scanning process, it is considered that no human hand is approaching at this time. At this time, the touch detection device enters the low-power state and scans at an extremely low scanning frequency (which can be lower than the scanning frequency in the normal working state, such as lower than 60 Hz) to save power. When an obvious change in the capacitance on the electrode is detected, it enters the normal working state to perform touch detection, gesture inspection, and recognition.
[0204] In the sleep state, the active pen can be in a situation where gesture detection does not need to be performed. The main control can send a sleep instruction to inhibit the touch detection device. At this time, the touch detection device does not work at all (for example, stops sending coding signals to the capacitive film) and enters the inhibition state with extremely low power consumption until the main control changes the interrupt level state connected to the touch detection device to wake up the touch detection device again. Examples of possible conditions for the touch detection device to enter the sleep state are as follows: 1. There is no Bluetooth connection between the main control and the tablet. At this time, the gesture state cannot be reported to the tablet, so the touch detection device is inhibited from working; 2. The gravity sensor (G-sensor) or six-axis sensor of the active pen has not detected the movement of the pen body for a long time, indicating that the active pen is in a long-term static state at this time. At this time, the touch detection device can be inhibited from working to save power.
[0205] Figure 15 A schematic diagram of an active pen provided by an embodiment of the present application is shown.
[0206] As Figure 15 shown, the active pen can include a capacitive film, a touch detection device, and a main control communication device. Optionally, the touch detection device can include, for example, a touch control chip, and the main control communication device can include, for example, a main control Bluetooth Low Energy (BLE) chip. In this main control BLE chip, the main control and communication device of the active pen can be integrated into an integrated chip. Alternatively, in some other alternative embodiments, the main control and communication device of the active pen can also be discrete chips or discrete devices.
[0207] The touch detection device can perform code marking scanning, reference value temperature compensation and capacitance change value calculation, multi-channel data processing, and threshold judgment / algorithm processing. Among them, the touch detection device can perform code marking scanning on the electrode channels in the capacitive film and detect the capacitance value and capacitance change of each electrode. The process of detecting the capacitance value of each electrode in the capacitive film can refer to the relevant description in the above embodiments, and will not be elaborated here. In addition, a temperature compensation channel or temperature compensation electrode can be provided at other positions of the capacitive film or the active pen. The touch detection device can detect the capacitance value of the temperature compensation channel to perform temperature compensation on the capacitance value detection of the capacitive film electrodes. The relevant process of this temperature compensation can also refer to the relevant description in the above embodiments. In addition, the relevant processes of multi-channel data processing and threshold judgment / algorithm processing to determine the gesture events of the user on the active pen can also refer to the relevant description in the above embodiments. For the sake of brevity, they will not be elaborated here.
[0208] The touch detection device can send gesture events to the main control communication device. The main control communication device can determine whether to perform software shielding and then perform Bluetooth reporting based on the gesture events. For example, it can send identification information indicating the gesture event (user operation type) to the functional device via Bluetooth. The main control communication device can receive data from other sensors on the body of the active pen to determine whether to shield the gesture events sent by the touch detection device. In addition, the main control communication device can also perform related processing of scanning synchronization (code marking synchronization). For example, when there is no code marking at the pen tip and no uplink reception, the main control communication device gives a specific indication signal (which can also be called an interrupt signal) to the touch detection device, so that the touch detection device performs code marking scanning within a specific time window.
[0209] In some application scenarios, the active pen provided in this application can be used in combination with a display device. That is, the functional device in the above embodiments can include a display device.
[0210] The active pen (also called the pen tip) and the display device (also called the screen tip) can interact wirelessly (such as via Bluetooth). The touch detection device at the pen tip (such as a touch control chip, etc.) can detect the capacitive film and determine the gesture that triggers a specific event. The control device or processing device at the pen tip (such as an MCU chip, a Bluetooth chip, etc.) can read the gesture and transmit it to the screen tip through the communication device. The screen tip makes corresponding functional responses based on the different gesture events obtained.
[0211] Figure 16 The figure shows a schematic diagram of an interaction system between an active pen and a display device provided by an embodiment of this application.
[0212] As Figure 16As shown, the user can perform flexible operations on the capacitive film 110 of the active pen 101, such as single-clicking, double-clicking, swiping, squeezing, etc. The active pen 101 can detect and recognize different operation types or operation gestures of the user, and send the relevant information used to represent the operation gesture to the display device.
[0213] In Figure 16 In the example shown, the display device can display a painting interface. In this interface, when the user switches different paintbrushes, they only need to gently pinch the pen body or double-click the pen body to complete the switch. At the same time, when it is necessary to adjust the thickness of the brush after the switch is completed, the thickness can be adjusted by swiping the pen body, reducing the user's operation path. At the same time, when the user is writing or drawing, they do not need to move the pen tip over a large range to complete the tool switch, which can greatly improve the user experience.
[0214] Figure 16 And the above description is only an example and not a limitation. In the actual application process, different gestures and corresponding functions can be flexibly set between the active pen and the display device according to the content of the current display interface.
[0215] Figure 17 Fig. shows another schematic diagram of an interaction system between an active pen and a display device provided by an embodiment of the present application.
[0216] As Figure 17 shown, the active pen 101 can be used as a remote control to remotely control the screen content. For example, when a draft is drawn on a tablet computer with a stylus and needs to be demonstrated through screen mirroring, the user can operate on the capacitive film 110 of the active pen 101 to remotely control the screen page turning and indication, providing convenience for the user's demonstration.
[0217] The present application also provides a touch detection device, including: a processor and a memory. The memory is used to store a computer program, and the processor is used to call the computer program to execute the interaction method provided in any of the above embodiments.
[0218] The present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, it is used to implement the interaction method provided in any of the above embodiments.
[0219] The present application also provides an active pen, Figure 18 Fig. shows a schematic structural block diagram of an active pen 101 provided by an embodiment of the present application.
[0220] As Figure 18As shown in the figure, the active pen 101 includes: a capacitive film 110; a touch detection device 116 for detecting the capacitance of the capacitive film 110 of the active pen 101 to obtain a capacitance detection signal. The capacitive film is disposed on the body of the active pen 101 and is sleeved around between the outer shell 1013 of the active pen 101 and the inner pen tube 1012 of the active pen 101; the touch detection device 116 is further configured to determine identification information according to the change of the capacitance detection signal when the user operates on the area corresponding to the capacitive film 110 in the active pen 101, and the identification information is used to identify the operation type of the user on the active pen 101; a communication device 117 for sending the identification information to the functional device 102 so that the functional device 102 executes a corresponding target function according to the identification information.
[0221] Optionally, the above touch detection device 116 may include a touch control chip. The above communication device 117 may include a communication chip, such as a Bluetooth chip, etc.
[0222] Optionally, the touch detection device 116 provided in the embodiments of the present application may execute the interaction method provided in any of the above embodiments.
[0223] The present application also provides an interaction system 100, Figure 19 which is a schematic structural diagram of an interaction system provided in the embodiments of the present application. The interaction system 100 includes: a functional device 102, and the active pen 101 according to the above embodiments, and the active pen 101 is used to control the functional device 102 to execute a target function.
[0224] Optionally, the functional device 102 may be, for example, a display device.
[0225] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described systems and devices may refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.
[0226] In various embodiments of the present application, the magnitudes of the sequence numbers of the various processes do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0227] The various implementation manners described in this specification may be implemented alone or in combination, and the embodiments of the present application do not limit this.
[0228] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0229] In several embodiments provided by this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each device in the active pen is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of devices or units can be in electrical, mechanical, or other forms.
[0230] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0231] In addition, in each embodiment of this application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0232] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of this application. And the aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0233] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. An active pen interaction method, characterized in that: include: Detecting the capacitance of the capacitive film of the active pen to obtain a capacitance detection signal, wherein the capacitive film is disposed on the pen body of the active pen and is sheathed between the outer shell of the active pen and the inner pen tube of the active pen; When the user operates the area corresponding to the capacitive film in the active pen, identification information is determined according to the change of the capacitive detection signal, the identification information is used to identify the operation type of the user on the active pen, and the identification information is sent to the functional device so that the functional device executes the corresponding target function according to the identification information.
2. The interactive method according to claim 1, characterized in that: The capacitive film includes: a stacked touch electrode layer and a routing layer, the touch electrode layer is arranged toward the outer shell of the active pen, the routing layer is arranged between the touch electrode layer and the inner pen tube of the active pen, the inner pen tube is grounded, and the first capacitor between the touch electrode layer and the ground end is used to determine the user's touch on the active pen.
3. The interactive method according to claim 2, characterized in that: The operation type includes at least one of the following: single click, double click, long press and slide; wherein determining the identification information according to the change of the capacitance detection signal includes: If a first capacitance detection signal of a single area in the touch electrode layer changes once, and the change time is less than or equal to a first time threshold, first identification information is determined, and the first identification information is used to identify a single click; or If the first capacitance detection signal of a single area in the touch electrode layer changes at least twice, and the change time is less than or equal to the first time threshold, second identification information is determined, and the second identification information is used to identify a double click; or If the first capacitance detection signal of a single area in the touch electrode layer changes once and the change time is greater than the first time threshold, third identification information is determined, and the third identification information is used to identify a long press; or If the capacitance detection signals of the continuous areas in the capacitance film change continuously, fourth identification information is determined, and the fourth identification information is used to identify sliding.
4. The interactive method according to claim 1, characterized in that: The capacitive film includes: a stacked touch electrode layer, a routing layer and a pressure sensing electrode layer, the touch electrode layer is arranged toward the outer shell of the active pen, the pressure sensing electrode layer is arranged toward the inner pen tube of the active pen, the inner pen tube is grounded, the first capacitor between the touch electrode layer and the ground end is used to determine the user's touch on the active pen, and the second capacitor formed between the pressure sensing electrode layer and the ground end is used to determine the user's squeezing on the active pen.
5. The interactive method according to claim 4, characterized in that: The operation type includes at least one of the following: long squeeze, short squeeze, light squeeze or heavy squeeze; and the identification information is determined according to the change of the capacitance detection signal, including: If the second capacitance detection signals of at least two target areas in the pressure sensing electrode layer change once, and the change time is greater than or equal to the second time threshold, fifth identification information is determined, and the fifth identification information is used to identify a long squeeze; or If the second capacitance detection signals of at least two target areas in the pressure sensing electrode layer change once and the change time is less than the second time threshold, sixth identification information is determined, and the sixth identification information is used to identify a short squeeze; or If a single change occurs in the second capacitance detection signal of at least two target areas in the pressure sensing electrode layer, and the change value is less than the first preset threshold, seventh identification information is determined, and the seventh identification information is used to identify light squeezing; or If a single change occurs in the second capacitance detection signals of at least two target areas in the pressure sensing electrode layer, and the change value is greater than or equal to the first preset threshold, eighth identification information is determined, and the eighth identification information is used to identify heavy squeezing.
6. The interactive method according to claim 4, characterized in that: The operation type includes at least one of the following: long light squeeze, long heavy squeeze, short light squeeze or short heavy squeeze; and the identification information is determined according to the change of the capacitance detection signal, including: If a single change occurs in the second capacitance detection signal of at least two target areas in the pressure sensing electrode layer, and the change value is less than or equal to the first preset threshold, and the change time is greater than or equal to the second time threshold, the ninth identification information is determined, and the ninth identification information is used to identify a long light squeeze; or If a single change occurs in the second capacitance detection signal of at least two target areas in the pressure sensing electrode layer, and the change value is greater than the first preset threshold, and the change time is greater than or equal to the second time threshold, a tenth identification information is determined, and the tenth identification information is used to identify a long heavy squeeze; or If a single change occurs in the second capacitance detection signal of at least two target areas in the pressure sensing electrode layer, and the change value is less than or equal to the first preset threshold, and the change time is less than the second time threshold, the eleventh identification information is determined, and the eleventh identification information is used to identify a short and light squeeze; or If a single change occurs in the second capacitance detection signal of at least two target areas in the pressure sensing electrode layer, and the change value is greater than the first preset threshold, and the change time is less than the second time threshold, the twelfth identification information is determined, and the twelfth identification information is used to identify short and heavy squeezing.
7. The interactive method according to any one of claims 1 to 6, characterized in that: The functional device includes a display device, and the identification information is used to enable the display device to execute a target function corresponding to the identification information according to a current display page and the identification information.
8. The interactive method according to claim 7, characterized in that: The target function includes at least one of the following: brush type switching mode, brush thickness adjustment mode, color palette calling mode, opening target application and controlling screen projection.
9. The interactive method according to any one of claims 1 to 6, characterized in that: After determining the identification information according to the capacitance detection signal, the interaction method further includes: The active pen is instructed to generate a feedback signal, where the feedback signal includes at least one of the following signals: a vibration signal, a light signal, and sound information.
10. The interactive method according to any one of claims 1 to 6, characterized in that: The interaction method further comprises: When the user operates the area corresponding to the capacitive film in the active stylus, determining that the capacitance detection signals of the plurality of electrodes in the capacitive film change; performing weighted processing on the capacitance detection signals of the plurality of electrodes; The identification information is determined according to the weighted capacitance detection signal.
11. The interactive method according to any one of claims 1 to 6, characterized in that: The interaction method further comprises: Calibrate the reference capacitance of the capacitive film regularly or irregularly, wherein the calibration includes: Detecting capacitance detection signals of a plurality of electrodes of the capacitance film in a plurality of scanning cycles; If the capacitance detection signals of the plurality of electrodes are within a preset range within the plurality of scanning cycles, the reference capacitance is calibrated according to the capacitance detection signals of the plurality of electrodes.
12. The interactive method according to any one of claims 1 to 6, characterized in that: The capacitive film comprises a detection electrode and a reference electrode, wherein the detection electrode is arranged corresponding to a gripping area of the active pen by a user, and the reference electrode is arranged corresponding to a non-gripping area of the active pen by a user; The interaction method further comprises: Detecting a reference capacitance detection signal of the reference electrode in the capacitive film; Based on the reference capacitance detection signal, the capacitance detection signal of the detection electrode in the capacitance film is calibrated.
13. The interactive method according to any one of claims 1 to 6, characterized in that: The interaction method further comprises: Acquire a target state of the active pen, wherein the target state includes at least one of the following information: a writing state, a spinning state, or a charging state, wherein the writing state and the spinning state are detected by a sensor in the active pen, and the charging state is detected by a controller in the active pen; According to the target state, the operation detection of the user is turned off.
14. The interactive method according to any one of claims 1 to 6, characterized in that: The interaction method further comprises: receiving an indication signal sent by a communication device of the active pen, wherein the indication signal is used to indicate interruption of a communication signal of the active pen; According to the indication signal, the capacitance of the capacitive film of the active stylus is detected to obtain a capacitance detection signal.
15. The interactive method according to any one of claims 1 to 6, characterized in that: The touch detection device detects the capacitance of the capacitive film of the active pen to obtain a capacitance detection signal, and the touch detection device includes a working state, a low power consumption state and a sleep state; In the working state, the touch detection device sends a coding signal to the capacitive film at a first frequency; In the low power consumption state, the touch detection device sends a coding signal to the capacitive film at a second frequency, wherein the second frequency is lower than the first frequency; In the dormant state, the touch detection device stops sending the coding signal.
16. A touch detection device, characterized in that: include: A processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call the computer program to execute the interaction method according to any one of claims 1 to 15.
17. An active pen, characterized in that: include: A capacitive film is disposed on the pen body of the active pen and is sleeved around the outer shell of the active pen and the inner pen tube of the active pen; A touch detection device, used to perform the interaction method according to any one of claims 1 to 16 to determine identification information, wherein the identification information is used to identify the type of operation of the user on the active pen; The communication device is used to send the identification information to the functional device so that the functional device performs the corresponding target function according to the identification information.
18. An interactive system, characterized in that: It comprises: a functional device, and the active pen according to claim 17, wherein the active pen is used to control the functional device to execute a target function.