Stylus control method, system, apparatus, stylus, and medium
By detecting the stylus's axial and signal data, the system enables automated mode switching, solving the problem of high power consumption when the stylus is not in use and improving battery life and user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-09-15
- Publication Date
- 2026-04-02
AI Technical Summary
Existing styluses are prone to accidentally triggering high-power modes when not in use, resulting in unnecessary power consumption and affecting battery life and user experience.
By detecting the stylus's axial data and current signal data, it is determined whether its state meets the conditions for switching to low-power mode, including preset conditions for interactive signals and pressure sensitivity levels, thus achieving automatic mode switching.
It effectively reduces the power consumption of the stylus, improves battery life, reduces the probability of accidental wake-up, and enhances the user experience and the flexibility of mode switching.
Smart Images

Figure CN2025121453_02042026_PF_FP_ABST
Abstract
Description
Handwriting pen control method, system, device, handwriting pen and medium
[0001] The present disclosure claims priority to the Chinese patent application No. 202411380453.1, filed on September 29, 2024, entitled "A power consumption mode switching method and system", and the Chinese patent application No. 202411863869.9, filed on December 16, 2024, entitled "Handwriting pen control method, device, handwriting pen and storage medium", both of which are incorporated by reference in their entirety in the present disclosure. TECHNICAL FIELD
[0002] The present disclosure relates to the technical field of handwriting pen mode, and particularly relates to a handwriting pen control method, system, device, handwriting pen and medium. BACKGROUND
[0003] At present, in the existing handwriting pen industry, the trigger for turning on and off each handwriting pen is generally realized by manual switching of the user or setting a corresponding shaking switch. However, in actual use, due to various situations of the user, there will be a situation that the handwriting pen is turned on but not used for a long time, for example, the handwriting pen is adsorbed on one side of the Host device and is in a sleep state, is triggered to the on state due to sliding and being in a non-stationary state, and the handwriting pen after triggering will continue to remain in an idle mode with high power consumption and large current consumption until the user adjusts it to the sleep state.
[0004] Therefore, in order to avoid the occurrence of invalid consumption of handwriting pen power consumption caused by the above-mentioned various situations, the existing technology adopts a timing shutdown function, so that the handwriting pen is adjusted to a sleep mode after 30 minutes or 60 minutes of no operation reaction, that is, a shutdown process is performed. However, the automatic shutdown function set at the working time node will affect the normal use of the user, and if the use time is short and the user forgets to manually shut down, it will also cause waste of invalid power. SUMMARY
[0005] The present disclosure provides a handwriting pen control method, system, device, handwriting pen and medium to realize automatic detection of the current state of the handwriting pen and mode switching, thereby achieving the technical effect of reducing the power consumption of the handwriting pen.
[0006] In a first aspect, the present disclosure provides a handwriting pen control method, comprising the following steps:
[0007] triggering an external interrupt signal;
[0008] in response to the external interrupt signal, acquiring current signal data;
[0009] If the current signal data of the stylus indicates that the stylus can trigger the switch to the low-power mode, the stylus is switched to the low-power mode.
[0010] The mode switching method for reducing the power consumption of the stylus provided by the present disclosure first responds to the external interrupt signal triggered by the target stylus, that is, determines that the target stylus is in an unstable, i.e., non-stationary state, and needs to further determine the current state of the target stylus. By obtaining the current signal data of the stylus and determining it, it is determined whether the current state data of the target stylus has reached the requirement of being switchable to the low-power mode.
[0011] If it is determined that the stylus can trigger the switch to the low-power mode, the stylus is switched to the low-power mode, thereby reducing the power consumption of the stylus, improving the service life of the stylus, and reducing the user's electronic pen endurance anxiety. After responding to the external interrupt signal, the current signal data of the stylus is still determined, which also avoids the problem of invalid consumption of the power of the stylus caused by accidental touch of the stylus, thereby causing invalid increase of the power consumption of the stylus, reduces the power consumption of the stylus, and improves the endurance time of the stylus.
[0012] In some embodiments, triggering the external interrupt signal includes: obtaining the axial detection data in real time, and comparing the axial detection data with the preset first axial threshold data; when the axial detection data is greater than or equal to the first axial threshold data, the external interrupt signal is triggered.
[0013] In order to improve the mode switching efficiency of the stylus and further reduce its power consumption, the mode switching method provided by the present disclosure first determines whether the external interrupt signal of the stylus can be triggered by comparing the axial detection data of the target stylus with the corresponding first axial threshold, that is, determines whether the target stylus is in a non-stationary state.
[0014] If it is determined that the axial detection data is greater than or equal to the corresponding first axial threshold data, it is determined that the axial detection data of the stylus has reached the pre-set external interrupt signal trigger threshold, and the system will determine that the stylus has been in a non-stationary state at this time, and the next step of determining whether the stylus can enter the low-power state, that is, further determining whether the stylus is in a non-stationary state but not connected to the corresponding device, to reduce the power consumption of the stylus after entering the non-stationary state.
[0015] In some embodiments, it also includes: when the axial detection data is less than the axial threshold data, the current running mode of the stylus is maintained.
[0016] In order to perfect the mode switching method, when it is determined that there is no axial data greater than or equal to the corresponding threshold, the stylus will maintain the current running mode unchanged, and continue to monitor the axial data of the stylus.
[0017] In some embodiments, comparing the axial detection data with the preset first axial threshold data comprises:
[0018] comparing the axial detection sub-data of different axial types in the axial detection data with corresponding axial threshold sub-data;
[0019] When there is axial detection sub-data greater than or equal to the axial threshold sub-data, an external interrupt signal is triggered.
[0020] When detecting and comparing the axial detection data of the stylus, the system matches and compares the axial detection data with corresponding threshold data according to the axial type, i.e. each axial detection data is compared with corresponding threshold data according to its corresponding axial type, to ensure the accuracy of the detection and comparison result.
[0021] In order to improve the sensitivity of the stylus mode switching, when detecting and comparing the axial detection data of multiple different axial types, as long as there is axial detection sub-data of an axial type greater than or equal to its corresponding axial threshold sub-data, it is determined that the stylus has reached the condition of triggering the external interrupt signal, and the external interrupt signal can be triggered to enter the next low-power mode determination step.
[0022] In some embodiments, based on the current signal data, it is determined that the stylus can trigger switching to a low-power mode, comprising:
[0023] The current signal data includes a current interaction signal and a current pressure level; if the current interaction signal meets a first preset condition and the current pressure level meets a second preset condition, it is determined that the stylus can trigger switching to a low-power mode. After it is determined that the stylus is in a non-stationary state, the system further needs to determine whether the stylus is in a state of waiting for device connection, i.e. whether the user needs to start the stylus.
[0024] By detecting the current signal data of the handwriting pen, including the current interaction signal and the current pressure level, and comparing them with the corresponding first preset condition and second preset condition respectively, it is determined whether the handwriting pen is switched to the low-power mode in the non-static state, that is, whether the current state of the handwriting pen meets the non-static but not the start state, so that the running mode of the handwriting pen can be adjusted to the low-power mode in the non-static state, reducing the power consumption of the handwriting pen while ensuring that the handwriting pen can be awakened in real time, avoiding the situation that the user's experience is adversely affected due to the handwriting pen being adjusted to the sleep state for too long. When it is determined that the current interaction signal and the current pressure level meet the corresponding preset conditions, it means that the handwriting pen has reached the condition to switch to the low-power mode, and the handwriting pen can be switched to the low-power mode, thereby reducing the power consumption of the handwriting pen, improving the endurance time of the handwriting pen, and reducing the user's anxiety about the endurance of the handwriting pen. At the same time, the intelligence, mode switching flexibility and mode switching efficiency of the handwriting pen are improved to avoid low mode switching rate and reduce user experience.
[0025] In some embodiments, determining that the handwriting pen can trigger switching to the low-power mode includes: obtaining the current signal data in real time until a preset time period, and if the current interaction signal in the current signal data meets the first preset condition and the current pressure level meets the second preset condition, determining that the handwriting pen can trigger switching to the low-power mode.
[0026] When determining whether the handwriting pen can enter the low-power mode according to the current interaction signal and the current pressure level, a prerequisite condition must also be met, that is, after the system meets the prerequisite condition set by the system, the system determines the current interaction signal and the current pressure level for low-power mode switching determination, which is effective determination. The prerequisite condition is that the current signal data of the handwriting pen still meets the condition to switch to the low-power mode after the preset time period.
[0027] If the preset time period has not been continued, the determination of the current interaction signal and the current pressure level by the system is invalid determination. By continuing the condition determination for the preset time period, the accuracy of the system's determination of the current state of the electronic pen is further improved, and the probability of adverse effects caused by the determination error of the current state of the handwriting pen is further reduced.
[0028] In some embodiments, the first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure level is less than zero.
[0029] The first preset condition provided by the present disclosure is that the current interaction signal does not exist, and the second preset condition is that the current pressure level is less than zero. By the above two preset conditions, it can be determined whether the handwriting pen is in a non-static state and not connected to other devices, that is, it can be switched to a low-power mode.
[0030] In some embodiments, the method further comprises: when the current interaction signal does not satisfy the first preset condition or the current pressure level does not satisfy the second preset condition, maintaining the current running mode of the stylus.
[0031] When the system detects that one of the current interaction signal and the current pressure level of the stylus does not satisfy the corresponding preset condition, it indicates that the stylus does not fully satisfy the condition for switching to the low-power mode, and only the current running mode of the stylus needs to be maintained.
[0032] In some embodiments, after the stylus switches to the low-power mode, the method further comprises: acquiring axial detection data of the stylus in real time, and comparing the axial detection data with second axial threshold data; and when the axial detection data is greater than or equal to the second axial threshold data, switching the stylus out of the low-power mode. In order to reduce the running power consumption of the stylus as much as possible while not affecting the efficiency of the user waking up the stylus, the mode switching method provided by the present disclosure closes all running task events of the stylus when adjusting the stylus to the low-power mode, thereby reducing the power consumption of the stylus. At the same time, the monitoring unit of the stylus for the external interrupt signal is started, so as to avoid reducing the rate of the user waking up the stylus and affecting the user experience.
[0033] In order to further reduce the frequency of the stylus being woken up without reason, the system also adjusts the axial data threshold of the external interrupt signal to the low-power mode, that is, increases the threshold data corresponding to the axial data, thereby reducing the probability of the stylus being woken up by mistake, on the one hand, improving the service life of the stylus, and on the other hand, reducing the charging frequency of the stylus.
[0034] In a second aspect, the embodiments of the present disclosure further provide a stylus control system, which comprises a signal triggering module, a data acquisition module and a mode switching module; wherein:
[0035] The signal triggering module is configured to trigger an external interrupt signal; the data acquisition module is configured to acquire current signal data in response to the external interrupt signal; and the mode switching module is configured to determine, based on the current signal data, that the stylus can trigger switching to a low-power mode, and then switch the stylus to the low-power mode.
[0036] In a third aspect, the embodiments of the present disclosure provide a stylus control method, which comprises the following steps:
[0037] In the case that the stylus enters a sleep state, in response to the acquired angle of the stylus being not less than a preset first angle threshold, a target angle not less than a preset mode recognition angle threshold is acquired within a preset verification time length.
[0038] When the number of target angles is less than a preset first verification number threshold, a target mode is entered, and the following steps are performed in the target mode: the stylus is controlled to remain in a dormant state, a current verification duration is extended, and the first verification number threshold is increased; in a next time, target angles are obtained based on the current verification duration, and when the number of obtained target angles is less than the current first verification number threshold, the target mode is maintained, and the steps performed in the target mode are cycled until the cycle is exited.
[0039] The stylus is woken up.
[0040] In some embodiments, after the target angles are obtained based on the current verification duration, the steps performed in the target mode further include:
[0041] When the number of target angles obtained based on the current verification duration is 0, the stylus is controlled to remain in the dormant state.
[0042] The current first verification number threshold is restored to the first verification number threshold when the target mode is entered, the current verification duration is restored to the verification duration when the target mode is entered, and the target mode is exited.
[0043] In some embodiments, after the target mode is maintained, the steps performed in the target mode further include:
[0044] A preset first angle difference threshold is decreased.
[0045] The stylus is woken up, including:
[0046] A current first angle of the stylus and a second angle corresponding to a current stylus trajectory are obtained.
[0047] The current first angle difference threshold is compared with a first angle difference between the first angle and the second angle, and if the first angle difference is less than the current first angle difference threshold, the stylus is controlled to enter a wake-up state.
[0048] In some embodiments, after the stylus is controlled to enter the wake-up state, the method further includes:
[0049] The target mode is exited, the current first verification number threshold is restored to the first verification number threshold when the target mode is entered, the current verification duration is restored to the verification duration when the target mode is entered, and the current first angle difference threshold is restored to the first angle difference threshold when the target mode is entered.
[0050] In some embodiments, after the current first angle difference threshold is compared with the first angle difference between the first angle and the second angle, the method further includes:
[0051] When the first angle difference is not less than a current first angle difference threshold, the target mode is maintained, and the steps executed in the target mode are recycled according to the current first angle difference threshold, the current verification duration and the current first verification quantity threshold.
[0052] In some embodiments, after the target angle is obtained based on the current verification duration, the steps executed in the target mode further include:
[0053] When the quantity of the obtained target angles is not less than a current first verification quantity threshold, a second angle difference between each two adjacent target angles is calculated according to an angle sequence of the target angles obtained within the current verification duration.
[0054] When any one of the second angle differences is less than a preset second angle difference threshold, the target mode is maintained, and the steps executed in the target mode are recycled according to the current verification duration, the current first verification quantity threshold and the current first angle difference threshold.
[0055] In some embodiments, after the second angle difference between each two adjacent target angles is calculated, the method further includes:
[0056] In the case that a plurality of second angle differences are not less than a second angle difference threshold, if the plurality of second angle differences that are not less than the second angle difference threshold are continuous and the quantity is not less than a preset second verification quantity threshold, the target mode is maintained, and the steps executed in the target mode are recycled according to the current verification duration, the current first verification quantity threshold and the current first angle difference threshold.
[0057] In a fourth aspect, the disclosure provides a handwriting pen control device, which includes:
[0058] A target angle obtaining module is configured to, in the case that the handwriting pen enters a sleep state, obtain a target angle that is not less than a preset angle threshold within a preset verification duration in response to an angle of the handwriting pen obtained being not less than a preset first angle threshold.
[0059] A target mode processing module is configured to, when the quantity of the target angles is less than a preset first verification quantity threshold, enter a target mode, and execute the following steps in the target mode: control the handwriting pen to maintain the sleep state, perform extension processing on the verification duration, and perform promotion processing on the first verification quantity threshold; at a next time, obtain a target angle based on the current verification duration, maintain the target mode when the quantity of the obtained target angles is less than a current first verification quantity threshold, and recycle the steps executed in the target mode until the recycling is exited.
[0060] A wake-up module is configured to perform wake-up processing on the handwriting pen.
[0061] In a fifth aspect, the embodiments of the present disclosure provide a handwriting pen, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the method of the first aspect or the third aspect when executing the computer program.
[0062] In a sixth aspect, the embodiments of the present disclosure provide a computer readable storage medium, the computer readable storage medium storing a computer program, and the computer program implementing the method of the first aspect or the third aspect when executed by a processor.
[0063] In the present disclosure, when the handwriting pen enters the sleep state, the target angle not less than the preset mode recognition angle threshold is acquired within the preset verification duration in response to the acquired angle of the handwriting pen being not less than the preset first angle threshold; when the number of the target angles is less than the preset first verification number threshold, the target mode is entered, and the following steps are executed in the target mode: the handwriting pen is controlled to remain in the sleep state, the verification duration is extended, and the first verification number threshold is improved; at the next moment, the target angle is acquired based on the current verification duration, and when the number of the acquired target angles is less than the current first verification number threshold, the target mode is maintained, and the steps executed in the target mode are cycled until the cycle is exited; and the handwriting pen is woken up. By responding to the acquired handwriting pen angle not less than the first angle threshold, it can be determined that the handwriting pen enters the motion state. Then, by identifying whether the number of the target angles exceeds the first verification number threshold, it can be determined whether the motion state of the handwriting pen is continuous. When the handwriting pen is in the continuous motion state, the target mode can be entered, in which the handwriting pen can be controlled to continue sleeping, and the verification duration can be extended and the first verification number threshold can be improved in a loop to determine whether the target angle acquired in the extended verification duration is not less than the improved first verification number threshold, so that the handwriting pen can remain in the sleep state in the motion state caused by non-use factors through the loop steps in the target mode, which is conducive to reducing the additional power consumption caused by false wake-up. In addition, since the handwriting pen can be kept in the target mode in a loop in the target mode, when the handwriting pen is in a motion state environment capable of generating non-use factors, the handwriting pen can keep the adaptive sleep state for the environment in a self-looping manner, which is conducive to reliably keeping the handwriting pen in the sleep state in multiple environments, thereby effectively reducing the additional power consumption caused by false wake-up. BRIEF DESCRIPTION OF DRAWINGS
[0064] In order to more clearly illustrate the technical solutions in the present disclosure or the related art, the following will briefly introduce the drawings needed to be used in the embodiments or the related description. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and all other drawings obtained by those of ordinary skill in the art without creative effort based on these drawings are within the protection scope of the present disclosure.
[0065] Fig. 1 is a flowchart of one embodiment of the handwriting pen control method provided by the present disclosure;
[0066] Fig. 2 is a structural diagram of one embodiment of the handwriting pen control system provided by the present disclosure;
[0067] Fig. 3 is a flowchart of another embodiment of the mode switching method for reducing the power consumption of the handwriting pen provided by the present disclosure;
[0068] Fig. 4 is a flowchart of another embodiment of the handwriting pen control method provided by the present disclosure;
[0069] Fig. 5 is a schematic diagram of the handwriting pen control template provided by one embodiment of the present disclosure;
[0070] Fig. 6 is a flowchart of the handwriting pen control method for increasing the unit project association provided by one embodiment of the present disclosure;
[0071] Fig. 7 is a flowchart of the handwriting pen control method for the second target unit project without corresponding source file provided by one embodiment of the present disclosure;
[0072] Fig. 8 is a structural diagram of the handwriting pen control device provided by the embodiment of the present disclosure;
[0073] Fig. 9 is a schematic diagram of the hardware structure of the handwriting pen provided by the embodiment of the present disclosure. DETAILED DESCRIPTION
[0074] The technical solutions in the embodiments of the present disclosure will be described clearly and completely in the following with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some embodiments of the present disclosure, not all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present disclosure.
[0075] Embodiment One
[0076] Please refer to Fig. 1, which is a flowchart of one embodiment of the mode switching method for reducing the power consumption of the handwriting pen provided by the present disclosure, including steps 101 to 103, each step is as follows:
[0077] Step 101: Trigger an external interrupt signal.
[0078] The mode switching method for reducing power consumption of a handwriting pen provided by the embodiments of the present disclosure first responds to an external interrupt signal triggered by a target handwriting pen, that is, determines that the target handwriting pen is in an unstable, that is, non-stationary state, and needs to further determine the current state of the target handwriting pen.
[0079] In the present embodiment, when the handwriting pen triggers an external interrupt signal, it means that the handwriting pen is in a non-stationary state, such as being carried in a backpack or pocket, while the user is in a motion state such as walking, running, playing, fighting, or riding a vehicle. At this time, the handwriting pen is in a non-stationary state and constantly shaking, and cannot be stabilized in a sleep state. However, since the user does not use the handwriting pen at this time, the handwriting pen has not entered the working mode. Therefore, the embodiments of the present disclosure will further determine the current signal data of the handwriting pen to determine whether the handwriting pen can be switched to a low-power mode, thereby avoiding the handwriting pen being switched to the working mode and reducing the running power consumption of the handwriting pen.
[0080] The present embodiment triggers an external interrupt signal, including: acquiring axial detection data in real time, and comparing the axial detection data with preset first axial threshold data; when the axial detection data is greater than or equal to the first axial threshold data, the external interrupt signal is triggered.
[0081] In order to improve the mode switching efficiency of the handwriting pen and further reduce its power consumption, the mode switching method provided by the embodiments of the present disclosure first compares the axial detection data of the target handwriting pen with its corresponding first axial threshold, and then determines whether the external interrupt signal of the handwriting pen can be triggered according to the comparison result, that is, to determine whether the target handwriting pen is in a non-stationary state.
[0082] If the comparison determines that the axial detection data is greater than or equal to the corresponding first axial threshold data, it is determined that the axial detection data of the handwriting pen has reached the pre-set external interrupt signal triggering threshold, and the system will determine that the handwriting pen has been in a non-stationary state at this time. The next step of determining whether the handwriting pen can enter a low-power state is to further determine whether the handwriting pen is in a non-stationary state but not connected to the corresponding device, so as to reduce the power consumption of the handwriting pen after entering the non-stationary state.
[0083] In addition, the present embodiment further includes: when the axial detection data is less than the axial threshold data, the current running mode of the handwriting pen is maintained. In order to perfect the mode switching method, when it is detected that there is no axial data greater than or equal to the corresponding threshold, the handwriting pen will maintain the current running mode unchanged, and continuously monitor the axial data of the handwriting pen.
[0084] In the embodiment, the stylus comprises a low-power master MCU and a motion sensor, and the type of the motion sensor is not limited in the embodiment. The motion sensor comprised by the stylus can be a three-axis sensor, a six-axis sensor or a nine-axis sensor, etc.
[0085] If the motion sensor in the stylus is an ACC sensor, also known as an acceleration sensor, it can be used to measure the linear acceleration of an object in space and the angular acceleration of the object in the axial direction. The ACC sensor is a low-power and high-performance sensor developed by a capacitive three-axis linear accelerometer through micro-machining technology. According to the function of the sensor, the user can select the measurement full range data of ±2g or ±4g or ±8g, and the corresponding output rate range includes 1Hz to 1kHz. Under the preset signal condition, the motion sensor is embedded in the stylus, so that the axial data of the stylus can be actively detected.
[0086] Meanwhile, the ACC sensor also has a power-off mode, which ensures that the axial data of the stylus is actively detected when the stylus is in a sleep state, ensuring the timeliness of the low-power mode switching of the stylus, and also simplifying the algorithm detection process of the motion state of the stylus. The sensor uses a standard I2C interface, which is used for communication with the master MCU chip, i.e., the external interrupt signal is triggered in the embodiment.
[0087] Further, the axial detection data is compared with the preset first axial threshold data, including:
[0088] The axial detection sub-data of different axial types in the axial detection data is compared with the corresponding axial threshold sub-data.
[0089] When the axial detection sub-data is greater than or equal to the axial threshold sub-data, the external interrupt signal is triggered.
[0090] When the axial detection data of the stylus is detected and compared, the system matches and compares the axial detection data with the corresponding threshold data according to the axial type, i.e., each axial detection data is compared with the corresponding threshold data according to the corresponding axial type, to ensure the accuracy of the detection comparison result.
[0091] In order to improve the sensitivity of the stylus mode switching, when the axial detection data of multiple different axial types is detected, as long as the axial detection sub-data of one axial type is greater than or equal to the corresponding axial threshold sub-data, it is determined that the stylus has reached the condition of triggering the external interrupt signal, and the external interrupt signal can be triggered to enter the next low-power mode determination step.
[0092] Step 102: In response to the external interrupt signal, acquire current signal data.
[0093] By acquiring the current signal data of the stylus and judging it, it is determined whether the current state data of the target stylus has reached the requirement of being switchable to the low-power mode. In the embodiment, the basic function of the stylus is to communicate with the screen of the host terminal such as a tablet or a computer or a mobile phone through the stylus transmission protocol (USI, MPP or HPP, etc.) to realize writing and drawing lines on the screen of the host terminal. The style of the lines such as thickness and color displayed on the screen of the host terminal can be set through the screen, and the stylus only needs to send the corresponding content to the screen according to the pressure level and position of the stylus tip to realize the interaction with the screen of the host terminal including output and input.
[0094] Among them, the signal sent by the host terminal to the stylus terminal is the uplink signal, which is abbreviated as UL signal; and the signal transmitted by the stylus to the host terminal is called downlink signal, which is abbreviated as DL signal, that is, the current interaction signal of the embodiment.
[0095] Among them, the external interrupt signal of the embodiment is the ACC interrupt signal triggered by the ACC sensor.
[0096] Step 103: If it is determined that the stylus can trigger the switch to the low-power mode based on the current signal data, the stylus is switched to the low-power mode.
[0097] If it is determined that the stylus can trigger the switch to the low-power mode, the stylus is switched to the low-power mode, thereby reducing the power consumption of the stylus, improving the service life of the stylus, and reducing the user's stylus endurance anxiety. After responding to the external interrupt signal, the current signal data of the stylus is still determined, which also avoids the problem of invalid consumption of the stylus power caused by the stylus being mistakenly touched, thereby causing the invalid increase of the stylus power consumption, reduces the power consumption of the stylus, and improves the endurance time of the stylus.
[0098] In the embodiment, the running modes of the stylus include a hibernation state, a low-power mode and a high-power mode, wherein the hibernation state includes a sleep mode (Sleep) and a shipping mode (shipping), and the high-power mode includes a working mode (working) and an idle mode (Idle). The working mode (working) has the highest running power consumption, when the stylus is in the mode, the stylus will be actively connected to the device and obtain input from the Host device with the lowest possible delay. The idle mode (Idle) refers to the mode in which the stylus is not connected to the Host device. Since the stylus is connected to the Host end and the functional modules in the stylus are adjusted to the working mode for running, the corresponding power consumption will be consumed, therefore, when the stylus is in the idle mode, since most of the task modules in the stylus are in the idle mode, the power consumption of the idle mode is lower than that of the working mode. The sleep mode (Sleep) refers to the mode in which the master MCU of the stylus is in a low-power mode, and there is no running task functional module in the system, including writing task, power detection or NFC interface task. When the stylus is in the sleep mode, it will wait for an external interrupt event to trigger in real time to wake up the master MCU, and then switch out of the sleep mode. Since there is no running task module in the stylus in the sleep mode, the running power consumption is lower than that in the idle mode. The shipping mode (shipping) is the lowest running power consumption mode of the stylus, that is, the stylus is in the lowest power state. When the stylus is in the shipping mode, only the lithium battery protection circuit (Protection IC) of the stylus system is in the running state, and other task modules (including the master MCU) are in the sleep mode, that is, the power-off state, therefore, the power consumption of the stylus system will be reduced to the lowest.
[0099] The low-power mode of the embodiment is a running mode with power consumption higher than that of the sleep mode (Sleep) and lower than that of the idle mode (Idle). Compared with the sleep mode, the detection and judgment of the low-power mode and the monitoring of the current signal data of the stylus when the stylus is woken up from the sleep mode will consume power, therefore, the power consumption of the low-power mode is higher than that of the sleep mode and lower than that of the idle mode.
[0100] The embodiment determines that the stylus can trigger switching to the low-power mode based on the current signal data, including:
[0101] The current signal data includes a current interaction signal and a current pressure level; if the current interaction signal meets a first preset condition and the current pressure level meets a second preset condition, it is determined that the stylus can trigger switching to a low-power mode. After determining that the stylus is in a non-stationary state, the system further determines whether the stylus is in a state of waiting for device connection, i.e., whether the user needs to start the stylus. By detecting the current signal data of the stylus, including the current interaction signal and the current pressure level, and comparing them with the corresponding first preset condition and second preset condition respectively, it is determined whether the stylus is switched to the low-power mode in the non-stationary state, i.e., whether the current state of the stylus meets the non-stationary but not the start state, so that the running mode of the stylus can be adjusted to the low-power mode in the non-stationary state, reducing the power consumption of the stylus while ensuring that the stylus can be awakened in real time, avoiding the case that the user's experience is adversely affected due to the stylus being adjusted to the sleep state and the awakening time being too long.
[0102] When it is determined that the current interaction signal and the current pressure level both meet the corresponding preset conditions, it means that the stylus has reached the condition for switching to the low-power mode, and the stylus can be switched to the low-power mode, thereby reducing the power consumption of the stylus, improving the endurance time of the stylus, and reducing the user's anxiety about the endurance of the stylus. At the same time, the intelligence, mode switching flexibility and mode switching efficiency of the stylus are improved, avoiding the low mode switching rate leading to a decrease in user experience.
[0103] Further, the embodiment determines that the stylus can trigger switching to a low-power mode, including: obtaining current signal data in real time until a preset time period, if the current interaction signal in the current signal data meets a first preset condition and the current pressure level meets a second preset condition, it is determined that the stylus can trigger switching to a low-power mode. When judging whether the stylus can enter the low-power mode according to the current interaction signal and the current pressure level, a prerequisite condition must be met, i.e., after meeting the prerequisite condition set by the system, the system determines the current interaction signal and the current pressure level for low-power mode switching, which is effective. The prerequisite condition is that the current signal data of the stylus still meets the condition for switching to the low-power mode after the preset time period.
[0104] If the preset time period has not been continued, the determination of the current interaction signal and the current pressure level by the system is invalid. By continuously determining the condition for a preset time period, the accuracy of the system's determination of the current state of the stylus is further improved, and the probability of adverse effects caused by the determination error of the current state of the stylus is further reduced.
[0105] The preset time period of the embodiment can be, for example, one minute or two minutes. The user can adjust the time value of the preset time period according to actual conditions or use habits.
[0106] Further, the first preset condition of the embodiment is that the current interaction signal does not exist, and the second preset condition is that the current pressure level is less than zero.
[0107] The first preset condition of the embodiment is that the current interaction signal does not exist, and the second preset condition is that the current pressure level is less than zero. The two preset conditions can be used to determine whether the stylus is in a non-stationary state and not connected to other devices, and the low-power mode can be switched to.
[0108] In the embodiment, the current interaction signal is an uplink signal (UL signal) sent by the Host end to the stylus end.
[0109] Further, the embodiment further includes the following steps after the stylus is switched to the low-power mode: real-time acquisition of axial detection data of the stylus, comparison of the axial detection data with second axial threshold data, and switching of the stylus out of the low-power mode when the axial detection data is greater than or equal to the second axial threshold data. In order to reduce the running power consumption of the stylus as much as possible, the efficiency of the user waking up the stylus is not affected, and the mode switching method provided by the embodiment adjusts the stylus to the low-power mode, which closes all running task events of the stylus, thereby reducing the power consumption of the stylus. At the same time, the monitoring unit of the stylus for external interrupt signals is started, so as to avoid reducing the rate of the user waking up the stylus and affecting the use experience of the user.
[0110] In order to further reduce the frequency of the stylus being woken up without reason, the system adjusts the axial data threshold value of the external interrupt signal to the low-power mode, that is, increases the threshold value data corresponding to the axial data, thereby reducing the probability of the stylus being woken up by mistake, on the one hand, the service life of the stylus is improved, and on the other hand, the charging frequency of the stylus is reduced.
[0111] When the stylus is switched to the low-power mode, the stylus system enters a low-power sleep mode, and the wake-up threshold value corresponding to the low-power mode is set, that is, the axial threshold value data of the embodiment. When the real-time monitored axial data of the stylus exceeds the axial threshold value data corresponding to the axial type, the stylus is woken up, thereby reducing the power consumption of the stylus without affecting the use experience of the user.
[0112] The threshold value of the low-power mode is not further limited in the embodiment, but the optional threshold value of the embodiment is as follows: X-axis (stylus tip direction): 35 degrees; Y-axis (perpendicular direction of the stylus body): 45 degrees; and Z-axis (perpendicular direction of the stylus body): 45 degrees.
[0113] Embodiment Two
[0114] Correspondingly, referring to FIG. 3, FIG. 3 is a flow chart of another embodiment of the mode switching method for reducing the power consumption of the stylus provided by the present disclosure. As shown in FIG. 3, the mode switching method provided by the present embodiment includes the following three judgment steps:
[0115] Step One: Determine whether there is an external interrupt signal.
[0116] As shown in FIG. 3, when no external interrupt signal is monitored, the stylus will return to the step of monitoring the external interrupt signal until an external interrupt signal is monitored.
[0117] When an external interrupt signal is monitored, i.e., the present embodiment determines that there is an external interrupt signal, the current state of the system is further determined, and then whether the stylus should be switched to the low-power mode is determined according to the determination result.
[0118] Step Two: When it is determined that there is an external interrupt signal, it is determined whether the current interaction signal of the system meets the first preset condition and the current pressure level meets the second preset condition.
[0119] As shown in FIG. 3, after the system monitors the external interrupt signal, it is further determined whether the current interaction signal of the system meets the first preset condition and the current pressure level meets the second preset condition. Whether there is a current interaction signal and the current pressure level is not equal to zero, if there is no current interaction signal and the current pressure level is equal to zero, the current signal data of the stylus is further determined; and if there is a current interaction signal or the current pressure level is not equal to zero, the current running mode of the stylus is kept unchanged, and the step of monitoring the external interrupt signal is returned.
[0120] Step Three: When it is determined that the current interaction signal of the system meets the first preset condition and the current pressure level meets the second preset condition, it is determined whether the current interaction signal meets the first preset condition and the current pressure level meets the second preset condition after a preset time period.
[0121] As shown in FIG. 3, when the stylus determines that the current interaction signal of the stylus meets the first preset condition and the current pressure level meets the second preset condition, it is further determined whether the current interaction signal of the stylus still meets the first preset condition and the current pressure level still meets the second preset condition after a preset time period.
[0122] When it is determined that the current interaction signal of the stylus still meets the first preset condition and the current pressure level still meets the second preset condition, it is determined that the stylus can be switched to the low-power consumption mode; if it is determined that the current interaction signal of the stylus does not meet the first preset condition or the current pressure level does not meet the second preset condition after the preset time period, it is determined that the stylus remains in the current running mode and does not switch, and the step of monitoring the external interrupt signal is returned to.
[0123] As an example provided in the embodiment, in the example, the first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure level, i.e., the pressure level change between the pressure level at the current moment and the pressure level at the previous moment, is zero, i.e., the second preset condition provided in the example is that the pressure level of the system does not change in the preset time period.
[0124] As another example provided in the embodiment, in the example, the first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure level, i.e., the pressure level at the current moment, is zero, i.e., the judgment content in step three in the example is whether the pressure level of the stylus after the preset time period is still equal to zero, i.e., whether the pressure level of the stylus in the preset time period has changed, to determine whether the stylus can be adjusted to the low-power consumption mode.
[0125] It can be seen that, in the embodiment, if the system determines that the stylus can meet the requirement of switching to the low-power consumption mode, in order to further improve the accuracy of mode switching judgment and avoid the adverse effects of mode switching errors on users, the system will continuously collect and judge the current signal data of the stylus in the preset time period, continuously determine whether the signal data can meet the requirement of switching to the low-power consumption mode, and until the preset time period is exceeded and the system still determines that the current signal data of the stylus can meet the switching standard of the low-power consumption mode, the running mode of the stylus is switched to the low-power consumption mode. Through the above mode switching method, the problem of invalid consumption of the stylus caused by accidental touch of the stylus can be avoided, and the problem of invalid increase of the stylus power consumption can be avoided, thereby reducing the stylus power consumption and improving the battery life of the stylus. At the same time, through the continuous detection and judgment in the preset time period, the situation that the stylus is turned off at the working time node of the user can be avoided, the intelligence of the stylus is improved, the experience of the user is improved, and the stylus battery life anxiety of the user is reduced.
[0126] In addition, the system can be adjusted to obtain the current signal data of the stylus in real time until after a preset time period, if it is determined that the current signal data of the stylus can still be switched to the low-power mode, that is, it is detected that there is no current interaction signal and the current pressure level is less than or equal to zero, the stylus can be switched to the shipping mode, but when the stylus is in the shipping mode, the user needs to wake up the stylus through a button or charging, so the wake-up step of this method is more complex than that of the low-power mode. In order to better illustrate the working principle and step flow of the stylus control method, system, device, stylus and medium provided by the present disclosure, reference can be made to the related description in the foregoing, but not limited thereto.
[0127] Correspondingly, referring to FIG. 2, FIG. 2 is a structural schematic diagram of one embodiment of a stylus control system for reducing power consumption of a stylus provided by the present disclosure. As shown in FIG. 2, the stylus control system comprises a signal triggering module 201, a data acquisition module 202 and a mode switching module 203; wherein:
[0128] The signal triggering module 201 is used to trigger an external interrupt signal. Further, the signal triggering module 201 triggers the external interrupt signal, comprising: acquiring axial detection data in real time, and comparing the axial detection data with preset first axial threshold data; when the axial detection data is greater than or equal to the first axial threshold data, the external interrupt signal is triggered.
[0129] Further, the signal triggering module 201 further comprises: when the axial detection data is less than the threshold data, the current running mode of the stylus is maintained.
[0130] Further, the signal triggering module 201 compares the axial detection data with the preset first axial threshold data, comprising:
[0131] The axial detection sub-data of different axial types in the axial detection data is compared with the corresponding axial threshold sub-data; when there is axial detection sub-data greater than or equal to the axial threshold sub-data, the external interrupt signal is triggered.
[0132] The data acquisition module 202 is used to acquire current signal data in response to the external interrupt signal.
[0133] The mode switching module 203 is used to determine that the stylus can trigger switching to the low-power mode based on the current signal data, and then switch the stylus to the low-power mode.
[0134] Further, the mode switching module 203 determines that the stylus can trigger switching to the low-power mode based on the current signal data, comprising:
[0135] The current signal data includes a current interaction signal and a current pressure level; if the current interaction signal meets a first preset condition and the current pressure level meets a second preset condition, it is determined that the stylus can trigger switching to a low-power mode. Further, the mode switching module 203 determines that the stylus can trigger switching to the low-power mode, including: obtaining current signal data in real time until a preset time period, if the current interaction signal in the current signal data meets the first preset condition and the current pressure level meets the second preset condition, it is determined that the stylus can trigger switching to the low-power mode.
[0136] Further, the first preset condition of the mode switching module 203 is that the current interaction signal does not exist, and the second preset condition is that the current pressure level is less than zero.
[0137] Further, the mode switching module 203 further includes: when the current interaction signal does not meet the first preset condition, or the current pressure level does not meet the second preset condition, the current running mode of the stylus is maintained. Further, the mode switching module 203 after the stylus switches to the low-power mode, further includes: obtaining axial detection data of the stylus in real time, and comparing the axial detection data with second axial threshold data; when the axial detection data is greater than or equal to the second axial threshold data, the stylus is switched out of the low-power mode.
[0138] In summary, the embodiments of the present disclosure provide a mode switching method and system for reducing the power consumption of a stylus, which obtains current signal data in response to a triggered external interrupt signal, and determines that the stylus can trigger switching to a low-power mode based on the current signal data, and then switches the stylus to the low-power mode. The present application reduces the power consumption of the stylus and the user's endurance anxiety by switching the stylus to the low-power mode, and improves the service life of the stylus; after responding to the external interrupt signal, the current signal data of the stylus is still determined, which also avoids the problem of invalid consumption of the stylus power caused by accidental touch, thereby causing invalid increase of the stylus power consumption, and improves the endurance time of the stylus.
[0139] Embodiment three
[0140] In the related art, in the related art, the stylus can be divided into active stylus (with power supply, so that the stylus can realize more functions through certain electronic technology) and passive stylus (without power supply, only can write input through simulating the capacitance characteristics of human finger) according to whether it is built-in power supply. The active stylus can be set with sleep and wake-up functions to reduce power consumption when not in use.
[0141] In the wake-up mode of the active stylus, one wake-up mode is that the stylus wakes up by itself. The main principle is that when the vibration angle (or acceleration) of the stylus exceeds a certain threshold, the stylus can wake up. However, in actual use scenarios, there may be vibration scenarios. If the intensity of the vibration exceeds a certain degree, the stylus may be mistakenly woken up, thereby causing additional power consumption.
[0142] In order to enable the stylus in the sleep state to remain in the sleep state when in a motion state caused by a non-use factor, so as to reduce the additional power consumption caused by mistaken wake-up, the embodiments of the present disclosure provide a stylus control method. In the case that the stylus enters the sleep state, the stylus control method can acquire a target angle that is not less than a preset mode recognition angle threshold within a preset verification duration in response to the angle of the stylus being not less than a preset first angle threshold; when the number of target angles is less than a preset first verification number threshold, enter a target mode, and perform the following steps in the target mode: control the stylus to remain in the sleep state, extend the verification duration, and improve the first verification number threshold; at the next moment, acquire the target angle based on the current verification duration, and when the number of acquired target angles is less than the current first verification number threshold, remain in the target mode, and perform the steps in the target mode in a loop until the loop is exited; and perform wake-up processing on the stylus. By responding to the angle of the stylus being not less than the first angle threshold, it can be determined that the stylus enters a motion state. Then, by identifying whether the number of target angles exceeds the first verification number threshold, it can be determined whether the motion state of the stylus is continuous. In the case that the stylus is in a continuous motion state, the stylus can enter the target mode. In the target mode, the stylus can be controlled to continue to sleep, and the verification duration can be extended and the first verification number threshold can be improved in a loop to determine whether the target angle acquired in the extended verification duration is not less than the improved first verification number threshold, so that the stylus in the motion state caused by a non-use factor can be woken up. In this way, the stylus can remain in the sleep state in the motion state caused by a non-use factor through the loop steps in the target mode, which is beneficial to reducing the additional power consumption caused by mistaken wake-up. In addition, since the stylus can remain in the target mode in a loop in the target mode, when the stylus is in a motion state environment that can cause a non-use factor, the stylus can remain in an adaptive sleep state for the environment in a self-looping manner, which is beneficial to reliably keeping the stylus in the sleep state in multiple environments, thereby effectively reducing the additional power consumption caused by mistaken wake-up.
[0143] The stylus control method provided by the embodiments of the present disclosure can be applied to a stylus device or software running on a terminal. In some embodiments, the stylus device can be an electromagnetic pen, an active capacitive pen, etc., and the software can be an application that implements the stylus control method, but is not limited to the above forms.
[0144] The present disclosure can be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types.
[0145] Referring to FIG. 4, FIG. 4 shows a handwriting pen control method provided by an embodiment of the present disclosure. In this embodiment, the handwriting pen control method can at least include steps 410 to 430.
[0146] Step 410: In the case that the handwriting pen enters a sleep state, in response to the obtained angle of the handwriting pen being not less than a preset first angle threshold, obtaining a target angle that is not less than a preset pattern recognition angle threshold within a preset verification duration.
[0147] Step 420: When the number of target angles is less than a preset first verification number threshold, entering a target mode, and performing the following steps in the target mode: controlling the handwriting pen to remain in the sleep state, prolonging the verification duration, and improving the first verification number threshold; in the next moment, obtaining a target angle based on the current verification duration, and when the number of obtained target angles is less than the current first verification number threshold, remaining in the target mode, and performing the steps in the target mode in a loop until the loop is exited.
[0148] Step 430: Performing a wake-up process on the handwriting pen.
[0149] In some embodiments, the handwriting pen entering the sleep state means that the handwriting pen set to the sleep state continuously obtains its own angles, and none of these angles is greater than or equal to the preset first angle threshold. The sleep state means that the handwriting pen cannot perform writing input with a terminal or other device. In addition, the handwriting pen entering the sleep state can be in a stationary state or in a motion state. It should be noted that in the embodiment of the present disclosure, when the angle obtained by the handwriting pen in the sleep state is not less than the first angle threshold, the handwriting pen is in the motion state, but the handwriting pen is still in the sleep state internally. In addition, it should be noted that when the handwriting pen is in the stationary state, the angle of the handwriting pen obtained can be 0 or can not be 0, which is not limited here.
[0150] In some embodiments, in the process of obtaining the target angle that is not less than the preset angle threshold within the preset verification duration, the angles of multiple handwriting pens can be obtained within the preset verification duration first, and then each handwriting pen angle is compared with the preset pattern recognition angle threshold, and each angle that is not less than the pattern recognition angle threshold is determined as the target angle. The angle sampling frequency of the handwriting pen when entering the sleep state can be the same as or different from the angle sampling frequency of the handwriting pen within the preset verification duration, which is not limited here.
[0151] In some embodiments, the first angle threshold refers to an angle threshold used to determine whether the stylus is in a motion state. The pattern recognition angle threshold refers to an angle threshold used to determine whether the stylus in the motion state needs to enter the target mode. The first angle threshold can be equal to the pattern recognition angle threshold, or can be less than the pattern recognition angle threshold, which is not limited here.
[0152] In some embodiments, the target mode refers to a mode used to identify whether the change in the motion state of the stylus currently in the sleep state is caused by the writing activity of the stylus, so as to determine whether to wake up the stylus.
[0153] In some embodiments, the prolonging of the verification duration refers to an operation of increasing the value of the verification duration to obtain a longer verification duration. The prolonging manner is various, which can first determine a prolonging coefficient according to the execution number of the prolonging after entering the target mode, then prolong the verification duration according to the prolonging coefficient, or increase a preset fixed duration, etc., which is not limited here.
[0154] In some embodiments, the improving of the first verification number threshold refers to an operation of increasing the value of the first verification number threshold to obtain a larger first verification number threshold. The improving manner is various, which can first determine an improving coefficient according to the execution number of the improving after entering the target mode, then improve the first verification number threshold according to the improving coefficient, or increase a preset fixed value, etc., which is not limited here.
[0155] In some embodiments, the obtaining of the target angle based on the current verification duration refers to an operation of obtaining the target angle not less than the preset pattern recognition angle threshold in the verification duration after the prolonging. In the process of obtaining the target angle based on the current verification duration, a plurality of angles of the stylus can be obtained in the verification duration after the prolonging, then each angle of the stylus is compared with the preset pattern recognition angle threshold, and each angle not less than the pattern recognition angle threshold is determined as the target angle.
[0156] In some embodiments, the number of the obtained target angles is less than the first verification number threshold after the improving refers to a case that the number of the target angles obtained in the verification duration after the prolonging is less than the first verification number threshold after the improving.
[0157] In some embodiments, the step of performing a loop in the target mode refers to first controlling the stylus to remain in the dormant state, then extending the current verification duration (i.e., extending the verification duration that has been extended), increasing the current first verification quantity threshold (i.e., increasing the first verification quantity threshold that has been increased), and then at the next time, obtaining the target angle based on the verification duration at the current time, and then determining whether the number of target angles obtained based on the verification duration at the current time exceeds the first verification quantity threshold at the current time.
[0158] In some embodiments, when the number of target angles obtained during the process of performing the step of the loop in the target mode is less than the current first verification quantity threshold, the loop can be exited first, and then step 130 is performed. In the process of exiting the loop to perform step 130, the target mode can be maintained all the time, or the target mode can be exited at any time when step 130 is performed, which is not limited here.
[0159] In some embodiments, when the number of target angles is less than the preset first verification quantity threshold, the stylus can not enter the target mode, and the stylus can be directly controlled to remain in the dormant state.
[0160] In some embodiments, when the angles of the stylus obtained are all greater than or equal to the first angle threshold, the stylus can be controlled to remain in the dormant state.
[0161] In some embodiments, in the process of waking up the stylus, the stylus can be directly controlled to enter the wake-up state, or the stylus can be determined to enter the wake-up state by judging whether the stylus meets the preset wake-up condition (such as whether a writing trajectory is generated, whether the difference between the angles obtained subsequently is greater than a certain preset value, etc.) after the loop is exited, and the like, which is not limited here.
[0162] Referring to FIG. 5, FIG. 5 shows a flow of steps performed in the target mode according to another embodiment of the present disclosure. In some embodiments, after the target angle is obtained based on the current verification duration, the steps performed in the target mode can further include the following steps.
[0163] Step 510: When the number of target angles obtained based on the current verification duration is 0, the stylus is controlled to remain in the dormant state.
[0164] Step 520: The current first verification quantity threshold is restored to the first verification quantity threshold when the target mode is entered, the current verification duration is restored to the verification duration when the target mode is entered, and the target mode is exited.
[0165] In some embodiments, the number of target angles obtained based on the current verification duration being 0 means that none of the angles of the stylus obtained based on the current verification duration is greater than or equal to the mode recognition angle threshold. The obtained angle can be greater than or equal to the first angle threshold, or less than the first angle threshold, which is not limited here.
[0166] In some embodiments, in the process of restoring the current first verification number threshold to the first verification number threshold when entering the target mode, the preset first verification number threshold can be obtained first, and then the current first verification number threshold is updated to the preset first verification number threshold. In this way, the stylus can directly restore without the calculation process of subtracting the threshold value added in the promotion process from the current first verification number threshold, thereby improving the efficiency of the state of the stylus before being converted to enter the target mode.
[0167] In some embodiments, in the process of restoring the current first verification number threshold to the first verification number threshold when entering the target mode, the threshold value added in the target mode through the promotion process can be obtained first, then the current first verification number threshold is subtracted according to the determined threshold value to obtain the first verification number threshold when entering the target mode, and then the current first verification number threshold is updated to the first verification number threshold when entering the target mode.
[0168] In some embodiments, in the process of restoring the current verification duration to the verification duration when entering the target mode, the preset verification duration can be obtained first, and then the current verification duration is updated to the preset verification duration. In this way, the stylus can directly restore without the calculation process of subtracting the duration value extended in the extension process from the current verification duration, thereby improving the efficiency of the state of the stylus before being converted to enter the target mode.
[0169] In some embodiments, in the process of restoring the current verification duration to the verification duration when entering the target mode, the threshold value added in the target mode through the promotion process can be obtained first, then the current verification duration is subtracted according to the determined threshold value to obtain the verification duration when entering the target mode, and then the current verification duration is updated to the verification duration when entering the target mode.
[0170] In some embodiments, after exiting the target mode, the angle of the stylus can be continuously obtained, and in response to the obtained angle of the stylus being greater than or equal to the preset first angle threshold, the preset target angle can be obtained again to determine whether the target mode needs to be entered again.
[0171] By exiting the target mode in the case that the number of target angles obtained based on the current verification duration is 0, the stylus can exit the target mode in the case that the stylus does not meet the condition for keeping the target mode after entering the step cycle, so that the stylus can normally enter and exit the target mode, and the running correctness of the target mode is improved, and the case that the stylus cannot correctly wake up after using the target mode mechanism is effectively reduced. In addition, the verification number threshold reference and the verification duration reference used for judgment in the target mode are restored, so that the case that the first verification number threshold and the verification duration are too large to exit the cycle after entering the target mode next time is avoided, and the running correctness of the target mode is further improved.
[0172] Referring to FIG. 6, FIG. 6 shows a flow of an embodiment of step 130 in FIG. 4, and in some embodiments, after keeping the target mode, the steps performed in the target mode can further include lifting processing of a preset first angle difference threshold. On this basis, step 430 can include the following steps.
[0173] Step 610: obtaining a current first angle of the stylus and a second angle corresponding to a current stylus trajectory;
[0174] Step 620: comparing the current first angle difference threshold with a first angle difference between the first angle and the second angle, and if the first angle difference is less than the current first angle difference threshold, controlling the stylus to enter a wake-up state.
[0175] In some embodiments, the lowering processing of the first angle difference threshold refers to an operation of increasing the value of the first angle difference threshold to obtain a smaller first angle difference threshold. The lowering processing can be in various manners, for example, a lowering coefficient can be determined according to the number of times of lowering processing after entering the target mode, and then the first angle difference threshold is lowered according to the lowering coefficient, or a preset fixed value is added, and the like, which is not limited here.
[0176] In some embodiments, the second angle corresponding to the stylus trajectory refers to a direction angle of a path formed by the stylus when moving on the terminal plane after exiting the cycle. The trajectory of the stylus after exiting the cycle can be recognized and recorded by a trajectory measuring device arranged in the stylus, or the terminal can sense the path of the stylus moving on the terminal plane (it should be noted that at this time, the stylus is in a sleep state, and the terminal will not display the trajectory, but only sense and collect the trajectory), and the like, which is not limited here.
[0177] In some embodiments, the first angle difference threshold refers to a threshold for determining whether the current posture of the stylus matches the path formed on the terminal plane when the stylus is moving. When the stylus is used for writing, the posture of the stylus corresponds to the path (i.e., the handwriting) formed on the terminal plane. In consideration of the error between the angle obtained by the stylus and the angle corresponding to the current trajectory of the stylus due to the sensing speed and other conditions, the first angle difference threshold is set. When the first angle difference is less than the current first angle difference threshold, it indicates that the current posture of the stylus matches the path formed on the terminal plane when the stylus is moving, which proves that the stylus is in a state of being used. In this case, the stylus can be controlled to enter the wake-up state.
[0178] Since the first angle difference threshold is continuously reduced in the steps executed in the target mode, the matching degree between the current posture of the stylus and the path formed on the terminal plane when the stylus is moving becomes more stringent. Therefore, in the subsequent wake-up process, the first angle difference can be compared with a smaller first angle difference threshold, so that the matching degree between the current posture of the stylus which is always in a moving state and the path formed on the terminal plane when the stylus is moving can be more strictly determined, and whether the stylus in a moving state is used can be more accurately determined, which is beneficial to more accurately waking up the stylus.
[0179] In some embodiments, after step 620, step 430 can further include the following steps: exiting the target mode, restoring the current first verification quantity threshold to the first verification quantity threshold when entering the target mode, restoring the current verification duration to the verification duration when entering the target mode, and restoring the current first angle difference threshold to the first angle difference threshold when entering the target mode.
[0180] In some embodiments, in the process of restoring the current first angle difference threshold to the first angle difference threshold when entering the target mode, the preset first angle difference threshold can be obtained first, and then the current first angle difference threshold is updated to the preset first angle difference threshold. In this way, the stylus can directly restore without the calculation process of subtracting the threshold value reduced in the reduction process from the current first angle difference threshold, so that the efficiency of the state of the stylus before being converted to enter the target mode can be improved.
[0181] In some embodiments, in the process of restoring the current first angle difference threshold to the first angle difference threshold when entering the target mode, the threshold value increased by the reduction process in the target mode can be obtained first, then the current verification duration is improved according to the determined threshold value to obtain the first angle difference threshold when entering the target mode, and then the current first angle difference threshold is updated to the first angle difference threshold when entering the target mode.
[0182] Since the stylus enters the wake-up state, it can be determined that the motion state of the stylus is caused by the use of the stylus, so by exiting the target mode, the case that the stylus is incorrectly kept in the sleep state in the target mode when the stylus can be woken up can be avoided, so that the stylus can be accurately woken up. In addition, after exiting the target mode, the current first verification quantity threshold, the verification duration and the first angle difference threshold are restored, so that the case that the first verification quantity threshold and the verification duration are too large to exit the loop after entering the target mode the next time can be avoided, and the running correctness of the target mode can be further improved.
[0183] In some embodiments, after comparing the current first angle difference threshold with the first angle difference between the first angle and the second angle, when the first angle difference is not less than the current first angle difference threshold, the target mode is kept, and the steps executed in the target mode are recycled according to the current first angle difference threshold, the current verification duration and the current first verification quantity threshold.
[0184] In some embodiments, the step of recycling the steps executed in the target mode according to the current first angle difference threshold, the current verification duration and the current first verification quantity threshold means that the stylus is kept in the sleep state, and then the current verification duration is extended, the current first verification quantity threshold is improved, and then at the next time, the target angle is obtained based on the verification duration that is extended again, and it is determined whether to keep the target mode, reduce the current first angle difference threshold and enter the loop according to the relationship between the number of target angles and the first verification quantity threshold that is improved again.
[0185] When the first angle difference is not less than the current first angle difference threshold, the current posture of the stylus does not match the path formed when the stylus moves on the terminal plane, that is, the stylus is currently in a motion state, but is not used, and does not meet the wake-up condition, so the target mode is kept, and the steps in the target mode are executed in a loop, so that the stylus is not woken up in this case, and the power consumption of the stylus due to frequent wake-up is effectively reduced. In addition, since the steps executed in the target mode are recycled according to the current thresholds, when the steps in the target mode are recycled, the initial thresholds do not need to be used to start the loop again, so that the problem of false wake-up caused by using the initial thresholds when re-entering the mode can be effectively avoided.
[0186] Referring to FIG. 7, FIG. 7 shows the execution step flow in the target mode provided by another embodiment of the present disclosure. In some embodiments, after obtaining the target angle based on the current verification duration, the target mode execution step can further include the following steps.
[0187] Step 710: When the number of the target angles obtained is not less than the current first verification number threshold, calculating a second angle difference between each two adjacent target angles according to the angle sequence of the target angles obtained within the current verification duration.
[0188] Step 720: When any second angle difference is less than a preset second angle difference threshold, maintaining the target mode, and according to the current verification duration, the current first verification number threshold and the current first angle difference threshold, repeating the steps executed in the target mode.
[0189] In some embodiments, calculating the second angle difference between each two adjacent target angles according to the angle sequence of the target angles obtained within the current verification duration refers to that, for each target angle obtained within the current verification duration, when the next angle in the angle sequence of the target angles obtained within the current verification duration is the target angle, calculating the second angle difference between the two target angles. For example, assuming that the angles obtained within the current verification duration are A, B, C, D, E and F, wherein A, C, D, E and F are target angles, when calculating the second angle difference, only the second angle difference between C and D, between D and E, and between E and F is calculated, and the second angle difference between A and C is not calculated.
[0190] In some embodiments, the second angle difference threshold refers to a threshold for judging whether the posture of the stylus produces a posture change of the stylus when the stylus is used.
[0191] When the stylus is used, due to the holding manner of the user, the writing content and other reasons, a large angle difference between strictly adjacent target angles can be caused, and the change of the angle difference is continuous (for example, when writing, the stylus can produce relatively large posture changes in front, back, left and right due to the continuous writing of strokes at the pen tip, tail and other positions). Therefore, by calculating the second angle difference between strictly adjacent target angles, the current motion state of the stylus in the motion state can be accurately identified whether it is caused by human use, so that the stylus can be kept in the current mode and the sleep state is repeatedly controlled in the case that the current motion state of the stylus is not caused by human use, thereby reducing the power consumption of the stylus in the case of the motion state not caused by human use.
[0192] In some embodiments, after the second angle difference between each two adjacent target angles is calculated, if the plurality of second angle differences not less than the second angle difference threshold are continuous and the number of the plurality of second angle differences not less than the second angle difference threshold is not less than the preset second verification number threshold, the target mode is maintained, and the steps performed in the target mode are cycled according to the current verification time length, the current first verification number threshold, and the current first angle difference threshold.
[0193] In some embodiments, the plurality of second angle differences not less than the second angle difference threshold being continuous and the number of the plurality of second angle differences not less than the second angle difference threshold being not less than the preset second verification number threshold means that the previous angle and the next angle of the combination of the two target angles from which the second angle difference is calculated are not target angles, and the number of the obtained second angle differences is not less than the preset second verification number threshold. For example, assuming that the angles obtained in the current verification time length are A, B, C, D, E, and F, wherein A, B, D, E, and F are target angles, when the second angle difference is calculated, the second angle difference between A and B, the second angle difference between D and E, and the second angle difference between E and F are calculated. Among the three second angle differences, the second angle difference between A and B and the second angle difference between D and E are discontinuous because the angle B and the angle D are not continuous, and the second angle difference between D and E and the second angle difference between E and F are continuous.
[0194] Since in a specific environment, there may be a certain intensity of vibration that causes the stylus to generate target angles that can calculate the second angle difference when the stylus is not in use, by judging the continuity and the number of the second angle differences, the stylus can recognize this situation, thereby reducing the false wake-up of the stylus caused by this situation, and reducing the power consumption of the stylus.
[0195] Referring to FIG. 8, the embodiment of the present disclosure further provides a stylus control device, which can implement the stylus control method of the first aspect. The stylus control device 800 includes:
[0196] The target angle acquisition module 810 can be configured to, in response to the angle of the stylus obtained being not less than the preset angle threshold, acquire target angles not less than the preset angle threshold within a preset verification time length when the stylus enters a sleep state.
[0197] The target mode processing module 820 can be used to enter a target mode when the number of target angles is less than a preset first verification number threshold, and perform the following steps in the target mode: control the stylus to remain in a dormant state, perform extension processing on a verification duration, and perform promotion processing on the first verification number threshold; at a next time, obtain target angles based on a current verification duration, and remain in the target mode when the number of obtained target angles is less than the current first verification number threshold, and perform the steps in the target mode in a loop until the loop is exited.
[0198] The wake-up module 830 can be used to perform wake-up processing on the stylus.
[0199] The embodiments of the stylus control apparatus are basically the same as the above-described embodiments of the stylus control method, and thus are not described herein again.
[0200] The embodiments of the present disclosure further provide a stylus, which includes a memory and a processor. The memory stores a computer program, and the processor implements the above-described stylus control method when executing the computer program. The stylus can be any intelligent terminal, such as a tablet computer or a vehicle-mounted computer.
[0201] Please refer to FIG. 9, which shows the hardware structure of the stylus of another embodiment. The stylus 900 includes:
[0202] The processor 901 can be implemented in a general-purpose CPU (Central Processing Unit), a microprocessor, an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits, and is used to execute related programs to implement the technical solutions provided by the embodiments of the present disclosure.
[0203] The memory 902 can be implemented in the form of a ROM (ReadOnly Memory), a static storage device, a dynamic storage device, or a RAM (Random Access Memory). The memory 902 can store an operating system and other application programs. When the technical solutions provided by the embodiments of the present disclosure are implemented by software or firmware, the related program codes are stored in the memory 902 and are called and executed by the processor 901 to implement the stylus control method of the embodiments of the present disclosure.
[0204] The input / output interface 903 is used to realize information input and output.
[0205] The communication interface 604 is configured to realize the communication interaction between the device and other devices. The communication can be realized in a wired manner (for example, a USB, a network cable, and the like) or in a wireless manner (for example, a mobile network, WIFI, Bluetooth, and the like).
[0206] The bus 905 is configured to transmit information between various components (for example, the processor 901, the memory 902, the input / output interface 903, and the communication interface 904) of the device.
[0207] The processor 901, the memory 902, the input / output interface 903, and the communication interface 904 are connected to each other through the bus 905 to realize the communication connection between the device.
[0208] The disclosure also provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to realize the above-mentioned handwriting pen control method.
[0209] The memory is a non-transitory computer readable storage medium, which can be used to store a non-transitory software program and a non-transitory computer executable program. In addition, the memory can include a high-speed random access memory, and can also include a non-transitory memory, for example, at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory can include a memory remotely arranged relative to the processor, and the remote memory can be connected to the processor through a network. Examples of the network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0210] The embodiments described in the disclosure are used to more clearly illustrate the technical solutions of the disclosure, and do not constitute a limitation on the technical solutions provided by the disclosure. Those skilled in the art can know that, with the evolution of technology and the appearance of new application scenarios, the technical solutions provided by the disclosure are also applicable to similar technical problems.
[0211] Those skilled in the art can understand that the technical solutions shown in the figures do not constitute a limitation on the disclosure, and can include more or fewer steps than the figures, or combine certain steps or different steps.
[0212] The device embodiments described above are only schematic, and the units described as separate components can or can not be physically separate, that is, can be located in one place, or can be distributed on multiple network units. According to actual needs, part or all of the modules can be selected to realize the purpose of the embodiment.
[0213] It is understood by those skilled in the art that all or some of the steps in the methods disclosed above, the functional modules / units in the systems and devices can be implemented as software, firmware, hardware or appropriate combination thereof.
[0214] The terms "first", "second", "third", "fourth" etc. (if any) in the description of the present disclosure and the above drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a particular order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0215] It should be understood that in the present disclosure, "at least one" means one or more, and "multiple" means two or more. "And / or" is used to describe the relationship between the associated objects, which means that there can be three relationships, for example, "A and / or B" can mean that there are three cases: only A, only B, and A and B at the same time, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects. "At least one of the following" or similar expressions means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can mean a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0216] In several embodiments provided by the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the above units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed objects can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0217] The units described as separate components above can or can not be physically separate, and the components shown as units can or can not be physical units, that is, can be located in one place, or can be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0218] In addition, each functional unit in various embodiments of the present disclosure can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0219] If the integrated unit is realized 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 such understanding, the technical scheme of the present disclosure essentially or the part that contributes to the prior art, or all or part of the technical scheme can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes multiple instructions for causing 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 method of various embodiments of the present disclosure. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program storage media.
[0220] The preferred embodiments of the embodiments of the present disclosure are described above with reference to the accompanying drawings, and the scope of the embodiments of the present disclosure is not limited thereto. Any modifications, equivalent replacements and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of the present disclosure shall be within the scope of the embodiments of the present disclosure.
Claims
1. A stylus control method applied to a stylus, characterized by, The method comprises the following steps: triggering an external interrupt signal; in response to the external interrupt signal, acquiring current signal data; determining, based on the current signal data, that the stylus can trigger switching to a low-power mode, and switching the stylus to the low-power mode.
2. The handwriting pen control method of claim 1, wherein, Before triggering the external interrupt signal, the method further comprises: acquiring axial detection data in real time, and comparing the axial detection data with preset first axial threshold data; if the axial detection data is greater than or equal to the first axial threshold data, triggering the external interrupt signal.
3. The handwriting pen control method of claim 2, wherein, The method further comprises: if the axial detection data is less than the first axial threshold data, maintaining the current running mode of the stylus.
4. The handwriting pen control method of claim 2, wherein, The step of comparing the axial detection data with the preset first axial threshold data comprises: comparing axial detection sub-data of different axial types in the axial detection data with corresponding axial threshold sub-data; if there is axial detection sub-data greater than or equal to the axial threshold sub-data, triggering the external interrupt signal.
5. The handwriting pen control method according to any one of claims 1 to 4, wherein The step of determining, based on the current signal data, that the stylus can trigger switching to the low-power mode comprises: the current signal data comprises a current interaction signal and a current pressure level; if the current interaction signal satisfies a first preset condition and the current pressure level satisfies a second preset condition, it is determined that the stylus can trigger switching to the low-power mode.
6. The handwriting pen control method of claim 5, wherein, The step of determining that the stylus can trigger switching to the low-power mode comprises: acquiring the current signal data in real time until a preset time period, and if the current interaction signal in the current signal data satisfies the first preset condition and the current pressure level satisfies the second preset condition, it is determined that the stylus can trigger switching to the low-power mode.
7. The handwriting pen control method of claim 5, wherein, The first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure level is less than zero.
8. The handwriting pen control method of claim 5, wherein, The method further comprises: if the current interaction signal does not satisfy the first preset condition, or the current pressure level does not satisfy the second preset condition, maintaining the current running mode of the stylus.
9. The handwriting pen control method according to any one of claims 1 to 4, wherein After the stylus is switched to the low-power mode, the method further comprises: acquiring the axial detection data of the stylus in real time, and comparing the axial detection data with second axial threshold data; if the axial detection data is greater than or equal to the second axial threshold data, switching the stylus out of the low-power mode.
10. A stylus control system, applied to a stylus, characterized in that, The stylus control system comprises a signal triggering module, a data acquisition module, and a mode switching module; wherein: the signal triggering module is configured to trigger an external interrupt signal; the data acquisition module is configured to acquire current signal data in response to the external interrupt signal; the mode switching module is configured to determine, based on the current signal data, that the stylus can trigger switching to a low-power mode, and switch the stylus to the low-power mode.
11. A stylus control method characterized by comprising: The method comprises the following steps: in the case that the stylus enters a sleep state, in response to the acquired angle of the stylus being not less than a preset first angle threshold, acquiring a target angle not less than a preset mode recognition angle threshold within a preset verification time length; When the number of the target angles is less than a preset first verification number threshold, a target mode is entered, and the following steps are performed in the target mode: the stylus is controlled to remain in a dormant state, the verification duration is extended, and the first verification number threshold is increased; at a next time, the target angles are obtained based on the current verification duration, and when the number of the obtained target angles is less than the current first verification number threshold, the target mode is remained, and the steps performed in the target mode are recycled until the recycling is exited; the stylus is woken up.
12. The method of claim 11, wherein, After the target angles are obtained based on the current verification duration, the steps performed in the target mode further include: when the number of the obtained target angles is 0, the stylus is controlled to remain in the dormant state; the current first verification number threshold is restored to the first verification number threshold when the target mode is entered, the current verification duration is restored to the verification duration when the target mode is entered, and the target mode is exited.
13. The method of claim 11, wherein, After the target mode is remained, the steps performed in the target mode further include: a preset first angle difference threshold is decreased; the waking up of the stylus includes: a current first angle of the stylus and a second angle corresponding to a current stylus trajectory are obtained; the current first angle difference threshold is compared with a first angle difference between the first angle and the second angle, and if the first angle difference is less than the current first angle difference threshold, the stylus is controlled to enter a wake-up state.
14. The method of claim 13, wherein, After the stylus is controlled to enter the wake-up state, the method further includes: the target mode is exited, the current first verification number threshold is restored to the first verification number threshold when the target mode is entered, the current verification duration is restored to the verification duration when the target mode is entered, and the current first angle difference threshold is restored to the first angle difference threshold when the target mode is entered.
15. The method of claim 13, wherein, After the current first angle difference threshold is compared with the first angle difference between the first angle and the second angle, the method further includes: when the first angle difference is not less than the current first angle difference threshold, the target mode is remained, and the steps performed in the target mode are recycled according to the current first angle difference threshold, the current verification duration and the current first verification number threshold.
16. The method of claim 13, wherein, After the target angles are obtained based on the current verification duration, the steps performed in the target mode further include: when the number of the obtained target angles is not less than the current first verification number threshold, a second angle difference between each two adjacent target angles is calculated according to an angle sequence of the target angles obtained within the current verification duration; when any second angle difference is less than a preset second angle difference threshold, the target mode is remained, and the steps performed in the target mode are recycled according to the current verification duration, the current first verification number threshold and the current first angle difference threshold.
17. The method of claim 16, wherein, After the second angle difference between each two adjacent target angles is calculated, the method further comprises: In the case that a plurality of the second angle differences are not less than the second angle difference threshold, if a plurality of the second angle differences not less than the second angle difference threshold are continuous and the number is not less than a preset second verification number threshold, the target mode is maintained, and the steps executed in the target mode are cycled according to the current verification time length, the current first verification number threshold and the current first angle difference threshold.
18. A stylus control device, characterized by Comprise: A target angle acquisition module, configured to, in the case that a stylus enters a sleep state, acquire a target angle not less than a preset angle threshold within a preset verification time length in response to an acquired angle of the stylus not less than a preset first angle threshold; A target mode processing module, configured to, when the number of the target angles is less than a preset first verification number threshold, enter a target mode, and execute the following steps in the target mode: control the stylus to remain in the sleep state, perform extension processing on the verification time length, and perform promotion processing on the first verification number threshold; at a next time, acquire the target angle based on the current verification time length, and when the number of the acquired target angles is less than the current first verification number threshold, maintain the target mode and cycle the steps executed in the target mode until the cycle is exited; A wake-up module, configured to perform wake-up processing on the stylus.
19. A stylus, characterized by The stylus comprises a memory and a processor, the memory stores a computer program, and the processor implements the stylus control method in any one of claims 1 to 9 or any one of claims 11 to 17 when executing the computer program.
20. A computer-readable storage medium, the computer-readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to implement the stylus control method in any one of claims 1 to 9 or any one of claims 11 to 17.
Citation Information
Patent Citations
Energy savings
CN105474128A
Electromagnetic pen control method and system, readable storage medium and electromagnetic pen
CN109164926A
Method and device for realizing low power consumption of an interactive pen
CN109491525A
Electronic pen control method, device and equipment and readable storage medium
CN111158512A
Active pen use discrimination method and device, active pen and computer storage medium
CN114356121A