WO2024001424A1 - 一种手写笔用于演示控制的方法及手写笔 - Google Patents

一种手写笔用于演示控制的方法及手写笔 Download PDF

Info

Publication number
WO2024001424A1
WO2024001424A1 PCT/CN2023/088170 CN2023088170W WO2024001424A1 WO 2024001424 A1 WO2024001424 A1 WO 2024001424A1 CN 2023088170 W CN2023088170 W CN 2023088170W WO 2024001424 A1 WO2024001424 A1 WO 2024001424A1
Authority
WO
WIPO (PCT)
Prior art keywords
stylus
demonstration
mode
user
wireless communication
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2023/088170
Other languages
English (en)
French (fr)
Inventor
全瑞琳
王龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to EP23829614.9A priority Critical patent/EP4394563B1/en
Priority to US18/701,838 priority patent/US20250224822A1/en
Publication of WO2024001424A1 publication Critical patent/WO2024001424A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of two-dimensional [2D] relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of two-dimensional [2D] relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03545Pens or stylus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/038Indexing scheme relating to G06F3/038
    • G06F2203/0384Wireless input, i.e. hardware and software details of wireless interface arrangements for pointing devices

Definitions

  • the present application relates to the field of terminal technology, and in particular, to a method for using a stylus for demonstration control and a stylus.
  • Equipping an electronic device with a stylus can improve the experience of using the electronic device. Taking the electronic device as a tablet as an example, if a stylus is configured for the tablet, you can use the stylus to complete drawing, note-taking and other operations on the tablet, which provides greater flexibility.
  • the present application provides a method and stylus for demonstration control using a stylus.
  • the stylus can be used in demonstration scenarios to control electronic devices such as tablets and laptops to complete demonstration operations. This improves the adaptability of the stylus to scenarios.
  • embodiments of the present application provide a method for demonstrating control of a stylus, which is applied to the stylus.
  • the stylus can establish a wireless communication link, such as a Bluetooth link, a wifi link, etc., with the first device.
  • the wireless communication link can be used to transmit demonstration control commands, such as the first command.
  • the stylus pen When the stylus pen operates in the handwriting mode, the stylus pen receives the first signal sent by the first device. In response to the first signal, the stylus sends a second signal, and the first signal and the second signal are not sent over the wireless communication link.
  • the second signal may be used to indicate position information of the stylus pen performing a touch operation on the first device. This facilitates the first device to respond to the touch operation.
  • the stylus does not respond to the user's first operation, which is used to trigger the first device to perform a demonstration operation of displaying the cursor. That is to say, in the handwriting mode, the stylus pen can only perform touch operations on the screen of the first device, but cannot realize demonstration control of the first device.
  • the first event may trigger the stylus to switch the working mode from the handwriting mode to the presentation mode.
  • the stylus responds to the first operation and sends a first command to the first device through the wireless communication link to control the first device to display the cursor in the time period between the first moment and the second moment.
  • the operation starts at the third moment and ends at the fourth moment.
  • the third moment is earlier than the first moment, and the fourth moment is earlier than the second moment; after the second moment, the first device does not display the cursor. That is to say, in the demonstration mode, the stylus pen can control the first device to display the cursor for a period of time after detecting the user's first operation, so that the cursor can be displayed in a targeted manner.
  • the end time of the display cursor is later than the end time of the first operation, so that after the cursor points to the target content (such as a web link), time is left for the stylus to control the first device to click on the target content based on the user's operation. , marking and other demonstration operations.
  • the stylus does not respond to the first signal. That is, in demonstration mode, the stylus will not continue to send information related to touch operations to the first device. The first device is unable to respond to the touch operation.
  • the transmission distance of the second signal is smaller than the transmission distance of the first command.
  • the stylus in the demonstration mode, can control the first device at a long distance from the first device; in the handwriting mode, the stylus can only send the second signal to the second device when it is close to the first device.
  • the stylus can realize different interactions with the first device in two working modes: handwriting mode and demonstration mode.
  • handwriting mode the demonstration control of the first device can be realized, so as to control the first device to display the cursor in a more reasonable manner.
  • the stylus pen responds to the first operation and sends the first command to the first device through the wireless communication link, including: when the pen tip of the stylus pen is oriented to the first orientation ( (such as facing down), after the stylus pen detects the user's switching operation of the stylus pen, the stylus pen responds to the first operation and sends the first command to the first device through the wireless communication link.
  • This switching operation is used to switch the working mode of the stylus.
  • the stylus pen can achieve demonstration control of the first device only after the tip of the stylus pen faces a specific direction and the user's switching operation is detected. That is, the first event includes the tip of the stylus pen pointing upward and the user's switching operation of the stylus pen being detected. In this way, it is possible to switch to the demonstration mode more accurately and avoid switching to the demonstration mode when the user performs the switching operation incorrectly.
  • the above-mentioned switching operations may be gestures such as single click, multi-click, long press, and slide on the non-key area of the stylus, or may be click, double-click, long press, and other operations on the keys.
  • the keys may be physical keys or virtual keys. The embodiments of the present application do not specifically limit this.
  • the stylus pen responds to the first operation and sends a first command to the first device through the wireless communication link, including: the stylus pen detects the user's keystrokes on the stylus pen.
  • the stylus pen After a long press operation (which can also be understood as a switching operation), and within the time period during which the long press operation is performed and the movement trajectory of the pen tip of the stylus meets the preset trajectory conditions, the stylus pen responds to the first operation and communicates through the wireless communication link The route sends a first command to the first device.
  • the stylus pen can realize the first touch operation after detecting the user's long press operation on the button of the stylus and detecting that the movement trajectory of the pen tip during the long press operation satisfies the preset trajectory conditions.
  • the stylus In order to switch to the demonstration mode more accurately, the stylus needs to detect the user's switching operation on the preset area of the stylus (such as the front end, middle end, and back end) before it can demonstrate the first device. control.
  • the preset area of the stylus such as the front end, middle end, and back end
  • the stylus responds to the first operation and sends the first command to the first device through the wireless communication link, including: the stylus responds to the user's switching operation and plays a prompt voice and/or vibrate to prompt the user to confirm switching to presentation mode.
  • the stylus pen detects the user's second operation, the stylus pen responds to the first operation and sends a first command to the first device through the wireless communication link.
  • the second operation is used to instruct the user to confirm switching to the demonstration mode.
  • the second operation may be a double-click operation, a long-press operation, etc.
  • the stylus after the stylus detects the switching operation, it further needs to prompt the user to confirm the switch to the demonstration mode, and only after the user confirms the switch to the demonstration mode, the stylus can realize the control of the first device.
  • Demo control That is, the first event includes detecting a switching operation, prompting the user to confirm switching to the demonstration mode, and detecting the user's confirmation operation. In this way, the switching of working modes can be closely matched with the user's needs. lattice match.
  • the stylus responds to the first operation and sends the first command to the first device through the wireless communication link, including: the stylus responds to the user's switching operation and sends the first command to the first device through the wireless communication link.
  • Send first notification is used to notify the second device to prompt the user to confirm switching to the demonstration mode.
  • the second device may display the first prompt information in a pop-up window, broadcast the first prompt information by voice, and/or vibrate, thereby prompting the user to confirm turning on the demonstration mode.
  • the first prompt information includes "Click to turn on the demonstration mode", thereby prompting for confirmation to turn on the demonstration mode.
  • the first device may send a first message to the stylus, where the first message instructs the user to confirm switching to the demonstration mode.
  • the stylus pen After the stylus pen receives the first message from the first device, the stylus pen responds to the first operation and sends the first command to the first device through the wireless communication link.
  • the stylus after the stylus detects the switching operation, it further needs to notify the first device to prompt the user to confirm switching to the demonstration mode, and the stylus needs to confirm the switching to the demonstration mode before the stylus can realize the switching operation.
  • the method further includes: the stylus receives a second message from the first device, and the second message is generated by the first device based on Sent by the user switching stylus mode.
  • the second message is used to instruct the stylus to switch to presentation mode.
  • the first event includes the stylus pen receiving the second message.
  • the method further includes: responding to the third operation, the stylus sends a second command to the first device through the wireless communication link to control the first device to change the display of the cursor. position; wherein the third operation is performed in the time period between the third moment and the fourth moment.
  • the stylus pen in addition to controlling the first device to display the cursor within a certain period of time, can further control the first device to move the cursor, so that the cursor indicates the target content displayed by the first device. So that the first device can perform operations such as clicking and marking the target content.
  • the above method after the first event further includes: after the second event, the stylus pen responds to the first signal and sends a second signal, and the stylus pen does not respond to the first operation.
  • the stylus can switch the working mode of the stylus from the demonstration mode back to the handwriting mode in response to the second event. This enables flexible switching of working modes.
  • embodiments of the present application provide a method for demonstrating control of a handwriting pen, which is applied to the handwriting pen.
  • a wireless communication link is established between the stylus and the first device.
  • the stylus receives the first signal sent by the first device, responds to the first signal, and sends the second signal.
  • the stylus does not respond to the user's air mouse operation, and the first signal and the second signal are not sent through the wireless communication link.
  • the stylus responds to the air mouse operation and sends a control command to the first device through the wireless communication link to control the first device to implement one of the functions of calling up the cursor, moving the cursor, clicking, and turning pages.
  • the air mouse operation may include the first operation and the third operation in the first aspect, and correspondingly, the control command may include the first command and the second command.
  • the air mouse operation may also include the fourth gesture and the twelfth operation in the embodiment, which are used to trigger the stylus to control the first device to implement the clicking function.
  • the air mouse operation may also include an upward sliding gesture, a sliding downward gesture, or a thirteenth operation or a fourteenth operation, which are used to trigger the stylus to control the first device to realize the page turning function. That is, after switching to presentation mode, handwriting The pen can control the first device to perform various demonstration operations. However, after the first event, the stylus does not respond to the first signal, and the transmission distance of the second signal is less than the transmission distance of the control command.
  • embodiments of the present application further provide a stylus, including: a memory and one or more processors, the memory being coupled to the processor; wherein computer program code is stored in the memory, and the The computer program code includes computer instructions.
  • the stylus pen When the computer instructions are executed by the processor, the stylus pen performs the method of the first aspect, the second aspect and any possible design method thereof.
  • embodiments of the present application also provide a computer-readable storage medium, including computer instructions.
  • the stylus pen executes the first aspect, the second aspect, and the following. Any possible design method described.
  • embodiments of the present application further provide a chip system, which is applied to a stylus including a processor and a memory.
  • the chip system includes one or more interface circuits and one or more processors, so The interface circuit and the processor are interconnected through lines.
  • the interface circuit is used to receive signals from the memory of the stylus and send the signals to the processor.
  • the signals include computer data stored in the memory. Instructions, when the processor executes the computer instructions, cause the stylus to execute the method described in the first aspect, the second aspect and any possible design manner thereof.
  • the present application provides a computer program product.
  • the computer program product When the computer program product is run on a computer, it causes the computer to execute the steps described in the first aspect, the second aspect, and any possible design manner thereof. method.
  • Figure 1A is one of the schematic diagrams of a demonstration scene provided by an embodiment of the present application.
  • Figure 1B is the second schematic diagram of the demonstration scene provided by the embodiment of the present application.
  • Figure 1C is the third schematic diagram of the demonstration scene provided by the embodiment of the present application.
  • Figure 2A is a schematic diagram of the hardware structure of a stylus provided by an embodiment of the present application.
  • Figure 2B is a schematic diagram of the touch area division of a stylus provided by an embodiment of the present application.
  • Figure 2C is a schematic diagram of the tip orientation of a stylus provided by an embodiment of the present application.
  • Figure 2D is a schematic diagram of charging a stylus provided by an embodiment of the present application.
  • Figure 3 is a schematic flowchart of a method for demonstrating control of a stylus provided by an embodiment of the present application
  • Figure 4 is one of the schematic diagrams of the demonstration mode of turning on the stylus provided by the embodiment of the present application.
  • Figure 5A is the second schematic diagram of the demonstration mode of turning on the stylus according to the embodiment of the present application.
  • Figure 5B is the third schematic diagram of the demonstration mode of turning on the stylus according to the embodiment of the present application.
  • Figure 5C is the fourth schematic diagram of the demonstration mode of turning on the stylus provided by the embodiment of the present application.
  • Figure 6 is a fifth schematic diagram of the demonstration mode of turning on the stylus according to the embodiment of the present application.
  • FIG. 7A is a schematic diagram of the sixth demonstration mode of turning on the stylus according to the embodiment of the present application.
  • Figure 7B is the seventh schematic diagram of the demonstration mode of turning on the stylus according to the embodiment of the present application.
  • Figure 7C is the eighth schematic diagram of the demonstration mode of turning on the stylus according to the embodiment of the present application.
  • Figure 8 is a ninth schematic diagram of the demonstration mode of turning on the stylus according to the embodiment of the present application.
  • Figure 9 is a tenth schematic diagram of the demonstration mode of turning on the stylus according to the embodiment of the present application.
  • Figure 10 is an eleventh schematic diagram of the demonstration mode of turning on the stylus provided by the embodiment of the present application.
  • FIG. 11A is one of the schematic diagrams of a stylus controlling a first device to display a cursor according to an embodiment of the present application
  • Figure 11B is the second schematic diagram of the stylus controlling the first device to display the cursor provided by the embodiment of the present application.
  • Figure 12 is a schematic diagram of the stylus controlling the first device to move the cursor provided by the embodiment of the present application;
  • Figure 13A is one of the schematic diagrams of a stylus controlling a first device to perform a clicking operation provided by an embodiment of the present application;
  • Figure 13B is the second schematic diagram of the stylus controlling the first device to perform a clicking operation provided by the embodiment of the present application;
  • Figure 14 is a schematic diagram of a stylus pen controlling a first device to perform a page turning operation provided by an embodiment of the present application
  • Figure 15 is one of the schematic diagrams of exiting the stylus demonstration mode provided by an embodiment of the present application.
  • Figure 16 is a second schematic diagram of exiting the stylus demonstration mode provided by an embodiment of the present application.
  • Figure 17 is the third schematic diagram of exiting the stylus demonstration mode provided by the embodiment of the present application.
  • Figure 18A is one of the schematic diagrams of the operation prompts of the stylus used for demonstration control provided by the embodiment of the present application;
  • Figure 18B is the second schematic diagram of the operation prompts of the stylus used for demonstration control provided by the embodiment of the present application.
  • Figure 19 is a schematic structural diagram of a chip system provided by an embodiment of the present application.
  • embodiments of the present application provide a method for controlling a stylus for demonstration, which can be applied to the demonstration system provided by the embodiments of the present application.
  • Demonstration system includes first device and stylus.
  • the first device in the demonstration system is used to provide content that needs to be demonstrated to others (which may be referred to as demonstration content). For example, if the demonstration is performed on a tablet, the tablet is the first device. Or, if you are demonstrating on a laptop, the laptop is the first device.
  • the stylus in the demonstration system is used to control the first device to perform demonstration operations on the demonstration content, such as controlling the first device to indicate, click on target content in the demonstration content, or controlling the first device to perform page turning operations, etc.
  • the stylus can be matched with a second device such as a mobile phone or a tablet and is used for touch.
  • a wireless connection can be established between the above-mentioned first device and the stylus through short-range communication technologies such as Bluetooth, wireless fidelity (Wi-Fi), and Near Field Communication (NFC).
  • short-range communication technologies such as Bluetooth, wireless fidelity (Wi-Fi), and Near Field Communication (NFC).
  • Wi-Fi wireless fidelity
  • NFC Near Field Communication
  • a wireless connection is established between the first device and the stylus, so that the control instructions of the stylus can be sent to the first device, thereby realizing the demonstration control of the demonstration content in the first device.
  • the first device can be a mobile phone, a tablet, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, personal digital assistant (personal digital assistant) , PDAs), augmented reality (AR) ⁇ virtual reality (VR) devices and other devices that can support demonstrations.
  • UMPC ultra-mobile personal computer
  • UMPC ultra-mobile personal computer
  • netbook as well as a cellular phone, personal digital assistant (personal digital assistant) , PDAs), augmented reality (AR) ⁇ virtual reality (VR) devices and other devices that can support demonstrations.
  • PDAs personal digital assistant
  • AR augmented reality
  • VR virtual reality
  • the presentation content in the first device may be a presentation (such as PPT), a text document (such as word), a video, etc., which is not specifically limited in the embodiment of the present application.
  • this application plan will be explained using an example in which the presentation content is a presentation.
  • scenario 1 in some scenarios (can be recorded as scenario 1), such as group discussions at work or study, it is necessary to demonstrate on the tablet 100 .
  • scenario 1 the first device and the second device are the same device, both are tablets 100.
  • the stylus 101 provided with the tablet 100 can be used to control the tablet 100 to complete the demonstration operation.
  • the presentation content on the tablet 100 needs to be projected onto the projector 102 for presentation.
  • the screen projection device such as the projector 102
  • the screen projection device is only used for display, but actually provides the demonstration.
  • the content is for tablets, laptops and other devices. Therefore, when performing a screen projection demonstration, the first device is not a screen projection device (such as the projector 102), but a tablet, notebook or other device (such as the tablet 100) that projects the demonstration content to the screen projection device (such as the projector 102). ). That is to say, in scenario 2, the first device and the second device are the same device, both are tablets 100, and the stylus 101 provided with the tablet 100 can be used to control the tablet 100 to complete the demonstration operation.
  • the content displayed on the desktop of the tablet needs to be shared with remotely connected devices.
  • the cursor may disappear.
  • the first device and the second device are the same, and both are tablets.
  • the first device is a notebook 103, which is different from the second device, namely a tablet 100.
  • the stylus 101 provided with the tablet 100 can be used to control the notebook 103 to complete the demonstration operation.
  • the first device can receive the control instruction of the stylus, and respond to the control According to the instruction, the first device can perform corresponding demonstration operations on the demonstration content, such as instructing, clicking on the target content in the demonstration content, or performing page turning operations. Therefore, the stylus can also be used as a laser pointer for demonstration control, which improves the stylus' adaptability scenarios.
  • the stylus may include a processor 210, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, and an antenna 2 , mobile communication module 250, wireless communication module 260, sensor module 280, button 290, motor 291, indicator 292, etc.
  • a processor 210 an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, and an antenna 2
  • a processor 210 may include a processor 210, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, and an antenna 2 , mobile communication module 250, wireless communication module 260, sensor module 280, button 290, motor 291, indicator 292, etc.
  • USB universal serial bus
  • the structure illustrated in this embodiment does not constitute a specific limitation on the stylus.
  • the stylus may include more or fewer components than shown, or some components may be combined, or some components may be separated, or may be arranged differently.
  • the components illustrated may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 210 may include one or more processing units.
  • the processor 210 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU) wait.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • different processing units can be independent Standalone devices can also be integrated into one or more processors.
  • the processor 210 may also be provided with a memory for storing instructions and data.
  • the memory in processor 210 may be cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 210 . If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 210 is reduced, thus improving the efficiency of the system.
  • the processor 210 can identify the gesture type based on gesture information such as the touch duration, number of touches, and touch location of the gesture performed by the user with the stylus.
  • the gesture type may include a long press gesture, a click gesture, a double-click gesture, Three-tap gesture, slide-up gesture, slide-down gesture, etc.
  • the processor 210 may also generate corresponding control commands according to the gesture type and/or touch position to control the first device to complete the corresponding demonstration operation. For example, different gestures on the same touch area may correspond to different control commands. Or, the same gesture for different touch areas can correspond to different touch commands.
  • the stylus pen can be divided from the front end to the end into three touch areas: a first area, a second area, and a third area.
  • the processor 210 can determine the touch area to which the touch position belongs, and then generate a corresponding control command according to the touch area and the gesture type. For example, after determining a double-click gesture on the first area, the processor 210 may generate a control command for page turning up, and after determining a double-click gesture on the third area, may generate a control command for page turning down.
  • touch area of the stylus shown in FIG. 2B is only exemplary. In actual implementation, a larger or smaller number of touch areas may be divided, which is not specifically limited in this embodiment of the present application.
  • the processor 210 can identify the operation type based on the operation information such as the pressing duration and number of presses of the keys on the stylus pen.
  • the operation types include long press operation, single click operation, double click operation, triple click operation, etc. Click operations, etc.
  • the processor 210 may also generate corresponding control commands according to the operation type and/or the key for the operation to control the first device to complete the corresponding demonstration operation. For example, different operations on the same key can correspond to different control commands. Alternatively, the same operations on different keys can also correspond to different control commands.
  • the operation performed on the keys on the stylus may be a pressing of a single key, or a combination of pressing multiple keys simultaneously or successively, which is not specifically limited in the embodiment of the present application.
  • the following description will mainly take the operation of pressing a single button as an example.
  • the operations and gestures of the stylus include long press, single click, double click or triple click, etc., but the operation refers to pressing the stylus button, and the gesture refers to the pressing of the stylus button. Touch in the non-key area.
  • a time threshold can be set to distinguish between long press, single click, double click or triple click. For example, if the duration of a press or touch exceeds the first preset duration (such as 2000 milliseconds), it can be recognized as a long press.
  • a click can be a press on a button or a touch on a non-key area.
  • the two clicks can be recognized as the same operation or gesture. For example, if the time interval between two consecutive presses of the stylus pen by the user does not exceed 100 milliseconds, then the two presses can be recognized as a double-click operation. For another example, if the user presses a button on the stylus pen three times in a row, and the time interval between any two adjacent times does not exceed 100 milliseconds, then the three presses can be recognized as a three-click operation.
  • the processor 210 can calculate the displacement of the cursor in the first device based on the displacement generated by the user's operation of the stylus pen tip, and generate a cursor movement control command to control the first device to move the cursor.
  • the processor 210 may generate corresponding control commands according to the orientation of the stylus tip to control the first device to complete the corresponding demonstration operation.
  • the processor 210 may also combine multiple pieces of information from gestures, operations, displacement of the stylus tip, and orientation of the stylus tip to obtain corresponding control commands.
  • the processor 210 may further generate a control command for cursor movement based on the recognition that the gesture type or operation type is the preset type 1 (such as the long press type), and further combined with the displacement generated by the stylus tip. That is to say, when the gesture type or operation type is preset type 1 (such as long press type), the control command for cursor movement will be generated based on the displacement of the stylus tip.
  • the processor 210 may further combine the gesture type or operation type to generate a corresponding control command based on recognizing that the orientation of the stylus tip is a preset orientation (eg, upward).
  • the processor 210 may also be configured according to one or more of gestures, operations, displacement of the stylus tip, orientation of the stylus tip, commands sent from the first device, and commands sent from the second device. to control the stylus to turn on or exit presentation mode.
  • the processor 210 can execute the calculation process in the aforementioned embodiment and generate corresponding control commands to control the first device to complete the corresponding demonstration operation. After the stylus exits the presentation mode, it cannot be controlled by the user and can only complete interaction, such as drawing, by touching the screen of the first device.
  • Internal memory 221 may be used to store computer executable program code, which includes instructions.
  • the processor 210 executes instructions stored in the internal memory 221 to perform various functions of the stylus and data processing.
  • the internal memory 221 may include a program storage area and a data storage area.
  • the stored program area can store an operating system, at least one application program required for a function (such as a sound playback function, an image playback function, etc.).
  • the storage data area can store data created during the use of the stylus (such as audio data, phone book, etc.).
  • the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
  • the internal memory 221 stores executable program code that implements a method for demonstration control by a stylus, so as to realize demonstration control of the first device by the stylus.
  • the charge management module 240 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 240 may receive charging input from the wired charger through the USB interface 230 .
  • the charge management module 240 may receive wireless charging input through the wireless charging coil of the stylus. Specific implementations of stylus wireless charging include the following:
  • Implementation 1 The stylus is adsorbed on the second device for charging.
  • the second device is the tablet 100 shown in (a) in Figure 2D
  • the stylus is the stylus 101 shown in (a) in Figure 2D
  • the stylus 101 is adsorbed on the tablet 100, then it can be achieved Charging the Stylus 101.
  • Implementation 2 The stylus is adsorbed on the charging stick, and the charging stick is connected to the power supply, thereby charging the stylus.
  • the charging rod is the charging rod 201 shown in (b) in Figure 2D
  • the stylus is the stylus 101 shown in (b) in Figure 2D.
  • the stylus 101 is adsorbed on the charging rod 201, and then passes through
  • the data cable 202 is connected to a power source, such as the USB interface 230 of the tablet 100 as shown in (b) of FIG. 2D , thereby charging the stylus 101 .
  • Implementation three Insert the stylus into the storage hole of the keyboard to charge.
  • the keyboard is the keyboard 204 shown in (c) in Figure 2D
  • the stylus is the stylus 101 shown in (c) in Figure 2D.
  • a storage hole 205 is provided at the rotation axis of the keyboard 204, and the stylus pen 101 is inserted into the storage hole 205, then the stylus 101 can be charged.
  • the charging management module 240 charges the battery 242, it can also provide power to the stylus through the power management module 241.
  • the power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210.
  • the power management module 241 receives input from the battery 242 and/or the charging management module 240 to provide power to the processor 210, the internal memory 221, the wireless communication module 260, and the like.
  • the wireless communication function of the stylus can be realized through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor and the baseband processor.
  • the wireless communication module 260 of the stylus provides short-range wireless communication functions such as Bluetooth, Wi-Fi, and NFC, so that the stylus can establish short-range communication with the first device and complete the transmission of control instructions.
  • the sensor module 280 can collect one or more of the following information: gesture information of gestures performed by the user with the stylus (such as touch location, touch duration, number of touches, etc.); operation information of operations performed by the user on the keys on the stylus. (such as the key pressed, the duration of the press, the number of presses, etc.); the acceleration, angular velocity and/or displacement of the stylus; the orientation of the stylus; and, the movement trajectory of the stylus.
  • the sensor module 280 may include at least one sensor that can directly or indirectly collect one or more of the above information, which is not specifically limited in the embodiment of the present application.
  • an acceleration sensor can directly collect acceleration. At the same time, integrating the acceleration once can obtain the velocity, and integrating the velocity once again can obtain the displacement. In other words, the acceleration sensor can also indirectly collect the displacement.
  • sensor module 280 may include pressure sensor 280A.
  • the pressure sensor 280A is used to sense pressure signals and can convert the pressure signals into electrical signals.
  • pressure sensors 280A such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.
  • the stylus can calculate the gesture information (such as touch position, touch duration, number of touches, etc.) or operation information (such as pressing) based on the signal detected by the pressure sensor 280A. Targeted keys, press duration, number of presses, etc.).
  • sensor module 280 may include gyro sensor 280B.
  • Gyroscope sensor 280B can collect the angular velocity of the stylus around three axes (ie, x, y, and z axes).
  • sensor module 280 may include acceleration sensor 280E.
  • the acceleration sensor 280E can detect the acceleration of the stylus in various directions (generally three axes).
  • the combination of the gyro sensor 280B and the acceleration sensor 280E can be used to determine the characteristics of the position change of the stylus in space, such as the displacement of the stylus, the orientation of the stylus, etc.
  • the button 290 may be a mechanical button or a touch button.
  • the stylus can receive key input and generate key signal input related to user settings and function control of the stylus.
  • key input can include long press, single click, double click, triple click and other inputs.
  • Different key inputs can correspond to different control instructions and are used to control the first device to perform different demonstration operations.
  • the motor 291 can generate vibration prompts. Motor 291 can be used for touch vibration feedback. The motor 291 can correspond to different vibration feedback effects for touch gestures acting on different areas of the stylus or for different touch gestures acting on the same area.
  • the indicator 292 may be an indicator light and may be used to indicate charging status, changes in power, etc.
  • the method for controlling a stylus for demonstration mainly includes three processes: Process 1, turning on the demonstration mode of the stylus (which can also be called demonstration page-turning pen mode, page-turning pen mode, empty mouse mode).
  • Process 2 Use the stylus pen to control the first device to perform the demonstration operation.
  • process 3 exit the presentation mode of the stylus.
  • Process 1 Turn on the demonstration mode of the stylus.
  • the stylus operating system such as the lightweight IoT operating system (LiteOS)
  • LiteOS lightweight IoT operating system
  • handwriting mode presentation mode
  • interaction can only be completed by contacting the tip of the stylus with the second device, for example, to complete drawing, writing, etc.
  • the second device can send the first signal periodically (such as 60HZ, 90HZ, 120HZ, etc.).
  • the first signal is a square wave signal or a baseband signal.
  • the first signal is used to trigger the stylus to send the position information and pressure information of the touch operation of the stylus on the screen of the second device to the second device.
  • the transmission distance of the first signal is usually smaller than a preset distance, such as 20mm, 30mm, etc.
  • the first signal from the second device can be received.
  • the stylus can send a second signal.
  • the second signal is also a square wave signal or a baseband signal.
  • the second signal may be used to indicate position information of the touch operation.
  • neither the above-mentioned first signal nor the second signal is transmitted through a wireless communication link (such as a Bluetooth link, a wifi link, etc.).
  • the stylus in response to the first signal, can also send a third signal.
  • the third signal is used to indicate pressure information of the touch operation. Different from the above-mentioned second signal, the third signal is usually transmitted through a wireless communication link. That is, a wireless communication link needs to be established between the second device and the stylus. In this way, the second device can obtain the second signal and the third signal from the stylus, thereby determining the position information and pressure information, and then respond to the touch operation.
  • the stylus cannot send control commands to the first device through the Bluetooth communication link to control the first device to perform the demonstration operation.
  • the stylus Only in the demonstration mode can the stylus generate a control command and send the control command to the first device through the wireless communication link to control the first device to perform the demonstration operation.
  • the stylus can be used as a laser pointer for demonstration control.
  • a flag bit is recorded in the operating system of the stylus.
  • the value of the flag bit is a first value (for example, the first value is 0)
  • the value of the flag bit is the second value (for example, the second value is 1)
  • turning on the demonstration mode of the stylus may be to modify the value of the mark bit to the second value.
  • the stylus may have to touch the first device at a longer distance from the first device.
  • Line control in handwriting mode, the stylus usually only implements touch control when it is close to the second device, for example, sending a second signal to the second device. Then, the transmission distance of the control command is usually greater than the transmission distance of the second signal.
  • the method of turning on the demonstration mode may include using the second device to turn on the demonstration mode (which can be recorded as method 1), the stylus turning on the demonstration mode in response to the first gesture (way 2), and the stylus turning on the demonstration mode in response to the fourth operation (way 1). 3), smart opening (Method 4), and the stylus establishes a connection with a first device (notebook 103 in Figure 1C) that is different from the second device (tablet 100 in Figure 1C) to trigger the opening of the demonstration mode (Method 5) ) one or more.
  • Method 1 Use the second device to turn on the demonstration mode.
  • a first control is provided in the second device, and the first control is used to trigger switching of the working mode of the stylus.
  • the second device is the tablet in Figure 4.
  • the settings of the tablet include the auxiliary function setting item, and the auxiliary function setting item includes the sub-setting item 401.
  • the tablet may display an interface 402, which is a setting page in demonstration mode.
  • the interface 402 includes a button 403, which is used to trigger switching of the working mode of the stylus, that is, the button 403 is the first control.
  • the second device may receive a fifth operation of the user on the first control (which may also be called an operation of switching the stylus mode).
  • the fifth operation may be a long press, click (such as single click, double click, etc.) or sliding (such as slide up, slide down), etc., which are not specifically limited in the embodiment of the present application.
  • the second device may send a second message to the stylus, and the second message instructs the stylus to switch working modes.
  • the stylus pen can switch the working mode in response to receiving the second message. Among them, if the current working mode of the stylus is handwriting mode, it can be switched to presentation mode.
  • the tablet can be matched to the tablet in response to the user's click operation on the button 403 in the interface 402.
  • stylus to send a second message.
  • the working mode can be switched. Assuming that the current working mode of the stylus is handwriting mode, it can be switched to presentation mode.
  • the first control can also indicate whether the stylus turns on the demonstration mode. When the first control is in the first state, it indicates that the stylus is not in the demonstration mode. When the first control is in the second state, it indicates that the stylus has turned on the demonstration mode. Based on this, in some embodiments, after switching the working mode, the stylus may also send a second notification to the second device, and the second notification indicates that the working mode has been successfully switched. In response to receiving the second notification, the second device may switch the state of the first control. If the first control is currently in the first state, switch to the second state; if the first control is currently in the second state, switch to the first state. Thus, the state of the first control is consistent with the working mode of the stylus.
  • the first control includes the button 403 in the interface 402 and the button 403 in the interface 404 shown in FIG. 4 .
  • the tablet can display the interface 402, and the button 403 in the interface 402 is in the first state, indicating that the stylus is not in the demonstration mode.
  • the second notification can be sent to the tablet.
  • the tablet may display the interface 404, and the button 403 in the interface 404 is in the second state, indicating that the stylus has turned on the presentation mode.
  • the display position of the first control shown in FIG. 4 is only exemplary, and is not limited to this in actual implementation.
  • the first control can also be displayed in the drop-down notification bar interface of the second device.
  • the first control can also be displayed on the negative screen.
  • Method two the stylus turns on the demonstration mode in response to the first gesture (which can also be called a switching operation).
  • the first gesture may be a long press, single click, double click or triple click gesture.
  • the switching operation refers to the operation of triggering the stylus to switch the working mode to the demonstration mode, which is the same below. The following description will mainly take the first gesture being a double-click gesture as an example.
  • the stylus can collect gesture information and then identify the gesture type. If the stylus recognizes a double-click gesture and the current working mode of the stylus is handwriting mode, the stylus can switch the working mode to presentation mode.
  • the double-click gesture may be a double-click gesture performed by the user when the stylus pen is facing any direction, or the double-click gesture may be a double-click gesture performed by the user at any position of the stylus pen.
  • the tip of the stylus pen In the daily use of a stylus pen, the tip of the stylus pen usually does not face upward.
  • upward please refer to the relevant description of Figure 2C mentioned above, which will not be repeated here. The same is true below.
  • the second device as a tablet as an example, in some scenarios, when the tablet is placed flat on a flat surface (such as a desktop) and the tip of the stylus is used to contact the tablet to complete the interaction, such as when drawing, the tip of the stylus is usually pointed downwards. of, not upward.
  • the tip of the stylus is usually tilted downward. Not facing up either.
  • the tip of the stylus is usually not facing upward.
  • the double-click gesture that triggers the turn on the demonstration mode refers to when the tip of the stylus is facing upward. double-click gesture. Therefore, when the stylus recognizes the double-click gesture and the current working mode of the stylus is the handwriting mode, it is also necessary to determine whether the tip of the stylus is facing upward. If the tip of the stylus pen is facing upward, the stylus pen will switch the working mode to the demonstration mode. This can improve the accuracy of turning on the demonstration mode.
  • the working mode of the stylus is the handwriting mode
  • the user points the tip of the stylus upward and performs a double-click gesture on the stylus, and the stylus can write The pen's working mode switches to presentation mode.
  • the working mode of the stylus is handwriting mode, as shown in (b) in Figure 5A, when the user is writing with the stylus, the tip of the stylus is not facing upward. If the user performs a double-click gesture on the stylus, , the stylus will not switch working mode to presentation mode.
  • the first orientation may be upward, downward, left, right, etc.
  • gestures in different touch areas on the stylus can implement different functions accordingly.
  • division of the touch area of the stylus please refer to the previous description of FIG. 2B and its related contents, which will not be repeated here. The same applies to the following.
  • the double-click gesture refers to the double-click gesture of the first preset area of the stylus.
  • the first preset area may be the front end of the stylus (the first area in Figure 2B), the middle terminal (the first one in Figure 2B Second area) or backend (the third area in Figure 2B). That is to say, when the stylus recognizes the double-click gesture and the current working mode of the stylus is the handwriting mode, it still needs to determine whether the touch position of the double-click gesture is within the first preset area. If the touch area of the double-click gesture is within the first preset area, the stylus will switch the working mode to the demonstration mode. This can improve the accuracy of turning on the demonstration mode.
  • the stylus detecting the user's touch gesture with the stylus is a continuous action. If the user's touch gestures on the stylus are continuously detected to trigger the demonstration mode while the stylus is in handwriting mode, the power consumption of the stylus will be high. Based on this, in some embodiments, when the stylus is in the handwriting mode, the stylus can detect the user's first preset operation on the key or detect that the orientation of the stylus is the second orientation. The trigger starts detecting the touch gesture, and in response to detecting the first gesture, the demonstration mode is turned on. This can save the power consumption of the stylus.
  • Method 3 The stylus turns on the demonstration mode in response to the fourth operation (which can also be called a switching operation).
  • the fourth operation may be a long press, a single click, a double click or a triple click.
  • the following description will mainly take the fourth operation as a long press operation as an example.
  • the stylus can collect the operation information (such as the button pressed, the duration of the press, the number of presses, etc.), and then identify the operation type. If the stylus pen recognizes a long press operation and the current working mode of the stylus pen is handwriting mode, the stylus pen can switch the working mode to presentation mode.
  • the operation information such as the button pressed, the duration of the press, the number of presses, etc.
  • the stylus pen has a button as shown in Figure 5B, and the stylus pen recognizes that the user performs a long press operation on the button as shown in Figure 5B, and the current working mode of the stylus pen is handwriting mode.
  • the pen switches working mode to presentation mode.
  • the main function of the stylus is handwriting, and the existence of the keys is of little significance, so the keys set on the stylus are usually very limited. For example, there is only one button set on the stylus. If you press and hold the button, it will trigger the stylus to turn on; if you click the button, it will trigger the stylus to shut down; if you double-click the button, it will trigger the stylus to send a Bluetooth broadcast. . It should be understood that although click operations such as three clicks and four clicks can also be used to implement corresponding functions, the more clicks, the more inconvenient the operation is and are usually not used in practice. Therefore, in some scenarios, the user's fourth operation of the keys on the stylus is very likely to conflict with operations to implement other functions. For example, if the fourth operation is a long press operation, it will conflict with the operation that triggers the stylus to turn on.
  • the demonstration mode can be triggered based on the fourth operation (such as a long press operation) in combination with the movement trajectory of the stylus (such as the tip of the stylus).
  • the fourth operation such as a long press operation
  • the stylus pen recognizes the fourth operation and the current working mode of the stylus pen is the handwriting mode
  • the movement trajectory meets the preset trajectory conditions. If the first movement trajectory meets the preset trajectory conditions, the stylus will switch the working mode to the demonstration mode. If the first movement trajectory does not meet the preset trajectory conditions, the stylus cannot set the working mode to the demonstration mode.
  • the preset trajectory condition may be that the first preset trajectory is a preset shape such as a circle shape or a "Z" shape. In this way, functional conflicts can be avoided. This allows the stylus to respond accurately.
  • the stylus recognizes that the user performs a long press operation on the button as shown in Figure 5C, and detects that during the long press operation, the first movement trajectory of the stylus is as follows
  • the "Z" shape shown in Figure 5C means that if the preset trajectory conditions are met, the stylus can switch the working mode to the demonstration mode.
  • the user's first gesture with the stylus or the user's fourth operation with the keys on the stylus may just be a misoperation by the user, which does not mean that the user has the intention to turn on the demonstration mode.
  • the stylus sends a first notification to the second device before switching the working mode to the demonstration mode.
  • the first notification is used to notify the second device to prompt the user to confirm switching to the demonstration mode.
  • the second device may display the first prompt information in a pop-up window, broadcast the first prompt information by voice, and/or vibrate, thereby prompting the user to confirm turning on the demonstration mode.
  • the first prompt information is used to prompt the user to confirm turning on the demonstration mode.
  • the first prompt information is prompt 601 in Figure 6.
  • the prompt content in prompt 601 includes "Click to turn on the demonstration mode", thereby prompting confirmation to turn on the demonstration mode.
  • the second device may receive the user's sixteenth operation on the first prompt information.
  • the sixteenth operation is used to trigger the demonstration mode.
  • the second device may send a first message to the stylus, the first message indicating confirmation of switching to the demonstration mode.
  • the stylus may switch the working mode to the presentation mode.
  • the sixteenth operation may be the user's click operation or long press operation on the first prompt information.
  • the first prompt information is prompt 601 in Figure 6, and the sixteenth operation may be a click operation on prompt 601 with the user's finger or stylus.
  • the first prompt information includes a first option and a second option.
  • the first option is used to trigger the opening of the demonstration mode
  • the second option is used to trigger the cancellation of the opening of the demonstration mode.
  • the sixteenth operation can be It is a selection operation for the first option.
  • the first prompt information is the prompt 602 in FIG. 6
  • the first option is the "Open” button 6021 in the prompt 602
  • the second option is the "Don't remind again" button 6022 in the prompt 602 .
  • the sixteenth operation may be the user's selection operation on the "Open" button 6021.
  • the stylus before the stylus switches the working mode to the demonstration mode, can play a prompt voice or vibrate to prompt the user to confirm switching to the demonstration mode. Then, the stylus detects the user's operation or gesture of the stylus within a preset time period after prompting the user to confirm switching to the demonstration mode. The stylus switches the working mode to the demonstration mode in response to detecting the second preset operation or the second preset gesture (which may be collectively referred to as the second operation).
  • Method four intelligent activation.
  • the second device detects that there is currently a demonstration requirement, the second device can automatically send a third message to the stylus.
  • the third message is used to instruct the stylus to turn on. Demo mode. This enables intelligent opening of the demonstration mode.
  • the second device can detect whether the first application currently running in the foreground of the second device is a default application. If the first application is a default application, the second device can send the first application to the stylus. Three messages.
  • the demonstration requirement occurs in a preset usage scenario of a preset application.
  • the preset usage scenario is a scenario of playing a slideshow in full screen.
  • the default application can enter the default usage scenario only after receiving a specific operation from the user (which can be recorded as the sixth operation).
  • the sixth operation may be the user's click operation on the control for playing the slide show in full screen.
  • the PPT application can enter the full screen slide show only after receiving the user's click operation on the control for playing the slide show in full screen. film scene.
  • the second device may enter the preset usage scenario in response to receiving the sixth operation, and may also display sending a third message to the stylus.
  • the second device is the tablet in Figure 7A
  • the default application is the PPT application on the tablet
  • the control for playing the slideshow in full screen is Figure 7A.
  • the button 701 in FIG. 7A is taken as an example.
  • the tablet responds to the user's click operation on the button 701.
  • the interface 702 in FIG. 7A can be displayed.
  • the interface 702 displays a full-screen image of the third button 701.
  • One page of PPT will enter the full-screen slide show scene.
  • the tablet may send a third message to the stylus to instruct the stylus to switch the working mode to the presentation mode.
  • Presentation needs may also occur in scenarios where content from a second device is projected to the projection device.
  • the second device can detect whether the second device is connected to the screen projection device.
  • the second device may send a third message to the stylus.
  • the tablet responds to detecting that the tablet is connected to the projector. Then the third message can be sent to the stylus.
  • the second device detects that there is a demonstration need, but the user may not actually have a demonstration need. Based on this, in some embodiments, after detecting that there is a demonstration requirement and before sending the third message to the stylus, the second device first displays the second prompt information, and the second prompt information is used to prompt for confirmation to turn on the demonstration mode. Subsequently, the second device may receive a seventh operation performed by the user on the second prompt information, and the seventh operation is used to trigger confirmation to turn on the demonstration mode. The second device sends the third message to the stylus only in response to the seventh operation. This can improve the accuracy of intelligently opening the demonstration mode.
  • the second prompt information is similar to the foregoing first prompt information.
  • the seventh operation is also similar to the previous sixteenth operation.
  • FIG. 7C The following only takes FIG. 7C as an example to describe the specific implementation of this embodiment.
  • the tablet can display the interface 722 in Figure 7C.
  • the first page of PPT is displayed in full screen in the interface 722, that is, the scene of playing the slideshow in full screen is entered.
  • a prompt 723 is also displayed in the interface 722.
  • the prompt content of the prompt 723 includes "whether to turn on the demonstration mode", so that it can prompt for confirmation to turn on the demonstration mode. That is, prompt 723 is the second prompt information.
  • Prompt 723 includes an "Open” button, and the seventh operation may be a click operation on the "Open” button. The tablet will send the third message to the stylus only in response to the user's click operation on the "Open” button in prompt 723.
  • Method 5 is mainly applicable to different demonstration scenarios of the first device and the second device, such as scenario 4 shown in Figure 1C above.
  • Method 5 The stylus establishes a connection with a first device (notebook 103 in FIG. 1C) that is different from the second device (tablet 100 in FIG. 1C) to trigger the demonstration mode.
  • a first device notebook 103 in FIG. 1C
  • the second device tablet 100 in FIG. 1C
  • the wireless connection between the first device and the stylus can be established through short-range wireless communication technologies such as NFC and radio frequency identification (Radio Frequency Identification, RFID).
  • short-range wireless communication technologies such as NFC and radio frequency identification (Radio Frequency Identification, RFID).
  • the wireless connection between the first device and the stylus may be established through Bluetooth. It should be understood that the prerequisite for establishing a Bluetooth connection is that the stylus needs to send a Bluetooth broadcast. After the stylus sends a Bluetooth broadcast, if the distance between the first device and the stylus is within the Bluetooth communication range, the first device can receive the Bluetooth broadcast sent by the stylus. Bluetooth broadcast, the stylus can be discovered. For example, show the stylus option in the Bluetooth device list. Then the first device can establish a Bluetooth connection with the stylus automatically or manually by the user.
  • the stylus can always send Bluetooth broadcasts. However, sending Bluetooth broadcasts all the time will cause the stylus to consume more power. Based on this, in a specific implementation manner, the stylus starts sending Bluetooth broadcasts in response to the third event, and ends sending Bluetooth broadcasts in response to the fourth event. This can reduce the power consumption of the stylus.
  • the third event may be the user's second gesture with the stylus, and the second gesture may be the same as the first gesture, or may be different. In response to the second gesture, the stylus starts sending Bluetooth broadcasts.
  • the third event may be the eighth operation of the key on the stylus pen by the user, and the eighth operation may be the same as the fourth operation, or may be different from the fourth operation. In response to the eighth operation, the stylus starts to send Bluetooth broadcasts.
  • the second device provides a second control
  • the third event may be the user's ninth operation on the second control, such as a long press, a click, and other operations.
  • the second control may be the same control as the first control mentioned above, or may be a different control from the first control. If the second control and the first control are the same control, the ninth operation may be the fifth operation mentioned above.
  • the second device may receive a ninth operation of the second control by the user, and in response to the ninth operation, the second device may send a fourth message to the stylus.
  • the fourth message instructs the stylus to send a Bluetooth broadcast.
  • the stylus may start sending Bluetooth broadcasts.
  • the first device is the tablet 100 in Figure 8
  • the stylus is the stylus 101 in Figure 8
  • the second device is the notebook 103 in Figure 8
  • the third event is the user's seventh operation on the second control
  • the The second control is the same as the first control and is the button 802 in the interface 801 displayed on the tablet 100 shown in Figure 8.
  • the ninth operation is a click operation as an example.
  • the tablet 100 may send a fourth message to the stylus 101 in response to the user's click operation on the button 802 in the interface 801 .
  • the stylus 101 may start sending Bluetooth broadcasts.
  • the notebook 103 can display a dialog box 805, and the dialog box 805 can display the Bluetooth devices searched by the notebook 103.
  • options for the stylus 101 may be displayed in the dialog box 805, such as option 806. Then, a Bluetooth connection between the notebook 103 and the stylus 101 can be established in the notebook 103 .
  • the fourth event may correspond to the above-mentioned third event.
  • the fourth event may also be a double-click gesture. If the stylus pen receives a double-click gesture, it can start sending Bluetooth broadcasts. If the stylus pen receives a double-click gesture again, it can end sending Bluetooth broadcasts.
  • the fourth event may not correspond to the third event.
  • the third event is a double-click gesture and the fourth event is a long-press gesture.
  • the fourth event may be an event in which the duration of the Bluetooth broadcast sent by the stylus reaches a third preset duration, for example, the third preset duration is 5 minutes.
  • a third control is provided in the second device, and the third control is used to trigger the second device to switch the switch state of the demonstration function.
  • the second device may receive the user's tenth operation on the third control.
  • the tenth operation may be a long press, click (such as single click, double click, etc.) or sliding (such as slide up, slide down, etc.) operation, which is not specifically limited in the embodiment of the present application.
  • the second device may update the switch state of the demonstration function. Only when the demonstration function is turned on can it be shown that the user allows the stylus to be used in the demonstration scene, and then the demonstration mode can be turned on using the above methods one to five. This can improve the ability to open demonstration mode accuracy.
  • the second device is the tablet in Figure 9.
  • the settings of the tablet include the auxiliary function setting item, and the auxiliary function setting item includes the sub-setting item 901.
  • the tablet may display interface 902, which is a setting page in demonstration mode.
  • the interface 902 includes a button 903, which is used to trigger the second device to switch the on/off state of the demonstration function, that is, the button 903 is a third control.
  • button 903 indicates that the demonstration function is currently off. Taking the tenth operation as the user's click operation on button 903 as an example, then, in response to the user's click operation on button 903, the tablet can display the interface 904 in Figure 9.
  • the interface 904 includes a button 905, and the button 905 can also be used for
  • the second device is triggered to switch the on/off state of the demonstration function, that is, the button 905 is also the third control.
  • button 905 indicates that the demonstration function is currently on. That is to say, in response to the user's click operation on button 903, the second device updates the switch state of the demonstration function from the off state to the on state.
  • the stylus before using the above methods one to five to switch the working mode of the stylus to the demonstration mode, it is also necessary to determine whether the demonstration function is turned on. If the stylus is determined to have the demonstration function turned on, the working mode can be further switched to the demonstration mode. In a specific implementation manner, before switching the working mode to the demonstration mode, the stylus can query the second device for the switch status of the demonstration function. If it is found that the demonstration function is turned on, the demonstration mode can be turned on. In another specific implementation, the stylus can record the switch state of the demonstration function. After updating the switch status of the demonstration function, the second device may send a third notification to the stylus. The third notification is used to notify the switch state of the stylus synchronization demonstration function. In response to receiving the third notification, the stylus can synchronize the on-off state of the demonstration function so that the on-off state of the demonstration function recorded in the stylus is consistent with the updated on-off state of the demonstration function in the second device.
  • the second device when the switch state of the demonstration function is in the on state, can display the operable first control, thereby facilitating the method one to turn on the demonstration mode.
  • the switch state of the demonstration function is off, the second device does not display the operable first control, such as not displaying the first control, or displaying the inoperable first control.
  • the tablet can display the interface 904 shown in Figure 9.
  • the button 905 in the interface 904 is the third control, and the button 905 indicates that the demonstration mode is currently on. That is, the switch state of the demonstration function is on.
  • the interface 904 may also include a setting item 906, and the setting item 906 includes an operable button 907, which is used to trigger switching of the demonstration mode. That is, the operable first control is displayed.
  • the tablet can display the interface 902 shown in Figure 9.
  • the button 903 in the interface 902 is the third control, and the button 903 indicates that the demonstration mode is currently in a closed state. That is, the switch state of the demonstration function is on.
  • the interface 902 includes the setting item 906, but the setting item 906 is grayed out and does not include the button 907. That is, the operable first control is not displayed.
  • the stylus can play the third prompt message with voice or vibrate to remind the user that the demonstration mode has been turned on.
  • the stylus can send a fourth notification to the first device and/or the second device.
  • the fourth notification is used to notify the first device and/or the second device to prompt the user that the demonstration has been started. model.
  • the first device and/or the second device may display the third prompt information in a pop-up window, broadcast the third prompt information by voice, and/or vibrate, thereby reminding the user that the demonstration mode has been turned on.
  • the first device is the tablet in Figure 10
  • the third prompt information can be the prompt 1001 displayed on the tablet in Figure 10.
  • the prompt 1001 includes the prompt content "Demo mode has been turned on", thereby prompting that it has been turned on. Demo mode.
  • the event that triggers the demonstration mode in the aforementioned methods 1 to 5 can be called the first event.
  • the first event is that the stylus detects the user's first gesture, fourth operation (such as long press operation) and other switching operations on the stylus.
  • the first event is receiving a second message from the second device.
  • Process 2 Use the stylus pen to control the first device to perform the demonstration operation.
  • the stylus When the stylus is in demonstration mode (for example, the value of the flag bit is the second value), the stylus can respond to the user's gesture, operation, movement and other events on the stylus, and send a control command to the first device to control the first device. Perform demonstration operations.
  • the stylus When the stylus is in handwriting mode (such as the first value of the flag bit), the stylus may not detect the above events, such as not detecting the user's gesture on the stylus, thereby not sending the corresponding control command to the first device. Then the first device cannot be controlled to perform the demonstration operation.
  • the stylus when the stylus is in handwriting mode (such as the first value of the flag bit), the stylus can detect the above events, but in response to detecting these events, it will not send corresponding control commands to the first device, then it is also The first device cannot be controlled to perform demonstration operations.
  • the demonstration operation mainly includes one or more of displaying the cursor, moving the cursor, clicking operation, marking operation, amplifying operation and page turning operation.
  • the specific implementation of process 2 will be described below mainly with regard to cursor display operations, cursor movement operations, click operations, and page turning operations.
  • Demonstration operation one, display the cursor. That is, a cursor is displayed on the display interface of the first device, and the cursor can be used to point to content displayed on the screen of the first device.
  • the first device can be controlled to display the cursor based on the user's third gesture of the stylus pen (which may also be referred to as the first operation).
  • the third gesture may be a long press, a single click, a double click, a triple click, or other gestures.
  • the following description will mainly take the third gesture being a long press gesture as an example.
  • the stylus can collect gesture information (such as touch location, touch duration, number of touches, etc.) and then identify the gesture type. If the stylus recognizes a long press gesture and the current working mode of the stylus is the demonstration mode, the stylus may send a first control command (which may also be called a first command) to the first device.
  • the first control command is used to control the first device to display the cursor.
  • the first device may display a cursor in the display interface.
  • the first device is a tablet in FIG. 11A, and the tablet can display the interface 1101.
  • the stylus recognizes the long press gesture and the current working mode of the stylus is the demonstration mode, it can send the first control command to the tablet.
  • the tablet may display an interface 1102 including a cursor 1103 .
  • the long press gesture may be a long press gesture at any position of the stylus, or may be a long press gesture at a second preset area of the stylus (such as the front end, middle end or rear end).
  • a second preset area of the stylus such as the front end, middle end or rear end.
  • the first device may be controlled to display the cursor based on the eleventh operation (which may also be referred to as the first operation) performed by the user on the keys on the stylus pen.
  • the eleventh operation may be long press, single click, double click, triple click, etc. The following description will mainly take the eleventh operation as a long press operation as an example.
  • the stylus can collect the operation information (such as the button pressed, the duration of the press, the number of presses, etc.), and then identify the operation type. If the stylus pen recognizes a long press operation and the current working mode of the stylus pen is a demonstration mode, the stylus pen may send a first control command to the first device.
  • the first control command is used to instruct the first device to display the cursor.
  • the first device may display a cursor in the display interface.
  • the first device is the tablet in Figure 11B.
  • the tablet can display the interface 1111.
  • the stylus recognizes the long press operation and the current working mode of the stylus is the demonstration mode
  • the first device can be sent to the tablet.
  • control commands In response to receiving the first control command, the tablet may display an interface 1112 including a cursor 1113 .
  • the first device can display the cursor at a preset position on the display interface for the first time.
  • the preset position can be the center point of the display interface, the upper left corner, the upper right corner, etc.
  • the cursor after the cursor is displayed for the first time, the cursor will be permanently displayed in the display interface and will not disappear until the presentation mode is exited. This makes it easy to point to the corresponding content in the display interface at any time.
  • the first device may stop displaying the cursor. In this way, the cursor can be displayed in a targeted manner.
  • reserving the fourth preset time period can facilitate controlling the first device through the stylus to perform demonstration operations such as clicking and marking the target content after the cursor points to the target content (such as a web link).
  • the stylus pen can send a first control command to the first device to control the first device to start displaying the cursor. Then, after the stylus detects the third gesture or the eleventh operation is completed, the sixth notification can be sent to the first device.
  • the sixth notification is used to indicate the end time of the third gesture or the eleventh operation.
  • the first device may stop displaying the cursor when the time period from when the sixth notification is received reaches a fourth preset time period.
  • the stylus pen can send a first control command to the first device to control the first device to start displaying the cursor. Then, the stylus can periodically detect whether the third gesture or the eleventh operation ends. If it is not ended, continue to send the first control command to the first device to control the first device to continue to display the cursor. If it has ended, the first control command is no longer sent to the first device. When the duration of not receiving the first control command exceeds the fourth preset duration, the first device stops displaying the cursor.
  • the first device can, after receiving the first control command, perform the operation between the first moment and the second moment. After the second moment, the first device does not display the cursor.
  • the third moment is earlier than the first moment
  • the fourth moment is earlier than the second moment.
  • the first device responds to receiving the first control command again and displays the cursor at the position where the cursor disappeared last time.
  • the cursor will be permanently displayed in the display interface, but before the current time reaches the fourth preset time period from the end of the third gesture or the eleventh operation, the cursor will be displayed in the first style (such as the color style). ) displays the cursor.
  • the first style can indicate that the cursor is valid, that is, movable.
  • the cursor is displayed in a second style (such as a gray style).
  • the second style can indicate that the cursor is invalid, that is, cannot be moved. In this way, not only can the cursor point to the content in the display interface at any time, but also the user can know the status of the cursor.
  • Demonstration operation two move the cursor. That is, the first device moves the display position of the cursor so that the cursor moves to the target content and points to the target content.
  • the user moves the stylus (which may also be called The third operation) will change the position of the stylus in space.
  • the stylus can collect the first displacement of the stylus and calculate the second displacement of the cursor on the first device based on the first displacement.
  • the stylus sends a second control command (which may also be called a second command) to the first device.
  • the second control command carries a second displacement and is used to instruct the first device to control the cursor to move the second displacement, that is, to control the first device.
  • the device changes the display position of the cursor.
  • the tablet can display the interface 1201.
  • a cursor is displayed at A’ of the interface 1201, and A’ is far away from the video in the interface 1201.
  • the stylus detects that the tip of the stylus moves from point A to point B in Figure 12. That is, the first displacement is the displacement from point A to point B.
  • the stylus can calculate the second displacement of the cursor, such as (x0, y0). Then, the stylus sends a second control command to the first device that instructs the first device to move the cursor (x0, y0).
  • the first device may display the interface 1202.
  • a cursor is displayed at B' in the interface 1202, and B' is closer to the video in the interface 1202. That is to say, when the user performs a long press gesture on the stylus, as the user moves the tip of the stylus from point A to point B, the first device can correspondingly move the cursor from A' in the interface to position B. 'Department. Subsequently, as the stylus continues to move, the first device can also move the cursor to the video to point to the video.
  • Demonstration operation three click operation. That is, the first device clicks the content corresponding to the position of the cursor in the display interface.
  • the position of the cursor is the position where the cursor is currently displayed. If the first device has not displayed a cursor after turning on the demonstration mode, then the position of the cursor is a preset position, such as the center point of the display interface. If the first device has displayed a cursor after turning on the demonstration mode, but the cursor has disappeared, that is, the cursor is not currently displayed in the display interface, then the position of the cursor is the position displayed in the display interface of the first device before the cursor disappeared. . That is to say, regardless of whether a cursor is displayed in the display interface of the first device, the corresponding content can be clicked by clicking. In the following, when the cursor is displayed on the display interface of the first device, the first device performs a click operation as an example to illustrate.
  • the first device may be controlled to display the cursor based on the user's fourth gesture with the stylus pen.
  • the fourth gesture may be a long press, single click, double click, triple click and other gestures. The following description will mainly take the fourth gesture as a double-click gesture as an example.
  • the stylus can collect gesture information (such as touch location, touch duration, number of touches, etc.) and then identify the gesture type. If the stylus pen recognizes a double-click gesture and the current working mode of the stylus pen is a demonstration mode, the stylus pen may send a third control command to the first device.
  • the third control command is used to instruct the first device to perform a click operation on the content corresponding to the position of the cursor. In response to receiving the third control command, the first device may click the content corresponding to the position of the cursor.
  • the first device is the tablet in Figure 13A.
  • the tablet can display the interface 1301.
  • the interface 1301 includes a cursor 1302, and the cursor 1302 is located on the video to be played.
  • the third control command can be sent to the tablet.
  • the tablet may display interface 1303 in which a video is being played. That is to say, in response to receiving the third control command, the tablet performs a click operation on the video to be played at the position of the cursor 1302, causing the tablet to start playing the video content.
  • the double-click gesture can be a double-click gesture at any position of the stylus, or it can be a double-click gesture at any position of the stylus.
  • Long press gesture for third preset area (such as front end, middle end or back end). No further details will be given here.
  • the first device can be controlled to perform a click operation based on the twelfth operation performed by the user on the keys on the stylus pen.
  • the twelfth operation may be long press, single click, double click, triple click, etc. The following description will mainly take the twelfth operation being a click operation as an example.
  • the stylus can collect the operation information (such as the button pressed, the duration of the press, the number of presses, etc.), and then identify the operation type. If the stylus pen recognizes a click operation and the current working mode of the stylus pen is a demonstration mode, the stylus pen may send a third control command to the first device.
  • the third control command is used to instruct the first device to perform a click operation on the content corresponding to the position of the cursor. In response to receiving the third control command, the first device clicks the content corresponding to the position of the cursor.
  • the tablet can display an interface 1311.
  • the interface 1311 includes a cursor 1312, and the cursor 1302 is located on the save button.
  • the third control command can be sent to the tablet.
  • the tablet may display an interface 1313.
  • the interface 1313 includes a prompt 1314, which prompts that the presentation is being saved. That is to say, in response to receiving the third control command, the tablet performs a click operation on the save button at the position of the cursor 1312, so that the tablet starts saving the presentation.
  • the position of the cursor in the display interface of the first device happens to have content that can respond to the click operation (such as a video to be played, a save button).
  • the position of the cursor in the display interface of the first device may not display content that can respond to the click operation.
  • the cursor is in a blank area with no content displayed.
  • the position where the cursor is located displays pictures, text, etc. that cannot respond to click operations.
  • the first device usually does not respond after clicking on the content displayed at the cursor position.
  • the click operation is an invalid click.
  • the cursor is displayed at the position of the dotted circle in the interface 1311 shown in FIG. 13B, which is close to the save button but does not cover the save button, then the first device will not respond after performing the click operation.
  • Demonstration operation four page turning operation. That is, the first device performs an operation of turning pages up (ie, turning to the previous page) or turning pages down (ie, turning to the next page).
  • the first device can be controlled to perform a page turning operation based on the user's downward gesture of the stylus pen along the pen body direction, and based on the user's hand gesture of the stylus pen along the pen body direction.
  • the upward sliding gesture in the direction controls the first device to perform an upward page turning operation.
  • a fourth control command is sent to the first device.
  • the fourth control command is used to instruct the first device to control the first device.
  • One device performs a page down operation.
  • the first device performs a page turning operation.
  • the first device is the tablet in Figure 14, and the tablet can display the interface 1401, and the interface 1401 includes the content of the first page of PPT.
  • the stylus pen recognizes that the user performs a downward gesture on the stylus pen along the pen body, and the current working mode of the stylus pen is the demonstration mode, a fourth control command can be sent to the tablet.
  • the tablet can display the interface 1402.
  • the interface 1402 includes the content of the second page of PPT, that is, turning to the next page.
  • a fifth control command is sent to the first device.
  • the fifth control command is used to instruct the first device to control First
  • the device performs a page up operation.
  • the first device performs a page turning operation.
  • the first device is the tablet in Figure 14, and the tablet can display the interface 1402, and the interface 1402 includes the content of the second page of PPT.
  • the stylus pen recognizes that the user performs an upward sliding gesture on the stylus pen along the pen body, and the current working mode of the stylus pen is the demonstration mode, the fifth control command can be sent to the tablet.
  • the tablet can display the interface 1401.
  • the interface 1401 includes the content of the first page of PPT, that is, turning to the previous page.
  • the first device can be controlled to perform a page turning operation based on the thirteenth operation performed by the user on the stylus pen, and the first device can be controlled to perform a page turning operation based on the user's hand movement of the stylus pen.
  • the fourteenth operation performed by pressing the upper button controls the first device to perform an upward page turning operation.
  • the thirteenth operation and the fourteenth operation can be operations such as long press, single click, double click, triple click, etc.
  • the thirteenth operation and the fourteenth operation may be different operations on the same key.
  • the thirteenth operation is a double-click operation
  • the fourteenth operation is a triple-click operation.
  • the thirteenth operation and the fourteenth operation may be the same operation on different keys.
  • the thirteenth operation is a click operation on the first key
  • the fourteenth operation is a click operation on the second key.
  • the control command (such as a first control command, a second control command, etc.) is mainly used as an example to instruct the first device to perform a corresponding demonstration operation. That is to say, the stylus determines the demonstration operation that the first device needs to perform, and instructs the first device to perform it through the control command. That is, the control command carries information about the demonstration operation (such as name, number, etc.). However, it is not limited to this in actual implementation. In other embodiments, the stylus can use a control command (such as a first control command, a second control command, etc.) to control at least one of the user's gestures, operations, displacement of the stylus, and orientation of the stylus. One item is sent to the first device.
  • a control command such as a first control command, a second control command, etc.
  • the stylus After the stylus recognizes the third gesture, it sends a first control command to the first device.
  • the first control command carries the identifier 01, and the identifier 01 is used to indicate the third gesture.
  • the first device determines and performs the corresponding demonstration operation according to the control command (such as the first control command, the second control command, etc.).
  • Process 3 Exit the stylus demonstration mode. After exiting presentation mode, the stylus cannot be used for presentation control. That is, the stylus will not send control commands to the first device, and thus cannot control the first device to perform the above various demonstration operations. Corresponding to turning on the demonstration mode of the stylus, exiting the demonstration mode of the stylus may be to modify the value of the mark bit to the first value.
  • the method of exiting the demonstration mode may include using the second device to exit the demonstration mode (which can be recorded as method 1), the stylus exiting the demonstration mode in response to the fifth gesture (mode 2), and the stylus exiting the demonstration mode in response to the fifteenth operation (mode 1). 3) One or more of: exiting the demonstration mode when the stylus is charging (mode 4) and exiting the demonstration mode in response to a touch operation using the pen tip (mode 5).
  • Mode 1 to Mode 5 will be described in detail below.
  • Method 1 Use the second device to exit the demonstration mode.
  • This method 1 corresponds to the method in the previous process 1.
  • the second device is provided with a first control, and the first control is used to trigger switching of the working mode of the stylus.
  • the second device may receive the user's fifth operation on the first control.
  • the second device may send a second message to the stylus, and the second message instructs the stylus to switch working modes.
  • the stylus pen can switch the working mode in response to receiving the second message.
  • the current working mode of the stylus is the demonstration mode, it can be switched to the handwriting mode to exit the demonstration mode.
  • Method 1 in Process 1 please refer to the description of Method 1 in Process 1 above, and will not be repeated here.
  • Method 2 the stylus exits the demonstration mode in response to the fifth gesture.
  • the fifth gesture can be long press, click, Gestures such as double-click or triple-click.
  • the fifth gesture may be the same as the first gesture, or may be different. If the stylus pen recognizes the fifth gesture and the stylus pen is currently in the demonstration mode, the second device can switch the working mode to the handwriting mode, thereby exiting the demonstration mode.
  • the fifth gesture may be a gesture performed at any position of the stylus and/or with the stylus in any orientation.
  • the fifth gesture may be a gesture performed on a fourth preset area of the stylus, which may be a front end, a middle end, or a back end of the stylus pen.
  • the fourth preset area may be the same as the aforementioned first preset area, or may be different.
  • the fifth gesture may be a gesture performed when the tip of the stylus pen faces a preset direction, such as upward or downward.
  • the stylus exits the demonstration mode in response to the fifteenth operation.
  • the fifteenth operation can be a long press, a single click, a double click or a triple click.
  • the fifteenth operation may be the same as the fourth operation, or may be different.
  • the movement trajectory of the stylus can be further combined to trigger the exit of the demonstration mode.
  • the movement trajectory of the stylus can be further combined to trigger the exit of the demonstration mode.
  • Method 4 Exit the demonstration mode while the stylus is charging.
  • the stylus needs to be adsorbed on the second device, or on the charging stick, or inserted into the storage hole to achieve charging. Obviously, in these charging scenarios, it is not suitable to use the stylus for presentation control. Based on this, if the stylus detects charging input and the current working mode of the stylus is demonstration mode, the stylus can switch the working mode to handwriting mode and exit the demonstration mode.
  • the second device is the tablet in Figure 15.
  • the stylus When the user uses the stylus for presentation, he will hold the stylus. At this time, the stylus will usually not be adsorbed on the tablet. After the presentation, the user will hold the stylus. Attach the stylus to the tablet. At this time, the stylus will detect charging input and you can switch the working mode to handwriting mode.
  • Method 5 The stylus pen exits the demonstration mode in response to the touch operation using the pen tip.
  • the handwriting mode and presentation mode of the stylus are usually mutually exclusive, that is, the stylus cannot be used for presentation when used for touch, and cannot be used for touch when used for presentation. Based on this, after the stylus switches the working mode to the demonstration mode, if the stylus detects that the tip of the stylus is in contact with the display interface of the second device, the working mode is switched to the handwriting mode. That is to say, after the stylus is used for touch control, the presentation mode is exited, so that the stylus is no longer used for presentation and conflicts are avoided.
  • the second device is the tablet in Figure 16.
  • the user When the user uses the stylus for presentation, the user will hold the stylus. At this time, the stylus will not touch the display interface of the tablet.
  • the tip of the stylus touches the display interface of the tablet, the stylus can switch the working mode to handwriting mode.
  • the demonstration mode will be exited. In actual implementation, it is not limited to this.
  • the second device may no longer respond to the touch operation of the stylus pen on the second device. Only after exiting the demonstration mode, for example, the aforementioned method 1-method is used. 4After exiting the demonstration mode, the second device can respond to the touch operation of the stylus on the second device. In this way, conflicts can also be avoided.
  • the stylus in the demonstration mode, even if the distance between the stylus and the screen of the second device is less than the preset distance, that is, the first signal sent by the second device can cover the stylus, the stylus will not respond to the first signal. and send the second signal and/or the third signal. That is to say, when the stylus is in the demonstration mode, the second device cannot receive the second signal and/or the third signal, and thus cannot respond to the touch operation of the stylus on the screen of the second device.
  • the first device and/or the second device may send a fourth prompt message, and the fourth prompt message is used to prompt that the demonstration mode has been exited.
  • the stylus pen can send out the fourth prompt information in the form of voice or vibration.
  • the stylus pen can send a fifth notification to the first device and/or the second device. The fifth notification is used to notify the first device and/or the second device to send the third notification.
  • Four prompt messages In response to receiving the fifth notification, the first device and/or the second device may send out the fourth prompt information in the form of a pop-up window, voice, and/or vibration.
  • the first device is the tablet in Figure 17, and the fourth prompt information may be the prompt 1701 displayed by the tablet.
  • the prompt 1001 includes "Exited from demonstration mode", thereby prompting that the demonstration mode has been exited.
  • the event that triggers the exit of the demonstration mode in the aforementioned modes 1 to 5 can be called the second event.
  • the second event is that the stylus detects the user's fifth gesture, fifteenth operation, etc. on the stylus.
  • the second event is receiving a second message from the second device.
  • the third gesture that controls the first device to perform a cursor display operation in the above-mentioned process 2 the fourth gesture that controls the first device to perform a click operation, and the fifth gesture that triggers exiting the demonstration mode in process 3 cannot be identical.
  • the third gesture is a long press gesture
  • the fourth gesture is a double tap gesture
  • the fifth gesture is a triple tap gesture. If at least two of the third gesture, the fourth gesture and the fifth gesture are the same, it may cause a response error.
  • the first device is controlled to perform the eleventh operation of cursor display operation, the first device is controlled to perform the twelfth operation of clicking operation, and the first device is controlled to perform the thirteenth and tenth operations of page turning operation.
  • the four operations, and the fifteenth operation in process 3 that triggers exiting the demonstration mode cannot be the same.
  • the eleventh operation is a long press operation
  • the twelfth operation is a single click operation
  • the thirteenth operation is a double click operation
  • the fourteenth operation is a triple click operation
  • the fifteenth operation is a four click operation. If at least two of the eleventh operation, the twelfth operation, the thirteenth operation, the fourteenth operation and the fifteenth operation are the same, it may cause a response error.
  • the usage introduction information of the demonstration mode is displayed in the second device (such as the settings page of the demonstration mode).
  • the usage introduction information includes an introduction to turning on the demonstration mode, controlling the first Instructions for the device to perform demonstration operations and/or exit demonstration mode.
  • the second device is the tablet in FIG. 18A.
  • the tablet can scroll in the area 1802 in the interface 1801 to play an introduction (such as "In demonstration mode, long press
  • the front end of the pen body can adjust the virtual cursor").
  • introduction information for using the demonstration mode is displayed on the first device.
  • the introduction information includes an introduction to turning on the demonstration mode, an introduction to controlling the first device to perform a demonstration operation, and/or an introduction to exiting the demonstration mode.
  • the first device is the tablet in Figure 18B.
  • the tablet can display the interface 1811.
  • the interface 1811 can scroll and play the introduction of starting the demonstration mode (such as introduction 1812), and control the first device to perform the demonstration.
  • Introduction to operation such as introduction 1813, introduction 1814 and introduction 1815
  • introduction to exiting demonstration mode such as introduction 1816).
  • An embodiment of the present application also provides a stylus, which may include a memory and one or more processors. Memory and processor coupling.
  • the memory is used to store computer program code, which includes computer instructions.
  • the stylus can perform each function or step performed by the device in the above method embodiment.
  • the chip system 1900 includes at least one processor 1901 and at least one interface circuit 1902.
  • Processor 1901 and interface circuit 1902 may be wired interconnected.
  • interface circuitry 1902 may be used to receive signals from other devices, such as memory of an electronic device.
  • interface circuit 1902 may be used to send signals to other devices (eg, processor 1901).
  • the interface circuit 1902 can read instructions stored in the memory and send the instructions to the processor 1901.
  • the electronic device can be caused to perform various steps in the above embodiments.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiments of this application.
  • This embodiment also provides a computer storage medium.
  • Computer instructions are stored in the computer storage medium.
  • the stylus is caused to execute the above related method steps to implement the method in the above embodiment.
  • This embodiment also provides a computer program product.
  • the computer program product When the computer program product is run on a computer, it causes the computer to perform the above related steps to implement the method in the above embodiment.
  • inventions of the present application also provide a device.
  • This device may be a chip, a component or a module.
  • the device may include a connected processor and a memory.
  • the memory is used to store computer execution instructions.
  • the processor can execute computer execution instructions stored in the memory, so that the chip executes the methods in each of the above method embodiments.
  • the stylus, computer storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the corresponding methods provided above. The beneficial effects of the method will not be repeated here.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined. Either it can be integrated into another device, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separate.
  • the component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or contribute to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium , including several instructions to cause a device (which can be a microcontroller, a chip, etc.) or a processor to execute all the methods of each embodiment of the application. or partial steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

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)

Abstract

一种手写笔(101)用于演示控制的方法及手写笔(101),涉及终端技术领域,可以将手写笔(101)用于演示场景中,以控制平板(100)、笔记本(103)等电子设备完成演示操作。其中,手写笔(101)与第一设备之间建立无线通信链路。手写笔(101)接收第一设备发送的第一信号,响应第一信号,手写笔(101)发送第二信号,手写笔(101)不响应用户的空鼠操作,第一信号和第二信号不是通过无线通信链路发送的。在第一事件之后,手写笔(101)响应空鼠操作,通过无线通信链路向第一设备发送第一命令,以控制第一设备实现调出光标、移动光标、点击以及翻页中的一种功能。在第一事件之后,手写笔(101)不响应第一信号。

Description

一种手写笔用于演示控制的方法及手写笔
本申请要求于2022年6月28日提交国家知识产权局、申请号为202210753924.3、发明名称为“一种手写笔用于演示控制的方法及手写笔”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种手写笔用于演示控制的方法及手写笔。
背景技术
为电子设备配置手写笔,可以提升电子设备的使用体验。以电子设备是平板为例,为平板配置手写笔,则可以使用手写笔在平板上完成绘图、记笔记等操作,灵活性更强。
但是,现有的手写笔只能通过接触电子设备的屏幕来完成交互,而无法适用于演示场景中。例如,在工作会议中,需要给他人演示平板中的演示文稿,该场景下往往无法使用手写笔来灵活控制平板完成演示。
发明内容
有鉴于此,本申请提供了一种手写笔用于演示控制的方法及手写笔,可以将手写笔用于演示场景中,以控制平板、笔记本等电子设备完成演示操作。从而提高手写笔的适配场景。
第一方面,本申请实施例提供一种手写笔用于演示控制的方法,应用于手写笔。手写笔可与第一设备之间建立无线通信链路,如蓝牙链路、wifi链路等,该无线通信链路可用于传输演示控制的命令,如第一命令。在手写笔工作于手写模式的情况下,手写笔接收第一设备发送的第一信号。响应第一信号,手写笔发送第二信号,第一信号和第二信号不是通过无线通信链路发送的。第二信号可用于指示手写笔在第一设备上执行触控操作的位置信息。从而便于第一设备响应触控操作。但是,在手写模式下,手写笔不响应用户的第一操作,该第一操作用于触发第一设备执行显示光标的演示操作。也就是说,在手写模式在,手写笔只能在第一设备的屏幕上执行触控操作,而不能实现对第一设备的演示控制。
在本申请实施例中,第一事件可触发手写笔将工作模式从手写模式切换为演示模式。在第一事件之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令,以控制第一设备在第一时刻和第二时刻之间的时间段显示光标,第一操作在第三时刻开始执行,在第四时刻结束执行,第三时刻早于第一时刻,第四时刻早于第二时刻;在第二时刻之后,第一设备不显示光标。也就是说,在演示模式下,手写笔可以在检测到用户的第一操作后,控制第一设备在一段时间显示光标,从而可以有针对性的显示光标。并且,显示光标的结束时刻晚于第一操作的结束时刻,则可以方便在光标指向目标内容(如网页链接)后,留有时间使手写笔基于用户的操作控制第一设备对目标内容执行点击、标记等演示操作。但是,在第一事件之后,手写笔不响应第一信号。即,在演示模式下,手写笔不会继续向第一设备发送触控操作的相关信息, 使得第一设备无法响应触控操作。
应注意,第二信号的传输距离小于第一命令的传输距离。如此,在演示模式下,手写笔可以在距离第一设备较远的距离对第一设备进行控制;在手写模式下,手写笔只会在与第一设备靠近时才能将第二信号发送给第一设备。
综上所述,采用本申请实施例的方法,手写笔可以在手写模式和演示模式两种工作模式下,与第一设备实现不同的交互。从而可以不仅实现触控操作,还能实现对第一设备的演示控制,以控制第一设备更合理的显示光标。
在一种可能的设计方式中,上述在第一事件之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令,包括:在手写笔的笔尖朝向为第一朝向(如朝下)的情况下,手写笔检测到用户对手写笔的切换操作之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令。该切换操作用于切换手写笔的工作模式。
也就是说,采用本实施例的方法,可以在手写笔的笔尖朝向特定的朝向,且检测到用户的切换操作后,手写笔才能实现对第一设备的演示控制。即,第一事件包括手写笔的笔尖朝上、且检测到用户对手写笔的切换操作。如此,可以更准确的切换到演示模式下,避免在用户错误的执行切换操作的情况下,切换到演示模式。
上述切换操作可以是对手写笔的非按键区域的单击、多击、长按、滑动等手势,也可以是对按键的点击、双击、长按等操作。其中,按键可以是物理按键或者虚拟按键。本申请实施例对此不作具体限定。
在一种可能的设计方式中,上述在第一事件之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令,包括:手写笔检测到用户对手写笔的按键的长按操作(也可以理解为一种切换操作),且在执行长按操作的时间段内、手写笔的笔尖的移动轨迹满足预设轨迹条件之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令。
也就是说,采用本实施例的方法,可以在检测到用户对手写笔的按键的长按操作、且检测到长按操作期间笔尖的移动轨迹满足预设轨迹条件后,手写笔才能实现对第一设备的演示控制。即,第一事件包括检测到对按键的长按操作、且检测到预设轨迹的位移。如此,也可以更准确的切换到演示模式下,避免在用户错误的执行长按操作的情况下,切换到演示模式。
为了进一步更准确的切换到演示模式,手写笔还需在检测到用户对手写笔的笔身上预设区域(如前端、中端、后端)的切换操作后,才能实现对第一设备的演示控制。
在一种可能的设计方式中,上述在第一事件之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令,包括:手写笔响应用户的切换操作,播放提示语音和/或震动,以提示用户确认切换到演示模式。手写笔检测到用户的第二操作之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令。其中,第二操作用于指示用户确认切换至演示模式。例如,第二操作可以是双击操作、长按操作等。
也就是说,采用本实施例的方法,手写笔在检测到切换操作后,进一步需要提示用户确认切换到演示模式,以及需要在用户确认切换到演示模式后,手写笔才能实现对第一设备的演示控制。即,第一事件包括检测到切换操作、提示用户确认切换到演示模式、且检测到用户的确认操作。如此,可以使得工作模式的切换与用户的需求严 格匹配。
在一种可能的设计方式中,在第一事件之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令,包括:手写笔响应用户的切换操作,向第一设备发送第一通知。该第一通知用于通知第二设备提示用户确认切换为演示模式。第二设备响应于接收到该第一通知,可以弹窗显示第一提示信息、语音播报第一提示信息和/或震动,从而提示用户确认开启演示模式。例如,第一提示信息包括“点击开启演示模式”,从而提示确认开启演示模式。第一设备在检测到的确认操作后,如对第一提示信息中确认按钮的点击操作后,可以向手写笔发送第一消息,该第一消息指示用户确认切换至演示模式。手写笔在接收到来自第一设备的第一消息之后,手写笔响应第一操作,通过无线通信链路向第一设备发送第一命令。
也就是说,采用本实施例的方法,手写笔在检测到切换操作后,进一步需要通知第一设备提示用户确认切换到演示模式,以及需要在用户确认切换到演示模式后,手写笔才能实现对第一设备的演示控制。即,第一事件包括检测到切换操作、通知第一设备提示用户确认切换到演示模式、且接收到指示用户确认切换到演示模式的第一消息。如此,可以使得工作模式的切换与用户的需求严格匹配。
在一种可能的设计方式中,上述在手写笔与第一设备之间建立无线通信链路之后,方法还包括:手写笔接收来自第一设备的第二消息,第二消息是第一设备基于用户切换手写笔模式的操作发送的。第二消息用于指示手写笔切换到演示模式。其中,第一事件包括手写笔接收到第二消息。
在一种可能的设计方式中,上述在第一事件之后,方法还包括:手写笔响应第三操作,通过无线通信链路向第一设备发送第二命令,以控制第一设备改变光标的显示位置;其中,第三操作在第三时刻和第四时刻之间的时间段执行。
也就是说,在本实施例中,手写笔在控制第一设备在部分时间段内显示光标的基础上,还可以进一步控制第一设备移动光标,从而使光标指示第一设备显示的目标内容,以便第一设备对目标内容执行点击、标注等操作。
在一种可能的设计方式中,上述在第一事件后,方法还包括:在第二事件之后,手写笔响应第一信号,发送第二信号,手写笔不响应第一操作。
也就是说,采用本实施例的方法,手写笔可以响应于第二事件,将手写笔的工作模式由演示模式切回至手写模式。从而可以实现工作模式的灵活切换。
第二方面,本申请实施例提供一种手写笔用于演示控制的方法,应用于手写笔。其中,手写笔与第一设备之间建立无线通信链路。手写笔接收第一设备发送的第一信号,响应第一信号,手写笔发送第二信号,手写笔不响应用户的空鼠操作,第一信号和第二信号不是通过无线通信链路发送的。在第一事件之后,手写笔响应空鼠操作,通过无线通信链路向第一设备发送控制命令,以控制第一设备实现调出光标、移动光标、点击以及翻页中的一种功能。其中,空鼠操作可以包括前述第一方面中的第一操作、第三操作,相应的,控制命令可以包括第一命令、第二命令。空鼠操作还可以包括实施例中的第四手势、第十二操作,以用于触发手写笔控制第一设备实现点击的功能。空鼠操作还可以包括上滑手势、下滑手势,或者第十三操作、第十四操作,以用于触发手写笔控制第一设备实现翻页的功能。也就是说,在切换至演示模式后,手写 笔可以控制第一设备执行各种演示操作。但是,在第一事件之后,手写笔不响应第一信号,第二信号的传输距离小于控制命令的传输距离。
第三方面,本申请实施例还提供一种手写笔,包括:存储器和一个或多个处理器,所述存储器与所述处理器耦合;其中,所述存储器中存储有计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述手写笔执行上述第一方面、第二方面及其任一种可能的设计方式的方法。
第四方面,本申请实施例还提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在手写笔上运行时,使得所述手写笔执行如第一方面、第二方面及其任一种可能的设计方式所述的方法。
第五方面,本申请实施例还提供一种芯片系统,所述芯片系统应用于包括处理器和存储器的手写笔,所述芯片系统包括一个或多个接口电路和一个或多个处理器,所述接口电路和所述处理器通过线路互联,所述接口电路用于从所述手写笔的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令,当所述处理器执行所述计算机指令时,使得所述手写笔执行如第一方面、第二方面及其任一种可能的设计方式所述的方法。
第六方面,本申请提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面、第二方面及其任一种可能的设计方式所述的方法。
可以理解地,上述提供的第三方面所述的手写笔,第四方面所述的计算机存储介质,第五方面所述的芯片系统,第六方面所述的计算机程序产品所能达到的有益效果,可参考第一方面、第二方面及其任一种可能的设计方式中的有益效果,此处不再赘述。
附图说明
图1A为本申请实施例提供的演示场景的示意图之一;
图1B为本申请实施例提供的演示场景的示意图之二;
图1C为本申请实施例提供的演示场景的示意图之三;
图2A为本申请实施例提供的一种手写笔的硬件结构示意图;
图2B为本申请实施例提供的一种手写笔的触摸区域划分的示意图;
图2C为本申请实施例提供的一种手写笔笔尖朝向的示意图;
图2D为本申请实施例提供的手写笔充电的示意图;
图3为本申请实施例提供的手写笔用于演示控制的方法的流程示意图;
图4为本申请实施例提供的开启手写笔的演示模式的示意图之一;
图5A为本申请实施例提供的开启手写笔的演示模式的示意图之二;
图5B为本申请实施例提供的开启手写笔的演示模式的示意图之三;
图5C为本申请实施例提供的开启手写笔的演示模式的示意图之四;
图6为本申请实施例提供的开启手写笔的演示模式的示意图之五;
图7A为本申请实施例提供的开启手写笔的演示模式的示意图之六;
图7B为本申请实施例提供的开启手写笔的演示模式的示意图之七;
图7C为本申请实施例提供的开启手写笔的演示模式的示意图之八;
图8为本申请实施例提供的开启手写笔的演示模式的示意图之九;
图9为本申请实施例提供的开启手写笔的演示模式的示意图之十;
图10为本申请实施例提供的开启手写笔的演示模式的示意图之十一;
图11A为本申请实施例提供的手写笔控制第一设备显示光标的示意图之一;
图11B为本申请实施例提供的手写笔控制第一设备显示光标的示意图之二;
图12为本申请实施例提供的手写笔控制第一设备移动光标的示意图;
图13A为本申请实施例提供的手写笔控制第一设备执行点击操作的示意图之一;
图13B为本申请实施例提供的手写笔控制第一设备执行点击操作的示意图之二;
图14为本申请实施例提供的手写笔控制第一设备执行翻页操作的示意图之;
图15为本申请实施例提供的退出手写笔的演示模式的示意图之一;
图16为本申请实施例提供的退出手写笔的演示模式的示意图之二;
图17为本申请实施例提供的退出手写笔的演示模式的示意图之三;
图18A为本申请实施例提供的手写笔用于演示控制的操作提示示意图之一;
图18B为本申请实施例提供的手写笔用于演示控制的操作提示示意图之二;
图19为本申请实施例提供的一种芯片系统的结构示意图。
具体实施方式
在日常工作、学习过程中,可能需要使用激光笔来操控笔记本、平板等设备中的内容,实现向他人演示该内容的目的。与此同时,现有的手写笔通常只能通过与笔记本、平板等设备接触,以实现交互,而无法作为激光笔用于演示场景。
基于上述技术问题,本申请实施例提供一种手写笔用于演示控制的方法,可以应用于本申请实施例提供的演示系统。演示系统包括第一设备和手写笔。演示系统中的第一设备用于提供需要给他人演示的内容(可简称演示内容)。例如,在平板上演示,则平板为第一设备。或者,在笔记本上演示,则笔记本为第一设备。以及,演示系统中的手写笔用于控制第一设备对演示内容执行演示操作,如控制第一设备指示、点击演示内容中的目标内容,或者控制第一设备执行翻页操作等。该手写笔可以是与手机、平板等第二设备配套的,且用于触摸的笔。
示例性的,上述第一设备和手写笔之间可以通过蓝牙、无线保真(wireless fidelity,Wi-Fi)、近场通信(Near Field Communication,NFC)等近距离通信技术建立无线连接。本申请实施例中,通过在第一设备和手写笔之间建立无线连接,使得手写笔的操控指令可以发送给第一设备,实现对第一设备中演示内容的演示控制。
第一设备可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等可以支持演示的设备。
第一设备中的演示内容可以是演示文稿(如PPT)、文本文档(如word)、视频等,本申请实施例对此不作具体限定。下文中,将以演示内容是演示文稿为例,来说明本申请方案。
以第二设备是图1A-图1C中的平板100,手写笔是图1A-图1C中与平板100配套的手写笔101为例,下面列举几种本申请实施例适用的演示场景以及相应演示场景下的演示系统:
参见图1A,在一些场景(可记为场景1)中,如工作、学习中的小组讨论中,需要在平板100中演示。在场景1中,第一设备和第二设备为同一设备,均为平板100,平板100配套的手写笔101可以用于控制平板100完成演示操作。
参见图1B,在一些场景(可记为场景2)中,如工作会议中,需要将平板100中的演示内容投屏到投影仪102中演示。需要说明的是,在将平板、笔记本等设备中的演示内容投屏到投屏设备(如投影仪102)中演示时,投屏设备(如投影仪102)只是用于显示,而真正提供演示内容的是平板、笔记本等设备。因此,投屏演示时,第一设备并不是投屏设备(如投影仪102),而是将演示内容投屏到投屏设备(如投影仪102)中的平板、笔记本等设备(如平板100)。也就是说,在场景2中,第一设备和第二设备均为同一设备,均为平板100,平板100配套的手写笔101可以用于控制平板100完成演示操作。
在一些场景(可记为场景3)中,如远程桌面会议中,需要将平板的桌面中显示的内容共享给远程连接的设备。并且,在共享桌面时,若在桌面全屏播放演示文稿,则可能导致光标消失。此时,可使用手写笔来控制平板完成演示操作,如指示演示文稿中的内容、翻页等。从而可以在远程桌面会议并全屏播放演示文稿时,灵活的操作演示文稿并在其它远程连接的设备上共享。在该场景中,第一设备和第二设备相同,均为平板。
参见图1C,在一些场景(可记为场景4)中,需要在笔记本103中演示。在场景3中,第一设备为笔记本103,不同于第二设备,即平板100,平板100配套的手写笔101可以用于控制笔记本103完成演示操作。
在上述演示场景(如场景1、场景2、场景3、场景4)中,应用本申请实施例提供的手写笔用于演示控制的方法,第一设备可接收手写笔的控制指令,响应于控制指令,第一设备可对演示内容执行相应的演示操作,如指示、点击演示内容中的目标内容,或者执行翻页操作等。从而手写笔也可作为激光笔用于演示控制,提升了手写笔的适配场景。
参见图2A,为本申请实施例提供的一种手写笔的硬件结构示意图。如图2A所示,手写笔可以包括处理器210,内部存储器221,通用串行总线(universal serial bus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260,传感器模块280,按键290,马达291,指示器292等。
可以理解的是,本实施例示意的结构并不构成对手写笔的具体限定。在另一些实施例中,手写笔可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独 立的器件,也可以集成在一个或多个处理器中。
处理器210中还可以设置存储器,用于存储指令和数据。处理器210中的存储器可以为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。
在一些实施例中,处理器210可根据用户对手写笔执行的手势的触摸时长、触摸次数、触摸位置等手势信息,识别手势类型,手势类型可以包括长按手势、单击手势、双击手势、三击手势、上滑手势、下滑手势等。处理器210还可以根据手势类型和/或触摸位置生成相应的控制命令,以控制第一设备完成相应的演示操作。示例性的,对同一触摸区域的不同手势,可以对应不同的控制命令。或者,对不同触摸区域的相同手势,可以对应不同的触摸命令。
参见图2B,在一种具体的实现方式中,可以将手写笔从前端至末端划分为第一区域、第二区域和第三区域共3个触摸区域。相应的,处理器210可确定触摸位置所属的触摸区域,然后根据触摸区域和手势类型来生成对应的控制命令。例如,处理器210在确定出对第一区域的双击手势后,可生成向上翻页的控制命令,在确定出对第三区域的双击手势后,可生成向下翻页的控制命令。
应理解,图2B所示的手写笔的触摸区域仅为示例性的,实际实施时,可以划分数量更多或者更少的触摸区域,本申请实施例对此不作具体限定。
在另一些实施例中,处理器210可根据用户对手写笔上按键执行的操作的按压时长、按压次数等操作信息,识别操作类型,操作类型包括长按操作、单击操作、双击操作、三击操作等。处理器210还可以根据操作类型和/或操作针对的按键生成相应的控制命令,以控制第一设备完成相应的演示操作。示例性的,对相同按键的不同操作,可以对应不同的控制命令。或者,对不同按键的相同操作,也可以对应不同的控制命令。
应理解,对手写笔上按键执行的操作可以是对单个按键的按压,也可以是对多个按键同时或者先后的组合按压,本申请实施例对此不作具体限定。下文中将主要以操作是对单个按键的按压为例来说明。
至此,需要说明的是,在本文中,对手写笔的操作和手势都有长按、单击、双击或者三击等,但是操作是指对手写笔的按键的按压,手势是指对手写笔的非按键区域的触摸。并且,为了提高对手势类型和操作类型识别的准确性,可以设置时间阈值来区分长按、单击、双击或者三击。示例性的,一次按压或者触摸的持续时长超过第一预设时长(如2000毫秒),则可以识别为长按,反之,一次按压或者触摸的持续时长未超过第一预设时长(如2000毫秒),则可以识别为点击,应理解,点击可以是对按键的按压,也可以是对非按键区域的触摸。又示例性的,连续多次点击时,若相邻两次点击之间的间隔时长未超过第二预设时长(如100毫秒),则可以将该两次点击识别为同一操作或者手势。例如,用户连续两次对手写笔上按键的按压之间的时间间隔未超过100毫秒,那么可以将该两次按压识别为双击操作。又例如,用户连续三次对手写笔上按键的按压中,任意相邻两次之间的时间间隔未超过100毫秒,那么可以将该三次按压识别为三击操作。
在另一些实施例中,处理器210可根据用户操作手写笔笔尖产生的位移,计算光标在第一设备中的位移,并生成光标移动的控制命令,以控制第一设备移动光标。
在另一些实施例中,处理器210可根据手写笔笔尖的朝向,生成相应的控制命令,以控制第一设备完成相应的演示操作。
在一种具体的实现方式中,可以手写笔末端向笔尖方向延伸的射线,与重力的反方向(或者重力的方向)之间的夹角α(指小于或等于180°的夹角)来确定手写笔笔尖的朝向。参见图2C,以重力的反方向为例,α<α0,如30°,45°等,则可确定手写笔笔尖朝上。例如,α0=45°,则图2C中α=0°,15°,30°时,都可确定手写笔笔尖朝上。α>α1,如135°、150°等,则可确定手写笔笔尖朝下。例如,α1=135°,则图2C中α=180°,165°,150°时,都可确定手写笔笔尖朝下。
前述分别针对手势、操作、手写笔笔尖的位移和手写笔笔尖的朝向,说明了处理器210执行的计算处理过程。而在另一些实施例中,处理器210也可以将手势、操作、手写笔笔尖的位移和手写笔笔尖的朝向中的多项信息结合,来得到相应的控制命令。示例性的,处理器210可以在识别到手势类型或者操作类型为预设类型1(如长按类型)的基础上,进一步结合手写笔笔尖产生的位移来生成光标移动的控制命令。也就是说,在手势类型或者操作类型为预设类型1(如长按类型)的情况下,才会根据手写笔笔尖的位移来生成光标移动的控制命令。又示例性的,处理器210可以在识别到手写笔笔尖的朝向为预设朝向(如朝上)的基础上,进一步结合手势类型或者操作类型来生成相应的控制命令。
在一些实施例中,处理器210还可以根据手势、操作、手写笔笔尖的位移、手写笔笔尖的朝向、第一设备发送来的命令以及第二设备发送来的命令中的一项或多项来控制手写笔开启或者退出演示模式。手写笔处于演示模式下时,处理器210才能执行前述实施例中的计算处理过程,生成相应的控制命令,以控制第一设备完成相应的演示操作。手写笔退出演示模式后,则无法用户演示控制,而只能通过接触第一设备的屏幕来完成交互,如绘图。
内部存储器221可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处理器210通过运行存储在内部存储器221的指令,从而执行手写笔的各种功能以及数据处理。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手写笔使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
在一些实施例中,内部存储器221中存储有实现手写笔用于演示控制的方法的可执行程序代码,以实现手写笔对第一设备的演示控制。
充电管理模块240用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些实施例中,充电管理模块240可以通过USB接口230接收有线充电器的充电输入。在一些实施例中,充电管理模块240可以通过手写笔的无线充电线圈接收无线充电输入。手写笔无线充电的具体实现包括以下几种:
实现一,手写笔吸附在第二设备上充电。示例性的,第二设备是图2D中的(a)所示的平板100,手写笔是图2D中的(a)所示的手写笔101,手写笔101吸附在平板100上,则可以实现对手写笔101充电。
实现二,手写笔吸附在充电棒上,并且充电棒连接电源,从而实现对手写笔充电。示例性的,充电棒是图2D中的(b)所示的充电棒201,手写笔是图2D中的(b)所示的手写笔101,手写笔101吸附在充电棒201上,然后通过数据线202连接电源,如图2D中的(b)所示的平板100的USB接口230,从而实现对手写笔101充电。
实现三,手写笔插入键盘的收纳孔中充电。示例性的,键盘是图2D中的(c)所示的键盘204,手写笔是图2D中的(c)所示的手写笔101,在键盘204的转轴处设置有收纳孔205,手写笔101插入收纳孔205中,则可以实现对手写笔101充电。
应理解,上述所列的手写笔无线充电的实现方式仅为示例性的,实际实施时并不以此为限。
另外,充电管理模块240为电池242充电的同时,还可以通过电源管理模块241为手写笔供电。
电源管理模块241用于连接电池242,充电管理模块240与处理器210。电源管理模块241接收电池242和/或充电管理模块240的输入,为处理器210,内部存储器221和无线通信模块260等供电。
手写笔的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。在一些实施例中,手写笔的无线通信模块260提供蓝牙、Wi-Fi、NFC等近距离无线通信功能,使手写笔可与第一设备建立近距离通信,完成控制指令的传输。
传感器模块280可以采集以下信息中的一项或者多项:用户对手写笔执行的手势的手势信息(如触摸位置、触摸时长、触摸次数等);用户对手写笔上按键执行的操作的操作信息(如按压针对的按键、按压时长、按压次数等);手写笔的加速度、角速度和/或位移;手写笔的朝向;以及,手写笔的移动轨迹。应理解,传感器模块280可以包括能够直接或间接采集上述一项或多项信息的至少一种传感器,本申请实施例对此不作具体限定。例如,加速度传感器可以直接采集到加速度,同时,对加速度求一次积分可以得到速度,对速度再求一次积分可以得到位移。也就是说,加速度传感器也可以间接采集到位移。
在一些实施例中,传感器模块280可以包括压力传感器280A。压力传感器280A用于感受压力信号,可以将压力信号转换成电信号。压力传感器280A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。当有手势作用于手写笔,或者有操作作用于按键时,手写笔根据压力传感器280A检测到的信号,可以计算得到手势信息(如触摸位置、触摸时长、触摸次数等)或者操作信息(如按压针对的按键、按压时长、按压次数等)。
在一些实施例中,传感器模块280可以包括陀螺仪传感器280B。陀螺仪传感器280B可以采集手写笔围绕三个轴(即,x,y和z轴)的角速度。
在一些实施例中,传感器模块280可以包括加速度传感器280E。加速度传感器280E可检测手写笔在各个方向上(一般为三轴)的加速度。
在一种具体的实现方式中,陀螺仪传感器280B和加速度传感器280E结合,可用于确定出手写笔在空间中位置变化的特性,例如,手写笔的位移、手写笔的朝向等。
按键290可以是机械按键,也可以是触摸式按键。手写笔可以接收按键输入,产生与手写笔的用户设置以及功能控制有关的键信号输入。其中,按键输入可以包括长按、单击、双击、三击等输入。不同的按键输入可对应不同的控制指令,用于控制第一设备执行不同的演示操作。
马达291可以产生振动提示。马达291可以用于触摸振动反馈。作用于手写笔不同区域的触摸手势或者作用于同一区域的不同触摸手势,马达291可对应不同的振动反馈效果。
指示器292可以是指示灯,可以用于指示充电状态,电量变化等。
参见图3,本申请实施例提供的手写笔用于演示控制的方法,主要包括三个过程:过程1,开启手写笔的演示模式(也可以称为演示翻页笔模式、翻页笔模式空鼠模式)。过程2,利用手写笔控制第一设备执行演示操作。以及过程3,退出手写笔的演示模式。下面将针对该三个过程分别说明。
过程1,开启手写笔的演示模式。在手写笔的操作系统中,如轻量级物联网操作系统(LiteOS)中,维护有两套工作模式:手写模式和演示模式。
在手写模式下,只能通过手写笔笔尖与第二设备接触来完成交互,例如,完成绘图、书写等。具体地,第二设备在亮屏的情况下,可以周期性的(如60HZ、90HZ、120HZ等)发送第一信号。第一信号为方波信号或者基带信号。该第一信号用于触发手写笔向第二设备发送手写笔对第二设备的屏幕的触控操作的位置信息和压力信息。并且,第一信号的传输距离通常小于预设距离,如20mm、30mm等。在手写笔的笔尖与第二设备的屏幕之间的距离小于预设距离时,则可以接收到来自第二设备的第一信号。响应该第一信号,手写笔可以发送第二信号。第二信号也是方波信号或者基带信号。该第二信号可用于指示触控操作的位置信息。应注意,上述第一信号和第二信号都不是通过无线通信链路(如蓝牙链路、wifi链路等)传输的。以及,响应该第一信号,手写笔还可以发送第三信号。第三信号用于指示触控操作的压力信息。与上述第二信号不同的是:第三信号通常是通过无线通信链路传输的。也就是说,在第二设备和手写笔之间需要建立无线通信链路。如此,第二设备才能获取到来自手写笔的第二信号和第三信号,从而可以确定出位置信息和压力信息,然后响应触控操作。
但是,在手写模式下,手写笔无法通过蓝牙通信链路向第一设备发送控制命令,以控制第一设备执行演示操作。
在演示模式下,手写笔才可以生成控制命令,并通过无线通信链路向第一设备发送控制命令,以控制第一设备执行演示操作。也就是说,在开启演示模式后,手写笔才能作为激光笔,用于演示控制。
示例性的,手写笔的操作系统中记录有标志位,当该标记位的值为第一值(如第一值为0)时,则指示手写笔当前所处的工作模式为手写模式。当该标记位的值为第二值(如第二值为1)时,则指示手写笔当前所处的工作模式为演示模式。相应的,开启手写笔的演示模式可以是修改标记位的值为第二值。
应理解,在演示模式下,手写笔可能要在距离第一设备较远的距离对第一设备进 行控制;在手写模式下,手写笔通常只会在与第二设备靠近时才会实现触控,例如,向第二设备发送第二信号。那么,控制命令的传输距离通常要大于第二信号的传输距离。
开启演示模式的方式可以包括利用第二设备中开启演示模式(可记为方式一)、手写笔响应于第一手势开启演示模式(方式二)、手写笔响应于第四操作开启演示模式(方式三)、智能开启(方式四)、以及手写笔和不同于第二设备(如图1C中的平板100)的第一设备(如图1C中的笔记本103)建立连接触发开启演示模式(方式五)中的一种或多种。
上述方式一至方式四主要适用于第一设备和第二设备相同的演示场景中,如前文图1A所示的场景1、图1B所示的场景2以及场景3中。下面将详细说明方式一至方式四的具体实现:
方式一,利用第二设备开启演示模式。
第二设备中提供有第一控件,第一控件用于触发切换手写笔的工作模式。示例性的,第二设备是图4中的平板,平板的设置中包括辅助功能设置项,辅助功能设置项下包括子设置项401。平板响应于用户对子设置项401的选择操作,可显示界面402,界面402为演示模式的设置页。界面402中包括按钮403,按钮403用于触发切换手写笔的工作模式,即按钮403是第一控件。
第二设备可接收用户对第一控件的第五操作(也可以称为切换手写笔模式的操作)。该第五操作可以是长按、点击(如单击、双击等)或者滑动(如上滑、下滑)等操作,本申请实施例对此不作具体限定。第二设备响应于第五操作,可向手写笔发送第二消息,第二消息指示手写笔切换工作模式。手写笔响应于接收到第二消息,可切换工作模式。其中,若手写笔当前的工作模式为手写模式,则可切换到演示模式。
示例性的,以第一控件是图4所示的界面402中的按钮403,第五操作是点击操作为例,那么,平板响应于用户对界面402中按钮403的点击操作,可向平板配套的手写笔发送第二消息。手写笔接收到第二消息后,则可切换工作模式。假设手写笔当前的工作模式为手写模式,则可切换到演示模式。
进一步的,第一控件还可以指示手写笔是否开启演示模式。第一控件处于第一状态,则指示手写笔未开启演示模式。第一控件处于第二状态,则指示手写笔已开启演示模式。基于此,在一些实施例中,手写笔在切换工作模式后,还可向第二设备发送第二通知,第二通知指示已成功切换工作模式。第二设备响应于接收到第二通知,可切换第一控件的状态。若第一控件当前处于第一状态,则切换到第二状态;若第一控件当前处于第二状态,则切换到第一状态。从而使第一控件的状态与手写笔所处的工作模式保持一致。
示例性的,第一控件包括图4所示的界面402中的按钮403和界面404中的按钮403。平板可显示界面402,界面402中的按钮403处于第一状态,指示手写笔未开启演示模式。在该情况下,手写笔从手写模式切换到演示模式后,可向平板发送第二通知。平板响应于接收到第二通知,可显示界面404,界面404中的按钮403处于第二状态,指示手写笔已开启演示模式。
应理解,虽然本文仅在过程1的方式一中说明了第一控件的切换状态的内容。但 是下文中,凡是在手写笔切换工作模式后,都可以向第二设备发送第二通知,以触发第二设备切换第一控件的状态。下文中将不再赘述。
上述图4所示的第一控件的显示位置仅为示例性的,实际实施时,并不以此为限。例如,第一控件还可以显示在第二设备的下拉通知栏界面中。又例如,第一控件还可以显示在负一屏中。
方式二,手写笔响应于第一手势(也可以称为切换操作)开启演示模式。该第一手势可以是长按、单击、双击或者三击等手势。切换操作是指触发手写笔将工作模式切换为演示模式的操作,下文中相同。下面将主要以第一手势是双击手势为例来说明。
在用户触摸手写笔的非按键区域后,手写笔可采集到手势信息,然后识别出手势类型。若手写笔识别出为双击手势,且手写笔当前的工作模式为手写模式,手写笔可将工作模式切换为演示模式。
在一些实施例中,双击手势可以是用户在手写笔朝向任意方位时的双击手势,或者,该双击手势可以是用户对手写笔的任意位置的双击手势。
在日常使用手写笔的场景中,手写笔的笔尖通常都不会朝上,关于朝上的定义,可参见前文关于图2C的相关说明,此处不再赘述,下文中也相同。以第二设备是平板为例,在一些场景中,将平板平放在平面(如桌面)上,并使用手写笔笔尖与平板接触完成交互时,如绘画时,手写笔的笔尖通常是朝下的,而不是朝上的。在另一些场景中,使用支撑装置(如平板保护套)将平板立放在平面(如桌面)上,并使用手写笔笔尖与平板接触完成交互时,手写笔的笔尖通常是向下倾斜的,也不是朝上的。在另一些场景中,在不使用手写笔时,将手写笔放置在平面(如桌面)或者吸附在平板上时,手写笔的笔尖通常也不是朝上的。
基于此,在另一些实施例中,为了避免在用户日常使用手写笔过程中对手写笔执行双击手势后,错误的开启演示模式,触发开启演示模式的双击手势是指在手写笔笔尖朝上时的双击手势。因此,手写笔在识别到双击手势,且手写笔当前的工作模式为手写模式的情况下,还需要确定手写笔笔尖的朝向是否朝上。若手写笔笔尖朝上,手写笔才将工作模式切换为演示模式。从而可以提高开启演示模式的准确性。
示例性的,在手写笔的工作模式为手写模式的情况下,如图5A中的(a)所示,用户将手写笔笔尖朝上,并对手写笔执行双击手势,手写笔则可将手写笔的工作模式切换为演示模式。在手写笔的工作模式为手写模式的情况下,如图5A中的(b)所示,用户在使用手写笔书写的过程中,手写笔笔尖并未朝上,若用户对手写笔执行双击手势,手写笔不会将工作模式切换为演示模式。
应理解,实际实施时,本领域技术人员可以根据实际需求灵活设置在手写笔笔尖的朝向为第一朝向的情况下,才允许切换至演示模式。其中,第一朝向可以为朝上、朝下、朝左、朝右等。
为了满足用户对手写笔的各种使用需求,手写笔上的不同触摸区域的手势可对应实现不同的功能。关于手写笔的触摸区域的划分,可参见前文关于图2B及其相关内容的说明,此处不再赘述,下文中也相同。
基于此,在另一些实施例中,双击手势是指对手写笔的第一预设区域的双击手势,第一预设区域可以为手写笔的前端(如图2B中的第一区域)、中端(如图2B中的第 二区域)或者后端(如图2B中的第三区域)。也就是说,手写笔在识别到双击手势,且手写笔当前的工作模式为手写模式的情况下,还需要确定双击手势的触摸位置是否在第一预设区域内。若双击手势的触摸区域在第一预设区域内,手写笔才将工作模式切换为演示模式。从而可以提高开启演示模式的准确性。
关于方式二,需要在此说明的是,手写笔检测用户对手写笔的触控手势是一个持续的动作。若在手写笔处于手写模式的情况下,持续检测用户对手写笔的触控手势,以触发开启演示模式,则导致手写笔的功耗损耗较高。基于此,在一些实施例中,在手写笔处于手写模式的情况下,手写笔可以在检测到用户对按键的第一预设操作,或者在检测到手写笔的朝向为第二朝向后,才触发开始对触控手势的检测,响应于检测到第一手势,则开启演示模式。从而可以节省手写笔的功耗。
方式三、手写笔响应于第四操作(也可以称为切换操作)开启演示模式。第四操作具体可以是长按、单击、双击或者三击等操作。下面将主要以第四操作是长按操作为例来说明。
在用户按压手写笔的按键后,手写笔可采集到操作信息(如按压针对的按键、按压时长、按压次数等),然后识别出操作类型。若手写笔识别出为长按操作,且手写笔当前的工作模式为手写模式的情况下,手写笔可将工作模式切换为演示模式。
示例性的,手写笔上有如图5B所示的一个按键,手写笔识别到用户对该按键执行如图5B所示的长按操作,且手写笔当前的工作模式为手写模式的情况下,手写笔可将工作模式切换为演示模式。
手写笔的主要功能是手写功能,按键存在的意义并不大,因此手写笔上设置的按键通常非常有限。例如,手写笔上仅设置了一个按键,若对该按键长按,可触发手写笔开机;若对该按键单击,则触发手写笔关机;若对该按键双击,可触发手写笔发蓝牙广播。应理解,虽然三击、四击等点击操作也可以用于实现对应的功能,但是点击的次数越多,越不方便操作,实际中通常不会使用。因此,在一些场景中,用户对手写笔上的按键的第四操作,极有可能和实现其他功能的操作存在冲突。例如,第四操作是长按操作,则会与触发手写笔开机的操作冲突。
基于此,在另一些实施例中,可以在第四操作(如长按操作)的基础上,结合手写笔(如手写笔笔尖)的移动轨迹来触发开启演示模式。相应的,手写笔在识别出第四操作,且手写笔当前的工作模式为手写模式的情况下,需要进一步确定在用户对手写笔的按键执行第四操作的时段内中,手写笔的第一移动轨迹是否满足预设轨迹条件。若第一移动轨迹满足预设轨迹条件,手写笔才将工作模式切换为演示模式。若第一移动轨迹不满足预设轨迹条件,手写笔则不能将工作模式设置为演示模式。其中,预设轨迹条件可以是第一预设轨迹为圆圈形状或者“Z”字形等预设形状。如此,可以避免功能冲突。从而手写笔可以准确进行响应。
以第四操作是长按操作,预设轨迹条件为第一移动轨迹是“Z”字形为例,手写笔上有如图5C所示的一个按键。在手写笔当前的工作模式为手写模式的情况下,手写笔识别到用户对该按键执行如图5C所示的长按操作,并检测到长按操作期间,手写笔的第一移动轨迹为如图5C所示的“Z”字形,即满足预设轨迹条件,则手写笔可将工作模式切换为演示模式。
在一些场景中,用户对手写笔的第一手势或者用户对手写笔上按键的第四操作可能只是用户的误操作,并不意味着用户有开启演示模式的意图。
基于此,在一些实施例中,在上述方式二或者方式三中,手写笔在将工作模式切换为演示模式之前,向第二设备发送第一通知。该第一通知用于通知第二设备提示用户确认切换为演示模式。第二设备响应于接收到该第一通知,可以弹窗显示第一提示信息、语音播报第一提示信息和/或震动,从而提示用户确认开启演示模式。其中,第一提示信息用于提示用户确认开启演示模式。示例性的,第一提示信息是图6中的提示601,提示601中的提示内容包括“点击开启演示模式”,从而提示确认开启演示模式。
第二设备可接收用户对第一提示信息的第十六操作。第十六操作用于触发开启演示模式。第二设备响应于第十六操作,可向手写笔发送第一消息,第一消息指示确认切换至演示模式。手写笔响应于接收到第一消息,可将工作模式切换为演示模式。
在一种具体的实现方式中,第十六操作可以是用户对第一提示信息的点击操作或者长按操作。示例性的,第一提示信息是图6中的提示601,第十六操作可以是用户手指或者手写笔对提示601的点击操作。
在另一种具体的实现方式中,第一提示信息中包括第一选项和第二选项,第一选项用于触发开启演示模式,第二选项用于触发取消开启演示模式,第十六操作可以是对第一选项的选择操作。示例性的,第一提示信息是图6中的提示602,第一选项是提示602中的“开启”按钮6021,第二选项是提示602中的“不再提醒”按钮6022。第十六操作可以是用户对“开启”按钮6021的选择操作。
在另一些实施例中,在上述方式二或者方式三中,手写笔在将工作模式切换为演示模式之前,手写笔可以播放提示语音或者震动,以提示用户确认切换至演示模式。然后,手写笔检测在提示用户确认切换至演示模式后的预设时间段内,用户对手写笔的操作或者手势。手写笔响应于检测到第二预设操作或者第二预设手势(可统称为第二操作),才将工作模式切换为演示模式。
方式四,智能开启。在手写笔当前的工作模式为手写模式的情况下,若第二设备检测到当前存在演示需求时,则第二设备可以自动向手写笔发送第三消息,该第三消息用于指示手写笔开启演示模式。从而实现智能开启演示模式。
演示需求通常出现在PPT、WPS等预设应用中。基于此,在一些实施例中,第二设备可以检测第二设备当前在前台运行的第一应用是否为预设应用,若第一应用为预设应用,则第二设备可以向手写笔发送第三消息。
进一步的,演示需求出现在预设应用的预设使用场景下,例如,该预设使用场景是全屏播放幻灯片的场景中。应理解,在运行预设应用的过程中,预设应用在接收到用户的特定操作(可记为第六操作)后,才能进入预设使用场景。以预设应用是PPT为例,第六操作可以是用户对全屏播放幻灯片的控件的点击操作,PPT应用在接收到用户对全屏播放幻灯片的控件的点击操作后,才可以进入全屏播放幻灯片的场景。基于此,在一些实施例中,在第一应用是预设应用的情况下,第二设备响应于接收到第六操作,可以进入预设使用场景,并且还可以显示向手写笔发送第三消息。以第二设备是图7A中的平板,预设应用是平板中的PPT应用,全屏播放幻灯片的控件是图7A 中的按钮701为例,在手写笔当前的工作模式为手写模式的情况下,平板响应于用户对按钮701的点击操作,一方面可以显示图7A中的界面702,界面702中全屏显示有第一页PPT,即进入全屏播放幻灯片的场景。另一方面,平板可以向手写笔发送第三消息,以指示手写笔将工作模式切换为演示模式。
演示需求也可能出现在将第二设备中的内容投屏到投屏设备的场景。基于此,在一些实施例中,第二设备可以检测第二设备是否连接投屏设备。响应于检测到第二设备连接投屏设备,第二设备则可以向手写笔发送第三消息。以第二设备是图7B中的平板,投屏设备是图7B中的投影仪为例,在手写笔当前的工作模式为手写模式的情况下,平板响应于检测到平板连接到投影仪,平板则可以向手写笔发送第三消息。
进一步的,第二和设备对演示需求的检测结果可能存在偏差。例如,第二设备检测到存在演示需求,但是实际上用户可能并不存在演示需求。基于此,在一些实施例,第二设备在检测到存在演示需求之后,且在向手写笔发送第三消息之前,先显示第二提示信息,第二提示信息用于提示确认开启演示模式。后续,第二设备可接收用户对第二提示信息的第七操作,第七操作用于触发确认开启演示模式。第二设备响应于第七操作,才向手写笔发送第三消息。从而可以提升智能开启演示模式的准确性。其中,第二提示信息与前文第一提示信息类似,具体可参见前文关于第一提示信息的说明,此处不再赘述。第七操作也与前文第十六操作类似,具体可参见前文关于第十六操作的说明,此处也不再赘述。下面仅以图7C为例,来说明本实施例的具体实现。
以第二设备是图7C中的平板,预设应用是平板中的PPT应用,全屏播放幻灯片的控件是图7C中的按钮721为例,在手写笔当前的工作模式为手写模式的情况下,平板响应于用户对按钮721的点击操作,可以显示图7C中的界面722,界面722中全屏显示有第一页PPT,即进入全屏播放幻灯片的场景。并且在界面722中还显示有提示723,提示723中的提示内容包括“是否开启演示模式”,从而可以提示确认开启演示模式。即提示723是第二提示信息。提示723中包括“开启”按钮,第七操作可以是对“开启”按钮的点击操作。平板响应于用户对提示723中“开启”按钮的点击操作,才会向手写笔发送第三消息。
前述已完成了对方式一至方式四的说明,下面将开始方式五的说明。方式五主要适用于第一设备和第二设备不同的演示场景中,如前文图1C所示的场景4。
方式五,手写笔和不同于第二设备(如图1C中的平板100)的第一设备(如图1C中的笔记本103)建立连接触发开启演示模式。采用方式五,在手写笔当前的工作模式为手写模式的情况下,若手写笔检测到手写笔和异于第二设备的第一设备建立连接后,手写笔则可将工作模式切换为演示模式。
在一些实施例中,可以通过NFC、射频识别技术(Radio Frequency Identification,RFID)等近距离无线通信技术来建立第一设备和手写笔的无线连接。
在另一些实施例中,可以通过蓝牙建立第一设备和手写笔的无线连接。应理解,建立蓝牙连接的前提是需要手写笔发蓝牙广播,手写笔发蓝牙广播后,若第一设备和手写笔之间的距离在蓝牙通信距离范围内,第一设备可以接收到手写笔发的蓝牙广播,即可以发现手写笔。如,在蓝牙设备列表中显示手写笔选项。然后第一设备才能自动或者通过用户手动建立和手写笔的蓝牙连接。
为了方便第一设备可以搜索到手写笔,手写笔可以一直发蓝牙广播。但是,一直发送蓝牙广播,会导致手写笔的功耗较大。基于此,在一种具体的实现方式中,手写笔响应于第三事件,开始发蓝牙广播,并且响应于第四事件,结束发蓝牙广播。从而可以降低手写笔的功耗。
第三事件可以是用户对手写笔的第二手势,该第二手势可以与第一手势相同,也可以不同。手写笔响应于该第二手势,开始发蓝牙广播。或者,第三事件可以是用户对手写笔上按键的第八操作,该第八操作可与第四操作相同,也可与第四操作不同。手写笔响应于该第八操作,开始发蓝牙广播。
或者,第二设备中提供有第二控件,第三事件可以是用户对第二控件的第九操作,如长按、点击等操作。其中,第二控件可与前文中的第一控件为同一控件,也可与第一控件为不同的控件。若第二控件与第一控件为同一控件,那么第九操作可以是前文中的第五操作。第二设备可接收用户对第二控件的第九操作,响应于第九操作,第二设备可向手写笔发送第四消息。该第四消息指示手写笔发送蓝牙广播。手写笔响应于接收到第四消息,可开始发送蓝牙广播。
以第一设备是图8中的平板100,手写笔是图8中的手写笔101,第二设备是图8中的笔记本103,第三事件是用户对第二控件的第七操作,并且第二控件与第一控件相同,为图8所示的平板100显示的界面801中的按钮802,第九操作是点击操作为例。平板100响应于用户对界面801中按钮802的点击操作,可向手写笔101发送第四消息。手写笔101响应于接收到第四消息,则可开始发蓝牙广播。并且,笔记本103响应于用户对界面803中的按钮804,即添加蓝牙设备的控件的点击操作,可显示对话框805,对话框805中可以显示笔记本103搜索到的蓝牙设备。在手写笔101开始发蓝牙广播之后,当笔记本103和手写笔101之间的距离在蓝牙通信距离范围内,则对话框805中可以显示手写笔101的选项,如选项806。然后,可以在笔记本103中建立笔记本103和手写笔101的蓝牙连接。
其中,第四事件可以与上述第三事件对应,示例性的,第三事件是双击手势,则第四事件也可以是双击手势。手写笔接收到一次双击手势,则可以开始发蓝牙广播,手写笔再次接收到双击手势,则可以结束发蓝牙广播。或者,第四事件也可以与第三事件不对应,例如,第三事件是双击手势,第四事件是长按手势。或者,第四事件可以是手写笔发蓝牙广播的持续时长达到第三预设时长的事件,如第三预设时长是5分钟。
实际中,有一些用户对手写笔的使用比较单一,仅将手写笔用于手写,而不希望手写笔用于演示控制。针对这种用户,若采用上述方式一至方式五中的任一种方式识别到需要开启演示模式,通常也不代表用户的真实意图。
基于此,在一些实施例中,在第二设备中提供第三控件,第三控件用于触发第二设备切换演示功能的开关状态。第二设备可接收用户对第三控件的第十操作。该第十操作可以是长按、点击(如单击、双击等)或者滑动(如上滑、下滑等)等操作,本申请实施例对此不作具体限定。响应于第十操作,第二设备可更新演示功能的开关状态。只有在演示功能为开启状态的情况下,才能表明用户允许将手写笔用于演示场景,后续才可以采用上述方式一至方式五来开启演示模式。从而可以提升开启演示模式的 准确性。
示例性的,第二设备是图9中的平板,平板的设置中包括辅助功能设置项,辅助功能设置项下包括子设置项901。平板响应于用户对子设置项901的选择操作,可显示界面902,界面902为演示模式的设置页。界面902中包括按钮903,按钮903用于触发第二设备切换演示功能的开关状态,即按钮903是第三控件。并且,按钮903指示演示功能当前处于关闭状态。以第十操作是用户对按钮903的点击操作为例,那么,平板响应于用户对按钮903的点击操作,可以显示图9中的界面904,界面904中包括按钮905,按钮905同样可以用于触发第二设备切换演示功能的开关状态,即按钮905也是第三控件。但是,与按钮903不同的是:按钮905指示演示功能当前处于开启状态。也就是说,响应于用户对按钮903的点击操作,第二设备将演示功能的开关状态从关闭状态更新为开启状态。
相应的,在本实施例中,在采用上述方式一至方式五,手写笔将工作模式切换为演示模式之前,还需要确定演示功能是否开启。若手写笔确定已开启演示功能,才可以进一步将工作模式切换为演示模式。在一种具体的实现方式中,手写笔在将工作模式切换为演示模式前,可以向第二设备查询演示功能的开关状态。若查询到演示功能处于开启状态,则可开启演示模式。在另一种具体的实现方式中,手写笔可以记录演示功能的开关状态。第二设备更新演示功能的开关状态后,可以向手写笔发送第三通知。第三通知用于通知手写笔同步演示功能的开关状态。手写笔响应于接收到第三通知,则可同步演示功能的开关状态,使手写笔中记录的演示功能的开光状态与第二设备中更新后的演示功能的开关状态保持一致。
另外,在本实施例中,在演示功能的开关状态为开启状态的情况下,第二设备可以显示可操作的第一控件,从而方便采用方式一来开启演示模式。在演示功能的开关状态为关闭状态的情况下,第二设备则不显示可操作的第一控件,如不显示第一控件、或者显示不可操作的第一控件。
示例性的,平板可以显示图9所示的界面904,界面904中的按钮905是第三控件,且按钮905指示演示模式当前处于开启状态。即,演示功能的开关状态为开启状态。此时,界面904中还可以包括设置项906,设置项906中包括可操作的按钮907,该按钮907用于触发切换演示模式。即,显示可操作的第一控件。
又示例性的,平板可以显示图9所示的界面902,界面902中的按钮903是第三控件,且按钮903指示演示模式当前处于关闭状态。即,演示功能的开关状态为开启状态。此时,界面902中包括设置项906,但是设置项906是置灰的,且不包括按钮907。即,不显示可操作的第一控件。
在采用上述方式一至方式五开启演示模式后,手写笔可以语音播放第三提示信息,或者通过震动,从而提示用户已开启演示模式。或者,手写笔在将工作模式切换为演示模式后,可以向第一设备和/或第二设备发送第四通知,第四通知用于通知第一设备和/或第二设备提示用户已开启演示模式。第一设备和/或第二设备响应于接收到第四通知,可以弹窗显示第三提示信息、语音播报第三提示信息和/或震动,从而提示用户已开启演示模式。例如,第一设备是图10中的平板,第三提示信息可以是图10中平板显示的提示1001,提示1001中包括提示内容“已开启演示模式”,从而提示已开启 演示模式。
为了方便说明,可以将前述方式一至方式五中触发开启演示模式的事件称为第一事件。例如,第一事件为手写笔检测到用户对手写笔的第一手势、第四操作(如长按操作)等切换操作。又例如,第一事件为接收到来自第二设备的第二消息。
过程2,利用手写笔控制第一设备执行演示操作。在手写笔处于演示模式(如标志位的值为第二值)下,手写笔可以响应于用户对手写笔的手势、操作、移动等事件,向第一设备发送控制命令,以控制第一设备执行演示操作。而在手写笔处于手写模式(如标志位的值第一值)下,手写笔可以不检测上述事件,如不检测用户对手写笔的手势,从而不会向第一设备发送相应的控制命令,则无法控制第一设备执行演示操作。或者,在手写笔处于手写模式(如标志位的值第一值)下,手写笔可以检测上述事件,但是响应于检测到这些事件,并不会向第一设备发送相应的控制命令,则也无法控制第一设备执行演示操作。
其中,演示操作主要包括显示光标、移动光标、点击操作、标记操作、放大操作和翻页操作中的一种或多种。下面将主要针对光标显示操作、光标移动操作、点击操作和翻页操作来说明过程2的具体实现。
演示操作一,显示光标。即,在第一设备的显示界面上显示光标,该光标可用于指向第一设备的屏幕中显示的内容。
在一些实施例中,手写笔将工作模式切换为演示模式后,可以基于用户对手写笔的第三手势(也可以称为第一操作)来控制第一设备显示光标。其中,第三手势可以是长按、单击、双击、三击等手势。下面将主要以第三手势是长按手势为例来说明。
在用户触摸手写笔的非按键区域后,手写笔可采集到手势信息(如触摸位置、触摸时长、触摸次数等),然后识别出手势类型。若手写笔识别出为长按手势,且手写笔当前的工作模式为演示模式,手写笔可以向第一设备发送第一控制命令(也可以称为第一命令)。该第一控制命令用于控制第一设备显示光标。第一设备响应于接收到第一控制命令,可以在显示界面中显示光标。
示例性的,第一设备是图11A中的平板,平板可以显示界面1101。手写笔在识别到长按手势,且手写笔当前的工作模式为演示模式的情况下,则可以向平板发送第一控制命令。平板响应于接收到第一控制命令,可以显示界面1102,界面1102中包括光标1103。
另外,该长按手势可以是对手写笔的任意位置的长按手势,也可以是对手写笔的第二预设区域(如前端、中端或者后端)的长按手势。具体可参见前文关于第一手势的相关说明,此处不再赘述。
在另一些实施例中,手写笔将工作模式切换为演示模式后,可以基于用户对手写笔上按键执行的第十一操作(也可以称为第一操作)来控制第一设备显示光标。该第十一操作可以是长按、单击、双击、三击等操作。下面将主要以第十一操作是长按操作为例来说明。
在用户按压手写笔的按键后,手写笔可采集到操作信息(如按压针对的按键、按压时长、按压次数等),然后识别出操作类型。若手写笔识别出为长按操作,且手写笔当前的工作模式为演示模式的情况下,手写笔可以向第一设备发送第一控制命令。 该第一控制命令用于指示第一设备显示光标。第一设备响应于接收到第一控制命令,可以在显示界面中显示光标。
示例性的,第一设备是图11B中的平板,平板可以显示界面1111,手写笔在识别到长按操作,且手写笔当前的工作模式为演示模式的情况下,则可以向平板发送第一控制命令。平板响应于接收到第一控制命令,可以显示界面1112,界面1112中包括光标1113。
在手写笔本次开启演示模式后,第一设备响应于首次接收到第一控制命令,可以在显示界面的预设位置处首次显示光标。该预设位置可以是显示界面的中心点,左上角,右上角等位置。
在一些实施例中,在首次显示光标后,光标会长显于显示界面中,直至退出演示模式时才会消失。从而方便随时指向显示界面中相应的内容。
在另一些实施例中,在当前时间距离第三手势或者第十一操作的结束时刻的时长达到第四预设时长,如5秒、10秒等,第一设备可以停止显示光标。如此,可以有针对性的显示光标。并且,预留第四预设时长,可以方便在光标指向目标内容(如网页链接)后,通过手写笔控制第一设备对目标内容执行点击、标记等演示操作。
示例性的,手写笔在检测到第三手势或者第十一操作后,则可以向第一设备发送第一控制命令,以控制第一设备开始显示光标。然后,手写笔在检测到第三手势或者第十一操作结束后,则可以向第一设备发送第六通知。第六通知用于指示第三手势或者第十一操作的结束时间。第一设备响应于接收到第六通知,可以在距离接收到第六通知时的时长达到第四预设时长时,停止显示光标。
又示例性的,手写笔在检测到第三手势或者第十一操作后,则可以向第一设备发送第一控制命令,以控制第一设备开始显示光标。然后,手写笔可以周期性的检测第三手势或者第十一操作是否结束。若未结束,则继续向第一设备发送第一控制命令,以控制第一设备继续显示光标。若已结束,则不再向第一设备发送第一控制命令。第一设备在未接收到第一控制命令的持续时长超过第四预设时长时,则停止显示光标。
也就是说,若第三手势或者第十一操作在第三时刻开始执行,在第四时刻结束执行,则第一设备在接收到第一控制命令之后,可以在第一时刻和第二时刻之间的时间段显示光标,在第二时刻之后,第一设备则不显示光标。其中,第三时刻早于第一时刻,第四时刻早于第二时刻。
在本实施例中,光标消失后,第一设备响应于再次接收到第一控制命令,在上一次光标消失的位置处显示光标。
在另一些实施例中,光标会长显于显示界面中,但是,在当前时间距离第三手势或者第十一操作的结束时长达到第四预设时长前,以第一样式(如彩色样式)显示光标,第一样式可以指示光标是有效的,即可移动的。在当前时间距离第三手势或者第十一操作的结束时长达到第四预设时长后,以第二样式(如灰色样式)显示光标,第二样式可以指示光标是无效的,即不可移动的。如此,不仅可以使光标随时指向显示界面中的内容,还可以使用户明确光标的状态。
演示操作二,移动光标。即,在第一设备移动光标的显示位置,使光标移动到目标内容上,从而指向该目标内容。
手写笔在用户对手写笔执行第三手势或者对手写笔上按键执行第十一操作的过程中(如第三时刻至第四时刻的时间段内),如用户移动手写笔(也可以称为第三操作)会改变手写笔在空间中的位置,手写笔可采集手写笔的第一位移,并根据该第一位移计算光标在第一设备上的第二位移。然后,手写笔向第一设备发送第二控制命令(也可以称为第二命令),第二控制命令中携带第二位移,用于指示第一设备控制光标移动第二位移,即控制第一设备改变光标的显示位置。
以第三手势是长按手势,第一设备是图12中的平板为例,平板可显示界面1201,界面1201的A’处显示有光标,A’离界面1201中的视频较远。在用户对手写笔执行长按手势的过程中,手写笔采集到手写笔笔尖从图12中的A点移动到B点。即第一位移是A点到B点的位移。对应笔尖从A点到B点的位移,手写笔可计算得到光标的第二位移,如(x0,y0)。然后,手写笔向第一设备发送指示第一设备将光标移动(x0,y0)的第二控制命令。第一设备响应于接收到第二控制命令,可以显示界面1202,界面1202中的B’处显示有光标,B’离界面1202中的视频较近。也就是说,在用户对手写笔执行长按手势的过程中,随着用户将手写笔笔尖由A点移动到B点,第一设备可以对应将光标从界面中的A’处移动到位置B’处。后续,随着对手写笔的继续移动,第一设备还可以将光标移动到视频上,从而指向视频。
演示操作三,点击操作。即,第一设备点击显示界面中光标所在的位置对应的内容。
若光标当前显示在第一设备的显示界面上,那么光标所在的位置即为当前显示光标的位置。若在开启演示模式后,第一设备还未显示过光标,那么光标所在的位置为预设位置,如显示界面的中心点。若在开启演示模式后,第一设备显示过光标,但是光标已消失,即光标当前并未显示在显示界面中,那么光标所在的位置为光标消失前在第一设备的显示界面中的显示位置。也就是说,无论第一设备的显示界面中是否显示有光标,点击操作都可以点击对应的内容。下文中,将以光标显示在第一设备的显示界面上时,第一设备执行点击操作为例来说明。
在一些实施例中,手写笔将工作模式切换为演示模式后,可以基于用户对手写笔的第四手势来控制第一设备显示光标。其中,第四手势可以是长按、单击、双击、三击等手势。下面将主要以第四手势是双击手势为例来说明。
在用户触摸手写笔的非按键区域后,手写笔可采集到手势信息(如触摸位置、触摸时长、触摸次数等),然后识别出手势类型。若手写笔识别出为双击手势,且手写笔当前的工作模式为演示模式,手写笔可以向第一设备发送第三控制命令。该第三控制命令用于指示第一设备对光标所在的位置对应的内容执行点击操作。第一设备响应于接收到第三控制命令,可以点击光标所在的位置对应的内容。
示例性的,第一设备是图13A中的平板,平板可以显示界面1301,界面1301中包括光标1302,光标1302位于待播放的视频上。该情况下,手写笔识别到双击手势,则可以向平板发送第三控制命令。平板响应于接收到第三控制命令,可以显示界面1303,界面1303中正在播放视频。也就是说,平板响应于接收到第三控制命令,对光标1302所在的位置待播放的视频执行了点击操作,使得平板开始播放视频内容。
另外,该双击手势可以是对手写笔的任意位置的双击手势,也可以是对手写笔的 第三预设区域(如前端、中端或者后端)的长按手势。此处不再赘述。
在另一些实施例中,手写笔将工作模式切换为演示模式后,可以基于用户对手写笔上按键执行的第十二操作来控制第一设备执行点击操作。该第十二操作可以是长按、单击、双击、三击等操作。下面将主要以第十二操作是单击操作为例来说明。
在用户按压手写笔的按键后,手写笔可采集到操作信息(如按压针对的按键、按压时长、按压次数等),然后识别出操作类型。若手写笔识别出为单击操作,且手写笔当前的工作模式为演示模式的情况下,手写笔可以向第一设备发送第三控制命令。该第三控制命令用于指示第一设备对光标所在的位置对应的内容执行点击操作。第一设备响应于接收到第三控制命令,点击光标所在的位置对应的内容。
以第一设备是图13B中的平板,平板可以显示界面1311,界面1311中包括光标1312,光标1302位于保存按钮上。该情况下,手写笔识别到双击手势,则可以向平板发送第三控制命令。平板响应于接收到第三控制命令,可以显示界面1313,界面1313中包括提示1314,提示1314提示正在保存演示文稿。也就是说,平板响应于接收到第三控制命令,对光标1312所在的位置的保存按钮执行了点击操作,使得平板开始保存演示文稿。
应注意,前述图13A和图13B的示例中,均以第一设备的显示界面中光标所在的位置刚好有可以响应点击操作的内容(如待播放的视频、保存按钮)为例来说明。但是实际实施时,第一设备的显示界面中光标所在的位置可能并未显示可以响应点击操作的内容。例如,光标所在的位置为空白区域,未显示任何内容。又例如,光标所在的位置显示的是不可响应点击操作的图片、文字等。针对这种情况,第一设备在对光标所在的位置显示内容执行点击操作后,通常不会有任何响应。也就是说,点击操作是无效点击。例如,光标显示在图13B所示的界面1311中虚线圆圈的位置,该位置靠近保存按钮、但又未覆盖保存按钮,那么第一设备在执行点击操作后,不会有任何响应。
演示操作四,翻页操作。即,第一设备向上翻页(即翻到前一页)或者向下翻页(即翻到下一页)的操作。
在一些实施例中,手写笔将工作模式切换为演示模式后,可以基于用户对手写笔沿笔身方向的下滑手势控制第一设备执行向下翻页操作,以及基于用户对手写笔沿笔身方向的上滑手势控制第一设备执行向上翻页操作。
手写笔将工作模式切换为演示模式后,若检测到用户对手写笔沿笔身方向的下滑手势,则向第一设备发送第四控制命令,该第四控制命令用于指示第一设备控制第一设备执行向下翻页操作。第一设备响应于接收到第四控制命令,执行向下翻页操作。
示例性的,第一设备是图14中的平板,平板可以显示界面1401,界面1401中包括第一页PPT的内容。若手写笔识别用户对手写笔执行沿笔身的下滑手势,且手写笔当前的工作模式为演示模式的情况下,则可以向平板发送第四控制命令。平板响应于接收到第四控制命令,可以显示界面1402,界面1402中包括第二页PPT的内容,即翻到了下一页。
手写笔将工作模式切换为演示模式后,若检测到用户对手写笔沿笔身方向的上滑手势,则向第一设备发送第五控制命令,该第五控制命令用于指示第一设备控制第一 设备执行向上翻页操作。第一设备响应于接收到第五控制命令,执行向上翻页操作。
又示例性的,第一设备是图14中的平板,平板可以显示界面1402,界面1402中包括第二页PPT的内容。若手写笔识别用户对手写笔执行沿笔身的上滑手势,且手写笔当前的工作模式为演示模式的情况下,则可以向平板发送第五控制命令。平板响应于接收到第五控制命令,可以显示界面1401,界面1401中包括第一页PPT的内容,即翻到了上一页。
在另一些实施例中,手写笔将工作模式切换为演示模式后,可以基于用户对手写笔上按键执行的第十三操作来控制第一设备执行向下翻页操作,以及基于用户对手写笔上按键执行的第十四操作来控制第一设备执行向上翻页操作。第十三操作和第十四操作可以是长按、单击、双击、三击等操作。并且,第十三操作和第十四操作可以是对相同按键的不同操作,例如,第十三操作是双击操作,第十四操作是三击操作。或者,第十三操作和第十四操作可以是对不同按键的相同操作,例如,第十三操作是对第一按键的单击操作,第十四操作是对第二按键的单击操作。
在前文过程2的实施例中,主要以控制命令(如第一控制命令、第二控制命令等)指示第一设备执行相应的演示操作为例来说明。也就是说,由手写笔确定出第一设备需要执行的演示操作,并通过控制命令指示第一设备来执行。即,控制命令中携带演示操作的信息(如名称、编号等)。但是实际实施时,并不以此为限。在另一些实施例中,手写笔可以通过控制命令(如第一控制命令、第二控制命令等)将用户对手写笔的手势、操作、手写笔的位移以及手写笔的朝向等信息中的至少一项发送给第一设备。例如,手写笔在识别出第三手势后,向第一设备发送第一控制命令,第一控制命令中携带标识01,标识01用于指示第三手势。然后由第一设备根据控制命令(如第一控制命令、第二控制命令等)确定并执行相应的演示操作。
过程3,退出手写笔的演示模式。在退出演示模式后,手写笔则无法用于演示控制。即,手写笔不会向第一设备发送控制命令,从而无法控制第一设备执行上述各种演示操作。与开启手写笔的演示模式对应,退出手写笔的演示模式可以是修改标记位的值为第一值。
退出演示模式的方式可以包括利用第二设备退出演示模式(可记为方式1)、手写笔响应于第五手势退出演示模式(方式2)、手写笔响应于第十五操作退出演示模式(方式3)、手写笔充电时退出演示模式(方式4)以及手写笔响应于利用笔尖进行触控操作退出演示模式(方式5)中的一种或多种。下面将详细说明方式1-方式5的具体实现。
方式1,利用第二设备退出演示模式。
该方式1与前文过程1中的方式一对应,第二设备中提供有第一控件,第一控件用于触发切换手写笔的工作模式。第二设备可接收用户对第一控件的第五操作。第二设备响应于第五操作,可向手写笔发送第二消息,第二消息指示手写笔切换工作模式。手写笔响应于接收到第二消息,可切换工作模式。其中,若手写笔当前的工作模式为演示模式,则可切换到手写模式,从而退出演示模式。具体可参见前文过程1中方式一的说明,此处不再赘述。
方式2,手写笔响应于第五手势退出演示模式。该第五手势可以是长按、单击、 双击或者三击等手势。该第五手势可以与第一手势相同,也可以不同。若手写笔识别到第五手势,且手写笔当前已处于演示模式下,第二设备可将工作模式切换为手写模式,从而退出演示模式。
第五手势可以是对手写笔的任意位置和/或在手写笔处于任意朝向时执行的手势。或者,第五手势可以是对手写笔的第四预设区域执行的手势,该第四预设区域可以是手写笔的前端、中端或后端。并且,该第四预设区域可以与前述第一预设区域相同,也可以不同。或者,第五手势可以是在手写笔的笔尖朝向预设方向,如朝上或者朝下时执行的手势。
方式3,手写笔响应于第十五操作退出演示模式。第十五操作具体可以是长按、单击、双击或者三击等操作。第十五操作可以与第四操作相同,也可以不同。
在一些实施例中,也可以在第十五操作的基础上,进一步结合手写笔的移动轨迹来触发退出演示模式,具体可参见前文过程1的方式三中的说明,此处不再赘述。
方式4,在手写笔充电时,退出演示模式。
参见前文关于图2D中的(a)、图2D中的(b)和图2D中的(c)的说明,手写笔需要吸附在第二设备上、或者吸附在充电棒上、或者插入收纳孔中才能实现充电。很显然,这些充电的场景中,都不适宜将手写笔用于演示控制。基于此,若手写笔检测到有充电输入,且手写笔当前的工作模式为演示模式,则手写笔可以将工作模式切换为手写模式,从而退出演示模式。
示例性的,第二设备是图15中的平板,用户在将手写笔用于演示时,会持握手写笔,此时手写笔通常不会吸附在平板上,而当演示结束后,用户会将手写笔吸附到平板上,此时手写笔则会检测到有充电输入,则可以将工作模式切换为手写模式。
方式5,手写笔响应于利用笔尖进行触控操作,退出演示模式。
手写笔的手写模式和演示模式通常是互斥的,也就是说,手写笔用于触控时则无法用于演示,用于演示时则无法用于触控。基于此,在手写笔将工作模式切换为演示模式后,若手写笔在检测到手写笔笔尖与第二设备的显示界面接触,则将工作模式切换为手写模式。也就是说,在手写笔用于触控后,则退出演示模式,从而使手写笔不继续用于演示,避免冲突。
示例性的,第二设备是图16中的平板,用户在将手写笔用于演示时,会持握手写笔,此时手写笔不会触控平板的显示界面。而当手写笔笔尖触控平板的显示界面后,手写笔则可以将工作模式切换为手写模式。
应注意,前述方式5中,以开启演示模式后,检测到手写笔对第二设备的触控操作,则退出演示模式来说明,实际实施时,并不以此为限。在另一些实施例中,在手写笔将工作模式切换为演示模式后,第二设备可不再响应手写笔对第二设备的触控操作,只有在退出演示模式后,例如采用前述方式1-方式4退出演示模式后,第二设备才能响应手写笔对第二设备的触控操作。如此,也可以避免冲突。具体地,在演示模式下,即使手写笔与第二设备的屏幕之间的距离小于预设距离,即第二设备发送的第一信号可以覆盖手写笔,手写笔也不会响应该第一信号而发送第二信号和/或第三信号。也就是说,在手写笔处于演示模式的情况下,第二设备无法接收到第二信号和/或第三信号,从而无法响应手写笔对第二设备的屏幕的触控操作。
在采用上述方式1-方式5退出演示模式后,手写笔、第一设备和/或第二设备可以发出第四提示信息,第四提示信息用于提示已退出演示模式。示例性的,手写笔在将工作模式切换为手写模式后,可以语音或者震动等形式发出第四提示信息。又示例性的,手写笔在将工作模式切换为手写模式后,可以向第一设备和/或第二设备发送第五通知,第五通知用于通知第一设备和/或第二设备发出第四提示信息。第一设备和/或第二设备响应于接收到第五通知,可以弹窗、语音和/或震动等形式发出第四提示信息。例如,第一设备是图17中的平板,第四提示信息可以是平板显示的提示1701,提示1001中包括“已退出演示模式”,从而提示已退出演示模式。
为了方便说明,可以将前述方式1至方式5中触发退出演示模式的事件称为第二事件。例如,第二事件为手写笔检测到用户对手写笔的第五手势、第十五操作等。又例如,第二事件为接收到来自第二设备的第二消息。
至此,需要说明的是,上述过程2中控制第一设备执行光标显示操作的第三手势,控制第一设备执行点击操作的第四手势,以及过程3中触发退出演示模式的第五手势不能是相同的。示例性的,第三手势是长按手势,第四手势是双击手势,第五手势是三击手势。若第三手势,第四手势和第五手势中有至少两个手势相同,则可能导致响应出错。
同理,上述过程2中控制第一设备执行光标显示操作的第十一操作,控制第一设备执行点击操作的第十二操作,控制第一设备执行翻页操作的第十三操作和第十四操作,以及过程3中触发退出演示模式的第十五操作不能是相同的。示例性的,第十一操作是长按操作、第十二操作是单击操作,第十三操作是双击操作,第十四操作是三击操作,第十五操作是四击操作。若第十一操作,第十二操作,第十三操作,第十四操作和第十五操作中有至少两个操作相同,则可能导致响应出错。
为了方便用户对演示模式的了解,在一些实施例中,在第二设备中(如演示模式的设置页)显示演示模式的使用介绍信息,该使用介绍信息包括开启演示模式的介绍、控制第一设备执行演示操作的介绍和/或退出演示模式的介绍。示例性的,第二设备是图18A中的平板,平板可以在界面1801中的区域1802内滚动播放控制第一设备执行演示操作(如显示光标)的介绍(如“在演示模式下,长按笔身前端可调起虚拟光标”)。
在另一些实施例中,在首次开启演示模式后,在第一设备中显示演示模式的使用介绍信息。该介绍信息包括开启演示模式的介绍、控制第一设备执行演示操作的介绍和/或退出演示模式的介绍。示例性的,第一设备是图18B中的平板,在首次开启演示模式后,平板可以显示界面1811,界面1811中可滚动播放开启演示模式的介绍(如介绍1812)、控制第一设备执行演示操作的介绍(如介绍1813、介绍1814和介绍1815)和退出演示模式的介绍(如介绍1816)。
本申请实施例还提供一种手写笔,该手写笔可以包括:存储器和一个或多个处理器。存储器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令。当处理器执行计算机指令时,手写笔可执行上述方法实施例中设备执行的各个功能或者步骤。
本申请实施例还提供一种芯片系统,如图19所示,该芯片系统1900包括至少一个处理器1901和至少一个接口电路1902。处理器1901和接口电路1902可通过线路 互联。例如,接口电路1902可用于从其它装置(例如电子设备的存储器)接收信号。又例如,接口电路1902可用于向其它装置(例如处理器1901)发送信号。示例性的,接口电路1902可读取存储器中存储的指令,并将该指令发送给处理器1901。当所述指令被处理器1901执行时,可使得电子设备执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
本实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在手写笔上运行时,使得手写笔执行上述相关方法步骤实现上述实施例中的方法。
本实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的方法。
其中,本实施例提供的手写笔、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
该作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部 或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。

Claims (12)

  1. 一种手写笔用于演示控制的方法,其特征在于,应用于手写笔,所述方法包括:
    所述手写笔与第一设备之间建立无线通信链路;
    所述手写笔接收所述第一设备发送的第一信号,响应所述第一信号,所述手写笔发送第二信号,所述第一信号和所述第二信号不是通过所述无线通信链路发送的,所述手写笔不响应用户的第一操作;
    在第一事件之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送第一命令,以控制所述第一设备在第一时刻和第二时刻之间的时间段显示光标,所述第一操作在第三时刻开始执行,在第四时刻结束执行,所述第三时刻早于所述第一时刻,所述第四时刻早于所述第二时刻;在所述第二时刻之后,所述第一设备不显示所述光标;
    在所述第一事件之后,所述手写笔不响应所述第一信号。
  2. 根据权利要求1所述的方法,其特征在于,所述在第一事件之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送第一命令,包括:
    在所述手写笔的笔尖朝向为第一朝向的情况下,所述手写笔检测到用户对所述手写笔的切换操作之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送所述第一命令。
  3. 根据权利要求1所述的方法,其特征在于,所述在第一事件之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送第一命令,包括:
    所述手写笔检测到用户对所述手写笔的按键的长按操作,且在执行所述长按操作的时间段内、所述手写笔的笔尖的移动轨迹满足预设轨迹条件之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送第一命令。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述在第一事件之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送第一命令,包括:
    所述手写笔响应用户的切换操作,播放提示语音和/或震动;
    所述手写笔检测到用户的第二操作之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送第一命令。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述在第一事件之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送第一命令,包括:
    所述手写笔响应用户的切换操作,向所述第一设备发送第一通知;
    所述手写笔在接收到来自所述第一设备的第一消息之后,所述手写笔响应所述第一操作,通过所述无线通信链路向所述第一设备发送第一命令。
  6. 根据权利要求1所述的方法,其特征在于,在所述手写笔与第一设备之间建立无线通信链路之后,所述方法还包括:
    所述手写笔接收来自所述第一设备的第二消息,所述第二消息是所述第一设备基于用户切换手写笔模式的操作发送的;
    其中,所述第一事件包括所述手写笔接收到所述第二消息。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,在所述第一事件之后,所述方法还包括:
    所述手写笔响应第三操作,通过所述无线通信链路向所述第一设备发送第二命令,以控制所述第一设备改变光标的显示位置;其中,所述第三操作在所述第三时刻和所述第四时刻之间的时间段执行。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,在所述第一事件后,所述方法还包括:
    在第二事件之后,所述手写笔响应所述第一信号,发送所述第二信号,所述手写笔不响应所述第一操作。
  9. 一种手写笔用于演示控制的方法,其特征在于,应用于手写笔,所述方法包括:
    所述手写笔与第一设备之间建立无线通信链路;
    所述手写笔接收所述第一设备发送的第一信号,响应所述第一信号,所述手写笔发送第二信号,所述手写笔不响应用户的空鼠操作,所述第一信号和所述第二信号不是通过所述无线通信链路发送的;
    在第一事件之后,所述手写笔响应所述空鼠操作,通过所述无线通信链路向所述第一设备发送控制命令,以控制所述第一设备实现调出光标、移动光标、点击以及翻页中的一种功能;
    在所述第一事件之后,所述手写笔不响应所述第一信号。
  10. 一种手写笔,其特征在于,所述手写笔包括:存储器和一个或多个处理器,所述存储器与所述处理器耦合;其中,所述存储器中存储有计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述手写笔执行如权利要求1-8中任一项所述的方法;或者,当所述计算机指令被所述处理器执行时,使得所述手写笔执行如权利要求9所述的方法。
  11. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在手写笔上运行时,使得所述手写笔执行如权利要求1-8中任一项所述的方法;或者,当所述计算机指令在手写笔上运行时,使得所述手写笔执行如权利要求9所述的方法。
  12. 一种芯片系统,其特征在于,所述芯片系统应用于包括处理器和存储器的手写笔,所述芯片系统包括一个或多个接口电路和一个或多个处理器,所述接口电路和所述处理器通过线路互联,所述接口电路用于从所述手写笔的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令,当所述处理器执行所述计算机指令时,使得所述手写笔执行如权利要求1-8中任一项所述的方法;或者,当所述处理器执行所述计算机指令时,使得所述手写笔执行如权利要求9所述的方法。
PCT/CN2023/088170 2022-06-28 2023-04-13 一种手写笔用于演示控制的方法及手写笔 Ceased WO2024001424A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP23829614.9A EP4394563B1 (en) 2022-06-28 2023-04-13 METHOD FOR USING A STYLUS FOR PRESENTATION CONTROL, AND STYLUS
US18/701,838 US20250224822A1 (en) 2022-06-28 2023-04-13 Method for Using Stylus for Presentation Control and Stylus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210753924.3 2022-06-28
CN202210753924.3A CN117348744A (zh) 2022-06-28 2022-06-28 一种手写笔用于演示控制的方法及手写笔

Publications (1)

Publication Number Publication Date
WO2024001424A1 true WO2024001424A1 (zh) 2024-01-04

Family

ID=89354524

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/088170 Ceased WO2024001424A1 (zh) 2022-06-28 2023-04-13 一种手写笔用于演示控制的方法及手写笔

Country Status (4)

Country Link
US (1) US20250224822A1 (zh)
EP (1) EP4394563B1 (zh)
CN (2) CN118051130B (zh)
WO (1) WO2024001424A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12535894B1 (en) * 2025-07-26 2026-01-27 Casille Systermans Autonomous book with non-digital screen and laser projectors

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050206627A1 (en) * 2004-03-19 2005-09-22 Microsoft Corporation Automatic height adjustment for electronic highlighter pens and mousing devices
CN201576368U (zh) * 2009-12-31 2010-09-08 詹益忠 一种光电鼠标激光笔
CN108093285A (zh) * 2017-12-20 2018-05-29 四川长虹教育科技有限公司 一种基于触摸电视的多功能电子书写系统
CN110347269A (zh) * 2019-06-06 2019-10-18 华为技术有限公司 一种空鼠模式实现方法及相关设备
CN110716669A (zh) * 2018-07-13 2020-01-21 苏州古月峰信息技术有限公司 一种图像界面定位系统

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9354748B2 (en) * 2012-02-13 2016-05-31 Microsoft Technology Licensing, Llc Optical stylus interaction
US10642376B2 (en) * 2012-11-28 2020-05-05 Intel Corporation Multi-function stylus with sensor controller
US9400570B2 (en) * 2014-11-14 2016-07-26 Apple Inc. Stylus with inertial sensor
TWI592836B (zh) * 2016-07-29 2017-07-21 群光電子股份有限公司 光標產生系統、方法及電腦程式產品
KR101835264B1 (ko) * 2017-02-21 2018-03-06 김성은 무선형 마우스 기능을 구비한 포인팅 시스템
JP6934776B2 (ja) * 2017-08-31 2021-09-15 シャープ株式会社 表示制御装置、表示システム、ポインタ表示方法及びプログラム
CN208848177U (zh) * 2018-10-19 2019-05-10 北京科加触控技术有限公司 一种书写笔
CN110297550B (zh) * 2019-06-28 2023-05-16 北京百度网讯科技有限公司 一种标注显示方法、装置、投屏设备、终端和存储介质
KR102732884B1 (ko) * 2019-08-06 2024-11-25 삼성전자주식회사 스타일러스 펜을 인식하는 전자 장치 및 그 동작 방법
CN112947773B (zh) * 2019-11-26 2024-01-26 京东方科技集团股份有限公司 触控笔及触控系统
CN116107469B (zh) * 2021-11-11 2025-01-03 荣耀终端有限公司 功能模式切换方法、电子设备及系统
CN114035721B (zh) * 2022-01-07 2022-11-08 荣耀终端有限公司 触控屏显示方法、装置及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050206627A1 (en) * 2004-03-19 2005-09-22 Microsoft Corporation Automatic height adjustment for electronic highlighter pens and mousing devices
CN201576368U (zh) * 2009-12-31 2010-09-08 詹益忠 一种光电鼠标激光笔
CN108093285A (zh) * 2017-12-20 2018-05-29 四川长虹教育科技有限公司 一种基于触摸电视的多功能电子书写系统
CN110716669A (zh) * 2018-07-13 2020-01-21 苏州古月峰信息技术有限公司 一种图像界面定位系统
CN110347269A (zh) * 2019-06-06 2019-10-18 华为技术有限公司 一种空鼠模式实现方法及相关设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4394563A4

Also Published As

Publication number Publication date
CN118051130B (zh) 2025-03-21
US20250224822A1 (en) 2025-07-10
CN117348744A (zh) 2024-01-05
EP4394563A4 (en) 2025-01-08
EP4394563C0 (en) 2025-12-31
EP4394563B1 (en) 2025-12-31
EP4394563A1 (en) 2024-07-03
CN118051130A (zh) 2024-05-17

Similar Documents

Publication Publication Date Title
EP3342143B1 (en) Portable device and screen display method of portable device
TWI502405B (zh) 利用協調的雙手命令手勢之計算系統
CN105359086B (zh) 控制聊天窗口的方法和实施该方法的电子设备
CN103631514B (zh) 用于触笔功能的操作的方法及支持该方法的电子装置
EP2752754B1 (en) Remote mouse function method and terminals
CN102830926B (zh) 移动终端及其操作方法
US20140325443A1 (en) Method and apparatus for operating menu in electronic device including touch screen
JP6313028B2 (ja) タッチ入力方法及び携帯端末
CN107407980A (zh) 具有被配置成传送经同步的信号的多个操作部分的触控笔
CN103729108A (zh) 多显示设备及其提供工具的方法
TW201447646A (zh) 使用者裝置之物件控制方法及其設備
CN102830909A (zh) 一种用户界面的图标管理方法及触控设备
EP2946268B1 (en) Ignoring tactile input based on subsequent input received from keyboard
JP2014179877A (ja) 携帯端末装置の表示制御方法
WO2021109875A1 (zh) 实现游戏应用的方法、装置、存储介质及电子设备
CN103713767A (zh) 用于操作移动终端的方法和设备
CN114415850A (zh) 一种控制方法、装置、触控笔及计算机可读存储介质
EP4394563A1 (en) Method for using stylus for presentation control, and stylus
WO2019140611A1 (zh) 终端基于手写过程中导航键的防误触方式
CN108579078B (zh) 触控操作方法及相关产品
CN116700586A (zh) 一种事件处理方法和装置
CN110531905A (zh) 一种图标控制方法及终端
CN115599229A (zh) 一种触控笔的控制方法和触控笔设备
CN107807740B (zh) 一种信息输入方法及移动终端
WO2024032470A1 (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: 23829614

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023829614

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2023829614

Country of ref document: EP

Effective date: 20240328

WWE Wipo information: entry into national phase

Ref document number: 18701838

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWP Wipo information: published in national office

Ref document number: 18701838

Country of ref document: US

WWG Wipo information: grant in national office

Ref document number: 2023829614

Country of ref document: EP