WO2023082768A1 - 功能模式切换方法、电子设备及系统 - Google Patents

功能模式切换方法、电子设备及系统 Download PDF

Info

Publication number
WO2023082768A1
WO2023082768A1 PCT/CN2022/114529 CN2022114529W WO2023082768A1 WO 2023082768 A1 WO2023082768 A1 WO 2023082768A1 CN 2022114529 W CN2022114529 W CN 2022114529W WO 2023082768 A1 WO2023082768 A1 WO 2023082768A1
Authority
WO
WIPO (PCT)
Prior art keywords
stylus
electronic device
function
function signal
page
Prior art date
Application number
PCT/CN2022/114529
Other languages
English (en)
French (fr)
Inventor
张北航
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to EP22854764.2A priority Critical patent/EP4206885A4/en
Publication of WO2023082768A1 publication Critical patent/WO2023082768A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/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 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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/039Accessories therefor, e.g. mouse pads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 technical field of terminals, and in particular to a function mode switching method, electronic equipment and a system.
  • the stylus when a user uses a stylus to perform operations such as touching, writing, and erasing handwriting on an electronic device, the stylus needs to be brought into contact with a touch screen on the electronic device.
  • the stylus and the electronic device can interact with each other through electrical signals, and according to the change of the capacitance value on the touch screen in the electronic device, the stylus can perform the above operations based on the electronic device.
  • the stylus cannot remotely send electrical signals to electronic devices so that they can perform specified functions (for example, page turning functions, etc.) in response to the electrical signals, so the operation Very inconvenient.
  • the present application provides a function mode switching method, electronic device and system, which realizes that the stylus can send different function signals to the electronic device in response to received input based on different function modes, so that the electronic device responds Execute the corresponding function according to the function signal.
  • the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the present application provides a function mode switching method, which includes: establishing a wireless communication connection between the stylus and the electronic device; the stylus is in the first mode; the stylus detects to the first input; in response to the first input, the stylus sends a first function signal corresponding to the first input in the first mode based on the wireless communication connection; the electronic device based on the The first function signal to execute the first function; when the stylus detects that the intensity of the electrical signal released by the touch screen in the electronic device is less than the first value, the stylus starts from the first mode switch to the second mode; the stylus detects a second input; the stylus detects the position information of the stylus; in response to the second input, the stylus based on the wireless A communication connection, sending a second function signal and the position information corresponding to the second input in the second mode; the electronic device executes a second function based on the second function signal and the position information.
  • the method is very convenient to operate, and the stylus can be applied to
  • the wireless communication connection is: a Bluetooth communication connection, or a wireless local area network (WLAN) communication connection.
  • WLAN wireless local area network
  • the first input includes any one of the following: an upward sliding operation for the touch sensor area of the stylus, and a downward sliding operation for the touch sensor area of the stylus. Swipe operation, or double-tap operation on the touch sensor area.
  • the electronic device executes the first function based on the first function signal, which specifically includes: the electronic device displays handwriting; the electronic device receives the first function signal; The electronic device determines the position of the stylus on the touch screen of the electronic device through the downlink signal sent by the electrode in the stylus; the electronic device cancels the display based on the first function signal The handwriting of the position on the touch screen.
  • the function of erasing handwriting can be realized, the operation is very convenient, and the scene where the stylus can be applied is also wider.
  • the electronic device executes the first function based on the first function signal, which specifically includes: the electronic device displays a first page; the electronic device receives the first function signal ; In response to the first function signal, the electronic device displays a second page; wherein, the second page is a previous page of the first page.
  • the function of turning pages to display different pages can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the electronic device executes the first function based on the first function signal, which specifically includes: the electronic device displays a first page; the electronic device receives the first function signal ; In response to the first function signal, the electronic device displays a third page; wherein, the third page is a subsequent page of the first page.
  • the function of turning pages to display different pages can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the electronic device executes the second function based on the second function signal and the location information, which specifically includes: the electronic device executes the second function based on the second function signal and the location information , to display the handwriting at the location corresponding to the location information.
  • the function of long-distance handwriting can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the electronic device executes the second function based on the second function signal and the position information, which specifically includes: displaying a cursor on the electronic device;
  • the second function signal and the position information display the moving track of the cursor at the position corresponding to the position information.
  • the second input includes any of the following: press and hold the area in front of the touch sensor in the stylus and move the stylus, press and hold the touch sensor in the stylus side area and move the stylus, for the upward sliding operation of the touch sensor area of the stylus, for the downward sliding operation of the touch sensor area of the stylus, or the operation of double-clicking the touch sensor area .
  • the position information is detected and acquired by a gyroscope in the stylus.
  • the method further includes: the stylus detects the first input; in response to the first input, the stylus sends the A third function signal corresponding to the first input in the second mode; the electronic device executes a third function based on the third function signal.
  • the electronic device executes the third function based on the third function signal, which specifically includes: displaying a cursor on the electronic device, and the cursor is located in the application icon area of the first application ;
  • the electronic device receives the third function signal; in response to the third function signal, the electronic device starts the first application.
  • the function of using the stylus to remotely start the selected application can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the electronic device executes the third function based on the third function signal, which specifically includes: the electronic device displays a first page; the electronic device receives the third function signal ; In response to the third function signal, the electronic device displays a first area on the first page; wherein, the first area is an upper part area on the first page.
  • the function of using the stylus to remotely control the page display area can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the electronic device executes the third function based on the third function signal, which specifically includes: the electronic device displays a first page; the electronic device receives the third function signal ; In response to the third function signal, the electronic device displays a second area in the first page; wherein, the second area is a lower part area in the first page.
  • the function of using the stylus to remotely control the page display area can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the present application provides a stylus, including: a processor, a touch sensor, a motion sensor and a wireless communication module.
  • the wireless communication module is used to establish a wireless communication connection with an electronic device; the touch sensor is used to detect a first input; the wireless communication module is used to send to the The first function signal corresponding to the first input in the first mode; the processor is further configured to control the The control pen is switched from the first mode to the second mode; the touch sensor is also used to detect the second input; the motion sensor is used to detect the position information of the stylus; the wireless communication module, Further, in response to the second input, sending a second function signal corresponding to the second input and the position information in the second mode to the electronic device.
  • the method is implemented based on the stylus, and the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the first input includes any one of the following: an upward sliding operation for the touch sensor area of the stylus, and a downward sliding operation for the touch sensor area of the stylus. Swipe operation, or double-tap operation on the touch sensor area.
  • the wireless communication connection is: a Bluetooth communication connection, or a wireless local area network (WLAN) communication connection.
  • WLAN wireless local area network
  • the second input includes any of the following: press and hold the area in front of the touch sensor in the stylus and move the stylus, press and hold the touch sensor in the stylus side area and move the stylus, for the upward sliding operation of the touch sensor area of the stylus, for the downward sliding operation of the touch sensor area of the stylus, or the operation of double-clicking the touch sensor area .
  • the touch pen further includes electrodes; the electrodes are used to send downlink signals to the electronic device.
  • the touch sensor is further configured to detect the first input; the wireless communication module is further configured to send the electronic device the The third function signal corresponding to the first input in the second mode.
  • the present application provides an electronic device, including: a processor, a touch screen, an electrode signal sensing array and a wireless communication module; the electrode signal sensing array is integrated in the touch screen.
  • the wireless communication module is used to establish a wireless communication connection with the stylus; the wireless communication module is also used to receive the first function signal; the processor is used to execute based on the first function signal The first function; the electrode signal sensing array is used to send electrical signals to the stylus; the wireless communication module is also used to receive the second function signal and the position information of the stylus; the processing The device is further configured to execute a second function based on the second function signal and the position information.
  • the method is implemented based on the electronic device, and the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the wireless communication connection is: a Bluetooth communication connection, or a wireless local area network (WLAN) communication connection.
  • WLAN wireless local area network
  • the touch screen is configured to display handwriting; after the wireless communication module receives the first function signal, the processor is specifically configured to: The position of the stylus on the touch screen is determined by the downlink signal sent by the electrode in the control pen; based on the first function signal, the handwriting at the position on the touch screen is cancelled.
  • the function of erasing handwriting can be realized, the operation is very convenient, and the scene where the stylus can be applied is also wider.
  • the touch screen is configured to display a first page; after the wireless communication module receives the first function signal, the processor is specifically configured to: respond to the The first function signal makes the touch screen display a second page; wherein, the second page is a previous page of the first page.
  • the function of turning pages to display different pages can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the touch screen is configured to display a first page; after the wireless communication module receives the first function signal, the processor is specifically configured to: respond to the The first function signal makes the touch screen display a third page; wherein, the third page is a subsequent page of the first page.
  • the function of turning pages to display different pages can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the processor is specifically configured to, based on the second function signal and the location information, cause the touch screen to display the handwriting at a location corresponding to the location information.
  • the function of long-distance handwriting can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the processor is specifically configured to: make the touch screen display a cursor; make the touch screen display the cursor based on the second function signal and the position information.
  • the cursor movement track at the position corresponding to the above position information. In this way, the cursor movement function can be controlled remotely, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the wireless communication module is further configured to receive a third function signal; the processor is further configured to execute a third function based on the third function signal.
  • the touch screen is configured to display the first page; after the wireless communication module receives the third function signal, the processor is specifically configured to: respond to the The third function signal makes the touch screen display the first area in the first page; wherein the first area is the upper part area in the first page.
  • the function of using the stylus to remotely control the page display area can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the touch screen is configured to display the first page; after the wireless communication module receives the third function signal, the processor is specifically configured to: respond to the The third function signal makes the touch screen display a second area in the first page; wherein the second area is a lower area in the first page.
  • the function of using the stylus to remotely control the page display area can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • the touch screen is configured to display a cursor, and the cursor is located in the application icon area of the first application; when the wireless communication module receives the third function signal , the processor is specifically configured to: start the first application in response to the third function signal.
  • the function of using the stylus to remotely start the selected application can be realized, the operation is very convenient, and the stylus can be applied to a wider range of scenarios.
  • an embodiment of the present application provides a computer storage medium, where a computer program is stored in the storage medium, the computer program includes executable instructions, and when executed by a processor, the executable instructions cause the processing
  • the device executes the method in any possible implementation manner of the first aspect above.
  • the method provided by the present application is implemented based on the processor, and the operation is very convenient, so that the stylus can be applied to a wider range of scenarios.
  • FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • FIGS. 2A-2C are schematic structural diagrams of a stylus provided in an embodiment of the present application.
  • FIG. 3 is a schematic diagram of signal interaction between a stylus and an electronic device provided in an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a wireless keyboard provided by an embodiment of the present application.
  • FIG. 5A is a schematic diagram of a stylus provided in the embodiment of the present application being stored in the storage part;
  • Fig. 5B is a schematic side view of a stylus provided in the embodiment of the present application when it is stored in the storage part of the wireless keyboard;
  • FIG. 6 is a schematic diagram of a hardware structure of a stylus provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device provided in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a hardware structure of a wireless keyboard provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of interaction between a stylus and an electronic device provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of interaction between another stylus and an electronic device according to an embodiment of the present application.
  • 11A-11T are application scenarios of a function mode switching method provided by the embodiment of the present application.
  • FIG. 12 is a schematic flowchart of a method for switching function modes provided by an embodiment of the present application.
  • FIG. 1 exemplarily shows a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • the communication system may include a stylus (stylus) 100 , an electronic device 200 and a wireless keyboard 300 .
  • the electronic device 200 may be called a user equipment (user equipment, UE), a terminal (terminal), etc.
  • the electronic device 200 may be a tablet computer (portable android device, PAD), a personal digital assistant (PDA) , handheld devices, computing devices, vehicle-mounted devices or wearable devices with wireless communication functions, virtual reality (virtual reality, VR) terminal equipment, augmented reality (augmented reality, AR) terminal equipment, wireless in industrial control (industrial control) terminal, wireless terminal in self driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety, smart city ( A mobile terminal or a fixed terminal with a touch screen (also called a touch screen), such as a wireless terminal in a smart city and a wireless terminal in a smart home.
  • a tablet computer portable android device, PAD
  • PDA personal digital assistant
  • handheld devices computing devices
  • vehicle-mounted devices or wearable devices with wireless communication functions
  • the stylus 100 and the wireless keyboard 300 may provide input to the electronic device 200 , and the electronic device 200 performs an operation in response to the input based on the stylus 100 or the wireless keyboard 300 .
  • a touch area can be set on the wireless keyboard 300 , and the stylus 100 can operate the touch area of the wireless keyboard 300 to provide input to the wireless keyboard 300 , and the wireless keyboard 300 can perform an operation in response to the input based on the stylus 100 .
  • between the stylus 100 and the electronic device 200, between the stylus 100 and the wireless keyboard 300, and between the electronic device 200 and the wireless keyboard 300 can be interconnected through a communication network to realize wireless communication. signal interaction.
  • the communication network can be but not limited to: WI-FI hotspot network, WI-FI point-to-point (peer-to-peer, P2P) network, Bluetooth network, zigbee network or near field communication (near field communication, NFC) network and other short-distance Communications network.
  • the stylus 100 can be, but not limited to: an inductive pen and a capacitive pen.
  • the electronic device 200 has a touch screen 201 , and when the stylus 100 is an inductive pen, the touch screen 201 of the electronic device 200 interacting with the stylus 100 needs to integrate an electromagnetic induction board. Coils are distributed on the electromagnetic induction board, and coils are also integrated in the inductive pen. Based on the principle of electromagnetic induction, within the range of the magnetic field generated by the electromagnetic induction board, as the inductive pen moves, the inductive pen can store electric energy. The inductive pen can transmit the accumulated electric energy to the electromagnetic induction board through the coil in the inductive pen through free oscillation.
  • the electromagnetic induction board can scan the coil on the electromagnetic induction board based on the electric energy from the inductive pen, and calculate the position of the inductive pen on the touch screen 201 .
  • the touch screen may be called a touch screen
  • the stylus may be called a stylus.
  • Capacitive pens can include: passive capacitive pens and active capacitive pens.
  • a passive capacitive pen can be called a passive capacitive pen, and an active capacitive pen can be called an active capacitive pen.
  • One or more electrodes can be set in the active capacitive pen (for example, inside the tip of the pen), and the active capacitive pen can transmit signals through the electrodes.
  • the touch screen 201 of the electronic device 200 interacting with the stylus 100 needs to integrate an electrode signal sensing array.
  • the electrode signal sensing array may be a capacitive electrode signal sensing array.
  • the electronic device 200 can receive the signal from the active capacitive pen through the electrode signal sensing array, and then recognize the position of the active capacitive pen on the touch screen based on the change of the capacitance value on the touch screen 201 when receiving the signal, And the inclination angle of the active capacitive pen.
  • FIG. 2A-FIG. 2C exemplarily show a structural diagram of a stylus 100 provided by an embodiment of the present application.
  • FIG. 2A is a schematic structural diagram of the stylus 100 provided by the embodiment of the present application.
  • the stylus 100 is an active capacitive stylus as an example.
  • the stylus 100 may include a pen tip 10 , a pen barrel 20 and a back cover 30 .
  • the interior of the pen holder 20 is a hollow structure.
  • the nib 10 and the back cover 30 are located at both ends of the pen holder 20 respectively.
  • the back cover 30 and the pen holder 20 can be plugged or engaged. See description of Figure 2B.
  • FIG. 2B is a schematic diagram of a partially disassembled structure of the stylus provided by the embodiment of the present application.
  • the stylus 100 further includes a spindle assembly 50 located in the pen holder 20 , and the spindle assembly 50 is slidably disposed in the pen holder 20 .
  • the spindle assembly 50 has an external thread 51
  • the nib 10 includes a writing end 11 and a connecting end 12 , wherein the connecting end 12 of the pen point 10 has an internal thread (not shown) matching the external thread 51 .
  • the connecting end 12 of the nib 10 protrudes into the pen holder 20 and is threadedly connected with the external thread 51 of the spindle assembly 50 .
  • the connection between the connecting end 12 of the pen tip 10 and the spindle assembly 50 may also be detachably connected by snap-fitting or the like. Through the detachable connection between the connecting end 12 of the nib 10 and the spindle assembly 50 , the replacement of the nib 10 is realized.
  • a pressure-sensitive assembly 60 is provided on the main shaft assembly 50, and a part of the pressure-sensitive assembly 60 is fixedly connected with a fixed structure in the pen holder 20, and a part of the pressure-sensitive assembly 60 is connected to the main shaft assembly 50. Fixed connection.
  • the circuit board 70 detects the pressure of the writing end 11 of the nib 10 according to the deformation of the pressure-sensitive component 60, thereby The line thickness of the writing end 11 is controlled according to the pressure of the writing end 11 of the nib 10 .
  • the pressure detection of the pen tip 10 includes but not limited to the above methods.
  • a pressure sensor can also be provided in the writing end 11 of the pen point 10 so that the pressure of the pen point 10 can be detected by the pressure sensor.
  • the stylus 100 further includes a plurality of electrodes, for example, the plurality of electrodes may be the first emitting electrode 41 , the ground electrode 43 and the second emitting electrode 42 .
  • the first emitter electrode 41 , the ground electrode 43 and the second emitter electrode 42 are all electrically connected to the circuit board 70 .
  • the first emitter electrode 41 can be located in the nib 10 and close to the writing end 11, and the circuit board 70 can be configured as a control board that can provide signals to the first emitter electrode 41 and the second emitter electrode 42 respectively, and the first emitter electrode 41 is used for Transmitting the first signal, when the first emitting electrode 41 is close to the touch screen 201 of the electronic device 200, a coupling capacitance can be formed between the first emitting electrode 41 and the touch screen 201 of the electronic device 200, so that the electronic device 200 can receive first signal.
  • the second transmitting electrode 42 is used for transmitting a second signal, and the electronic device 200 can determine the inclination angle of the stylus 100 according to the received second signal.
  • the second emitting electrode 42 may be located on the inner wall of the pen holder 20 . In one example, the second emitter electrode 42 may also be located on the spindle assembly 50 .
  • the ground electrode 43 can be located between the first emitter electrode 41 and the second emitter electrode 42, or the ground electrode 43 can be located on the outer periphery of the first emitter electrode 41 and the second emitter electrode 42, and the ground electrode 43 is used to reduce the first emitter electrode 43.
  • the electrode 41 and the second emitter electrode 42 are coupled to each other.
  • the electronic device 200 When the electronic device 200 receives the first signal from the stylus 100 , the capacitance value at the corresponding position of the touch screen 201 will change. Accordingly, the electronic device 200 can determine the position of the stylus 100 (or the tip of the stylus 100 ) on the touch screen 201 based on the change of the capacitance value on the touch screen 201 . In addition, the electronic device 200 may acquire the inclination angle of the stylus 100 by using the double-tip projection method in the inclination detection algorithm. Wherein, the positions of the first emitting electrode 41 and the second emitting electrode 42 in the stylus 100 are different, so when the electronic device 200 receives the first signal and the second signal from the stylus 100, the two signals on the touch screen 201 The capacitance value at each position will change.
  • the electronic device 200 can obtain the tilt angle of the stylus 100 according to the distance between the first emitter electrode 41 and the second emitter electrode 42, and the distance between two positions on the touch screen 201 where the capacitance value changes,
  • the tilt angle of the stylus 100 For more detailed acquisition of the inclination angle of the stylus 100 , reference may be made to the relevant description of the double-tip projection method in the prior art.
  • the stylus 100 further includes: a battery assembly 80 , and the battery assembly 80 is used to provide power to the circuit board 70 .
  • the battery pack 80 may include a lithium ion battery, or, the battery pack 80 may include a nickel-chromium battery, an alkaline battery, or a nickel-hydrogen battery or the like.
  • the battery included in the battery assembly 80 can be a rechargeable battery or a disposable battery, wherein, when the battery included in the battery assembly 80 is a rechargeable battery, the stylus 100 can charge the battery assembly wirelessly. 80 to charge the battery.
  • the battery in the battery assembly 80 can also be charged by wired charging.
  • a power connector (not shown) is provided at the end of the pen holder 20 close to the back cover 30 , and the power connector is connected to the battery assembly 80 .
  • the rear cover 30 can cover the power connector.
  • the stylus 100 may further include: a touch sensor 44 .
  • the touch sensor 44 can be disposed on the area of the pen barrel 20 close to the pen tip 10 .
  • Touch sensor 44 may be used to detect touch operations on or near it.
  • touch sensor 44 may include region 441 , region 442 and region 443 .
  • time 1 for example, 2 seconds
  • the touch sensor 44 detects a long press operation acting on the area 442 and remains unchanged, and detects a touch operation on the touch sensor, the direction of the touch operation is parallel to the pen holder 20, and the moving position of the touch operation is determined by When the area 443 reaches the area 441 , the touch sensor 44 determines that the above operation is an upward sliding operation (also referred to as an upward sliding operation).
  • the touch sensor 44 detects the long press operation acting on the area 442 and remains unchanged, and detects a touch operation on the touch sensor, the direction of the touch operation is parallel to the pen holder 20, and the moving position of the touch operation is determined by the area 441 When the area 443 is reached, the touch sensor 44 determines that the above operation is a downward sliding operation (also called a sliding operation).
  • the stylus 100 can send a corresponding function signal to the electronic device 200, so that the electronic device 200 can execute a corresponding function based on the function signal.
  • the stylus 100 can also detect that the direction of the touch operation is parallel to the pen shaft 20 within a specified time period 1 (for example, 2 seconds), and when the touch area covers the area 441 and the area 443, determine The above operation is a sliding operation.
  • a specified time period 1 for example, 2 seconds
  • the electronic device 200 can send a signal to the stylus through the electrode signal sensing array integrated on the touch screen 201.
  • 100 sends an uplink signal.
  • the stylus 100 can receive the uplink signal through the receiving electrodes, and the stylus 100 can transmit the downlink signal through the transmitting electrodes (such as the first transmitting electrode 41 and the second transmitting electrode 42 ).
  • the downlink signal includes the above-mentioned first signal and second signal.
  • the uplink signal and the downlink signal may be square wave signals.
  • FIG. 4 exemplarily shows a schematic structural diagram of a wireless keyboard 300 provided by an embodiment of the present application.
  • the wireless keyboard 300 may include a first part 301 and a second part 302 .
  • the wireless keyboard 300 may include: a keyboard body and a keyboard case.
  • the first part 301 may be a keyboard case
  • the second part 302 is a keyboard body.
  • the first part 301 is used to place the electronic device 200
  • the second part 302 may be provided with buttons, a touch panel, etc. for user operations.
  • the first part 301 and the second part 302 of the wireless keyboard 300 need to be opened, and when the wireless keyboard 300 is not in use, the first part 301 and the second part 302 of the wireless keyboard 300 can be closed.
  • the first part 301 and the second part 302 of the wireless keyboard 300 can be rotatably connected.
  • the first part 301 and the second part 302 may be connected by a rotating shaft or a hinge, or, in some examples, the first part 301 and the second part 302 may be rotationally connected by a flexible material (such as leather material or cloth material) .
  • the first part 301 and the second part 302 can be integrally formed, and the joint between the first part 301 and the second part 302 is thinned, so that the connection between the first part 301 and the second part 302 The connection can be bent.
  • the connection manner between the first part 301 and the second part 302 may include but not limited to the above-mentioned several rotational connection manners.
  • the first part 301 may include at least two rotatably connected brackets.
  • the first part 301 includes a first bracket 301a and a second bracket 301b, which are rotationally connected between the first bracket 301a and the second bracket 301b.
  • the first bracket 301a and the second bracket can be used 301b together support the electronic device 200 (refer to FIG. 1 ).
  • the first bracket 301 a supports the second bracket 301 b
  • the second bracket 301 b supports the electronic device 200 .
  • the second bracket 301b is connected to the second part 302 in rotation.
  • the wireless keyboard 300 may be provided with a storage portion 303 for storing the stylus 100 .
  • the storage portion 303 is a cylindrical cavity, and when stored, the stylus 100 is inserted into the storage cavity along the direction of the arrow in FIG. 4 .
  • the second part 302 and the second bracket 301 b are rotationally connected through a connection part 304 , and a receiving part 303 is disposed in the connection part 304 .
  • the connecting part 304 may be a rotating shaft.
  • FIG. 5A is a schematic diagram of the stylus 100 provided in the embodiment of the present application being stored in the storage part
  • FIG. 5B is a schematic side view of the stylus 100 provided in the embodiment of the present application when it is stored in the storage part of the wireless keyboard.
  • the receiving portion 303 is a circular cavity, and the inner diameter of the receiving portion 303 is larger than the outer diameter of the stylus 100 .
  • a magnetic material may be disposed on the inner wall of the storage portion 303 , and a magnetic material may be disposed in the stylus 100 .
  • the stylus 100 is attracted in the storage portion 303 by the magnetic adsorption between the magnetic materials.
  • the fixing between the stylus 100 and the storage portion 303 includes but is not limited to the use of magnetic adsorption to achieve fixation.
  • the stylus 100 and the storage portion 303 can also be fixed by means of engagement .
  • a pop-up structure can be set in the storage portion 303, for example, when one end of the stylus 100 is pressed, the pop-up mechanism can drive one end of the stylus 100 to go outward from the storage portion 303. pop up.
  • FIG. 6 exemplarily shows a schematic diagram of a hardware structure of a stylus 100 provided by an embodiment of the present application.
  • the stylus 100 may include a processor 110, one or more sensors (e.g., a touch sensor 120, an inertial sensor 130, etc.), a status indicator 140, a button 150, an electrode 160, a sensing circuit 170, Bluetooth module 180 and charging module 190 etc. in:
  • Processor 110 may include storage and processing circuitry to support the operation of stylus 100 .
  • Storage and processing circuitry may include storage devices such as non-volatile memory (e.g., flash memory or other electrically programmable read-only memory configured as a solid state drive), volatile memory (e.g., static or dynamic random access memory) wait.
  • Processing circuits in the processor 110 can be used to control the operation of the stylus 100 .
  • the processing circuitry may be based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio chips, application specific integrated circuits, and the like.
  • the touch sensor 120 may be used to detect a touch operation on or near it.
  • Inertial sensor 130 may include a three-axis accelerometer and a six-axis gyroscope, and/or other components for measuring motion of stylus 100, for example, a three-axis magnetometer may be included on the sensor in a nine-axis inertial sensor configuration. middle.
  • the inertial sensor 130 when the stylus 100 moves, the inertial sensor 130 (for example, a six-axis gyroscope) can detect and obtain the position information of the stylus 100 when it moves.
  • the gyro sensor (for example, the aforementioned six-axis gyroscope) can also be used to determine the motion posture of the stylus 100, and in some embodiments, the stylus 100 can determine the three The angular velocity of the axes (i.e., the x, y, and z axes).
  • An acceleration sensor (for example, the aforementioned three-axis accelerometer) can be used to detect the acceleration of the stylus 100 in various directions (generally x, y and z axes). When the stylus 100 is stationary, the magnitude and direction of gravity can be detected.
  • the sensors may also include additional sensors such as temperature sensors, ambient light sensors, light-based proximity sensors, contact sensors, magnetic sensors, pressure sensors, and/or other sensors.
  • Status indicator 140 may consist of a diode.
  • the status indicator 140 is used to remind the user of the status of the stylus 100 .
  • Buttons 150 may include mechanical buttons and non-mechanical buttons, and buttons 150 may be used to collect button press information from a user.
  • the stylus 100 may include one or more electrodes 160 (for details, refer to the description in FIG. related description above.
  • Sensing circuitry 170 can sense capacitive coupling between electrodes 160 and drive lines of a capacitive touch sensor panel that interacts with stylus 100 .
  • the sensing circuit 170 may include an amplifier to receive capacitance readings from a capacitive touch sensor panel, a clock to generate a demodulated signal, a phase shifter to generate a phase-shifted demodulated signal, a frequency shifter to use an in-phase demodulation A mixer to demodulate capacitance readings using quadrature demodulation frequency components, a mixer to demodulate capacitance readings using quadrature demodulation frequency components, etc. The results of the mixer demodulation can be used to determine an amplitude proportional to the capacitance so that the stylus 100 can sense contact with the capacitive touch sensor panel.
  • the stylus 100 may include a wireless module.
  • the wireless module is the Bluetooth module 180 as an example for illustration.
  • the wireless module can also be a WI-FI hotspot module, a WI-FI point-to-point module, and the like.
  • the Bluetooth module 180 may include a radio frequency transceiver, such as a transceiver.
  • the Bluetooth module 180 may also include one or more antennas.
  • the transceiver may utilize the antenna to transmit and/or receive wireless signals, which may be Bluetooth signals, wireless local area network signals, long-range signals such as cellular phone signals, near field communication signals, or other wireless signals based on the type of wireless module.
  • the charging module 190 can support the charging of the stylus 100 and provide power for the stylus 100 .
  • the stylus 100 may include a microphone, a speaker, an audio generator, a vibrator, a camera, a data port, and other devices.
  • a user can control the operation of the stylus 100 and the electronic device 200 that interacts with the stylus 100 by providing commands with these devices, and receive status information and other output.
  • FIG. 7 exemplarily shows a schematic diagram of a hardware structure of an electronic device 200 provided in an embodiment of the present application.
  • the electronic device 200 may include multiple subsystems that cooperate to perform, coordinate or monitor one or more operations or functions of the electronic device 200 .
  • Electronic device 200 includes processor 210 , input surface 220 , coordination engine 230 , power subsystem 240 , power connector 250 , wireless interface 260 and display 270 .
  • the coordination engine 230 can be used to communicate and/or process data with other subsystems of the electronic device 200; communicate and/or trade data with the stylus 100; measure and/or obtain one or more analog or digital output of a sensor, such as a touch sensor; measure and/or obtain the output of one or more sensor nodes of an array of sensor nodes, such as an array of capacitive sensing nodes; receive and locate tip and ring signals from stylus 100 ; positioning the stylus 100 based on the positions of the tip signal crossing area and the ring signal crossing area, etc.
  • the coordination engine 230 of the electronic device 200 includes or is otherwise communicatively coupled to a sensor layer underlying or integrated with the input surface 220 .
  • Coordination engine 230 utilizes the sensor layer to locate stylus 100 on input surface 220 and uses techniques described herein to estimate the angular position of stylus 100 relative to the plane of input surface 220 .
  • the input surface 220 may be called a touch screen 201 .
  • the sensor layer of the coordination engine 230 of the electronic device 200 is a grid of capacitive sensing nodes arranged in columns and rows. More specifically, the array of column traces is arranged perpendicular to the array of row traces.
  • the sensor layer can be separated from other layers of the electronic device, or the sensor layer can be placed directly on another layer, such as but not limited to: display stack layer, force sensor layer, digitizer layer, polarizer layer, battery layer , structural or decorative shell layers, etc.
  • the sensor layer can operate in multiple modes. If operating in mutual capacitance mode, the column and row traces form a single capacitive sensing node at each point of overlap (eg, "vertical" mutual capacitance). If operating in self-capacitance mode, the column and row traces form two (vertically aligned) capacitive sensing nodes at each point of overlap. In another embodiment, adjacent column traces and/or adjacent row traces may each form a single capacitive sensing node (eg, a "horizontal" mutual capacitance) if operating in mutual capacitance mode.
  • the sensor layer may detect the presence of the tip 10 of the stylus 100 and/or the touch of a user's finger by monitoring changes in capacitance (eg, mutual capacitance or self capacitance) present at each capacitive sensing node.
  • coordination engine 230 may be configured to detect tip and ring signals received from stylus 100 through the sensor layer via capacitive coupling.
  • the tip signal and/or the ring signal may include specific information and/or data that may be configured to enable the electronic device 200 to recognize the stylus 100 .
  • Such information is generally referred to herein as "stylus identity" information.
  • This information and/or data may be received by the sensor layer and interpreted, decoded and/or demodulated by the coordination engine 230 .
  • the processor 210 may use the stylus identity information to receive input from more than one stylus at the same time.
  • coordination engine 230 may be configured to transmit the position and/or angular position of each of the number of stylus detected by coordination engine 230 to processor 210.
  • the coordination engine 230 may also transmit to the processor 210 information related to the relative positions and/or relative angular positions of the plurality of stylus detected by the coordination engine 230 .
  • the coordination engine 230 may notify the processor 210 that the detected first stylus is located at a distance from the detected second stylus.
  • the end signal and/or the ring signal may also include specific information and/or data for enabling the electronic device 200 to identify a specific user. Such information is generally referred to herein as "user-identifying" information.
  • Coordination engine 230 may forward user identity information (if detected and/or recoverable) to processor 210 . If the user identity information cannot be recovered from the tip signal and/or the ring signal, the coordination engine 230 may optionally indicate to the processor 210 that the user identity information is not available. Processor 210 can utilize user identity information (or the absence of such information) in any suitable manner, including but not limited to: accepting or denying input from a specific user, allowing or denying access to specific functions of the electronic device, and the like. Processor 210 may use user identity information to receive input from more than one user at a time.
  • the tip signal and/or ring signal may include specific information and/or data that may be configured to cause the electronic device 200 to recognize a user's or stylus 100's settings or preferences. Such information is generally referred to herein as "stylus settings" information.
  • Coordination engine 230 may forward stylus setting information (if detected and/or recoverable) to processor 210 . If the stylus setting information cannot be recovered from the tip signal and/or the ring signal, the coordination engine 230 may optionally indicate to the processor 210 that the stylus setting information is not available.
  • the electronic device 200 can use the stylus to set the information (or the absence of the information) in any suitable way, including but not limited to: applying the setting to the electronic device, applying the setting to the program running on the electronic device, changing the The line thickness, color, and pattern presented by the graphics program of the electronic device, changing the settings of the video game operated on the electronic device, etc.
  • the processor 210 may be configured to perform, coordinate and/or manage the functions of the electronic device 200 .
  • Such functions may include, but are not limited to: communicating and/or transacting data with other subsystems of the electronic device 200, communicating and/or transacting data with the stylus 100, communicating data and/or transacting data via a wireless interface, communicating via a wired
  • the interface communicates and/or trades data, facilitates power exchange via wireless (eg, inductive, resonant, etc.) or wired interfaces, receives position and angular position of one or more stylus, and the like.
  • Processor 210 may be implemented as any electronic device capable of processing, receiving or sending data or instructions.
  • a processor may be a microprocessor, central processing unit, application specific integrated circuit, field programmable gate array, digital signal processor, analog circuit, digital circuit, or a combination of these devices.
  • Processors can be single-threaded or multi-threaded.
  • Processors can be single-core or multi-core processors.
  • processor 210 may be configured to access memory storing instructions.
  • the instructions may be configured to cause the processor to perform, coordinate or monitor one or more operations or functions of the electronic device 200 .
  • the instructions stored in memory may be configured to control or coordinate the operation of other components of electronic device 200, such as, but not limited to: another processor, analog or digital circuitry, volatile or non-volatile memory modules, displays, speakers, microphones, rotary input devices, buttons or other physical input devices, biometric authentication sensors and/or systems, force or touch input/output components, communication modules (such as wireless interfaces and/or power connectors), and/or Haptic feedback devices.
  • the memory can also store electronic data that can be used by the stylus or the processor.
  • memory may store electronic data or content (such as media files, documents, and applications), device settings and preferences, timing signals and control signals, or data, data structures, or databases for various modules, and detect tip signals and/or Or ring signal-related files or configurations, etc.
  • the memory can be configured as any type of memory.
  • memory may be implemented as random access memory, read only memory, flash memory, removable memory, other types of storage elements, or a combination of such devices.
  • the electronic device 200 also includes a power subsystem 240 .
  • Power subsystem 240 may include a battery or other power source.
  • the power subsystem 240 may be configured to provide power to the electronic device 200 .
  • the power subsystem 240 may also be coupled to a power connector 250 .
  • Power connector 250 may be any suitable connector or port that may be configured to receive power from an external power source and/or to provide power to an external load.
  • power connector 250 may be used to recharge a battery within power subsystem 240 .
  • power connector 250 may be used to transfer power stored (or available) within power subsystem 240 to stylus 100 .
  • the electronic device 200 also includes a wireless interface 260 to facilitate electronic communication between the electronic device 200 and the stylus 100 .
  • the electronic device 200 may be configured to communicate with the stylus 100 via a Bluetooth low energy communication interface or a near field communication interface.
  • the communication interface facilitates electronic communication between the electronic device 200 and an external communication network, device or platform.
  • Wireless interface 260 may be implemented as one or more of a wireless interface, a Bluetooth interface, a near field communication interface, a magnetic interface, a general purpose serial Bus interface, inductive interface, resonant interface, capacitive coupling interface, Wi-Fi interface, TCP/IP interface, network communication interface, optical interface, acoustic interface or any traditional communication interface.
  • the electronic device 200 also includes a display 270 .
  • Display 270 may be located behind input surface 220, or may be integrated therewith.
  • Display 270 may be communicatively coupled to processor 210 .
  • Processor 210 may present information to a user using display 270 .
  • processor 210 uses display 270 to present an interface with which a user can interact.
  • the user manipulates the stylus 100 to interact with the interface.
  • FIG. 8 exemplarily shows a schematic diagram of a hardware structure of a wireless keyboard 300 provided by an embodiment of the present application.
  • the wireless keyboard 300 may include a processor 310 , a memory 320 , a charging interface 330 , a charging management module 340 , a wireless charging coil 350 , a battery 360 , a wireless communication module 370 , a touch panel 380 , and a keyboard 390 .
  • the above-mentioned processor 310, memory 320, charging interface 330, charging management module 340, battery 360, wireless communication module 370, touch panel 380, keyboard 390, etc. can be arranged on the keyboard body of the wireless keyboard 300 (that is, as shown in FIG. 1 shown on the second portion 302).
  • the above-mentioned wireless charging coil 350 can be arranged in the connection part 304 (as shown in FIG. 4 ) for movably connecting the keyboard body and the bracket.
  • the structure shown in this embodiment does not constitute a specific limitation on the wireless keyboard 300 .
  • wireless keyboard 300 may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components may be implemented in hardware, software or a combination of software and hardware.
  • the memory 320 can be used to store program codes, such as program codes for wirelessly charging the stylus 100 .
  • a Bluetooth address for uniquely identifying the wireless keyboard 300 may also be stored in the memory 320 .
  • the memory 320 may also store connection data of electronic devices that have been successfully paired with the wireless keyboard 300 before.
  • the connection data may be the Bluetooth address of the electronic device successfully paired with the wireless keyboard 300 .
  • the wireless keyboard 300 can be automatically paired with the electronic device without configuring the connection therebetween, such as performing legality verification.
  • the above bluetooth address may be a media access control (media access control, MAC) address.
  • the processor 310 can be used to execute the above application program codes, and call related modules to realize the functions of the wireless keyboard 300 in the embodiment of the present application.
  • the processor 310 may include one or more processing units, and different processing units may be independent devices, or may be integrated in one or more processors 310 .
  • the processor 310 may be an integrated control chip, or may be composed of a circuit including various active and/or passive components, and the circuit is configured to execute the functions belonging to the processor 310 described in the embodiments of this application.
  • the processor of the wireless keyboard 300 may be a microprocessor.
  • the wireless communication module 370 can be used to support the connection between the wireless keyboard 300 and other electronic devices including Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), wireless local area network (wireless local area networks, WLAN) (such as Wireless fidelity (wireless fidelity, Wi-Fi) network), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication data exchange.
  • Bluetooth blue, BT
  • global navigation satellite system global navigation satellite system
  • GNSS global navigation satellite system
  • wireless local area network wireless local area networks, WLAN
  • frequency modulation frequency modulation
  • FM near field communication technology
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 370 may be a Bluetooth chip.
  • the wireless keyboard 300 may be a Bluetooth keyboard.
  • the wireless keyboard 300 can pair and establish a wireless connection with the Bluetooth chip of other electronic devices through the Bluetooth chip, so as to realize wireless communication between the wireless keyboard 300 and other electronic devices through the wireless connection.
  • the wireless communication module 370 may further include an antenna.
  • the wireless communication module 370 receives electromagnetic waves via the antenna, frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 310 .
  • the wireless communication module 370 can also receive the signal to be transmitted from the processor 310, frequency-modulate it, amplify it, and convert it into electromagnetic wave to radiate through the antenna.
  • wireless keyboard 300 may support wired charging.
  • the charging management module 340 may receive a charging input from a wired charger through the charging interface 330 .
  • the wireless keyboard 300 may support forward wireless charging.
  • the charging management module 340 can receive wireless charging input through the wireless charging coil 350 of the wireless keyboard 300 .
  • the charging management module 340 is connected to the wireless charging coil 350 through a matching circuit.
  • the wireless charging coil 350 can be coupled with the wireless charging coil of the wireless charger, and induces the alternating electromagnetic field emitted by the wireless charging coil 350 of the wireless charger to generate an alternating electric signal.
  • the alternating electric signal generated by the wireless charging coil 350 is transmitted to the charging management module 340 through the matching circuit, so as to wirelessly charge the battery 360 .
  • the charging management module 340 can also provide power for the wireless keyboard 300 while charging the battery 360 .
  • the charging management module 340 receives the input of the battery 360 to provide power for the processor 310 , the memory 320 , the external memory and the wireless communication module 370 .
  • the charging management module 340 can also be used to monitor parameters such as the battery capacity of the battery 360, the number of battery cycles, and the state of health of the battery (leakage, impedance).
  • the charging management module 340 may also be disposed in the processor 310 .
  • the wireless keyboard 300 can support reverse wireless charging.
  • the charging management module 340 may also receive an input from the charging interface 330 or the battery 360, and convert the DC signal input from the charging interface 330 or the battery 360 into an AC signal.
  • the AC signal is transmitted to the wireless charging coil 350 through the matching circuit.
  • the wireless charging coil 350 can generate an alternating electromagnetic field upon receiving the alternating current signal.
  • the wireless charging coil of other mobile terminals should induce an alternating electromagnetic field, which can be used for wireless charging. That is, the wireless keyboard 300 can also wirelessly charge other mobile terminals.
  • the wireless charging coil 350 can be set in the storage portion 303 of the wireless keyboard 300, and the wireless charging coil is set in the barrel 20 of the stylus 100. When the stylus 100 is placed in the storage portion 303, The wireless keyboard 300 can charge the stylus 100 through the wireless charging coil 350 .
  • FIG. 8 shows a schematic diagram of the hardware structure of the wireless keyboard 300 by taking the matching circuit integrated in the charging management module 340 as an example.
  • the charging interface 330 can be used to provide a wired connection for charging or communication between the wireless keyboard 300 and other electronic devices (such as a wired charger of the wireless keyboard 300 ).
  • a touch sensor is integrated in the above-mentioned touch panel 380 .
  • the notebook computer can receive user's control commands on the notebook computer through the touch panel 380 and the keyboard 390 .
  • the structure shown in the embodiment of the present application does not constitute a specific limitation on the wireless keyboard 300 . It may have more or fewer components than shown in FIG. 8, may combine two or more components, or may have a different configuration of components.
  • the casing of the wireless keyboard 300 may also be provided with a storage cavity for storing the stylus 100 .
  • the wireless charging coil 350 is disposed in the storage cavity, and is used for charging the stylus 100 wirelessly after the stylus 100 is stored in the storage cavity.
  • the outer surface of the wireless keyboard 300 may also include components such as buttons, indicator lights (which can indicate battery status, incoming/outgoing calls, pairing mode, etc.), touch screens (which can prompt the user for relevant information).
  • the button may be a physical button or a touch button (used in conjunction with a touch sensor), etc., and is used to trigger operations such as powering on, powering off, starting charging, and stopping charging.
  • FIG. 9 exemplarily shows a schematic diagram of interaction between the stylus 100 and the electronic device 200 provided by the embodiment of the present application.
  • the stylus 100 may include: a touch sensor 44 , a processor 110 and electrodes 160
  • the electronic device 200 may include: an electrode signal sensing array 202 and a processor 210 .
  • the electrode signal sensing array 202 may be the coordination engine 230 in FIG. 7 .
  • the stylus 100 and the electronic device 200 may include more or fewer components than shown in the illustrations, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the touch sensor 44 is used to collect touch operation data of the stylus by the user.
  • the touch sensor 44 can collect user operation data, such as the number of touches, and/or touch positions, and/or touch gestures (for example, sliding touch and/or point touch), and/or touch duration, etc., the touch sensor 44 can send the user's operation data to the processor 110 in the stylus 100 .
  • user operation data such as the number of touches, and/or touch positions, and/or touch gestures (for example, sliding touch and/or point touch), and/or touch duration, etc.
  • the processor 110 is configured to detect the user's operation action based on the user's operation data.
  • the user's operation data is: touch times, and/or touch positions, and/or touch gestures (for example, sliding touch and/or tap touch), and/or touch duration.
  • the processor 110 may include: touch times, and/or touch positions, and/or touch gestures (for example, sliding touch and/or tap touch), and/or touch duration, and the mapping relationship of the user's operation action, processing
  • the device 110 can detect the user's operation action based on the user's operation data and the mapping relationship, so as to achieve the purpose of the stylus 100 detecting the user's operation action.
  • the electrodes 160 may include a first emitter electrode 41 and a second emitter electrode 42 .
  • the processor 110 may be configured to send a downlink signal to the electronic device 200 through the electrode 160 .
  • the electrode signal sensing array 202 may be integrated in the touch screen of the electronic device 200 for receiving signals from the electrodes 160 (such as the aforementioned downlink signal, that is, the electrical signal).
  • the electrode signal sensing array 202 can also be used to send uplink signals (that is, electrical signals) to the electrodes 160 in the stylus 100 .
  • the uplink signal can be used for the function mode switching of the touch pen 100 . The method for switching the function mode of the stylus 100 based on the uplink signal will be described in detail in subsequent embodiments, and will not be repeated here.
  • the processor 210 is configured to execute a target function based on the signal received by the electrode signal sensing array 202 , for details, reference may be made to the description of the following embodiments.
  • FIG. 10 exemplarily shows another schematic diagram of interaction between another stylus 100 and an electronic device 200 provided by the embodiment of the present application.
  • the stylus 100 may include: a touch sensor 44 , a processor 110 and a Bluetooth module 180
  • the electronic device 200 may include: a processor 210 and a wireless interface 260 .
  • the wireless interface 260 is represented by the Bluetooth module 260 in FIG. 10 .
  • the stylus 100 and the electronic device 200 may include more or fewer components than shown in the illustrations, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware. In FIG.
  • the wireless connection between the stylus 100 and the electronic device 200 is illustrated as an example of Bluetooth connection, and the wireless connection between the stylus 100 and the electronic device 200 can also be other types of connections.
  • the wireless connection between the stylus 100 and the electronic device 200 can also be other types of connections.
  • the processor 110 can implement communication between the stylus 100 and the electronic device 200 based on the Bluetooth module 180 and the Bluetooth module 260 in the electronic device 200 , such as sending function signals to the electronic device 200 .
  • the processor 210 is configured to receive a function signal from the stylus 100 based on the bluetooth module 260, and execute a target function. For details, reference may be made to the description in the following embodiments.
  • the stylus 100 can perform data interaction with the electronic device 200 based on electrical signals, and at the same time, the electronic device 200 can perform corresponding operations in response to the electrical signals sent by the stylus 100 according to changes in capacitance on the touch screen.
  • the stylus 100 cannot remotely send an electrical signal to the electronic device 200 so that it can perform a specified operation (for example, page turning operation, etc.) in response to the electrical signal, Therefore operation is very inconvenient.
  • the embodiment of the present application provides a method for switching function modes.
  • the stylus 100 establishes a wireless communication connection with the electronic device 200 .
  • the stylus 100 can have a variety of different functional modes. Wherein, the various functional modes may include a first mode and a second mode. The stylus 100 can be switched between the first mode and the second mode.
  • the stylus 100 can detect a specified switching operation 1 performed by the user on the stylus 100, and in response to the specified switching operation 1, the stylus 100 can switch the function mode (for example, , to switch from the first mode to the second mode, or, to switch from the second mode to the first mode).
  • the specified operation 1 can be, for example, multiple touch operations acting on the area of the touch sensor 44 (for example, touching the area of the touch sensor 44 on the stylus 100 three times in a row), long-pressing the area of the touch sensor 44, and the like. This application is not limited to this.
  • the stylus 100 may also detect the strength of the designated signal 1 sent by the electronic device 200 (for example, the aforementioned uplink signal). When it is detected that the intensity of the specified signal 1 is less than the specified value 1 (eg, -50dbm), the stylus 100 can switch the function mode (eg, switch from the first mode to the second mode). When it is detected that the intensity of the specified signal 1 is greater than the specified value 1 (eg, -50dbm), the stylus 100 can also switch the function mode (eg, switch from the second mode to the first mode).
  • the electrode 160 in the stylus 100 can receive the intensity of the uplink signal sent by the electrode signal sensing array 202 in the touch screen of the electronic device 200 . When the stylus 100 detects that the strength value of the uplink signal is less than -50dbm, the stylus 100 can switch from the first mode to the second mode.
  • the stylus 100 when the stylus 100 receives the same user operation on the stylus 100 , the stylus 100 may correspond to different function signals.
  • input 1 corresponds to function signal 1
  • function signal 1 corresponds to function 1.
  • input 1 is assigned a function signal 5 which is assigned a function 5 .
  • the stylus 100 can make contact with the touch screen in the electronic device 200 .
  • the stylus 100 can continuously send downlink signals to the electronic device 200 , so that the electronic device 200 detects the position of the stylus 100 on the touch screen of the electronic device 200 and the inclination of the stylus 100 .
  • the downlink signal is used for the electronic device 200 to execute the writing function and the pointing function.
  • the stylus 100 When the stylus 100 receives the input 1 (for example, double-click) acting on the area of the touch sensor 44, the stylus 100 can acquire the function signal 1 corresponding to the input 1 in the first mode, and then send the function signal 1 To the electronic device 200 , the electronic device 200 executes the corresponding function 1 in response to the function signal 1 .
  • the input 1 for example, double-click
  • the stylus 100 can detect the strength of the electrical signal sent by the touch screen in the electronic device 200 (for example, the aforementioned uplink signal). When the stylus 100 detects that the intensity of the electrical signal is less than a specified value 1 (for example, -50dbm), the stylus 100 can switch from the first mode to the second mode.
  • a specified value 1 for example, -50dbm
  • the stylus 100 When the stylus 100 is in the second mode, the stylus 100 may be within a specified range 1 (for example, 10 meters) from the electronic device 200 .
  • the stylus 100 receives the input 1 (for example, double-click) acting on the area of the touch sensor 44, the stylus 100 can obtain the function signal 5 corresponding to the input 1 in the second mode, and then send the function signal 5 to The electronic device 200 enables the electronic device 200 to execute the corresponding function 5 in response to the function signal 5 .
  • the stylus 100 can switch the function mode in response to the designated switching operation 1 or the detection of the designated signal 1 whose intensity is less than the designated value 1 .
  • the stylus 100 may send different function signals to the electronic device 200 in response to received inputs based on different function modes, so that the electronic device 200 executes corresponding functions in response to the function signals. Therefore, the operation is very convenient, and the stylus 100 can be applied to a wider range of scenarios.
  • Stylus 100 is in a first mode:
  • the electronic device 200 may display a user interface 1100 .
  • User interface 1100 may include handwriting 1101 .
  • Stylus 100 may receive input 1 (eg, double tap) applied to the area of touch sensor 44 .
  • the stylus 100 can obtain a function signal 1 corresponding to the input 1 , and send the function signal 1 to the electronic device 200 based on a wireless communication connection (for example, a Bluetooth connection) or electrodes.
  • the function signal 1 may instruct the electronic device 200 to execute the function 1 .
  • the stylus 100 can continuously send downlink signals to the electronic device 200 through the electrodes.
  • the electronic device 200 receives the function signal 1 from the stylus 100 through the Bluetooth module, the electronic device 200 can The down signal of the electrode of the pen 100 determines the position of the stylus 100 on the touch screen, and then erases the handwriting at the corresponding position based on the function signal 1 (that is, cancels the display of the handwriting at the position).
  • the electronic device 200 may display the erased partial handwriting 1101 on the user interface 1100 .
  • the electronic device 200 determines the position of the stylus on the touch screen according to the function signal 1, and reference may be made to the relevant description of the electronic device 200 determining the position of the stylus on the touch screen according to the downlink signal, which will not be repeated here.
  • the electronic device 200 may display a user interface 1200 (also referred to as a first page).
  • the user interface 1200 may include a screen 1201 and a page number indicator 1202 .
  • the page number identifier 1202 may be used to indicate the positional relationship between the currently displayed page and other pages.
  • the page identifier 1202 is text information "2".
  • Stylus 100 may receive input 2 (eg, an upward swipe operation) applied to the area of touch sensor 44 . In response to the input 2, the stylus 100 can obtain the function signal 2 corresponding to the input 2, and send the function signal 2 to the electronic device 200 based on a wireless communication connection (eg, Bluetooth connection) or electrodes.
  • a wireless communication connection eg, Bluetooth connection
  • the electronic device 200 can execute the corresponding function 2 based on the function signal 2 .
  • the electronic device 200 may display a user interface 1300 (also referred to as a second page).
  • the user interface 1300 may include a screen 1301 and a page number indicator 1302 .
  • the page number identifier 1302 is text information "1", indicating that this page is the previous page of the page in the user interface 1200 .
  • the electronic device 200 may display a user interface 1200 .
  • the user interface 1200 For the description of the user interface 1200, reference may be made to the description in the embodiment shown in FIG. 11C , and details are not repeated here.
  • Stylus 100 may receive input 3 (eg, a downward swipe operation) applied to the area of touch sensor 44 .
  • the stylus 100 can obtain a function signal 3 corresponding to the input 3 , and send the function signal 3 to the electronic device 200 based on a wireless communication connection (for example, a Bluetooth connection) or electrodes.
  • a wireless communication connection for example, a Bluetooth connection
  • the electronic device 200 may execute a corresponding function 3 based on the function signal 3 .
  • the electronic device 200 may display a user interface 1400 (also referred to as a third page).
  • the user interface 1400 may include a screen 1401 and a page number identification 1402 .
  • the page number identifier 1402 is text information "3", indicating that the page is the next page of the page in the user interface 1200 .
  • the stylus 100 switches from the first mode to the second mode:
  • the stylus 100 may detect the strength of the designated signal 1 sent by the electronic device 200 .
  • the stylus 100 detects that the intensity of the specified signal 1 is less than the specified value 1, the stylus 100 switches from the first mode to the second mode.
  • the specified signal 1 may be an uplink signal sent by the electrode signal sensing array 202 in the touch screen of the aforementioned electronic device 200, and the specified value 1 may be -50dbm.
  • the electrodes 160 in the stylus 100 can detect the intensity of the uplink signal sent by the electrode signal sensing array 202 in the touch screen of the electronic device 200 .
  • the stylus 100 detects that the intensity of the electrical signal is less than -50dbm, the stylus 100 switches from the first mode to the second mode.
  • the stylus 100 when the stylus 100 detects that the tip of the stylus is facing upwards through the gyroscope in the inertial sensor 130 and detects an up and down sliding operation acting on the area of the touch sensor 44, In response to the above operations, the stylus 100 can be switched from the first mode to the second mode.
  • the stylus 100 can also be switched from the first mode to the second mode in response to other operations.
  • the stylus 100 can detect multiple touch operations acting on the area of the touch sensor 44 (for example, continuously touching the area of the touch sensor 44 on the stylus 100 for three times), and in response to the multiple touch operations, touch The pen 100 can be switched from the first mode to the second mode.
  • the present application does not limit the manner in which the stylus 100 switches from the first mode to the second mode.
  • Stylus 100 is in the second mode:
  • the stylus 100 and the electronic device 200 have established a wireless communication connection.
  • a Bluetooth connection is taken as an example.
  • the stylus 100 may be within a specified range 1 (for example, 10 meters) from the electronic device 200 .
  • the electronic device 200 can display a cursor on the touch screen.
  • the stylus 100 obtains the displacement information of the stylus 100 through the gyroscope, the stylus 100 may send the displacement information to the electronic device 200 based on the Bluetooth connection. After receiving the displacement information, the electronic device 200 may move the cursor to a corresponding position on the touch screen based on the displacement information.
  • the electronic device 200 may display a user interface 1500 .
  • User interface 1500 may include a Bluetooth icon 1501, a cursor 1502, and one or more application icons (e.g., a weather application icon, a stock application icon, a calculator application icon, a settings application icon, a mail application icon, a themes application icon, a calendar application icon, and drawing application icon 1503, etc.), etc.
  • the bluetooth icon 1501 may be used to instruct the stylus 100 to establish a bluetooth connection with the electronic device 200 .
  • a page indicator may also be displayed below the one or more application icons to indicate the positional relationship between the currently displayed page and other pages.
  • the stylus 100 can detect an input 4 applied to the rear area of the touch sensor 44 , eg, press and hold the rear area while the stylus 100 is moving as shown in FIG. 11J .
  • the stylus 100 can obtain the displacement information 1 of the stylus 100 through the gyroscope.
  • the stylus 100 can acquire the corresponding function signal 4 .
  • the stylus 100 can send the function signal 4 and the displacement information 1 to the electronic device 200 based on the Bluetooth connection.
  • the electronic device 200 can execute the corresponding function 4, display the cursor 1502, and make the cursor 1502 move a corresponding position on the touch screen. Then the electronic device 200 may display the moved position of the cursor 1502 on the user interface 1500 .
  • the cursor 1502 may be located in the drawing application icon 1503 area.
  • the electronic device 200 may display a user interface 1510.
  • the cursor 1502 is located in the drawing application icon 1503 area to indicate that the cursor 1502 selects the drawing application.
  • the stylus 100 may receive input 1 (eg, a double tap) applied to the area of the touch sensor 44 . In response to the input 1, the stylus 100 can acquire the function signal 5 corresponding to the input 1 in the second mode, and send the function signal 5 to the electronic device 200 based on the Bluetooth connection.
  • the electronic device 200 executes the corresponding function 5 based on the function signal 5 . That is to say, the electronic device 200 can start the painting application.
  • the electronic device 200 may display a user interface 1520 .
  • the user interface 1520 may include a screen 1521 .
  • the electronic device 200 may display a user interface 1520 .
  • the user interface 1520 For the description of the user interface 1520, reference may be made to the foregoing description of the embodiment shown in FIG. 11L , which will not be repeated here.
  • Stylus 100 may receive input 2 (eg, an upward swipe operation) applied to the area of touch sensor 44 . In response to the input 2, the stylus 100 can acquire the function signal 6 corresponding to the input 2 in the second mode, and send the function signal 6 to the electronic device 200 based on the Bluetooth connection.
  • input 2 eg, an upward swipe operation
  • the electronic device 200 may execute a corresponding function 6 based on the function signal 6 .
  • the electronic device 200 may display a user interface 1530 .
  • the user interface 1530 may include a screen 1531 (also referred to as a first area), and the screen 1531 is a screen displayed after the page in the user interface 1520 is slid up.
  • the electronic device 200 may display a user interface 1520 .
  • the user interface 1520 For the description of the user interface 1520, reference may be made to the foregoing description of the embodiment shown in FIG. 11L , which will not be repeated here.
  • Stylus 100 may receive input 3 (eg, a downward swipe operation) applied to the area of touch sensor 44 . In response to the input 3 , the stylus 100 can obtain the function signal 7 corresponding to the input 3 in the second mode, and send the function signal 7 to the electronic device 200 based on the Bluetooth connection.
  • input 3 eg, a downward swipe operation
  • the electronic device 200 may execute the corresponding function 7 based on the function signal 7 .
  • the electronic device 200 may display a user interface 1540 .
  • the user interface 1540 may include a screen 1541 (also referred to as a second area), and the screen 1541 is a screen displayed after sliding down a page in the user interface 1520 .
  • the electronic device 200 may display a user interface 1520 .
  • the stylus 100 may receive an input 5 acting on the front area of the touch sensor 44, for example, press and hold the front area while the stylus 100 moves as shown in FIG. 11R.
  • the stylus 100 can obtain the displacement information 2 of the stylus 100 through the gyroscope.
  • the stylus 100 can acquire the corresponding function signal 8 .
  • the stylus 100 can send the function signal 8 and the displacement information 2 to the electronic device 200 based on the Bluetooth connection.
  • the electronic device 200 can execute the corresponding function 8 based on the function signal 8 and the displacement information 2 , so that handwriting traces are displayed on the display screen.
  • the electronic device 200 may display a user interface 1550, and the user interface 1550 includes handwriting 1551A.
  • the shape of the handwriting 1551A is the same as the displacement track of the stylus 100 .
  • the specified application may be a painting application.
  • the electronic device 200 may display a user interface 1500 as shown in FIG. 11I .
  • the stylus 100 may receive an input 6 specific to the stylus 100 , for example, a long press on the area of the touch sensor 44 , and the stylus 100 detects a shaking operation of the stylus 100 through the acceleration sensor.
  • the stylus 100 can obtain the function signal 9 corresponding to the input 6, and send the function signal 9 to the electronic device 200 based on the Bluetooth connection.
  • the electronic device 200 can start the drawing application.
  • the electronic device 200 may display a user interface 1520 as shown in FIG. 11L .
  • the specified application is not limited to the painting application, and may also be other applications (for example, a calendar application, a theme application, or a weather application, etc.).
  • the specified application can be preset, for example, it can be set in advance by the user or set by the system.
  • the stylus 100 can receive the input 6 directed at the stylus 100 , and based on the input 6 , the electronic device 200 can start the specified application.
  • the stylus 100 when the stylus 100 does not detect a touch operation on the area of the touch sensor 44 , the movement of the stylus 100 will not trigger the electronic device 200 to perform any operation.
  • the electronic device 200 may display a user interface 1520 .
  • the user interface 1520 For the description of the user interface 1520, reference may be made to the description in the foregoing embodiment shown in FIG. 11L , and details are not repeated here.
  • the stylus 100 cannot detect that there is no operation on the area of the touch sensor 44 .
  • FIG. 11T when the stylus 100 moves, the electronic device 200 will not be triggered to perform any operation.
  • the electronic device 200 displays the same user interface 1520 as that shown in FIG. 11S .
  • FIG. 12 exemplarily shows a specific flowchart of a function mode switching method provided by an embodiment of the present application.
  • the method may specifically include:
  • the stylus 100 and the electronic device 200 establish a wireless communication connection.
  • the embodiment of the present application takes Bluetooth connection as an example.
  • the electronic device 200 can detect or scan the stylus 100 by transmitting signals through the Bluetooth module, establish a wireless communication connection with the stylus 100 and transmit data.
  • the bluetooth module can provide one or more bluetooth communication solutions including classic bluetooth (bluetooth 2.1 standard) or bluetooth low energy consumption.
  • the electronic device 200 can also detect or scan the stylus 100 by transmitting signals through the WLAN module, establish a wireless communication connection with the stylus 100 and transmit data.
  • the WLAN module can provide one or more WLAN communication solutions including Wi-Fi direct, Wi-Fi LAN or Wi-Fi softAP.
  • the stylus 100 can also communicate with the electronic device 200 wirelessly through frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC) or infrared technology (infrared, IR).
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared infrared
  • the data exchange establishes a wireless communication link. This application is not limited to this.
  • the stylus 100 detects a user's first input on the stylus 100 .
  • the first input may be the input 1, input 2 or input 3 in the embodiment shown in Fig. 11A-Fig. Swipe down operation, short press, long press, etc.
  • the single touch may be one touch
  • the double touch may be understood as two touches
  • the multi-touch may be understood as N touches, where N is an integer greater than 2.
  • a short press may mean that the duration of the touch sensor is less than a first preset duration
  • a long press may mean that the duration of the touch sensor is longer than a second preset duration, and the first preset duration is shorter than the second preset duration.
  • the stylus 100 can collect the user's operation data on the stylus 100 through the touch sensor, and then send the operation data to the processor.
  • the processor may detect the user's first input according to the user's operation data, so that the stylus 100 detects the user's first input to the stylus 100 .
  • the stylus 100 Based on the first input, the stylus 100 generates a first function signal corresponding to the first input in the first mode.
  • the stylus 100 can be in the first mode.
  • the first input corresponds to a first function signal
  • the first function signal corresponds to a first function
  • the first function signal may be the function signal 1, the function signal 2 or the function signal 3 in the embodiment shown in FIGS. 11A-11T.
  • the first function may be function 1, function 2 or function 3 in the embodiment shown in Figs. 11A-11T, such as an eraser function, a page turning function to display the previous page or a page turning function to display the next page, etc.
  • the stylus 100 When the stylus 100 detects the first input, the stylus 100 may generate a first function signal corresponding to the first input in the first mode.
  • the stylus 100 sends a first function signal to the electronic device 200 .
  • the stylus 100 may send the first function signal to the electronic device 200 through the wireless communication connection established in the aforementioned step S1201.
  • the wireless communication connection uses Bluetooth connection as an example.
  • both the stylus 100 and the electronic device 200 may store: in the first mode, each input (for example, the first input, etc.), the function signal (for example, the first function signal), the identifier in the function signal ( For example, a mapping relationship between a first identifier in the first function signal, etc.) and a function (for example, a first function corresponding to the first function signal, etc.).
  • the identifier in the function signal may be the name, serial number, etc. of the function.
  • the stylus 100 detects the user's input to the stylus 100 , it can determine the identifier in the function signal sent to the electronic device 200 according to the input and the above mapping relationship. After receiving the identifier in the function signal, the electronic device 200 may determine which function needs to be executed according to the identifier and the above mapping relationship.
  • the stylus 100 can determine the first input to be sent to the electronic device 200 based on the mapping relationship between the first input and the above storage in the first mode.
  • a function signal The stylus 100 can send the first function signal through the Bluetooth module.
  • the first function signal is a Bluetooth signal.
  • the first function signal includes a first identifier.
  • the electronic device 200 executes the first function based on the first function signal.
  • the electronic device 200 may determine the executed first function through the first identifier in the first function. The electronic device 200 may then perform the first function.
  • the first input is a double-click on the touch sensor area
  • the first function signal is function signal 1
  • the first function is an eraser function.
  • the electronic device 200 may receive the first function signal sent by the stylus 100 through a wireless communication connection (for example, a Bluetooth connection). Wherein, the first function signal includes the first identifier.
  • the electronic device 200 may determine the executed first function according to the first identifier.
  • the stylus 100 can continuously send downlink signals to the electronic device 200 through the electrodes.
  • the electronic device 200 may determine the position of the stylus 100 on the touch screen based on the downlink signal sent from the electrodes of the stylus 100, Then the handwriting at the corresponding position is erased.
  • a wireless communication connection for example, a Bluetooth connection
  • the stylus 100 can also detect the strength of the specified signal 1 (eg, the aforementioned uplink signal) sent by the electronic device 200 . When it is detected that the intensity of the specified signal 1 is less than the specified value 1 (for example, -50dbm), the stylus 100 can switch from the first mode to the second mode.
  • the specified signal 1 eg, the aforementioned uplink signal
  • the stylus 100 can switch from the first mode to the second mode.
  • the specified signal 1 may be an uplink signal sent by the electrode signal sensing array 202 in the touch screen of the aforementioned electronic device 200, and the specified value 1 may be -50dbm.
  • the electrodes 160 in the stylus 100 can detect the intensity of the uplink signal sent by the electrode signal sensing array 202 in the touch screen of the electronic device 200 .
  • the stylus 100 detects that the intensity of the electrical signal is less than -50dbm, the stylus 100 switches from the first mode to the second mode.
  • the stylus 100 can detect a specified switching operation 1 performed by the user on the stylus 100, and in response to the specified switching operation 1, the stylus 100 can switch the function mode (for example, , to switch from the first mode to the second mode, or, to switch from the second mode to the first mode).
  • the specified operation 1 can be, for example, multiple touch operations acting on the area of the touch sensor 44 (for example, touching the area of the touch sensor 44 on the stylus 100 three times in a row), long-pressing the area of the touch sensor 44, and the like. This application is not limited to this.
  • the electronic device 200 can detect the electrical signal released by the electrodes in the stylus 100 .
  • the electronic device 200 determines that the electrical signal released by the electrodes in the stylus 100 is less than a specified value 1 (for example. -50dbm)
  • it can send a function mode switching instruction 1 to the stylus 100 through a wireless communication connection, so that the stylus 100 It is possible to switch from the first mode to the second mode based on the functional mode switching instruction 1 .
  • a specified value 1 for example. -50dbm
  • it can send a function mode switching instruction 1 to the stylus 100 through a wireless communication connection, so that the stylus 100 It is possible to switch from the first mode to the second mode based on the functional mode switching instruction 1 .
  • the electronic device 200 determines that the electrical signal released by the electrodes in the stylus 100 is greater than the specified value 1, it can send a function mode switching instruction 2 to the stylus 100 through a wireless communication connection, so that the stylus 100 can switch based on the function mode. Instruction 2 switches from
  • the stylus 100 detects a second input by the user on the stylus 100 .
  • the second input may be the input 4, the input 5 or the input 6 in the aforementioned embodiments shown in Figs. 11A-11T.
  • the stylus 100 can collect the user's operation data on the stylus 100 through the touch sensor, and the displacement data of the stylus 100 through the gyroscope sensor, and then send the operation data and displacement data to the processor.
  • the processor can detect the user's second input according to the user's operation data and displacement data, so that the stylus 100 can detect the user's second input to the stylus 100 . That is to say, when the stylus 100 detects the user's operation on the area of the touch sensor 44 and at the same time the stylus 100 moves, the stylus 100 determines the user's second input to the stylus 100, So that the stylus 100 can perform subsequent operations based on the second input.
  • the stylus 100 Based on the second input, the stylus 100 generates a second function signal corresponding to the second input in the second mode.
  • the stylus 100 is in the second mode.
  • the second input corresponds to a second function signal
  • the second function signal corresponds to a second function
  • the second functional signal may be the functional signal 4, the functional signal 8 or the functional signal 9 in the aforementioned embodiment shown in FIG. 11A-FIG. 11T.
  • the second function may be function 4, function 8 or function 9 in the embodiment shown in FIGS. 11A-11T , such as the function of moving the cursor, the function of remote handwriting, and the function of starting a specified application.
  • the stylus 100 When the stylus 100 detects the second input, the stylus 100 may generate a second function signal corresponding to the second input in the second mode.
  • the stylus 100 acquires the position information of the stylus 100 through the first sensor.
  • the first sensor may be a gyroscope sensor.
  • the stylus 100 can acquire the position information when the stylus 100 moves through the gyroscope sensor, and then, the stylus 100 can send the acquired position information to the electronic device 200 every specified period (for example, 0.1 second).
  • the location information may be the displacement information 1 or the displacement information 2 in the aforementioned embodiments shown in FIGS. 11A-11T .
  • the first sensor may also be an accelerometer.
  • the stylus 100 can obtain the location information of the stylus 100 when it moves through the accelerometer, and send the obtained location information to the electronic device 200 every specified period (for example, 0.1 second).
  • the stylus 100 sends the second function signal and location information to the electronic device 200 .
  • the stylus 100 may send the second function signal and location information to the electronic device 200 through the wireless communication connection established in the aforementioned step S1201.
  • the wireless communication connection uses Bluetooth connection as an example.
  • both the stylus 100 and the electronic device 200 may store: in the second mode, each input (for example, the second input, etc.), the function signal (for example, the second function signal), the identifier in the function signal (for example, the mapping relationship between the second identifier in the second function signal, etc.) and the function (eg, the second function corresponding to the second function signal, etc.).
  • the identifier in the function signal may be the name, serial number, etc. of the function.
  • the stylus 100 detects the user's input to the stylus 100 , it can determine the identifier in the function signal sent to the electronic device 200 according to the input and the above mapping relationship. After receiving the identifier in the function signal, the electronic device 200 may determine which function needs to be executed according to the identifier and the above mapping relationship.
  • the stylus 100 can determine the first input to be sent to the electronic device 200 based on the mapping relationship between the first input and the above storage in the second mode.
  • Two function signal The stylus 100 can send the second function signal and location information through the Bluetooth module.
  • the second function signal is a Bluetooth signal.
  • the second function signal includes a second identifier.
  • the electronic device 200 After receiving the second function signal and location information, the electronic device 200 executes the second function based on the second function signal and location information.
  • the electronic device 200 may determine the executed second function through the second identifier in the second function. The electronic device 200 may then perform a second function based on the location information.
  • the second input is to press and hold the rear area, and at the same time, the stylus 100 moves as shown in FIG. 11J
  • the third function signal is function signal 4
  • the second function is to move the cursor function.
  • the electronic device 200 may receive the second function signal and location information sent by the stylus 100 through a wireless communication connection (for example, a Bluetooth connection).
  • the second function includes the second identifier, so that the electronic device 200 determines the executed second function based on the second identifier.
  • the electronic device 200 may execute the second function based on the location information, so that the cursor and the moving effect of the cursor are displayed on the display screen.
  • the electronic device 200 and the stylus 100 may also store: the first input in the second mode, the third function signal, and the mapping relationship between the third identifier in the third function signal and the third function. That is to say, in both the first mode and the second mode, the stylus 100 can receive the first input. In different modes, the stylus 100 can generate different function signals based on the first input, so that the electronic device 200 can perform different functions based on the different function signals. Different from the first mode, in the second mode, the first input corresponds to the third function signal and the third function. Wherein, the third function signal is different from the aforementioned first function signal, and the third function is different from the aforementioned first function.
  • the third identifier in the third function signal may be the name, serial number, etc. of the function.
  • the stylus 100 may determine the third function signal and the third identifier therein to be sent to the electronic device 200 according to the input and the above mapping relationship.
  • the electronic device 200 may execute the third function according to the identifier and the above mapping relationship.
  • the first input may be a double-click on the touch sensor area.
  • the third function signal corresponding to the first input in the second mode is function signal 5
  • the third function is to launch the selected application.
  • the electronic device 200 may receive the third function signal sent by the stylus 100 through a wireless communication connection (for example, a Bluetooth connection). Wherein, the third function signal includes a third identifier.
  • the electronic device 200 may determine the third function to be executed according to the third identification, that is, to start the selected drawing application.
  • the function corresponding to the first input to make the electronic device 200 execute is an eraser function.
  • the term “when” may be interpreted to mean “if” or “after” or “in response to determining" or “in response to detecting".
  • the phrase “in determining” or “if detected (a stated condition or event)” may be interpreted to mean “if determining" or “in response to determining" or “on detecting (a stated condition or event)” or “in response to detecting (a stated condition or event)”.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state hard disk), etc.
  • the processes can be completed by computer programs to instruct related hardware.
  • the programs can be stored in computer-readable storage media.
  • When the programs are executed may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

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

本申请公开了一种功能模式切换方法、电子设备及系统,涉及终端技术领域,该方法包括:触控笔和电子设备可以建立无线通信连接。触控笔可以具有多种不同的功能模式。其中,该多种不同的功能模式可以包括第一模式和第二模式。触控笔可以在第一模式和第二模式之间进行切换。触控笔可以基于不同的功能模式,响应于接收到的输入,向电子设备发送不同的功能信号,以使得电子设备响应于该功能信号执行对应的功能。操作十分方便,触控笔可以应用的场景也更加广泛。

Description

功能模式切换方法、电子设备及系统
本申请要求于2021年11月11日提交中国专利局、申请号为202111335356.7、申请名称为“功能模式切换方法、电子设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种功能模式切换方法、电子设备及系统。
背景技术
随着终端技术的发展,电子设备在日常生活中的应用也越来越广泛。对于配备有触控笔的电子设备(例如,大屏、手机以及平板等),用户使用触控笔在电子设备上进行点触、书写和擦除笔迹等操作也越来越频繁。
目前,当用户使用触控笔在电子设备上进行点触、书写和擦除笔迹等操作时,需要使得触控笔接触电子设备上的触摸屏。触控笔和电子设备可以通过电信号的交互,并根据电子设备中触摸屏上电容值的变化,以使得触控笔可以基于电子设备执行上述操作。然而,在一些应用场景(例如,投屏场景)中,触控笔并不能远距离向电子设备发送电信号以使其响应于该电信号执行指定功能(例如,翻页功能等),因此操作十分不方便。
发明内容
本申请提供了一种功能模式切换的方法、电子设备及系统,实现了触控笔可以基于不同的功能模式,响应于接收到的输入,向电子设备发送不同的功能信号,以使得电子设备响应于该功能信号执行对应的功能。操作十分方便,触控笔可以应用的场景也更加广泛。
第一方面,本申请提供了一种功能模式切换方法,该方法包括:所述触控笔和所述电子设备建立无线通信连接;所述触控笔处于第一模式;所述触控笔检测到第一输入;响应于所述第一输入,所述触控笔基于所述无线通信连接,发送所述第一模式下所述第一输入对应的第一功能信号;所述电子设备基于所述第一功能信号,执行第一功能;当所述触控笔检测到所述电子设备中触控屏释放的电信号的强度小于第一数值时,所述触控笔从所述第一模式切换至第二模式;所述触控笔检测到第二输入;所述触控笔检测到所述触控笔的位置信息;响应于所述第二输入,所述触控笔基于所述无线通信连接,发送所述第二模式下所述第二输入对应的第二功能信号和所述位置信息;所述电子设备基于所述第二功能信号和所述位置信息,执行第二功能。这样,实施本方法,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述无线通信连接为:蓝牙通信连接,或无线局域网WLAN通信连接。
在一种可能的实现方式中,所述第一输入包括以下任意一种:针对于所述触控笔中触摸传感器区域的向上滑动操作,针对于所述触控笔中触摸传感器区域的向下滑动操作,或双击触摸传感器区域的操作。
在一种可能的实现方式中,所述电子设备基于所述第一功能信号,执行第一功能,具 体包括:所述电子设备显示出笔迹;所述电子设备接收到所述第一功能信号;所述电子设备通过所述触控笔中电极发送的下行信号,确定所述触控笔在所述电子设备中触控屏上的位置;所述电子设备基于所述第一功能信号,取消显示所述触控屏上所述位置的笔迹。这样,可以实现擦除笔迹功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述电子设备基于所述第一功能信号,执行第一功能,具体包括:所述电子设备显示第一页面;所述电子设备接收到所述第一功能信号;响应于所述第一功能信号,所述电子设备显示出第二页面;其中,所述第二页面为所述第一页面的前一级页面。这样,可以实现翻页显示不同页面的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述电子设备基于所述第一功能信号,执行第一功能,具体包括:所述电子设备显示第一页面;所述电子设备接收到所述第一功能信号;响应于所述第一功能信号,所述电子设备显示出第三页面;其中,所述第三页面为所述第一页面的后一级页面。这样,可以实现翻页显示不同页面的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述电子设备基于所述第二功能信号和所述位置信息,执行第二功能,具体包括:所述电子设备基于所述第二功能信号和所述位置信息,显示出所述位置信息对应位置的笔迹。这样,可以实现远距离笔迹书写的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述电子设备基于所述第二功能信号和所述位置信息,执行第二功能,具体包括:所述电子设备显示出光标;所述电子设备基于所述第二功能信号和所述位置信息,显示出所述位置信息对应位置的光标移动轨迹。这样,可以实现远距离控制光标移动功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述第二输入包括以下任意一种:按住所述触控笔中触摸传感器前侧区域并移动所述触控笔,按住所述触控笔中触摸传感器后侧区域并移动所述触控笔,针对于所述触控笔中触摸传感器区域的向上滑动操作,针对于所述触控笔中触摸传感器区域的向下滑动操作,或双击触摸传感器区域的操作。
在一种可能的实现方式中,所述位置信息由所述触控笔中的陀螺仪检测并获取。
在一种可能的实现方式中,所述方法还包括:所述触控笔检测到所述第一输入;响应于所述第一输入,所述触控笔基于所述无线通信连接,发送所述第二模式下所述第一输入对应的第三功能信号;所述电子设备基于所述第三功能信号,执行第三功能。
在一种可能的实现方式中,所述电子设备基于所述第三功能信号,执行第三功能,具体包括:所述电子设备显示出光标,所述光标位于所述第一应用的应用图标区域;所述电子设备接收到所述第三功能信号;响应于所述第三功能信号,所述电子设备启动所述第一应用。这样,可以实现利用触控笔远距离启动选中应用的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述电子设备基于所述第三功能信号,执行第三功能,具体包括:所述电子设备显示第一页面;所述电子设备接收到所述第三功能信号;响应于所述第三功能信号,所述电子设备显示出第一页面中的第一区域;其中,所述第一区域为所 述第一页面中的上部分区域。这样,可以实现利用触控笔远距离控制页面显示区域的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述电子设备基于所述第三功能信号,执行第三功能,具体包括:所述电子设备显示第一页面;所述电子设备接收到所述第三功能信号;响应于所述第三功能信号,所述电子设备显示出第一页面中的第二区域;其中,所述第二区域为所述第一页面中的下部分区域。这样,可以实现利用触控笔远距离控制页面显示区域的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
第二方面,本申请提供了一种触控笔,包括:处理器、触摸传感器、运动传感器和无线通信模块。其中:所述无线通信模块,用于与电子设备建立无线通信连接;所述触摸传感器,用于检测第一输入;所述无线通信模块,用于响应于所述第一输入,发送到所述第一模式下所述第一输入对应的第一功能信号;所述处理器,还用于检测到所述电子设备中触控屏释放的电信号的强度小于第一数值时,控制所述触控笔由所述第一模式切换至第二模式;所述触摸传感器,还用于检测第二输入;所述运动传感器,用于检测所述触控笔的位置信息;所述无线通信模块,还用于响应于所述第二输入,向所述电子设备发送所述第二模式下所述第二输入对应的第二功能信号和所述位置信息。这样,基于该触控笔实施本方法,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述第一输入包括以下任意一种:针对于所述触控笔中触摸传感器区域的向上滑动操作,针对于所述触控笔中触摸传感器区域的向下滑动操作,或双击触摸传感器区域的操作。
在一种可能的实现方式中,所述无线通信连接为:蓝牙通信连接,或无线局域网WLAN通信连接。
在一种可能的实现方式中,所述第二输入包括以下任意一种:按住所述触控笔中触摸传感器前侧区域并移动所述触控笔,按住所述触控笔中触摸传感器后侧区域并移动所述触控笔,针对于所述触控笔中触摸传感器区域的向上滑动操作,针对于所述触控笔中触摸传感器区域的向下滑动操作,或双击触摸传感器区域的操作。
在一种可能的实现方式中,所述触控笔还包括电极;所述电极用于向所述电子设备发送下行信号。
在一种可能的实现方式中,所述触摸传感器,还用于检测到所述第一输入;所述无线通信模块,还用于响应于所述第二输入,向所述电子设备发送所述第二模式下所述第一输入对应的第三功能信号。
第三方面,本申请提供了一种电子设备,包括:处理器、触控屏、电极信号感应阵列和无线通信模块;所述电极信号感应阵列集成在所述触控屏中。其中:所述无线通信模块,用于和触控笔建立无线通信连接;所述无线通信模块,还用于接收第一功能信号;所述处理器,用于基于所述第一功能信号,执行第一功能;所述电极信号感应阵列,用于向所述触控笔发送电信号;所述无线通信模块,还用于接收第二功能信号和所述触控笔的位置信息;所述处理器,还用于基于所述第二功能信号和所述位置信息,执行第二功能。这样, 基于该电子设备实施本方法,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述无线通信连接为:蓝牙通信连接,或无线局域网WLAN通信连接。
在一种可能的实现方式中,所述触控屏,用于显示出笔迹;当所述无线通信模块接收到所述第一功能信号后,所述处理器,具体用于:通过所述触控笔中电极发送的下行信号,确定所述触控笔在所述触控屏上的位置;基于所述第一功能信号,取消显示所述触控屏上所述位置的笔迹。这样,可以实现擦除笔迹功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述触控屏,用于显示第一页面;当所述无线通信模块接收到所述第一功能信号后,所述处理器,具体用于:响应于所述第一功能信号,使得所述触控屏显示出第二页面;其中,所述第二页面为所述第一页面的前一级页面。这样,可以实现翻页显示不同页面的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述触控屏,用于显示第一页面;当所述无线通信模块接收到所述第一功能信号后,所述处理器,具体用于:响应于所述第一功能信号,使得所述触控屏显示出第三页面;其中,所述第三页面为所述第一页面的后一级页面。这样,可以实现翻页显示不同页面的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述处理器,具体用于基于所述第二功能信号和所述位置信息,使得所述触控屏显示出所述位置信息对应位置的笔迹。这样,可以实现远距离笔迹书写的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述处理器,具体用于:使得所述触控屏显示出光标;基于所述第二功能信号和所述位置信息,使得所述触控屏显示出所述位置信息对应位置的光标移动轨迹。这样,可以实现远距离控制光标移动功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述无线通信模块,还用于接收第三功能信号;所述处理器,还用于基于所述第三功能信号,执行第三功能。
在一种可能的实现方式中,所述触控屏,用于显示第一页面;当所述无线通信模块接收到所述第三功能信号后,所述处理器,具体用于:响应于所述第三功能信号,使得所述触控屏显示出第一页面中的第一区域;其中,所述第一区域为所述第一页面中的上部分区域。这样,可以实现利用触控笔远距离控制页面显示区域的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述触控屏,用于显示第一页面;当所述无线通信模块接收到所述第三功能信号后,所述处理器,具体用于:响应于所述第三功能信号,使得所述触控屏显示出第一页面中的第二区域;其中,所述第二区域为所述第一页面中的下部分区域。这样,可以实现利用触控笔远距离控制页面显示区域的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
在一种可能的实现方式中,所述触控屏,用于显示出光标,所述光标位于所述第一应用的应用图标区域;当所述无线通信模块接收到所述第三功能信号后,所述处理器,具体用于:响应于所述第三功能信号,启动所述第一应用。这样,可以实现利用触控笔远距离 启动选中应用的功能,操作十分方便,触控笔可以应用的场景也更加广泛。
第四方面,本申请实施例提供了一种计算机存储介质,所述存储介质中存储有计算机程序,所述计算机程序包括可执行指令,所述可执行指令当被处理器执行时使所述处理器执行上述第一方面任一项可能的实现方式中的方法。基于该处理器实施本申请提供的方法,操作十分方便,使得触控笔可以应用的场景也更加广泛。
附图说明
图1为本申请实施例提供的一种通信系统的架构示意图;
图2A-图2C为本申请实施例提供的一种触控笔的结构示意图;
图3为本申请实施例提供的一种触控笔和电子设备的信号交互示意图;
图4为本申请实施例提供的一种无线键盘的结构示意图;
图5A为本申请实施例提供的一种触控笔收纳到收纳部中的示意图;
图5B为本申请实施例提供的一种触控笔收纳在无线键盘的收纳部时的侧面示意图;
图6为本申请实施例提供的一种触控笔的硬件结构示意图;
图7为本申请实施例提供的一种电子设备的硬件结构示意图;
图8为本申请实施例提供的一种无线键盘的硬件结构示意图;
图9为本申请实施例提供的一种触控笔和电子设备的交互示意图;
图10为本申请实施例提供的另一种触控笔和电子设备的交互示意图;
图11A-图11T为本申请实施例提供的一种功能模式切换方法的应用场景;
图12为本申请实施例提供的一种功能模式切换方法的具体流程示意图。
具体实施方式
本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请得到说明书和所附权利要书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指包含一个或多个所列出醒目的任何或所有可能组合。在本申请实施例中,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
首先,介绍一种本申请实施例提供的通信系统。
请参考图1,图1示例性示出了一种本申请实施例提供的一种通信系统的架构示意图。
如图1所示,该通信系统可以包括触控笔(stylus)100、电子设备200和无线键盘300。其中,电子设备200可以称为用户设备(user equipment,UE)、终端(terminal)等,例如,电子设备200可以为平板电脑(portable android device,PAD)、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备、车载设备或可穿戴设备,虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工 业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等具有触控屏(也可以被称为触摸屏)的移动终端或固定终端。本实施例中,以电子设备200是平板电脑为例进行阐述。
触控笔100和无线键盘300可以向电子设备200提供输入,电子设备200基于触控笔100或无线键盘300的输入,执行响应于该输入的操作。无线键盘300上可以设置触控区域,触控笔100可以操作无线键盘300的触控区域,向无线键盘300提供输入,无线键盘300可以基于触控笔100的输入执行响应于该输入的操作。在一种实施例中,触控笔100和电子设备200之间、触控笔100和无线键盘300之间,以及电子设备200和无线键盘300之间,可以通过通信网络进行互联,以实现无线信号的交互。该通信网络可以但不限于为:WI-FI热点网络、WI-FI点对点(peer-to-peer,P2P)网络、蓝牙网络、zigbee网络或近场通信(near field communication,NFC)网络等近距离通信网络。
触控笔100可以但不限于为:电感笔和电容笔。电子设备200具有触控屏201,触控笔100为电感笔时,与触控笔100交互的电子设备200的触控屏201上需要集成电磁感应板。电磁感应板上的分布有线圈,电感笔中也集成有线圈。基于电磁感应原理,在电磁感应板所产生的磁场范围内,随着电感笔的移动,电感笔能够积蓄电能。电感笔可以将积蓄的电能通过自由震荡,经电感笔中的线圈传输至电磁感应板。电磁感应板可以基于来自电感笔的电能,对电磁感应板上的线圈进行扫描,计算出电感笔在触控屏201上的位置。在一种实施例中,触控屏可以称为触摸屏,触控笔可以称为手写笔。
电容笔可以包括:无源电容笔和有源电容笔。无源电容笔可以称为被动式电容笔,有源电容笔可以称为主动式电容笔。
主动式电容笔中(例如笔尖内)可以设置一个或多个电极,主动式电容笔可以通过电极发射信号。触控笔100为主动式电容笔时,与触控笔100交互的电子设备200的触控屏201上需要集成电极信号感应阵列。在一种实施例中,电极信号感应阵列可以为电容式电极信号感应阵列。电子设备200通过电极信号感应阵列可以接收来自主动式电容笔的信号,进而在接收到该信号时,基于触控屏201上的电容值的变化识别主动式电容笔在触控屏上的位置,以及主动式电容笔的倾角。
接下来,介绍本申请实施例中提供的一种触控笔的结构。
请参照图2A-图2C,图2A-图2C示例性示出了一种本申请实施例提供的一种触控笔100的结构示意图。
图2A为本申请实施例提供的触控笔100的结构示意图。该触控笔100以主动式电容笔为例。参照图2A所示,触控笔100可以包括笔尖10、笔杆20和后盖30。笔杆20的内部为中空结构,笔尖10和后盖30分别位于笔杆20的两端,后盖30与笔杆20之间可以通过插接或者卡合方式,笔尖10与笔杆20之间的配合关系详见图2B的描述。
图2B为本申请实施例提供的触控笔的部分拆分结构示意图。参照图2B所示,触控笔100还包括主轴组件50,主轴组件50位于笔杆20内,且主轴组件50在笔杆20内可滑动 设置。主轴组件50上具有外螺纹51,笔尖10包括书写端11和连接端12,其中,笔尖10的连接端12具有与外螺纹51配合的内螺纹(未示出)。
当主轴组件50装配到笔杆20内时,笔尖10的连接端12伸入笔杆20内且与主轴组件50的外螺纹51螺纹连接。在一些其他示例中,笔尖10的连接端12与主轴组件50之间还可以通过卡合等可拆卸方式实现连接。通过笔尖10的连接端12与主轴组件50之间可拆卸相连,这样实现了对笔尖10的更换。
其中,为了对笔尖10的书写端11受到的压力进行检测,参照图2A所示,笔尖10与笔杆20之间具有间隙10a,这样可以确保笔尖10的书写端11受到外力时,笔尖10可以朝向笔杆20移动,笔尖10的移动会带动主轴组件50在笔杆20内移动。而对外力的检测,参照图2B所示,在主轴组件50上设有压感组件60,压感组件60的部分与笔杆20内的固定结构固定相连,压感组件60的部分与主轴组件50固定相连。这样,主轴组件50随着笔尖10移动时,由于压感组件60的部分与笔杆20内的固定结构固定相连,所以主轴组件50的移动会驱动压感组件60形变,压感组件60的形变传递给电路板70(例如,压感组件60与电路板70之间可以通过导线或者柔性电路板实现电连接),电路板70根据压感组件60形变检测出笔尖10的书写端11的压力,从而根据笔尖10书写端11的压力控制书写端11的线条粗细。
需要说明的是,笔尖10的压力检测包括但不限于上述方法。例如,还可以通过在笔尖10的书写端11内设置压力传感器,由压力传感器检测笔尖10的压力。
本实施例中,参照图2B所示,触控笔100还包括多个电极,多个电极例如可以为第一发射电极41、接地电极43和第二发射电极42。第一发射电极41、接地电极43和第二发射电极42均与电路板70电连接。第一发射电极41可以位于笔尖10内且靠近书写端11,电路板70可以被配置为可以分别向第一发射电极41和第二发射电极42提供信号的控制板,第一发射电极41用于发射第一信号,当第一发射电极41靠近电子设备200的触控屏201时,第一发射电极41与电子设备200的触控屏201之间可以形成耦合电容,这样电子设备200可以接收到第一信号。其中,第二发射电极42用于发射第二信号,电子设备200根据接收到的第二信号可以判断触控笔100的倾斜角度。本申请实施例中,第二发射电极42可以位于笔杆20的内壁上。在一种示例中,第二发射电极42也可以位于主轴组件50上。
接地电极43可以位于第一发射电极41和第二发射电极42之间,或者,接地电极43可以位于第一发射电极41和第二发射电极42的外周围,接地电极43用于降低第一发射电极41和第二发射电极42相互之间的耦合。
当电子设备200接收来自触控笔100的第一信号时,触控屏201对应位置处的电容值会发生变化。据此,电子设备200可以基于触控屏201上的电容值的变化,确定触控笔100(或触控笔100的笔尖)在触控屏201上的位置。另外,电子设备200可以采用倾角检测算法中的双笔尖投影方法获取触控笔100的倾斜角度。其中,第一发射电极41和第二发射电极42在触控笔100中的位置不同,因此当电子设备200接收来自触控笔100的第一信号和第二信号时,触控屏201上两个位置处的电容值会发生变化。电子设备200可以根据第一发射电极41和第二发射电极42之间的距离,以及触控屏201上电容值发生变化的两个 位置处之间的距离,获取触控笔100的倾斜角度,更为详细的获取触控笔100的倾斜角度可以参照现有技术中双笔尖投影方法的相关描述。
本申请实施例中,参照图2B所示,触控笔100还包括:电池组件80,电池组件80用于向电路板70提供电源。其中,电池组件80可以包括锂离子电池,或者,电池组件80可以包括镍铬电池、碱性电池或镍氢电池等。在一种实施例中,电池组件80包括的电池可以为可充电电池或一次性电池,其中,当电池组件80包括的电池为可充电电池时,触控笔100可以通过无线充电方式对电池组件80中的电池进行充电。当然,也可通过有线充电方式对电池组件80中的电池进行充电,比如,在笔杆20靠近后盖30的一端设置电源连接器(图中未示出),电源连接器与电池组件80连接。其后盖30可遮蔽电源连接器。
如图2C所示,触控笔100还可以包括:触摸传感器44。该触摸传感器44可以设置于笔杆20靠近笔尖10的区域。触摸传感器44可以用于检测作用于其上或附近的触摸操作。在一些实施例中,触摸传感器44可以包括区域441、区域442和区域443。在指定时间段1(例如,2秒)内,当触摸传感器44检测到作用于区域442上的长按操作并保持不变,且检测到触摸传感器上的触摸操作,该触摸操作的方向平行于笔杆20,触摸区域覆盖区域441和区域443时,触摸传感器44即确定出上述操作为滑动操作。例如,当触摸传感器44检测到作用于区域442上的长按操作并保持不变,且检测到触摸传感器上的触摸操作,该触摸操作的方向平行于笔杆20,且该触摸操作的移动位置由区域443至区域441时,触摸传感器44确定出上述操作为向上滑动操作(也可以被称为上滑操作)。当触摸传感器44检测到作用于区域442上的长按操作并保持不变,且检测到触摸传感器上的触摸操作,该触摸操作的方向平行于笔杆20,且该触摸操作的移动位置由区域441至区域443时,触摸传感器44确定出上述操作为向下滑动操作(也可以被称为下滑操作)。
响应于该滑动操作,触控笔100可以向电子设备200发送对应的功能信号,以使得电子设备200可以基于该功能信号执行相应的功能。
在一种可能的实现方式中,触控笔100还可以在指定时间段1(例如,2秒)内检测到触摸操作的方向平行于笔杆20,且触摸区域覆盖区域441和区域443时,确定出上述操作为滑动操作。本申请对此不作限制。其上滑操作和下滑操作中触摸操作移动位置的描述,可以参考前述说明,在此不再赘述。
如图3所示,当触控笔100为主动式电容笔时,电子设备200和触控笔100无线连接后,电子设备200可以通过触控屏201上集成的电极信号感应阵列向触控笔100发送上行信号。触控笔100可以通过接收电极接收该上行信号,且触控笔100通过发射电极(例如第一发射电极41和第二发射电极42)发射下行信号。下行信号包括上述的第一信号和第二信号。当触控笔100的笔尖10接触触控屏201时,触控屏201对应位置处的电容值会发生变化,电子设备200可以基于触控屏201上的电容值,确定触控笔100的笔尖10在触控屏201上的位置。在一种实施例中,上行信号和下行信号可以为方波信号。
下面,介绍本申请实施例提供的一种无线键盘的结构。
请参考图4,图4示例性示出了本申请实施例提供的一种无线键盘300的结构示意图。
如图4所示,无线键盘300可以包括第一部分301和第二部分302。示例性的,如无线键盘300可以包括:键盘主体和键盘套。第一部分301可以为键盘套,第二部分302为键盘主体。第一部分301用于放置电子设备200,第二部分302上可以设置有用于用户操作的按键、触控板等。
其中,无线键盘300使用时,需要将无线键盘300的第一部分301和第二部分302打开,而无线键盘300不使用时,无线键盘300的第一部分301和第二部分302能够合上。在一种实施例中,无线键盘300的第一部分301与第二部分302之间可以转动相连。例如,第一部分301与第二部分302之间可以通过转轴或者铰链相连,或者,在一些示例中,第一部分301与第二部分302之间通过柔性材料(例如皮质材料或布材料)实现转动相连。或者,在一些示例中,第一部分301与第二部分302可以一体成型,且第一部分301与第二部分302之间的连接处通过减薄处理,使得第一部分301与第二部分302之间的连接处可以弯折。其中,第一部分301和第二部分302之间的连接方式可以包括但不限于上述的几种转动连接方式。
其中,第一部分301可以包括至少两个转动相连的支架。例如,参照图4所示,第一部分301包括第一支架301a和第二支架301b,第一支架301a和第二支架301b之间转动相连,在使用时,可以采用第一支架301a和第二支架301b共同对电子设备200进行支撑(参照图1)。或者,第一支架301a对第二支架301b提供支撑,第二支架301b对电子设备200进行支撑。参照图4所示,第二支架301b与第二部分302之间转动相连。
其中,参照图4所示,为了便于对触控笔100进行收纳,无线键盘300上可以设置有收纳触控笔100的收纳部303。参照图4所示,收纳部303为筒状的腔体,收纳时,触控笔100沿着图4中的箭头方向插入收纳腔体中。本实施例中,参照图4所示,第二部分302和第二支架301b之间通过连接部304转动连接,连接部304中设置有收纳部303。其中,连接部304可以为转轴。
图5A为本申请实施例提供的触控笔100收纳到收纳部中的示意图,图5B为本申请实施例提供的触控笔100收纳在无线键盘的收纳部时的侧面示意图。参照图5B所示,收纳部303为圆形腔体,且收纳部303的内径大于触控笔100的外径。
其中,为了避免触控笔100放置于收纳部303中掉落,在一种实施例中,收纳部303的内壁上可以设置有磁性材料,触控笔100中可以设置磁性材料。触控笔100通过磁性材料之间的磁性吸附作用吸附在收纳部303内。当然,在一些示例中,触控笔100与收纳部303之间固定时,包括但不限于采用磁力吸附实现固定,例如,触控笔100与收纳部303之间还可以通过卡合方式实现固定。
其中,为了方便触控笔100从收纳部303中取出,收纳部303内可以设置弹出结构,例如,按压触控笔100的一端,弹出机构可以驱动触控笔100的一端从收纳部303向外弹出。
接下来,介绍本申请实施例提供的一种触控笔的硬件结构。
请参考图6,图6示例性示出了本申请实施例提供的一种触控笔100的硬件结构示意 图。
如图6所示,触控笔100可以包括处理器110、一个或多个传感器(例如,触摸传感器120、惯性传感器130等)、状态指示器140、按钮150、电极160、感测电路170、蓝牙模块180和充电模块190等。其中:
处理器110可以包括用于支持触控笔100的操作的存储和处理电路。存储和处理电路可以包括诸如非易失性存储器的存储装置(例如,闪存存储器或构造为固态驱动器的其它电可编程只读存储器)、易失性存储器(例如,静态或动态随机存取存储器)等。处理器110中的处理电路可以用来控制触控笔100的操作。处理电路可以基于一个或多个微处理器、微控制器、数字信号处理器、基带处理器、电源管理单元、音频芯片、专用集成电路等。
触摸传感器120可以用于检测作用于其上或附近的触摸操作。
惯性传感器130可以包括三轴加速计和六轴陀螺仪,和/或,用于测量触控笔100的运动的其它部件,例如,三轴磁力计可以以九轴惯性传感器的构造被包括在传感器中。在后续实施例的流程中,当触控笔100进行移动时,惯性传感器130(例如,六轴陀螺仪)可以检测并获取到该触控笔100在移动时的位置信息。陀螺仪传感器(例如,前述的六轴陀螺仪)也可以用于确定触控笔100的运动姿态,在一些实施例中,触控笔100可以通过陀螺仪传感器确定出触控笔100围绕三个轴(即,x,y和z轴)的角速度。加速度传感器(例如,前述的三轴加速计)可以用于检测触控笔100在各个方向上(一般为x,y和z轴)加速度的大小。当触控笔100静止时可以检测出重力的大小及方向。
传感器也可以包括附加的传感器,诸如温度传感器、环境光传感器、基于光的接近传感器、接触传感器、磁传感器、压力传感器和/或其它传感器。
状态指示器140可以由二极管构成。状态指示器140用于向用户提示触控笔100的状态。
按钮150可以包括机械按钮和非机械按钮,按钮150可以用于从用户收集按钮按压信息。
触控笔100可以包括一个或多个电极160(具体可以参照图2B中的描述),其中一个电极160可以位于触控笔100的书写端处,其中一个电极160可以位于笔尖10内,可以参照上述的相关描述。
感测电路170可感测位于电极160和与触控笔100交互的电容触摸传感器面板的驱动线之间的电容耦合。感测电路170可以包括用以接收来自电容触摸传感器面板的电容读数的放大器、用以生成解调信号的时钟、用以生成相移的解调信号的相移器、用以使用同相解调频率分量来解调电容读数的混频器、以及用以使用正交解调频率分量来解调电容读数的混频器等。混频器解调的结果可用于确定与电容成比例的振幅,使得触控笔100可以感测到与电容触摸传感器面板的接触。
为了支持触控笔100与电子设备200的无线通信,触控笔100可以包括无线模块。图6中以无线模块为蓝牙模块180为例进行说明。无线模块还可以为WI-FI热点模块、WI-FI点对点模块等。蓝牙模块180可以包括射频收发器,例如收发器。蓝牙模块180也可以包括一个或多个天线。收发器可以利用天线发射和/或接收无线信号,无线信号基于无线模块的类型,可以是蓝牙信号、无线局域网信号、诸如蜂窝电话信号的远程信号、近场通信信 号或其它无线信号。
充电模块190可以支持触控笔100的充电,为触控笔100提供电力。
可以理解的是,根据实际需求,触控笔100可以包括麦克风、扬声器、音频发生器、振动器、相机、数据端口以及其它设备。用户可以通过利用这些设备提供命令来控制触控笔100和与触控笔100交互的电子设备200的操作,并且接收状态信息和其它输出。
接下来,介绍本申请实施例提供的一种电子设备的硬件结构。
请参考图7,图7示例性示出本申请实施例提供的一种电子设备200的硬件结构示意图。
如图7所示,电子设备200可以包括多个子系统,这些子系统协作以执行、协调或监控电子设备200的一个或多个操作或功能。电子设备200包括处理器210、输入表面220、协调引擎230、电源子系统240、电源连接器250、无线接口260和显示器270。
示例性的,协调引擎230可以用于与电子设备200的其他子系统进行通信和/或处理数据;与触控笔100通信和/或交易数据;测量和/或获得一个或多个模拟或数字传感器(诸如触摸传感器)的输出;测量和/或获得传感器节点阵列(诸如电容感测节点的阵列)的一个或多个传感器节点的输出;接收和定位来自触控笔100的尖端信号和环信号;基于尖端信号交叉区域和环形信号交叉区域的位置来定位触控笔100等。
电子设备200的协调引擎230包括或以其他方式可通信地耦接至位于输入表面220下方或与该输入表面集成一体的传感器层。协调引擎230利用传感器层对输入表面220上的触控笔100进行定位,并使用本文所述的技术来估计触控笔100相对于输入表面220的平面的角位置。在一种实施例中,输入表面220可以称为触控屏201。
例如,电子设备200的协调引擎230的传感器层是布置为列和行的电容感测节点网格。更具体地说,列迹线阵列被设置成垂直于行迹线阵列。传感器层可以与电子设备的其他层分开,或者传感器层可以直接设置在另一个层上,其他层诸如但不限于:显示器叠堆层、力传感器层、数字转换器层、偏光器层、电池层、结构性或装饰性外壳层等。
传感器层能够以多种模式操作。如果以互电容模式操作,则列迹线和行迹线在每个重叠点(例如,“垂直”互电容)处形成单个电容感测节点。如果以自电容模式操作,则列迹线和行迹线在每个重叠点处形成两个(垂直对齐的)电容感测节点。在另一个实施方案中,如果以互电容模式操作,则相邻的列迹线和/或相邻的行迹线可各自形成单个电容感测节点(例如,“水平”互电容)。如上所述,传感器层可以通过监测在每个电容感测节点处呈现的电容(例如,互电容或自电容)变化来检测触控笔100的笔尖10的存在和/或用户手指的触摸。在许多情况下,协调引擎230可被配置为经由电容耦合来检测通过传感器层从触控笔100接收的尖端信号及环信号。
其中,尖端信号和/或环信号可以包括可被配置为令电子设备200识别触控笔100的特定信息和/或数据。此类信息在本文通常被称为“触笔身份”信息。该信息和/或数据可以由传感器层接收,并由协调引擎230解译、解码和/或解调。
处理器210可以使用触笔身份信息来同时接收来自一支以上的触笔的输入。具体地,协调引擎230可被配置为将由协调引擎230检测到的若干触笔中的每个触笔的位置和/或角 位置传输给处理器210。在其他情况下,协调引擎230还可以向处理器210传输与由协调引擎230检测到的多个触笔的相对位置和/或相对角位置有关的信息。例如,协调引擎230可以通知处理器210所检测的第一触控笔位于距离所检测的第二触控笔的位置。
在其他情况下,端信号和/或环信号还可以包括用于令电子设备200识别特定用户的特定信息和/或数据。此类信息在本文通常被称为“用户身份”信息。
协调引擎230可以将用户身份信息(如果检测到和/或可复原的话)转发到处理器210。如果用户身份信息不能从尖端信号和/或环信号中复原,则协调引擎230可以可选地向处理器210指示用户身份信息不可用。处理器210能够以任何合适的方式利用用户身份信息(或不存在该信息的情况),包括但不限于:接受或拒绝来自特定用户的输入,允许或拒绝访问电子设备的特定功能等。处理器210可以使用用户身份信息来同时接收来自一个以上的用户的输入。
在另外的其他情况下,尖端信号和/或环信号可以包括可被配置为令电子设备200识别用户或触控笔100的设置或偏好的特定信息和/或数据。此类信息在本文通常被称为“触笔设置”信息。
协调引擎230可以将触笔设置信息(如果检测到和/或可复原的话)转发到处理器210。如果触笔设置信息不能从尖端信号和/或环信号中复原,则协调引擎230可以可选地向处理器210指示触笔设置信息不可用。电子设备200能够以任何合适的方式利用触笔设置信息(或不存在该信息的情况),包括但不限于:将设置应用于电子设备,将设置应用于在电子设备上运行的程序,改变由电子设备的图形程序所呈现的线条粗细、颜色、图案,改变在电子设备上操作的视频游戏的设置等。
一般而言,处理器210可被配置为执行、协调和/或管理电子设备200的功能。此类功能可以包括但不限于:与电子设备200的其他子系统通信和/或交易数据,与触控笔100通信和/或交易数据,通过无线接口进行数据通信和/或交易数据,通过有线接口进行数据通信和/或交易数据,促进通过无线(例如,电感式、谐振式等)或有线接口进行电力交换,接收一个或多个触笔的位置和角位置等。
处理器210可被实现为能够处理、接收或发送数据或指令的任何电子设备。例如,处理器可以是微处理器、中央处理单元、专用集成电路、现场可编程门阵列、数字信号处理器、模拟电路、数字电路或这些设备的组合。处理器可以是单线程或多线程处理器。处理器可以是单核或多核处理器。
在使用期间,处理器210可被配置为访问存储有指令的存储器。该指令可被配置为使处理器执行、协调或监视电子设备200的一个或多个操作或功能。
存储在存储器中的指令可被配置为控制或协调电子设备200的其他部件的操作,该部件诸如但不限于:另一处理器、模拟或数字电路、易失性或非易失性存储器模块、显示器、扬声器、麦克风、旋转输入设备、按钮或其他物理输入设备、生物认证传感器和/或系统、力或触摸输入/输出部件、通信模块(诸如无线接口和/或电源连接器),和/或触觉反馈设备。
存储器还可存储可由触笔或处理器使用的电子数据。例如,存储器可以存储电子数据或内容(诸如媒体文件、文档和应用程序)、设备设置和偏好、定时信号和控制信号或者用于各种模块的数据、数据结构或者数据库,与检测尖端信号和/或环信号相关的文件或者配置 等等。存储器可被配置为任何类型的存储器。例如,存储器可被实现作为随机存取存储器、只读存储器、闪存存储器、可移动存储器、其他类型的存储元件或此类设备的组合。
电子设备200还包括电源子系统240。电源子系统240可包括电池或其它电源。电源子系统240可被配置为向电子设备200提供电力。电源子系统240还可耦接到电源连接器250。电源连接器250可以是任何合适的连接器或端口,其可被配置为从外部电源接收电力并且/或者被配置为向外部负载提供电力。例如,在一些实施方案中,电源连接器250可以用于对电源子系统240内的电池进行再充电。在另一个实施方案中,电源连接器250可以用于将存储在(或可用于)电源子系统240内的电力传输到触控笔100。
电子设备200还包括无线接口260,以促进电子设备200与触控笔100之间的电子通信。在一个实施方案中,电子设备200可被配置为经由低能量蓝牙通信接口或近场通信接口与触控笔100通信。在其他示例中,通信接口有利于电子设备200与外部通信网络、设备或平台之间的电子通信。
无线接口260(无论是电子设备200与触控笔100之间的通信接口还是另外的通信接口)可被实现为一个或多个无线接口、蓝牙接口、近场通信接口、磁性接口、通用串行总线接口、电感接口、谐振接口,电容耦合接口、Wi-Fi接口、TCP/IP接口、网络通信接口、光学接口、声学接口或任何传统的通信接口。
电子设备200还包括显示器270。显示器270可以位于输入表面220后方,或者可以与其集成一体。显示器270可以通信地耦接至处理器210。处理器210可以使用显示器270向用户呈现信息。在很多情况下,处理器210使用显示器270来呈现用户可以与之交互的界面。在许多情况下,用户操纵触控笔100与界面进行交互。
对于本领域的技术人员而言将显而易见的是,上文关于电子设备200所呈现的具体细节中的一些细节可为实践特定的所述实施方案或其等同物所不需要的。类似地,其他电子设备可以包括更多数量的子系统、模块、部件等。在适当的情况下,一些子模块可以被实现为软件或硬件。因此,应当理解,上述描述并非旨在穷举或将本公开限制于本文所述的精确形式。相反,对于本领域的普通技术人员而言将显而易见的是,根据上述教导内容,许多修改和变型是可能的。
下面,接收本申请实施例提供的一种无线键盘的硬件结构。
请参考图8,图8示例性示出了本申请实施例提供的一种无线键盘300的硬件结构示意图。
该无线键盘300可以包括处理器310,存储器320,充电接口330,充电管理模块340,无线充电线圈350,电池360,无线通信模块370,触控板380,键盘390。
其中,上述处理器310,存储器320,充电接口330,充电管理模块340,电池360,无线通信模块370,触控板380,键盘390等均可以设置在无线键盘300的键盘主体(即如图1所示的第二部分302)上。上述无线充电线圈350可以设置在用于活动连接键盘主体和支架的连接部304(如图4所示)中。可以理解的是,本实施例示意的结构并不构成对无线键盘300的具体限定。在另一些实施例中,无线键盘300可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以 以硬件,软件或软件和硬件的组合实现。
其中,存储器320可以用于存储程序代码,如用于为触控笔100无线充电的程序代码等。存储器320中还可以存储有用于唯一标识无线键盘300的蓝牙地址。另外,该存储器320中还可以存储有与无线键盘300之前成功配对过的电子设备的连接数据。例如,该连接数据可以为与该无线键盘300成功配对过的电子设备的蓝牙地址。基于该连接数据,无线键盘300能够与该电子设备自动配对,而不必配置与其之间的连接,如进行合法性验证等。上述蓝牙地址可以为媒体访问控制(media access control,MAC)地址。
处理器310可以用于执行上述应用程序代码,调用相关模块以实现本申请实施例中无线键盘300的功能。例如,实现无线键盘300有线充电功能,反向无线充电功能,无线通信功能等。处理器310可以包括一个或多个处理单元,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器310中。处理器310具体可以是集成的控制芯片,也可以由包括各种有源和/或无源部件的电路组成,且该电路被配置为执行本申请实施例描述的属于处理器310的功能。其中,无线键盘300的处理器可以是微处理器。
无线通信模块370可以用于支持无线键盘300与其他电子设备之间包括蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的数据交换。
在一些实施例中,该无线通信模块370可以为蓝牙芯片。该无线键盘300可以是蓝牙键盘。无线键盘300可以通过该蓝牙芯片与其他电子设备的蓝牙芯片之间进行配对并建立无线连接,以通过该无线连接实现无线键盘300和其他电子设备之间的无线通信。
另外,无线通信模块370还可以包括天线,无线通信模块370经由天线接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器310。无线通信模块370还可以从处理器310接收待发送的信号,对其进行调频,放大,经天线转为电磁波辐射出去。
在一些实施例中,无线键盘300可以支持有线充电。具体的,充电管理模块340可以通过充电接口330接收有线充电器的充电输入。
在另一些实施例中,无线键盘300可以支持正向无线充电。充电管理模块340可以通过无线键盘300的无线充电线圈350接收无线充电输入。具体的,充电管理模块340与无线充电线圈350通过匹配电路连接。无线充电线圈350可以与上述无线充电器的无线充电线圈耦合,感应无线充电器的无线充电线圈350发出的交变电磁场,产生交变电信号。无线充电线圈350产生的交变电信号经过匹配电路传输至充电管理模块340,以便为电池360无线充电。
其中,充电管理模块340为电池360充电的同时,还可以为无线键盘300供电。充电管理模块340接收电池360的输入,为处理器310,存储器320,外部存储器和无线通信模块370等供电。充电管理模块340还可以用于监测电池360的电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,充电管理模块340也可以设置于处理器310中。
在另一些实施例中,无线键盘300可以支持反向无线充电。具体的,充电管理模块340还可以接收充电接口330或者电池360的输入,将充电接口330或者电池360输入的直流电信号转换为交流电信号。该交流电信号经过匹配电路传输至无线充电线圈350。无线充电线圈350接收到该交流电信号可以产生交变电磁场。其他移动终端的无线充电线圈感应该交变电磁场,可以进行无线充电。即无线键盘300还可以为其他移动终端无线充电。在一种实施例中,无线充电线圈350可以设置在无线键盘300的收纳部303中,触控笔100的笔杆20内设置有无线充电线圈,当触控笔100放置在收纳部303中时,无线键盘300可以通过无线充电线圈350,为触控笔100进行充电。
需要说明的是,上述匹配电路可以集成在充电管理模块340中,该匹配电路也可以独立于充电管理模块340,本申请实施例对此不作限制。图8以匹配电路可以集成在充电管理模块340中为例,示出无线键盘300的硬件结构示意图。
充电接口330,可以用于提供无线键盘300与其他电子设备(如该无线键盘300的有线充电器)之间进行充电或通信的有线连接。
上述触控板380中集成有触摸传感器。笔记本电脑可以通过触控板380和键盘390接收用户对笔记本电脑的控制命令。
可以理解的是,本申请实施例示意的结构并不构成对无线键盘300的具体限定。其可以具有比图8示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。例如,上述无线键盘300的壳体上还可以设置有用于收纳触控笔100的收纳腔。上述无线充电线圈350设置于上述收纳腔内,用于当触控笔100收纳于上述收纳腔内后,为该触控笔100无线充电。
又例如,在无线键盘300的外表面还可以包括按键、指示灯(可以指示电量、呼入/呼出、配对模式等状态)、触摸屏(可以提示用户相关信息)等部件。其中,该按键可以是物理按键或触摸按键(与触摸传感器配合使用)等,用于触发开机、关机、开始充电、停止充电等操作。
下面,结合触控笔100的结构,以触控笔100和电子设备200交互的角度,介绍本申请实施例中的功能控制方法。
图9示例性示出了本申请实施例提供的触控笔100和电子设备200的一种交互示意图。
如图9所示,触控笔100中可以包括:触摸传感器44、处理器110和电极160,电子设备200中可以包括:电极信号感应阵列202和处理器210。在一种实施例中,电极信号感应阵列202可以为图7中的协调引擎230。在本申请另一些实施例中,触控笔100和电子设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件,或软件和硬件的组合实现。
触摸传感器44,用于采集用户对触控笔的触摸操作数据。
当用户触摸到触摸传感器44的感应区时,触摸传感器44可以采集用户的操作数据,如触摸次数,和/或触摸位置,和/或触摸手势(例如,滑动触摸和/或点按触摸),和/或触摸时长等,触摸传感器44可以向触控笔100中的处理器110发送用户的操作数据。
处理器110,用于基于用户的操作数据,检测用户的操作动作。示例性的,用户的操作 数据为:触摸次数,和/或触摸位置,和/或触摸手势(例如,滑动触摸和/或点按触摸),和/或触摸时长。处理器110中可以包括:触摸次数,和/或触摸位置,和/或触摸手势(例如,滑动触摸和/或点按触摸),和/或触摸时长,以及用户的操作动作的映射关系,处理器110可以基于用户的操作数据,以及该映射关系,检测用户的操作动作,以达到触控笔100检测用户的操作动作的目的。
本申请实施例中对处理器110和触摸传感器44如何检测用户的动作的过程不做赘述。
电极160,可以包括第一发射电极41和第二发射电极42。本申请实施例中,处理器110可以用于通过电极160向电子设备200发送下行信号。
电极信号感应阵列202,可以集成在电子设备200的触摸屏中,用于接收来自电极160的信号(例如前述中的下行信号,也即是电信号)。电极信号感应阵列202也可以用于向触控笔100中电极160发送上行信号(也即是电信号)。该上行信号可以用于触控笔100进行功能模式切换。关于触控笔100基于该上行信号进行功能模式切换的方法,后续实施例中将详细描述,在此不再赘述。
处理器210,用于基于电极信号感应阵列202接收的信号,执行目标功能,具体可以参照下述实施例的描述。
图10示例性示出了本申请实施例提供的另一种触控笔100和电子设备200的另一种交互示意图。
如图10所示,触控笔100中可以包括:触摸传感器44、处理器110和蓝牙模块180,电子设备200中可以包括:处理器210和无线接口260。应理解,图10中以蓝牙模块260表征无线接口260。在本申请另一些实施例中,触控笔100和电子设备200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件,或软件和硬件的组合实现。图10中以及下述实施例中,以触控笔100和电子设备200的无线连接方式为蓝牙连接为例进行说明,触控笔100和电子设备200的无线连接方式还可以为其他类型的连接方式,可以参照上述实施例的相关描述。
处理器110可以基于蓝牙模块180,以及电子设备200中的蓝牙模块260,实现触控笔100和电子设备200的通信,如向电子设备200发送功能信号。
处理器210,用于基于蓝牙模块260接收来自触控笔100的功能信号,执行目标功能,具体可以参照下述实施例中的描述。
目前,当用户使用触控笔100针对电子设备200进行操作(例如,点触、书写和擦除笔迹等)时,需要使得触控笔100接触到电子设备200上的触摸屏。触控笔100可以和电子设备200基于电信号进行数据交互,同时,电子设备200可以根据触摸屏上电容值的变化,使得电子设备200响应于触控笔100发送的电信号执行相应的操作。然而,在一些应用场景(例如,投屏场景)中,触控笔100并不能远距离向电子设备200发送电信号以使其响应于该电信号执行指定操作(例如,翻页操作等),因此操作十分不方便。
因此,本申请实施例提供了一种功能模式切换的方法。
触控笔100和电子设备200建立无线通信连接。触控笔100可以具有多种不同的功能模式。其中,该多种不同的功能模式中可以包括第一模式和第二模式。触控笔100可以在第一模式和第二模式之间进行切换。
在一种可能的实现方式中,触控笔100可以检测到用户作用于触控笔100上的指定切换操作1,响应于该指定切换操作1,触控笔100可以进行功能模式的切换(例如,从第一模式切换至第二模式,或,从第二模式切换至第一模式)。其中,该指定操作1可以是例如作用于触摸传感器44区域上的多次触摸操作(例如,连续触摸触控笔100上触摸传感器44区域三次)、长按触摸传感器44区域上的操作等。本申请对此不作限制。
在一种可能的实现方式中,触控笔100也可以检测到电子设备200发送的指定信号1(例如,前述中的上行信号)的强度。当检测到指定信号1的强度小于指定数值1(例如,-50dbm)时,触控笔100可以进行功能模式的切换(例如,从第一模式切换至第二模式)。当检测到指定信号1的强度大于指定数值1(例如,-50dbm)时,触控笔100也可以进行功能模式的切换(例如,从第二模式切换至第一模式)。示例性的,触控笔100中电极160可以接收到电子设备200上触摸屏中电极信号感应阵列202发送的上行信号的强度。当触控笔100检测到该上行信号的强度值小于-50dbm时,触控笔100可以从第一模式切换至第二模式。
在不同的功能模式下,当触控笔100接收到用户针对触控笔100的相同操作时,触控笔100可以对应有不同的功能信号。
示例性的,在第一模式中,输入1对应有功能信号1,该功能信号1对应有功能1。在第二模式中,输入1对应有功能信号5,该功能信号5对应有功能5。当触控笔100处于第一模式时,触控笔100可以和电子设备200中的触摸屏进行接触。触控笔100可以持续向电子设备200发送下行信号,以使得电子设备200检测触控笔100在电子设备200的触摸屏上的位置以及触控笔100的倾角。其中,该下行信号用于电子设备200执行书写功能和点触功能。当触控笔100接收到作用于触摸传感器44区域的输入1(例如,双击)时,触控笔100可以获取到第一模式下,输入1对应的功能信号1,继而将该功能信号1发送给电子设备200,使得电子设备200响应于该功能信号1,执行对应的功能1。
触控笔100可以检测到电子设备200中触摸屏发送的电信号(例如,前述中的上行信号)的强度。当触控笔100检测到该电信号的强度小于指定数值1(例如,-50dbm)时,触控笔100可以从第一模式切换至第二模式。
当触控笔100处于第二模式时,触控笔100可以距离电子设备200在指定范围1(例如,10米)内。当触控笔100接收到作用于触摸传感器44区域的输入1(例如,双击)时,触控笔100可以获取到第二模式下输入1对应的功能信号5,继而将该功能信号5发送给电子设备200,使得电子设备200响应于该功能信号5执行对应的功能5。
从上述方法中可以看出,在一些应用场景中,触控笔100可以响应于指定切换操作1或检测到强度小于指定数值1的指定信号1,进行功能模式的切换。触控笔100可以基于不同的功能模式,响应于接收到的输入,向电子设备200发送不同的功能信号,以使得电子设备200响应于该功能信号执行对应的功能。因此,操作十分方便,触控笔100可以应用的场景也更加广泛。
下面,结合图11A-图11T,介绍本申请实施例提供的一种功能模式切换方法的应用场景。
触控笔100处于第一模式下:
以功能1为橡皮擦功能为例。如图11A所示,电子设备200可以显示出用户界面1100。用户界面1100可以包括笔迹1101。触控笔100可以接收到作用于触摸传感器44区域的输入1(例如,双击)。响应于该输入1,触控笔100可以获取到输入1对应的功能信号1,并基于无线通信连接(例如,蓝牙连接)或电极将该功能信号1发送给电子设备200。该功能信号1可以指示电子设备200执行功能1。
如图11B所示,触控笔100可以通过电极持续向电子设备200发送下行信号,当电子设备200通过蓝牙模块接收到来自触控笔100的功能信号1时,电子设备200可以基于来自触控笔100的电极的下行信号,确定触控笔100在触摸屏上的位置,进而基于功能信号1将对应位置处的笔迹进行擦除(也即是取消显示该位置处的笔迹)。电子设备200可以在用户界面1100上显示出被擦除后的部分笔迹1101。电子设备200根据功能信号1,确定触控笔在触摸屏上的位置,可以参照上述电子设备200根据下行信号,确定触控笔在触摸屏上的位置的相关描述,在此不再赘述。
以功能2为翻页显示前一页功能为例。如图11C所示,电子设备200可以显示出用户界面1200(也可以被称为第一页面)。用户界面1200可以包括画面1201和页码标识1202。其中,该页码标识1202可以用于表示当前显示的页面与其他页面的位置关系。页面标识1202为文本信息“2”。触控笔100可以接收到作用于触摸传感器44区域的输入2(例如,向上滑动操作)。响应于该输入2,触控笔100可以获取到输入2对应的功能信号2,并基于无线通信连接(例如,蓝牙连接)或电极将该功能信号2发送给电子设备200。
如图11D所示,电子设备200可以基于该功能信号2,执行对应的功能2。电子设备200可以显示出用户界面1300(也可以被称为第二页面)。用户界面1300可以包括画面1301和页码标识1302。其中,该页码标识1302为文本信息“1”,指示该页面是用户界面1200中页面的上一页。
以功能3为翻页显示后一页功能为例。如图11E所示,电子设备200可以显示出用户界面1200。关于用户界面1200的说明,可以参考图11C所示实施例中的描述,在此不再赘述。触控笔100可以接收到作用于触摸传感器44区域的输入3(例如,向下滑动操作)。响应于该输入3,触控笔100可以获取到输入3对应的功能信号3,并基于无线通信连接(例如,蓝牙连接)或电极将该功能信号3发送给电子设备200。
如图11F所示,电子设备200可以基于该功能信号3,执行对应的功能3。电子设备200可以显示出用户界面1400(也可以被称为第三页面)。用户界面1400可以包括画面1401和页码标识1402。其中,该页码标识1402为文本信息“3”,指示该页面是用户界面1200中页面的下一页。
触控笔100由第一模式切换至第二模式:
在一种可能的实现方式中,如图11G所示,触控笔100可以检测电子设备200发送的指定信号1的强度。当触控笔100检测到指定信号1的强度小于指定数值1时,触控笔100由第一模式切换至第二模式。示例性的,指定信号1可以是前述电子设备200触摸屏中电极信号感应阵列202发送的上行信号,指定数值1可以是-50dbm。触控笔100中的电极160可以检测电子设备200中触摸屏中电极信号感应阵列202发送的上行信号的强度。当触控笔100检测到该电信号的强度小于-50dbm时,触控笔100由第一模式切换至第二模式。
在另一种可能的实现方式中,如图11H所示,当触控笔100通过惯性传感器130中的陀螺仪检测到笔尖朝上,且检测到作用于触摸传感器44区域的上下滑动操作时,响应于上述操作,触控笔100可以由第一模式切换至第二模式。
需要说明的是,触控笔100还可以响应于其他操作由第一模式切换至第二模式。示例性的,触控笔100可以检测到作用于触摸传感器44区域上的多次触摸操作(例如,连续触摸触控笔100上触摸传感器44区域三次),响应于该多次触摸操作,触控笔100可以由第一模式切换至第二模式。本申请对于触控笔100由第一模式切换至第二模式的方式不作限制。
触控笔100处于第二模式下:
触控笔100和电子设备200已建立无线通信连接。本申请实施例中以蓝牙连接为例。触控笔100可以距离电子设备200在指定范围1(例如,10米)内。在第二模式下,电子设备200可以在触控屏上显示出光标。当触控笔100通过陀螺仪获取到触控笔100的位移信息时,触控笔100可以将该位移信息基于蓝牙连接发送给电子设备200。电子设备200接收到该位移信息后,可以基于该位移信息使得光标在触摸屏上移动相应的位置。
以功能4为移动光标功能为例。如图11I所示,电子设备200可以显示出用户界面1500。用户界面1500可以包括蓝牙图标1501、光标1502和一个或多个应用图标(例如,天气应用图标、股票应用图标、计算器应用图标、设置应用图标、邮件应用图标、主题应用图标、日历应用图标和绘画应用图标1503等)等。其中,蓝牙图标1501可以用于指示触控笔100和电子设备200建立蓝牙连接。上述一个或多个应用图标下方还可以显示有页面指示符,以表明当前显示的页面与其他页面的位置关系。
如图11I所示,触控笔100可以检测到作用于触摸传感器44后侧区域的输入4,例如,按住该后侧区域,同时如图11J所示触控笔100进行移动。当触控笔100移动时,触控笔100可以通过陀螺仪获取到触控笔100的位移信息1。则当触控笔100移动时,响应于该输入4,触控笔100可以获取到对应的功能信号4。触控笔100可以基于蓝牙连接向电子设备200发送功能信号4和位移信息1。电子设备200可以基于该功能信号4和位移信息1,执行对应的功能4,显示出光标1502,以及使得光标1502在触摸屏上移动相应的位置。则电子设备200可以在用户界面1500上显示出光标1502移动后的位置。如图11J所示,该光标1502可以位于绘画应用图标1503区域。
以功能5为启动选中的应用为例。如图11K所示,电子设备200可以显示出用户界面 1510。用户界面1510中界面元素的描述,可以参考前述图11I所示实施例中的说明,在此不再赘述。在用户界面1510中,光标1502位于绘画应用图标1503区域,以指示光标1502选中绘画应用。触控笔100可以接收到作用于触摸传感器44区域上的输入1(例如,双击)。响应于该输入1,触控笔100可以获取到第二模式下输入1对应的功能信号5,并基于蓝牙连接将该功能信号5发送给电子设备200。
如图11L所示,以选中的应用是绘画应用(也可以被称为第一应用)为例,电子设备200基于该功能信号5,执行对应的功能5。也即是说,电子设备200可以启动绘画应用。电子设备200可以显示出用户界面1520。用户界面1520可以包括画面1521。
以功能6为上滑页面的功能为例。如图11M所示,电子设备200可以显示出用户界面1520。关于用户界面1520的说明,可以参考前述图11L所示实施例的描述,在此不再赘述。触控笔100可以接收到作用于触摸传感器44区域的输入2(例如,向上滑动操作)。响应于该输入2,触控笔100可以获取到第二模式下输入2对应的功能信号6,并基于蓝牙连接将该功能信号6发送给电子设备200。
如图11N所示,电子设备200可以基于该功能信号6,执行对应的功能6。电子设备200可以显示出用户界面1530。用户界面1530可以包括画面1531(也可以被称为第一区域),该画面1531是用户界面1520中页面向上滑动后所显示出的画面。
以功能7为下滑页面的功能为例。如图11O所示,电子设备200可以显示出用户界面1520。关于用户界面1520的说明,可以参考前述图11L所示实施例的描述,在此不再赘述。触控笔100可以接收到作用于触摸传感器44区域的输入3(例如,向下滑动操作)。响应于该输入3,触控笔100可以获取到第二模式下输入3对应的功能信号7,并基于蓝牙连接将该功能信号7发送给电子设备200。
如图11P所示,电子设备200可以基于该功能信号7,执行对应的功能7。电子设备200可以显示出用户界面1540。用户界面1540可以包括画面1541(也可以被称为第二区域),该画面1541是用户界面1520中页面向下滑动后所显示出的画面。
以功能8为远距离笔迹书写的功能为例。如图11Q所示,电子设备200可以显示出用户界面1520。关于用户界面1520的说明,可以参考前述图11Q所示实施例的描述,在此不再赘述。触控笔100可以接收到作用于触摸传感器44前侧区域的输入5,例如,按住该前侧区域,同时如图11R所示触控笔100进行移动。当触控笔100移动时,触控笔100可以通过陀螺仪获取到触控笔100的位移信息2。则当触控笔100移动时,响应于该输入5,触控笔100可以获取到对应的功能信号8。触控笔100可以基于蓝牙连接向电子设备200发送功能信号8和位移信息2。
如图11R所示,电子设备200可以基于该功能信号8和位移信息2,执行对应的功能8,使得显示屏上显示出笔迹书写的痕迹。电子设备200可以显示出用户界面1550,用户界面1550包括笔迹1551A。该笔迹1551A的形状和触控笔100位移轨迹相同。
以功能9为启动指定应用的功能为例。示例性的,在本申请实施例中,该指定应用可以是绘画应用。电子设备200可以显示出如图11I所示的用户界面1500。触控笔100可以接收到针对于触控笔100的输入6,例如,长按触摸传感器44区域,且触控笔100通过加速度传感器检测到触控笔100的晃动操作。响应于该输入6,触控笔100可以获取到输入6对应的功能信号9,并基于蓝牙连接发送功能信号9给电子设备200。电子设备200接收到该功能信号9后,可以启动绘画应用。电子设备200可以显示出如图11L所示的用户界面1520。
需要说明的是,该指定应用不限于绘画应用,还可以是其他应用(例如,日历应用、主题应用或天气应用等)。该指定应用可以是预设的,例如,可以由用户事先进行设置或由系统进行设置。触控笔100可以接收到针对于触控笔100的输入6,并基于输入6使得电子设备200启动该指定应用。
在一些实施例中,当触控笔100没有检测到触摸传感器44区域上的触摸操作时,触控笔100的移动不会触发电子设备200执行任何操作。
示例性的,如图11S所示,电子设备200可以显示出用户界面1520。关于用户界面1520的说明,可以参考前述图11L所示实施例中的描述,在此不再赘述。当触摸操作不作用在触摸传感器44区域上时,触控笔100无法检测到触摸传感器44区域无操作。同时,如图11T所示,当触控笔100进行移动时,不会触发电子设备200执行任何操作。电子设备200显示出和图11S所示用户界面相同的用户界面1520。
下面,介绍本申请实施例提供的一种功能模式切换方法的具体流程。
请参考图12,图12示例性示出了本申请实施例提供的一种功能模式切换方法的具体流程示意图。
该方法具体可以包括:
S1201、触控笔100和电子设备200建立无线通信连接。
具体的,本申请实施例以蓝牙连接为例。电子设备200可以通过蓝牙模块发射信号来探测或扫描触控笔100,与触控笔100建立无线通信连接并传输数据。其中,蓝牙模块可以提供包括经典蓝牙(蓝牙2.1标准)或蓝牙低功耗中一项或多项蓝牙通信的解决方案。
在一些实施例中,电子设备200也可以通过WLAN模块发射信号来探测或扫描触控笔100,与触控笔100建立无线通信连接并传输数据。其中,WLAN模块可以提供包括Wi-Fi direct、Wi-Fi LAN或Wi-Fi softAP中一项或多项WLAN通信的解决方案。
在另一些实施例中,触控笔100也可以和电子设备200通过调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)或红外技术(infrared,IR)等无线通信的数据交换建立无线通信连接。本申请对此不作限制。
S1202、触控笔100检测到用户针对触控笔100的第一输入。
具体的,该第一输入可以是前述图11A-图11T所示实施例中的输入1、输入2或输入3,例如作用于触摸传感器区域上的单触、双击、多触、向上滑动操作、向下滑动操作、短 按、长按等。其中,单触可以是触摸一次,双触可以理解为触摸两次,多触可以理解为触摸N次,N为大于2的整数。短按可以是触摸传感器的时长小于第一预设时长,长按可以是触摸传感器的时长大第二预设时长,第一预设时长小于第二预设时长。
触控笔100可以通过触摸传感器采集到用户针对触控笔100上的操作数据,进而将该操作数据发送给处理器。处理器可以根据用户的操作数据,检测到用户的第一输入,从而实现触控笔100检测到用户针对触控笔100的第一输入。
S1203、触控笔100基于该第一输入,生成在第一模式下该第一输入对应的第一功能信号。
具体的,触控笔100可以处于第一模式。
在该第一模式下,第一输入对应有第一功能信号,第一功能信号对应有第一功能。其中,第一功能信号可以是前述图11A-图11T所示实施例中的功能信号1、功能信号2或功能信号3。第一功能可以是前述图11A-图11T所示实施例中的功能1、功能2或功能3,例如橡皮擦功能、翻页显示前一页功能或翻页显示后一页功能等。
当触控笔100检测到第一输入时,触控笔100可以生成第一模式下第一输入对应的第一功能信号。
S1204、触控笔100发送第一功能信号给电子设备200。
具体的,在第一模式下,触控笔100可以通过前述步骤S1201中建立的无线通信连接向电子设备200发送第一功能信号。
在本申请实施例中,无线通信连接以蓝牙连接为例。具体的,触控笔100和电子设备200均可以存储有:在第一模式下,各输入(例如,第一输入等)、功能信号(例如,第一功能信号)、功能信号中的标识(例如,第一功能信号中的第一标识等)与功能(例如,第一功能信号对应的第一功能等)的映射关系。其中,功能信号中的标识可以是功能的名称、编号等等。触控笔100在检测到用户对触控笔100的输入时,可以根据该输入以及上述映射关系,确定向电子设备200发送的功能信号中的标识。电子设备200在接收到功能信号中的标识后,可以根据该标识以及上述映射关系,确定需要执行哪种功能。
例如,当触控笔100接收到用户针对触控笔100的第一输入后,触控笔100可以基于第一模式下该第一输入和上述存储的映射关系,确定出向电子设备200发送的第一功能信号。触控笔100可以通过蓝牙模块发送第一功能信号。其中,该第一功能信号为蓝牙信号。该第一功能信号中包括第一标识。
S1205、当电子设备200接收到第一功能信号后,电子设备200基于该第一功能信号执行第一功能。
具体的,电子设备200可以通过第一功能中的第一标识,确定出所执行的第一功能。然后电子设备200可以执行第一功能。
示例性的,以图11A-图11B所示实施例为例,第一输入是双击触摸传感器区域,第一功能信号是功能信号1,第一功能是橡皮擦功能。电子设备200可以通过无线通信连接(例 如,蓝牙连接),接收触控笔100发送的第一功能信号。其中,第一功能信号中包括第一标识。电子设备200可以根据该第一标识,确定出所执行的第一功能。在该实现方式中,触控笔100可以通过电极持续向电子设备200发送下行信号。当电子设备200通过无线通信连接(例如,蓝牙连接)接收到第一功能信号时,电子设备200可以基于来自触控笔100的电极发送的下行信号,确定触控笔100在触摸屏上的位置,进而将对应位置处的笔迹进行擦除。
S1206、当触控笔100检测到电子设备200发送的指定信号1的强度小于指定数值1时,触控笔100由第一模式切换至第二模式。
具体的,触控笔100也可以检测到电子设备200发送的指定信号1(例如,前述中的上行信号)的强度。当检测到指定信号1的强度小于指定数值1(例如,-50dbm)时,触控笔100可以从第一模式切换至第二模式。
示例性的,指定信号1可以是前述电子设备200触摸屏中电极信号感应阵列202发送的上行信号,指定数值1可以是-50dbm。触控笔100中的电极160可以检测电子设备200中触摸屏中电极信号感应阵列202发送的上行信号的强度。当触控笔100检测到该电信号的强度小于-50dbm时,触控笔100由第一模式切换至第二模式。
在一种可能的实现方式中,触控笔100可以检测到用户作用于触控笔100上的指定切换操作1,响应于该指定切换操作1,触控笔100可以进行功能模式的切换(例如,从第一模式切换至第二模式,或,从第二模式切换至第一模式)。其中,该指定操作1可以是例如作用于触摸传感器44区域上的多次触摸操作(例如,连续触摸触控笔100上触摸传感器44区域三次)、长按触摸传感器44区域上的操作等。本申请对此不作限制。
在一种可能的实现方式中,电子设备200可以检测触控笔100中电极释放的电信号。当电子设备200确定出触控笔100中电极释放的电信号小于指定数值1(例如。-50dbm)时,可以通过无线通信连接向触控笔100发送功能模式切换指令1,使得触控笔100可以基于该功能模式切换指令1从第一模式切换至第二模式。当电子设备200确定出触控笔100中电极释放的电信号大于指定数值1时,可以通过无线通信连接向触控笔100发送功能模式切换指令2,使得触控笔100可以基于该功能模式切换指令2从第二模式切换至第一模式。
S1207、触控笔100检测到用户针对触控笔100的第二输入。
具体的,该第二输入可以是前述图11A-图11T所示实施例中的输入4、输入5或输入6。
触控笔100可以通过触摸传感器采集到用户针对触控笔100上的操作数据,以及通过陀螺仪传感器采集到触控笔100的位移数据,进而将该操作数据和位移数据发送给处理器。处理器可以根据用户的操作数据和位移数据,检测到用户的第二输入,从而实现触控笔100检测到用户针对触控笔100的第二输入。也即是说,当触控笔100检测到用户作用于触摸 传感器44区域上的操作,同时触控笔100进行移动时,触控笔100即确定出用户针对触控笔100的第二输入,以使得该触控笔100可以基于第二输入执行后续操作。
S1208、触控笔100基于该第二输入,生成第二模式下该第二输入对应的第二功能信号。
具体的,触控笔100处于第二模式。
在该第二模式下,第二输入对应有第二功能信号,第二功能信号对应有第二功能。其中,第二功能信号可以是前述图11A-图11T所示实施例中的功能信号4、功能信号8或功能信号9。第二功能可以是前述图11A-图11T所示实施例中的功能4、功能8或功能9,例如移动光标功能、远距离笔迹书写的功能和启动指定应用的功能等。
当触控笔100检测到第二输入时,触控笔100可以生成第二模式下第二输入对应的第二功能信号。
S1209、触控笔100通过第一传感器,获取到触控笔100的位置信息。
具体的,该第一传感器可以是陀螺仪传感器。触控笔100可以通过陀螺仪传感器获取到触控笔100移动时的位置信息,然后,触控笔100可以每隔指定周期(例如,0.1秒)将获取到的位置信息发送给电子设备200。该位置信息可以是前述图11A-图11T所示实施例中的位移信息1或位移信息2。
在一种可能的实现方式中,该第一传感器也可以是加速度计。触控笔100可以通过该加速度计获取到触控笔100移动时的位置信息,并每隔指定周期(例如,0.1秒)将获取到的位置信息发送给电子设备200。
S1210、触控笔100发送第二功能信号和位置信息给电子设备200。
具体的,在第二模式下,触控笔100可以通过前述步骤S1201建立的无线通信连接向电子设备200发送第二功能信号和位置信息。
在本申请实施例中,无线通信连接以蓝牙连接为例。具体的,触控笔100和电子设备200均可以存储有:在第二模式下,各输入(例如,第二输入等)、功能信号(例如,第二功能信号)、功能信号中的标识(例如,第二功能信号中的第二标识等)与功能(例如,第二功能信号对应的第二功能等)的映射关系。其中,功能信号中的标识可以是功能的名称、编号等等。触控笔100在检测到用户对触控笔100的输入时,可以根据该输入以及上述映射关系,确定向电子设备200发送的功能信号中的标识。电子设备200在接收到功能信号中的标识后,可以根据该标识以及上述映射关系,确定需要执行哪种功能。
例如,当触控笔100接收到用户针对触控笔100的第二输入后,触控笔100可以基于第二模式下该第一输入和上述存储的映射关系,确定出向电子设备200发送的第二功能信号。触控笔100可以通过蓝牙模块发送第二功能信号和位置信息。其中,该第二功能信号为蓝牙信号。该第二功能信号中包括第二标识。
S1211、电子设备200接收到第二功能信号和位置信息后,基于该第二功能信号和位置 信息执行第二功能。
具体的,电子设备200可以通过第二功能中的第二标识,确定出所执行的第二功能。然后电子设备200可以基于位置信息执行第二功能。
示例性的,以图11I-图11J所示实施例为例,第二输入是按住该后侧区域,同时如图11J所示触控笔100进行移动,第三功能信号是功能信号4,第二功能是移动光标功能。电子设备200可以通过无线通信连接(例如,蓝牙连接),接收触控笔100发送的第二功能信号和位置信息。其中,第二功能中包括第二标识,使得电子设备200基于该第二标识确定出所执行的第二功能。然后,电子设备200可以基于位置信息执行第二功能,使得显示屏上显示出光标以及该光标的移动效果。
在一些实施例中,电子设备200和触控笔100还可以存储有:第二模式下第一输入、第三功能信号、第三功能信号中的第三标识与第三功能的映射关系。也即是说,第一模式和第二模式下,触控笔100都可以接收到第一输入。在不同的模式下,触控笔100可以基于该第一输入生成不同的功能信号,以使得电子设备200基于不同的功能信号执行不同的功能。与第一模式不同,在第二模式下,第一输入对应的是第三功能信号以及第三功能。其中,第三功能信号和前述第一功能信号不同,第三功能和前述第一功能不同。其中,第三功能信号中的第三标识可以是功能的名称、编号等等。触控笔100在检测到用户对触控笔100的第一输入时,可以根据该输入以及上述映射关系,确定向电子设备200发送的第三功能信号以及其中的第三标识。电子设备200在接收到第三功能信号中的第三标识后,可以根据该标识以及上述映射关系,执行第三功能。
示例性的,以图11K-图11L为例,第一输入可以是双击触摸传感器区域,与第一模式下不同,该第一输入在第二模式下对应的第三功能信号是功能信号5,第三功能是启动选中的应用。电子设备200可以通过无线通信连接(例如,蓝牙连接),接收触控笔100发送的第三功能信号。其中,第三功能信号中包括第三标识。电子设备200可以根据该第三标识,确定出所执行的第三功能,即是启动选中的绘画应用。而在第一模式下,如图11A-图11B所示,该第一输入对应的使得电子设备200执行的功能为橡皮擦功能。
需要说明的是,以上步骤的先后顺序仅仅用于示例性解释本方法的具体流程,并不对本申请构成具体限制。
需要说明的是,上述用户界面示例仅仅用于解释本申请,不应对本申请构成限定。
上述实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产 品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。

Claims (32)

  1. 一种功能模式切换方法,应用于包括触控笔和电子设备的通信系统,其特征在于,所述方法包括:
    所述触控笔和所述电子设备建立无线通信连接;
    所述触控笔处于第一模式;
    所述触控笔检测到第一输入;
    响应于所述第一输入,所述触控笔基于所述无线通信连接,发送所述第一模式下所述第一输入对应的第一功能信号;
    所述电子设备基于所述第一功能信号,执行第一功能;
    当所述触控笔检测到所述电子设备中触控屏释放的电信号的强度小于第一数值时,所述触控笔从所述第一模式切换至第二模式;
    所述触控笔检测到第二输入;
    所述触控笔检测到所述触控笔的位置信息;
    响应于所述第二输入,所述触控笔基于所述无线通信连接,发送所述第二模式下所述第二输入对应的第二功能信号和所述位置信息;
    所述电子设备基于所述第二功能信号和所述位置信息,执行第二功能。
  2. 根据权利要求1所述的方法,其特征在于,所述无线通信连接为:
    蓝牙通信连接,或无线局域网WLAN通信连接。
  3. 根据权利要求1所述的方法,其特征在于,所述第一输入包括以下任意一种:
    针对于所述触控笔中触摸传感器区域的向上滑动操作,针对于所述触控笔中触摸传感器区域的向下滑动操作,或双击触摸传感器区域的操作。
  4. 根据权利要求1所述的方法,其特征在于,所述电子设备基于所述第一功能信号,执行第一功能,具体包括:
    所述电子设备显示出笔迹;
    所述电子设备接收到所述第一功能信号;
    所述电子设备通过所述触控笔中电极发送的下行信号,确定所述触控笔在所述电子设备中触控屏上的位置;
    所述电子设备基于所述第一功能信号,取消显示所述触控屏上所述位置的笔迹。
  5. 根据权利要求1所述的方法,其特征在于,所述电子设备基于所述第一功能信号,执行第一功能,具体包括:
    所述电子设备显示第一页面;
    所述电子设备接收到所述第一功能信号;
    响应于所述第一功能信号,所述电子设备显示出第二页面;其中,所述第二页面为所 述第一页面的前一级页面。
  6. 根据权利要求1所述的方法,其特征在于,所述电子设备基于所述第一功能信号,执行第一功能,具体包括:
    所述电子设备显示第一页面;
    所述电子设备接收到所述第一功能信号;
    响应于所述第一功能信号,所述电子设备显示出第三页面;其中,所述第三页面为所述第一页面的后一级页面。
  7. 根据权利要求1所述的方法,其特征在于,所述电子设备基于所述第二功能信号和所述位置信息,执行第二功能,具体包括:
    所述电子设备基于所述第二功能信号和所述位置信息,显示出所述位置信息对应位置的笔迹。
  8. 根据权利要求1所述的方法,其特征在于,所述电子设备基于所述第二功能信号和所述位置信息,执行第二功能,具体包括:
    所述电子设备显示出光标;
    所述电子设备基于所述第二功能信号和所述位置信息,显示出所述位置信息对应位置的光标移动轨迹。
  9. 根据权利要求1所述的方法,其特征在于,所述第二输入包括以下任意一种:
    按住所述触控笔中触摸传感器前侧区域并移动所述触控笔,按住所述触控笔中触摸传感器后侧区域并移动所述触控笔,针对于所述触控笔中触摸传感器区域的向上滑动操作,针对于所述触控笔中触摸传感器区域的向下滑动操作,或双击触摸传感器区域的操作。
  10. 根据权利要求7所述的方法,其特征在于,所述位置信息由所述触控笔中的陀螺仪检测并获取。
  11. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述触控笔检测到所述第一输入;
    响应于所述第一输入,所述触控笔基于所述无线通信连接,发送所述第二模式下所述第一输入对应的第三功能信号;
    所述电子设备基于所述第三功能信号,执行第三功能。
  12. 根据权利要求11所述的方法,其特征在于,所述电子设备基于所述第三功能信号,执行第三功能,具体包括:
    所述电子设备显示出光标,所述光标位于所述第一应用的应用图标区域;
    所述电子设备接收到所述第三功能信号;
    响应于所述第三功能信号,所述电子设备启动所述第一应用。
  13. 根据权利要求11所述的方法,其特征在于,所述电子设备基于所述第三功能信号,执行第三功能,具体包括:
    所述电子设备显示第一页面;
    所述电子设备接收到所述第三功能信号;
    响应于所述第三功能信号,所述电子设备显示出第一页面中的第一区域;其中,所述第一区域为所述第一页面中的上部分区域。
  14. 根据权利要求11所述的方法,其特征在于,所述电子设备基于所述第三功能信号,执行第三功能,具体包括:
    所述电子设备显示第一页面;
    所述电子设备接收到所述第三功能信号;
    响应于所述第三功能信号,所述电子设备显示出第一页面中的第二区域;其中,所述第二区域为所述第一页面中的下部分区域。
  15. 一种触控笔,其特征在于,包括:处理器、触摸传感器、运动传感器和无线通信模块:
    所述无线通信模块,用于与电子设备建立无线通信连接;
    所述触摸传感器,用于检测第一输入;
    所述无线通信模块,用于响应于所述第一输入,发送到所述第一模式下所述第一输入对应的第一功能信号;
    所述处理器,还用于检测到所述电子设备中触控屏释放的电信号的强度小于第一数值时,控制所述触控笔由所述第一模式切换至第二模式;
    所述触摸传感器,还用于检测第二输入;
    所述运动传感器,用于检测所述触控笔的位置信息;
    所述无线通信模块,还用于响应于所述第二输入,向所述电子设备发送所述第二模式下所述第二输入对应的第二功能信号和所述位置信息。
  16. 根据权利要求15所述的触控笔,其特征在于,所述第一输入包括以下任意一种:
    针对于所述触控笔中触摸传感器区域的向上滑动操作,针对于所述触控笔中触摸传感器区域的向下滑动操作,或双击触摸传感器区域的操作。
  17. 根据权利要求15所述的触控笔,其特征在于,所述无线通信连接为:
    蓝牙通信连接,或无线局域网WLAN通信连接。
  18. 根据权利要求15所述的触控笔,其特征在于,所述第二输入包括以下任意一种:
    按住所述触控笔中触摸传感器前侧区域并移动所述触控笔,按住所述触控笔中触摸传 感器后侧区域并移动所述触控笔,针对于所述触控笔中触摸传感器区域的向上滑动操作,针对于所述触控笔中触摸传感器区域的向下滑动操作,或双击触摸传感器区域的操作。
  19. 根据权利要求15所述的触控笔,其特征在于,所述触控笔还包括电极;
    所述电极用于向所述电子设备发送下行信号。
  20. 根据权利要求15所述的触控笔,其特征在于,所述触摸传感器,还用于检测到所述第一输入;
    所述无线通信模块,还用于响应于所述第二输入,向所述电子设备发送所述第二模式下所述第一输入对应的第三功能信号。
  21. 一种电子设备,其特征在于,包括:处理器、触控屏、电极信号感应阵列和无线通信模块;其中,所述电极信号感应阵列集成在所述触控屏中;
    所述无线通信模块,用于和触控笔建立无线通信连接;
    所述无线通信模块,还用于接收第一功能信号;
    所述处理器,用于基于所述第一功能信号,执行第一功能;
    所述电极信号感应阵列,用于向所述触控笔发送电信号;
    所述无线通信模块,还用于接收第二功能信号和所述触控笔的位置信息;
    所述处理器,还用于基于所述第二功能信号和所述位置信息,执行第二功能。
  22. 根据权利要求21所述的电子设备,其特征在于,所述无线通信连接为:
    蓝牙通信连接,或无线局域网WLAN通信连接。
  23. 根据权利要求21所述的电子设备,其特征在于,所述触控屏,用于显示出笔迹;
    当所述无线通信模块接收到所述第一功能信号后,所述处理器,具体用于:
    通过所述触控笔中电极发送的下行信号,确定所述触控笔在所述触控屏上的位置;
    基于所述第一功能信号,取消显示所述触控屏上所述位置的笔迹。
  24. 根据权利要求21所述的电子设备,其特征在于,所述触控屏,用于显示第一页面;
    当所述无线通信模块接收到所述第一功能信号后,所述处理器,具体用于:
    响应于所述第一功能信号,使得所述触控屏显示出第二页面;其中,所述第二页面为所述第一页面的前一级页面。
  25. 根据权利要求21所述的电子设备,其特征在于,所述触控屏,用于显示第一页面;
    当所述无线通信模块接收到所述第一功能信号后,所述处理器,具体用于:
    响应于所述第一功能信号,使得所述触控屏显示出第三页面;其中,所述第三页面为所述第一页面的后一级页面。
  26. 根据权利要求21所述的电子设备,其特征在于,所述处理器,具体用于基于所述第二功能信号和所述位置信息,使得所述触控屏显示出所述位置信息对应位置的笔迹。
  27. 根据权利要求21所述的电子设备,其特征在于,所述处理器,具体用于:
    使得所述触控屏显示出光标;
    基于所述第二功能信号和所述位置信息,使得所述触控屏显示出所述位置信息对应位置的光标移动轨迹。
  28. 根据权利要求21所述的电子设备,其特征在于,所述无线通信模块,还用于接收第三功能信号;
    所述处理器,还用于基于所述第三功能信号,执行第三功能。
  29. 根据权利要求28所述的电子设备,其特征在于,所述触控屏,用于显示第一页面;
    当所述无线通信模块接收到所述第三功能信号后,所述处理器,具体用于:
    响应于所述第三功能信号,使得所述触控屏显示出第一页面中的第一区域;其中,所述第一区域为所述第一页面中的上部分区域。
  30. 根据权利要求28所述的电子设备,其特征在于,所述触控屏,用于显示第一页面;
    当所述无线通信模块接收到所述第三功能信号后,所述处理器,具体用于:
    响应于所述第三功能信号,使得所述触控屏显示出第一页面中的第二区域;其中,所述第二区域为所述第一页面中的下部分区域。
  31. 根据权利要求28所述的电子设备,其特征在于,所述触控屏,用于显示出光标,所述光标位于所述第一应用的应用图标区域;
    当所述无线通信模块接收到所述第三功能信号后,所述处理器,具体用于:
    响应于所述第三功能信号,启动所述第一应用。
  32. 一种计算机存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序包括可执行指令,所述可执行指令当被处理器执行时使所述处理器执行如权利要求1-14中任一项所述的方法。
PCT/CN2022/114529 2021-11-11 2022-08-24 功能模式切换方法、电子设备及系统 WO2023082768A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP22854764.2A EP4206885A4 (en) 2021-11-11 2022-08-24 FUNCTIONAL MODE SWITCHING METHOD, ELECTRONIC DEVICE AND SYSTEM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111335356.7A CN116107469A (zh) 2021-11-11 2021-11-11 功能模式切换方法、电子设备及系统
CN202111335356.7 2021-11-11

Publications (1)

Publication Number Publication Date
WO2023082768A1 true WO2023082768A1 (zh) 2023-05-19

Family

ID=85873535

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/114529 WO2023082768A1 (zh) 2021-11-11 2022-08-24 功能模式切换方法、电子设备及系统

Country Status (3)

Country Link
EP (1) EP4206885A4 (zh)
CN (1) CN116107469A (zh)
WO (1) WO2023082768A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183191A (zh) * 2015-08-31 2015-12-23 联想(北京)有限公司 一种触控笔及触控电子设备及控制方法
CN106104428A (zh) * 2014-01-20 2016-11-09 普罗米斯有限公司 有源指点装置检测
CN106557185A (zh) * 2016-11-23 2017-04-05 广州视源电子科技股份有限公司 触摸显示屏、交互设备、模式切换方法和装置
CN106775057A (zh) * 2016-11-23 2017-05-31 广州视源电子科技股份有限公司 交互设备、距离检测方法和装置
CN114415850A (zh) * 2021-12-29 2022-04-29 联想(北京)有限公司 一种控制方法、装置、触控笔及计算机可读存储介质

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100547528C (zh) * 2006-09-29 2009-10-07 联想(北京)有限公司 一种鼠标笔及其实现方法
US9201520B2 (en) * 2011-02-11 2015-12-01 Microsoft Technology Licensing, Llc Motion and context sharing for pen-based computing inputs
US9329703B2 (en) * 2011-06-22 2016-05-03 Apple Inc. Intelligent stylus
KR102084041B1 (ko) * 2012-08-24 2020-03-04 삼성전자 주식회사 펜 기능 운용 방법 및 시스템
US9342162B2 (en) * 2013-01-29 2016-05-17 Lg Electronics Inc. Mobile terminal and controlling method thereof
KR102017696B1 (ko) * 2013-01-29 2019-09-03 엘지전자 주식회사 이동 단말기 및 이동 단말기 제어방법
US9261985B2 (en) * 2013-03-11 2016-02-16 Barnes & Noble College Booksellers, Llc Stylus-based touch-sensitive area for UI control of computing device
KR20160023163A (ko) * 2014-08-21 2016-03-03 삼성전자주식회사 전자 장치 및 전자 펜에 의한 전자 장치의 동작 방법
US9400570B2 (en) * 2014-11-14 2016-07-26 Apple Inc. Stylus with inertial sensor
US9983695B2 (en) * 2015-03-19 2018-05-29 Lenovo (Singapore)Pte. Ltd. Apparatus, method, and program product for setting a cursor position
US10514803B2 (en) * 2016-03-06 2019-12-24 Microsoft Technology Licensing, Llc Pen in field force sensing calibration
KR20170126294A (ko) * 2016-05-09 2017-11-17 엘지전자 주식회사 이동 단말기 및 그 제어방법
US10719142B2 (en) * 2017-11-22 2020-07-21 Microsoft Technology Licensing, Llc Multi-functional stylus
US10776006B2 (en) * 2018-06-03 2020-09-15 Apple Inc. Systems and methods for activating and using a trackpad at an electronic device with a touch-sensitive display and no force sensors
KR102503417B1 (ko) * 2018-07-31 2023-02-24 삼성전자주식회사 스타일러스 펜을 이용한 입력을 처리하는 방법 및 그 전자 장치
KR102573727B1 (ko) * 2018-08-08 2023-09-04 삼성전자주식회사 스타일러스 펜을 인식하기 위한 전자 장치 및 방법
KR102595142B1 (ko) * 2018-12-20 2023-10-27 엘지디스플레이 주식회사 액티브펜 및 터치표시장치
KR20210017099A (ko) * 2019-08-06 2021-02-17 삼성전자주식회사 스타일러스 펜을 인식하는 전자 장치 및 그 동작 방법
CN113076015B (zh) * 2020-01-03 2023-07-18 华为技术有限公司 用于触发显示笔迹的信号发射方法以及笔迹显示方法
CN116247766A (zh) * 2021-03-15 2023-06-09 荣耀终端有限公司 无线充电系统、芯片和无线充电电路

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106104428A (zh) * 2014-01-20 2016-11-09 普罗米斯有限公司 有源指点装置检测
CN105183191A (zh) * 2015-08-31 2015-12-23 联想(北京)有限公司 一种触控笔及触控电子设备及控制方法
CN106557185A (zh) * 2016-11-23 2017-04-05 广州视源电子科技股份有限公司 触摸显示屏、交互设备、模式切换方法和装置
CN106775057A (zh) * 2016-11-23 2017-05-31 广州视源电子科技股份有限公司 交互设备、距离检测方法和装置
CN114415850A (zh) * 2021-12-29 2022-04-29 联想(北京)有限公司 一种控制方法、装置、触控笔及计算机可读存储介质

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN116107469A (zh) 2023-05-12
EP4206885A4 (en) 2024-03-06
EP4206885A1 (en) 2023-07-05

Similar Documents

Publication Publication Date Title
WO2022193814A1 (zh) 笔记生成方法和系统
JP5187849B2 (ja) 脱着可能トランシーバを備えた慣性センサ式ポインティング・デバイス
US20160048209A1 (en) Method and apparatus for controlling vibration
US9886089B2 (en) Method and apparatus for controlling vibration
WO2023279814A1 (zh) 蓝牙设备配对连接方法、电子设备、蓝牙设备及终端系统
CN116466867B (zh) 笔迹绘制方法、装置、电子设备和可读存储介质
WO2022247347A1 (zh) 触控笔及电子设备组件
CN114465366B (zh) 一种无线充电的方法及电子设备
WO2023040602A1 (zh) 一种电子设备连接方法及电子设备
WO2023082768A1 (zh) 功能模式切换方法、电子设备及系统
WO2023273526A9 (zh) 笔迹绘制方法、装置、电子设备和可读存储介质
KR102210631B1 (ko) 이동 단말기 및 이의 제어 방법
WO2023134408A1 (zh) 一种信息传输方法和装置
CN116736989A (zh) 触控笔及其控制方法

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2022854764

Country of ref document: EP

Effective date: 20230217