Using method and device based on touch pen
Patent Information
- Application Number
- CN202380025107.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-08-09
- Filing Date
- 2023-08-03
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-08-03
AI Technical Summary
The existing stylus-based usage methods have low accuracy, which affects the user's experience in controlling electronic devices.
By setting a preset area on the touch film that is smaller than the pen body area, the stylus recognizes operations on this area, improves the accuracy of operation recognition, and controls electronic devices based on pen tip orientation and sliding operations in page-turning pen mode. page turning and cursor movement.
It improves the accuracy and flexibility of users using the stylus to control electronic devices, reduces accidental touch errors, and enhances user experience.
Smart Images

Figure CN118786408A_ABST
Abstract
Description
Method and device for using a stylus pen
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on August 9, 2022, with application number 202210951471.5 and application name “Stylus-based usage method and device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a method and device for using a stylus pen. Background Art
[0003] With the popularization and development of the Internet, people's demands for the functions of electronic devices have become increasingly diverse. For example, in order to simplify the way of using electronic devices, styluses have gradually become an important tool for inputting data into electronic devices or controlling electronic devices.
[0004] Typically, a touch film is wrapped around the tip of the stylus pen, so that the stylus pen can control functions of electronic devices based on a user's triggering operation on the touch film.
[0005] However, the accuracy of the above-mentioned stylus-based usage method is low, which affects the user's experience of controlling the electronic device based on the stylus.
[0006] Summary of the Invention
[0007] The embodiments of the present application provide a method and device for using a stylus pen, which can improve the accuracy of operation recognition by identifying trigger data of the first area where the touch film overlaps with the cross-section, thereby improving the user experience of using the stylus pen to control the electronic device.
[0008] In a first aspect, embodiments of the present application provide a method for using a stylus, wherein a touch film surrounds part or all of the stylus body, a cross-section is provided on the stylus body, and the touch film includes a first area, the first area being smaller than the area of the stylus body covered by the touch film and located at the cross-section. The method includes: when the stylus receives a first operation directed at the first area, the stylus recognizes the first operation, obtains a recognition result, and controls a target device based on the recognition result, wherein a communication connection is established between the target device and the stylus. In this way, by recognizing trigger data for the first area where the touch film overlaps with the cross-section, the accuracy of operation recognition can be improved, thereby enhancing the user experience of using the stylus to control the target device.
[0009] Among them, the first area can be the preset area described in the embodiment of the present application; the target device can be the electronic device described in the embodiment of the present application.
[0010] In one possible implementation, when 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 the page down; or, when 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 the page up. In this way, the stylus can control the target device to turn pages based on the user's sliding operation on the first area, avoiding accidental touches caused by the user triggering other positions of the touch film, thereby improving the user's accuracy in controlling the target device with the stylus.
[0011] In one possible implementation, the method further includes: the stylus obtaining stylus status information; the stylus status information being used to indicate the direction of the stylus tip; the stylus recognizing the first operation, obtaining a recognition result, and controlling the target device based on the recognition result, including: the stylus recognizing the first operation and the status information, obtaining a recognition result, and controlling the target device based on the recognition result. In this way, the stylus can control the page turning of the target device based on the direction of the stylus tip and the sliding operation on the first area, allowing the user to flexibly control the target device using the stylus.
[0012] In one possible implementation, when the status 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 the page down; or, when the status 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 the page up; or, when the status information meets the preset conditions and the first operation is a sliding operation toward the tip of the stylus, the recognition result is used to instruct the target device to turn the page up; or, when the status information does not meet the preset conditions and the first operation is a sliding operation toward the tip of the stylus, the recognition result is used to instruct the target device to turn the page down. In this way, the stylus can control the turning of pages of the target device based on the direction of the stylus tip and the sliding operation on the first area, so that the user can flexibly control the target device with the stylus.
[0013] Among them, the preset condition can be that the pen tip is facing upward as described in the embodiment of the present application; if it does not meet the preset condition, it can be that the pen tip is facing downward as described in the embodiment of the present application.
[0014] In one possible implementation, the method further includes: switching the stylus from a first mode to a second mode; wherein, in the first mode, the stylus can respond to trigger operations at any position of the touch film; in the second mode, the stylus can respond to trigger operations in the first area and does not respond to trigger operations in a second area of the touch film other than the first area; and the stylus receiving a first operation directed to the first area includes: the stylus in the second mode receiving the first operation directed to 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 directed to the first area in the second mode, thereby avoiding accidental touches caused by receiving the user's first operation directed to the first area in the first mode.
[0015] Among them, the first mode can be the writing mode described in the embodiment of the present application, and the second mode can be the wireless presenter mode described in the embodiment of the present application.
[0016] In one possible implementation, the stylus includes a touch integrated circuit (IC) and a microcontroller (MCU), and the method further includes: the MCU sending a first instruction to the touch IC; the first instruction is used to instruct the stylus to switch from a first mode to a second mode; the touch IC, based on the second mode, obtaining first trigger data corresponding to a first operation and sending the first trigger data to the MCU; and the stylus recognizing the first operation includes: the MCU recognizing the first trigger data. In this way, the touch IC in the stylus can only obtain the first trigger operation corresponding to the first operation according to the second mode, thereby reducing memory usage caused by obtaining trigger operations in the second area.
[0017] 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; the second trigger data is trigger data for the touch film and includes first trigger data corresponding to a first operation; and the stylus identifying the first operation includes: the MCU identifying the first trigger data based on a second pattern. In this way, the MCU in the stylus can receive the second trigger data from the touch IC and filter the first trigger data using the second pattern, thereby improving the accuracy of the stylus's operation recognition based on the first trigger data.
[0018] In one possible implementation, the stylus recognizes the first operation, obtains a recognition result, and controls the target device based on the recognition result, including: the stylus recognizes the first operation, obtains a recognition result, and controls the movement of a cursor in the target device and / or controls the change of a 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 the change of pages on the target device, thereby enhancing the flexibility of controlling the target device.
[0019] In the second aspect, an embodiment of the present application provides a device for use based on a stylus pen, in which part or all of the body of the stylus pen is surrounded by a touch film, a cross-section is provided at the body of the stylus pen, and the touch film includes a first area, the first area is smaller than the area of the body covered by the touch film and the first area is located at the cross-section position. When the processing unit receives a first operation for the first area, the recognition unit is used to recognize the first operation and obtain a recognition result. The processing unit is used to control a target device based on the recognition result, and a communication connection is established between the target device and the stylus pen.
[0020] In one possible implementation, when the first operation is a sliding operation toward a position away from the tip of the stylus, the recognition result is used to instruct the target device to turn the page down; or, when the first operation is a sliding operation toward a position close to the tip of the stylus, the recognition result is used to instruct the target device to turn the page up.
[0021] In one possible implementation, the processing unit is further used to obtain status information of the stylus; the status information of the stylus is used to indicate the direction of the tip of the stylus; the recognition unit is further used to recognize the first operation and the status information to obtain a recognition result, and the processing unit is further used to control the target device based on the recognition result.
[0022] In one possible implementation, when the status information meets the preset conditions and the first operation is a sliding operation at a position away from the tip of the stylus, the recognition result is used to instruct the target device to turn the page down; or, when the status information does not meet the preset conditions and the first operation is a sliding operation at a position away from the tip of the stylus, the recognition result is used to instruct the target device to turn the page up; or, when the status information meets the preset conditions and the first operation is a sliding operation at a position close to the tip of the stylus, the recognition result is used to instruct the target device to turn the page up; or, when the status information does not meet the preset conditions and the first operation is a sliding operation at a position close to the tip of the stylus, the recognition result is used to instruct the target device to turn the page down.
[0023] In one possible implementation, the processing unit is further used to switch from a first mode to a second mode; wherein, in the first mode, the stylus pen can respond to trigger operations at any position of the touch film; in the second mode, the stylus pen can respond to trigger operations in the first area, and does not respond to trigger operations in a second area of the touch film other than the first area; the processing unit is further used to receive a first operation for the first area in the second mode.
[0024] In one possible implementation, the stylus includes a touch integrated circuit board IC and a microcontroller unit MCU, and the processing unit is further used to send a first instruction to the touch IC; the first instruction is used to instruct the stylus to switch from the first mode to the second mode; the processing unit is further used to obtain 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 also used to identify the first trigger data.
[0025] In one possible implementation, the stylus pen includes a touch IC and an MCU, and the processing unit is further used to obtain second trigger data and send 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 processing unit is further used to identify the first trigger data based on the second pattern.
[0026] In a possible implementation, the recognition unit is further configured to recognize the first operation and obtain a recognition result, and the processing unit is further configured to control movement of a cursor in the target device and / or control changes in a page of the target device based on the recognition result.
[0027] In a third aspect, an embodiment of the present application provides a stylus pen comprising a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the stylus pen executes the method described in the first aspect or any possible implementation of the first aspect.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the computer executes the method described in the first aspect or any possible implementation of the first aspect.
[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, which, when executed, enables a computer to execute the method described in the first aspect or any possible implementation of the first aspect.
[0030] In a sixth aspect, an embodiment of the present application provides a system comprising: a stylus and a target device, wherein a communication connection is established between the target device and the stylus, wherein part or all of the body of the stylus is surrounded by a touch film, and a cross-section is provided at the body of the stylus, wherein the touch film comprises a first area, wherein the first area is smaller than the body area covered by the touch film and the first area is located at the cross-section position, and the stylus is used to: when receiving a first operation for the first area, identify 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.
[0031] It should be understood that the third to sixth aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] FIG1 is a schematic diagram of a scenario provided by an embodiment of the present application;
[0033] FIG2 is a schematic diagram of a touch film of a stylus provided in an embodiment of the present application;
[0034] FIG3 is a schematic diagram of a holding posture provided in an embodiment of the present application;
[0035] FIG4 is a schematic diagram of the hardware structure of a stylus provided in an embodiment of the present application;
[0036] FIG5 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0037] FIG6 is a schematic diagram of a touch film of another stylus provided in an embodiment of the present application;
[0038] FIG7 is a schematic diagram of a flow chart of a method for using a stylus pen according to an embodiment of the present application;
[0039] FIG8 is a schematic diagram of an interface for enabling a wireless presenter mode according to an embodiment of the present application;
[0040] FIG9 is a schematic diagram of a scenario in which a stylus pen simulates a laser pen according to an embodiment of the present application;
[0041] FIG10 is a schematic diagram of a scenario of page turning controlled by a laser pen provided in an embodiment of the present application;
[0042] FIG11 is a schematic diagram of another scenario of controlling page turning with a stylus provided in an embodiment of the present application;
[0043] FIG12 is a schematic structural diagram of a stylus-based device provided in an embodiment of the present application;
[0044] FIG13 is a schematic diagram of the hardware structure of another stylus provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first value and the second value are merely used to distinguish different values and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit different values.
[0046] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0047] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers 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, c can be single or multiple.
[0048] For example, Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application. In the embodiment corresponding to Figure 1, an electronic device is taken as an example for illustration, and this example does not constitute a limitation on the embodiment of the present application.
[0049] As shown in FIG. 1 , the scene may include an electronic device 200 and a stylus pen 100 . The stylus pen 100 may be used to input data into the electronic device 200 , or may also be used to control the electronic device 200 .
[0050] Typically, the stylus 100 and the electronic device 200 can both support two operating modes, such as a writing mode and a wireless presenter mode. The writing mode may be the default mode entered by the stylus 100. In the writing mode, the user can use the stylus 100 to write on the touch screen of the electronic device 200, thereby inputting data into the electronic device 200. In the wireless presenter mode, the user can hold the stylus 100 and slide it up and down (or left and right) on the touch film to control the page turning of the electronic device 200.
[0051] It is understandable that the touch film can be a component surrounding the front end of the stylus for receiving user trigger operations. For example, the touch film can be used to receive the user's up and down (or left and right) sliding operation in the wireless presenter mode.
[0052] For example, Figure 2 is a schematic diagram of a touch film for a stylus provided in an embodiment of the present application. As shown in Figure 2a, the front end of the stylus near the tip is surrounded by a touch film. This touch film may be located in the gray area shown in Figure 2a. As shown in Figure 2b, when the touch film is unfolded, it may be a rectangular area with a width of W and a height of H.
[0053] Normally, after the user triggers the touch film, the stylus can receive and identify the operation data at any position in the touch film. For example, taking the example of a user using a stylus to control the page turning of an electronic device in the present invention, the holding posture of the user when triggering the stylus is illustrated. For example, FIG3 is a schematic diagram of a holding posture provided in an embodiment of the present application. It can be understood that the stylus can realize the page turning control of the electronic device based on the recognition of the user's holding posture for the touch film in any one of FIG3 a, FIG3 b or FIG3 c.
[0054] However, since the user's holding posture when triggering the touch film varies greatly, the stylus can easily mistake the triggering of the touch film by the user's palm or multiple fingers as a page-turning operation in the wireless presenter mode, resulting in a low accuracy rate of the stylus in recognizing the triggering operation, which in turn affects the user's experience of controlling electronic devices based on the stylus.
[0055] In view of this, an embodiment of the present application provides a method for using a stylus. A touch film surrounds the stylus near the tip of the stylus. The stylus receives a first operation directed at 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. Based on the recognition of the operation in the first area, the stylus can avoid accidental touches caused by the user triggering other areas of the touch film, thereby improving the accuracy of the user's control of the electronic device using the stylus. The first area is smaller than the corresponding area of the touch film.
[0056] For example, FIG4 is a schematic diagram of the hardware structure of a stylus provided in an embodiment of the present application.
[0057] Among them, the stylus pen may also be called a stylus pen, a capacitive pen, or an inductive pen, etc. As shown in Figure 4, the stylus pen 100 may have a processor 110. The processor 110 may include storage and processing circuits for supporting the operation of the stylus pen 100. The storage and processing circuits may include storage devices such as non-volatile memories (for example, flash memory or other electrically programmable read-only memories configured as solid-state drives), volatile memories (for example, static or dynamic random access memories), etc. The processing circuit in the processor 110 can be used to control the operation of the stylus pen 100. The processing circuit can be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio chips, or application-specific integrated circuits.
[0058] It is understandable that the processor 110 may include modules such as a touch integrated circuit (IC) and a microcontroller unit (MCU).
[0059] The touch IC can be used to obtain the trigger operation in the touch film; the MCU is used to determine the working mode of the stylus and identify the trigger operation based on the working mode.
[0060] The stylus 100 may include one or more sensors. For example, the sensors may include a pressure sensor 120. The pressure sensor 120 may be located at the writing tip of the stylus 100. Alternatively, the pressure sensor 120 may be located within the pen barrel 20 of the stylus 100. In this way, when force is applied to one end of the stylus tip 100, the other end of the stylus tip moves, applying the force to the pressure sensor 120. In one embodiment, the processor 110 may adjust the thickness of the lines drawn by the stylus tip 100 based on the pressure detected by the pressure sensor 120.
[0061] 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 movement of the stylus 100. For example, a three-axis magnetometer may be included in the sensor in a nine-axis inertial sensor configuration. In the embodiment of the present application, the gyroscope sensor may be used to detect the direction of the stylus tip 100. For example, the gyroscope sensor may be used to detect the direction of the stylus tip and to detect whether the stylus tip is facing downward.
[0062] The sensors may also include additional sensors such as a temperature sensor, an ambient light sensor, a light-based proximity sensor, a contact sensor, a magnetic sensor, a pressure sensor, and / or other sensors.
[0063] The stylus 100 may include a status indicator 140 such as a light-emitting diode and a button 150. The status indicator 140 is used to inform the user of the status of the stylus 100. The button 150 may include a mechanical button or a non-mechanical button, and the button 150 may be used to collect button press information from the user.
[0064] In the embodiment of the present application, the stylus pen 100 may include one or more electrodes 160 , one of the electrodes 160 may be located at the writing end of the stylus pen 100 , and one of the electrodes 160 may be located in the pen tip, and reference may be made to the above-mentioned related descriptions.
[0065] Stylus 100 may include sensing circuitry 170. Sensing circuitry 170 can sense the capacitive coupling between electrode 160 and the drive lines of a capacitive touch sensor panel interacting with stylus 100. Sensing circuitry 170 may include an amplifier for receiving capacitance readings from the capacitive touch sensor panel, a clock for generating a demodulation signal, a phase shifter for generating a phase-shifted demodulation signal, a mixer for demodulating the capacitance readings using an in-phase demodulation frequency component, and a mixer for demodulating the capacitance readings using a quadrature demodulation frequency component. The demodulation result of the mixer can be used to determine an amplitude proportional to the capacitance, allowing stylus 100 to sense contact with the capacitive touch sensor panel.
[0066] It is understood that, depending on actual needs, the stylus 100 may include a microphone, a speaker, an audio generator, a vibrator, a camera, a data port, and other devices. A user can use these devices to provide commands to control the operation of the stylus 100 and the electronic device 200 interacting with the stylus 100, and receive status information and other outputs.
[0067] 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 inputs. The software running on the processor 110 can detect user commands and can communicate with the electronic device 200.
[0068] In order to support wireless communication between the stylus 100 and the electronic device 200, the stylus 100 may include a wireless module. FIG4 illustrates an example in which the wireless module is a Bluetooth module 180. The wireless module may also be a WI-FI hotspot module, a WI-FI point-to-point module, or the like. The Bluetooth module 180 may include a radio frequency transceiver, such as a transceiver. The Bluetooth module 180 may also include one or more antennas. The transceiver may utilize an antenna to transmit and / or receive wireless signals. The wireless signals may be Bluetooth signals, wireless local area network signals, long-range signals such as cellular phone signals, near-field communication signals, or other wireless signals based on the type of wireless module.
[0069] The stylus pen 100 may further include a charging module 190 . The charging module 190 may support charging of the stylus pen 100 and provide power for the stylus pen 100 .
[0070] It is understood that the electronic device 200 in the embodiment of the present application can be referred to as user equipment (UE), terminal, etc. For example, the electronic device 200 can be a tablet computer (portable Android device, PAD), a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device, a vehicle-mounted device or a wearable device, a virtual reality (VR) electronic device, an augmented reality (AR) electronic device, a wireless terminal in industrial control (industrial control), a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), etc., a mobile terminal or a fixed terminal with a touch screen. The embodiment of the present application does not specifically limit the form of the electronic device.
[0071] For example, FIG5 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0072] 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 a processor 210, an input surface 220, a coordination engine 230, a power subsystem 240, a power connector 250, a wireless interface 260, and a display 270.
[0073] Exemplarily, the coordination engine 230 can be used to communicate and / or process data with other subsystems of the electronic device 200; communicate and / or trade data with the stylus 100; measure and / or obtain the output of one or more analog or digital sensors (such as a touch sensor); measure and / or obtain the output of one or more sensor nodes of an array of sensor nodes (such as an array of capacitive sensing nodes); receive and locate tip signals and ring signals from the stylus 100; locate the stylus 100 based on the position of the tip signal intersection area and the ring signal intersection area, etc.
[0074] The processor 210 can be configured to receive control instructions from the stylus, which can be used to instruct the electronic device 200 to execute the corresponding control. In the embodiment of the present application, when the stylus receives a trigger operation from the user in a preset area, the stylus can recognize the trigger operation and send a control instruction corresponding to the recognition result to the electronic device 200, so that the electronic device 200 can execute the control instruction. For example, the electronic device 200 can control the page turning according to the control instruction.
[0075] Generally speaking, the processor 210 may be configured to execute, coordinate, and / or manage the functions of the electronic device 200. Such functions may include, but are not limited to, communicating and / or transacting data with other subsystems of the electronic device 200, communicating and / or transacting data with the stylus 100, communicating and / or transacting data via a wireless interface, communicating and / or transacting data via a wired interface, facilitating power exchange via a wireless (e.g., inductive, resonant, etc.) or wired interface, receiving the position and angular position of one or more styluses, and the like.
[0076] The processor 210 can be implemented as any electronic device capable of processing, receiving, or sending data or instructions. For example, the processor can be a microprocessor, a central processing unit, an application-specific integrated circuit, a field programmable gate array, a digital signal processor, an analog circuit, a digital circuit, 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.
[0077] During use, the processor 210 may be configured to access a memory storing instructions that may be configured to cause the processor to perform, coordinate, or monitor one or more operations or functions of the electronic device 200 .
[0078] The instructions stored in the memory may 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 authentication sensors and / or systems, force or touch input / output components, communication modules (such as wireless interfaces and / or power connectors), and / or tactile feedback devices.
[0079] The memory can also store electronic data that can be used by the stylus or the processor. For example, the memory can store electronic data or content (such as media files, documents, and applications), device settings and preferences, timing signals and control signals, or data, data structures, or databases for various modules, files or configurations related to detecting tip signals and / or ring signals, and the like. The memory can be configured as any type of memory. For example, the memory can be implemented as random access memory, read-only memory, flash memory, removable memory, other types of storage elements, or a combination of such devices.
[0080] In an embodiment of the present application, the memory may also store 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 when establishing a connection with the stylus next time, thereby avoiding frequent switching of the working mode of the stylus.
[0081] The electronic device 200 also includes a power subsystem 240. The power subsystem 240 may include a battery or other power source. The power subsystem 240 may be configured to provide power to the electronic device 200. The power subsystem 240 may also be coupled to a power connector 250.
[0082] The electronic device 200 further includes a wireless interface 260 to facilitate electronic communication between the electronic device 200 and the stylus 100. In the embodiment of the present application, the electronic device 200 may be configured to communicate via a low-energy Bluetooth interface. For example, the electronic device 200 may receive recognition results from the stylus based on the wireless interface 260.
[0083] In some embodiments, the electronic device 200 also utilizes a near field communication interface to communicate with the stylus 100. In other examples, the communication interface facilitates electronic communication between the electronic device 200 and an external communication network, device, or platform.
[0084] 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 traditional communication interfaces.
[0085] The electronic device 200 also includes a display 270. The display 270 may be located behind the input surface 220 or may be 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 with which the user can interact. In many cases, the user manipulates the stylus 100 to interact with the interface. In embodiments of the present application, the display 270 may display the interface after being controlled by the stylus.
[0086] It will be apparent to those skilled in the art that some of the specific details presented above regarding the 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 will be understood that the above description is not intended to be exhaustive or to limit the present disclosure to the precise form herein. On the contrary, it will be apparent to those skilled in the art that, based on the above teachings, many modifications and variations are possible.
[0087] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other. For the same or similar concepts or processes, some embodiments may not be described in detail.
[0088] In an embodiment of the present application, an example of a touch film surrounding the front end of a stylus is provided. For example, FIG6 is a schematic diagram of a touch film of another stylus provided in an embodiment of the present application. In the embodiment corresponding to FIG6 , the stylus body can be provided with at least one cut surface 601, and a preset area 602 (or also referred to as a first area) is provided on the cut surface 601 near the tip of the stylus. The preset area 602 corresponding to the cut surface 601 can be used to receive a user trigger operation on the preset area 602 when the stylus is in presenter mode.
[0089] The cross-section is a plane without curvature, which extends longitudinally along the body of the stylus. The cross-section can indicate the position of the body of the stylus. When using the stylus, the user can quickly distinguish between the cross-section area and the non-cross-section area simply by holding it.
[0090] As shown in a of FIG6 , the stylus can divide the touch film with a width of W and a height of H into multiple channels of equal size of 6×6, and based on the user's trigger operation on the preset area 602 of equal size of 1×4 at the cross-section as shown in b of FIG6 , the trigger operation in the presenter mode is recognized, and the electronic device is controlled using the recognition result.
[0091] Among them, the preset area 602 of 1×4 size can meet the size of the user's finger when triggered by a single finger. It can be understood that this can avoid false touches caused by multiple fingers triggering in the preset area 602, thereby improving the accuracy of operation recognition.
[0092] In a possible implementation, the size of the preset area 602 at the section position may also be 1×3, 1×5, or 1×6.
[0093] It is understood that the preset area can be understood as a long strip of area set at 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., which is not limited in the embodiments of the present application.
[0094] It should be understood that the 6×6 size division of the touch film and the corresponding 1×4 size of the preset area are merely examples and do not constitute a limitation on the embodiments of the present application. For example, when the touch film is divided into multiple channels of 5×5, the size of the preset area can also be 1×3, 1×4, or 1×5; or, when the touch film is divided into multiple channels of 7×7, the size of the preset area can also be 1×3, 1×4, 1×5, 1×6, or 1×7, etc., and this is not limited in the embodiments of the present application.
[0095] It can be understood that in order to avoid the stylus from recognizing the trigger operation at any position in the touch film, resulting in low accuracy in recognizing the user's trigger operation, the stylus can recognize the trigger operation in the preset area at the cross-section position in the touch film, and ignore the trigger operation at other positions in the touch film except the preset area, thereby reducing the possibility of false touches and improving the accuracy of the stylus in recognizing the trigger operation.
[0096] Based on the embodiment corresponding to FIG6 , an embodiment of the present application provides a stylus-based usage method. For example, FIG7 is a flow chart of a stylus-based usage method provided in an embodiment of the present application. In the embodiment corresponding to FIG7 , the stylus-based usage method may involve an electronic device and a stylus. An example is provided in which the electronic device may be a tablet and the stylus includes a touch control IC and an MCU. This example does not limit the embodiments of the present application.
[0097] As shown in FIG7 , the stylus-based usage method may include the following steps:
[0098] S701: The electronic device establishes a communication connection with the stylus.
[0099] The stylus pen and the electronic device can be interconnected via a communication network to achieve wireless signal interaction. The communication network can be, but is not limited to, a short-range communication network such as a Wi-Fi hotspot network, a Wi-Fi peer-to-peer (P2P) network, a Bluetooth network, a ZigBee network, or a near-field communication (NFC) network, and is not limited to this in the embodiments of the present application.
[0100] It is understandable that the embodiments of the present application will be described using an example of a Bluetooth connection between a stylus pen and an electronic device.
[0101] S702: The electronic device turns on the wireless presenter mode.
[0102] It is understandable that since the stylus enters the writing mode by default when it is turned on, the presenter mode can be turned on by the user triggering the electronic device.
[0103] For example, FIG8 is a schematic diagram of an interface for turning on a wireless presenter mode provided in an embodiment of the present application.
[0104] When the electronic device receives the user's operation to open the setting function, the electronic device can display the interface shown in a of Figure 8. As shown in the interface a of Figure 8, the interface may include: a text box 801 for searching for setting items, a control for viewing account information, a control for setting WLAN, a control for setting Bluetooth, a control for setting mobile network, a control for viewing super terminal, etc. Among them, the account information can be 1234567XXXX; the user's operation to open the setting function can be a trigger operation of the user for the control corresponding to the setting function in the desktop of the electronic device, or it can also be a trigger operation of the user for the thumbnail corresponding to the setting function in the multi-tasking background interface of the electronic device, or it can also be a voice operation, etc., which is not limited in the embodiment of the present application. Among them, the trigger operation can be a click operation, a long press operation, a sliding operation, a voice operation or other gesture operation, etc., which is not limited in the embodiment of the present application.
[0105] In the interface shown in a of Figure 8, when the electronic device receives a user input search for "demo wireless presenter mode" in the text box 801 for searching for setting items, the electronic device can open the function interface corresponding to the delayed wireless presenter mode and display the interface shown in b of Figure 8. In the interface shown in b of Figure 8, the interface may include: a control 802 for turning on the wireless presenter mode, and prompt information corresponding to turning on the wireless presenter. The prompt information may be displayed as: After turning on the wireless presenter mode, you can use the stylus to control the electronic device to achieve functions such as turning pages.
[0106] In the interface shown in b of Figure 8, when the wireless presenter mode is in the off state, when the electronic device receives a trigger operation from the user for the control 802 for turning on the wireless presenter mode, the electronic device can execute the steps shown in S703.
[0107] In a possible implementation, the stylus can also turn on the wireless presenter mode based on a user triggering operation on the stylus in the writing mode. For example, the stylus can be switched from the writing mode to the wireless presenter mode based on multiple tapping operations on the touch film by the user, or based on operations such as long pressing or multiple pressing of the stylus tip by the user, and then the stylus executes the steps shown in S703.
[0108] S703: The electronic device sends a message to the stylus pen for instructing the stylus pen to switch to the wireless presenter mode.
[0109] For example, when the electronic device and the stylus are connected to each other via Bluetooth, the electronic device can send a message to the stylus to instruct the stylus to switch to the wireless presenter mode via Bluetooth or other means. Alternatively, the stylus can receive the message sent by the electronic device to instruct the stylus to switch to the wireless presenter mode.
[0110] S704 : When the touch pen receives a trigger operation from the user on the touch film, the touch pen identifies the trigger operation at a preset area in the touch film to obtain a recognition result.
[0111] In the embodiment of the present application, when the stylus receives a trigger operation from the user 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.
[0112] In one implementation, when the stylus receives a message from an electronic device instructing the stylus to switch to wireless presenter mode, the MCU in the stylus can send an instruction message containing the wireless presenter mode to the touch control IC, instructing the touch control IC to only receive trigger operations corresponding to a preset area. Furthermore, the touch control IC can send trigger data corresponding to the trigger operation received in the preset area to the MCU, which recognizes it and obtains a recognition result. The trigger data may include: the position corresponding to the trigger operation, and the change in capacitance when the trigger is triggered.
[0113] Among them, the touch IC can only start some channels corresponding to the preset area to receive the trigger operation according to the indication message used to indicate the wireless presenter 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.
[0114] It is understandable that even if the user triggers an area other than the preset area in the touch film, the touch IC cannot recognize the user's triggering operation.
[0115] In another implementation, the touch IC can normally receive a user trigger operation at any position on the touch film and send the trigger data corresponding to the trigger operation to the MCU; the MCU can identify the trigger data corresponding to the preset area based on the received message for instructing the stylus to switch to wireless presenter mode, and obtain a recognition result. Alternatively, it can be understood that the MCU can filter out trigger data outside the preset area of the touch film.
[0116] Among them, the touch IC can send the trigger data and the channel corresponding to the trigger data 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 the wireless pen mode, and obtain the identification result.
[0117] The meaning of the preset area can be found in the description of the embodiment corresponding to FIG6 , and will not be repeated here.
[0118] S705: The stylus sends a message indicating the recognition result to the electronic device.
[0119] Exemplarily, the stylus pen may also send the message indicating the recognition result to the electronic device via Bluetooth. Alternatively, the electronic device may receive the recognition result sent by the stylus pen.
[0120] S706: The electronic device controls the electronic device based on the recognition result.
[0121] In presenter mode, embodiments of the present application can provide a variety of stylus-based control methods for electronic devices. For example, a user can simulate a laser pen based on a trigger operation on the stylus, displaying a laser point on the electronic device (see the embodiment corresponding to FIG9 ); or a user can also realize page turning control of the electronic device based on a user's trigger operation on the stylus (see the embodiment corresponding to FIG10 ).
[0122] In one implementation, a user may simulate a laser pen based on a triggering operation on the stylus pen to display a laser dot on the electronic device.
[0123] For example, FIG9 is a schematic diagram of a scenario in which a stylus pen simulates a laser pen according to an embodiment of the present application.
[0124] In the scenario shown in a of Figure 9 , when the stylus receives a press (or long press) operation in a preset area by the user in step S704, the stylus can send the recognition result corresponding to the press operation to the electronic device in step S705, causing the electronic device to display a laser point 901 in step S706. The user can use the stylus to simulate a laser pointer to provide a visual demonstration when presenting business.
[0125] The interface displayed by the electronic device as shown in a in Figure 9 may be the home page of the slideshow, and may include: a laser point 901, information indicating that the page is 1, text information displayed as a stylus introduction, information displayed as the sharer: user A, and time information indicating that the time is July 7, 2022, etc.
[0126] In a possible implementation, such as the scenario shown in b in FIG. 9 , when the user ends the pressing operation on the preset area of the stylus pen, the electronic device may cancel the display of the laser point.
[0127] It is understandable that the user can simulate the laser pen to display a laser point in the electronic device based on the pressing operation on the preset area of the stylus, and improve the accuracy of the pressing operation recognition.
[0128] In another implementation, the user may also implement page turning control on the electronic device based on the user's triggering operation on the stylus.
[0129] For example, FIG10 is a schematic diagram of a scenario of controlling page turning based on a stylus provided in an embodiment of the present application.
[0130] As shown in the scenario a in Figure 10, when the stylus receives the user sliding in a preset area away from the pen tip position in the step shown in S704, the stylus can send the recognition result corresponding to the sliding operation to the electronic device through S705, so that the electronic device turns the page in the step shown in S706. For example, the electronic device can turn the page down. At this time, the electronic device can switch from the interface displayed by the electronic device shown in a in Figure 10 to the interface displayed by the electronic device shown in b in Figure 10.
[0131] As shown in the scenario b in FIG10 , when the stylus receives a user sliding in a preset area toward a position close to the pen tip in step S704, the stylus can send the recognition result corresponding to the sliding operation to the electronic device through S705, so that the electronic device turns the page in step S706. For example, the electronic device can turn the page upward. At this time, the electronic device can switch from the interface displayed by the electronic device shown in b in FIG10 to the interface displayed by the electronic device shown in a in FIG10 . The interface displayed by the electronic device shown in b in FIG10 may include: information indicating that the page is 2, and an introduction to the definition of the stylus, etc.
[0132] In a possible implementation, the stylus can exit the presenter mode when the user adsorbs the stylus to the bottom of the electronic device, or the user turns off the switch of the presentation presenter mode in the interface as shown in b in Figure 8, or the user taps the touch film in the stylus multiple times.
[0133] It is understandable that the user can control the electronic device to turn pages based on the sliding operation on the preset area of the stylus, and improve the accuracy of page turning recognition.
[0134] It is understandable that the stylus can also control the electronic device based on the direction of the pen tip. For example, the interface shown in Figure 10a and the interface shown in Figure 10b. When the stylus tip is facing upward, when the stylus receives a user sliding in a preset area away from the pen tip, the stylus can control the electronic device to turn the page down; or, when the stylus tip is facing upward, when the stylus receives a user sliding in a preset area close to the pen tip, the stylus can control the electronic device to turn the page up. The stylus can be provided with a sensor such as a gyroscope sensor for detecting the direction of the stylus.
[0135] In a possible implementation, when the tip of the stylus is facing downward, when the stylus receives a user sliding near the tip position in a preset area, the stylus can control the electronic device to turn the page downward; or, when the tip of the stylus is facing downward, when the stylus receives a user sliding away from the tip position in a preset area, the stylus can control the electronic device to turn the page upward.
[0136] It is understandable that different orientations of the stylus and different triggering operations for the preset area in different orientation states are merely examples for controlling the electronic device and do not constitute a limitation on the embodiments of the present application.
[0137] Based on the content described in the embodiment corresponding to Figure 7, the stylus in the embodiment of the present application can avoid accidental touches caused by the user triggering other positions of the touch film based on the recognition of operations on the preset area in the touch film, thereby improving the accuracy of the user using the stylus to control the electronic device.
[0138] In a possible implementation, when a document content or a web page content is displayed on an electronic device, the stylus pen can also realize continuous page turning control of a cursor in the electronic device or the document content and the web page content.
[0139] For example, FIG11 is a schematic diagram of another scenario of page turning controlled by a stylus provided in an embodiment of the present application.
[0140] As shown in the scenario a in FIG11 , the electronic device may display document content, which may include a cursor 1101. The interface displayed by the electronic device may also include: a control for indicating completion of document editing, a save control, a control for undoing a typing operation, a control for redoing a typing operation, a control for exiting the document, a control for turning pages up, a control for turning pages down, and an indicator for indicating the position of the currently displayed content in the document. The document content displayed by the electronic device in the scenario b in FIG11 may be different from the document content displayed by the electronic device in the scenario a in FIG11 .
[0141] As shown in the scenario a in Figure 11, when the stylus receives the user sliding away from the pen tip in the preset area in the step shown in S704, the stylus can send the recognition result corresponding to the sliding operation to the electronic device through S705, so that the electronic device can control the cursor to move continuously downward in the step shown in S706. Furthermore, when the user stops the operation on the preset area, the electronic device can end the control of the cursor. For example, the electronic device can control the movement of the cursor according to the user's sliding on the stylus, such as the electronic device can display the interface of the electronic device as shown in a in Figure 11 when the user does not operate the stylus, and display the interface of the electronic device as shown in b in Figure 11 when the user ends the operation on the stylus. It can be understood that the movement of the cursor will drive the change of the content displayed on the page.
[0142] In a possible implementation, when the stylus receives a user's sliding gesture in a preset area away from the pen tip, the stylus can also control the electronic device to continuously turn pages downward. Furthermore, when the user stops operating the preset area, the electronic device can end the page turning operation.
[0143] Adaptable, as shown in the scenario b in FIG11 , when the stylus receives the user sliding toward the position of the pen tip in the preset area in the step shown in S704, the stylus can send the recognition result corresponding to the sliding operation to the electronic device through S705, so that the electronic device controls the cursor to move continuously upward in the step shown in S706. Furthermore, when the user stops the operation on the preset area, the electronic device can end the control of the cursor. For example, the electronic device can control the movement of the cursor according to the user's sliding of the stylus, such as the electronic device can display the interface of the electronic device as shown in b in FIG11 when the user does not operate the stylus, and display the interface of the electronic device as shown in a in FIG11 when the user ends the operation on the stylus.
[0144] In a possible implementation, when the stylus detects a user sliding near the tip of the stylus within a preset area, the stylus can also control the electronic device to continuously flip pages upward. Furthermore, when the user stops operating within the preset area, the electronic device can terminate the page-turning operation. The specific process is similar to how a stylus controls the movement of a cursor in an electronic device and will not be further described here.
[0145] In a possible implementation, the stylus can also control the electronic device according to the direction of the pen tip. For example, the interface shown in Figure 11a and the interface shown in Figure 11b. When the tip of the stylus is facing upward, when the stylus receives a user sliding in a preset area away from the pen tip, the stylus can control the page displayed in the electronic device to continuously turn down (or the cursor displayed in the electronic device to continuously move downward); or, when the tip of the stylus is facing upward, when the stylus receives a user sliding in a preset area close to the pen tip, the stylus can control the page displayed in the electronic device to continuously turn up (or the cursor displayed in the electronic device to continuously move upward).
[0146] In a possible implementation, when the tip of the stylus is facing downward, when the stylus receives a user sliding near the tip position in a preset area, the stylus can control the page displayed in the electronic device to continuously turn downward (or the cursor displayed in the electronic device to continuously move downward); or, when the tip of the stylus is facing upward, when the stylus receives a user sliding away from the tip position in the preset area, the stylus can control the page displayed in the electronic device to continuously turn upward (or the cursor displayed in the electronic device to continuously move upward).
[0147] Based on this, the stylus can avoid accidental touches caused by the user triggering other positions of the touch film based on the recognition of operations on preset areas in the touch film and the recognition of the direction of the stylus, and improve the accuracy of the user's control of electronic devices with the stylus.
[0148] It should be understood that the interface provided in the embodiment of the present application is merely an example and does not constitute a limitation on the embodiment of the present application.
[0149] The method provided in the embodiment of the present application is described above in conjunction with Figures 6-11. The device for executing the above method provided in the embodiment of the present application is described below. As shown in Figure 12, Figure 12 is a structural schematic diagram of a stylus-based device provided in the embodiment of the present application. The stylus-based device can be a wearable device in the embodiment of the present application, or a chip or chip system within a wearable device.
[0150] As shown in FIG12 , a stylus-based device 1200 can be used in a communication device, circuit, hardware component, or chip. The stylus-based device includes an identification unit 1201 and a processing unit 1202. The identification unit 1201 is used to support the stylus-based device 1200 in performing data identification steps, and the processing unit 1202 is used to support the stylus-based device 1200 in performing data processing steps.
[0151] Specifically, an embodiment of the present application provides a stylus-based usage device 1200, in which part or all of the body of the stylus is surrounded by a touch film, a cross-section is provided at the body of the stylus, and the touch film includes a first area, the first area is smaller than the body area covered by the touch film and the first area is located at the cross-section position, when the processing unit 1202 receives a first operation for the first area, the identification unit 1201 is used to identify the first operation and obtain an identification result, the processing unit 1202 is used to control the target device based on the identification result, and a communication connection is established between the target device and the stylus.
[0152] In a possible implementation, the stylus-based device 1200 may also include a communication unit 1203. Specifically, the communication unit 1203 is used to support the stylus-based device 1200 in performing the steps of sending and receiving data. The communication unit 1203 may be an input or output interface, pin, or circuit.
[0153] In a possible embodiment, the stylus-based 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 to store programs or data. The storage unit 1204 may exist independently and be connected to the processing unit 1202 of the stylus-based device via a communication circuit. The storage unit 1204 may also be integrated with the processing unit 1202.
[0154] The storage unit 1204 can store computer-executable instructions for the method in the wearable device, so that the processing unit 1202 can execute the method in the above embodiment. The storage unit 1204 can be a register, a cache, or a RAM, etc. The storage unit 1204 can be integrated with the processing unit 1202. The storage unit 1204 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions. The storage unit 1204 can be independent of the processing unit 1202.
[0155] FIG13 is a schematic diagram of the hardware structure of another stylus provided in an embodiment of the present application. As shown in FIG13 , the stylus includes a processor 1301 , a communication line 1304 , and at least one communication interface ( FIG13 exemplarily illustrates the communication interface 1303 ).
[0156] 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 for controlling the execution of the program of the present application.
[0157] Communications link 1304 may include circuitry that transmits information between the aforementioned components.
[0158] The communication interface 1303 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, wireless local area networks (WLAN), etc.
[0159] Possibly, the stylus pen may further include a memory 1302 .
[0160] The memory 1302 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be independent and connected to the processor via a communication line 1304. The memory may also be integrated with the processor.
[0161] The memory 1302 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 1301. The processor 1301 is used to execute the computer-executable instructions stored in the memory 1302, thereby implementing the wearing detection method provided in the embodiment of the present application.
[0162] Possibly, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, and the embodiments of the present application do not specifically limit this.
[0163] In a specific implementation, as an embodiment, the processor 1301 may include one or more CPUs, such as CPU0 and CPU1 in FIG13 .
[0164] In a specific implementation, as an example, the stylus may include multiple processors, such as processor 1301 and processor 1305 in FIG13 . Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0165] A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or data center that includes one or more available media integrated. For example, the available medium can include magnetic media (e.g., floppy disk, hard disk or tape), optical media (e.g., digital versatile disc (DVD)), or semiconductor media (e.g., solid state disk (SSD)).
[0166] An embodiment of the present application also provides a system, which includes a stylus and a target device, wherein a communication connection is established between the target device and the stylus, wherein a touch film surrounds part or all of the body of the stylus, and a cross-section is provided on the body of the stylus, wherein the touch film includes a first area, wherein the first area is smaller than the area of the body covered by the touch film and the first area is located at the cross-section position, and the stylus is used to: when receiving a first operation for the first area, identify the first operation and obtain a recognition result; the stylus is also used to: send the recognition result to the target device; and the target device is used to: receive the recognition result and control the target device based on the recognition result.
[0167] The present application also provides a computer-readable storage medium. The methods described in the above embodiments can be implemented in whole or in part via software, hardware, firmware, or any combination thereof. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one location to another. The storage medium can be any target medium that can be accessed by a computer.
[0168] 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 include magnetic disk storage or other magnetic disk storage devices. Moreover, any connecting line may also be appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically using lasers.
[0169] The above combinations are also included within the scope of computer-readable media. The above are only specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A system, characterized in that: The system includes a stylus and an electronic device that establishes a communication connection with the stylus, At least a portion of the body of the stylus is provided with a touch film, the touch film including a first area and a second area, the first area being smaller than an area of the body of the stylus corresponding to the touch film, and the second area being an area of the touch film other than the first area; In the first mode, the stylus is used to write on the touch screen of the electronic device, and the system can respond to a first operation performed by the user at any position on the touch film in a first application; In the second mode, the system is capable of responding to a second operation of the user in the first area in a second application, wherein the system does not respond to the second operation of the user in the second area in the second application; the first mode is different from the second mode; The first operation is different from the second operation.
2. The system according to claim 1, wherein: The second operation is a sliding operation.
3. The system according to claim 2, characterized in that The system can respond to the second operation of the user in the first area in the second application, including: the stylus can recognize the user's sliding operation in the first area, and the display page of the electronic device turns in response to the sliding operation.
4. The system according to claim 3, wherein the stylus is capable of recognizing a user sliding operation in the first area, and the electronic device turning a displayed page in response to the sliding operation comprises: The stylus is capable of recognizing a first sliding operation performed by the user in the first area toward a position away from the tip of the stylus, and a display page of the electronic device turns downward in response to the first sliding operation; Furthermore, the stylus pen is capable of recognizing a second sliding operation performed by the user in the first area toward a position close to the tip of the stylus pen, and the display page of the electronic device flips upward in response to the second sliding operation.
5. The system according to claim 1, wherein: The second operation is a long press operation.
6. The system according to claim 5, characterized in that The system can respond to the user's second operation in the first area in the second application, including: the stylus can recognize the user's long press operation in the first area, and the display page of the electronic device displays a laser dot in response to the long press operation.
7. The system according to claim 6, characterized in that The system is able to respond to the user's second operation in the first area in the second application, and also includes: the stylus is able to recognize the end of the user's long press operation in the first area, and the display page of the electronic device cancels the display of the laser dot in response to the end of the long press operation.
8. The system according to any one of claims 1 to 7, characterized in that The first operation includes a tapping operation.
9. The system according to claim 8, characterized in that The system can respond to the user's first operation at any position on the touch film in the first application, including: the stylus can recognize the user's tapping operation at any position on the touch film and switch from the first mode to the second mode.
10. The system according to any one of claims 1 to 7, characterized in that The electronic device is further configured to display a first interface, where the first interface includes a first control, and the first control is configured to receive a user operation to indicate that the system is in the first mode or the second mode.
11. The system according to claim 10, wherein: The first interface further includes first prompt information, and the prompt information is used to prompt the user to use the stylus pen to control the electronic device to turn pages in the second mode.
12. The system according to any one of claims 1 to 11, characterized in that The first mode is a writing mode, and the second mode is a wireless presenter mode.
13. The system according to any one of claims 1 to 12, characterized in that The first application is an application for writing; the second application is an application for displaying slides.
14. The system according to any one of claims 1 to 13, characterized in that The system can respond to the second operation of the user in the first area in the second application, including: The electronic device is capable of receiving a first message sent by the stylus, where the first message is used to indicate that the user's operation is a recognition result of the second operation; The electronic device can control display content of the electronic device based on the recognition result.
15. The system according to any one of claims 1 to 14, characterized in that The touch pen includes a touch integrated circuit board IC and a micro control unit MCU; The touch control IC is configured to send first trigger data to the MCU in the second mode, where the first trigger data only includes trigger data corresponding to a trigger operation received in the first area.
16. The system according to any one of claims 1 to 14, characterized in that The touch pen includes a touch integrated circuit board IC and a micro control unit MCU; The touch IC is used to send second trigger data to the microcontroller unit MCU in the second mode, and the second trigger data includes trigger data corresponding to the trigger operation received at any position of the touch film. The microcontroller unit MCU is used to only identify the trigger data corresponding to the first area in the second mode.
17. The system according to any one of claims 1 to 16, characterized in that A section is provided on the body of the stylus pen, and the first area is located at the section.
18. The system according to claim 17, wherein the first area is smaller than a cross-sectional area of the pen body corresponding to the touch film.
19. A display method, the method being applied to a system comprising a stylus and an electronic device, wherein at least a portion of the stylus body is provided with a touch film, the touch film comprising a first area and a second area, the first area being smaller than the area of the stylus body corresponding to the touch film, and the second area being the area of the touch film other than the first area; the method comprising: The electronic device and the stylus pen establish a communication connection; In the first mode, the stylus writes on the touch screen of the electronic device, and the system responds to a first operation of the user at any position on the touch film in the first application; In the second mode, the system responds to a second operation of the user in the first area in the second application, wherein the system does not respond to a second operation of the user in the second area in the second application; the first mode is different from the second mode; The first operation is different from the second operation.
20. The method according to claim 19, characterized in that The second operation is a sliding operation.
21. The method according to claim 20, characterized in that The system can respond to the second operation of the user in the first area in the second application, including: the stylus can recognize the user's sliding operation in the first area, and the display page of the electronic device turns in response to the sliding operation.
22. The method according to claim 21, characterized in that The stylus pen is capable of recognizing a sliding operation of the user in the first area, and the electronic device turns a displayed page in response to the sliding operation, comprising: The stylus is capable of recognizing a first sliding operation performed by the user in the first area toward a position away from the tip of the stylus, and a display page of the electronic device turns downward in response to the first sliding operation; Furthermore, the stylus pen is capable of recognizing a second sliding operation performed by the user in the first area toward a position close to the tip of the stylus pen, and the display page of the electronic device flips upward in response to the second sliding operation.
23. The method according to claim 19, wherein The second operation is a long press operation.
24. The method according to claim 23, wherein The system can respond to the user's second operation in the first area in the second application, including: the stylus can recognize the user's long press operation in the first area, and the display page of the electronic device displays a laser dot in response to the long press operation.
25. The method according to claim 24, characterized in that The system is able to respond to the user's second operation in the first area in the second application, and also includes: the stylus is able to recognize the end of the user's long press operation in the first area, and the display page of the electronic device cancels the display of the laser dot in response to the end of the long press operation.
26. The method according to any one of claims 19 to 24, characterized in that The first operation includes a tapping operation.
27. The method according to claim 26, characterized in that The system can respond to the user's first operation at any position on the touch film in the first application, including: the stylus can recognize the user's tapping operation at any position on the touch film and switch from the first mode to the second mode.
28. The method according to any one of claims 19 to 26, characterized in that The method further comprises: The electronic device displays a first interface, where the first interface includes a first control, and the first control is used to receive a user operation to indicate that the system is in the first mode or the second mode.
29. The method according to claim 28, characterized in that The first interface also includes first prompt information, which is used to prompt the user to use the stylus to control the electronic device to turn pages in the second mode.
30. The method according to any one of claims 19 to 29, wherein: The first mode is a writing mode, and the second mode is a wireless presenter mode.
31. The method according to any one of claims 19 to 30, characterized in that The first application is an application for writing; the second application is an application for displaying slides.
32. The method according to any one of claims 19 to 31, wherein: The system can respond to the second operation of the user in the first area in the second application, including: The electronic device is capable of receiving a first message sent by the stylus, where the first message is used to indicate that the user's operation is a recognition result of the second operation; The electronic device can control display content of the electronic device based on the recognition result.
33. The method according to any one of claims 19 to 32, wherein: The touch pen includes a touch integrated circuit board IC and a micro control unit MCU; The touch control IC is configured to send first trigger data to the MCU in the second mode, where the first trigger data only includes trigger data corresponding to a trigger operation received in the first area.
34. The method according to any one of claims 19 to 32, wherein: The touch pen includes a touch integrated circuit board IC and a micro control unit MCU; The touch IC is used to send second trigger data to the microcontroller unit MCU in the second mode, and the second trigger data includes trigger data corresponding to the trigger operation received at any position of the touch film. The microcontroller unit MCU is used to only identify the trigger data corresponding to the first area in the second mode.
35. The method according to any one of claims 19 to 34, wherein: A section is provided on the body of the stylus pen, and the first area is located at the section.
36. The method according to claim 35, characterized in that The first area is smaller than the pen body cross-sectional area corresponding to the touch film.
Citation Information
Patent Citations
Using method and device based on touch pen
CN116088698A
Intelligent household appliance pen type control terminal and working method thereof
CN103941892A
Stylus and electronic device
CN105022502A
Touch sensitive processing method, apparatus and system for setting palm rejection area
CN107153480A
Touch pen
CN109917931A
