Power consumption mode switching method and system

Detecting the axial data of the electronic pen through an external interrupt signal, judging and switching to the low-power mode, solving the problem of excessive power consumption of the electronic pen when not in use, extending the battery life and improving the user experience.

CN119248097APending Publication Date: 2025-01-03SHENZHEN XINWEI INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202411380453.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

When not in use, existing electronic pens are prone to excessive power consumption due to accidental touch or automatic shutdown function, which affects battery life and user experience.

Method used

The axial data of the electronic pen is compared with the preset threshold through an external interrupt signal, and it is determined whether it is in a non-rest state, and switch to the low-power mode when a specific condition is met to reduce power consumption.

Benefits of technology

It effectively reduces the power consumption of the electronic pen, extends the battery life, reduces invalid power consumption, and improves user experience and device intelligence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248097A_ABST
    Figure CN119248097A_ABST
Patent Text Reader

Abstract

The invention discloses a power consumption mode switching method and system, and the method comprises the steps: obtaining current signal data through responding to a triggered external interrupt signal, judging that an electronic pen can be triggered and switched to a low-power-consumption mode based on the current signal data, and then switching the electronic pen to the low-power-consumption mode. The electronic pen is switched to the low-power-consumption mode, so that the power consumption of the electronic pen and the endurance anxiety of a user are reduced, and the service life of the electronic pen is prolonged; in addition, after the external interrupt signal is responded, the current signal data of the electronic pen is still judged, the problem that the power consumption of the electronic pen is ineffectively increased due to the fact that the electric quantity of the electronic pen is ineffectively consumed due to the fact that the electronic pen is mistakenly touched is solved, and the endurance time of the electronic pen is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic pen modes, and in particular to a mode switching method and system for reducing power consumption of an electronic pen. Background Art

[0002] At present, in the existing electronic pen industry, the triggering of each electronic pen turning on and off is generally achieved by the user manually turning on the switch or setting a corresponding shaking switch. However, in actual use, due to various situations of the user, there may be a situation where the electronic pen is turned on but not used for a long time. For example, an electronic pen adsorbed on one side of the host device and in sleep mode is triggered to turn on due to sliding and being in a non-static state. After being triggered, the electronic pen will continue to remain in an idle mode with high power consumption and large current consumption until the user adjusts it to sleep mode.

[0003] Therefore, in order to avoid the above-mentioned situations causing the power consumption of the electronic pen to be wasted, the prior art mostly adopts a timer shutdown function, so that the electronic pen is adjusted to a sleep mode after 30 minutes or 60 minutes of no operation response, that is, it is shut down. However, the automatic shutdown function set at the working time node will affect the normal use of the user, and if the user forgets to shut down manually when the use time is short, it will also cause a waste of ineffective power. Summary of the invention

[0004] The present invention provides a power consumption mode switching method and system to realize the technical effect of automatically detecting the current state of an electronic pen and performing mode switching, thereby reducing the power consumption of the electronic pen.

[0005] In order to solve the above technical problem, an embodiment of the present invention provides a power consumption mode switching method, comprising the following steps:

[0006] Trigger external interrupt signal;

[0007] In response to an external interrupt signal, obtaining current signal data;

[0008] If it is determined based on the current signal data that the electronic pen can be triggered to switch to a low power consumption mode, the electronic pen is switched to the low power consumption mode.

[0009] The mode switching method for reducing the power consumption of an electronic pen provided by the present invention first responds to an external interrupt signal triggered by a target electronic pen, that is, determines that the target electronic pen is in an unstable state, that is, a non-static state, and needs to further determine the current state of the target electronic pen. By obtaining the current signal data of the electronic pen and judging it, it is determined whether the current state data of the target electronic pen has reached the requirement for switching to a low power consumption mode.

[0010] If it is determined that the electronic pen can be triggered to switch to low power consumption mode, the electronic pen is switched to low power consumption mode, thereby reducing the power consumption of the electronic pen, increasing the service life of the electronic pen, and reducing the user's anxiety about the endurance of the electronic pen. After responding to the external interrupt signal, the current signal data of the electronic pen is still determined, and the problem of invalid consumption of the power of the electronic pen due to accidental touch of the electronic pen is avoided, thereby reducing the power consumption of the electronic pen and increasing the endurance of the electronic pen.

[0011] As a preferred example, the triggering of the external interrupt signal includes:

[0012] Acquire axial detection data in real time, and compare the axial detection data with preset first axial threshold data;

[0013] When the axial detection data is greater than or equal to the first axial threshold data, an external interrupt signal is triggered.

[0014] In order to improve the mode switching efficiency of the electronic pen and further reduce its power consumption, the mode switching method provided by the present invention first determines whether the external interrupt signal of the electronic pen can be triggered by comparing the axial detection data of the target electronic pen with its corresponding first axial threshold value, that is, to determine whether the target electronic pen is in a non-stationary state.

[0015] If it is determined that the axial detection data is greater than or equal to the corresponding first axial threshold data, then it is determined that the axial detection data of the electronic pen has reached the preset external interrupt signal trigger threshold, and the system will determine that the electronic pen is now in a non-static state. The next step is to determine whether the electronic pen can enter a low-power state, that is, to further determine whether the electronic pen is in a non-static state but not connected to a corresponding device, thereby reducing the power consumption of the electronic pen after entering the non-static state.

[0016] As a preferred example, it also includes:

[0017] When the axial detection data is less than the axial threshold data, the current operation mode of the electronic pen is maintained.

[0018] In order to improve the mode switching method, when it is detected that there is no axial data greater than or equal to its corresponding threshold value, the electronic pen will maintain the current operating mode unchanged and continue to monitor the axial data of the electronic pen.

[0019] As a preferred example, comparing the axial detection data with preset first axial threshold data includes:

[0020] comparing axial detection sub-data of different axial types in the axial detection data with corresponding axial threshold sub-data;

[0021] When the axial detection sub-data is greater than or equal to the axial threshold sub-data, an external interrupt signal is triggered.

[0022] When comparing the axial detection data of the electronic pen, the system matches and compares the axial detection data with the corresponding threshold data according to the axial type, that is, each axial detection data is compared with the corresponding threshold data according to its corresponding axial type to ensure the accuracy of the detection comparison result.

[0023] In order to improve the sensitivity of the electronic pen mode switching, when the system detects axial detection data of multiple different axial types, as long as there is an axial detection sub-data of one axial type that is greater than or equal to its corresponding axial threshold sub-data, it can be determined that the electronic pen has reached the condition for triggering an external interrupt signal, and the external interrupt signal can be triggered to enter the next low power consumption mode determination step.

[0024] As a preferred example, determining that the electronic pen can be triggered to switch to a low power consumption mode based on the current signal data includes:

[0025] The current signal data includes a current interaction signal and a current pressure sensitivity level;

[0026] If the current interaction signal satisfies a first preset condition and the current pressure sensitivity level satisfies a second preset condition, it is determined that the electronic pen can be triggered to switch to the low power consumption mode.

[0027] After determining that the electronic pen is in a non-static state, the system needs to further determine whether the electronic pen is in a state of waiting for device connection, that is, whether the user needs to start the electronic pen. By detecting the current signal data of the electronic pen, including the current interaction signal and the current pressure sensitivity level, and comparing them with the corresponding first preset condition and second preset condition, it is then determined whether the electronic pen is switched to a low-power mode in a non-static state, that is, whether the electronic pen is in a non-static state but has not reached the startup state. Therefore, the operation mode of the electronic pen can be adjusted to a low-power mode in a non-static state, which reduces the power consumption of the electronic pen while ensuring that the electronic pen can be awakened in real time, avoiding the situation where the user's experience is adversely affected by the long awakening time after the electronic pen is adjusted to the dormant state.

[0028] When it is determined that the current interaction signal and the current pressure sensitivity level have met their corresponding preset conditions, it means that the electronic pen has reached the conditions for switching to low power mode, and the electronic pen can be switched to low power mode, thereby reducing the power consumption of the electronic pen, increasing the battery life of the electronic pen, and reducing the user's anxiety about the battery life of the electronic pen. At the same time, it also improves the intelligence of the electronic pen, the flexibility of mode switching, and the efficiency of mode switching, avoiding the reduction of user experience due to low mode switching rate.

[0029] As a preferred example, the determining that the electronic pen can trigger switching to the low power consumption mode includes:

[0030] The current signal data is acquired in real time until after a preset time period, and if the current interaction signal in the current signal data satisfies the first preset condition and the current pressure sensitivity level satisfies the second preset condition, it is determined that the electronic pen can be triggered to switch to the low power consumption mode.

[0031] When judging whether the electronic pen can enter the low power mode based on the current interaction signal and the current pressure sensitivity level, a prerequisite must be met, that is, after the prerequisite set by the system is met, the system will make a low power mode switching judgment based on the current interaction signal and the current pressure sensitivity level to make an effective judgment. The prerequisite is that the current signal data of the electronic pen still meets the conditions for switching to the low power mode after a preset time period.

[0032] If the preset time period has not yet continued, the system's judgment on the current interaction signal and the current pressure sensitivity level will be invalid. By making conditional judgments for a preset time period, the system's accuracy in judging the current state of the electronic pen is further improved, while the probability of adverse effects caused by incorrect judgments on the current state of the electronic pen is further reduced.

[0033] As a preferred example, the first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure sensitivity level is less than zero.

[0034] The first preset condition provided by the present invention is that the current interactive signal does not exist, and the second preset condition is that the current pressure sensitivity level is less than zero. The above two preset conditions can be used to determine whether the electronic pen is in a non-static state and is not connected to other devices, and then switch to low power consumption mode.

[0035] As a preferred example, it also includes:

[0036] When the current interaction signal does not satisfy the first preset condition, or the current pressure sensitivity level does not satisfy the second preset condition, the current operation mode of the electronic pen is maintained.

[0037] When the system detects that one of the current interaction signal and the current pressure sensitivity level of the electronic pen does not meet the corresponding preset conditions, it means that the electronic pen has not yet fully met the conditions for switching to the low power consumption mode, and only needs to maintain the current operating mode of the electronic pen.

[0038] As a preferred example, after the electronic pen switches to the low power consumption mode, the method further includes:

[0039] Acquire the axial detection data of the electronic pen in real time, and compare the axial detection data with second axial threshold data;

[0040] When the axial detection data is greater than or equal to the second axial threshold data, the electronic pen is switched out of the low power consumption mode.

[0041] In order to reduce the running power consumption of the electronic pen as much as possible and not affect the efficiency of the user waking up the electronic pen, the mode switching method provided by the present invention will turn off all running task events of the electronic pen when adjusting the electronic pen to the low power consumption mode, thereby reducing the power consumption of the electronic pen. At the same time, the monitoring unit of the electronic pen for external interrupt signals is turned on to avoid reducing the speed of the user waking up the electronic pen and affecting the user's experience.

[0042] In order to further reduce the frequency of the electronic pen being awakened for no reason, the system also adjusts the axial data threshold that responds to the external interrupt signal to a low power consumption mode, that is, increases the threshold data corresponding to the axial data, thereby reducing the probability of the electronic pen being awakened by mistake. On the one hand, it increases the service life of the electronic pen, and on the other hand, it also reduces the charging frequency of the electronic pen.

[0043] Accordingly, an embodiment of the present invention further provides a power consumption mode switching system, the mode switching system comprising a signal triggering module, a data acquisition module and a mode switching module; wherein:

[0044] The signal triggering module is used to trigger an external interrupt signal;

[0045] The data acquisition module is used to respond to the external interrupt signal and acquire the current signal data;

[0046] The mode switching module is used to determine whether the electronic pen can be triggered to switch to a low power consumption mode based on current signal data, and then switch the electronic pen to the low power consumption mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 : A flow chart of an embodiment of a method for switching power consumption modes provided by the present invention;

[0048] Figure 2 : A structural diagram of an embodiment of a power consumption mode switching system provided by the present invention;

[0049] Figure 3 : A flow chart of another embodiment of a mode switching method for reducing power consumption of an electronic pen provided by the present invention. DETAILED DESCRIPTION

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

[0051] Embodiment 1

[0052] Please refer to Figure 1 , which is a flow chart of an embodiment of a mode switching method for reducing power consumption of an electronic pen provided by the present invention, including steps 101 to 103, each of which is specifically as follows:

[0053] Step 101: trigger an external interrupt signal.

[0054] The mode switching method for reducing electronic pen power consumption provided by the embodiment of the present invention first responds to the external interrupt signal triggered by the target electronic pen, that is, determines that the target electronic pen is in an unstable or non-static state, and needs to further determine the current state of the target electronic pen.

[0055] In this embodiment, when the electronic pen triggers an external interrupt signal, it means that the electronic pen is in a non-static state, for example, the pen is placed in a backpack or pocket and carried around, while the user is walking, running, playing, fighting, or riding in a vehicle. At this time, the electronic pen is in a non-static state and keeps shaking, and cannot stabilize in the sleep mode. However, since the user does not use the electronic pen at this time, the electronic pen has not entered the working mode. Therefore, the embodiment of the present invention will further determine the current signal data of the electronic pen to determine whether the electronic pen can be switched to the low power consumption mode, so as to avoid the electronic pen being switched to the working mode and reduce the operating power consumption of the electronic pen.

[0056] Specifically, the triggering of the external interrupt signal in this embodiment includes:

[0057] Acquire axial detection data in real time, and compare the axial detection data with preset first axial threshold data;

[0058] When the axial detection data is greater than or equal to the first axial threshold data, an external interrupt signal is triggered.

[0059] In order to improve the mode switching efficiency of the electronic pen and further reduce its power consumption, the mode switching method provided in the embodiment of the present invention first compares the axial detection data of the target electronic pen with its corresponding first axial threshold, and then determines whether the external interrupt signal of the electronic pen can be triggered based on the comparison result, that is, determines whether the target electronic pen is in a non-static state.

[0060] If it is determined that the axial detection data is greater than or equal to the corresponding first axial threshold data, then it is determined that the axial detection data of the electronic pen has reached the preset external interrupt signal trigger threshold, and the system will determine that the electronic pen is now in a non-static state. The next step is to determine whether the electronic pen can enter a low-power state, that is, to further determine whether the electronic pen is in a non-static state but not connected to a corresponding device, thereby reducing the power consumption of the electronic pen after entering the non-static state.

[0061] In addition, this embodiment also includes:

[0062] When the axial detection data is less than the axial threshold data, the current operation mode of the electronic pen is maintained.

[0063] In order to improve the mode switching method, when it is detected that there is no axial data greater than or equal to its corresponding threshold value, the electronic pen will maintain the current operating mode unchanged and continue to monitor the axial data of the electronic pen.

[0064] In this embodiment, the electronic pen includes a low-power main control MCU and a motion sensor. The embodiment of the present invention does not further limit the specific type of the motion sensor. The motion sensor included in the electronic pen can be a three-axis sensor, a six-axis sensor or a nine-axis sensor.

[0065] If the motion sensor in the electronic pen 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 an object in the axial direction. As a low-power, high-performance sensor, the ACC sensor is developed from a capacitive three-axis linear accelerometer using micromachining technology. According to the sensor function, users can choose full-scale measurement data of ±2g, ±4g or ±8g, and the corresponding output rate range includes 1Hz to 1kHz. Under the preset signal conditions, the motion sensor is embedded in the electronic pen to realize active detection of the axial data of the electronic pen.

[0066] At the same time, the ACC sensor also has a power-off mode, which ensures that when the electronic pen is in sleep mode, the axial data of the electronic pen will still be actively detected, ensuring the timeliness of the electronic pen's low-power mode switching, and also simplifies the algorithm detection process of various motion states of the electronic pen. The sensor uses a standard I2C interface, which is used to communicate with the main control MCU chip, that is, triggering an external interrupt signal as described in this embodiment.

[0067] Furthermore, the step of comparing the axial detection data with preset first axial threshold data in this embodiment includes:

[0068] comparing axial detection sub-data of different axial types in the axial detection data with corresponding axial threshold sub-data;

[0069] When the axial detection sub-data is greater than or equal to the axial threshold sub-data, an external interrupt signal is triggered.

[0070] When comparing the axial detection data of the electronic pen, the system matches and compares the axial detection data with the corresponding threshold data according to the axial type, that is, each axial detection data is compared with the corresponding threshold data according to its corresponding axial type to ensure the accuracy of the detection comparison result.

[0071] In order to improve the sensitivity of the electronic pen mode switching, when the system detects axial detection data of multiple different axial types, as long as there is an axial detection sub-data of one axial type that is greater than or equal to its corresponding axial threshold sub-data, it can be determined that the electronic pen has reached the condition for triggering an external interrupt signal, and the external interrupt signal can be triggered to enter the next low power consumption mode determination step.

[0072] Step 102: Responding to an external interrupt signal, obtaining current signal data.

[0073] By acquiring the current signal data of the electronic pen and judging it, it is determined whether the current state data of the target electronic pen has reached the requirement of being switched to the low power consumption mode.

[0074] In this embodiment, the basic function of the electronic pen is to communicate with the screen of the host side such as a tablet, computer or mobile phone through the electronic pen transmission protocol (USI, MPP or HPP, etc.), so as to realize writing and drawing on the screen of the host side. The thickness and color of the lines displayed on the screen of the host side can be set through the screen side, and the electronic pen only needs to send the corresponding content to the screen side according to the pressure level and position of the screen and the pen tip to realize the interaction with the screen of the host side, including output and input.

[0075] Among them, the signal sent from the host end to the electronic pen end is an Up link signal, referred to as an UL signal; and the signal transmitted from the electronic pen to the host end is called a Down link signal, referred to as a DL signal, which is the current interaction signal described in this embodiment.

[0076] The external interrupt signal in this embodiment is an ACC interrupt signal triggered by an ACC sensor.

[0077] Step 103: determining that the electronic pen can be triggered to switch to a low power consumption mode based on the current signal data, and then switching the electronic pen to the low power consumption mode.

[0078] If it is determined that the electronic pen can be triggered to switch to low power consumption mode, the electronic pen is switched to low power consumption mode, thereby reducing the power consumption of the electronic pen, increasing the service life of the electronic pen, and reducing the user's anxiety about the endurance of the electronic pen. After responding to the external interrupt signal, the current signal data of the electronic pen is still determined, and the problem of invalid consumption of the power of the electronic pen due to accidental touch of the electronic pen is avoided, thereby reducing the power consumption of the electronic pen and increasing the endurance of the electronic pen.

[0079] In this embodiment, the operation modes of the electronic pen include a sleep mode, a low power consumption mode and a high power consumption mode, wherein the sleep mode includes a sleep mode and a shipping mode, and the high power consumption mode includes a working mode and an idle mode.

[0080] The operating power consumption of the working mode is the highest. When the electronic pen is in this mode, the electronic pen will actively connect to the device and obtain input from the host device with the lowest possible delay.

[0081] The idle mode (I d le) refers to the mode in which the electronic pen is not paired with the host device. Since the electronic pen is connected to the host end and the functional modules in the electronic pen are adjusted to the working mode to run, the corresponding power will be consumed. Therefore, when the electronic pen is in the idle mode, since most of the task modules of the electronic pen are in the idle mode, the power consumption of the idle mode is lower than that of the working mode.

[0082] The sleep mode (Sleep) means that the main control MCU of the electronic pen is in low power consumption mode, and there is no running task function module in the system, including writing tasks, power detection or NFC interface tasks. When the electronic pen is in sleep mode, it will wait for external interrupt events to trigger in real time to wake up the main control MCU, and then switch out of sleep mode. Since there is no running task module in the electronic pen in sleep mode, its running power consumption is lower than that in idle mode.

[0083] The shipping mode is the lowest power consumption mode of the electronic pen, that is, the electronic pen is in the lowest power state. When the electronic pen is in the shipping mode, only the lithium battery protection circuit (Protect ionIC) of the entire system of the electronic pen is in operation, and other task modules (including the main control MCU) are in sleep mode, that is, power-off state, so the power consumption of the electronic pen system will be reduced to the minimum.

[0084] The low power consumption mode described in the present embodiment is an operating mode in which the power consumption is higher than the sleep mode (Sleep) but lower than the idle mode (Idle). Compared with the sleep mode, the detection and determination of the low power consumption mode, as well as waking up the electronic pen from the sleep mode to monitor the current signal data of the electronic pen all require power consumption. Therefore, the power consumption of the low power consumption mode is higher than the sleep mode but lower than the idle mode.

[0085] Specifically, the method of determining that the electronic pen can be triggered to switch to the low power consumption mode based on the current signal data in this embodiment includes:

[0086] The current signal data includes a current interaction signal and a current pressure sensitivity level;

[0087] If the current interaction signal satisfies the first preset condition and the current pressure sensitivity level satisfies the second preset condition, it is determined that the electronic pen can be triggered to switch to the low power consumption mode.

[0088] After determining that the electronic pen is in a non-static state, the system needs to further determine whether the electronic pen is in a state of waiting for device connection, that is, whether the user needs to start the electronic pen. By detecting the current signal data of the electronic pen, including the current interaction signal and the current pressure sensitivity level, and comparing them with the corresponding first preset condition and second preset condition, it is then determined whether the electronic pen is switched to a low-power mode in a non-static state, that is, whether the electronic pen is in a non-static state but has not reached the startup state. Therefore, the operation mode of the electronic pen can be adjusted to a low-power mode in a non-static state, which reduces the power consumption of the electronic pen while ensuring that the electronic pen can be awakened in real time, avoiding the situation where the user's experience is adversely affected by the long awakening time after the electronic pen is adjusted to the dormant state.

[0089] When it is determined that the current interaction signal and the current pressure sensitivity level have met their corresponding preset conditions, it means that the electronic pen has reached the conditions for switching to low power mode, and the electronic pen can be switched to low power mode, thereby reducing the power consumption of the electronic pen, increasing the battery life of the electronic pen, and reducing the user's anxiety about the battery life of the electronic pen. At the same time, it also improves the intelligence of the electronic pen, the flexibility of mode switching, and the efficiency of mode switching, avoiding the reduction of user experience due to low mode switching rate.

[0090] Furthermore, the step of determining that the electronic pen can be triggered to switch to the low power consumption mode in this embodiment includes:

[0091] The current signal data is acquired in real time until after a preset time period, and if the current interaction signal in the current signal data satisfies the first preset condition and the current pressure sensitivity level satisfies the second preset condition, it is determined that the electronic pen can be triggered to switch to the low power consumption mode.

[0092] When judging whether the electronic pen can enter the low power mode based on the current interaction signal and the current pressure sensitivity level, a prerequisite must be met, that is, after the prerequisite set by the system is met, the system will make a low power mode switching judgment based on the current interaction signal and the current pressure sensitivity level to make an effective judgment. The prerequisite is that the current signal data of the electronic pen still meets the conditions for switching to the low power mode after a preset time period.

[0093] If the preset time period has not yet continued, the system's judgment on the current interaction signal and the current pressure sensitivity level will be invalid. By making conditional judgments for a preset time period, the system's accuracy in judging the current state of the electronic pen is further improved, while the probability of adverse effects caused by incorrect judgments on the current state of the electronic pen is further reduced.

[0094] The preset time period in this embodiment may be, for example, one minute, two minutes, etc. The user may adjust the specific time value of the preset time period according to actual conditions or usage habits.

[0095] Furthermore, in this embodiment, the first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure sensitivity level is less than zero.

[0096] The first preset condition provided in the embodiment of the present invention is that the current interactive signal does not exist, and the second preset condition is that the current pressure sensitivity level is less than zero. The above two preset conditions can be used to determine whether the electronic pen is in a non-stationary state and is not connected to other devices, and then switch to low power consumption mode.

[0097] In this embodiment, the current interaction signal is an Up link signal sent from the Host end to the electronic pen end, that is, a UL signal.

[0098] Furthermore, after the electronic pen switches to the low power consumption mode, the present embodiment further includes:

[0099] Acquire the axial detection data of the electronic pen in real time, and compare the axial detection data with second axial threshold data;

[0100] When the axial detection data is greater than or equal to the second axial threshold data, the electronic pen is switched out of the low power consumption mode.

[0101] In order to reduce the running power consumption of the electronic pen as much as possible and not affect the efficiency of the user waking up the electronic pen, the mode switching method provided in the embodiment of the present invention will turn off all running task events of the electronic pen when adjusting the electronic pen to the low power consumption mode, thereby reducing the power consumption of the electronic pen. At the same time, the monitoring unit of the electronic pen for external interrupt signals is also turned on to avoid reducing the rate of the user waking up the electronic pen and affecting the user's experience.

[0102] In order to further reduce the frequency of the electronic pen being awakened for no reason, the system also adjusts the axial data threshold that responds to the external interrupt signal to a low power consumption mode, that is, increases the threshold data corresponding to the axial data, thereby reducing the probability of the electronic pen being awakened by mistake. On the one hand, it increases the service life of the electronic pen, and on the other hand, it also reduces the charging frequency of the electronic pen.

[0103] When the electronic pen is switched to low power consumption mode, the electronic pen system will enter a low power consumption sleep mode, and at the same time, it will set a wake-up threshold value corresponding to the low power consumption mode, that is, the axial threshold data described in this embodiment. When the axial data monitored in real time by the electronic pen exceeds the axial threshold data of the corresponding axial type, the electronic pen will be awakened, thereby reducing the power consumption of the electronic pen without affecting the user experience.

[0104] This embodiment does not further limit the threshold value of the low power consumption mode, but the preferred threshold value of this embodiment is as follows: X-axis (pen tip direction): 35 degrees; Y-axis (perpendicular to the pen body): 45 degrees; Z-axis (perpendicular to the pen body): 45 degrees.

[0105] Embodiment 2

[0106] Accordingly, see Figure 3 , Figure 3 FIG. 1 is a flow chart of another embodiment of a mode switching method for reducing power consumption of an electronic pen provided by the present invention. Figure 3 As shown, the mode switching method provided in this embodiment includes the following three determination steps:

[0107] Step 1: Determine whether there is an external interrupt signal in the system.

[0108] like Figure 3 As shown, when the monitoring does not trigger the external interrupt signal, the electronic pen will return to the step of monitoring the external interrupt signal until the monitoring triggers the external interrupt signal.

[0109] When the external interrupt signal is triggered by monitoring, that is, when the external interrupt signal is determined to exist as described in this embodiment, the current state of the system is further determined, and then it is determined whether to switch the electronic pen to the low power consumption mode according to the judgment result.

[0110] Step 2: 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 whether the current pressure sensitivity level meets the second preset condition.

[0111] like Figure 3 As shown, after the system monitors and triggers the external interrupt signal, it will further determine whether the current interaction signal of the system meets the first preset condition and whether the current pressure sensitivity level of the system meets the second preset condition. Whether there is a current interaction signal and the current pressure sensitivity level is not equal to zero, if it is determined that there is no current interaction signal and the current pressure sensitivity level is equal to zero, the current signal data of the electronic pen can be further determined; if it is determined that there is a current interaction signal or the current pressure sensitivity level is not equal to zero, the current operation mode of the electronic pen will be kept unchanged and return to the step of monitoring the external interrupt signal.

[0112] Step 3: When it is determined that the current interaction signal of the system meets the first preset condition and the current pressure sensitivity level meets the second preset condition, after a preset time period, it is determined whether the current interaction signal meets the first preset condition and the current pressure sensitivity level meets the second preset condition.

[0113] like Figure 3 As shown, when the system determines that the current interaction signal of the electronic pen meets the first preset condition and the current pressure sensitivity level meets the second preset condition, it will further determine whether the current interaction signal of the electronic pen still meets the first preset condition and the current pressure sensitivity level still meets the second preset condition after the preset time period.

[0114] When it is determined that the current interaction signal of the electronic pen still meets the first preset condition and the current pressure sensitivity level still meets the second preset condition, it is determined that the electronic pen can switch to low power consumption mode; if it is determined that after the preset time period, the current interaction signal of the electronic pen does not meet the first preset condition or the current pressure sensitivity level does not meet the second preset condition, it is determined that the electronic pen maintains the current operating mode and does not switch, and returns to the step of monitoring the external interrupt signal.

[0115] As a preferred example provided by this embodiment, in this example, the first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure sensitivity level, that is, the pressure sensitivity level at the current moment and the pressure sensitivity level at the previous moment, The change in pressure sensitivity level is zero, that is, the second preset condition provided in this example is that the pressure sensitivity level of the system has not changed within a preset time period.

[0116] As another example provided by this embodiment, in this example, the first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure sensitivity level, that is, the pressure sensitivity level at the current moment, is zero. That is, the judgment content in step three of this example is whether the pressure sensitivity level of the electronic pen is still equal to zero after the preset time period, that is, the pressure sensitivity level of the electronic pen has not changed within the preset time period, so as to determine whether the electronic pen can be adjusted to low power consumption mode.

[0117] It can be seen that in this embodiment, if the system determines that the electronic pen can meet the requirements of switching to the low power mode, then in order to further improve the accuracy of the mode switching judgment and avoid the adverse effects of the mode switching error on the user, the system will continuously collect and judge the current signal data of the electronic pen within the preset time period, and continuously determine whether its signal data can meet the requirements of switching to the low power mode. After exceeding the preset time period, the system still determines that the current signal data of the electronic pen can meet the switching standard of the low power mode, and then the operation mode of the electronic pen is switched to the low power mode. The above-mentioned mode switching method can avoid the problem of invalid consumption of the power of the electronic pen due to the electronic pen being accidentally touched, thereby reducing the power consumption of the electronic pen and increasing the battery life of the electronic pen. At the same time, by continuously detecting and judging for the preset time period, it is also avoided that the electronic pen is turned off at the user's working time node, which improves the intelligence of the electronic pen while also improving the user's experience and reducing the user's anxiety about the battery life of the electronic pen.

[0118] In addition, the system can also be adjusted to obtain the current signal data of the electronic pen in real time. After a preset time period, if it is determined that the current signal data of the electronic pen can still be switched to low power consumption mode, that is, it is detected that there is no current interaction signal and the current pressure sensitivity level is less than or equal to zero, then the electronic pen can be switched to shipping mode (sh i pp ing). However, when the electronic pen is in shipping mode (sh i pp ing), the user needs to wake up the electronic pen by pressing a button or charging. Therefore, compared with the low power consumption mode, the wake-up steps of this method are more complicated.

[0119] In order to better illustrate the working principle and step flow of the mode switching method and system for reducing the power consumption of an electronic pen according to the present invention, reference may be made to, but is not limited to, the relevant records above.

[0120] Accordingly, see Figure 2 , Figure 2 This is a schematic diagram of the structure of an embodiment of a mode switching system for reducing power consumption of an electronic pen provided by the present invention. Figure 2 As shown, the mode switching system includes a signal triggering module 201, a data acquisition module 202 and a mode switching module 203; wherein:

[0121] The signal triggering module 201 is used to trigger an external interrupt signal.

[0122] Furthermore, the signal triggering module 201 triggers the external interrupt signal, including:

[0123] Axial detection data is acquired in real time, and the axial detection data is compared with preset first axial threshold data; when the axial detection data is greater than or equal to the first axial threshold data, an external interrupt signal is triggered.

[0124] Furthermore, the signal triggering module 201 further includes:

[0125] When the axial detection data is less than the axial threshold data, the current operation mode of the electronic pen is maintained.

[0126] Furthermore, the signal triggering module 201 compares the axial detection data with preset first axial threshold data, including:

[0127] Compare the axial detection sub-data of different axial types in the axial detection data with the corresponding axial threshold sub-data; when there is axial detection sub-data that is greater than or equal to the axial threshold sub-data, trigger an external interrupt signal.

[0128] The data acquisition module 202 is used to acquire current signal data in response to an external interrupt signal.

[0129] The mode switching module 203 is used to determine whether the electronic pen can be triggered to switch to the low power consumption mode based on the current signal data, and then switch the electronic pen to the low power consumption mode.

[0130] Furthermore, the mode switching module 203 determines that the electronic pen can be triggered to switch to the low power consumption mode based on the current signal data, including:

[0131] The current signal data includes a current interaction signal and a current pressure sensitivity level;

[0132] If the current interaction signal satisfies the first preset condition and the current pressure sensitivity level satisfies the second preset condition, it is determined that the electronic pen can be triggered to switch to the low power consumption mode.

[0133] Furthermore, the mode switching module 203 determines that the electronic pen can be triggered to switch to the low power consumption mode, including:

[0134] The current signal data is acquired in real time until after a preset time period, and if the current interaction signal in the current signal data satisfies the first preset condition and the current pressure sensitivity level satisfies the second preset condition, it is determined that the electronic pen can be triggered to switch to the low power consumption mode.

[0135] Furthermore, 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 sensitivity level is less than zero.

[0136] Furthermore, the mode switching module 203 further includes:

[0137] When the current interaction signal does not satisfy the first preset condition, or the current pressure sensitivity level does not satisfy the second preset condition, the current operation mode of the electronic pen is maintained.

[0138] Furthermore, after the electronic pen switches to the low power consumption mode, the mode switching module 203 further includes:

[0139] The axial detection data of the electronic pen is acquired in real time, and the axial detection data is compared with second axial threshold data; when the axial detection data is greater than or equal to the second axial threshold data, the electronic pen is switched out of the low power consumption mode.

[0140] In summary, the embodiments of the present invention provide a mode switching method and system for reducing the power consumption of an electronic pen, which obtains the current signal data by responding to a triggered external interrupt signal, and determines based on the current signal data that the electronic pen can be triggered to switch to a low power consumption mode, and then switches the electronic pen to a low power consumption mode. The present invention reduces the power consumption of the electronic pen and the user's battery life anxiety by switching the electronic pen to a low power consumption mode, thereby increasing the service life of the electronic pen; after responding to the external interrupt signal, the current signal data of the electronic pen is still determined, and the problem of invalid consumption of the power of the electronic pen due to accidental touches of the electronic pen is avoided, thereby increasing the battery life of the electronic pen.

[0141] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for switching power consumption modes, applied to an electronic pen, characterized in that: The following steps are involved: Trigger external interrupt signal; In response to an external interrupt signal, obtaining current signal data; If it is determined based on the current signal data that the electronic pen can be triggered to switch to a low power consumption mode, the electronic pen is switched to the low power consumption mode.

2. The power consumption mode switching method according to claim 1, characterized in that: The triggering of the external interrupt signal further includes: Acquire axial detection data in real time, and compare 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, an external interrupt signal is triggered.

3. The power consumption mode switching method according to claim 2, characterized in that: Also includes: When the axial detection data is less than the first axial threshold data, the current operation mode of the electronic pen is maintained.

4. The power consumption mode switching method according to claim 2, characterized in that: The comparing the axial detection data with preset first axial threshold data includes: comparing axial detection sub-data of different axial types in the axial detection data with corresponding axial threshold sub-data; When the axial detection sub-data is greater than or equal to the axial threshold sub-data, an external interrupt signal is triggered.

5. The power consumption mode switching method according to any one of claims 1 to 4, characterized in that: The determining, based on the current signal data, that the electronic pen can be triggered to switch to the low power consumption mode comprises: The current signal data includes a current interaction signal and a current pressure sensitivity level; If the current interaction signal satisfies a first preset condition and the current pressure sensitivity level satisfies a second preset condition, it is determined that the electronic pen can be triggered to switch to the low power consumption mode.

6. The power consumption mode switching method according to claim 5, characterized in that: The determining that the electronic pen can trigger switching to the low power consumption mode includes: The current signal data is acquired in real time until after a preset time period, and if the current interaction signal in the current signal data satisfies the first preset condition and the current pressure sensitivity level satisfies the second preset condition, it is determined that the electronic pen can be triggered to switch to the low power consumption mode.

7. The power consumption mode switching method according to claim 5, characterized in that: The first preset condition is that the current interaction signal does not exist, and the second preset condition is that the current pressure sensitivity level is less than zero.

8. The power consumption mode switching method according to claim 5, characterized in that: Also includes: When the current interaction signal does not satisfy the first preset condition, or the current pressure sensitivity level does not satisfy the second preset condition, the current operation mode of the electronic pen is maintained.

9. The power consumption mode switching method according to any one of claims 1 to 4, characterized in that: After the electronic pen switches to the low power consumption mode, the method further includes: Acquire the axial detection data of the electronic pen in real time, and compare 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 electronic pen is switched out of the low power consumption mode.

10. A power consumption mode switching system, applied to an electronic pen, characterized in that: The mode switching system includes a signal triggering module, a data acquisition module and a mode switching module; wherein: The signal triggering module is used to trigger an external interrupt signal; The data acquisition module is used to respond to the external interrupt signal and acquire the current signal data; The mode switching module is used to determine whether the electronic pen can be triggered to switch to a low power consumption mode based on current signal data, and then switch the electronic pen to the low power consumption mode.

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

  • Active pen use discrimination method and device, active pen and computer storage medium

    CN114356121A

  • Scanning pen

    CN215734436U

Cited By

  • Stylus control method, system, apparatus, stylus, and medium

    WO2026067116A1