WO2024032470A9 - 基于触控笔的使用方法和装置 - Google Patents

基于触控笔的使用方法和装置 Download PDF

Info

Publication number
WO2024032470A9
WO2024032470A9 PCT/CN2023/111063 CN2023111063W WO2024032470A9 WO 2024032470 A9 WO2024032470 A9 WO 2024032470A9 CN 2023111063 W CN2023111063 W CN 2023111063W WO 2024032470 A9 WO2024032470 A9 WO 2024032470A9
Authority
WO
WIPO (PCT)
Prior art keywords
stylus
area
user
electronic device
mode
Prior art date
Application number
PCT/CN2023/111063
Other languages
English (en)
French (fr)
Other versions
WO2024032470A1 (zh
Inventor
张北航
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to CN202380025107.9A priority Critical patent/CN118786408A/zh
Publication of WO2024032470A1 publication Critical patent/WO2024032470A1/zh
Publication of WO2024032470A9 publication Critical patent/WO2024032470A9/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Definitions

  • the present application relates to the field of terminal technology, and in particular to a method and device for using a stylus pen.
  • a touch film is wrapped around the position of the stylus near the pen tip, so that the stylus can control functions of an electronic device and the like based on a user's triggering operation of the touch film.
  • the accuracy of the above-mentioned method based on the stylus is low, which affects the user's experience of controlling the electronic device based on the stylus.
  • 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 a first area where a touch film overlaps a cut surface, thereby improving the user experience of using a stylus pen to control an electronic device.
  • the embodiment of the present application provides a method for using a stylus, wherein part or all of the body of the stylus is surrounded by a touch film, a section is provided at the body of the stylus, 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 section position, and the method includes: when the stylus receives a first operation for the first area, the stylus identifies the first operation, obtains an identification result, and controls a target device based on the identification result, and a communication connection is established between the target device and the stylus.
  • the accuracy of operation identification can be improved by identifying the trigger data for the first area where the touch film overlaps with the section, thereby improving the user experience of using the stylus to control the target device.
  • the first area can be a 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.
  • the recognition result 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 close to the tip of the stylus, the recognition result is used to instruct the target device to turn the page up.
  • the stylus can control the target device to turn the page according to 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 accuracy of the user using the stylus to control the target device.
  • the method further includes: the stylus pen acquires state information of the stylus pen; the state information of the stylus pen is used to indicate the direction of the tip of the stylus pen; the stylus pen recognizes the first operation, obtains a recognition result, and based on the The method comprises: the stylus pen recognizes the first operation and the state information, obtains the recognition result, and controls the target device based on the recognition result. In this way, the stylus pen can control the page turning of the target device according to the direction of the stylus pen tip and the sliding operation on the first area, so that the user can flexibly control the target device with the stylus pen.
  • 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.
  • the stylus can control the page turning of the target device according to the direction of the tip of the stylus and the sliding operation on the first area, so that the user can flexibly control the target device with the styl
  • the preset condition can be that the pen tip is facing upward as described in the embodiment of the present application; if it is not satisfied with the preset condition, the pen tip is facing downward as described in the embodiment of the present application.
  • the method further includes: the stylus pen switches from the first mode to the second mode; wherein, in the first mode, the stylus pen can respond to a trigger operation at any position of the touch film; in the second mode, the stylus pen can respond to a trigger operation in the first area, and does not respond to a trigger operation in a second area of the touch film other than the first area; the stylus pen receives a first operation directed to the first area, including: the stylus pen in the second mode receives the first operation directed to the first area.
  • the stylus pen can switch from the first mode to the second mode before controlling the target device, and receive the user's operation directed to the first area in the second mode, thereby avoiding an accidental touch caused by receiving the user's first operation directed to the first area in the first mode.
  • the first mode can be the writing mode described in the embodiment of the present application
  • the second mode can be the wireless presenter mode described in the embodiment of the present application.
  • the stylus includes a touch integrated circuit board IC and a microcontroller unit MCU, and the method further includes: the MCU sends a first instruction to the touch IC; the first instruction is used to instruct the touch pen to switch from the first mode to the second mode; the touch IC obtains first trigger data corresponding to the first operation based on the second mode, and sends the first trigger data to the MCU; the stylus recognizes the first operation, including: the MCU recognizes the first trigger data.
  • 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 the memory usage caused by obtaining the trigger operation of the second area.
  • the stylus includes a touch IC and an MCU, and the method further includes: the touch IC acquires second trigger data and sends 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 recognizes the first operation, including: the MCU recognizes the first trigger data based on the second mode.
  • the MCU in the stylus can receive the second trigger data sent by the touch IC, and filter out the first trigger data through the second mode, so that the stylus can improve the accuracy of operation recognition based on the first trigger data.
  • 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 of the target device based on the recognition result.
  • the stylus can not only realize For turning pages of the target device, the cursor movement and the change of the target device page can also be controlled, thereby enhancing the flexibility of controlling the target device.
  • an embodiment of the present application provides a device for using a stylus pen, wherein 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, 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 receives a first operation for the first area, the 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 a communication connection is established between the target device and the stylus pen.
  • the recognition result 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 close to the tip of the stylus, the recognition result is used to instruct the target device to turn the page up.
  • 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.
  • 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.
  • 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.
  • the stylus pen 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 pen to switch from a first mode to a second mode; the processing unit is further used to obtain first trigger data corresponding to a first operation based on the second mode, and send the first trigger data to the MCU; the processing unit is further used to identify the first trigger data.
  • the stylus pen includes a touch IC and an MCU
  • 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 also used to identify the first trigger data based on the second pattern.
  • the recognition unit is further used to recognize the first operation and obtain a recognition result
  • the processing unit is further used to control the movement of a cursor in the target device and/or control the change of a page of the target device based on the recognition result.
  • an embodiment of the present application provides a stylus pen comprising a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • 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.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores A computer program is stored, and when the computer program is executed by a processor, the computer executes the method as described in the first aspect or any possible implementation of the first aspect.
  • an embodiment of the present application provides a computer program product, including a computer program, which, when executed, enables a computer to execute a method as described in the first aspect or any possible implementation of the first 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 a touch film is surrounded partially or entirely of the body of the stylus, wherein 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 an area of the body covered by the touch film and the first area is located at the cross section, wherein the stylus is used to: when a first operation is received 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.
  • FIG1 is a schematic diagram of a scenario provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of a touch film of a touch pen provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a holding posture provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of the hardware structure of a stylus provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of another touch film of a touch pen provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a flow chart of a method for using a stylus pen provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of an interface for opening a wireless presenter mode provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of a scenario based on a stylus pen simulating a laser pen provided in an embodiment of the present application;
  • FIG10 is a schematic diagram of a scenario of page turning controlled by a laser pen provided in an embodiment of the present application.
  • FIG11 is a schematic diagram of another scenario of controlling page turning based on a stylus pen provided in an embodiment of the present application.
  • FIG12 is a schematic diagram of the structure of a stylus-based using device provided in an embodiment of the present application.
  • FIG. 13 is a schematic diagram of the hardware structure of another stylus provided in an embodiment 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.
  • the first value and the second value are only used to distinguish different values, and their order is not limited.
  • 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 them to be different.
  • At least one means one or more
  • plural 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” or similar expressions refers to any combination of these items, including any combination of single or plural items.
  • 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.
  • Figure 1 is a schematic diagram of a scenario provided by an embodiment of the present application.
  • 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.
  • 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 .
  • the stylus pen 100 and the electronic device 200 can support two working modes, such as writing mode and wireless presenter mode.
  • the writing mode can be the mode that the stylus pen 100 enters by default.
  • the user can use the stylus pen 100 to write on the touch screen of the electronic device 200, thereby inputting data into the electronic device 200.
  • the wireless presenter mode the page turning control of the electronic device 200 can be realized based on the operation of the user holding the stylus pen 100 and sliding up and down (or left and right) in the touch film.
  • the touch film can be a component surrounding the front end of the stylus pen for receiving a user trigger operation.
  • the touch film can be used to receive an operation of sliding up and down (or left and right) by the user in the presenter mode.
  • FIG2 is a schematic diagram of a touch film of a stylus provided in an embodiment of the present application.
  • the front end of the stylus near the pen tip is surrounded by a touch film, and the touch film may be a position corresponding to the gray area shown in a of FIG2.
  • the touch film when the touch film is unfolded, may be a rectangular area with a width of W and a height of H.
  • the stylus can receive and identify the operation data at any position in the touch film.
  • the holding posture of the user when triggering the stylus is illustrated.
  • 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 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 a in FIG3 , b in FIG3 , or c in FIG3 .
  • 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, thereby affecting the user's experience of controlling the electronic device based on the stylus.
  • the embodiment of the present application provides a method for using a stylus, wherein a touch film surrounds the position of the stylus near the tip of the stylus, and the stylus receives a first operation on the touch film; in response to the first operation, the stylus identifies the operation in the first area of the touch film and obtains a recognition result, so that the stylus can avoid mis-touch caused by the user triggering other positions of the touch film based on the recognition of the operation in the first area, thereby improving the accuracy of the user using the stylus to control the electronic device.
  • the first area is smaller than the area corresponding to the touch film.
  • FIG4 is a schematic diagram of the hardware structure of a stylus provided in an embodiment of the present application.
  • the stylus pen may also be called a handwriting pen, a capacitive pen, or an inductive pen, etc.
  • 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 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 circuits in the processor 110 may be used to control the operation of the stylus 100.
  • the processing circuits 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.
  • the processor 110 may include modules such as a touch integrated circuit board (IC) and a microcontroller unit (MCU).
  • modules such as a touch integrated circuit board (IC) and a microcontroller unit (MCU).
  • 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 pen and identify the trigger operation based on the working mode.
  • the stylus 100 may include one or more sensors.
  • the sensor may include a pressure sensor 120.
  • the pressure sensor 120 may be disposed at the writing end of the stylus 100.
  • the pressure sensor 120 may also be disposed in the pen holder 20 of the stylus 100, so that after one end of the tip of the stylus 100 is subjected to force, the other end of the tip moves to apply force to the pressure sensor 120.
  • the processor 110 may adjust the thickness of the line when the tip of the stylus 100 is writing according to the pressure detected by the pressure sensor 120.
  • 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.
  • a three-axis magnetometer may be included in the sensor in the configuration of a nine-axis inertial sensor.
  • the gyroscope sensor may be used to detect the direction of the tip of the stylus 100.
  • the gyroscope sensor may be used to detect the direction of the tip of the stylus, and to detect the state where the tip of the stylus is facing downward.
  • the sensors 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.
  • 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 and a non-mechanical button, and the button 150 may be used to collect button pressing information from the user.
  • 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.
  • the stylus 100 may include a sensing circuit 170.
  • the sensing circuit 170 may sense the capacitive coupling between the electrode 160 and the driving line of the capacitive touch sensor panel interacting with the stylus 100.
  • the sensing circuit 170 may include an amplifier for receiving a capacitance reading 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 reading using an in-phase demodulation frequency component, and a mixer for demodulating the capacitance reading using an orthogonal demodulation frequency component, etc.
  • the result of the mixer demodulation may be used to determine an amplitude proportional to the capacitance, so that the stylus 100 may sense contact with the capacitive touch sensor panel.
  • the stylus 100 may include a microphone, a speaker, an audio generator, a vibrator, a camera, a data port, and other devices.
  • the user can control the operation of the stylus 100 and the electronic device 200 interacting with the stylus 100 by providing commands using these devices, and receive status information and other outputs.
  • the processor 110 may be used to run software on the stylus 100 that controls the operation of the stylus 100.
  • the software running on the processor 110 may process sensor inputs, button inputs, and inputs from other devices to monitor the movement of the stylus 100 and other user inputs.
  • the software running on the processor 110 may detect The user commands and can communicate with the electronic device 200.
  • the stylus 100 may include a wireless module.
  • FIG4 takes the wireless module as the Bluetooth module 180 as an example for illustration.
  • the wireless module may also be a WI-FI hotspot module, a WI-FI point-to-point module, etc.
  • 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 use an antenna to transmit and/or receive wireless signals, and the wireless signals may be Bluetooth signals, wireless LAN signals, long-range signals such as cellular phone signals, near field communication signals, or other wireless signals based on the type of wireless module.
  • the stylus pen 100 may further include a charging module 190 , which may support charging of the stylus pen 100 and provide power for the stylus pen 100 .
  • the electronic device 200 in the embodiment of the present application can be called a user equipment (UE), a terminal, etc.
  • the electronic device 200 can be a portable android device (PAD), a personal digital assistant (PDA), a handheld device with a 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, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc., which are mobile terminals or fixed terminals with a touch screen.
  • the form of the electronic device is not specifically limited in the embodiment of the present application.
  • FIG5 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
  • 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.
  • 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 touch sensors); 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.
  • one or more analog or digital sensors such as touch sensors
  • 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.
  • the processor 210 may be used to receive a control instruction from the stylus, and the control instruction may be used to instruct the electronic device 200 to perform a corresponding control.
  • the stylus when the stylus receives a trigger operation from a user in a preset area, the stylus may identify the trigger operation and send a control instruction corresponding to the identification result to the electronic device 200, so that the electronic device 200 may execute the control instruction.
  • the electronic device 200 may perform page turning control according to the control instruction.
  • 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, etc.
  • a wireless e.g., inductive, resonant, etc.
  • the processor 210 may be implemented as any electronic device capable of processing, receiving or sending data or instructions.
  • the processor may be a microprocessor, a central processing unit, an application specific integrated circuit, a field programmable gate array, a digital signal processing unit, or a processor.
  • the processor may be a single-threaded or multi-threaded processor.
  • the processor may be a single-core or multi-core processor.
  • 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 .
  • 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.
  • the memory may also store electronic data that may be used by the stylus or the processor.
  • the memory may 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 may be configured as any type of memory.
  • the memory may be implemented as a random access memory, a read-only memory, a flash memory, a removable memory, other types of storage elements, or a combination of such devices.
  • the memory may also store the stylus that has been connected to the electronic device 200, the working modes 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.
  • 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.
  • the electronic device 200 further includes a wireless interface 260 to facilitate electronic communication between the electronic device 200 and the stylus 100.
  • 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.
  • the electronic device 200 also utilizes a near field communication interface to communicate with the stylus 100.
  • the communication interface facilitates electronic communication between the electronic device 200 and an external communication network, device, or platform.
  • 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.
  • 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 an embodiment of the present application, the display 270 may display the interface after being controlled by the stylus.
  • FIG6 is a schematic diagram of a touch film of another stylus provided in an embodiment of the present application.
  • the body of the stylus can be provided with at least one cut surface 601, and the cut surface 601 is provided with a preset area 602 (or can also be referred to as a first area) near the tip of the pen.
  • the preset area 602 corresponding to the position of the cut surface 601 can be used to receive a user's trigger operation on the preset area 602 when the stylus is in the presenter mode.
  • the section is a plane without curvature, which extends longitudinally along the body of the stylus.
  • the section can indicate the position of the body of the stylus. When using the stylus, the user can quickly distinguish between the section area and the non-section area simply by holding it.
  • the stylus pen 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 FIG. 6 , the trigger operation in the presenter mode is recognized, and then the electronic device is controlled using the recognition result.
  • 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.
  • the size of the preset area 602 at the section position may also be 1 ⁇ 3, 1 ⁇ 5, or 1 ⁇ 6.
  • the preset area can be understood as a long strip area set at the cross section of the stylus pen body.
  • the size of the preset area can be related to the size of the grid caused by the division of the touch film, the size of the cross section, and the size of the finger.
  • 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.
  • the 6 ⁇ 6 size division of the touch film and the 1 ⁇ 4 size corresponding to the preset area are only used as an example, and the example does not constitute a limitation on the embodiments of the present application.
  • 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 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., which is not limited in the embodiments of the present application.
  • the stylus can recognize the trigger operation in the preset area at the cross-section position of 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 identifying the trigger operation.
  • FIG7 is a flowchart of a method of using a stylus pen provided in the embodiment of the present application.
  • the method of using a stylus pen may involve an electronic device and a stylus pen, and the electronic device may be a tablet, and the stylus pen includes a touch IC and an MCU. This example is not intended to limit the embodiment of the present application.
  • the method based on the stylus pen may include the following steps:
  • S701 The electronic device establishes a communication connection with the stylus pen.
  • the stylus pen and the electronic device can be interconnected through a communication network to achieve wireless signal interaction.
  • the communication network may 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, which is not limited in the embodiments of the present application.
  • 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, which is not limited in the embodiments of the present application.
  • S702 The electronic device turns on the wireless presenter mode.
  • the stylus enters the writing mode by default when it is turned on, the presenter mode can be turned on by the user's trigger operation on the electronic device.
  • FIG8 is a schematic diagram of an interface for turning on a wireless presenter mode provided in an embodiment of the present application.
  • the electronic device can display the interface shown in a of Figure 8.
  • the interface may include: a text box 801 for searching the setting items, a control for viewing the account information, a control for setting WLAN, a control for setting Bluetooth, a control for setting the mobile network, a control for viewing the hyper terminal, etc.
  • 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-task 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.
  • 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.
  • the electronic device when the electronic device receives a user input search for “demo presenter mode” in the text box 801 for searching setting items, the electronic device can open the function interface corresponding to the delayed presenter mode and display the interface shown in b of FIG8 .
  • the interface may include: a control 802 for turning on the presenter mode, and prompt information corresponding to turning on the presenter, and the prompt information may be displayed as: after turning on the presenter mode, the stylus pen can be used to control the electronic device to realize functions such as page turning.
  • the electronic device 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.
  • the stylus pen may also turn on the presenter mode based on a trigger operation of the user on the stylus pen in the writing mode. For example, the stylus pen may switch from the writing mode to the presenter mode based on multiple tapping operations of the user on the touch film, or based on operations such as the user pressing the stylus pen tip for a long time or pressing multiple times, and then the stylus pen executes the steps shown in S703.
  • S703 The electronic device sends a message to the stylus pen for instructing the stylus pen to switch to the presenter mode.
  • the electronic device can send the message for instructing the stylus to switch to the wireless presenter mode to the stylus via Bluetooth or other means.
  • the stylus can receive the message sent by the electronic device for instructing the stylus to switch to the wireless presenter mode.
  • the stylus when the stylus receives a trigger operation from a 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.
  • the MCU in the stylus can send an indication message containing the presenter mode to the touch IC, instructing the touch IC to only receive the trigger operation corresponding to the preset area.
  • the touch IC can send the trigger data corresponding to the trigger operation received in the preset area to the MCU, which will identify it and obtain the identification result.
  • the trigger data may include: the position corresponding to the trigger operation, and the change in capacitance when triggered, etc.
  • the touch IC can start only 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.
  • the touch IC can normally receive the user's trigger operation at any position of 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 the presenter mode, and obtain the identification result.
  • the MCU can filter out the trigger data outside the preset area in the touch film.
  • 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 where the preset area is located according to the message used to instruct the stylus to switch to the wireless presenter mode, and obtain the identification result.
  • S705 The stylus sends a message indicating the recognition result to the electronic device.
  • the stylus pen may also send the message indicating the recognition result to the electronic device based on Bluetooth.
  • the electronic device may receive the recognition result sent by the stylus pen.
  • S706 The electronic device controls the electronic device based on the recognition result.
  • the embodiments of the present application can provide a variety of control methods for electronic devices based on the stylus.
  • the user can simulate a laser pen based on the trigger operation of the stylus and display a laser point in the electronic device (see the embodiment corresponding to Figure 9); or the user can also realize the page turning control of the electronic device based on the user's trigger operation on the stylus (see the embodiment corresponding to Figure 10).
  • a user can simulate a laser pen based on a trigger operation on the stylus pen to display a laser dot on the electronic device.
  • 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.
  • the stylus when the stylus receives a user's pressing operation (or long pressing operation) in a preset area in step S704, the stylus can send the recognition result corresponding to the pressing operation to the electronic device through S705, so that the electronic device displays a laser point 901 in step S706.
  • the user can use the stylus to simulate a laser pen to provide a visual demonstration when presenting business.
  • the interface displayed by the electronic device as shown in a in Figure 9 may be the home page of the slide show, 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.
  • the electronic device when the user ends the pressing operation on the preset area of the stylus pen, the electronic device can cancel the display of the laser point.
  • the user can simulate the laser pen displaying 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.
  • the user may also implement page turning control on the electronic device based on the user's triggering operation on the stylus.
  • FIG10 is a schematic diagram of a scenario of page turning controlled by a stylus provided in an embodiment of the present application.
  • the stylus when the stylus receives an indication in step S704 that the user is sliding in a preset area away from the pen tip, the stylus can send the recognition result corresponding to the sliding operation to the electronic device via S705, so that the electronic device turns the page in step 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.
  • the stylus when the stylus receives the user sliding in the preset area toward the position close to the pen tip 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 upward, and 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 the definition introduction of the stylus, etc.
  • 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 demonstration presenter mode in the interface as shown in b in Figure 8, or the user taps the touch film in the stylus multiple times.
  • 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.
  • the stylus can also control the electronic device according to the direction of the pen tip.
  • the stylus can control the electronic device to turn the page down; or, when the tip of the stylus is facing upward, when the stylus receives a user sliding near the tip in a preset area, 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.
  • the stylus can control the electronic device to turn the page downward; or, with the tip of the stylus facing downward, when the stylus receives a user sliding in a preset area away from the tip position, the stylus can control the electronic device to turn the page upward.
  • 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 a preset area in the touch film, thereby improving the accuracy of the user controlling the electronic device with the stylus.
  • the stylus pen when the electronic device displays document content, web page content, etc., the stylus pen can also realize continuous page turning control of the cursor in the electronic device, or the document content and web page content, etc.
  • FIG11 is a schematic diagram of another scenario of page turning controlled by a stylus provided in an embodiment of the present application.
  • 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 cancel control, and a
  • the electronic device may include a control for inputting a pin, a control for inputting a repeat, a control for exiting the document, a control for turning pages up, a control for turning pages down, and a mark for indicating the position of the currently displayed content in the document.
  • the document content displayed by the electronic device in the scenario shown in b of FIG. 11 may be different from the document content displayed by the electronic device in the scenario shown in a of FIG. 11 .
  • the stylus 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 shown in a in Figure 11 when the user does not operate the stylus, and display the interface of the electronic device 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 lead to changes in the content displayed on the page.
  • the stylus when the stylus receives a user sliding in a preset area away from the pen tip, the stylus can also control the electronic device to continuously turn pages downward. Further, when the user stops operating the preset area, the electronic device can end the page turning operation.
  • the stylus when the stylus receives a user sliding in a preset area toward a position close to the pen tip 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 shown in b of FIG. 11 when the user does not operate the stylus, and display the interface of the electronic device shown in a of FIG. 11 when the user ends the operation on the stylus.
  • the stylus when the stylus receives a user sliding near the pen tip in a preset area, the stylus can also control the electronic device to continuously turn pages upward. Further, when the user stops the operation on the preset area, the electronic device can end the page turning operation.
  • the specific process is similar to the way the stylus controls the movement of the cursor in the electronic device, and will not be repeated here.
  • the stylus can also control the electronic device according to the direction of 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 tip position, 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).
  • the stylus can control the pages displayed in the electronic device to continuously turn downward (or the cursor displayed in the electronic device to continuously move downward); or, with the tip of the stylus facing upward, when the stylus receives a user sliding in a preset area away from the tip position, the stylus can control the pages displayed in the electronic device to continuously turn upward (or the cursor displayed in the electronic device to continuously move upward).
  • the stylus can avoid accidental touches caused by the user triggering other positions of the touch film based on the recognition of the operation of the preset area in the touch film and the recognition of the direction of the stylus, and improve the user's control of the electrical device using the stylus.
  • the accuracy of the sub-device is the accuracy of the sub-device.
  • Figure 12 is a structural schematic diagram of a stylus-based device provided in the embodiment of the present application, and the stylus-based device can be a wearable device in the embodiment of the present application, or a chip or chip system in a wearable device.
  • a stylus-based using device 1200 can be used in a communication device, a circuit, a hardware component or a chip, and the stylus-based using device includes: an identification unit 1201 and a processing unit 1202.
  • the identification unit 1201 is used to support the stylus-based using device 1200 to perform a data identification step
  • the processing unit 1202 is used to support the stylus-based using device 1200 to perform a data processing step.
  • 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, 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 a target device based on the identification result, and a communication connection is established between the target device and the stylus.
  • the stylus-based device 1200 may also include a communication unit 1203.
  • the communication unit 1203 is used to support the stylus-based device 1200 to perform the steps of sending and receiving data.
  • the communication unit 1203 may be an input or output interface, a pin or a circuit.
  • 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 line.
  • the storage unit 1204 may include one or more memories, and the memory may be a device used to store programs or data in one or more devices or circuits.
  • the storage unit 1204 may exist independently and be connected to the processing unit 1202 of the stylus-based device via a communication line.
  • the storage unit 1204 may also be integrated with the processing unit 1202.
  • the storage unit 1204 may store computer-executable instructions of the method in the wearable device so that the processing unit 1202 executes the method in the above embodiment.
  • the storage unit 1204 may be a register, a cache, or a RAM, etc.
  • the storage unit 1204 may be integrated with the processing unit 1202.
  • the storage unit 1204 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, and the storage unit 1204 may be independent of the processing unit 1202.
  • FIG13 is a schematic diagram of the hardware structure of another stylus provided in an embodiment of the present application.
  • the stylus includes a processor 1301, a communication line 1304, and at least one communication interface (the communication interface 1303 is used as an example in FIG13 ).
  • Processor 1301 can 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.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communications link 1304 may include circuitry to transmit information between the above-described components.
  • 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.
  • the stylus pen may also include a memory 1302 .
  • the memory 1302 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical 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 the 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.
  • 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 realizing the wearing detection method provided in the embodiment of the present application.
  • 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.
  • the processor 1301 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 13 .
  • the stylus may include multiple processors, such as processor 1301 and processor 1305 in FIG. 13 .
  • processors may be a single-CPU processor or a multi-CPU processor.
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
  • 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 may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
  • Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
  • wired e.g., coaxial cable, optical fiber, digital subscriber line (DSL)
  • wireless e.g., infrared, wireless, microwave, etc.
  • 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 includes one or more available media integrated.
  • available media may include magnetic media (e.g., floppy disks, hard disks, or tapes), optical media (e.g., digital versatile discs (DVD)), or semiconductor media (e.g., solid-state drives (SSD)), etc.
  • 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, wherein a cross section is provided at the body of the stylus, wherein the touch film includes a first area, wherein the first area is smaller than an area of the body covered by the touch film and the first area is located at the cross section, wherein the stylus is used to: when a first operation is received for the first area, identify the first operation and obtain an identification result; wherein the stylus is also used to: send the identification result to the target device; wherein the target device is used to: receive the identification result and control the target device based on the identification result.
  • Computer readable media may include computer storage media and communication media, and may also include any medium that can transfer a computer program from one place to another.
  • Storage media may be any target media that can be accessed by a computer.
  • the computer-readable medium may include a compact disc read-only memory (CD-ROM), RAM, ROM, EEPROM or other optical disc storage; the computer-readable medium may include a magnetic disk storage or other magnetic disk storage device.
  • any connecting line may also be appropriately referred to as a computer-readable medium.
  • 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
  • the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of the medium.
  • Disks and optical discs as used herein include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供一种基于触控笔的使用方法和装置,涉及终端技术领域,触控笔的部分或全部笔身围绕有触控薄膜,触控笔的笔身处设置有切面,触控薄膜中包括第一区域,第一区域小于触控薄膜覆盖的笔身区域且第一区域位于切面位置处,方法包括:当触控笔接收到针对第一区域的第一操作时,触控笔识别第一操作,得到识别结果,并基于识别结果控制目标设备,目标设备与触控笔建立有通信连接。这样,可以通过针对触控薄膜与切面重叠处的第一区域的触发数据的识别,提高操作识别的准确性,进而提高用户使用触控笔控制目标设备的使用体验。

Description

基于触控笔的使用方法和装置
本申请要求于2022年08月09日提交中国国家知识产权局、申请号为202210951471.5、申请名称为“基于触控笔的使用方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种基于触控笔的使用方法和装置。
背景技术
随着互联网的普及和发展,人们对于电子设备的功能需求也越发多样化。例如,为了简化使用电子设备的方式,触控笔逐渐成为向电子设备中输入数据,或者控制电子设备的重要工具。
通常情况下,触控笔靠近笔头的位置处包裹有触控薄膜,使得触控笔可以基于用户对于触控薄膜的触发操作,控制电子设备等功能。
然而,上述基于触控笔的使用方法的准确性较低,影响用户基于触控笔控制电子设备的使用体验。
发明内容
本申请实施例提供一种基于触控笔的使用方法和装置,可以通过针对触控薄膜与切面重叠处的第一区域的触发数据的识别,提高操作识别的准确性,进而提高用户使用触控笔控制电子设备的使用体验。
第一方面,本申请实施例提供一种基于触控笔的使用方法,触控笔的部分或全部笔身围绕有触控薄膜,触控笔的笔身处设置有切面,触控薄膜中包括第一区域,第一区域小于触控薄膜覆盖的笔身区域且第一区域位于切面位置处,方法包括:当触控笔接收到针对第一区域的第一操作时,触控笔识别第一操作,得到识别结果,并基于识别结果控制目标设备,目标设备与触控笔建立有通信连接。这样,可以通过针对触控薄膜与切面重叠处的第一区域的触发数据的识别,提高操作识别的准确性,进而提高用户使用触控笔控制目标设备的使用体验。
其中,该第一区域可以为本申请实施例中描述的预设区域;目标设备可以为本申请实施例中描述的电子设备。
在一种可能的实现方式中,当第一操作为向远离触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向下翻页;或者,当第一操作为向靠近触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向上翻页。这样,触控笔可以根据用户针对第一区域的滑动操作,控制目标设备进行翻页,避免用户触发到触控薄膜的其他位置时带来的误触,进而提高用户使用触控笔控制目标设备的准确性。
在一种可能的实现方式中,方法还包括:触控笔获取触控笔的状态信息;触控笔的状态信息用于指示触控笔的笔尖朝向;触控笔识别第一操作,得到识别结果,并基 于识别结果控制目标设备,包括:触控笔识别第一操作以及状态信息,得到识别结果,并基于识别结果控制目标设备。这样,触控笔可以根据触控笔的笔尖朝向以及针对第一区域的滑动操作共同对目标设备进行翻页控制,使得用户可以利用触控笔对于目标设备进行灵活控制。
在一种可能的实现方式中,当状态信息满足预设条件,且第一操作为向远离触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向下翻页;或者,当状态信息不满足预设条件,且第一操作为远离触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向上翻页;或者,当状态信息满足预设条件,且第一操作为向靠近触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向上翻页;或者,当状态信息不满足预设条件,且第一操作为靠近触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向下翻页。这样,触控笔可以根据触控笔的笔尖朝向以及针对第一区域的滑动操作共同对目标设备进行翻页控制,使得用户可以利用触控笔对于目标设备进行灵活控制。
其中,该预设条件可以为本申请实施例中描述的笔尖朝上;不满于预设条件可以为本申请实施例中描述的笔尖朝下。
在一种可能的实现方式中,方法还包括:触控笔从第一模式切换到第二模式;其中,在第一模式中,触控笔能够响应触控薄膜任意位置的触发操作;在第二模式中,触控笔能够响应第一区域中的触发操作,且不响应触控薄膜中除第一区域外的第二区域的触发操作;触控笔接收到针对第一区域的第一操作,包括:处于第二模式的触控笔接收到针对第一区域的第一操作。这样,触控笔可以在对目标设备进行控制前,由第一模式切换至第二模式,并在第二模式中接收用户针对第一区域的操作,避免在第一模式中接收用户针对第一区域的第一操作时带来的误触。
其中,该第一模式可以为本申请实施例中描述的书写模式,第二模式可以为本申请实施例中描述的翻页笔模式。
在一种可能的实现方式中,触控笔中包括触控集成电路板IC以及微控制单元MCU,方法还包括:MCU向触控IC发送第一指令;第一指令用于指示触控笔从第一模式切换到第二模式;触控IC基于第二模式,获取第一操作对应的第一触发数据,并将第一触发数据发送至MCU;触控笔识别第一操作,包括:MCU识别第一触发数据。这样,使得触控笔中的触控IC可以根据第二模式,仅获取该第一操作对应的第一触发操作,减少获取第二区域的触发操作带来的内存占用。
在一种可能的实现方式中,触控笔中包括触控IC以及MCU,方法还包括:触控IC获取第二触发数据,并将第二触发数据发送至MCU;其中,第二触发数据为针对触控薄膜的触发数据,第二触发数据中包括第一操作对应的第一触发数据;触控笔识别第一操作,包括:MCU基于第二模式识别第一触发数据。这样,触控笔中的MCU可以接收触控IC发来第二触发数据,并通过第二模式筛选出第一触发数据,使得触控笔可以基于第一触发数据提高操作识别的准确性。
在一种可能的实现方式中,触控笔识别第一操作,得到识别结果,并基于识别结果控制目标设备,包括:触控笔识别第一操作,得到识别结果,并基于识别结果控制目标设备中光标的移动和/或控制目标设备页面的变化。这样,触控笔不仅可以实现对 于目标设备的翻页,还可以控制光标的移动以及目标设备页面的变化,增强控制目标设备的灵活性。
第二方面,本申请实施例提供一种基于触控笔的使用装置,触控笔的部分或全部笔身围绕有触控薄膜,触控笔的笔身处设置有切面,触控薄膜中包括第一区域,第一区域小于触控薄膜覆盖的笔身区域且第一区域位于切面位置处,当处理单元接收到针对第一区域的第一操作时,识别单元用于,识别第一操作,得到识别结果,处理单元用于基于识别结果控制目标设备,目标设备与触控笔建立有通信连接。
在一种可能的实现方式中,当第一操作为向远离触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向下翻页;或者,当第一操作为向靠近触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向上翻页。
在一种可能的实现方式中,处理单元,还用于获取触控笔的状态信息;触控笔的状态信息用于指示触控笔的笔尖朝向;识别单元,还用于识别第一操作以及状态信息,得到识别结果,处理单元,还用于基于识别结果控制目标设备。
在一种可能的实现方式中,当状态信息满足预设条件,且第一操作为向远离触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向下翻页;或者,当状态信息不满足预设条件,且第一操作为远离触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向上翻页;或者,当状态信息满足预设条件,且第一操作为向靠近触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向上翻页;或者,当状态信息不满足预设条件,且第一操作为靠近触控笔的笔尖位置处的滑动操作时,识别结果用于指示目标设备向下翻页。
在一种可能的实现方式中,处理单元,还用于从第一模式切换到第二模式;其中,在第一模式中,触控笔能够响应触控薄膜任意位置的触发操作;在第二模式中,触控笔能够响应第一区域中的触发操作,且不响应触控薄膜中除第一区域外的第二区域的触发操作;处理单元,还用于在第二模式下接收到针对第一区域的第一操作。
在一种可能的实现方式中,触控笔中包括触控集成电路板IC以及微控制单元MCU,处理单元,还用于向触控IC发送第一指令;第一指令用于指示触控笔从第一模式切换到第二模式;处理单元,还用于基于第二模式,获取第一操作对应的第一触发数据,并将第一触发数据发送至MCU;处理单元,还用于识别第一触发数据。
在一种可能的实现方式中,触控笔中包括触控IC以及MCU,所处理单元,还用于获取第二触发数据,并将第二触发数据发送至MCU;其中,第二触发数据为针对触控薄膜的触发数据,第二触发数据中包括第一操作对应的第一触发数据;处理单元,还用于基于第二模式识别第一触发数据。
在一种可能的实现方式中,识别单元,还用于识别第一操作,得到识别结果,处理单元,还用于基于识别结果控制目标设备中光标的移动和/或控制目标设备页面的变化。
第三方面,本申请实施例提供一种触控笔,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时,使得触控笔执行如第一方面或第一方面中任一种可能的实现方式中描述的方法。
第四方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质存 储有计算机程序,计算机程序被处理器执行时,使得计算机执行如第一方面或第一方面中任一种可能的实现方式中描述的方法。
第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序,当计算机程序被运行时,使得计算机执行如第一方面或第一方面中任一种可能的实现方式中描述的方法。
第六方面,本申请实施例提供一种系统,包括:触控笔以及目标设备,目标设备与触控笔建立有通信连接,触控笔的部分或全部笔身围绕有触控薄膜,触控笔的笔身处设置有切面,触控薄膜中包括第一区域,第一区域小于触控薄膜覆盖的笔身区域且第一区域位于切面位置处,触控笔用于:当接收到针对第一区域的第一操作时,识别第一操作,得到识别结果;触控笔还用于:将识别结果发送至目标设备;目标设备用于:接收识别结果,并基于识别结果控制目标设备。
应当理解的是,本申请的第三方面至第六方面与本申请的第一方面的技术方案相对应,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。
附图说明
图1为本申请实施例提供的一种场景示意图;
图2为本申请实施例提供的一种触控笔的触控薄膜的示意图;
图3为本申请实施例提供的一种握持姿势的示意图;
图4为本申请实施例提供的一种触控笔的硬件结构示意图;
图5为本申请实施例提供的一种电子设备的硬件结构示意图;
图6为本申请实施例提供的另一种触控笔的触控薄膜的示意图;
图7为本申请实施例提供的一种基于触控笔的使用方法的流程示意图;
图8为本申请实施例提供的一种开启翻页笔模式的界面示意图;
图9为本申请实施例提供的一种基于触控笔模拟激光笔的场景示意图;
图10为本申请实施例提供的一种基于激光笔控制翻页的场景示意图;
图11为本申请实施例提供的另一种基于触控笔控制翻页的场景示意图;
图12为本申请实施例提供的一种基于触控笔的使用装置的结构示意图;
图13为本申请实施例提供的另一种触控笔的硬件结构示意图。
具体实施方式
为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一值和第二值仅仅是为了区分不同的值,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。
需要说明的是,本申请中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或a、b和c,其中a,b,c可以是单个,也可以是多个。
示例性的,图1为本申请实施例提供的一种场景示意图。在图1对应的实施例中,以电子设备为平板为例进行示例说明,该示例并不构成对本申请实施例的限定。
如图1所示,该场景中可以包括电子设备200以及触控笔100,触控笔100可以用于向电子设备200中输入数据,或者也可以用于对电子设备200进行控制。
通常情况下,触控笔100以及电子设备200均可以支持两种工作模式,如书写模式以及翻页笔模式。其中,书写模式可以为触控笔100默认进入的模式,在书写模式下,用户可以利用触控笔100在电子设备200的触控屏中书写,进而实现向电子设备200中输入数据。在翻页笔模式下,可以基于用户握持触控笔100并在触控薄膜中上下(或左右)滑动的操作,实现对于电子设备200的翻页控制。
可以理解的是,触控薄膜可以为围绕于触控笔前端、用于接收用户触发操作的部件。例如,该触控薄膜可以用于接收用户在翻页笔模式下上下(或左右)滑动的操作等。
示例性的,图2为本申请实施例提供的一种触控笔的触控薄膜的示意图。如图2中的a所示,触控笔靠近笔头位置处的前端围绕有触控薄膜,该触控薄膜可以为图2中的a所示的灰色区域对应的位置。如图2中的b所示,当展开该触控薄膜时,该触控薄膜可以为宽为W高为H的矩形区域。
通常情况下,在用户触发该触控薄膜后,触控笔可以实现对于触控薄膜中任意位置处操作数据的接收以及识别。例如,以翻页笔模式下,用户基于触控笔实现对于电子设备的翻页控制为例,对用户触发触控笔时的握持姿势进行示例说明。示例性的,图3为本申请实施例提供的一种握持姿势的示意图。可以理解的是,触控笔可以基于用户在图3中的a、图3中的b或图3中的c中任一种针对触控薄膜的握持姿势的识别,实现对于电子设备的翻页控制。
然而,由于用户在触控薄膜中触发时的握持姿势千差万别,使得触控笔很容易将用户的手掌或多个手指针对触摸薄膜的触发误认为翻页笔模式下的翻页操作,导致触控笔识别触发操作的准确率较低,进而影响用户基于触控笔控制电子设备的使用体验。
有鉴于此,本申请实施例提供一种基于触控笔的使用方法,触控笔靠近笔尖位置处围绕有触控薄膜,触控笔接收针对触控薄膜的第一操作;响应于第一操作,触控笔识别触控薄膜的第一区域中的操作,得到识别结果,使得触控笔可以基于第一区域处的操作的识别,避免用户触发到触控薄膜的其他位置时带来的误触,进而提高用户使用触控笔控制电子设备的准确性。其中,第一区域小于触控薄膜对应的区域。
示例性的,图4为本申请实施例提供的一种触控笔的硬件结构示意图。
其中,触控笔也可以称为手写笔、电容笔、或电感笔等。如图4所示,触控笔100可以具有处理器110。处理器110可以包括用于支持触控笔100的操作的存储和处理电路。 存储和处理电路可以包括诸如非易失性存储器的存储装置(例如,闪存存储器或构造为固态驱动器的其它电可编程只读存储器)、易失性存储器(例如,静态或动态随机存取存储器)等。处理器110中的处理电路可以用来控制触控笔100的操作。处理电路可以基于一个或多个微处理器、微控制器、数字信号处理器、基带处理器、电源管理单元、音频芯片、或专用集成电路等实现。
可以理解的是,处理器110中可以包括:触控集成电路板(integrated circuit,IC)、以及微控制单元(microcontroller unit,MCU)等模块。
其中,触控IC可以用于实现对于触控薄膜中的触发操作的获取;MCU用于确定触控笔所处的工作模式,以及基于工作模式对触发操作进行识别。
触控笔100中可以包括一个或多个传感器。例如,传感器可以包括压力传感器120。压力传感器120可以设置在触控笔100的书写端。当然,压力传感器120还可以设在触控笔100的笔杆20内,这样,触控笔100的笔尖一端受力后,笔尖的另一端移动将力作用到压力传感器120。在一种实施例中,处理器110根据压力传感器120检测到的压力大小可以调整触控笔100的笔尖书写时的线条粗细。
传感器也可以包括惯性传感器130。惯性传感器130可以包括三轴加速计和三轴陀螺仪传感器,和/或,用于测量触控笔100的运动的其它部件,例如,三-轴磁力计可以以九-轴惯性传感器的构造被包括在传感器中。本申请实施例中,该陀螺仪传感器可以用于检测触控笔100的笔尖朝向,例如陀螺仪传感器可以用于检测触控笔的笔尖朝向、以及用于检测触控笔的笔尖朝下等状态。
传感器也可以包括附加的传感器,诸如温度传感器、环境光传感器、基于光的接近传感器、接触传感器、磁传感器、压力传感器和/或其它传感器。
触控笔100中可以包括如发光二极管的状态指示器140和按钮150。状态指示器140用于向用户提示触控笔100的状态。按钮150可以包括机械按钮和非机械按钮,按钮150可以用于从用户收集按钮按压信息。
本申请实施例中,触控笔100中可以包括一个或多个电极160,其中一个电极160可以位于触控笔100的书写端处,其中一个电极160可以位于笔尖内,可以参照上述的相关描述。
触控笔100中可以包括感测电路170。感测电路170可感测位于电极160和与触控笔100交互的电容触摸传感器面板的驱动线之间的电容耦合。感测电路170可以包括用以接收来自电容触摸传感器面板的电容读数的放大器、用以生成解调信号的时钟、用以生成相移的解调信号的相移器、用以使用同相解调频率分量来解调电容读数的混频器、以及用以使用正交解调频率分量来解调电容读数的混频器等。混频器解调的结果可用于确定与电容成比例的振幅,使得触控笔100可以感测到与电容触摸传感器面板的接触。
可以理解的是,根据实际需求,在触控笔100可以包括麦克风、扬声器、音频发生器、振动器、相机、数据端口以及其它设备。用户可以通过利用这些设备提供命令来控制触控笔100和与触控笔100交互的电子设备200的操作,并且接收状态信息和其它输出。
处理器110可以用于运行触控笔100上的控制触控笔100的操作的软件。触控笔100的操作过程中,运行在处理器110上的软件可以处理传感器输入、按钮输入和来自其它装置的输入以监视触控笔100的移动和其它用户输入。在处理器110上运行的软件可以检测 用户命令并且可以与电子设备200通信。
为了支持触控笔100与电子设备200的无线通信,触控笔100可以包括无线模块。图4中以无线模块为蓝牙模块180为例进行说明。无线模块还可以为WI-FI热点模块、WI-FI点对点模块等。蓝牙模块180可以包括射频收发器,例如收发器。蓝牙模块180也可以包括一个或多个天线。收发器可以利用天线发射和/或接收无线信号,无线信号基于无线模块的类型,可以是蓝牙信号、无线局域网信号、诸如蜂窝电话信号的远程信号、近场通信信号或其它无线信号。
触控笔100还可以包括充电模块190,充电模块190可以支持触控笔100的充电,为触控笔100提供电力。
可以理解的是,本申请实施例中的电子设备200可以称为用户设备(user equipment,UE)、终端(terminal)等,例如,电子设备200可以为平板电脑(portable android device,PAD)、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备、车载设备或可穿戴设备,虚拟现实(virtual reality,VR)电子设备、增强现实(augmented reality,AR)电子设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等具有触控屏的移动终端或固定终端。本申请实施例中对电子设备的形态不做具体限定。
示例性的,图5为本申请实施例提供的一种电子设备的硬件结构示意图。
参照图5,电子设备200可以包括多个子系统,这些子系统协作以执行、协调或监控电子设备202的一个或多个操作或功能。电子设备200包括处理器210、输入表面220、协调引擎230、电源子系统240、电源连接器250、无线接口260和显示器270。
示例性的,协调引擎230可以用于与电子设备200的其他子系统进行通信和/或处理数据;与触控笔100通信和/或交易数据;测量和/或获得一个或多个模拟或数字传感器(诸如触摸传感器)的输出;测量和/或获得传感器节点阵列(诸如电容感测节点的阵列)的一个或多个传感器节点的输出;接收和定位来自触控笔100的尖端信号和环信号;基于尖端信号交叉区域和环形信号交叉区域的位置来定位触控笔100等。
处理器210可以用于接收来自触控笔的控制指令,该控制指令可以用于指示电子设备200执行响应的控制。本申请实施例中,当触控笔接收到用户在预设区域中的触发操作时,触控笔可以对该触发操作进行识别,并将该识别结果对应的控制指令发送至电子设备200,使得电子设备200可以执行该控制指令。例如,电子设备200可以根据该控制指令进行翻页控制。
一般而言,处理器210可被配置为执行、协调和/或管理电子设备200的功能。此类功能可以包括但不限于:与电子设备200的其他子系统通信和/或交易数据,与触控笔100通信和/或交易数据,通过无线接口进行数据通信和/或交易数据,通过有线接口进行数据通信和/或交易数据,促进通过无线(例如,电感式、谐振式等)或有线接口进行电力交换,接收一个或多个触笔的位置和角位置等。
处理器210可被实现为能够处理、接收或发送数据或指令的任何电子设备。例如,处理器可以是微处理器、中央处理单元、专用集成电路、现场可编程门阵列、数字信号处理 器、模拟电路、数字电路或这些设备的组合。处理器可以是单线程或多线程处理器。处理器可以是单核或多核处理器。
在使用期间,处理器210可被配置为访问存储有指令的存储器。该指令可被配置为使处理器执行、协调或监视电子设备200的一个或多个操作或功能。
存储在存储器中的指令可被配置为控制或协调电子设备200的其他部件的操作,该部件诸如但不限于:另一处理器、模拟或数字电路、易失性或非易失性存储器模块、显示器、扬声器、麦克风、旋转输入设备、按钮或其他物理输入设备、生物认证传感器和/或系统、力或触摸输入/输出部件、通信模块(诸如无线接口和/或电源连接器),和/或触觉反馈设备。
存储器还可存储可由触控笔或处理器使用的电子数据。例如,存储器可以存储电子数据或内容(诸如媒体文件、文档和应用程序)、设备设置和偏好、定时信号和控制信号或者用于各种模块的数据、数据结构或者数据库,与检测尖端信号和/或环信号相关的文件或者配置等等。存储器可被配置为任何类型的存储器。例如,存储器可被实现作为随机存取存储器、只读存储器、闪存存储器、可移动存储器、其他类型的存储元件或此类设备的组合。
本申请实施例中,存储器也可以与电子设备200连接过的触控笔、该触控笔对应的工作模式、以及触控笔在不同工作模式下的使用时长,使得电子设备可以在下次与触控笔建立连接时,将使用时长最长的工作模式发送至触控笔,避免触控笔进行工作模式的频繁切换。
电子设备200还包括电源子系统240。电源子系统240可包括电池或其它电源。电源子系统240可被配置为向电子设备200提供电力。电源子系统240还可耦接到电源连接器250。
电子设备200还包括无线接口260,以促进电子设备200与触控笔100之间的电子通信。本申请实施例中,电子设备200可被配置为经由低能量蓝牙通信接口,例如电子设备200可以基于无线接口260接收来自触控笔的识别结果。
在一些实施例中,电子设备200也利用近场通信接口与触控笔100通信。在其他示例中,通信接口有利于电子设备200与外部通信网络、设备或平台之间的电子通信。
无线接口260无论是电子设备200与触控笔100之间的通信接口还是另外的通信接口)可被实现为一个或多个无线接口、蓝牙接口、近场通信接口、磁性接口、通用串行总线接口、电感接口、谐振接口,电容耦合接口、Wi-Fi接口、TCP/IP接口、网络通信接口、光学接口、声学接口或任何传统的通信接口。
电子设备200还包括显示器270。显示器270可以位于输入表面220后方,或者可以与其集成一体。处理器210可以使用显示器270向用户呈现信息。在很多情况下,处理器210使用显示器270来呈现用户可以与之交互的界面。在许多情况下,用户操纵触控笔100与界面进行交互。本申请实施例中,显示器270可以显示经过触控笔控制后的界面。
对于本领域的技术人员而言将显而易见的是,上文关于电子设备200所呈现的具体细节中的一些细节可为实践特定的实施方案或其等同物所不需要的。类似地,其他电子设备可以包括更多数量的子系统、模块、部件等。在适当的情况下,一些子模块可以被实现为软件或硬件。因此,应当理解,上述描述并非旨在穷举或将本公开限制于本文的精确形式。相反,对于本领域的普通技术人员而言将显而易见的是,根据上述教导内容,许多修改和变型是可能的。
下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以独立实现,也可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。
本申请实施例中,对围绕于触控笔前端的触控薄膜进行示例说明。示例性的,图6为本申请实施例提供的另一种触控笔的触控薄膜的示意图。在图6中对应的实施例中,触控笔的笔身可以设置有至少一个切面601,该切面601靠近笔尖位置处设置有预设区域602(或也可以称为第一区域),该切面601位置处对应的预设区域602可以用于接收触控笔处于翻页笔模式下时用户针对预设区域602的触发操作。
其中,切面为没有弧度的平面,其沿着触控笔的笔身纵向延伸,切面可以指示触控笔的笔身位置,用户在使用触控笔时,可以仅仅通过握持便快速区分切面区域和非切面区域。
如图6中的a所示,触控笔可以将宽为W高为H的触控薄膜划分成6×6等尺寸的多个通道,并基于用户针对如图6中的b所示的切面处的1×4等尺寸的预设区域602的触发操作,对翻页笔模式下的触发操作进行识别,进而利用识别结果控制电子设备。
其中,该1×4等尺寸的预设区域602可以满足用户单指触发时手指的尺寸,可以理解的是这样可以避免多个手指在预设区域602中触发时带来的误触情况,提高操作识别的准确性。
可能的实现方式中,该切面位置处的预设区域602的尺寸也可以为1×3、1×5、或1×6等尺寸。
可以理解的是,该预设区域可以理解为设置在触控笔笔身的切面处的长条形区域。预设区域的尺寸可以与触控薄膜的划分所导致的网格的大小、切面的大小、以及手指的大小相关。例如,当该触控薄膜划分为12×12的网格时,该预设区域602的尺寸可以为2×6、2×7、或3×7等尺寸,本申请实施例中对此不做限定。
可以理解的是,对于触控薄膜6×6的尺寸划分,以及预设区域对应的1×4的尺寸仅作为一种示例,该示例并不能构成对本申请实施例的限定。例如,当该触控薄膜划分为5×5的多个通道时,该预设区域的尺寸也可以为1×3、1×4或1×5等;或者,当该触控薄膜划分为7×7的多个通道时,该预设区域的尺寸也可以为1×3、1×4、1×5、1×6、或1×7等,本申请实施例中对此不做限定。
可以理解的是,为了避免触控笔对于触控薄膜中任一位置处的触发操作的识别,使得识别用户的触发操作准确率低的情况,触控笔可以对触控薄膜中位于切面位置处预设区域的触发操作进行识别,并忽略触控薄膜中除预设区域以外的其他位置处的触发操作,降低误触情况,进而提高触控笔识别触发操作的准确性。
在图6对应的实施例的基础上,本申请实施例提供一种基于触控笔的使用方法。示例性的,图7为本申请实施例提供的一种基于触控笔的使用方法的流程示意图。在图7对应的实施例中,该基于触控笔的使用方法可以涉及电子设备以及触控笔,以电子设备可以为平板,触控笔中包括触控IC以及MCU为例进行示例说明,该示例并不能够成对本申请实施例的限定。
如图7所示,该基于触控笔的使用方法可以包括如下步骤:
S701、电子设备与触控笔建立通信连接。
其中,触控笔和电子设备之间,可以通过通信网络进行互联以实现无线信号的交互。 该通信网络可以但不限于为:WI-FI热点网络、WI-FI点对点(peer-to-peer,P2P)网络、蓝牙网络、zigbee网络或近场通信(near field communication,NFC)网络等近距离通信网络,本申请实施例中对此不做限定。
可以理解的是,本申请实施例中将以触控笔与电子设备之间基于蓝牙连接为例进行示例说明。
S702、电子设备开启翻页笔模式。
可以理解的是,由于触控笔开启时默认进入书写模式,因此可以通过用户针对电子设备的触发操作开启翻页笔模式。
示例性的,图8为本申请实施例提供的一种开启翻页笔模式的界面示意图。
当电子设备接收到用户打开设置功能的操作时,电子设备可以显示如图8中的a所示的界面。如图8中的a所示的界面,该界面中可以包括:用于搜索设置项的文本框801、用于查看账号信息的控件、用于设置WLAN的控件、用于设置蓝牙的控件、用于设置移动网络的控件、用于查看超级终端的控件等。其中,账号信息可以为1234567XXXX;该用户打开设置功能的操作可以为用户在电子设备的桌面中针对设置功能对应的控件的触发操作,或者也可以为用户在电子设备的多任务后台界面中针对设置功能对应的缩略图的触发操作,或者也可以为语音操作等,本申请实施例中对此不做限定。其中,该触发操作可以为点击操作、长按操作、滑动操作、语音操作或其他手势操作等,本申请实施例中对此不做限定。
如图8中的a所示的界面,当电子设备接收到用户在用于搜索设置项的文本框801中输入搜索“演示翻页笔模式”时,电子设备可以打开延时翻页笔模式对应的功能界面,并显示如图8中的b所示的界面。如图8中的b所示的界面中,该界面中可以包括:用于开启翻页笔模式的控件802,以及开启翻页笔对应的提示信息,该提示信息可以显示为:开启翻页笔模式后,可以利用触控笔控制电子设备实现翻页等功能。
在如图8中的b所示的界面中,在该翻页笔模式为关闭状态下,当电子设备接收到用户针对用于开启翻页笔模式的控件802的触发操作时,电子设备可以执行S703所示的步骤。
可能的实现方式中,触控笔也可以基于用户针对处于书写模式的触控笔的触发操作开启翻页笔模式。例如,触控笔可以基于用户针对触控薄膜的多次敲击操作,或者基于用户长时间按压或多次按压触控笔笔尖等操作等,使得触控笔由书写模式切换至翻页笔模式,进而触控笔执行S703所示的步骤。
S703、电子设备将用于指示触控笔切换至翻页笔模式的消息发送至触控笔。
示例性的,在电子设备与触控笔基于蓝牙实现通信连接的情况下,电子设备可以基于蓝牙等方式将该用于指示触控笔切换至翻页笔模式的消息发送至触控笔。适应的,触控笔可以接收到电子设备发送的用于指示触控笔切换至翻页笔模式的消息。
S704、当触控笔接收到用户针对触控薄膜的触发操作时,触控笔对触控薄膜中的预设区域处的触发操作进行识别,得到识别结果。
本申请实施例中,当触控笔接收到用户针对触控薄膜的触发操作时,触控笔可以基于下述两种方式对触控薄膜中的预设区域处的触发操作进识别。
一种实现中,在触控笔接收到来自电子设备的用于指示触控笔切换至翻页笔模式的消 息时,触控笔中的MCU可以将包含翻页笔模式的指示消息发送至触控IC,指示触控IC仅接收预设区域对应的触发操作。进一步的,触控IC可以将预设区域内接收到的触发操作对应的触发数据发送至MCU,由MCU进行识别,得到识别结果。其中,该触发数据可以包括:触发操作对应的位置、以及触发时的容值变化等。
其中,触控IC可以根据该用于指示翻页笔模式的指示消息,仅启动预设区域对应的部分通道进行触发操作的接收,使得触控IC可以接收预设区域对应的触发操作,得到该触发操作对应的触发数据。
可以理解的是,即使用户触发该触控薄膜中除预设区域以外的区域,触控IC也无法识别到用户的触发操作。
另一种实现中,触控IC可以正常接收用户针对触控薄膜任一位置处的触发操作,并将该触发操作对应的触发数据发送至MCU;MCU可以基于接收到的用于指示触控笔切换至翻页笔模式的消息,对预设区域处对应的触发数据进行识别,得到识别结果。或者也可以理解为MCU可以过滤掉触控薄膜中预设区域以外的触发数据。
其中,触控IC可以将触发数据以及该触发数据所对应的通道一并发送至MCU,使得MCU可以根据用于指示触控笔切换至翻页笔模式的消息,对预设区域所处通道处的触发数据进行识别,得到识别结果。
其中,该预设区域的含义可以参见图6对应的实施例中的描述,在此不再赘述。
S705、触控笔将用于指示识别结果的消息发送至电子设备。
示例性的,触控笔也可以基于蓝牙的方式将该用于指示识别结果的消息发送至电子设备。适应的,电子设备可以接收到触控笔发送的识别结果。
S706、电子设备基于识别结果控制电子设备。
其中,在翻页笔模式中,本申请实施例可以提供多种基于触控笔对于电子设备的控制方式。例如,用户可以基于针对触控笔的触发操作模拟激光笔,在电子设备中显示激光点(参见图9对应的实施例);或者,用户也可以基于用户针对触控笔的触发操作实现对于电子设备的翻页控制(参见图10对应的实施例)。
一种实现中,用户可以基于针对触控笔的触发操作模拟激光笔,在电子设备中显示激光点。
示例性的,图9为本申请实施例提供的一种基于触控笔模拟激光笔的场景示意图。
如图9中的a所示的场景,当触控笔在S704所示的步骤中接收到用户在预设区域中的按压操作(或长按操作)等时,触控笔可以将该按压操作对应的识别结果通过S705发送至电子设备,使得电子设备在S706所示的步骤中显示激光点901。用户可以利用触控笔模拟激光笔,在进行业务展示时提供可视化示范。
如图9中的a所示的电子设备显示的界面,该界面中可以为幻灯片的首页,该界面中可以包括:激光点901,用于指示页面为1的信息、显示为触控笔介绍的文字信息、显示为分享人:用户A的信息、以及用于指示时间为2022年7月7日的时间信息等。
可能的实现方式中,如图9中的b所示的场景,当用户结束针对触控笔中预设区域的按压操作等时,电子设备可以取消显示激光点。
可以理解的是,用户可以基于针对触控笔的预设区域的按压操作,模拟激光笔在电子设备中显示激光点,并且提高按压操作识别的准确性。
另一种实现中,用户也可以基于用户针对触控笔的触发操作实现对于电子设备的翻页控制。
示例性的,图10为本申请实施例提供的一种基于触控笔控制翻页的场景示意图。
如图10中的a所示的场景,当触控笔在S704所示的步骤中接收到用户在预设区域中的向远离笔尖位置处滑动等时,触控笔可以将该滑动操作对应的识别结果通过S705发送至电子设备,使得电子设备在S706所示的步骤中进行翻页,例如电子设备可以实现向下翻页,此时电子设备可以由图10中的a所示的电子设备显示的界面切换至图10中的b所示的电子设备显示的界面。
如图10中的b所示的场景,当触控笔在S704所示的步骤中接收到用户在预设区域中的向靠近笔尖位置处滑动等时,触控笔可以将该滑动操作对应的识别结果通过S705发送至电子设备,使得电子设备在S706所示的步骤中进行翻页,例如电子设备可以实现向上翻页,此时电子设备可以由图10中的b所示的电子设备显示的界面切换至图10中的a所示的电子设备显示的界面。其中,图10中的b所示的电子设备显示的界面可以包括:用于指示页面为2的信息、以及触控笔的定义介绍等。
可能的实现方式中,当用户将触控笔吸附到电子设备底部,或者用户在如图8中的b所示的界面中关闭演示翻页笔模式的开关,或者用户在触控笔中多次敲击触控薄膜等时,触控笔可以退出翻页笔模式。
可以理解的是,用户可以基于针对触控笔的预设区域的滑动操作,控制电子设备进行翻页,并且提高翻页识别的准确性。
可以理解的是,触控笔也可以根据笔尖的朝向对电子设备进行控制。如图10中的a所示的界面以及图10中的b所示的界面。在触控笔的笔尖朝上的情况下,当触控笔接收到用户在预设区域中远离笔尖位置处滑动时,触控笔可以控制电子设备向下翻页;或者,在触控笔的笔尖朝上的情况下,当触控笔接收到用户在预设区域中靠近笔尖位置处滑动时,触控笔可以控制电子设备向上翻页。其中,触控笔中可以设置有陀螺仪传感器等用于检测触控笔的朝向的传感器。
可能的实现方式中,在触控笔的笔尖朝下的情况下,当触控笔接收到用户在预设区域中靠近笔尖位置处滑动时,触控笔可以控制电子设备向下翻页;或者,在触控笔的笔尖朝下的情况下,当触控笔接收到用户在预设区域中远离笔尖位置处滑动时,触控笔可以控制电子设备向上翻页。
可以理解的是,不同触控笔的朝向、以及不同朝向状态下用于针对预设区域的不同触发操作,对于电子设备的控制仅作为一种示例,并不能构成对本申请实施例的限定。
基于图7对应的实施例中描述的内容,本申请实施例中的触控笔可以基于对触控薄膜中预设区域的操作的识别,避免用户触发到触控薄膜的其他位置时带来的误触,进而提高用户使用触控笔控制电子设备的准确性。
可能的实现方式中,当电子设备中显示文档内容、或者网页内容等时,触控笔也可以实现对于电子设备中的光标、或者对于文档内容以及网页内容等的连续翻页控制。
示例性的,图11为本申请实施例提供的另一种基于触控笔控制翻页的场景示意图。
如图11中的a所示的场景,电子设备可以显示文档内容,该文档内容中可以包括光标1101。电子设备显示的界面中还可以包括:用于指示完成文档编辑的控件、保存控件、撤 销键入控件、重复键入控件、用于退出文档的控件、用于向上翻页的控件、用于向下翻页的控件、以及用于指示当前显示的内容在文档中的位置的标识等。图11中的b所示的场景中电子设备显示的文档内容,可以与图11中的a所示的场景中电子设备显示的文档内容不同。
如图11中的a所示的场景,当触控笔在S704所示的步骤中接收到用户在预设区域中的向远离笔尖位置处滑动等时,触控笔可以将该滑动操作对应的识别结果通过S705发送至电子设备,使得电子设备在S706所示的步骤中或者控制光标连续向下移动。进一步的,当用户停止针对预设区域的操作时,电子设备可以结束针对光标的控制。例如,电子设备可以根据用户针对触控笔的滑动控制光标的移动,如电子设备可以在用户未对触控笔进行操作时显示如图11中的a所示的电子设备显示的界面,并在用户结束对触控笔的操作时如图11中的b所示的电子设备显示的界面。可以理解的是,光标的移动将会带动页面显示内容的变化。
可能的实现方式中,在触控笔接收到用户在预设区域中的向远离笔尖位置处滑动等的时,触控笔也可以控制电子设备显示的页面向下连续翻页。进一步的,当用户停止针对预设区域的操作时,电子设备可以结束翻页操作。
适应的,如图11中的b所示的场景,当触控笔在S704所示的步骤中接收到用户在预设区域中的向靠近笔尖位置处滑动等时,触控笔可以将该滑动操作对应的识别结果通过S705发送至电子设备,使得电子设备在S706所示的步骤中或者控制光标连续向上移动。进一步的,当用户停止针对预设区域的操作时,电子设备可以结束针对光标的控制。例如,电子设备可以根据用户针对触控笔的滑动控制光标的移动,如电子设备可以在用户未对触控笔进行操作时显示如图11中的b所示的电子设备显示的界面,并在用户结束对触控笔的操作时如图11中的a所示的电子设备显示的界面。
可能的实现方式中,在触控笔接收到用户在预设区域中靠近笔尖位置处滑动等时,触控笔也可以控制电子设备显示的页面向上连续翻页。进一步的,当用户停止针对预设区域的操作时,电子设备可以结束翻页操作。具体过程与触控笔控制电子设备中的光标移动的方式类似,在此不再赘述。
可能的实现方式中,触控笔也可以根据笔尖的朝向对电子设备进行控制。如图11中的a所示的界面以及图11中的b所示的界面。在触控笔的笔尖朝上的情况下,当触控笔接收到用户在预设区域中远离笔尖位置处滑动时,触控笔可以控制电子设备中显示的页面连续向下翻页(或者电子设备中显示的光标连续向下移动);或者,在触控笔的笔尖朝上的情况下,当触控笔接收到用户在预设区域中靠近笔尖位置处滑动时,触控笔可以控制电子设备中显示的页面连续向上翻页(或者电子设备中显示的光标连续向上移动)。
可能的实现方式中,在触控笔的笔尖朝下的情况下,当触控笔接收到用户在预设区域中靠近笔尖位置处滑动时,触控笔可以控制电子设备中显示的页面连续向下翻页(或者电子设备中显示的光标连续向下移动);或者,在触控笔的笔尖朝上的情况下,当触控笔接收到用户在预设区域中远离笔尖位置处滑动时,触控笔可以控制电子设备中显示的页面连续向上翻页(或者电子设备中显示的光标连续向上移动)。
基于此,触控笔可以基于对触控薄膜中预设区域的操作的识别以及触控笔的朝向的识别,避免用户触发到触控薄膜的其他位置时带来的误触,并且提高用户利用触控笔控制电 子设备的准确性。
可以理解的是,本申请实施例提供的界面仅作为一种示例,并不能构成对本申请实施例的限定。
上面结合图6-图11,对本申请实施例提供的方法进行了说明,下面对本申请实施例提供的执行上述方法的装置进行描述。如图12所示,图12为本申请实施例提供的一种基于触控笔的使用装置的结构示意图,该基于触控笔的使用装置可以是本申请实施例中的可穿戴设备,也可以是可穿戴设备内的芯片或芯片系统。
如图12所示,基于触控笔的使用装置1200可以用于通信设备、电路、硬件组件或者芯片中,该基于触控笔的使用装置包括:识别单元1201、以及处理单元1202。其中,识别单元1201用于支持基于触控笔的使用装置1200执行数据识别的步骤,处理单元1202用于支持基于触控笔的使用装置1200执行数据处理的步骤。
具体的,本申请实施例提供一种基于触控笔的使用装置1200,触控笔的部分或全部笔身围绕有触控薄膜,触控笔的笔身处设置有切面,触控薄膜中包括第一区域,第一区域小于触控薄膜覆盖的笔身区域且第一区域位于切面位置处,当处理单元1202接收到针对第一区域的第一操作时,识别单元1201用于,识别第一操作,得到识别结果,处理单元1202用于基于识别结果控制目标设备,目标设备与触控笔建立有通信连接。
可能的实现方式中,该基于触控笔的使用装置1200中也可以包括通信单元1203。具体的,通信单元1203用于支持基于触控笔的使用装置1200执行数据的发送以及数据的接收的步骤。其中,该通信单元1203可以是输入或者输出接口、管脚或者电路等。
可能的实施例中,基于触控笔的使用装置1200还可以包括:存储单元1204。处理单元1202、存储单元1204通过线路相连。存储单元1204可以包括一个或者多个存储器,存储器可以是一个或者多个设备、电路中用于存储程序或者数据的器件。存储单元1204可以独立存在,通过通信线路与基于触控笔的使用装置具有的处理单元1202相连。存储单元1204也可以和处理单元1202集成在一起。
存储单元1204可以存储可穿戴设备中的方法的计算机执行指令,以使处理单元1202执行上述实施例中的方法。存储单元1204可以是寄存器、缓存或者RAM等,存储单元1204可以和处理单元1202集成在一起。存储单元1204可以是只读存储器(read-only memory,ROM)或者可存储静态信息和指令的其他类型的静态存储设备,存储单元1204可以与处理单元1202相独立。
图13为本申请实施例提供的另一种触控笔的硬件结构示意图,如图13所示,该触控笔包括处理器1301,通信线路1304以及至少一个通信接口(图13中示例性的以通信接口1303为例进行说明)。
处理器1301可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。
通信线路1304可包括在上述组件之间传送信息的电路。
通信接口1303,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线局域网(wireless local area networks,WLAN)等。
可能的,该触控笔还可以包括存储器1302。
存储器1302可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路1304与处理器相连接。存储器也可以和处理器集成在一起。
其中,存储器1302用于存储执行本申请方案的计算机执行指令,并由处理器1301来控制执行。处理器1301用于执行存储器1302中存储的计算机执行指令,从而实现本申请实施例所提供的佩戴检测方法。
可能的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。
在具体实现中,作为一种实施例,处理器1301可以包括一个或多个CPU,例如图13中的CPU0和CPU1。
在具体实现中,作为一种实施例,触控笔可以包括多个处理器,例如图13中的处理器1301和处理器1305。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。例如,可用介质可以包括磁性介质(例如,软盘、硬盘或磁带)、光介质(例如,数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。
本申请实施例还提供一种系统,系统包括触控笔以及目标设备,目标设备与触控笔建立有通信连接,触控笔的部分或全部笔身围绕有触控薄膜,触控笔的笔身处设置有切面,触控薄膜中包括第一区域,第一区域小于触控薄膜覆盖的笔身区域且第一区域位于切面位置处,触控笔用于:当接收到针对第一区域的第一操作时,识别第一操作,得到识别结果;触控笔还用于:将识别结果发送至目标设备;目标设备用于:接收识别结果,并基于识别结果控制目标设备。
本申请实施例还提供了一种计算机可读存储介质。上述实施例中描述的方法可以全部 或部分地通过软件、硬件、固件或者其任意组合来实现。计算机可读介质可以包括计算机存储介质和通信介质,还可以包括任何可以将计算机程序从一个地方传送到另一个地方的介质。存储介质可以是可由计算机访问的任何目标介质。
作为一种可能的设计,计算机可读介质可以包括紧凑型光盘只读储存器(compact disc read-only memory,CD-ROM)、RAM、ROM、EEPROM或其它光盘存储器;计算机可读介质可以包括磁盘存储器或其它磁盘存储设备。而且,任何连接线也可以被适当地称为计算机可读介质。例如,如果使用同轴电缆,光纤电缆,双绞线,DSL或无线技术(如红外,无线电和微波)从网站,服务器或其它远程源传输软件,则同轴电缆,光纤电缆,双绞线,DSL或诸如红外,无线电和微波之类的无线技术包括在介质的定义中。如本文所使用的磁盘和光盘包括光盘(CD),激光盘,光盘,数字通用光盘(digital versatile disc,DVD),软盘和蓝光盘,其中磁盘通常以磁性方式再现数据,而光盘利用激光光学地再现数据。
上述的组合也应包括在计算机可读介质的范围内。以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (36)

  1. 一种系统,其特征在于,所述系统包括触控笔和与所述触控笔建立有通信连接的电子设备,
    所述触控笔的至少部分笔身设置有触控薄膜,所述触控薄膜包括第一区域和第二区域,所述第一区域小于所述触控薄膜对应的所述触控笔的笔身区域,所述第二区域为除了所述第一区域外的其他触控薄膜的区域;
    在第一模式下,所述触控笔用于在所述电子设备的触控屏中书写,所述系统能够在第一应用中对用户在所述触控薄膜的任意位置的第一操作进行响应;
    在第二模式下,所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应,其中,所述系统在所述第二应用中对用户在所述第二区域的第二操作不响应;
    所述第一模式不同于所述第二模式;
    所述第一操作不同于所述第二操作。
  2. 根据权利要求1所述的系统,其特征在于,所述第二操作为滑动操作。
  3. 根据权利要求2所述的系统,其特征在于,所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应包括:所述触控笔能够识别用户在所述第一区域的滑动操作,且所述电子设备的显示页面响应于所述滑动操作翻页。
  4. 根据权利要求3所述的系统,所述触控笔能够识别用户在所述第一区域的滑动操作,且所述电子设备的显示页面响应于所述滑动操作翻页包括:
    所述触控笔能够识别用户在所述第一区域向远离所述触控笔的笔尖位置处的第一滑动操作,且所述电子设备的显示页面响应于所述第一滑动操作向下翻页;
    以及,所述触控笔能够识别用户在所述第一区域向靠近所述触控笔的笔尖位置处的第二滑动操作,且所述电子设备的显示页面响应于所述第二滑动操作向上翻页。
  5. 根据权利要求1所述的系统,其特征在于,所述第二操作为长按操作。
  6. 根据权利要求5所述的系统,其特征在于,所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应包括:所述触控笔能够识别用户在所述第一区域的长按操作,且所述电子设备的显示页面响应于所述长按操作显示激光点。
  7. 根据权利要求6所述的系统,其特征在于,所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应还包括:所述触控笔能够识别用户所述第一区域的长按操作结束,且所述电子设备的显示页面响应于所述长按操作的结束取消显示激光点。
  8. 根据权利要求1-7中任一项所述的系统,其特征在于,所述第一操作包括敲击操作。
  9. 根据权利要求8所述的系统,其特征在于,所述系统能够在第一应用中对用户在所述触控薄膜的任意位置的第一操作进行响应包括:所述触控笔能够识别用户在所述触控薄膜任意位置的敲击操作,且由所述第一模式切换到所述第二模式。
  10. 根据权利要求1-7中任一项所述的系统,其特征在于,所述电子设备还用于显示第一界面,所述第一界面包括第一控件,所述第一控件用于接收用户的操作以指示所述系统处于所述第一模式或所述第二模式。
  11. 根据权利要求10所述的系统,其特征在于,所述第一界面还包括第一提示信 息,所述提示信息用于提示用户在所述第二模式下利用所述触控笔控制所述电子设备实现翻页。
  12. 根据权利要求1-11中任一项所述的系统,其特征在于,所述第一模式为书写模式,所述第二模式为翻页笔模式。
  13. 根据权利要求1-12中任一项所述的系统,其特征在于,所述第一应用是进行书写的应用;所述第二应用是放映幻灯片的应用。
  14. 根据权利要求1-13中任一项所述的系统,其特征在于,
    所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应包括:
    所述电子设备能够接收到所述触控笔发送的第一消息,所述第一消息用于指示用户的操作为第二操作的识别结果;
    所述电子设备能够基于所述识别结果控制所述电子设备的显示内容。
  15. 根据权利要求1-14中任一项所述的系统,其特征在于,所述触控笔中包括触控集成电路板IC以及微控制单元MCU;
    所述触控IC用于在所述第二模式下,向所述MCU发送第一触发数据,所述第一触发数据仅包含第一区域内接收到的触发操作对应的触发数据。
  16. 根据权利要求1-14中任一项所述的系统,其特征在于,所述触控笔中包括触控集成电路板IC以及微控制单元MCU;
    所述触控IC用于在所述第二模式下,向所述微控制单元MCU发送第二触发数据,所述第二触发数据包含所述触控薄膜任一位置处接收到的触发操作对应的触发数据,所述微控制单元MCU用于在所述第二模式下,仅对所述第一区域处对应的触发数据进行识别。
  17. 根据权利要求1-16中任一项所述的系统,其特征在于,所述触控笔的笔身处设置有切面,所述第一区域位于所述切面位置处。
  18. 根据权利要求17所述的系统,所述第一区域小于所述触控薄膜对应的笔身切面区域。
  19. 一种显示方法,所述方法应用于包括触控笔和电子设备的系统,所述触控笔的至少部分笔身设置有触控薄膜,所述触控薄膜包括第一区域和第二区域,所述第一区域小于所述触控薄膜对应的所述触控笔的笔身区域,所述第二区域为除了所述第一区域外的其他触控薄膜的区域;所述方法包括:
    所述电子设备和所述触控笔建立通信连接;
    在第一模式下,所述触控笔在所述电子设备的触控屏中书写,所述系统在第一应用中对用户在所述触控薄膜的任意位置的第一操作进行响应;
    在第二模式下,所述系统在第二应用中对用户在所述第一区域的第二操作进行响应,其中,所述系统在所述第二应用中对用户在所述第二区域的第二操作不响应;
    所述第一模式不同于所述第二模式;
    所述第一操作不同于所述第二操作。
  20. 根据权利要求19所述的方法,其特征在于,所述第二操作为滑动操作。
  21. 根据权利要求20所述的方法,其特征在于,所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应包括:所述触控笔能够识别用户在所述第一区 域的滑动操作,且所述电子设备的显示页面响应于所述滑动操作翻页。
  22. 根据权利要求21所述的方法,其特征在于,所述触控笔能够识别用户在所述第一区域的滑动操作,且所述电子设备的显示页面响应于所述滑动操作翻页包括:
    所述触控笔能够识别用户在所述第一区域向远离所述触控笔的笔尖位置处的第一滑动操作,且所述电子设备的显示页面响应于所述第一滑动操作向下翻页;
    以及,所述触控笔能够识别用户在所述第一区域向靠近所述触控笔的笔尖位置处的第二滑动操作,且所述电子设备的显示页面响应于所述第二滑动操作向上翻页。
  23. 根据权利要求19所述的方法,其特征在于,所述第二操作为长按操作。
  24. 根据权利要求23所述的方法,其特征在于,所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应包括:所述触控笔能够识别用户在所述第一区域的长按操作,且所述电子设备的显示页面响应于所述长按操作显示激光点。
  25. 根据权利要求24所述的方法,其特征在于,所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应还包括:所述触控笔能够识别用户所述第一区域的长按操作结束,且所述电子设备的显示页面响应于所述长按操作的结束取消显示激光点。
  26. 根据权利要求19-24中任一项所述的方法,其特征在于,所述第一操作包括敲击操作。
  27. 根据权利要求26所述的方法,其特征在于,所述系统能够在第一应用中对用户在所述触控薄膜的任意位置的第一操作进行响应包括:所述触控笔能够识别用户在所述触控薄膜任意位置的敲击操作,且由所述第一模式切换到所述第二模式。
  28. 根据权利要求19-26中任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备显示第一界面,所述第一界面包括第一控件,所述第一控件用于接收用户的操作以指示所述系统处于所述第一模式或所述第二模式。
  29. 根据权利要求28所述的方法,其特征在于,所述第一界面还包括第一提示信息,所述提示信息用于提示用户在所述第二模式下利用所述触控笔控制所述电子设备实现翻页。
  30. 根据权利要求19-29中任一项所述的方法,其特征在于,所述第一模式为书写模式,所述第二模式为翻页笔模式。
  31. 根据权利要求19-30中任一项所述的方法,其特征在于,所述第一应用是进行书写的应用;所述第二应用是放映幻灯片的应用。
  32. 根据权利要求19-31中任一项所述的方法,其特征在于,所述系统能够在第二应用中对用户在所述第一区域的第二操作进行响应包括:
    所述电子设备能够接收到所述触控笔发送的第一消息,所述第一消息用于指示用户的操作为第二操作的识别结果;
    所述电子设备能够基于所述识别结果控制所述电子设备的显示内容。
  33. 根据权利要求19-32中任一项所述的方法,其特征在于,所述触控笔中包括触控集成电路板IC以及微控制单元MCU;
    所述触控IC用于在所述第二模式下,向所述MCU发送第一触发数据,所述第一触发数据仅包含第一区域内接收到的触发操作对应的触发数据。
  34. 根据权利要求19-32中任一项所述的方法,其特征在于,所述触控笔中包括触控集成电路板IC以及微控制单元MCU;
    所述触控IC用于在所述第二模式下,向所述微控制单元MCU发送第二触发数据,所述第二触发数据包含所述触控薄膜任一位置处接收到的触发操作对应的触发数据,所述微控制单元MCU用于在所述第二模式下,仅对所述第一区域处对应的触发数据进行识别。
  35. 根据权利要求19-34中任一项所述的方法,其特征在于,所述触控笔的笔身处设置有切面,所述第一区域位于所述切面位置处。
  36. 根据权利要求35所述的方法,其特征在于,所述第一区域小于所述触控薄膜对应的笔身切面区域。
PCT/CN2023/111063 2022-08-09 2023-08-03 基于触控笔的使用方法和装置 WO2024032470A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202380025107.9A CN118786408A (zh) 2022-08-09 2023-08-03 基于触控笔的使用方法和装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210951471.5A CN116088698B (zh) 2022-08-09 2022-08-09 基于触控笔的使用方法和装置
CN202210951471.5 2022-08-09

Publications (2)

Publication Number Publication Date
WO2024032470A1 WO2024032470A1 (zh) 2024-02-15
WO2024032470A9 true WO2024032470A9 (zh) 2024-05-10

Family

ID=86208865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/111063 WO2024032470A1 (zh) 2022-08-09 2023-08-03 基于触控笔的使用方法和装置

Country Status (2)

Country Link
CN (3) CN116088698B (zh)
WO (1) WO2024032470A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116088698B (zh) * 2022-08-09 2024-07-02 荣耀终端有限公司 基于触控笔的使用方法和装置

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019417B (zh) * 2012-11-28 2016-09-14 沈阳工业大学 一种识别手指挠笔和敲笔动作的电子手写笔及其输入方法
US9261985B2 (en) * 2013-03-11 2016-02-16 Barnes & Noble College Booksellers, Llc Stylus-based touch-sensitive area for UI control of computing device
DE202013103197U1 (de) * 2013-07-17 2014-10-20 Stabilo International Gmbh Digitaler Stift
CN103941892A (zh) * 2014-04-29 2014-07-23 常熟思睿科电子有限公司 一种智能家电笔式控制终端及其工作方法
TWI564756B (zh) * 2016-02-05 2017-01-01 致伸科技股份有限公司 觸控筆
CN106227370A (zh) * 2016-07-15 2016-12-14 汤棋 一种智能触控笔
US10025403B2 (en) * 2016-07-25 2018-07-17 Microsoft Technology Licensing, Llc Stylus communication channels
JP6562007B2 (ja) * 2017-01-30 2019-08-21 京セラドキュメントソリューションズ株式会社 ペン型入力装置及び表示入力システム
US11340716B2 (en) * 2018-07-06 2022-05-24 Apple Inc. Touch-based input for stylus
TWI697814B (zh) * 2018-07-16 2020-07-01 禾瑞亞科技股份有限公司 功能模組化之觸控筆
CN109710093B (zh) * 2018-12-14 2021-11-30 掌阅科技股份有限公司 阅读操作方法、手写阅读设备和存储介质
CN113168242A (zh) * 2018-12-19 2021-07-23 深圳市柔宇科技股份有限公司 手写系统的控制方法和手写系统
CN110045843A (zh) * 2019-03-26 2019-07-23 维沃移动通信有限公司 电子笔、电子笔控制方法及终端设备
KR20200115889A (ko) * 2019-03-28 2020-10-08 삼성전자주식회사 전자 펜을 통한 사용자 입력에 기초하여 동작을 실행하는 전자 디바이스 및 그 동작 방법
CN110347269B (zh) * 2019-06-06 2022-02-15 华为技术有限公司 一种空鼠模式实现方法及相关设备
CN110865734B (zh) * 2019-11-13 2022-10-25 北京字节跳动网络技术有限公司 目标对象显示方法、装置、电子设备和计算机可读介质
CN112947773B (zh) * 2019-11-26 2024-01-26 京东方科技集团股份有限公司 触控笔及触控系统
CN113176831A (zh) * 2021-04-21 2021-07-27 维沃移动通信有限公司 触控笔、设置方法及设置装置
CN114461129B (zh) * 2021-07-02 2023-04-11 荣耀终端有限公司 笔迹绘制方法、装置、电子设备和可读存储介质
CN113970971B (zh) * 2021-09-10 2022-10-04 荣耀终端有限公司 基于触控笔的数据处理方法和装置
CN114185442A (zh) * 2021-11-30 2022-03-15 联想(北京)有限公司 触摸板模块及电子设备
CN114415850A (zh) * 2021-12-29 2022-04-29 联想(北京)有限公司 一种控制方法、装置、触控笔及计算机可读存储介质
CN116088698B (zh) * 2022-08-09 2024-07-02 荣耀终端有限公司 基于触控笔的使用方法和装置

Also Published As

Publication number Publication date
WO2024032470A1 (zh) 2024-02-15
CN117032485B (zh) 2024-07-23
CN117032485A (zh) 2023-11-10
CN116088698B (zh) 2024-07-02
CN116088698A (zh) 2023-05-09
CN118786408A (zh) 2024-10-15

Similar Documents

Publication Publication Date Title
CN113238703B (zh) 笔记生成方法和系统
KR102087392B1 (ko) 동작 방법 및 그 전자 장치
CN109478108B (zh) 触控笔通信信道
CN113821113B (zh) 电子设备和触控笔的交互方法、系统和电子设备
KR102521192B1 (ko) 전자 장치 및 그의 동작 방법
US20140351725A1 (en) Method and electronic device for operating object
CN116466867B (zh) 笔迹绘制方法、装置、电子设备和可读存储介质
WO2024032470A9 (zh) 基于触控笔的使用方法和装置
US20100295794A1 (en) Two Sided Slate Device
WO2021197487A1 (zh) 一种鼠标控制终端屏幕的方法、装置、鼠标及存储介质
TW201638728A (zh) 用以處理與移動相關的資料之計算裝置及方法
CN109074124B (zh) 数据处理的方法及移动设备
WO2020124422A1 (zh) 手写系统的控制方法和手写系统
US20190361536A1 (en) Using a wearable device to control characteristics of a digital pen
KR20200019426A (ko) 스마트 터치패드 인터페이스 방법 및 그 장치
KR102353919B1 (ko) 터치의 압력에 응답하여 지정된 동작을 수행하는 전자 장치 및 방법
KR20210123156A (ko) 전자 장치 및 비접촉 제스처를 이용한 전자 장치의 기능 운용 방법
JP3234590U (ja) スタイラスモジュール
US20140015747A1 (en) Method and apparatus for providing a function of a mouse using a terminal including a touch screen
US20170308191A1 (en) Interactive system and method thereof for controlling multiple remote devices
JP2015022410A (ja) マルチモード入力システムおよび情報処理システム
US11995264B2 (en) Electronic device and operation method of the electronic device for controlling activation of a touch input
KR20210123920A (ko) 에어 제스처에 의한 편집 기능을 제공하기 위한 전자 장치, 그 동작 방법 및 저장 매체
TWM614780U (zh) 具觸控功能的電子裝置
CN116107469A (zh) 功能模式切换方法、电子设备及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23851691

Country of ref document: EP

Kind code of ref document: A1