Control method, stylus, apparatus, electronic device, and storage medium

US12449916B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12449916-B2
Application numberUS-202418412423-A
CountryUS
Kind codeB2
Filing dateJan 12, 2024
Priority dateJul 31, 2023
Publication dateOct 21, 2025
Grant dateOct 21, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure relates to a control method, a stylus, an apparatus, an electronic device, and a storage medium. The control method includes: receiving a key press event sent by a stylus; determining a press type according to the key press event; determining a control operation corresponding to the press type; and performing the control operation; where a different press type corresponds to a different control operation. The control method can realize the remote control operation of the electronic device by means of a key on the stylus, and can realize a diversity of control operations by means of the press type of the key, and furthermore, the control operation is not restricted by an operating system and a projection manner, which can enhance the usage experience of the user.

First claim

Opening claim text (preview).

What is claimed is: 1. A control method, comprising: receiving a key press event sent by a stylus, wherein the stylus comprises a first physical key, a second physical key and a third physical key; determining a press type according to the key press event related to the first physical key; determining a control operation corresponding to the press type; and performing the control operation, wherein different press types correspond to different control operations, wherein determining the control operation corresponding to the press type comprises: determining the control operation corresponding to the press type according to an application type, a running state of a function of a current interface of a foreground application, and the press type, wherein in a case that the application type of the foreground application is different, a same press type corresponds to a different control operation, wherein the second physical key is configured for a screenshot function and the third physical key is configured for a shorthand function, wherein in a case that the press type is a first type, the control operation corresponding to the first type comprises performing a drawing operation on a display interface, wherein the control method further comprises: receiving a mouse movement event sent by the stylus, and wherein performing the drawing operation on the display interface comprises: performing the drawing operation on the display interface according to product information of the stylus and the mouse movement event. 2. The control method according to claim 1 , wherein in a case that the function of the current interface of the foreground application is different, a same press type corresponds to a different control operation. 3. The control method according to claim 1 , wherein performing the drawing operation on the display interface comprises: performing the drawing operation on the display interface in a current drawing mode or a default drawing mode, wherein the current drawing mode is a switched drawing mode; or the current drawing mode is an initial drawing mode that has not been switched. 4. The control method according to claim 1 , wherein performing the drawing operation on the display interface according to the product information of the stylus and the mouse movement event comprises: determining that the stylus has a virtual laser function according to the product information of the stylus; modifying an event type of the mouse movement event from a mouse cursor type to a virtual laser type; and performing the drawing operation on the display interface according to the mouse movement event. 5. The control method according to claim 4 , wherein performing the drawing operation on the display interface according to the mouse movement event comprises: obtaining positional movement information in the mouse movement event; invoking a laser cursor processing logic corresponding to the virtual laser type; and performing the drawing operation on the display interface according to the positional movement information through the laser cursor processing logic, wherein performing the drawing operation on the display interface according to the positional movement information comprises: invoking a laser view in a drawing window, and performing drawing by using the laser view according to the positional movement information, wherein the laser view supports drawing a cursor position or a cursor trajectory. 6. The control method according to claim 1 , wherein in a case that the press type is a second type, the control operation corresponding to the second type is: switching a drawing mode, wherein the drawing mode is a first mode or a second mode, wherein the first mode is a mode for drawing a cursor position, and the second mode is a mode for drawing a cursor trajectory. 7. The control method according to claim 1 , wherein in a case that the press type is a third type and a current drawing mode is a second mode, the control operation corresponding to the third type is: clearing a drawing trace in the second mode, wherein the second mode is a mode for drawing a cursor trajectory. 8. The control method according to claim 1 , wherein in a case that the application type of the foreground application is a shooting type, and the function of the current interface of the foreground application is a photo-taking function, the control operation is: a single shot or a continuous shot. 9. The control method according to claim 8 , wherein in a case that the press type is a fourth type, the control operation corresponding to the fourth type is the single shot; or in a case that the press type is a fifth type, the control operation corresponding to the fifth type is the continuous shot, wherein the fourth type and the fifth type are different. 10. The control method according to claim 1 , wherein in a case that the application type of the foreground application is a shooting type, and the function of the current interface of the foreground application is a video recording function, in response to determining that the running state of the function of the current interface is that video recording has not been started, and the press type is a sixth type, the control operation is starting the video recording; or in response to determining that the running state of the function of the current interface is that the video recording has been started, and the press type is a seventh type, the control operation is stopping the video recording; wherein the sixth type and the seventh type are the same or different. 11. A stylus comprising: a pen body, and a first physical key, a second physical key, a third physical key, one or more power sources, a processor and a wireless transmitter in the pen body, wherein the one or more power sources is configured to supply power to the processor and the transmitter, wherein the first physical key is configured to receive a press input operation; the processor is configured to generate a key press event according to the press input operation; and the wireless transmitter is configured to send the key press event, wherein the key press event is used for determining a press type, and a control operation corresponding to the press type is determined according to an application type, a running state of a function of a current interface of a foreground application, and the press type, wherein in a case that the application type of the foreground application is different, a same press type corresponds to a different control operation, wherein the second physical key is configured for a screenshot function and the third physical key is configured for a shorthand function, wherein in a case that the press type is a first type, the control operation corresponding to the first type comprises performing a drawing operation on a display interface, and wherein the stylus further comprises: a displacement sensor electrically connected to the processor, wherein the displacement sensor is configured to collect displacement sensing data, the processor is configured to generate a mouse movement event according to the displacement sensing data; and the wireless transmitter is configured to send the mouse movement event, and wherein performing the drawing operation on the display interface comprises: performing the drawing operation on the display interface according to product information of the stylus and the mouse movement event. 12. A control method for using a stylus, wherein the stylus comprises a pen body, and a first physical key, a second physical key, a third physical key, one or more power sources, a processor and a wireless transmit

Assignees

Inventors

Classifications

  • for inputting data by handwriting, e.g. gesture or text · CPC title

  • 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 · CPC title

  • for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware · CPC title

  • with detection of the device orientation or free movement in a three-dimensional [3D] space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors · CPC title

  • Wireless input, i.e. hardware and software details of wireless interface arrangements for pointing devices · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12449916B2 cover?
The present disclosure relates to a control method, a stylus, an apparatus, an electronic device, and a storage medium. The control method includes: receiving a key press event sent by a stylus; determining a press type according to the key press event; determining a control operation corresponding to the press type; and performing the control operation; where a different press type corresponds…
Who is the assignee on this patent?
Beijing Xiaomi Mobile Software Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F3/03545. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 21 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).