Stylus, stylus mode switching system and stylus mode switching method

By introducing a mode encoding mechanism into the stylus pen, the rapid switching of the stylus pen function is achieved, the complex operation problems in the existing technology are solved, and the convenience and experience of use are improved.

CN119861834APending Publication Date: 2025-04-22QUNGUANG OPTOELECTRONICS SUZHOU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311355440.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-19
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

When switching functions or operating modes, the existing stylus is complex and inconvenient, which affects the user experience.

Method used

By introducing a mode encoding mechanism into the stylus, the stylus can switch from the first mode to the second mode, and transmit a switching command to the touch device to adjust the mode of the touch input.

Benefits of technology

It realizes rapid switching of the stylus function, simplifies the operation process, and improves the convenience and experience of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119861834A_ABST
    Figure CN119861834A_ABST
Patent Text Reader

Abstract

The invention discloses a stylus, a stylus mode switching system and a stylus mode switching method. The stylus is used for executing the following operations: the stylus obtains a mode code; switching the stylus from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode; and the stylus transmits a switching instruction to a touch device to instruct the touch device to set a touch input of the stylus to the second mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a stylus pen, a system and a control method, and in particular to a stylus pen for switching stylus pen modes, a system and a control method. Background Art

[0002] Currently, many devices with touch panels, such as tablet computers, mobile phones, drawing tablets or notebook computers, can be used with a stylus pen. Users can perform more different functions by operating the stylus pen, such as writing angle and writing stroke.

[0003] If you want to change the writing color, stylus pen button function, writing brush and other functions, you need to use the stylus pen to select and click the options displayed on the touch panel before you can switch functions or operation modes. However, the complicated operation will make it inconvenient and not smooth to use.

[0004] In view of this, how to switch the functions of the stylus more conveniently is a goal that the industry urgently needs to work on. Summary of the invention

[0005] In order to solve the above-mentioned problem, the purpose of the present invention is to provide a stylus pen for performing the following operations: the stylus pen obtains a mode code; the stylus pen switches from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode; and the stylus pen transmits a switching instruction to a touch device to instruct the touch device to set a touch input of the stylus pen to the second mode.

[0006] Another object of the present invention is to provide a stylus mode switching system, comprising a switch and a stylus. The switch is used to store a mode code. The stylus is communicatively connected to a touch device. The stylus obtains the mode code from the switch; the stylus switches from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode; and the stylus transmits a switching instruction to the touch device to instruct the touch device to set a touch input of the stylus to the second mode.

[0007] Another object of the present invention is to provide a stylus mode switching method applicable to a stylus mode switching system. The stylus mode switching system includes a switch and a stylus. The stylus is communicatively connected to a touch device. The stylus mode switching method includes: the stylus obtains a mode code from the switch; the stylus switches from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode; and the stylus transmits a switching instruction to the touch device to instruct the touch device to set a touch input of the stylus to the second mode.

[0008] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are intended to provide further explanation of the invention as claimed.

[0009] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments, but is not intended to limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to make the above and other objects, features, advantages and embodiments of the present invention more clearly understood, the attached drawings are described as follows:

[0011] Figure 1 is a schematic diagram of a touch pen and a touch device in a first embodiment of the present invention;

[0012] Figure 2 It is a schematic diagram of an implementation of a touch pen in the first embodiment of the present invention;

[0013] Figure 3 It is a schematic diagram of another implementation of the touch pen in the first embodiment of the present invention;

[0014] Figure 4 is a schematic diagram of a stylus mode switching system according to a second embodiment of the present invention; and

[0015] Figure 5 FIG. 4 is a flow chart of a method for switching modes of a stylus pen according to a third embodiment of the present invention.

[0016] Among them, the reference numerals

[0017] 1: Stylus mode switching system

[0018] 11, 11a, 11b: Stylus

[0019] 12: Switcher

[0020] D: Touch device

[0021] TP:Touch Panel

[0022] 111: First communication interface

[0023] 112: Second communication interface

[0024] 113: Processor

[0025] 114: Reader

[0026] 200: How to switch the stylus mode

[0027] S201~S203: Steps DETAILED DESCRIPTION

[0028] In order to make the description of the present invention more detailed and complete, reference may be made to the attached drawings and various embodiments described below, in which the same numbers represent the same or similar elements. For the convenience and clarity of the description, the thickness or size of each element in the figure is expressed in an exaggerated, omitted or schematic manner for the understanding and reading of people familiar with this art, and the size of each element is not completely its actual size, and is not used to limit the limiting conditions for the implementation of the present invention, so it has no technical substantive significance. Any structural modification, change in proportional relationship or adjustment of size should still fall within the scope of the technical content disclosed by the present invention without affecting the effect and purpose that the present invention can produce.

[0029] Please refer to Figure 1 , which is a schematic diagram of a stylus pen 11 and a touch device D in the first embodiment of the present invention. The stylus pen 11 is communicatively connected to the touch device D, and the touch device D includes a touch panel TP. In some embodiments, the touch device D can be a device with a touch panel TP, such as a tablet computer, a mobile phone, a drawing board, or a notebook computer.

[0030] In some embodiments, the stylus pen 11 may be a capacitive stylus pen, for example, a capacitive stylus pen supporting a USI (Universal Stylus Initiative) or MPP (Microsoft Pen Protocol) communication protocol.

[0031] The stylus pen 11 can perform touch input on the touch device D to control the touch device D, such as drawing in drawing software, writing in note taking software, etc. When the user needs to switch the touch input mode (for example, switching the writing color, changing the brush stroke), the stylus pen 11 can switch the mode through the following operations.

[0032] First, the stylus 11 obtains a mode code. Next, the stylus 11 switches from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode. Finally, the stylus 11 transmits a switching instruction to the touch device D to instruct the touch device D to set a touch input of the stylus 11 to the second mode.

[0033] For example, assume that the original operation input of the stylus pen 11 in the drawing software on the touch device D is a black brush (i.e., the first mode), and the mode code corresponds to a red brush (i.e., the second mode). Further, after the stylus pen 11 obtains the mode code, it can confirm the corresponding mode (i.e., the second mode) by the mode code and switch the operation input of the stylus pen 11 itself to a red brush. Finally, the stylus pen 11 transmits a switching instruction corresponding to the red brush to the touch device D, instructing the touch device D to switch to the red brush.

[0034] In some embodiments, the stylus 11 further stores a comparison table for indicating the correspondence between mode codes and modes. After the stylus 11 obtains the mode code, it can compare the comparison table to confirm the mode corresponding to the mode code and switch the stylus 11 to the corresponding mode.

[0035] For the structure of the stylus pen 11, please refer to Figure 2 , which is a schematic diagram of a stylus pen 11a in the first embodiment of the present invention. The stylus pen 11a is one embodiment of the stylus pen 11. Figure 2 As shown, the stylus pen 11 a includes a first communication interface 111 , a processor 113 and a reader 114 , wherein the processor 113 is coupled to the first communication interface 111 and the reader 114 respectively.

[0036] In some embodiments, the first communication interface 111 may be an antenna supporting a stylus communication protocol (eg, MPP communication protocol, USI communication protocol) and is disposed at one end of the tip of the stylus 11 a for communicating with the touch device D via the corresponding stylus communication protocol.

[0037] In some embodiments, the processor 113 is used to determine the mode code received by the reader 114 and transmit a switching instruction to the touch device D through the first communication interface 111. The processor 113 may include a central processing unit (CPU), a multiprocessor, a microcontroller unit (MCU), a distributed processing system, an application specific integrated circuit (ASIC) and / or a suitable computing unit.

[0038] In some embodiments, the reader 114 may be a radio frequency reader for reading the pattern code.

[0039] In some embodiments, when transmitting the switching instruction, the stylus pen 11a determines whether the function adjusted in the second mode corresponds to the function supported by the communication protocol corresponding to the first communication interface 111. Further, in response to the function adjusted in the second mode corresponding to the function supported by the communication protocol corresponding to the first communication interface 111, the stylus pen 11a transmits the first switching instruction to the touch device D via the first communication interface 111 through the corresponding communication protocol, wherein the first switching instruction corresponds to the function supported by the communication protocol.

[0040] For example, when the communication interface corresponding to the first communication interface 111 is the USI communication protocol, and the stylus 11a obtains the mode code and switches the black brush to the red brush. Since the USI communication protocol supports the conversion of brush colors, the stylus 11a can send a first switching instruction to the touch device D through the C.SetColor function in the USI communication protocol to switch the brush color after determining the support status.

[0041] In some embodiments, the stylus pen 11 and the touch device D can communicate and transmit switching instructions via a stylus pen communication protocol such as USI or MPP. However, different communication protocols support different switching functions. For example, the MPP protocol does not support the switching of brush colors. In this way, the stylus pen 11 needs to transmit switching instructions via other communication protocols to make up for the deficiencies of the stylus pen communication protocol.

[0042] To solve the above problems, please refer to Figure 3 , which is a schematic diagram of another stylus pen 11b in the first embodiment of the present invention. Figure 3 As shown, the stylus pen 11 b includes a first communication interface 111 , a second communication interface 112 , a processor 113 and a reader 114 , wherein the processor 113 is coupled to the first communication interface 111 , the second communication interface 112 and the reader 114 , respectively.

[0043] In some embodiments, the first communication interface 111 of the stylus pen 11b, the processor 113 and the reader 114 may be connected to Figure 2 The first communication interface 111 , the processor 113 and the reader 114 of the stylus pen 11 a shown are the same.

[0044] In some embodiments, the second communication interface 112 may be a wireless communication interface such as Bluetooth, near field communication, or Wi-Fi, for communicating with the touch device D via a corresponding communication protocol.

[0045] like Figure 3 As shown, the stylus 11b can transmit switching instructions via the first communication interface 111 and / or the second communication interface 112, wherein the stylus 11b can switch the corresponding functions according to the functions supported by the first communication protocol (i.e., the stylus communication protocol), and for the functions not supported by the first communication protocol, transmit switching instructions via the second communication protocol (e.g., Bluetooth) to switch the remaining functions (i.e., the functions not supported by the first communication protocol).

[0046] Specifically, in response to the function adjusted by the second mode not corresponding to the function supported by the first communication protocol, the stylus 11b can transmit a second switching instruction to the touch device D via the second communication protocol via the second communication interface 112, wherein the second switching instruction corresponds to the function adjusted by the second mode that cannot correspond to the function supported by the first communication protocol.

[0047] For example, assume that the stylus pen 11b is connected to the touch device D via the first communication interface 111 via the MPP communication protocol. When the stylus pen 11b switches from a black brush to a red brush, since the MPP communication protocol does not support the switching of brush colors, the processor 113 of the stylus pen 11b can choose to send a second switching instruction via Bluetooth via the second communication interface 112 to switch the brush color.

[0048] Regarding the operation of the processor 113 transmitting the second switching instruction via the second communication interface 112 via Bluetooth, in one example, the processor 113 can transmit the second switching instruction to the touch device D via Bluetooth using the Human Interface Devices (HID) protocol in the Universal Serial Bus (USB) standard. For example, in the digitizer category in the HID protocol, when the usage ID of a switching instruction is set to 76, the switching instruction is used to switch the brush type. In addition, when the usage ID of a switching instruction is set to one of 78-7F, a custom function can be switched. In other words, when the function corresponding to the switching instruction content is pre-set, the stylus 11b can transmit the switching instruction to the touch device D via the HID protocol to switch a specific function (for example, brush color, button function, brush type).

[0049] In another example, when the stylus pen 11b switches from brush strokes to highlighter strokes, since the MPP communication protocol supports the switching of stroke types, the processor 113 of the stylus pen 11b may select to send a first switching instruction to switch the stroke type via the first communication interface 111 using the MPP communication protocol.

[0050] In another example, when the stylus 11b switches the brush stroke and the brush color at the same time, for example, switching from a black brush to a red fluorescent pen, since the MPP communication protocol supports the switching of brush stroke types but does not support the switching of brush colors, the processor 113 of the stylus 11b can transmit different switching instructions through the first communication interface 111 and the second communication interface 112 respectively, that is, the switching instruction is transmitted through the second communication interface 112 to switch the brush color, and the switching instruction is transmitted through the first communication interface 111 to switch the brush stroke type.

[0051] In this way, the stylus pen 11b can select different communication interfaces to send switching instructions according to the functions supported by the communication protocol, so that the stylus pen 11b is not limited by the communication protocol and cannot switch specific functions. For the convenience of explanation, the above paragraphs only use brush colors and brush stroke types as examples. In fact, the switching instructions sent by the stylus pen 11b can also include switching of more functions.

[0052] In some embodiments, the stylus pen 11 further includes an output element such as a light emitting element, a vibrator, etc., and the stylus pen 11 sets the output element to an output mode corresponding to the second mode based on the mode code. Through the aforementioned operation, when the stylus pen 11 switches the mode based on the mode code, the stylus pen 11 can also switch the mode of the output element based on the mode code.

[0053] For example, the stylus 11 includes a vibrator, and the vibrator is used to output different forms of vibrations when the user writes with the stylus 11 according to different types of strokes of the stylus 11 to simulate the writing touch of different strokes. Assuming that the stylus 11 originally writes with brush strokes, the vibrator also outputs vibrations corresponding to the brush strokes. When the stylus 11 receives the mode code and switches to the highlighter mode, the stylus 11 further switches the vibrator to the highlighter mode and outputs vibrations corresponding to the highlighter strokes.

[0054] For ease of explanation, the above paragraph uses a vibrator as an example. In other embodiments, the stylus pen 11 can also switch other types of output elements through the same operation. For example, when the stylus pen 11 has a light-emitting element, the color of the light-emitting element can also be switched based on different modes.

[0055] In some embodiments, the user can operate the function corresponding to the custom mode code on the touch device D. Specifically, the stylus 11 can perform a touch input on the touch panel TP of the touch device D, wherein the touch input is used to enable the touch device D to generate a display output based on the touch input and a custom mode.

[0056] For example, assuming that the original mode code corresponds to a red brush, the user can change the mode code to correspond to a yellow brush through the software on the touch device D (e.g., drawing software). Further, when the stylus 11 obtains the mode code and transmits the corresponding switching instruction to the touch device D, the touch device D can change the touch input of the stylus 11 to a yellow brush based on the original switching instruction corresponding to the red brush. In this way, when the stylus 11 touches the touch panel TP, the touch device D will generate a drawing result (i.e., display output) showing a yellow brush based on the movement trajectory of the stylus 11 (i.e., touch input) and the user-defined mode (i.e., custom mode).

[0057] In this embodiment, the function corresponding to the mode code is actually determined by the touch device D (determined by the user's input on the touch device D). Therefore, after the stylus 11 reads the mode code, the mode code can be first converted into a switching instruction (the mode code can also be directly used as the switching instruction) and transmitted to the touch device D. The touch device D confirms the corresponding function through the switching instruction and executes the function (such as the aforementioned yellow brush). In some embodiments, the touch device D can also transmit the mode information corresponding to the function to the stylus 11 to instruct the stylus 11 to switch to a specific mode, and adjust its function when necessary (for example: change the light color, vibration form).

[0058] In some embodiments, the stylus pen 11 further includes an operation interface (not shown in the figure), at least one of the functions of the second mode corresponds to the operation interface, and the switching instruction is further used to instruct the touch device to set an operation input of the operation interface to the second mode.

[0059] Specifically, the stylus pen 11 may further include an operation interface such as a button, a knob, etc., and when the stylus pen 11 obtains a mode code and switches modes, the stylus pen 11 may also switch the function of the operation interface.

[0060] For example, the mode code corresponds to the function switching of the button on the stylus 11. When the stylus 11 obtains the mode code, the button can be switched to have the function of switching between the brush and the eraser. In other words, the button of the stylus 11 originally has a preset function (for example, the user can turn on or off the vibration function after pressing the button), but after the stylus 11 obtains the mode code, the function of the button is changed so that the button of the stylus 11 has other functions (for example, the user can press the button to switch the stylus 11 to the brush function or the eraser function).

[0061] In another example, the mode code corresponds to the function switch of the knob on the stylus 11. When the stylus 11 obtains the mode code, the knob can be switched to the function of adjusting the thickness of the brush. In other words, the knob of the stylus 11 originally has a preset function (for example, the user can adjust the vibration intensity by turning the knob), but after the stylus 11 obtains the mode code, the function of the knob is changed, so that the knob of the stylus 11 has other functions (for example, the user can turn the knob to adjust the thickness of the stylus 11 brush).

[0062] According to the above embodiments, the stylus provided by the present invention allows the user to quickly switch the functions of the stylus.

[0063] The present invention also provides a stylus pen mode switching system for implementing the function and mode switching of the stylus 11, 11a, 11b in the first embodiment. Figure 4, which is a schematic diagram of a stylus pen mode switching system 1 in a second embodiment of the present invention. The stylus pen mode switching system 1 comprises a stylus pen 11 and a switch 12, wherein the stylus pen 11 is communicatively connected to the switch 12, and the switch 12 is used to store mode codes.

[0064] It should be noted that the stylus 11 in the stylus mode switching system 1 may be the stylus 11 in the first embodiment, or may be the aforementioned stylus 11 a or stylus 11 b .

[0065] In some embodiments, the switch 12 may be a radio-frequency identification tag (RFID tag), and the mode code is a unique identifier (UID) of the RFID tag, so that when the stylus 11 reads the switch 12 , the stylus 11 may obtain the mode code.

[0066] In some embodiments, the switch 12 may also include a near-field communication (NFC) interface and a user interface. The user may input the function of the stylus 11 to be adjusted through the user interface, and when the stylus 11 reads the switch 12, the stylus 11 may obtain the mode code corresponding to the function input by the user.

[0067] Specifically, the switch 12 may be provided with a user interface such as a button, a knob, a display screen, a touch panel, etc. for providing user input, and the user may adjust and confirm the function of the stylus 11 by operating the user interface. The switch 12 then generates a mode code based on the function input by the user and transmits it through the near field communication interface.

[0068] In some embodiments, the user can also customize the function corresponding to the mode code stored in the switch 12 by operating the touch device D. For example, assuming that the original mode code of the switch 12 corresponds to a red brush, the user can change the mode code of the switch 12 to correspond to a yellow brush through the software on the touch device D (e.g., drawing software).

[0069] In the stylus pen mode switching system 1 of the present embodiment, first, the stylus pen 11 obtains a mode code from the switch 12. Then, the stylus pen 11 switches from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode. Finally, the stylus pen 11 transmits a switching instruction to the touch device D to instruct the touch device D to set a touch input of the stylus pen 11 to the second mode.

[0070] For example, suppose that the original operation input of the stylus pen 11 in the drawing software on the touch device D is a black brush (i.e., the first mode), and the mode code pre-set and stored in the switch 12 corresponds to a red brush (i.e., the second mode). Further, after the stylus pen 11 reads the switch 12 to obtain the mode code, it can confirm the corresponding mode (i.e., the second mode) by the mode code and switch the operation input of the stylus pen 11 itself to a red brush. Finally, the stylus pen 11 transmits a switching instruction corresponding to the red brush to the touch device D, instructing the touch device D to switch to the red brush.

[0071] In this way, the user can quickly switch the function of the stylus 11 by bringing the stylus 11 close to and reading the operation of the switch 12. Furthermore, the switch 12 can also be provided with multiple labels with different mode codes, so that the stylus 11 can be switched to more different modes. In addition, the switch 12 can also be designed with a corresponding appearance (for example: the red area on the switch corresponds to the red brush mode).

[0072] Compared to the prior art which requires the user to operate on the touch panel TP to switch the function of the stylus 11, the stylus mode switching system 1 provided by the present invention allows the user to switch the function of the stylus 11 more intuitively and quickly, saving operation time and simplifying operation steps. In addition, the switch 12 has a simple structure and low cost, and does not increase the burden on suppliers or users.

[0073] In some embodiments, the reader 114 may be a radio frequency reader, whereby when the user brings the reader 114 of the stylus pen 11 a close to the switch 12 , the reader 114 may read the mode code from the switch 12 .

[0074] In addition to the above steps, the stylus pen 11 in the second embodiment can also perform all the operations and steps of the stylus pen 11, 11a and / or 11b described in the first embodiment, have the same functions, and achieve the same technical effects. A person with ordinary knowledge in the technical field to which the present invention belongs can directly understand how the second embodiment performs these operations and steps based on the above-mentioned first embodiment, has the same functions, and achieves the same technical effects, so it is not repeated.

[0075] According to the above embodiments, the stylus pen mode switching system provided by the present invention allows the user to quickly switch the function of the stylus pen. If the appearance of the switcher corresponds to its function, the user can switch the function more intuitively. In addition, the switcher has a simple structure and low cost, and does not increase the additional cost burden.

[0076] The present invention further provides a stylus mode switching method, please refer to Figure 5, which is a flow chart of a stylus mode switching method 200 in the third embodiment of the present invention.

[0077] The stylus mode switching method 200 is applicable to a stylus mode switching system (e.g., the stylus mode switching system 1 in the second embodiment), the stylus mode switching system includes a switch (e.g., the switch 12 in the second embodiment) and a stylus (e.g., the stylus 11, 11a, 11b in the first embodiment), the stylus is communicatively connected to a touch device (e.g., the touch device D in the first embodiment), and the stylus mode switching method 200 includes steps S201 to S203. However, those with ordinary knowledge in the technical field to which the present invention belongs can understand that the stylus mode switching method 200 of the third embodiment of the present invention is not limited to the stylus mode switching system 1 of the aforementioned embodiment, nor is it limited to Figure 5 The sequence of steps in the flowchart.

[0078] In step S201, the stylus obtains a mode code from the switch. In step S202, the stylus switches from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode. In step S203, the stylus transmits a switching instruction to the touch device to instruct the touch device to set a touch input of the stylus to the second mode.

[0079] In some embodiments, the stylus further includes a first communication interface, and the first communication interface is used to communicate with the touch device via a first communication protocol, wherein the first communication protocol supports at least one supporting function.

[0080] In some embodiments, step S203 also includes the stylus determining whether at least one of the functions of the second mode corresponds to at least one supported function; and in response to at least one of the functions of the second mode corresponding to at least one supported function, the stylus transmits a first switching instruction to the touch device via the first communication interface through the first communication protocol, wherein the first switching instruction corresponds to the at least one supported function.

[0081] In some embodiments, the stylus pen further includes a second communication interface, which is used to communicate with the touch device via a second communication protocol, and step S203 also includes responding to at least one of the functions of the second mode not corresponding to the at least one supported function, the stylus pen transmitting a second switching command to the touch device via the second communication protocol via the second communication interface, wherein the second switching command corresponds to at least one unsupported function of the at least one function that cannot correspond to the at least one supported function.

[0082] In some embodiments, the stylus further includes an output element, and the stylus mode switching method 200 further includes the stylus setting the output element to an output mode corresponding to the second mode based on the mode code.

[0083] In some embodiments, the stylus is further used to store a comparison table, and step S202 also includes the stylus comparing the comparison table based on the mode code to confirm an operation mode corresponding to the mode code; and in response to the operation mode corresponding to the mode code being the second mode, the stylus switches from the first mode to the second mode.

[0084] In some embodiments, the switch further includes an input interface, and step S201 further includes the switch receiving an input mode through the input interface; and the switch transmitting the mode code corresponding to the input mode to the stylus based on the input mode.

[0085] In some embodiments, the touch device further includes a touch panel, and the stylus mode switching method 200 further includes the stylus performing a touch input on the touch panel of the touch device, wherein the touch input is used to enable the touch device to generate a display output based on the touch input and a custom mode.

[0086] In some embodiments, step S202 further includes the stylus receiving mode information from the touch device, wherein the mode information is generated by the touch device based on the switching instruction, and the switching instruction is generated by the stylus based on the mode code; and the stylus switches from the first mode to the second mode based on the mode information.

[0087] In some embodiments, the stylus further includes an operation interface, one of the at least one function of the second mode corresponds to the operation interface, and the switching instruction is further used to instruct the touch device to set an operation input of the operation interface to the second mode.

[0088] According to the above embodiments, the stylus mode switching method provided by the present invention allows the user to quickly switch the function of the stylus. If the appearance of the switcher corresponds to its function, the user can switch the function more intuitively. In addition, the switcher has a simple structure and low cost, and does not increase the additional cost burden.

[0089] Although several embodiments are described above as examples, the stylus mode switching system and method proposed by the present invention can also be implemented by other systems, hardware, software, storage media or their combination. Therefore, the protection scope of the present invention should not be limited to the specific implementation methods described in the embodiments of the present invention, but should be defined by the scope of the appended claims.

[0090] It is obvious to those with ordinary knowledge in the technical field to which the present invention belongs that various modifications and changes can be made to the structure of the present invention without departing from the scope or spirit of the present invention. In view of the foregoing, the protection scope of the present invention also covers modifications and changes made within the protection scope of the appended claims.

Claims

1. A touch pen, characterized in that: To perform the following operations: The stylus obtains a mode code; The stylus pen switches from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode; and The touch pen transmits a switching instruction to a touch device to instruct the touch device to set a touch input of the touch pen to the second mode.

2. The touch pen according to claim 1, characterized in that: Further including: A first communication interface is used to communicate with the touch device via a first communication protocol, wherein the first communication protocol supports at least one supporting function.

3. The touch pen according to claim 2, characterized in that: Further used to perform the following operations: The stylus determines whether one of the at least one function of the second mode corresponds to the at least one supporting function; and In response to one of the at least one function of the second mode corresponding to the at least one supporting function, the stylus transmits a first switching instruction to the touch device via the first communication interface through the first communication protocol, wherein the first switching instruction corresponds to the at least one supporting function.

4. The touch pen according to claim 3, characterized in that: Further comprising a second communication interface, which is used to communicate with the touch device via a second communication protocol. In response to at least one of the functions of the second mode not being able to correspond to the at least one supported function, the stylus transmits a second switching instruction to the touch device via the second communication protocol via the second communication interface, wherein the second switching instruction corresponds to at least one unsupported function of the at least one function that cannot correspond to the at least one supported function. 5 . The stylus pen according to claim 1 , further comprising an output element, wherein the stylus pen sets the output element to an output mode corresponding to the second mode based on the mode code.

6. The stylus pen according to claim 1, wherein the stylus pen is further used to store a comparison table, characterized in that: The operation of switching the stylus pen from the first mode to the second mode further includes: The stylus compares the mode code to the comparison table to confirm an operation mode corresponding to the mode code; and In response to the operation mode corresponding to the mode code being the second mode, the stylus pen switches from the first mode to the second mode.

7. The touch pen according to claim 1, characterized in that: The touch device further includes a touch panel, and the touch pen performs a touch input on the touch panel of the touch device, wherein the touch input is used to enable the touch device to generate a display output based on the touch input and a custom mode.

8. The touch pen according to claim 1, characterized in that: The stylus receives mode information from the touch device, wherein the mode information is generated by the touch device based on the switching instruction, the switching instruction is generated by the stylus based on the mode code, and the stylus further switches from the first mode to the second mode based on the mode information.

9. The touch pen according to claim 1, characterized in that: The touch pen further includes an operation interface, one of the at least one function of the second mode corresponds to the operation interface, and the switching instruction is further used to instruct the touch device to set an operation input of the operation interface to the second mode.

10. A stylus mode switching system, characterized in that: Include: The stylus pen as claimed in any one of claims 1 to 9, communicatively connected to the touch device; and A switch is used to store the mode code, wherein the touch pen obtains the mode code from the switch.

11. The stylus pen mode switching system according to claim 10, characterized in that: The switch also includes an input interface, and the switch receives an input mode through the input interface; and The switch transmits the mode code corresponding to the input mode to the touch pen based on the input mode.

12. A stylus pen mode switching method, applicable to a stylus pen mode switching system, the stylus pen mode switching system comprising a switch and a stylus pen, the stylus pen is communicatively connected to a touch device, characterized in that: The stylus mode switching method comprises: The touch pen obtains a mode code from the switch; The stylus pen switches from a first mode to a second mode based on the mode code, wherein the mode code corresponds to the second mode; and The touch pen transmits a switching instruction to the touch device to instruct the touch device to set a touch input of the touch pen to the second mode.

13. The stylus pen mode switching method according to claim 12, characterized in that: The stylus also includes: A first communication interface is used to communicate with the touch device via a first communication protocol, wherein the first communication protocol supports at least one supporting function.

14. The stylus pen mode switching method according to claim 13, characterized in that: Further including: The stylus determines whether one of the at least one function of the second mode corresponds to the at least one supporting function; and In response to one of the at least one function of the second mode corresponding to the at least one supporting function, the stylus transmits a first switching instruction to the touch device via the first communication interface through the first communication protocol, wherein the first switching instruction corresponds to the at least one supporting function.

15. The stylus pen mode switching method according to claim 14, characterized in that: The stylus pen also includes a second communication interface, which is used to communicate with the touch device via a second communication protocol. In response to at least one of the functions of the second mode not corresponding to the at least one supported function, the stylus pen transmits a second switching instruction to the touch device via the second communication protocol via the second communication interface, wherein the second switching instruction corresponds to at least one unsupported function of the at least one function that cannot correspond to the at least one supported function.

16. The stylus pen mode switching method according to claim 12, characterized in that: The stylus pen further includes an output element. The stylus pen sets the output element to an output mode corresponding to the second mode based on the mode code.

17. The stylus pen mode switching method according to claim 12, characterized in that: The stylus pen is further used to store a comparison table, and the operation of switching from the first mode to the second mode further includes: The stylus compares the mode code to the comparison table to confirm an operation mode corresponding to the mode code; and In response to the operation mode corresponding to the mode code being the second mode, the stylus pen switches from the first mode to the second mode.

18. The stylus pen mode switching method according to claim 12, characterized in that: The switch also includes an input interface, and the switch receives an input mode through the input interface; and The switch transmits the mode code corresponding to the input mode to the touch pen based on the input mode.

19. The stylus pen mode switching method according to claim 12, characterized in that: The touch device further includes a touch panel, and the touch pen performs a touch input on the touch panel of the touch device, wherein the touch input is used to enable the touch device to generate a display output based on the touch input and a custom mode.

20. The stylus pen mode switching method according to claim 12, characterized in that: The stylus receives mode information from the touch device, wherein the mode information is generated by the touch device based on the switching instruction, and the switching instruction is generated by the stylus based on the mode code; and The stylus pen switches from the first mode to the second mode based on the mode information.

21. The stylus pen mode switching method according to claim 12, characterized in that: The touch pen further includes an operation interface, one of the at least one function of the second mode corresponds to the operation interface, and the switching instruction is further used to instruct the touch device to set an operation input of the operation interface to the second mode.