Stylus-based methods and apparatuses

By identifying the trigger data of the first area where the touch film overlaps with the cut surface, the problem of low accuracy in stylus usage is solved, achieving higher operation recognition accuracy and improved user experience.

CN120045078BActive Publication Date: 2026-01-27HONOR DEVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510064943.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-08-09
Filing Date
2023-08-03
Publication Date
2026-01-27
Estimated Expiration
2043-08-03

AI Technical Summary

Technical Problem

The accuracy of existing stylus usage is low, which affects the user experience of controlling electronic devices.

Method used

By identifying trigger data in the first region where the touch film overlaps with the cut surface, the accuracy of operation recognition is improved. The stylus receives and processes operations targeting the first region to control the target device.

Benefits of technology

It improves the accuracy and flexibility of users controlling electronic devices with a stylus, enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045078B_ABST
    Figure CN120045078B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a kind of based on stylus's use method and device, it is related to terminal technical field, part or all of the body of stylus is surrounded with touch film, the body of stylus is provided with tangent plane, and touch film includes first area, first area is less than the body area covered by stylus and first area is located at the position of tangent plane, method includes: when stylus receives first operation for first area, stylus identifies first operation, obtains identification result, and based on identification result, control target equipment, and target equipment is established with stylus communication connection.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application, the parent application being the invention patent application with application number 202380025107.9, original filing date August 3, 2023, entitled "Method and Apparatus for Using a Stylus Pen", and claiming priority to the Chinese patent application filed on August 9, 2022, with application number 202210951471.5, entitled "Method and Apparatus for Using a Stylus Pen", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of terminal technology, and in particular to a method and device for using a stylus. Background Technology

[0003] With the popularization and development of the internet, people's functional needs for electronic devices have become increasingly diversified. For example, in order to simplify the use of electronic devices, styluses have gradually become an important tool for inputting data into electronic devices or controlling them.

[0004] Typically, a stylus is wrapped with a touch film near the tip, allowing the stylus to control electronic devices and other functions based on the user's triggering of the touch film.

[0005] However, the accuracy of the above-mentioned stylus-based usage methods is low, which affects the user experience of controlling electronic devices with a stylus. Summary of the Invention

[0006] This application provides a method and apparatus for using a stylus, which can improve the accuracy of operation recognition by identifying trigger data in a first region where the touch film overlaps with the cut surface, thereby improving the user experience of using a stylus to control electronic devices.

[0007] In a first aspect, embodiments of this application provide a method for using a stylus. A touch film surrounds part or all of the stylus's body. A cross-section is provided on the stylus's body. The touch film includes a first region, which is smaller than the area of ​​the stylus's body covered by the touch film and is located at the cross-section. The method includes: when the stylus receives a first operation targeting the first region, the stylus identifies the first operation, obtains a recognition result, and controls a target device based on the recognition result. A communication connection is established between the target device and the stylus. This improves the accuracy of operation recognition by identifying trigger data in the first region where the touch film overlaps with the cross-section, thereby enhancing the user experience of controlling the target device with the stylus.

[0008] The first region may be a preset region as described in the embodiments of this application; the target device may be an electronic device as described in the embodiments of this application.

[0009] In one possible implementation, when the first operation is a swipe towards a position away from the stylus tip, the recognition result is used to instruct the target device to turn the page down; or, when the first operation is a swipe towards a position closer to the stylus tip, the recognition result is used to instruct the target device to turn the page up. In this way, the stylus can control the target device to turn pages based on the user's swipe operation on the first area, avoiding accidental touches caused by the user triggering other positions on the touch film, thereby improving the accuracy of the user's stylus control of the target device.

[0010] In one possible implementation, the method further includes: the stylus acquiring stylus state information; the stylus state information being used to indicate the stylus tip orientation; the stylus recognizing a first operation, obtaining a recognition result, and controlling the target device based on the recognition result, including: the stylus recognizing the first operation and state information, obtaining a recognition result, and controlling the target device based on the recognition result. In this way, the stylus can control page turning on the target device based on both the stylus tip orientation and the sliding operation on the first area, allowing the user to flexibly control the target device using the stylus.

[0011] In one possible implementation, when the state information meets a preset condition and the first operation is a swipe operation away from the stylus tip, the recognition result is used to instruct the target device to turn the page down; or, when the state information does not meet the preset condition and the first operation is a swipe operation away from the stylus tip, the recognition result is used to instruct the target device to turn the page up; or, when the state information meets the preset condition and the first operation is a swipe operation closer to the stylus tip, the recognition result is used to instruct the target device to turn the page up; or, when the state information does not meet the preset condition and the first operation is a swipe operation closer to the stylus tip, the recognition result is used to instruct the target device to turn the page down. In this way, the stylus can control page turning on the target device based on the stylus tip orientation and the swipe operation on the first area, allowing the user to flexibly control the target device using the stylus.

[0012] The preset condition can be that the pen tip is facing upwards, as described in the embodiments of this application; if the preset condition is not met, it can be that the pen tip is facing downwards, as described in the embodiments of this application.

[0013] In one possible implementation, the method further includes: the stylus switching from a first mode to a second mode; wherein, in the first mode, the stylus is capable of responding to trigger operations at any location on the touch film; in the second mode, the stylus is capable of responding to trigger operations in the first area, but not to trigger operations in a second area of ​​the touch film other than the first area; the stylus receiving a first operation on the first area includes: the stylus in the second mode receiving a first operation on the first area. In this way, the stylus can switch from the first mode to the second mode before controlling the target device, and receive user operations on the first area in the second mode, avoiding accidental touches when receiving the user's first operation on the first area in the first mode.

[0014] The first mode can be the writing mode described in the embodiments of this application, and the second mode can be the page-turning pen mode described in the embodiments of this application.

[0015] In one possible implementation, the stylus includes a touch integrated circuit board (IC) and a microcontroller unit (MCU). The method further includes: the MCU sending a first instruction to the touch IC; the first instruction instructing the stylus to switch from a first mode to a second mode; the touch IC acquiring first trigger data corresponding to a first operation based on the second mode, and sending the first trigger data to the MCU; and the stylus recognizing the first operation, including the MCU recognizing the first trigger data. This allows the touch IC in the stylus to acquire only the first trigger operation corresponding to the first operation based on the second mode, reducing the memory usage caused by acquiring trigger operations in the second region.

[0016] In one possible implementation, the stylus includes a touch IC and an MCU. The method further includes: the touch IC acquiring second trigger data and sending the second trigger data to the MCU; wherein the second trigger data is trigger data for the touch film, and the second trigger data includes first trigger data corresponding to the first operation; the stylus identifies the first operation, including: the MCU identifying the first trigger data based on a second mode. In this way, the MCU in the stylus can receive the second trigger data sent by the touch IC and filter the first trigger data through the second mode, enabling the stylus to improve the accuracy of operation recognition based on the first trigger data.

[0017] In one possible implementation, the stylus recognizes a first operation, obtains a recognition result, and controls the target device based on the recognition result. This includes: the stylus recognizes the first operation, obtains a recognition result, and controls the movement of the cursor and / or changes to the page on the target device based on the recognition result. In this way, the stylus can not only turn pages on the target device but also control the movement of the cursor and changes to the page on the target device, enhancing the flexibility of controlling the target device.

[0018] Secondly, embodiments of this application provide a stylus-based device, wherein part or all of the stylus body is surrounded by a touch film, and the stylus body has a cross-section. The touch film includes a first region, which is smaller than the area of ​​the stylus body covered by the touch film and is located at the cross-section. When a processing unit receives a first operation targeting the first region, an identification unit is used to identify the first operation and obtain an identification result. The processing unit is used to control a target device based on the identification result, and the target device establishes a communication connection with the stylus.

[0019] In one possible implementation, when the first operation is a swipe operation away from the tip of the stylus, the recognition result is used to instruct the target device to turn down the page; or, when the first operation is a swipe operation closer to the tip of the stylus, the recognition result is used to instruct the target device to turn up the page.

[0020] In one possible implementation, the processing unit is further configured to acquire the status information of the stylus; the status information of the stylus is used to indicate the orientation of the stylus tip; the recognition unit is further configured to recognize the first operation and the status information to obtain the recognition result; and the processing unit is further configured to control the target device based on the recognition result.

[0021] In one possible implementation, when the state information meets the preset conditions and the first operation is a sliding operation away from the tip of the stylus, the recognition result is used to instruct the target device to turn down the page; or, when the state information does not meet the preset conditions and the first operation is a sliding operation away from the tip of the stylus, the recognition result is used to instruct the target device to turn up the page; or, when the state information meets the preset conditions and the first operation is a sliding operation closer to the tip of the stylus, the recognition result is used to instruct the target device to turn up the page; or, when the state information does not meet the preset conditions and the first operation is a sliding operation closer to the tip of the stylus, the recognition result is used to instruct the target device to turn down the page.

[0022] In one possible implementation, the processing unit is further configured to switch from a first mode to a second mode; wherein, in the first mode, the stylus is capable of responding to a trigger operation at any location on the touch film; in the second mode, the stylus is capable of responding to a trigger operation in the first area, but not to a trigger operation in the second area of ​​the touch film other than the first area; the processing unit is further configured to receive a first operation targeting the first area in the second mode.

[0023] In one possible implementation, the stylus includes a touch integrated circuit board (IC) and a microcontroller unit (MCU). The processing unit is further configured to send a first instruction to the touch IC; the first instruction is configured to instruct the stylus to switch from a first mode to a second mode; the processing unit is further configured to acquire first trigger data corresponding to the first operation based on the second mode, and send the first trigger data to the MCU; the processing unit is further configured to identify the first trigger data.

[0024] In one possible implementation, the stylus includes a touch IC and an MCU. The processing unit is further configured to acquire second trigger data and send the second trigger data to the MCU. The second trigger data is trigger data for the touch film and includes first trigger data corresponding to the first operation. The processing unit is further configured to identify the first trigger data based on a second mode.

[0025] In one possible implementation, the identification unit is further configured to identify the first operation and obtain the identification result, and the processing unit is further configured to control the movement of the cursor in the target device and / or control the changes of the target device page based on the identification result.

[0026] Thirdly, embodiments of this application provide a stylus, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it causes the stylus to perform the method described in the first aspect or any possible implementation of the first aspect.

[0027] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, causes the computer to perform the method described in the first aspect or any possible implementation thereof.

[0028] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when run, causes a computer to perform the methods described in the first aspect or any possible implementation thereof.

[0029] Sixthly, embodiments of this application provide a system comprising: a stylus and a target device, wherein the target device and the stylus are connected in communication, a stylus body partially or entirely surrounded by a touch film, the stylus body having a cross-section, the touch film including a first region, the first region being smaller than the stylus body area covered by the touch film and the first region being located at the cross-section, the stylus being used to: when receiving a first operation targeting the first region, recognize the first operation and obtain a recognition result; the stylus being further used to: send the recognition result to the target device; the target device being used to: receive the recognition result and control the target device based on the recognition result.

[0030] It should be understood that the third to sixth aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description

[0031] Figure 1 A scenario diagram provided for an embodiment of this application;

[0032] Figure 2 A schematic diagram of a touch film for a stylus provided in an embodiment of this application;

[0033] Figure 3 A schematic diagram illustrating a gripping posture provided in an embodiment of this application;

[0034] Figure 4 A schematic diagram of the hardware structure of a stylus provided in an embodiment of this application;

[0035] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;

[0036] Figure 6 A schematic diagram of the touch film of another stylus provided in an embodiment of this application;

[0037] Figure 7 A flowchart illustrating a method of using a stylus based on an embodiment of this application;

[0038] Figure 8 A schematic diagram of an interface for activating the page turner mode, provided as an embodiment of this application;

[0039] Figure 9 A schematic diagram of a scenario based on a stylus simulating a laser pointer, provided for an embodiment of this application;

[0040] Figure 10 A schematic diagram illustrating a scenario of page turning controlled by a laser pointer, provided as an embodiment of this application;

[0041] Figure 11 A schematic diagram illustrating another scenario of page turning controlled by a stylus, provided for an embodiment of this application;

[0042] Figure 12 A schematic diagram of a stylus-based user device provided in this application embodiment;

[0043] Figure 13 This is a schematic diagram of the hardware structure of another stylus provided in an embodiment of this application. Detailed Implementation

[0044] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. For example, the first value and the second value are only used to distinguish different values ​​and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0045] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0046] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0047] For example, Figure 1 This is a schematic diagram of a scenario provided for an embodiment of this application. Figure 1 In the corresponding embodiments, a tablet is used as an example for illustration. This example does not constitute a limitation on the embodiments of this application.

[0048] like Figure 1 As shown, the scenario may include an electronic device 200 and a stylus 100. The stylus 100 can be used to input data into the electronic device 200 or to control the electronic device 200.

[0049] Typically, both the stylus 100 and the electronic device 200 support two working modes: writing mode and page-turning mode. Writing mode is the default mode for the stylus 100, allowing users to write on the touchscreen of the electronic device 200 and input data. In page-turning mode, users can control page turning on the electronic device 200 by holding the stylus 100 and sliding it up and down (or left and right) on the touchscreen.

[0050] Understandably, the touch film can be a component surrounding the tip of the stylus, used to receive user-triggered operations. For example, the touch film can be used to receive user swipes up and down (or left and right) in page-turning pen mode.

[0051] For example, Figure 2 This is a schematic diagram of a touch film for a stylus provided in an embodiment of this application. Figure 2 As shown in Figure 'a', a touch film surrounds the front end of the stylus near the tip. This touch film can be... Figure 2 The gray area indicated by 'a' corresponds to the location. For example... Figure 2 As shown in b, when the touch film is unfolded, the touch film can be a rectangular area with a width of W and a height of H.

[0052] Typically, after a user triggers the touch film, the stylus can receive and recognize operation data at any location within the touch film. For example, in page-turning mode, the user uses the stylus to control page turning on an electronic device, illustrating the user's grip posture when triggering the stylus. For instance, Figure 3 This is a schematic diagram illustrating a grip posture provided in an embodiment of this application. It is understood that the stylus can be adjusted based on the user's... Figure 3 a in Figure 3 b or Figure 3 The system can recognize any of the grip postures of the touch film in c to achieve page turning control of electronic devices.

[0053] However, due to the wide variety of grip postures users use when triggering the touch film, the stylus can easily mistake the user's palm or multiple fingers touching the touch film for page-turning operations in page-turning pen mode. This results in a low accuracy rate for the stylus to recognize trigger operations, which in turn affects the user's experience of controlling electronic devices with the stylus.

[0054] In view of this, embodiments of this application provide a method for using a stylus. The stylus has a touch film surrounding its tip. The stylus receives a first operation on the touch film. In response to the first operation, the stylus identifies the operation in a first area of ​​the touch film and obtains a recognition result. This allows the stylus to avoid accidental touches caused by the user triggering other areas of the touch film based on the recognition of the operation in the first area, thereby improving the accuracy of the user's use of the stylus to control the electronic device. The first area is smaller than the corresponding area of ​​the touch film.

[0055] For example, Figure 4 This is a schematic diagram of the hardware structure of a stylus provided in an embodiment of this application.

[0056] Among them, a stylus can also be called a pen, capacitive pen, or inductive pen, etc. Figure 4 As shown, the stylus 100 may have a processor 110. The processor 110 may include storage and processing circuitry for supporting the operation of the stylus 100. The storage and processing circuitry may include storage devices such as non-volatile memory (e.g., flash memory or other electrically programmable read-only memory configured as a solid-state drive), volatile memory (e.g., static or dynamic random access memory), etc. The processing circuitry in the processor 110 can be used to control the operation of the stylus 100. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio chips, or application-specific integrated circuits, etc.

[0057] It is understandable that the processor 110 may include modules such as a touch integrated circuit board (IC) and a microcontroller unit (MCU).

[0058] The touch IC is used to acquire the trigger operation in the touch film; the MCU is used to determine the working mode of the stylus and to identify the trigger operation based on the working mode.

[0059] The stylus 100 may include one or more sensors. For example, the sensor may include a pressure sensor 120. The pressure sensor 120 may be disposed at the writing end of the stylus 100. Alternatively, the pressure sensor 120 may be disposed within the pen body 20 of the stylus 100, so that when one end of the pen tip of the stylus 100 is subjected to force, the other end of the pen tip moves and applies the force to the pressure sensor 120. In one embodiment, the processor 110 can adjust the line thickness of the stylus 100 when writing based on the pressure detected by the pressure sensor 120.

[0060] The sensor may also include an inertial sensor 130. The inertial sensor 130 may include a three-axis accelerometer and a three-axis gyroscope sensor, and / or other components for measuring the motion of the stylus 100, such as a three-axis magnetometer which may be included in the sensor as a nine-axis inertial sensor. In this embodiment, the gyroscope sensor may be used to detect the orientation of the stylus tip 100, for example, to detect the orientation of the stylus tip and to detect states such as the stylus tip pointing downwards.

[0061] The sensor may also include additional sensors such as temperature sensors, ambient light sensors, light-based proximity sensors, contact sensors, magnetic sensors, pressure sensors and / or other sensors.

[0062] The stylus 100 may include a status indicator 140 such as an LED and a button 150. The status indicator 140 is used to indicate the status of the stylus 100 to the user. The button 150 may include a mechanical button and a non-mechanical button, and the button 150 can be used to collect button press information from the user.

[0063] In this embodiment of the application, the stylus 100 may include one or more electrodes 160, one of which may be located at the writing end of the stylus 100, and another of which may be located inside the pen tip, as described above.

[0064] The stylus 100 may include a sensing circuit 170. The sensing circuit 170 can sense capacitive coupling between the electrode 160 and the drive line of the capacitive touch sensor panel that interacts with the stylus 100. The sensing circuit 170 may include an amplifier for receiving capacitance readings from the capacitive touch sensor panel, a clock for generating a demodulated signal, a phase shifter for generating a phase-shifted demodulated signal, a mixer for demodulating the capacitance reading using in-phase demodulation frequency components, and a mixer for demodulating the capacitance reading using quadrature demodulation frequency components. The result of the mixer demodulation can be used to determine an amplitude proportional to the capacitance, allowing the stylus 100 to sense contact with the capacitive touch sensor panel.

[0065] Understandably, depending on actual needs, the stylus 100 may include a microphone, speaker, audio generator, vibrator, camera, data port, and other devices. Users can use these devices to provide commands to control the operation of the stylus 100 and the electronic device 200 that interacts with the stylus 100, and to receive status information and other outputs.

[0066] The processor 110 can be used to run software on the stylus 100 that controls the operation of the stylus 100. During operation of the stylus 100, the software running on the processor 110 can process sensor input, button input, and input from other devices to monitor the movement of the stylus 100 and other user input. The software running on the processor 110 can detect user commands and can communicate with the electronic device 200.

[0067] To support wireless communication between the stylus 100 and the electronic device 200, the stylus 100 may include a wireless module. Figure 4 The following explanation uses Bluetooth module 180 as an example of a wireless module. The wireless module can also be a Wi-Fi hotspot module, a Wi-Fi peer-to-peer module, etc. Bluetooth module 180 may include a radio frequency transceiver, such as a transceiver. Bluetooth module 180 may also include one or more antennas. The transceiver can use the antennas to transmit and / or receive wireless signals. The wireless signals, depending on the type of wireless module, can be Bluetooth signals, wireless LAN signals, long-range signals such as cellular phone signals, near-field communication signals, or other wireless signals.

[0068] The stylus 100 may also include a charging module 190, which can support charging of the stylus 100 and provide power to the stylus 100.

[0069] It is understood that the electronic device 200 in this application embodiment can be referred to as user equipment (UE), terminal, etc. For example, the electronic device 200 can be a portable Android device (PAD), a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device, an in-vehicle device or wearable device, a virtual reality (VR) electronic device, an augmented reality (AR) electronic device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical care, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc., and other mobile or fixed terminals with touch screens. This application embodiment does not specifically limit the form of the electronic device.

[0070] For example, Figure 5This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.

[0071] Reference Figure 5 Electronic device 200 may include multiple subsystems that cooperate to perform, coordinate, or monitor one or more operations or functions of electronic device 202. Electronic device 200 includes processor 210, input surface 220, coordination engine 230, power subsystem 240, power connector 250, wireless interface 260, and display 270.

[0072] For example, the coordination engine 230 can be used to communicate and / or process data with other subsystems of the electronic device 200; communicate and / or transact data with the stylus 100; measure and / or acquire the output of one or more analog or digital sensors (such as touch sensors); measure and / or acquire the output of one or more sensor nodes of a sensor node array (such as an array of capacitive sensing nodes); receive and locate tip signals and loop signals from the stylus 100; locate the stylus 100 based on the position of the tip signal intersection area and the loop signal intersection area, etc.

[0073] The processor 210 can be used to receive control commands from the stylus, which can be used to instruct the electronic device 200 to perform corresponding control. In this embodiment, when the stylus receives a trigger operation from the user in a preset area, the stylus can identify the trigger operation and send the control command corresponding to the identification result to the electronic device 200, so that the electronic device 200 can execute the control command. For example, the electronic device 200 can perform page turning control according to the control command.

[0074] Generally, processor 210 may be configured to perform, coordinate, and / or manage the functions of electronic device 200. Such functions may include, but are not limited to: communicating and / or trading data with other subsystems of electronic device 200, communicating and / or trading data with stylus 100, trading data via a wireless interface, trading data via a wired interface, facilitating power exchange via a wireless (e.g., inductive, resonant, etc.) or wired interface, and receiving the position and angular position of one or more styluses.

[0075] Processor 210 can be implemented as any electronic device capable of processing, receiving, or transmitting data or instructions. For example, a processor can be a microprocessor, a central processing unit, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor, analog circuitry, digital circuitry, or a combination of these devices. The processor can be a single-threaded or multi-threaded processor. The processor can be a single-core or multi-core processor.

[0076] During use, processor 210 can be configured to access memory storing instructions. These instructions can be configured to cause the processor to perform, coordinate, or monitor one or more operations or functions of electronic device 200.

[0077] The instructions stored in the memory can be configured to control or coordinate the operation of other components of the electronic device 200, such as, but not limited to: another processor, analog or digital circuitry, volatile or non-volatile memory modules, displays, speakers, microphones, rotary input devices, buttons or other physical input devices, biometric sensors and / or systems, force or touch input / output components, communication modules (such as wireless interfaces and / or power connectors), and / or haptic feedback devices.

[0078] The memory can also store electronic data that can be used by the stylus or processor. For example, the memory can store electronic data or content (such as media files, documents, and applications), device settings and preferences, timing and control signals, or data, data structures, or databases for various modules, files or configurations related to the detection of tip signals and / or loop signals, and so on. The memory can be configured as any type of storage device. For example, the memory can be implemented as random access memory, read-only memory, flash memory, removable memory, other types of storage elements, or combinations of such devices.

[0079] In this embodiment, the memory can also be connected to the stylus that has been connected to the electronic device 200, the working mode corresponding to the stylus, and the usage time of the stylus in different working modes, so that the electronic device can send the working mode with the longest usage time to the stylus the next time it establishes a connection with the stylus, thereby avoiding frequent switching of the stylus's working mode.

[0080] Electronic device 200 also includes a power subsystem 240. Power subsystem 240 may include a battery or other power source. Power subsystem 240 may be configured to provide power to electronic device 200. Power subsystem 240 may also be coupled to power connector 250.

[0081] The electronic device 200 also includes a wireless interface 260 to facilitate electronic communication between the electronic device 200 and the stylus 100. In this embodiment, the electronic device 200 may be configured to receive recognition results from the stylus via a Bluetooth Low Energy communication interface, for example, the electronic device 200 may receive recognition results from the stylus via the wireless interface 260.

[0082] In some embodiments, the electronic device 200 also communicates with the stylus 100 using a near-field communication interface. In other examples, the communication interface facilitates electronic communication between the electronic device 200 and external communication networks, devices, or platforms.

[0083] The wireless interface 260 (whether it is a communication interface between the electronic device 200 and the stylus 100 or another communication interface) can be implemented as one or more wireless interfaces, Bluetooth interfaces, near-field communication interfaces, magnetic interfaces, universal serial bus interfaces, inductive interfaces, resonant interfaces, capacitive coupling interfaces, Wi-Fi interfaces, TCP / IP interfaces, network communication interfaces, optical interfaces, acoustic interfaces or any conventional communication interface.

[0084] The electronic device 200 also includes a display 270. The display 270 may be located behind the input surface 220 or integrated therewith. The processor 210 may use the display 270 to present information to the user. In many cases, the processor 210 uses the display 270 to present an interface that the user can interact with. In many cases, the user interacts with the interface using a stylus 100. In this embodiment, the display 270 may display the interface after being controlled by the stylus.

[0085] It will be apparent to those skilled in the art that some of the specific details presented above with respect to electronic device 200 may not be necessary for practicing a particular embodiment or its equivalent. Similarly, other electronic devices may include a greater number of subsystems, modules, components, etc. Where appropriate, some submodules may be implemented as software or hardware. Therefore, it should be understood that the foregoing description is not intended to be exhaustive or to limit this disclosure to its precise form. Rather, it will be apparent to those skilled in the art that many modifications and variations are possible in light of the foregoing teachings.

[0086] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be implemented independently or in combination with each other. The same or similar concepts or processes may not be described again in some embodiments.

[0087] In this embodiment, an example of a touch film surrounding the tip of a stylus is provided. Figure 6 This is a schematic diagram of the touch film of another stylus provided in an embodiment of this application. Figure 6 In the corresponding embodiment, the stylus body may be provided with at least one facet 601, and a preset area 602 (or may also be called a first area) is provided near the tip of the facet 601. The preset area 602 corresponding to the facet 601 can be used to receive the user's trigger operation on the preset area 602 when the stylus is in the page-turning pen mode.

[0088] The cut surface is a flat plane without curvature that extends longitudinally along the stylus body. The cut surface can indicate the position of the stylus body, and users can quickly distinguish between the cut surface area and the non-cut surface area simply by holding the stylus.

[0089] like Figure 6 As shown in 'a', the stylus can divide a touch film with a width of W and a height of H into multiple channels of equal size (6×6), and based on user-defined parameters, such as... Figure 6 The triggering operation of the preset area 602 of 1×4 size at the cross section shown in b is used to identify the triggering operation in the page-turning pen mode, and then the identification result is used to control the electronic device.

[0090] The 1×4 equal-sized preset area 602 can meet the size of the user's finger when triggering with a single finger. It can be understood that this can avoid accidental touches when multiple fingers trigger in the preset area 602, and improve the accuracy of operation recognition.

[0091] In possible implementations, the size of the preset area 602 at the cut surface position can also be 1×3, 1×5, or 1×6, etc.

[0092] It is understood that the preset area can be interpreted as an elongated area located on the cross-section of the stylus body. The size of the preset area can be related to the size of the grid resulting from the division of the touch film, the size of the cross-section, and the size of the finger. For example, when the touch film is divided into a 12×12 grid, the size of the preset area 602 can be 2×6, 2×7, or 3×7, etc., and this embodiment does not limit this.

[0093] It is understood that the 6×6 size division of the touch film and the 1×4 size corresponding to the preset area are merely examples and do not constitute a limitation on the embodiments of this application. For example, when the touch film is divided into multiple 5×5 channels, the size of the preset area can also be 1×3, 1×4, or 1×5, etc.; or, when the touch film is divided into multiple 7×7 channels, the size of the preset area can also be 1×3, 1×4, 1×5, 1×6, or 1×7, etc., and this application does not limit this aspect.

[0094] Understandably, to avoid the stylus failing to recognize trigger operations at any location on the touch film, resulting in low accuracy in recognizing user trigger operations, the stylus can recognize trigger operations in a preset area located at a cross-section of the touch film and ignore trigger operations at other locations on the touch film, thereby reducing accidental touches and improving the accuracy of the stylus in recognizing trigger operations.

[0095] exist Figure 6Based on the corresponding embodiments, this application provides a method for using a stylus. For example, Figure 7 This is a flowchart illustrating a method of using a stylus based on an embodiment of this application. Figure 7 In the corresponding embodiments, the stylus-based usage method may involve electronic devices and styluses. For example, the electronic device may be a tablet and the stylus may include a touch IC and an MCU. This example is not intended to limit the embodiments of this application.

[0096] like Figure 7 As shown, the stylus-based usage method may include the following steps:

[0097] S701. The electronic device establishes a communication connection with the stylus.

[0098] The stylus and the electronic device can be interconnected via a communication network to achieve wireless signal interaction. This communication network can be, but is not limited to, Wi-Fi hotspot networks, Wi-Fi peer-to-peer (P2P) networks, Bluetooth networks, Zigbee networks, or near field communication (NFC) networks, etc., and is not limited to any particular type in this embodiment.

[0099] It is understood that the embodiments of this application will be illustrated using the Bluetooth connection between the stylus and the electronic device as an example.

[0100] S702, Electronic devices are set to page-turning pen mode.

[0101] Understandably, since the stylus defaults to writing mode when turned on, the page-turning pen mode can be activated by the user's actions on the electronic device.

[0102] For example, Figure 8 This is a schematic diagram of an interface for enabling the page-turning pen mode, provided as an embodiment of this application.

[0103] When an electronic device receives a user's command to open a settings function, the electronic device can display something like this: Figure 8 The interface shown in 'a'. For example... Figure 8The interface shown in Figure 'a' may include: a text box 801 for searching settings items, controls for viewing account information, controls for setting WLAN, controls for setting Bluetooth, controls for setting mobile networks, and controls for viewing the HyperTerminal, etc. The account information can be 1234567XXXX. The user's operation to open the settings function can be a trigger operation on the control corresponding to the settings function on the desktop of the electronic device, or a trigger operation on the thumbnail corresponding to the settings function in the multitasking background interface of the electronic device, or a voice operation, etc., which are not limited in this embodiment. The trigger operation can be a click operation, a long press operation, a swipe operation, a voice operation, or other gesture operation, etc., which are not limited in this embodiment.

[0104] like Figure 8 As shown in Figure 'a', when the electronic device receives the user's input of the search term "demo page turner mode" in the text box 801 used for searching settings, the electronic device can open the function interface corresponding to the delayed page turner mode and display the following: Figure 8 The interface shown in b. Figure 8 The interface shown in b can include a control 802 for activating the page turner mode, and a prompt message for activating the page turner. The prompt message can be displayed as: After activating the page turner mode, you can use the stylus to control the electronic device to achieve page turning and other functions.

[0105] In such Figure 8 In the interface shown in b, when the page turner mode is off, the electronic device can execute the steps shown in S703 when it receives a user's trigger operation on the control 802 used to turn on the page turner mode.

[0106] In a possible implementation, the stylus can also switch to page-turning mode based on a user's trigger operation on the stylus in writing mode. For example, the stylus can switch from writing mode to page-turning mode based on multiple taps of the touch film by the user, or based on the user's long-term or multiple presses of the stylus tip, and then the stylus will execute the steps shown in S703.

[0107] S703, The electronic device sends a message to the stylus to instruct it to switch to page turner mode.

[0108] For example, when the electronic device and the stylus are connected via Bluetooth, the electronic device can send a message instructing the stylus to switch to page turner mode via Bluetooth or other means. Accordingly, the stylus can receive the message sent by the electronic device instructing it to switch to page turner mode.

[0109] S704. When the stylus receives a trigger operation from the user on the touch film, the stylus identifies the trigger operation at a preset area in the touch film and obtains the identification result.

[0110] In this embodiment of the application, when the stylus receives a user's trigger operation on the touch film, the stylus can identify the trigger operation at a preset area in the touch film based on the following two methods.

[0111] In one implementation, when the stylus receives a message from the electronic device instructing it to switch to page turner mode, the MCU in the stylus can send an instruction message containing the page turner mode to the touch IC, instructing the touch IC to only accept trigger operations corresponding to a preset area. Further, the touch IC can send trigger data corresponding to the trigger operations received within the preset area to the MCU, which then identifies the data and obtains the identification result. This trigger data may include: the position corresponding to the trigger operation, and the capacitance change at the time of triggering, etc.

[0112] The touch IC can activate only a portion of the channels corresponding to the preset area to receive trigger operations based on the indication message used to indicate the page turner mode, so that the touch IC can receive the trigger operation corresponding to the preset area and obtain the trigger data corresponding to the trigger operation.

[0113] Understandably, even if the user touches an area of ​​the touch film other than the preset area, the touch IC will not be able to recognize the user's touch operation.

[0114] In another implementation, the touch IC can normally receive user trigger operations at any location on the touch film and send the corresponding trigger data to the MCU. The MCU can then identify the trigger data corresponding to the preset area based on the received message instructing the stylus to switch to page turner mode, and obtain the identification result. Alternatively, it can be understood that the MCU can filter out trigger data outside the preset area of ​​the touch film.

[0115] The touch IC can send the trigger data and the corresponding channel to the MCU, so that the MCU can identify the trigger data at the channel of the preset area according to the message used to instruct the stylus to switch to page turner mode, and obtain the identification result.

[0116] The meaning of this preset area can be found in [reference needed]. Figure 6 The descriptions in the corresponding embodiments will not be repeated here.

[0117] S705: The stylus sends a message indicating the recognition result to the electronic device.

[0118] For example, the stylus can also send the message indicating the recognition result to the electronic device via Bluetooth. Accordingly, the electronic device can receive the recognition result sent by the stylus.

[0119] S706. Electronic devices control electronic devices based on recognition results.

[0120] In the page-turning pen mode, embodiments of this application can provide various control methods for electronic devices based on the stylus. For example, a user can simulate a laser pointer based on trigger operations of the stylus, displaying laser dots on the electronic device (see...). Figure 9 (Corresponding embodiment); or, the user can also control the page turning of the electronic device based on the user's trigger operation on the stylus (see...). Figure 10 (Corresponding embodiment).

[0121] In one implementation, a user can simulate a laser pointer based on a trigger operation for a stylus, displaying laser dots on an electronic device.

[0122] For example, Figure 9 This is a schematic diagram of a scenario based on a stylus to simulate a laser pointer, provided as an embodiment of this application.

[0123] like Figure 9 In the scenario shown in step S704, when the stylus receives a press (or long press) operation from the user in the preset area, the stylus can send the recognition result corresponding to the press operation to the electronic device via step S705, causing the electronic device to display laser dot 901 in step S706. Users can use the stylus to simulate a laser pointer, providing a visual demonstration during business presentations.

[0124] like Figure 9 The interface displayed on the electronic device shown in 'a' can be the first page of a slideshow. This interface may include: laser dot 901, used to indicate page 1, text information for introducing the stylus, information for the sharer: user A, and time information indicating the date as July 7, 2022.

[0125] Among the possible implementations, such as Figure 9 In the scenario shown in b, when the user finishes pressing on the preset area of ​​the stylus, the electronic device can cancel the display of the laser dot.

[0126] Understandably, users can simulate a laser pointer displaying laser dots on electronic devices by pressing on preset areas of the stylus, thereby improving the accuracy of press operation recognition.

[0127] In another implementation, users can also control page turning on the electronic device based on their triggering actions with the stylus.

[0128] For example, Figure 10 This is a schematic diagram illustrating a scenario where page turning is controlled by a stylus, as provided in an embodiment of this application.

[0129] like Figure 10 In the scenario shown in step S704, when the stylus receives a user's swipe away from the pen tip in the preset area, the stylus can send the recognition result corresponding to the swipe operation to the electronic device via step S705. This allows the electronic device to perform page turning in step S706, for example, the electronic device can turn down a page. At this time, the electronic device can... Figure 10 The interface displayed on the electronic device shown in 'a' is switched to... Figure 10 The interface displayed on the electronic device shown in b is shown in the image.

[0130] like Figure 10 In the scenario shown in b, when the stylus receives a user's swipe towards the tip in the preset area during step S704, the stylus can send the recognition result corresponding to the swipe operation to the electronic device via S705, allowing the electronic device to perform page turning in step S706. For example, the electronic device can turn pages upwards. At this time, the electronic device can... Figure 10 The interface displayed on the electronic device shown in b has switched to... Figure 10 The interface displayed on the electronic device shown in Figure 'a' is... Figure 10 The interface displayed on the electronic device shown in b may include: information indicating page 2, and a definition of the stylus, etc.

[0131] In possible implementations, when the user attaches the stylus to the bottom of the electronic device, or when the user... Figure 8 In the interface shown in b, the page turner mode can be turned off, or the stylus can exit page turner mode when the user taps the touch film multiple times.

[0132] Understandably, users can control electronic devices to turn pages by swiping across preset areas of the stylus, thus improving the accuracy of page turning recognition.

[0133] Understandably, a stylus can also control electronic devices based on the orientation of its tip. For example... Figure 10 The interface shown in 'a' and Figure 10The interface is shown in b. With the stylus tip pointing upwards, when the stylus receives a swipe from the user in a preset area away from the tip, the stylus can control the electronic device to turn the page down; or, with the stylus tip pointing upwards, when the stylus receives a swipe from the user in a preset area close to the tip, the stylus can control the electronic device to turn the page up. The stylus may include a gyroscope or other sensor to detect its orientation.

[0134] In one possible implementation, with the stylus tip pointing downwards, when the stylus receives a swipe from the user near the tip in a preset area, the stylus can control the electronic device to turn the page down; or, with the stylus tip pointing downwards, when the stylus receives a swipe from the user away from the tip in a preset area, the stylus can control the electronic device to turn the page up.

[0135] It is understood that the different orientations of the stylus and the different trigger operations for the preset area under different orientation states are only examples of the control of the electronic device and do not constitute a limitation on the embodiments of this application.

[0136] based on Figure 7 As described in the corresponding embodiments, the stylus in this application embodiment can avoid accidental touches caused by the user triggering other positions of the touch film based on the recognition of operations in the preset area of ​​the touch film, thereby improving the accuracy of the user controlling electronic devices with the stylus.

[0137] In one possible implementation, when an electronic device displays document content or web page content, the stylus can also control the cursor on the electronic device or continuously turn pages of the document content or web page content.

[0138] For example, Figure 11 This is a schematic diagram of another scenario for page turning based on stylus control, provided as an embodiment of this application.

[0139] like Figure 11 In the scenario shown in 'a', the electronic device can display document content, which may include a cursor 1101. The interface displayed by the electronic device may also include: controls for indicating completion of document editing, save controls, undo typing controls, repeat typing controls, controls for exiting the document, controls for page up, controls for page down, and markers indicating the position of the currently displayed content within the document. Figure 11 The document content displayed on the electronic device in the scenario shown in b can be compared with... Figure 11 The document content displayed on the electronic device is different in the scenario shown in 'a'.

[0140] like Figure 11 In the scenario shown in step S704, when the stylus receives a user's swipe away from the pen tip in the preset area, the stylus can send the recognition result corresponding to the swipe operation to the electronic device via step S705. This allows the electronic device to control the cursor to move continuously downwards in step S706. Furthermore, when the user stops operating on the preset area, the electronic device can end the control of the cursor. For example, the electronic device can control the cursor movement based on the user's swipe of the stylus; for instance, the electronic device can display a message such as "..." when the user is not operating the stylus. Figure 11 The interface displayed on the electronic device shown in 'a', and how it responds when the user ends the operation of the stylus. Figure 11 The image shown (b) illustrates the interface displayed on the electronic device. It's understandable that moving the cursor will cause changes in the content displayed on the page.

[0141] In one possible implementation, when the stylus receives a user's swipe away from the tip within a preset area, the stylus can control the electronic device to continuously scroll down the displayed page. Furthermore, the electronic device can end the page-turning operation when the user stops operating on the preset area.

[0142] Adaptable, such as Figure 11 In the scenario shown in b, when the stylus receives a user's swipe towards the tip of the stylus in the preset area during step S704, the stylus can send the recognition result corresponding to the swipe operation to the electronic device via S705, causing the electronic device to control the cursor to move continuously upwards during step S706. Furthermore, when the user stops operating on the preset area, the electronic device can end the control of the cursor. For example, the electronic device can control the cursor movement based on the user's swipe of the stylus; for instance, the electronic device can display a message such as "..." when the user is not operating the stylus. Figure 11 The interface displayed on the electronic device shown in b, and how it responds when the user ends the operation of the stylus. Figure 11 The interface displayed on the electronic device shown in 'a' is shown in the image.

[0143] In one possible implementation, when the stylus receives a user's swipe near the tip of the stylus within a preset area, the stylus can control the electronic device to continuously scroll upwards. Furthermore, when the user stops operating on the preset area, the electronic device can end the page-turning operation. The specific process is similar to how a stylus controls cursor movement on an electronic device, and will not be elaborated upon here.

[0144] In one possible implementation, the stylus could also control the electronic device based on the orientation of the pen tip. For example... Figure 11 The interface shown in 'a' and Figure 11The interface shown in b is as follows: When the stylus tip is pointing upwards, and the stylus receives a swipe from the user in a preset area away from the tip, the stylus can control the page displayed on the electronic device to continuously scroll downwards (or the cursor displayed on the electronic device to continuously move downwards); or, when the stylus tip is pointing upwards, and the stylus receives a swipe from the user in a preset area close to the tip, the stylus can control the page displayed on the electronic device to continuously scroll upwards (or the cursor displayed on the electronic device to continuously move upwards).

[0145] In possible implementations, when the stylus tip is pointing downwards, and the stylus receives a user's swipe near the tip in a preset area, the stylus can control the page displayed on the electronic device to continuously scroll downwards (or the cursor displayed on the electronic device to continuously move downwards); or, when the stylus tip is pointing upwards, and the stylus receives a user's swipe away from the tip in a preset area, the stylus can control the page displayed on the electronic device to continuously scroll upwards (or the cursor displayed on the electronic device to continuously move upwards).

[0146] Based on this, the stylus can identify operations on preset areas of the touch film and the orientation of the stylus, thus avoiding accidental touches when the user triggers other parts of the touch film and improving the accuracy of the user's use of the stylus to control electronic devices.

[0147] It is understood that the interface provided in the embodiments of this application is only an example and does not constitute a limitation on the embodiments of this application.

[0148] The above combination Figures 6-11 The methods provided in the embodiments of this application have been described. The apparatus for executing the above methods, provided in the embodiments of this application, is described below. Figure 12 As shown, Figure 12 This is a schematic diagram of a stylus-based device provided in an embodiment of this application. The stylus-based device can be a wearable device in the embodiment of this application, or a chip or chip system within a wearable device.

[0149] like Figure 12 As shown, the stylus-based user device 1200 can be used in communication devices, circuits, hardware components, or chips. The stylus-based user device includes a recognition unit 1201 and a processing unit 1202. The recognition unit 1201 supports the stylus-based user device 1200 in performing data recognition steps, and the processing unit 1202 supports the stylus-based user device 1200 in performing data processing steps.

[0150] Specifically, this application provides a stylus-based device 1200. Part or all of the stylus body is surrounded by a touch film. The stylus body has a cross-section. The touch film includes a first region, which is smaller than the area of ​​the stylus body covered by the touch film and is located at the cross-section. When the processing unit 1202 receives a first operation targeting the first region, the recognition unit 1201 is used to recognize the first operation and obtain a recognition result. The processing unit 1202 is used to control a target device based on the recognition result. The target device establishes a communication connection with the stylus.

[0151] In a possible implementation, the stylus-based user device 1200 may also include a communication unit 1203. Specifically, the communication unit 1203 is used to support the stylus-based user device 1200 in performing data transmission and data reception steps. The communication unit 1203 may be an input or output interface, pins, or circuitry, etc.

[0152] In a possible embodiment, the stylus-based user device 1200 may further include a storage unit 1204. The processing unit 1202 and the storage unit 1204 are connected via a circuit. The storage unit 1204 may include one or more memories, which may be devices in one or more devices or circuits used for storing programs or data. The storage unit 1204 may exist independently and be connected to the processing unit 1202 of the stylus-based user device via a communication line. Alternatively, the storage unit 1204 may be integrated with the processing unit 1202.

[0153] Storage unit 1204 can store computer-executable instructions for the methods in the wearable device, so that processing unit 1202 executes the methods in the above embodiments. Storage unit 1204 can be a register, cache, or RAM, etc., and storage unit 1204 can be integrated with processing unit 1202. Storage unit 1204 can be read-only memory (ROM) or other types of static storage devices that can store static information and instructions, and storage unit 1204 can be independent of processing unit 1202.

[0154] Figure 13 A schematic diagram of another hardware structure of a stylus provided in an embodiment of this application is shown below. Figure 13 As shown, the stylus includes a processor 1301, a communication line 1304, and at least one communication interface. Figure 13 (The example described uses communication interface 1303 as an example).

[0155] The processor 1301 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application.

[0156] Communication line 1304 may include circuitry for transmitting information between the aforementioned components.

[0157] Communication interface 1303 uses any transceiver-like device for communicating with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.

[0158] It is possible that the stylus may also include memory 1302.

[0159] The memory 1302 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory may exist independently and be connected to the processor via communication line 1304. The memory may also be integrated with the processor.

[0160] The memory 1302 stores computer execution instructions for implementing the solution of this application, and the processor 1301 controls the execution of these instructions. The processor 1301 executes the computer execution instructions stored in the memory 1302 to implement the wear detection method provided in the embodiments of this application.

[0161] It is possible that the computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.

[0162] In a specific implementation, as one example, the processor 1301 may include one or more CPUs, for example... Figure 13 CPU0 and CPU1 in the CPU.

[0163] In a specific implementation, as one example, the stylus may include multiple processors, such as... Figure 13 Processors 1301 and 1305 are mentioned. Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here can refer to one or more devices, circuits, and / or processing cores used to process data (such as computer program instructions).

[0164] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. For example, available media may include magnetic media (e.g., floppy disks, hard disks, or magnetic tapes), optical media (e.g., digital versatile discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).

[0165] This application embodiment also provides a system including a stylus and a target device. The target device and the stylus are connected by communication. Part or all of the stylus body is surrounded by a touch film. The stylus body has a cross-section. The touch film includes a first region, which is smaller than the area of ​​the stylus body covered by the touch film and is located at the cross-section. The stylus is used to: when receiving a first operation on the first region, recognize the first operation and obtain a recognition result; the stylus is also used to: send the recognition result to the target device; the target device is used to: receive the recognition result and control the target device based on the recognition result.

[0166] This application also provides a computer-readable storage medium. The methods described in the above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any combination thereof. The computer-readable medium may include computer storage media and communication media, and may also include any medium capable of transferring a computer program from one place to another. The storage medium can be any target medium accessible by a computer.

[0167] As one possible design, computer-readable media may include compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disc storage; computer-readable media may also include disk storage or other disk storage devices. Furthermore, any connecting cable may also be appropriately referred to as computer-readable media. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of media. As used herein, disks and optical discs include optical discs (CD), laser discs, optical discs, digital versatile discs (DVD), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers.

[0168] The above combinations should also be included within the scope of computer-readable media. The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A display control method, characterized in that, The method is applied to an electronic device that establishes a communication connection with a stylus, wherein at least a portion of the stylus body is provided with a touch film; the method includes: Displays the first page of the slideshow playback interface; With the first control enabled: When the stylus receives a sliding operation from the user in the preset area of ​​the stylus, the second page of the slideshow interface is displayed; wherein, the stylus body is provided with a facet, and the preset area is located at the facet position and corresponds to a portion of the touch film; When the stylus receives a sliding operation from the user in other areas of the stylus, the first page of the slideshow interface is still displayed; wherein, the other areas are the pen body areas corresponding to the touch film, excluding the preset area.

2. The method according to claim 1, characterized in that, The method further includes: When the first control is in the closed state: When the stylus receives a sliding operation from the user in the area of ​​the stylus body corresponding to the touch film, the first page of the slideshow interface is displayed.

3. The method according to claim 1, characterized in that, The step of displaying the second page of the slideshow interface when the stylus receives a sliding operation from the user in a preset area of ​​the stylus includes: When the stylus receives a sliding operation from the user in a preset area of ​​the stylus, the electronic device receives a first message sent by the stylus; Based on the first message, the second page of the slideshow interface is displayed.

4. The method according to claim 1, characterized in that, The sliding operation in the preset area of ​​the stylus is a sliding operation away from the tip of the stylus.

5. The method according to claim 4, characterized in that, The method further includes: Displays the second page of the slideshow playback interface; When the first control is enabled: When the stylus receives a sliding operation from the user in the preset area towards the tip of the stylus, the first page of the slideshow interface is displayed.

6. The method according to claim 1, characterized in that, The method further includes: When the first control is enabled: When the stylus receives a press from the user in the preset area, a laser dot is displayed on the slideshow interface.

7. The method according to claim 6, characterized in that, The pressing refers to a long press.

8. The method according to claim 1, characterized in that, The method also includes, Display a first interface, which includes a text box for searching settings items; In response to the user's operation on the first interface, a second interface is displayed; wherein the second interface includes the first control.

9. The method according to claim 8, characterized in that, The operation on the first interface includes the search operation in the text box used to search for settings items.

10. The method according to claim 8, characterized in that, The first interface also includes one or more controls for viewing account information, setting up WLAN, setting up Bluetooth, setting up mobile networks, and viewing HyperTerminal.

11. The method according to claim 8, characterized in that, The second interface also includes a first prompt message, which indicates that after the first control is turned on, the electronic device can be controlled by a stylus to turn pages.

12. The method according to claim 1, characterized in that, The method further includes: in response to a user's triggering operation on the first control, the first control is switched from a closed state to an open state.

13. The method according to claim 12, characterized in that, After the first control switches from a closed state to an open state, the method further includes: The electronic device sends a second message to the stylus, the second message being used to instruct the stylus to recognize only sliding operations in the preset area.

14. The method according to claim 1, characterized in that, The preset area is smaller than the pen body cross-section area corresponding to the touch film.

15. A display control method, characterized in that, The method is applied to an electronic device that establishes a communication connection with a stylus, wherein at least a portion of the stylus body is provided with a touch film; the method includes: Displays the first page of the slideshow playback interface; With the first control enabled: When the stylus receives a sliding operation from the user in the preset area of ​​the stylus, the second page of the slideshow interface is displayed; wherein, the stylus body is provided with a facet, and the preset area is located at the facet position and corresponds to a portion of the touch film; When the first control is in the closed state: When the stylus receives a sliding operation from the user in the area of ​​the stylus body corresponding to the touch film, the first page of the slideshow interface is displayed.

16. The method according to claim 15, characterized in that, The method further includes: When the first control is enabled: When the stylus receives a sliding operation from the user in another area of ​​the stylus, the first page of the slideshow interface is displayed; wherein, the other area is the pen body area corresponding to the touch film, other than the preset area.

17. The method according to claim 15, characterized in that, The step of displaying the second page of the slideshow interface when the stylus receives a sliding operation from the user in a preset area of ​​the stylus includes: When the stylus receives a sliding operation from the user in a preset area of ​​the stylus, the electronic device receives a first message sent by the stylus; Based on the first message, the second page of the slideshow interface is displayed.

18. The method according to claim 15, characterized in that, The sliding operation in the preset area of ​​the stylus is a sliding operation away from the tip of the stylus.

19. The method according to claim 18, characterized in that, The method further includes: Display the second page of the slideshow interface; When the first control is enabled: When the stylus receives a sliding operation from the user in the preset area of ​​the stylus towards the tip of the stylus, the first page of the slideshow interface is displayed.

20. The method according to claim 15, characterized in that, The method further includes: When the first control is enabled: When the stylus receives a user's press on a preset area of ​​the stylus, a laser dot is displayed on the slideshow interface.

21. The method according to claim 20, characterized in that, The pressing refers to a long press.

22. The method according to claim 15, characterized in that, The method also includes, Display a first interface, which includes a text box for searching settings items; In response to the user's operation on the first interface, a second interface is displayed; wherein the second interface includes the first control.

23. The method according to claim 22, characterized in that, The operation on the first interface includes the search operation in the text box used to search for settings items.

24. The method according to claim 22, characterized in that, The first interface also includes one or more controls for viewing account information, setting up WLAN, setting up Bluetooth, setting up mobile networks, and viewing HyperTerminal.

25. The method according to claim 22, characterized in that, The second interface also includes a first prompt message, which indicates that after the first control is turned on, the electronic device can be controlled by a stylus to turn pages.

26. The method according to claim 15, characterized in that, The method further includes: in response to a user's triggering operation on the first control, the first control is switched from a closed state to an open state.

27. The method according to claim 26, characterized in that, After the first control switches from a closed state to an open state, the method further includes: The electronic device sends a second message to the stylus, the second message being used to instruct the stylus to recognize only sliding operations in the preset area.

28. The method according to claim 15, characterized in that, The preset area is smaller than the pen body cross-section area corresponding to the touch film.

29. A display control method, characterized in that, The method is applied to a stylus, which establishes a communication connection with an electronic device, and at least a portion of the stylus body is provided with a touch film; the method includes: When the first control of the electronic device is enabled and the slideshow playback interface is displayed: In response to a user's sliding operation on a preset area of ​​the stylus, a first message is sent to the electronic device; wherein, the first message is used for slide turning on the electronic device, the stylus has a cut surface on its body, and the preset area is located at the cut surface and corresponds to a portion of the touch film; The system receives swiping operations from the user in other areas of the stylus without sending the first message to the electronic device; wherein, the other areas are the pen body areas corresponding to the touch film, excluding the preset area.

30. The method according to claim 29, characterized in that, The method further includes: when the first control is in a closed state, receiving the user's sliding operation in the pen body area corresponding to the touch film, without sending the first message to the electronic device.

31. The method according to claim 29, characterized in that, When the sliding operation of the preset area is a sliding operation away from the tip of the stylus, the first message is used to control the slide displayed by the electronic device to turn down.

32. The method according to claim 29, characterized in that, When the sliding operation of the preset area is a sliding operation towards the tip of the stylus, the first message is used to control the slide displayed by the electronic device to turn up.

33. The method according to claim 29, characterized in that, The method further includes: When the first control is enabled and the electronic device displays a slideshow interface, in response to the user's pressing operation in the preset area of ​​the stylus, a second message is sent to the electronic device; wherein, the second message is used to control the electronic device to display laser dots on the slideshow interface.

34. The method according to claim 33, characterized in that, The pressing refers to a long press.

35. The method according to claim 29, characterized in that, The preset area is smaller than the pen body cross-section area corresponding to the touch film.

36. A display control method, characterized in that, The method is applied to a stylus, which establishes a communication connection with an electronic device, and at least a portion of the stylus body is provided with a touch film; the method includes: When the first control of the electronic device is in the open state and a slideshow interface is displayed, in response to the user's sliding operation in the preset area of ​​the stylus, a first message is sent to the electronic device; wherein, the first message is used for turning pages of the slideshow displayed by the electronic device, the stylus has a cut surface on its body, and the preset area is located at the cut surface position and corresponds to a portion of the touch film; When the first control is in the closed state, it receives the user's swipe operation on the pen body area corresponding to the touch film, but does not send the first message to the electronic device.

37. The method according to claim 36, characterized in that, The method further includes: when the first control is in the open state and the electronic device displays a slideshow interface, receiving the user's sliding operation in other areas of the stylus, and not sending the first message to the electronic device; wherein, the other areas are the pen body areas corresponding to the touch film other than the preset area.

38. The method according to claim 36, characterized in that, When the sliding operation of the preset area is a sliding operation away from the tip of the stylus, the first message is used to control the slide displayed by the electronic device to turn down.

39. The method according to claim 36, characterized in that, When the sliding operation of the preset area is a sliding operation towards the tip of the stylus, the first message is used to control the slide displayed by the electronic device to turn up.

40. The method according to claim 36, characterized in that, The method further includes: When the first control is enabled and the electronic device displays a slideshow interface, in response to the user's pressing operation in the preset area of ​​the stylus, a second message is sent to the electronic device; wherein, the second message is used to control the electronic device to display laser dots on the slideshow interface.

41. The method according to claim 40, characterized in that, The pressing refers to a long press.

42. The method according to claim 36, characterized in that, The preset area is smaller than the pen body cross-section area corresponding to the touch film.

43. A display control method, characterized in that, The method is applied to a system including a stylus and an electronic device, wherein the electronic device establishes a communication connection with the stylus, and at least a portion of the stylus body is provided with a touch film; the method includes: The electronic device displays the first page of the slideshow playback interface; With the first control enabled: When the stylus receives a sliding operation from the user in the preset area of ​​the stylus; In response to a user's sliding operation in the preset area of ​​the stylus, the electronic device displays the second page of the slideshow interface; wherein, the stylus has a facet on its body, and the preset area is located at the facet and corresponds to a portion of the touch film; When the stylus receives a user's swipe in another area of ​​the stylus, the electronic device continues to display the first page of the slideshow interface; wherein, the other area is the pen body area corresponding to the touch film, other than the preset area.

44. The method according to claim 43, characterized in that, The method further includes: When the first control is in the closed state: When the user slides the stylus, the electronic device maintains the display of the first page of the slideshow interface.

45. The method according to claim 43, characterized in that, The electronic device displays the second page of the slideshow interface in response to a user's sliding action within a preset area of ​​the stylus, including: In response to a user's sliding action in a preset area of ​​the stylus, the stylus sends a first message to the electronic device; The electronic device receives the first message; Based on the first message, the electronic device displays the second page of the slideshow interface.

46. ​​The method according to claim 43, characterized in that, The method further includes: When the first control is enabled, in response to a user pressing the preset area, the electronic device displays laser dots on the slideshow interface.

47. The method according to claim 43, characterized in that, The preset area is smaller than the pen body cross-section area corresponding to the touch film.

48. A display control method, characterized in that, The method is applied to a system including a stylus and an electronic device, wherein the electronic device establishes a communication connection with the stylus, and at least a portion of the stylus body is provided with a touch film; the method includes: The electronic device displays the first page of the slideshow playback interface; When the first control is in the open state, the stylus receives a sliding operation from the user in the preset area of ​​the stylus, and in response to the sliding operation, the electronic device displays the second page of the slide page-turning interface; wherein, the stylus body is provided with a facet, and the preset area is located at the facet position and corresponds to a portion of the touch film; When the first control is in the off state, the stylus receives a sliding operation from the user in the pen body area corresponding to the touch film, and the electronic device continues to display the first page of the slideshow interface.

49. The method according to claim 48, characterized in that, The method further includes: When the first control is in the active state and the stylus receives a sliding operation from the user in another area of ​​the stylus, the electronic device continues to display the first page of the slideshow interface; wherein, the other area is the pen body area corresponding to the touch film, excluding the preset area.

50. The method according to claim 48, characterized in that, In response to the swiping operation, the electronic device displays the second page of the slideshow interface, including: In response to the sliding operation, the electronic device receives a first message sent by the stylus; Based on the first message, the electronic device displays the second page of the slideshow interface.

51. The method according to claim 48, characterized in that, The method further includes: When the first control is enabled, in response to the user pressing the preset area of ​​the stylus, the electronic device displays laser dots on the slideshow interface.

52. The method according to claim 48, characterized in that, The preset area is smaller than the pen body cross-section area corresponding to the touch film.

53. An electronic device comprising a memory, a processor, and a display, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor executes the computer program, it causes the electronic device to perform the method as described in any one of claims 1 to 28.

54. A stylus, characterized in that: At least a portion of the stylus body is provided with a touch film; The stylus further includes a memory and a processor, the memory storing a computer program that can run on the processor, and when the processor executes the computer program, it causes the stylus to perform the method as described in any one of claims 29 to 42.

55. A system, characterized in that, It includes the electronic device as claimed in claim 53 and the stylus as claimed in claim 54.

Citation Information

Patent Citations

  • Intelligent household appliance pen type control terminal and working method thereof

    CN103941892A