Methods for accessing shortcut functions of a stylus, devices, stylus, and storage media
By introducing smart buttons into the stylus, which recognize and output button operation signals to enable quick function access, the problem of poor convenience of existing styluses is solved, and the writing efficiency of users is improved.
Patent Information
- Application Number
- CN202010816436.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-13
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2040-08-13
AI Technical Summary
Existing styluses require users to frequently switch writing tools and settings manually, resulting in poor convenience.
The stylus is equipped with a touch-sensitive smart button. By recognizing the user's operation signals on the smart button, the corresponding shortcut function information is output, enabling one-click switching of writing tools and settings.
It reduces the need for users to frequently interact with the application interface during the writing process, thus improving writing efficiency and convenience.
Smart Images

Figure CN111949146B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, device, stylus, and storage medium for quick function invocation of a stylus. Background Technology
[0002] With the rapid development of stylus technology, various styluses have been widely used in people's daily lives, allowing them to easily write or draw on tablets and other electronic devices. However, current styluses on the market often only offer relatively simple and convenient functions. For example, the buttons on styluses with physical buttons only support short and long presses. A short press opens or closes a floating window, while a long press switches between brush and eraser modes during writing. Furthermore, users may need to repeatedly switch and adjust brush types and stroke thickness while drawing with a stylus, all of which must be done manually within the application. This results in the technical problem of poor convenience when writing with existing styluses.
[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of this application is to provide a method for quickly calling up functions of a stylus, aiming to solve the technical problem of poor convenience in writing with existing styluses.
[0005] To achieve the above objectives, this application provides a method for invoking shortcut functions of a stylus. This method is applied to a mobile terminal and includes the following steps:
[0006] Receive button operation signals from the stylus, wherein the button operation signals are generated based on user operations on the smart button;
[0007] The type of the key operation signal is identified, and corresponding shortcut function information is output according to the type of the key operation signal.
[0008] Optionally, the key operation signal emitted by the stylus is received only when the target screen device is paired with the stylus.
[0009] Optionally, the button operation signal is of the gesture touch type.
[0010] The step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal includes:
[0011] The button operation signal is identified as the gesture touch type, and the first shortcut function information is output according to the gesture touch type.
[0012] Optionally, the type of the button operation signal is a press operation type.
[0013] The step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal includes:
[0014] The button operation signal is identified as a press operation type, and a second shortcut function information is output according to the press operation type.
[0015] Optionally, before the step of receiving the button operation signal emitted by the stylus, the method further includes:
[0016] Determine whether the signal emitted by the stylus meets a preset condition, wherein the preset condition is at least one of the following: the signal emitted by the stylus is continuously detected within a preset duration, or the signal emitted by the stylus is detected in a preset area of the screen;
[0017] If the conditions are met, it is determined that the target screen device is compatible with the stylus, and the access permission for shortcut functions is granted.
[0018] And / or, if the conditions are not met, it is determined that the target screen device is not compatible with the stylus, and the shortcut function access is disabled.
[0019] Optionally, if the condition is met, the step of determining that the target screen device matches the stylus and enabling shortcut function access includes:
[0020] If the condition is met, then determine whether the stylus is in a floating state based on the signal.
[0021] If the stylus is in a floating state, it is determined that the target screen device is compatible with the stylus, and the access permission for shortcut functions is granted.
[0022] And / or, if the stylus is not in a floating state, it is determined that the target screen device is not compatible with the stylus, and the access permission for shortcut functions is disabled.
[0023] Optionally, after the step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal, the method further includes:
[0024] Upon receiving an action operation signal sent by the stylus, the system outputs third shortcut function information corresponding to the action operation signal based on preset rules. Optionally, the action operation signal is generated based on the user's action of shaking or rotating the stylus.
[0025] Optionally, the shortcut function information can be output via an information interface display and / or voice output.
[0026] Furthermore, to achieve the above objectives, this application also provides a shortcut function call device for a stylus, wherein the stylus is equipped with a touch-sensitive smart button, and the shortcut function call device for the stylus includes:
[0027] An operation signal receiving module is used to receive button operation signals emitted by the stylus, wherein the button operation signals are generated based on user operations on the smart button;
[0028] Optionally, the device receives button operation signals from the stylus only when it is paired with the stylus.
[0029] The function information output module is used to identify the type of the key operation signal and output corresponding shortcut function information according to the type of the key operation signal.
[0030] Optionally, the function information output module includes:
[0031] The first information output unit is used to identify the type of the button operation signal as the gesture touch type, and output the first shortcut function information according to the gesture touch type.
[0032] Optionally, the function information output module includes:
[0033] The second information output unit is used to identify the type of the key operation signal as the pressing operation type, and output the second shortcut function information according to the pressing operation type.
[0034] Optionally, the stylus's shortcut function call device further includes:
[0035] The matching and judgment module is used to determine whether the signal emitted by the stylus is continuously recognized within a preset time period, and / or whether the signal emitted by the stylus is recognized in a preset area of the screen;
[0036] The matching result module is used to determine that the target screen device matches the stylus if the conditions are met, and to enable the use of shortcut functions.
[0037] And / or, if the conditions are not met, it is determined that the target screen device is not compatible with the stylus, and the shortcut function access is disabled.
[0038] Optionally, the matching result module further includes:
[0039] A state determination unit is used to determine whether the stylus is in a floating state based on the signal if the condition is met.
[0040] The status determination unit is used to determine that the target screen device is matched with the stylus if the stylus is in a floating state, and to enable the access permission for shortcut functions.
[0041] And / or, if the stylus is not in a floating state, it is determined that the target screen device is not compatible with the stylus, and the access permission for shortcut functions is disabled.
[0042] Optionally, the stylus's shortcut function call device further includes:
[0043] The third information output module is used to output third shortcut function information corresponding to the action operation signal based on preset rules when it receives the action operation signal sent by the stylus. Optionally, the action operation signal is generated based on the user's action of shaking or rotating the stylus.
[0044] Optionally, the function information output module includes:
[0045] The information output unit is used to output the shortcut function information in the form of information interface display output and / or voice output.
[0046] In addition, to achieve the above objectives, this application also provides a stylus, the stylus comprising: a touchable smart button, a memory, a processor, and a stylus shortcut function calling program stored in the memory and executable on the processor, wherein when the stylus shortcut function calling program is executed by the processor, it implements the steps of the stylus shortcut function calling method as described above.
[0047] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a shortcut function invocation program for a stylus, wherein when the stylus shortcut function invocation program is executed by a processor, it implements the steps of the stylus shortcut function invocation method described above.
[0048] This application provides a method, apparatus, stylus, and computer-readable storage medium for invoking shortcut functions of a stylus. The method receives button operation signals emitted by the stylus, wherein the button operation signals are generated based on user operations on a smart button; identifies the type of the button operation signal; and outputs corresponding shortcut function information based on the type of the button operation signal. Through this method, this application, by setting a touchable smart button in the stylus, allows the user to perform various operations on this smart button; by receiving button operation signals generated by the user based on this smart button and outputting the corresponding shortcut function information, the user can directly use various preset shortcut functions by operating only on the smart button. This avoids the user frequently opening and closing relevant application interfaces to switch writing tools or set writing settings during stylus writing, reducing user operations, shortening operation time, and improving the writing efficiency of the user when using the stylus, thereby solving the technical problem of poor convenience when writing with existing styluses. Attached Figure Description
[0049] Figure 1 This is a schematic diagram of the mobile terminal structure of the hardware operating environment involved in the embodiments of this application;
[0050] Figure 2 A communication network system architecture diagram provided for an embodiment of this application;
[0051] Figure 3 This is a flowchart illustrating the first embodiment of the method for calling shortcut functions of the stylus in this application;
[0052] Figure 4 This is a flowchart illustrating the second embodiment of the method for calling shortcut functions of the stylus in this application;
[0053] Figure 5 This is a schematic diagram of the smart button in the stylus of this application.
[0054] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0055] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0056] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustration and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.
[0057] Terminals can be implemented in various forms. For example, the terminals described in this application may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0058] The following description will use a mobile terminal as an example. Those skilled in the art will understand that, apart from elements specifically designed for mobile purposes, the construction according to the embodiments of this application can also be applied to fixed-type terminals.
[0059] like Figure 1 As shown, Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of this application.
[0060] The terminal in this application embodiment can be a PC, or a smartphone, tablet computer, e-book reader, MP3 (Moving Picture Experts Group Audio Layer III) player, MP4 (Moving Picture Experts Group Audio Layer IV) player, portable computer, or other portable terminal devices with display functions.
[0061] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU; a communication bus 1002; a user interface 1003; a network interface 1004; and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0062] Optionally, the terminal may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, a WiFi module, and so on. Sensors may include light sensors, motion sensors, and other sensors. Specifically, light sensors may include ambient light sensors and proximity sensors. The ambient light sensor can adjust the display brightness according to the ambient light level, while the proximity sensor can turn off the display and / or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, a gravity accelerometer can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity, and can be used for applications that identify the mobile terminal's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition functions (such as pedometers, taps), etc. Of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, which will not be elaborated here.
[0063] Those skilled in the art will understand that Figure 1 The terminal structure shown does not constitute a limitation on the terminal and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0064] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a shortcut function call program for the stylus.
[0065] exist Figure 1 In the terminal shown, network interface 1004 is mainly used to connect to the backend server and communicate data with it; user interface 1003 is mainly used to connect to the client (user terminal) and communicate data with it; while processor 1001 can be used to call the stylus shortcut function call program stored in memory 1005 and perform the following operations:
[0066] Receive button operation signals from the stylus, wherein the button operation signals are generated based on user operations on the smart button;
[0067] The type of the key operation signal is identified, and corresponding shortcut function information is output according to the type of the key operation signal.
[0068] Optionally, the key operation signal emitted by the stylus is received only when the target screen device is paired with the stylus.
[0069] Furthermore, the processor 1001 can call the stylus shortcut function call program stored in the memory 1005, and also perform the following operations:
[0070] The button operation signal is identified as the gesture touch type, and the first shortcut function information is output according to the gesture touch type.
[0071] Furthermore, the processor 1001 can call the stylus shortcut function call program stored in the memory 1005, and also perform the following operations:
[0072] The button operation signal is identified as a press operation type, and a second shortcut function information is output according to the press operation type.
[0073] Furthermore, the processor 1001 can call the stylus shortcut function call program stored in the memory 1005, and also perform the following operations:
[0074] Determine whether the signal emitted by the stylus meets a preset condition, wherein the preset condition is at least one of the following: the signal emitted by the stylus is continuously detected within a preset duration, or the signal emitted by the stylus is detected in a preset area of the screen;
[0075] If the conditions are met, it is determined that the target screen device is compatible with the stylus, and the access permission for shortcut functions is granted.
[0076] And / or, if the conditions are not met, it is determined that the target screen device is not compatible with the stylus, and the shortcut function access is disabled.
[0077] Furthermore, the processor 1001 can call the stylus shortcut function call program stored in the memory 1005, and also perform the following operations:
[0078] If the condition is met, then determine whether the stylus is in a floating state based on the signal.
[0079] If the stylus is in a floating state, it is determined that the target screen device is compatible with the stylus, and the access permission for shortcut functions is granted.
[0080] And / or, if the stylus is not in a floating state, it is determined that the target screen device is not compatible with the stylus, and the access permission for shortcut functions is disabled.
[0081] Furthermore, the processor 1001 can call the stylus shortcut function call program stored in the memory 1005, and also perform the following operations:
[0082] Upon receiving an action operation signal sent by the stylus, the system outputs third shortcut function information corresponding to the action operation signal based on preset rules. Optionally, the action operation signal is generated based on the user's action of shaking or rotating the stylus.
[0083] Furthermore, the processor 1001 can call the stylus shortcut function call program stored in the memory 1005, and also perform the following operations:
[0084] The shortcut function information is output in the form of information interface display and / or voice output.
[0085] To facilitate understanding of the embodiments of this application, the communication network system on which the mobile terminal of this application is based is described below.
[0086] Please see Figure 2 , Figure 2 This application provides a communication network system architecture diagram. The communication network system is an LTE system based on the universal mobile communication technology. The LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and the operator's IP services 204, which are connected in sequence.
[0087] Specifically, UE201 can be the aforementioned terminal 100, which will not be elaborated here.
[0088] E-UTRAN202 includes eNodeB2021 and other eNodeB2022s. Among them, eNodeB2021 can connect to other eNodeB2022s via backhaul (e.g., X2 interface), and eNodeB2021 connects to EPC203. eNodeB2021 can provide UE201 with access to EPC203.
[0089] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gateway) 2034, PGW (Packet Data Network Gateway) 2035, and PCRF (Policy and Charging Rules Function) 2036, etc. Among them, MME2031 is the control node that handles signaling between UE201 and EPC203, providing bearer and connection management. HSS2032 provides registers to manage functions such as the Home Location Register (not shown in the diagram) and stores user-specific information such as service characteristics and data rates. All user data can be sent through SGW2034. PGW2035 can provide UE 201 IP address allocation and other functions. PCRF2036 is the policy and charging control decision point for service data flow and IP bearer resources. It selects and provides available policy and charging control decisions for the policy and charging enforcement function unit (not shown in the figure).
[0090] IP services 204 may include the Internet, intranet, IMS (IP Multimedia Subsystem), or other IP services.
[0091] Although the above description uses the LTE system as an example, those skilled in the art should understand that this application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems, etc., which are not limited here.
[0092] Based on the above-described mobile terminal hardware structure and communication network system, various embodiments of this application are proposed.
[0093] With the rapid development of stylus technology, various styluses have been widely used in people's daily lives, allowing them to easily write or draw on tablets and other electronic devices. However, current styluses on the market often only offer relatively simple and convenient functions. For example, the buttons on styluses with physical buttons only support short and long presses. A short press opens or closes a floating window, while a long press switches between brush and eraser modes during writing. Furthermore, users may need to repeatedly switch and adjust brush types and stroke thickness while drawing with a stylus, all of which must be done manually within the application. This results in the technical problem of poor convenience when writing with existing styluses.
[0094] To address the aforementioned issues, this application provides a method for invoking shortcut functions of a stylus. This involves incorporating a touch-sensitive smart button into the stylus, allowing users to perform various operations on this button. By receiving button operation signals generated by the user based on this smart button and sending them from the stylus, the method outputs the corresponding shortcut function information. This allows users to directly access various preset shortcut functions simply by operating the smart button, avoiding the need for users to frequently open and close related application interfaces to switch writing tools or adjust writing settings while using the stylus. This reduces user operations, shortens operation time, and improves writing efficiency when using the stylus, thus solving the technical problem of poor convenience when writing with existing styluses. The method for invoking shortcut functions of a stylus is applied to both the stylus with the smart button and the screen device.
[0095] Reference Figure 3 , Figure 3 This is a flowchart illustrating the first embodiment of the method for invoking shortcut functions of a stylus.
[0096] The first embodiment of this application provides a method for calling up shortcut functions of a stylus, the method comprising the following steps:
[0097] Step S10: Receive a button operation signal from the stylus, wherein the button operation signal is generated based on the user's operation on the smart button;
[0098] Optionally, the key operation signal emitted by the stylus is received only when the target screen device is paired with the stylus.
[0099] In this embodiment, the shortcut function invocation method for the stylus is applied to the writing process of the stylus on the target screen device. The writing process is not limited to writing text, but can also include drawing and other operations. The stylus has a touch-sensitive smart button, which the user can press, slide, and perform other operations. The target screen device is a device that can receive and respond to signals emitted by the stylus, typically a mobile phone, tablet, or computer with a touchscreen. Under normal circumstances, the target screen device can only receive the signals emitted by the stylus normally when the stylus is within a certain distance from the touchscreen of the target screen device. Therefore, the target screen device and the stylus can only be matched when the target screen device normally receives the signals emitted by the stylus. Button operation signals may include gesture touch signals, press operation signals, etc. Specifically, when a user is using the stylus to draw near the screen of a tablet, when the distance between the stylus and the screen is within a certain range, the screen can receive the signals sent by the stylus and respond to the signals of the stylus, allowing the user to draw on the screen. If the user wants to switch pen types, they can make an upward swipe gesture on the smart button of the stylus, and the stylus will then send a button operation signal to the screen based on this upward swipe gesture.
[0100] Step S20: Identify the type of the key operation signal and output the corresponding shortcut function information according to the type of the key operation signal.
[0101] In this embodiment, the type of button operation signal can be a press operation signal, a gesture touch type, etc. The shortcut function information is information about the functions the user needs during the writing process, specifically, it can be floating window settings, writing tool switching, pen thickness adjustment, pen color switching, etc. The screen in the target screen device with the stylus identifies the type of the currently received button operation signal, and then determines which shortcut function information to output based on this specific type. Specifically, the settings in the specific embodiment in step S10 are followed. The screen receives the button operation signal generated by the stylus based on the user's upward swipe gesture on the smart button, and identifies the type of this button operation signal. When the type of the current button operation signal is identified as a gesture touch type, a shortcut function menu for switching drawing pen types pops up according to the preset response rules corresponding to the gesture touch type. After the user makes an upward swipe gesture on the smart button, they can freely switch the type of drawing pen without pausing the current drawing process and clicking to enter the relevant APP interface to switch the drawing pen type.
[0102] In this embodiment, by receiving button operation signals emitted by the stylus, wherein the button operation signals are generated based on user operations on the smart button; identifying the type of the button operation signals; and outputting corresponding shortcut function information according to the type of the button operation signals, this application enables users to perform various operations on the smart button by setting a touchable smart button in the stylus; by receiving button operation signals generated by the user based on the smart button and outputting the corresponding shortcut function information, users can directly use various preset shortcut functions by operating only on the smart button. This avoids users frequently opening and closing relevant application interfaces to switch writing tools or set writing settings during the writing process with the stylus, reducing user operations, shortening operation time, and improving the writing efficiency of users when using the stylus, thereby solving the technical problem of poor convenience when writing with existing styluses.
[0103] Furthermore, based on the above Figure 3 The first embodiment shown illustrates a second embodiment of the method for quickly accessing the shortcut functions of the stylus in this application. (Refer to...) Figure 4 , Figure 4 This is a flowchart illustrating a second embodiment of the method for invoking shortcut functions of a stylus. Not shown in the figure, in this embodiment, step S20 includes:
[0104] Step S21: Identify that the type of the button operation signal is the gesture touch type, and output the first shortcut function information according to the gesture touch type.
[0105] In this embodiment, the gesture touch type refers to the signal type generated when the user makes a gesture on the smart button of the stylus, specifically such as swiping up or swiping down. The first shortcut function information may include the on / off selection information of the floating window, the selection information for switching between different types of tools such as the main brush and eraser during the writing process, the information for adjusting the stroke thickness, and the selection information for switching the pen type.
[0106] In specific embodiments, such as Figure 5 As shown, users can perform upward or downward swipe gestures on the smart button. If the shortcut function of an upward swipe on the smart button is pre-set to switch drawing pen types from left to right, and a downward swipe to switch drawing pen types from right to left, then when a user intends to switch the current drawing pen type while drawing on the tablet using the stylus, they can simply perform an upward swipe gesture on the smart button. A sliding display of all drawing pen types will then pop up on the screen, switching the current drawing pen type to the next one adjacent to it in the order listed. Users can perform multiple swipe gestures on the smart button to select the target drawing pen type, or they can directly swipe in the sliding display to select the target drawing pen type.
[0107] Furthermore, in this embodiment, step S20 further includes:
[0108] Step S22: Identify that the type of the button operation signal is the press operation type, and output the second shortcut function information according to the press operation type.
[0109] In this embodiment, the press operation type refers to the signal type generated when the user presses the smart button on the stylus, specifically such as long press, short press, pressing the "increase" button, pressing the "decrease" button, etc. The second shortcut function information may include the on / off selection information of the floating window, the selection information for switching between different types of tools such as the main brush and eraser during the writing process, the information for adjusting the stroke thickness, and the selection information for switching brush types, etc. It should be noted that the first shortcut function information must be different from the second shortcut function information.
[0110] In specific embodiments, such as Figure 5 As shown. The stylus's smart button includes an "+" button for "increase" and a "-" button for "decrease." Users can long-press, short-press, or press the "increase" and "decrease" buttons. The preset shortcut for a short press on the smart button is toggling the floating window on and off; a long press switches between brush and eraser during writing; pressing the "increase" button increases the stroke thickness, and pressing the "decrease" button decreases the stroke thickness. While drawing on the tablet with the stylus, the floating window is not currently displayed on the screen. To enable the floating window, short-press the smart button. If the user finds the stroke too thick and wants to reduce it, press the "decrease" button. To erase part of the drawing, long-press the smart button to switch the brush to eraser; after erasing, long-press the smart button again to switch the eraser back to the brush and continue drawing.
[0111] In this embodiment, the button operation signals are further divided into gesture touch type and press operation type, and different shortcut functions are set for the two different types. This allows users to easily call up a variety of shortcut functions through gesture touch or press operation on the smart button, which shortens the operation time, improves the writing efficiency of users when using the stylus, and also enhances the user experience.
[0112] Furthermore, not shown in the figure, based on the above Figure 3 The first embodiment shown presents a third embodiment of the method for quickly accessing the shortcut functions of the stylus in this application. In this embodiment, before step S10, the method further includes:
[0113] Step a, determine whether the signal emitted by the stylus is continuously detected within a preset time period, and / or whether the signal emitted by the stylus is detected in a preset area of the screen;
[0114] Step b: If the conditions are met, it is determined that the target screen device is compatible with the stylus, and shortcut function access is granted; and / or,
[0115] If step c is not met, it is determined that the target screen device and the stylus are incompatible, and the shortcut function access is disabled.
[0116] In this embodiment, two preset conditions are set when determining whether the stylus is compatible with the target screen device. One is whether the target screen device continuously recognizes the signal emitted by the stylus within a preset time period. The preset time period can be flexibly set according to actual conditions, and this embodiment does not impose a specific limitation on it. The other is whether the target screen device recognizes the signal emitted by the stylus in a preset area on the screen. The preset area is usually the area where the stylus writing app is located, and can be flexibly set according to actual conditions. This embodiment does not impose a specific limitation on it. Both conditions are used to determine whether the current user intends to use the stylus for writing. If one or both conditions are met, the stylus is considered compatible with the target screen device, and the shortcut function can be invoked. If neither condition is met, the stylus is considered incompatible with the target screen device, the current user does not intend to use the stylus for writing, and the shortcut function does not need to be activated.
[0117] Further, step b includes:
[0118] Step d: If satisfied, determine whether the stylus is in a floating state based on the signal.
[0119] Step e: If the stylus is in a floating state, it is determined that the target screen device is compatible with the stylus, and shortcut function access is granted; and / or,
[0120] Step f: If the stylus is not in a floating state, it is determined that the target screen device and the stylus are incompatible, and the shortcut function access permission is disabled.
[0121] In this embodiment, an additional judgment is added when determining whether the user intends to write with the stylus. This involves determining whether the stylus is currently in a floating state. Specifically, this can be achieved by detecting data acquired in real time from the stylus's built-in motion sensor, pressure sensor, or accelerometer. Preset conditions can be established, such as the pressure data in the pen grip area being higher than a certain threshold, and the pressure data in other areas being lower than a certain threshold. If the data meets these preset conditions, it is determined that the stylus is currently in a floating state, thus indicating a match between the display device and the stylus, and that the user intends to write on the screen with the stylus, thereby granting access to the shortcut function. Conversely, if one or more data points do not meet the preset conditions, it is determined that the stylus is not currently in a floating state, indicating a mismatch between the display device and the stylus, and that the user does not intend to write on the screen with the stylus, thus disabling access to the shortcut function.
[0122] In this embodiment, multiple judgment conditions are further set to determine whether the target screen device and the stylus are compatible, that is, to determine whether the current user intends to use the stylus to write on the screen. This ensures that the permission to enable the shortcut function is not granted when the two are not compatible, saving device resources and avoiding the problem of users accidentally triggering the shortcut function when they have no intention to write.
[0123] Furthermore, not shown in the figure, based on the above Figure 3 The first embodiment shown presents a fourth embodiment of the method for quickly accessing the shortcut functions of the stylus in this application. In this embodiment, after step S30, the method further includes:
[0124] Step g: Upon receiving an action operation signal sent by the stylus, output third shortcut function information corresponding to the action operation signal based on a preset rule. Optionally, the action operation signal is generated based on the user's action of shaking or rotating the stylus.
[0125] In this embodiment, the preset rule is the correspondence between action operation signals and shortcut functions. For example, a shaking action signal corresponds to the pen color switching function, and a rotation action corresponds to the pen type switching function. The third shortcut function information is the function information that the user needs to use when writing with the stylus. It can be the same as or different from the first and second shortcut function information mentioned above. The determination of whether the user is shaking or rotating the stylus can be achieved by detecting the real-time speed data, acceleration data, and rotation angle data obtained by the motion sensor and accelerometer built into the stylus. The specific determination process is prior art in this field and will not be described in detail here.
[0126] In a specific embodiment, if the shaking action signal is set to correspond to the pen color switching function, then when the user wants to change the pen color while drawing with the stylus, he can simply shake the stylus, and the screen will pop up a pen color selection box. At the same time, the current pen color red will be switched to the next pen color yellow in sequence. The user can switch the pen color by shaking the pen or by directly selecting it from the selection box.
[0127] Furthermore, in this embodiment, it also includes:
[0128] The shortcut function information is output in the form of information interface display and / or voice output.
[0129] In this embodiment, the output of quick information can be done in the form of information interfaces such as menus, lists, and selection boxes, or by voice broadcasting the current usage status. The user can then specify the target user object by voice to complete the selection, or both methods can be used simultaneously.
[0130] In this embodiment, a shortcut function call method is further added by increasing the action operation signal, which brings more convenience to the user in the process of using the stylus and improves the efficiency of use; by setting multiple shortcut function information output methods, the user experience is further improved.
[0131] This application also provides a device for quickly calling up functions of a stylus.
[0132] The stylus's shortcut function call device includes:
[0133] An operation signal receiving module receives button operation signals emitted by the stylus, wherein the button operation signals are generated based on user operations on the smart button;
[0134] Optionally, the device receives button operation signals from the stylus only when it is paired with the stylus.
[0135] The function information output module is used to identify the type of the key operation signal and output corresponding shortcut function information according to the type of the key operation signal.
[0136] This application also provides an apparatus comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method described above.
[0137] This application also provides a stylus.
[0138] The stylus includes a touch-sensitive smart button, a processor, a memory, and a stylus shortcut function calling program stored in the memory and executable on the processor. When the stylus shortcut function calling program is executed by the processor, it implements the steps of the stylus shortcut function calling method as described above.
[0139] The method implemented when the shortcut function call program of the stylus is executed can be referred to in various embodiments of the shortcut function call method of the stylus in this application, and will not be repeated here.
[0140] This application also provides a computer-readable storage medium.
[0141] The present application provides a computer-readable storage medium storing a shortcut function calling program for a stylus, which, when executed by a processor, implements the steps of the stylus shortcut function calling method described above.
[0142] The method implemented when the shortcut function call program of the stylus is executed can be referred to in the various embodiments of the shortcut function call method of the stylus in this application, and will not be repeated here.
[0143] This application also provides a computer program product, which includes computer program code that, when run on a computer, causes the computer to perform the methods described in the various possible implementations described above.
[0144] This application also provides a chip including a memory and a processor. The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip performs the methods described in the various possible embodiments described above.
[0145] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, components, features, and elements with the same names in different embodiments of this application may have the same meaning or different meanings, the specific meaning of which must be determined by its interpretation in that specific embodiment or further in conjunction with the context of that specific embodiment.
[0146] It should be understood that although the terms first, second, third, etc., may be used herein to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if," as used herein, can be interpreted as "when," "when," or "in response to determination." Furthermore, as used herein, the singular forms "a," "an," and "the" are intended to also include the plural forms unless the context indicates otherwise. It should be further understood that the terms "comprising," "including," indicate the presence of the stated feature, step, operation, element, component, item, kind, and / or group, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" as used herein are to be interpreted as inclusive, or mean any one or any combination thereof. Therefore, "A, B, or C" or "A, B, and / or C" means "any one of the following: A; B; C; A and B; A and C; B and C; A, B, and C". Exceptions to this definition will only occur if the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way.
[0147] It should be understood that although the steps in the flowcharts of this application's embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0148] It should be noted that step designations such as S10 and S20 are used in this document for the purpose of more clearly and concisely describing the corresponding content, and do not constitute a substantial limitation on the order. In specific implementation, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the protection scope of this application.
[0149] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0150] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0151] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for quickly accessing functions of a stylus, characterized in that, The stylus is equipped with a touch-sensitive smart button, and the methods for accessing the stylus's shortcut functions include: Determine whether the signal emitted by the stylus meets a preset condition, wherein the preset condition is at least one of the following: the signal emitted by the stylus is continuously detected within a preset duration, or the signal emitted by the stylus is detected in a preset area of the screen; If the conditions are met, the target screen device is determined to be compatible with the stylus, and shortcut function access is granted, specifically including: If the preset conditions are met, the stylus is determined to be in a floating state based on the signal, including: detecting pressure data of each area of the stylus through the pressure sensor built into the stylus; if the pressure data of the grip area of the stylus is higher than a first preset threshold and the pressure data of other areas of the stylus is lower than a second preset threshold, the stylus is determined to be in a floating state. If the stylus is determined to be in a floating state, the target screen device is determined to be compatible with the stylus, and the shortcut function access permission is enabled; Receive button operation signals from the stylus, wherein the button operation signals are generated based on user operations on the smart button; Identifying the type of the button operation signal and outputting corresponding shortcut function information according to the type of the button operation signal includes: identifying the type of the button operation signal as a gesture touch type and outputting first shortcut function information according to the gesture touch type.
2. The method for quickly accessing the functions of a stylus as described in claim 1, characterized in that, The button operation signal is of the press operation type. The step of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal includes: The button operation signal is identified as a press operation type, and a second shortcut function information is output according to the press operation type.
3. The method for quickly accessing the functions of a stylus as described in claim 1, characterized in that, After the step of determining whether the signal emitted by the stylus meets the preset conditions, the method further includes: If the conditions are not met, it is determined that the target screen device is incompatible with the stylus, and the shortcut function access is disabled.
4. The method for quickly accessing the functions of a stylus as described in claim 1, characterized in that, After the steps of identifying the type of the key operation signal and outputting corresponding shortcut function information according to the type of the key operation signal, the method further includes: Upon receiving an action operation signal from the stylus, the system outputs third shortcut function information corresponding to the action operation signal based on preset rules.
5. The method for quickly calling up the functions of a stylus as described in any one of claims 1 to 4, characterized in that, The shortcut function information is output in the form of information interface display and / or voice output.
6. A device for quickly accessing the functions of a stylus, characterized in that, The stylus is equipped with a touch-sensitive smart button, and the stylus's shortcut function call device includes: The matching module is used to determine whether the signal emitted by the stylus meets a preset condition, wherein the preset condition is at least one of the following: the signal emitted by the stylus is continuously detected within a preset time period, or the signal emitted by the stylus is detected in a preset area of the screen; If the conditions are met, the target screen device is determined to be compatible with the stylus, and shortcut function access is granted, specifically including: If the preset conditions are met, the stylus is determined to be in a floating state based on the signal, including: detecting pressure data of each area of the stylus through the pressure sensor built into the stylus; if the pressure data of the grip area of the stylus is higher than a first preset threshold and the pressure data of other areas of the stylus is lower than a second preset threshold, the stylus is determined to be in a floating state. If the stylus is determined to be in a floating state, the target screen device is determined to be compatible with the stylus, and the shortcut function access permission is enabled; An operation signal receiving module is used to receive button operation signals emitted by the stylus, wherein the button operation signals are generated based on user operations on the smart button; The function information output module is used to identify the type of the button operation signal and output corresponding shortcut function information according to the type of the button operation signal, including: identifying the type of the button operation signal as a gesture touch type and outputting first shortcut function information according to the gesture touch type.
7. A stylus, characterized in that, The stylus includes: a touchable smart button, a memory, a processor, and a stylus shortcut function calling program stored in the memory and executable on the processor. When the stylus shortcut function calling program is executed by the processor, it implements the steps of the stylus shortcut function calling method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a shortcut function calling program for the stylus, which, when executed by a processor, implements the steps of the shortcut function calling method for the stylus as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Interactive device and color control method and device
CN106775003A
Touch pen interaction method, touch screen control method and touch screen
CN110515528A
Mobile terminal, input operation method thereof and computer storage medium
CN111459343A
Touch control pen realizing multifunctional operation
CN201392511Y