Stylus and method of operating a stylus

By incorporating a vibrator into the stylus, the friction between the pen tip and the touchscreen is varied, thus addressing the lack of realistic writing feel on the touchscreen and enhancing the user experience.

CN117666816BActive Publication Date: 2026-11-20HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211016975.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-22
Publication Date
2026-11-20
Estimated Expiration
2042-08-22

AI Technical Summary

Technical Problem

The low friction between the stylus and the pen tip on the touchscreen display means that users cannot experience the feeling of real writing and drawing, resulting in a poor immersive experience.

Method used

By incorporating a vibrator in the stylus, the pen tip vibrates simultaneously along the axial direction of the pen shaft and perpendicular to the axial direction, altering the friction between the pen tip and the touchscreen display and enhancing realism.

Benefits of technology

It enhances the realism of user interaction on the touchscreen display and strengthens the immersive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117666816B_ABST
    Figure CN117666816B_ABST
Patent Text Reader

Abstract

This application provides a stylus and a method for operating the stylus. By changing the friction between the stylus tip and the touchscreen display, the application enhances the realism of the user's operation on the touchscreen display, thereby improving the user experience. The stylus includes: a stylus tip, a pen body, a position sensor, a force sensor, a vibrator, and a mainboard circuit. The stylus tip is connected to the pen body and located at the head of the pen body. The position sensor is located within the cavity of the stylus tip or pen body and is used to acquire the position information of the stylus tip on the touchscreen display. The force sensor is located within the cavity of the pen body and is used to acquire the force information of the stylus tip. The vibrator is located within the cavity of the pen body and is used to control the stylus tip to vibrate simultaneously along the axial direction of the pen body and in a direction perpendicular to the axial direction of the pen body. The mainboard circuit is located within the cavity of the pen body and is used to collect position information and force information, and control the vibration of the vibrator based on the position information and force information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to a stylus and a method for operating the stylus. Background Technology

[0002] Different types of pens (such as pencils, fountain pens, and ballpoint pens) produce different writing sensations when written on different types of paper (such as copy paper, rice paper, and sketching paper). This is because different types of pen nibs and different types of paper have different interaction forces, including friction and pressure. In addition to interaction forces, there are many other factors: displacement (such as the displacement of the hand relative to the paper when writing with a brush), sound (different sounds are produced by the friction between different pen nibs and paper), and visual factors (the width and color of the written lines).

[0003] Currently, electronic devices with touchscreen displays (including but not limited to mobile phones, tablets, and computers) are often used in conjunction with styluses. Besides allowing for precise touch operations on the touchscreen, styluses also enable handwriting and drawing. However, due to the smooth and flat surface of touchscreens, the friction between the stylus tip and the screen is low, resulting in a lack of immersive experience as users cannot feel the sensation of writing or drawing on paper. Summary of the Invention

[0004] This application provides a stylus and a method for operating the stylus. By changing the friction between the stylus tip and the touch screen, the realism of the user operating the stylus on the touch screen is enhanced, thereby improving the user experience.

[0005] In a first aspect, a stylus is provided, comprising: a pen tip, a pen barrel, a position sensor, a force sensor, a vibrator, and a mainboard circuit; the pen tip is connected to the pen barrel and located at the head of the pen barrel; the position sensor is located within the cavity of the pen tip or the pen barrel, and is used to acquire the position information of the pen tip on the touch display screen when the user operates the stylus on the touch display screen; the force sensor is located within the cavity of the pen barrel, and is used to acquire the force information of the pen tip when the user operates the stylus on the touch display screen; the vibrator is located within the cavity of the pen barrel, and is used to control the pen tip to vibrate simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel; the mainboard circuit is located within the cavity of the pen barrel, and is used to collect the position information and the force information, and control the vibrator to vibrate according to the position information and the force information.

[0006] The stylus provided in this application embodiment uses a vibrator to drive the pen tip to vibrate simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel. This changes the friction between the stylus tip and the touch screen, enhancing the realism of the user's operation on the touch screen and thus improving the user experience.

[0007] In conjunction with the first aspect, in some implementations of the first aspect, the stylus further includes: a telescopic actuator; the telescopic actuator is located in the cavity of the pen barrel and is used to control the pen tip to extend and retract along the axial direction of the pen barrel; the motherboard circuit is also used to: acquire the three-dimensional shape information of the electronic canvas displayed on the touch screen, and control the telescopic actuator to extend and retract according to the three-dimensional shape information.

[0008] Based on the acquired 3D topographic information, the stylus's mainboard circuit can control the telescopic actuator to drive the pen tip to extend and retract at the level of hundreds of micrometers to millimeters along the axial direction of the pen barrel. This allows users to feel the stylus changing with the 3D topographic shape of the 3D canvas during the fun of drawing, giving users the feeling of drawing in the real world and thus improving the user experience.

[0009] In conjunction with the first aspect, in some implementations of the first aspect, the aforementioned motherboard circuit is further configured to: acquire the target electronic paper type of the touch screen; select target vibration information corresponding to the target electronic paper type, and control the vibrator to vibrate according to the target vibration information, wherein the target vibration information includes amplitude and frequency.

[0010] It should be understood that after the user selects a target electronic paper type, the stylus's mainboard circuitry can acquire the selected target electronic paper type through communication with the electronic device. Based on the user-selected target electronic paper type, the stylus's mainboard circuitry can select target vibration information corresponding to that type.

[0011] In conjunction with the first aspect, in some implementations of the first aspect, the force sensor is further configured to: acquire first force information of the pen tip on the real paper when the user operates the stylus on the real paper, the real paper being the type of paper corresponding to the target electronic paper; acquire second force information of the pen tip on the touch screen, the touch screen displaying electronic paper corresponding to the type of target electronic paper; the motherboard circuit is further configured to: acquire the first force information and the second force information through the force sensor; control the vibrator to vibrate when the user operates the stylus on the touch screen, such that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold; calculate vibration information based on the second force information, and determine the vibration information as the target vibration information corresponding to the type of target electronic paper.

[0012] It should be understood that the absolute value of the difference between the force information of the pen tip on the touch screen and the force information of the pen tip on the actual paper is less than or equal to a preset threshold. This can also be understood as the force information of the pen tip on the touch screen being close to the force information of the pen tip on the actual paper.

[0013] In conjunction with the first aspect, in some implementations of the first aspect, the first force information includes the magnitude of the first force and the direction of the first force, and the second force information includes the magnitude of the second force and the direction of the second force; the motherboard circuit is specifically used to: control the vibration of the vibrator so that the absolute value of the difference between the magnitude of the first force and the magnitude of the second force is less than or equal to a first preset threshold, and the absolute value of the difference between the direction of the first force and the direction of the second force is less than or equal to a second preset threshold.

[0014] It should be understood that the force information includes the magnitude and direction of the force. To facilitate comparison, the motherboard circuit can first quantify the direction of the above forces (i.e., the first force direction and the second force direction) using preset rules. The specific processing method is not limited here.

[0015] In conjunction with the first aspect, in some implementations of the first aspect, the motherboard circuit is also used to: obtain the target pen tip type; select target vibration information that corresponds to the target electronic paper type and the target pen tip type.

[0016] It should be understood that users can choose not only their desired electronic paper type but also their desired pen tip type. There is a correspondence between the pen tip type, electronic paper type, and vibration information. Therefore, the motherboard circuit can determine the target vibration information corresponding to the target pen tip type and target electronic paper type, and control the vibrator to vibrate according to the target vibration information.

[0017] It should also be understood that different pen tip types and different electronic paper types can correspond to different vibration information, the same pen tip type but different electronic paper types can also correspond to different vibration information, and the same electronic paper type but different pen tip types can also correspond to different vibration information. This application does not limit this.

[0018] In conjunction with the first aspect, in some implementations of the first aspect, the motherboard circuit is also used to: determine whether there is relative motion between the pen tip and the touch screen based on position information and time information; and control the vibrator to vibrate when there is relative motion between the pen tip and the touch screen.

[0019] In conjunction with the first aspect, in some implementations of the first aspect, the motherboard circuit is also used to: determine whether there is an interaction force between the pen tip and the touch screen based on the force information; and control the vibrator to vibrate when there is an interaction force between the pen tip and the touch screen.

[0020] In the present application embodiment, the stylus does not vibrate when there is no relative movement between the stylus tip and the touch screen, or when there is no interaction force between the stylus tip and the touch screen. This saves the power consumption of the stylus and helps to extend the battery life of the stylus.

[0021] In conjunction with the first aspect, in some implementations of the first aspect, the stylus also includes a sound module; the sound module is located inside the cavity of the stylus and is used to play sounds based on different scenarios.

[0022] The stylus in this embodiment controls the sound module via the motherboard circuit to play sounds based on the friction sound between the pen and paper when writing and the contextual sounds of the electronic canvas, thereby increasing the immersive experience for users when operating the stylus on the touch screen.

[0023] Secondly, a method for operating a stylus is provided, applicable to a stylus including a pen tip, a pen barrel, a position sensor, a force sensor, a vibrator, and a motherboard circuit. The method includes: the position sensor acquiring position information of the pen tip on a touch screen; the force sensor acquiring force information of the pen tip; the motherboard circuit acquiring the position information through the position sensor, acquiring the force information through the force sensor, and controlling the vibrator to vibrate based on the position information and the force information, so that the pen tip vibrates simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel.

[0024] In conjunction with the second aspect, in some implementations of the second aspect, the stylus also includes a telescopic actuator; the method further includes: the motherboard circuit acquiring three-dimensional topographic information of the electronic canvas displayed on the touch screen; the motherboard circuit controlling the telescopic actuator to drive the pen tip to extend and retract along the axial direction of the pen barrel based on the three-dimensional topographic information.

[0025] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes: the motherboard circuit acquiring the target electronic paper type of the touch screen; the motherboard circuit selecting target vibration information corresponding to the target electronic paper type, and controlling the vibrator to vibrate according to the target vibration information, the target vibration information including amplitude and frequency.

[0026] In conjunction with the second aspect, in some implementations of the second aspect, before the motherboard circuit selects the target vibration information corresponding to the target electronic paper type, the method further includes: when the user operates on real paper with a stylus, a force sensor acquires first force information of the pen tip on the real paper, and the motherboard circuit collects the first force information through the force sensor, wherein the real paper is paper corresponding to the target electronic paper type; when the user operates on a touch screen with a stylus, the motherboard circuit controls the vibrator to vibrate, and simultaneously collects second force information of the pen tip on the touch screen through the force sensor, such that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold, and the touch screen displays electronic paper corresponding to the target electronic paper type; the motherboard circuit calculates vibration information based on the second force information and determines the vibration information as the target vibration information corresponding to the target electronic paper type.

[0027] In conjunction with the second aspect, in some implementations of the second aspect, the first force information includes the magnitude of the first force and the direction of the first force, and the second force information includes the magnitude of the second force and the direction of the second force; the aforementioned motherboard circuit controls the vibration of the vibrator, including: the motherboard circuit controls the vibration of the vibrator, and at the same time collects the second force information of the pen tip on the touch screen through the force sensor, such that the absolute value of the difference between the magnitude of the first force and the magnitude of the second force is less than or equal to a first preset threshold, and the absolute value of the difference between the direction of the first force and the direction of the second force is less than or equal to the second preset threshold.

[0028] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes: the motherboard circuit acquiring the target pen tip type; the motherboard circuit selecting target vibration information corresponding to the target electronic paper type, including: the motherboard circuit selecting target vibration information corresponding to the target electronic paper type and the target pen tip type.

[0029] In conjunction with the second aspect, in some implementations of the second aspect, the aforementioned motherboard circuit controls the vibrator to vibrate based on position information and force information, including: the motherboard circuit determines whether there is relative motion between the pen tip and the touch screen based on the position information and time information; when there is relative motion between the pen tip and the touch screen, the motherboard circuit controls the vibrator to vibrate.

[0030] In conjunction with the second aspect, in some implementations of the second aspect, the motherboard circuit controls the vibrator to vibrate based on the position information and the force information, and further includes: the motherboard circuit determines whether there is an interaction force between the pen tip and the touch screen based on the force information; if there is an interaction force between the pen tip and the touch screen, the motherboard circuit controls the vibrator to vibrate.

[0031] In conjunction with the second aspect, in some implementations of the second aspect, the stylus also includes a sound module; the method also includes: the motherboard circuit controlling the sound module to play sound based on different scenarios.

[0032] Thirdly, a method for operating a stylus is provided, comprising: acquiring position information of the pen tip on a touch screen via a position sensor; acquiring force information of the pen tip via a force sensor; and controlling a vibrator to vibrate based on the position information and the force information, so that the pen tip vibrates simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel.

[0033] In conjunction with the third aspect, in some implementations of the third aspect, the method further includes: acquiring three-dimensional topographic information of the electronic canvas displayed on the touch screen; and controlling the telescopic actuator to drive the pen tip to extend and retract along the axis of the pen barrel based on the three-dimensional topographic information.

[0034] In conjunction with the third aspect, in some implementations of the third aspect, the method further includes: acquiring the target electronic paper type of the touch screen; selecting target vibration information corresponding to the target electronic paper type, and controlling the vibrator to vibrate according to the target vibration information, wherein the target vibration information includes amplitude and frequency.

[0035] In conjunction with the third aspect, in some implementations of the third aspect, before selecting the target vibration information corresponding to the target electronic paper type, the method further includes: when the user operates on real paper with a stylus, acquiring first force information of the pen tip on the real paper via a force sensor, wherein the real paper is paper corresponding to the target electronic paper type; when the user operates on a touch screen with a stylus, controlling the vibrator to vibrate, and simultaneously acquiring second force information of the pen tip on the touch screen via a force sensor, such that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold, and the touch screen displays electronic paper corresponding to the target electronic paper type; calculating vibration information based on the second force information, and determining the vibration information as the target vibration information corresponding to the target electronic paper type.

[0036] In conjunction with the third aspect, in some implementations of the third aspect, the first force information includes the magnitude and direction of the first force, and the second force information includes the magnitude and direction of the second force; the above-mentioned control of the vibrator to vibrate, while simultaneously collecting the second force information of the pen tip on the touch screen through a force sensor, such that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold, includes: controlling the vibrator to vibrate, while simultaneously collecting the second force information through a force sensor, such that the absolute value of the difference between the magnitude of the first force and the magnitude of the second force is less than or equal to a first preset threshold, and the absolute value of the difference between the direction of the first force and the direction of the second force is less than or equal to a second preset threshold.

[0037] In conjunction with the third aspect, in some implementations of the third aspect, the method further includes: obtaining the target pen tip type; the above-mentioned selection of target vibration information corresponding to the target electronic paper type includes: selecting target vibration information that corresponds to both the target electronic paper type and the target pen tip type.

[0038] In conjunction with the third aspect, in some implementations of the third aspect, controlling the vibration of the vibrator based on position information and force information includes: determining whether there is relative motion between the pen tip and the touch screen based on the position information and time information; and controlling the vibration of the vibrator when there is relative motion between the pen tip and the touch screen.

[0039] In conjunction with the third aspect, in some implementations of the third aspect, controlling the vibrator to vibrate based on position information and force information further includes: determining whether there is an interaction force between the pen tip and the touch screen based on the force information; and controlling the vibrator to vibrate when there is an interaction force between the pen tip and the touch screen.

[0040] In conjunction with the third aspect, in some implementations of the third aspect, the stylus also includes a sound module; the method also includes: controlling the sound module to play sound based on different scenarios.

[0041] Fourthly, a processing apparatus is provided for executing the method in any possible implementation of the third aspect described above. Specifically, the processing apparatus includes a module for executing the method in any possible implementation of the third aspect described above.

[0042] In one design, the processing device may include modules that perform the methods / operations / steps / actions described in the foregoing aspects one by one. These modules may be hardware circuits, software, or a combination of hardware circuits and software.

[0043] In another design, the processing device is a stylus or the motherboard circuitry within the stylus.

[0044] Fifthly, another processing apparatus is provided, including a processor and a memory. The processor is used to read instructions stored in the memory to execute the methods in any of the possible implementations of the third aspect described above.

[0045] Optionally, there may be one or more processors and one or more memories.

[0046] Alternatively, the memory can be integrated with the processor, or the memory can be set separately from the processor.

[0047] In specific implementation, the memory can be a non-transitory memory, such as read-only memory (ROM), which can be integrated with the processor on the same chip or set on different chips. The embodiments of this application do not limit the type of memory or the way the memory and processor are set.

[0048] The processing device in the fifth aspect above can be a chip. The processor can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor that reads software code stored in memory. The memory can be integrated into the processor or located outside the processor and exist independently.

[0049] In a sixth aspect, a computer program product is provided, comprising: a computer program (also referred to as code or instructions) that, when executed, causes a computer to perform the method in any of the possible implementations of the third aspect above.

[0050] In a seventh aspect, a computer-readable storage medium is provided that stores a computer program (also referred to as code or instructions) that, when run on a computer, causes the computer to perform the methods in any of the possible implementations of the third aspect described above. Attached Figure Description

[0051] Figure 1 This is a schematic diagram illustrating an application scenario of an embodiment of this application;

[0052] Figure 2 This is a schematic diagram of establishing a coordinate system based on a touch screen provided in an embodiment of this application;

[0053] Figure 3 This is a schematic diagram of the structure of a stylus provided in an embodiment of this application;

[0054] Figure 4 This is a schematic diagram of another stylus provided in an embodiment of this application;

[0055] Figure 5 This is a schematic diagram of a fun painting scene provided in an embodiment of this application;

[0056] Figure 6 This is a schematic diagram of the stylus provided in this application operating on real paper;

[0057] Figure 7 This is a schematic flowchart illustrating a stylus operation method provided in an embodiment of this application;

[0058] Figure 8 This is a schematic flowchart illustrating another stylus operation method provided in an embodiment of this application;

[0059] Figure 9 This is a schematic flowchart illustrating another method of operating a stylus provided in the embodiments of this application;

[0060] Figure 10 This is a schematic block diagram of a processing device provided in an embodiment of this application;

[0061] Figure 11 This is a schematic block diagram of another processing device provided in the embodiments of this application. Detailed Implementation

[0062] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0063] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.

[0064] It should be noted that, in this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0065] Furthermore, "at least one" refers to one or more, while "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0066] Different types of pens (such as pencils, fountain pens, and ballpoint pens) produce different writing sensations when written on different types of paper (such as copy paper, rice paper, and sketching paper). This is because different types of pen nibs and different types of paper have different interaction forces, including friction and pressure. In addition to interaction forces, there are many other factors: displacement (for example, when writing with a brush, the hand moves relative to the paper), sound (different sounds are produced by the friction between different pen nibs and paper), and visual factors (the width and color of the written lines).

[0067] Currently, electronic devices with touchscreen displays are often used in conjunction with styluses. Besides allowing for precise touch operations on the touchscreen, styluses also enable handwriting, drawing, and other operations. To facilitate understanding of this application, the following will be discussed in conjunction with… Figure 1 The application scenarios involved in the embodiments of this application will be introduced.

[0068] Figure 1 This is a schematic diagram of application scenario 100 according to an embodiment of this application. Application scenario 100 includes a stylus 110 and an electronic device 120, the electronic device 120 being equipped with a touchscreen display 121. The user can use the stylus 110 to operate on the touchscreen display 121. It should be understood that this operation can include writing, drawing, swiping, tapping, and double tapping, etc., and this embodiment of the application does not limit the scope of the operation.

[0069] The electronic devices involved in the embodiments of this application can be any electronic device with a touch screen, such as mobile phones, tablets, personal computers (PCs), smart screens, etc. They can also be various teaching aids (such as learning machines, early education machines), smart toys, portable robots, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, etc. They can also be devices with mobile office functions, smart home functions, audio-visual entertainment functions, smart travel support devices, etc. The embodiments of this application do not limit the specific device form of the electronic devices.

[0070] In the above application scenario 100, because the surface of the touch display screen 121 is smooth and flat, the friction between the tip of the stylus 110 and the touch display screen 121 is small, and the user cannot feel the real feeling of operating on paper, resulting in a poor immersive experience.

[0071] To address the aforementioned issues, three different methods exist. One method involves bonding a film with a rough surface to the touchscreen display and / or replacing the stylus tip with one of different roughness. The film has little or no impact on the touchscreen's display quality, and the tip material does not affect the stylus's functionality. This method allows for different coefficients of friction between the stylus tip and the touchscreen, thereby altering the friction and creating a realistic writing feel. However, both the film and the tip are consumables requiring frequent replacement. Once the film and / or tip material are selected, the coefficient of friction between the touchscreen and the stylus remains essentially fixed. Therefore, this method is costly, cumbersome, and lacks flexibility.

[0072] Another approach is to alter the friction by controlling the magnetic or electrostatic force between the touchscreen and the stylus tip, thereby creating a realistic writing feel. This method requires at least one magnetically adjustable electromagnetic coil in either the touchscreen or the stylus, along with a conductive gate in the touchscreen and a corresponding electrostatic electrode in the stylus. This alters the structure of both the touchscreen and the stylus, significantly increasing hardware complexity. In particular, introducing electromagnetic coils or conductive gates into the touchscreen will change the existing touchscreen structure and manufacturing process, greatly increasing the difficulty of implementation and potentially leading to issues with display performance and reliability.

[0073] Another method involves altering the friction between the touchscreen and the stylus tip by controlling the vibrations, thereby creating a realistic writing feel. This is typically achieved by placing a vibration generator within the stylus. However, this method is insufficient in controlling the friction between the pen tip and the touchscreen, resulting in a weaker sense of realistic writing.

[0074] To address the aforementioned issues, this application provides a stylus and a method for operating the stylus. By using a vibrator to drive the stylus tip to vibrate simultaneously along the pen shaft axis and perpendicular to the pen shaft axis, the friction between the stylus tip and the touch screen is altered, enhancing the realism of the user's operation on the touch screen and thus improving the user experience.

[0075] To facilitate the description of the embodiments of this application, the establishment of the three-dimensional rectangular coordinate system in the embodiments of this application will be introduced first.

[0076] Figure 2This is a schematic diagram of a three-dimensional Cartesian coordinate system based on the touch display screen 121 provided in this application embodiment. The electronic device 120 is placed horizontally (i.e., the touch display screen 121 is placed facing upwards). A three-dimensional Cartesian coordinate system is established with the center of the touch display screen 121 as the origin, the direction parallel to the horizontal axis of the touch display screen 121 as the x-axis, the direction parallel to the vertical axis of the touch display screen 121 as the y-axis, and the direction perpendicular to the touch display screen 121 as the z-axis.

[0077] The following is combined Figure 3 and Figure 4 The stylus 110 of the present application embodiment will be described.

[0078] Figure 3 This is a schematic diagram of a stylus 110 provided in an embodiment of this application. The stylus 110 includes: a pen body 111, a pen tip 112, a position sensor 113, a force sensor 114, a vibrator 115, and a mainboard circuit 116. The pen tip 112 is connected to the pen body 111 and is located at the head of the pen body 111. The position sensor 113 is located inside the cavity of the pen tip 112, and the force sensor 114, vibrator 115, and mainboard circuit 116 are located inside the cavity of the pen body 111. The position sensor 113, force sensor 114, and vibrator 115 are all connected to the mainboard circuit 116.

[0079] Figure 4 This is another structural schematic diagram of the stylus 110 provided in this application embodiment. The stylus 110 includes: a pen body 111, a pen tip 112, a position sensor 113, a force sensor 114, a vibrator 115, and a mainboard circuit 116. The pen tip 112 is connected to the pen body 111 and is located at the head of the pen body 111. Figure 3 The structures shown are different, Figure 4 The stylus 110 shown has a solid tip 112. The position sensor 113, force sensor 114, vibrator 115 and mainboard circuit 116 are all located in the cavity of the pen barrel 111, and the position sensor 113, force sensor 114 and vibrator 115 are all connected to the mainboard circuit 116.

[0080] It should be understood that the connections of the various components within the stylus 110's barrel include, but are not limited to, those... Figure 3 and Figure 4 The connection relationships shown in this embodiment are merely illustrative of the direct or indirect connections between the components within the stylus 110, but the specific connection relationships of each component are not limited.

[0081] The pen barrel 111 mainly serves to support and contain the pen. This application does not impose any restrictions on its material, shape, or appearance.

[0082] The pen tip 112 is a replaceable part, and its material, shape and surface roughness can be different, resulting in different coefficients of friction when used in conjunction with the touch display screen 121.

[0083] The position sensor 113 is used to acquire position information of the pen tip 112 on the touch display screen 121 when a user operates the stylus 110 on the touch display screen 121. For example, this position information could be the position of the pen tip 112 on the touch display screen 121 as described above. Figure 2 The position coordinates (x1, y1) of the xoy plane in the three-dimensional rectangular coordinate system are shown.

[0084] Force sensor 114 is used to acquire force information of the pen tip 112 when the user operates the stylus 110 on the touch display screen 121. The force information may specifically include the magnitude and direction of the force.

[0085] It should be understood that the force sensor 114 can be a single-axis force sensor or a triaxial force sensor, and this application embodiment does not limit this. Exemplarily, the force sensor 114 is a single-axis force sensor, which can acquire the magnitude of the force acting on the pen tip 112 along the axis of the pen barrel 111. Exemplarily, the force sensor 114 is a triaxial force sensor, which can acquire not only the magnitude of the force acting on the pen tip 112 along the axis of the pen barrel 111, but also the magnitude of the force acting on the pen tip 112 perpendicular to the axis of the pen barrel 111. This force acting on the pen tip 112 perpendicular to the axis of the pen barrel 111 is mainly provided by the frictional force between the pen tip 112 and the touch display screen 121. This triaxial force sensor can be a one-piece, integrated three-dimensional force sensor, or it can be a force sensor composed of three single-axis force sensors, and this application embodiment does not limit this. Furthermore, the force sensor 114 includes, but is not limited to, piezoelectric force sensors, capacitive force sensors, strain gauge force sensors, etc., and the embodiments of this application do not limit this to any particular type.

[0086] The vibrator 115 is used to control the pen tip 112 to vibrate simultaneously along the axis of the pen barrel 111 and in a direction perpendicular to the axis of the pen barrel 111.

[0087] It should be understood that the vibrator 115 can be a three-dimensional vibrator or a single-axis vibrator, and this application embodiment does not limit this. In one possible implementation, the vibrator 115 is a three-dimensional vibrator, which can directly drive the pen tip 112 to vibrate simultaneously along the axis of the pen barrel 111 and in a direction perpendicular to the axis of the pen barrel 111. The vibration along the axis of the pen barrel 111 and the vibration in the direction perpendicular to the axis of the pen barrel 111 can be controlled separately. In another possible implementation, the vibrator 115 is a single-axis vibrator, which can drive the pen tip 112 to vibrate either along the axis of the pen barrel 111 or in a direction perpendicular to the axis of the pen barrel 111. When the vibrator 115 drives the pen tip 112 to vibrate along the axis of the pen barrel 111, the internal mechanical structure of the vibrator 115 can convert the vibration along the axis of the pen barrel 111 into vibration perpendicular to the axis of the pen barrel 111, and then transmit it to the pen tip 112, causing the pen tip 112 to vibrate simultaneously along the axis of the pen barrel 111 and in a direction perpendicular to the axis of the pen barrel 111. When the vibrator 115 drives the pen tip 112 to vibrate in a direction perpendicular to the axis of the pen barrel 111, the internal mechanical structure of the vibrator 115 can convert the vibration perpendicular to the axis of the pen barrel 111 into vibration along the axis of the pen barrel 111, and then transmit it to the pen tip 112, causing the pen tip 112 to vibrate simultaneously along the axis of the pen barrel 111 and in a direction perpendicular to the axis of the pen barrel 111. The vibration along the axis of the pen barrel 111 and the vibration perpendicular to the axis of the pen barrel 111 can be controlled separately. Furthermore, the vibrator 115 includes, but is not limited to, piezoelectric vibrators, electromagnetic vibrators, etc., and this embodiment does not limit the types of vibrators used.

[0088] The main board circuit 116 is used to collect position information obtained by the position sensor 113 and force information obtained by the force sensor 114, and to control the vibrator 115 to vibrate based on the position information and force information.

[0089] Specifically, the motherboard circuit 116 can communicate with the electronic device 120 and, in conjunction with the position sensor 113, collect the position information of the pen tip 112 on the touch screen 121. It can also collect force information through the force sensor 114 and control the amplitude and frequency of the vibrator 115 based on the position and force information. It should be understood that the motherboard circuit 116 can store relevant models, algorithms, or parameters.

[0090] The stylus provided in this application embodiment uses a vibrator to drive the pen tip to vibrate simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel. This changes the friction between the stylus tip and the touch screen, enhancing the realism of the user's operation on the touch screen and thus improving the user experience.

[0091] Optionally, the stylus 110 also includes a telescopic actuator 117, such as Figure 3and Figure 4 As shown, the telescopic actuator 117 is located inside the cavity of the pen barrel 111. The telescopic actuator 117 is used to control the pen tip 112 to extend and retract along the axial direction of the pen barrel 111. The main board circuit 116 is also used to: acquire the three-dimensional shape information of the electronic canvas displayed on the touch screen 121, and control the telescopic actuator 117 to extend and retract according to the three-dimensional shape information.

[0092] It should be understood that the telescopic actuator 116 includes, but is not limited to, magnetostrictive actuators and voice coil motors, and the embodiments of this application do not limit this.

[0093] The following example, using the Fun Painting scene, illustrates how the motherboard circuit 116 acquires the three-dimensional shape information of the electronic canvas.

[0094] Figure 5 This is a schematic diagram of a fun drawing scene provided in an embodiment of this application. Figure 5 In the illustrated fun painting scene, the touch display screen 121 displays a three-dimensional canvas, which can be displayed as scenes such as stones, wood, roads, and beaches (not shown in the figure). It should be understood that the electronic canvas may include a three-dimensional canvas, and this embodiment of the application does not limit this. It should also be understood that the three-dimensional canvas may be preset or selected by the user, and this embodiment of the application does not limit this.

[0095] In one possible implementation, the electronic device 120 uses the position information of the stylus tip 112 on the touch display screen 121 (e.g., the position of the stylus tip 112 on the aforementioned...) Figure 2 The position coordinates ((x2, y2, z2)) in the three-dimensional rectangular coordinate system shown are used to send the virtual height information (e.g., z2) of the pen tip 112 at the position of the three-dimensional canvas to the stylus 110 in real time, so that the stylus 110 can obtain the virtual three-dimensional shape information of the three-dimensional canvas.

[0096] In another possible implementation, the stylus 110 can communicate with the electronic device 120 to obtain virtual three-dimensional shape information of the three-dimensional canvas displayed on the touch screen 121.

[0097] Based on the three-dimensional shape information obtained in any of the above implementation methods, the main board circuit 116 of the stylus 110 can control the telescopic actuator 117 to drive the pen tip 112 to extend and retract at the level of hundreds of micrometers to millimeters along the axial direction of the pen barrel 111. This allows the user to feel the stylus 110 changing with the three-dimensional shape of the three-dimensional canvas during the fun of drawing, giving the user the feeling of drawing in the real world, thereby improving the user experience.

[0098] Optionally, the motherboard circuit 116 is also used to: obtain the target electronic paper type of the touch display screen 121, select the target vibration information corresponding to the target electronic paper type, and control the vibrator 115 to vibrate according to the target vibration information, which includes amplitude and frequency.

[0099] Specifically, in response to user operations, the touch display screen 121 can display different preset electronic paper types for the user to select. For example, in response to a user's swipe-to-page operation, the touch display screen 121 will display paper types such as sketch paper, watercolor paper, copy paper, rice paper, and oil painting paper on the interface after each swipe-to-page operation. After the user selects a target electronic paper type, the mainboard circuit 116 of the stylus 110 can acquire the selected target electronic paper type by communicating with the electronic device 120. Based on the user-selected target electronic paper type, the mainboard circuit 116 of the stylus 110 can select target vibration information corresponding to the target electronic paper type. For example, if the target electronic paper type is sketch paper, the mainboard circuit 116 can select the amplitude and frequency of the pen tip 110 corresponding to the sketch paper. Here, the amplitude can be a range of amplitudes, and the frequency can be a range of frequencies.

[0100] It should be understood that different types of electronic paper can correspond to different vibration information. Before the user writes or draws, the stylus 110 can pre-establish the correspondence between the type of electronic paper and the vibration information and store the correspondence in the writing and drawing experience library. The writing and drawing experience library can specifically correspond to the memory or storage module in the stylus 110.

[0101] Optionally, the force sensor 114 is further configured to: acquire first force information of the pen tip 112 on real paper when the user operates the stylus 110 on real paper, wherein the real paper is paper corresponding to the target electronic paper type; acquire second force information of the pen tip 112 on the touch display screen 121, wherein the touch display screen 121 displays electronic paper corresponding to the target electronic paper type. The motherboard circuit 116 is further configured to: acquire the first force information and the second force information through the force sensor 114; control the vibrator 115 to vibrate when the user operates the stylus 110 on the touch display screen 121, such that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold; calculate vibration information based on the second force information, and determine the vibration information as the target vibration information corresponding to the target electronic paper type.

[0102] Figure 6This is a schematic diagram illustrating the operation of the stylus 110 provided in this application embodiment on real paper. The user operates the stylus 110 on the real paper, and the motherboard circuit 116 collects the force information (i.e., the aforementioned first force information) of the pen tip 112 on the real paper via the force sensor 114. The type of the real paper corresponds to the type of the target electronic paper. For example, if the target electronic paper type is sketch paper, the real paper is a real sketch paper, and the user writes or draws on the real sketch paper using the stylus 110. Next, the user operates on the touch screen 121, which displays electronic paper corresponding to the target electronic paper type, using the stylus 110. During the operation, the motherboard circuit 116 controls the vibrator 115 to vibrate, and at the same time, the force sensor 114 collects the force information of the pen tip 112 on the touch screen 121 (i.e., the second force information mentioned above), so that the force information of the pen tip 112 on the touch screen 121 is close to the force information of the pen tip 112 on the actual paper. The vibration information (i.e., amplitude and frequency) is calculated based on the force information of the pen tip 112 on the touch screen 121, and it is used as the target vibration information corresponding to the target electronic paper type.

[0103] It should be understood that the force information of the pen tip 112 on the touch screen 121 is close to the force information of the pen tip 112 on the actual paper, that is, the absolute value of the difference between the force information of the pen tip 112 on the touch screen 121 and the force information of the pen tip 112 on the actual paper is less than or equal to a preset threshold.

[0104] Since the force information includes the magnitude and direction of the force, optionally, the first force information includes the first force magnitude and the first force direction, and the second force information includes the second force magnitude and the second force direction. The main board circuit 116 is specifically used to: control the vibrator 115 to vibrate, such that the absolute value of the difference between the first force magnitude and the second force magnitude is less than or equal to a first preset threshold, and the absolute value of the difference between the first force direction and the second force direction is less than or equal to a second preset threshold.

[0105] It should be understood that, for ease of comparison, the motherboard circuit 116 can first quantify the direction of the above-mentioned force (i.e., the first force direction and the second force direction) through preset rules. The specific processing method is not limited in this application embodiment.

[0106] Optionally, the motherboard circuit 116 is also used to: obtain the target pen tip type and select the target vibration information that corresponds to the target electronic paper type and the target pen tip type.

[0107] Specifically, in addition to selecting their desired electronic paper type, users can also select their desired pen tip type. In this embodiment, the pen tip type selected by the user is referred to as the "target pen tip type." In one possible implementation, the stylus 110 is equipped with a selection button, allowing the user to select the target pen tip type by clicking the selection button. Furthermore, the stylus 110 may also have a display screen showing the currently selected target pen tip type for easy viewing. In another possible implementation, the user can make the selection through the electronic device 120. That is, the electronic device 120 displays multiple pen tip types on the touchscreen display 121. In response to the user's selection, the electronic device 120 determines the target pen tip type selected by the user and then sends the target pen tip type to the stylus 110 via a communication module.

[0108] In this embodiment, there is a correspondence between the pen tip type, the electronic paper type, and the vibration information. Therefore, the motherboard circuit 116 can determine the target vibration information corresponding to the target pen tip type and the target electronic paper type based on the target pen tip type and the target electronic paper type, and control the vibrator 115 to vibrate according to the target vibration information.

[0109] It should be understood that different pen tip types and different electronic paper types can correspond to different vibration information. The same pen tip type but different electronic paper types can also correspond to different vibration information, and the same electronic paper type but different pen tip types can also correspond to different vibration information. The embodiments of this application do not limit this.

[0110] The following describes the process of establishing the correspondence between the target electronic paper type, the target pen tip type, and the target vibration information. The user selects the target electronic paper type and the target pen tip type. Then, the user uses a stylus 110 with the target pen tip type to operate on a real piece of paper corresponding to the target electronic paper type. For example, if the target electronic paper type is sketch paper and the target pen tip type is a pencil tip, the real paper is a real sketch paper, and the user uses the stylus 110 with a pencil tip to write or draw on the sketch paper. During operation, the mainboard circuit 116 collects the force information of the pen tip 112 on the real paper through the force sensor 114. Next, the user operates the stylus 110 with the target pen tip type on the touch screen 121 which displays the electronic paper corresponding to the target electronic paper type. During the operation, the motherboard circuit 116 controls the vibrator 115 to vibrate, and at the same time, the force sensor 114 collects the force information of the pen tip 112 on the touch screen 121, so that the force information of the pen tip 112 on the touch screen 121 is close to the force information of the pen tip 112 on the actual paper. The vibration information (i.e., amplitude and frequency) corresponding to the force information of the pen tip 112 on the touch screen 121 is calculated and used as the target vibration information corresponding to the target electronic paper type and the target pen tip type.

[0111] Optionally, the motherboard circuit 116 is also used to: determine whether there is relative movement between the pen tip 112 and the touch display screen 121 based on the position information and time information, and control the vibrator 115 to vibrate when there is relative movement between the pen tip 112 and the touch display screen 121.

[0112] Optionally, the motherboard circuit 116 is also used to: determine whether there is an interaction force between the pen tip 112 and the touch display screen 121 based on the force information, and control the vibrator 115 to vibrate when there is an interaction force between the pen tip 112 and the touch display screen 121.

[0113] In the present application embodiment, when there is no relative movement between the pen tip 112 and the touch display screen 121, or when there is no interaction force between the pen tip 112 and the touch display screen 121, the vibrator 115 will not vibrate. This saves the power consumption of the stylus 110 and helps to extend the battery life of the stylus 110.

[0114] Optionally, the stylus 110 also includes a sound module 118, which is located inside the cavity of the stylus 111 and is used to play sounds based on different scenarios.

[0115] The motherboard circuit 117 can control the sound module 118 to play sounds based on the friction sound of the pen against the paper when writing and the scene-based sounds of the electronic canvas, thereby increasing the immersive experience of the user when operating on the touch screen with the stylus.

[0116] The above text combined Figures 3 to 6 The stylus of the embodiments of this application is described in detail below, in conjunction with Figures 7 to 9 The present application describes in detail the operation method of the stylus according to the embodiments of the present application.

[0117] Figure 7 This is a schematic flowchart illustrating a stylus operation method 700 provided in an embodiment of this application. The method 700 can be executed by the stylus 110 described above, but this embodiment is not limited thereto. The method 700 includes the following steps:

[0118] S701, the position sensor acquires the position information of the pen tip on the touch display screen.

[0119] The S702 force sensor acquires force information at the pen tip.

[0120] In the S703, the mainboard circuit acquires position information through a position sensor and force information through a force sensor. Based on the position and force information, it controls the vibrator to vibrate, causing the pen tip to vibrate simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel.

[0121] The stylus operation method provided in this application embodiment drives the pen tip to vibrate simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel by a vibrator. This changes the friction between the stylus tip and the touch screen, enhancing the realism of the user's operation on the touch screen and thus improving the user experience.

[0122] As an optional embodiment, the stylus also includes a telescopic actuator; the method further includes: the motherboard circuit acquiring the three-dimensional topographic information of the electronic canvas displayed on the touch screen, and controlling the telescopic actuator to drive the pen tip to extend and retract along the direction of the pen shaft axis based on the three-dimensional topographic information.

[0123] As an optional embodiment, the above method further includes: the motherboard circuit acquiring the target electronic paper type of the touch screen, and selecting target vibration information corresponding to the target electronic paper type, the target vibration information including amplitude and frequency.

[0124] Different types of electronic paper can correspond to different vibration information. The following example, using a stylus to write and draw on a touch screen, illustrates how, before a user writes or draws, a correspondence between electronic paper types and vibration information can be established in advance and stored in a writing and drawing experience library. This writing and drawing experience library can specifically correspond to the memory or storage module in the stylus.

[0125] Below, in conjunction with Figure 8 This paper introduces a method for adding the target vibration information corresponding to the target pen tip type and target electronic paper type to the writing and drawing experience library.

[0126] Figure 8 This is a schematic flowchart of another stylus operation method 800 provided in this application embodiment. Method 800 can be executed by the stylus 110 described above, but this application embodiment is not limited thereto. Method 800 includes the following steps:

[0127] S801, when a user uses a stylus to write or draw on a real paper corresponding to the target electronic paper type, the force sensor acquires the first force information of the stylus tip on the real paper.

[0128] Optionally, the first force information includes the magnitude of the first force and the direction of the first force.

[0129] S802, the mainboard circuit acquires the first force information through a force sensor.

[0130] S803, when the user uses a stylus to write or draw on the electronic paper displayed on the touch screen corresponding to the target electronic paper type, the motherboard circuit controls the vibrator to vibrate. At the same time, the motherboard circuit collects the second force information of the stylus tip on the touch screen through the force sensor, so that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold.

[0131] Optionally, the second force information includes the magnitude of the second force and the direction of the second force.

[0132] S804, the motherboard circuit calculates vibration information based on the second force information, and adds the vibration information as the target vibration information corresponding to the target electronic paper type to the writing and drawing experience library.

[0133] In this embodiment of the application, the motherboard circuit controls the vibrator to vibrate, such that the absolute value of the difference between the magnitude of the first force and the magnitude of the second force is less than or equal to a first preset threshold, and the absolute value of the difference between the direction of the first force and the direction of the second force is less than or equal to a second preset threshold.

[0134] It should be understood that the above method 800 only illustrates the correspondence between electronic paper type and vibration information as an example. In another possible implementation, the pen tip type is selectable by the user; therefore, a correspondence can be established between the electronic paper type, pen tip type, and vibration information. When the user writes or draws, the motherboard circuit can select the target vibration information corresponding to the target electronic paper type and target pen tip type selected by the user, and control the vibrator to vibrate according to the target vibration information. The process of establishing the correspondence between the electronic paper type, pen tip type, and vibration information is similar to that of method 800 above, and will not be repeated here.

[0135] As an optional embodiment, in the above method 700, the motherboard circuit controls the vibrator to vibrate based on the position information and force information, including: the motherboard circuit determines whether there is relative motion between the pen tip and the touch screen based on the position information and time information, and if there is relative motion between the pen tip and the touch screen, the motherboard circuit controls the vibrator to vibrate.

[0136] As an optional embodiment, in the above method 700, the motherboard circuit controls the vibrator to vibrate based on the position information and the force information, including: the motherboard circuit determines whether there is an interaction force between the pen tip and the touch screen based on the force information, and if there is an interaction force between the pen tip and the touch screen, the motherboard circuit controls the vibrator to vibrate.

[0137] As an optional embodiment, the stylus also includes a sound module, and the method further includes: the motherboard circuit controlling the sound module to play appropriate sounds based on different scenarios.

[0138] Figure 9 This is a schematic flowchart illustrating another stylus operation method 900 provided in this application embodiment. The method 900 can be executed by the stylus 110, specifically by the motherboard circuit 116 in the stylus 110, but this application embodiment does not limit this. The method 900 includes the following steps:

[0139] The S901 uses a position sensor to collect the position information of the pen tip on the touch screen.

[0140] The S902 uses a force sensor to collect force information on the pen tip.

[0141] S903 controls the vibrator to vibrate based on position and force information, so that the pen tip vibrates simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel.

[0142] The stylus operation method provided in this application embodiment drives the stylus tip to vibrate simultaneously along the axial direction of the stylus and perpendicular to the axial direction of the stylus, thereby changing the friction between the stylus tip and the touch screen and enhancing the realism of the user's operation on the touch screen, thus improving the user experience.

[0143] Optionally, the above method further includes: acquiring three-dimensional topographic information of the electronic canvas displayed on the touch screen, and controlling the telescopic actuator to drive the pen tip to extend and retract along the axis of the pen barrel based on the three-dimensional topographic information.

[0144] Optionally, the above method further includes: obtaining the target electronic paper type of the touch screen, selecting the target vibration information corresponding to the target electronic paper type, and controlling the vibrator to vibrate according to the target vibration information, wherein the target vibration information includes amplitude and frequency.

[0145] Optionally, before selecting the target vibration information corresponding to the target electronic paper type, the method further includes: when the user operates on real paper with a stylus, collecting first force information of the pen tip on the real paper through a force sensor, wherein the real paper is paper corresponding to the target electronic paper type; when the user operates on a touch screen with a stylus, controlling the vibrator to vibrate, and simultaneously collecting second force information of the pen tip on the touch screen through a force sensor, such that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold, wherein the touch screen displays electronic paper corresponding to the target electronic paper type; calculating vibration information based on the second force information, and determining the vibration information as the target vibration information corresponding to the target electronic paper type.

[0146] Optionally, the first force information includes the magnitude and direction of the first force, and the second force information includes the magnitude and direction of the second force. The above-mentioned control of the vibrator to vibrate, while simultaneously collecting the second force information of the pen tip on the touch screen through a force sensor, such that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold, includes: controlling the vibrator to vibrate, while simultaneously collecting the second force information through a force sensor, such that the absolute value of the difference between the magnitude of the first force and the magnitude of the second force is less than or equal to the first preset threshold, and the absolute value of the difference between the direction of the first force and the direction of the second force is less than or equal to the second preset threshold.

[0147] Optionally, the above method further includes: obtaining the target pen tip type, wherein the above selection of target vibration information corresponding to the target electronic paper type includes: selecting target vibration information that corresponds to both the target electronic paper type and the target pen tip type.

[0148] Optionally, controlling the vibrator to vibrate based on position information and force information includes: determining whether there is relative motion between the pen tip and the touch screen based on position information and time information, and controlling the vibrator to vibrate if there is relative motion between the pen tip and the touch screen.

[0149] Optionally, the above-mentioned control of the vibrator based on position information and force information further includes: determining whether there is an interaction force between the pen tip and the touch screen based on the force information, and controlling the vibrator to vibrate when there is an interaction force between the pen tip and the touch screen.

[0150] Optionally, the stylus also includes a sound module, and the above method further includes: controlling the sound module to play sound based on different scenarios.

[0151] It should be understood that the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0152] Below, in conjunction with Figure 10 and Figure 11 This application describes in detail the processing apparatus of its embodiments. This processing apparatus can be the aforementioned stylus or the mainboard circuitry within the stylus; this application does not limit this to any particular type.

[0153] Figure 10 This is a schematic block diagram of the processing device 1000 provided in this application embodiment. The processing device 1000 includes a data acquisition module 1001 and a processing module 1002. The data acquisition module 1001 is used to: acquire position information of the pen tip on the touch screen using a position sensor, and acquire force information using a force sensor. The processing module 1002 is used to: control the vibrator to vibrate based on the position information and the force information, so that the pen tip vibrates simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel.

[0154] Optionally, the acquisition module 1001 is further configured to: acquire the three-dimensional shape information of the electronic canvas displayed on the touch screen. The processing module 1002 is further configured to: control the telescopic actuator to drive the pen tip to extend and retract along the axis of the pen barrel based on the three-dimensional shape information.

[0155] Optionally, the acquisition module 1001 is further configured to: acquire the target electronic paper type of the touch screen and select the target vibration information corresponding to the target electronic paper type. The processing module 1002 is further configured to: control the vibrator to vibrate according to the above-mentioned target vibration information, which includes amplitude and frequency.

[0156] Optionally, the acquisition module 1001 is further configured to: when the user operates the stylus on real paper, acquire first force information of the pen tip on the real paper via a force sensor, wherein the real paper is paper corresponding to the target electronic paper type. The acquisition module 1001 is further configured to: when the user operates the stylus on a touch screen, acquire second force information of the pen tip on the touch screen via a force sensor, wherein the touch screen displays electronic paper corresponding to the target electronic paper type. The processing module 1002 is further configured to: when the user operates the stylus on the touch screen, control the vibrator to vibrate, such that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold. The processing module 1002 is further configured to: calculate vibration information based on the second force information, and determine the vibration information as the target vibration information corresponding to the target electronic paper type.

[0157] Optionally, the first force information includes the magnitude and direction of the first force, and the second force information includes the magnitude and direction of the second force. The acquisition module 1001 is further configured to: acquire the second force information via a force sensor. The processing module 1002 is further configured to: control the vibrator to vibrate such that the absolute value of the difference between the magnitude of the first force and the magnitude of the second force is less than or equal to a first preset threshold, and the absolute value of the difference between the direction of the first force and the direction of the second force is less than or equal to a second preset threshold.

[0158] Optionally, the acquisition module 1001 is further configured to: acquire the target pen tip type. The processing module 1002 is further configured to: select the target vibration information that corresponds to the target electronic paper type and the target pen tip type.

[0159] Optionally, the processing module 1002 is further configured to: determine whether there is relative motion between the pen tip and the touch display screen based on the position information and time information; and control the vibrator to vibrate when there is relative motion between the pen tip and the touch display screen.

[0160] Optionally, the processing module 1002 is further configured to: determine whether there is an interaction force between the pen tip and the touch display screen based on the force information; and control the vibrator to vibrate if there is an interaction force between the pen tip and the touch display screen.

[0161] Optionally, the processing module 1002 is also used to: control the sound module to play sound based on different scenarios.

[0162] It should be understood that the processing device 1000 here is embodied in the form of a functional module. The term "module" here can refer to application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors, etc.) and memories for executing one or more software or firmware programs, integrated logic circuits, and / or other suitable components supporting the described functions. In an alternative example, those skilled in the art will understand that the processing device 1000 can specifically be the motherboard circuit of the stylus in the above embodiments, and the terminal device 1000 can be used to execute the various processes and / or steps corresponding to the motherboard circuit in the above method embodiments; to avoid repetition, these will not be described again here.

[0163] The aforementioned processing device 1000 has the function of implementing the corresponding steps executed by the motherboard circuit in the above method; the above function can be implemented by hardware or by hardware executing corresponding software. The acquisition module and processing module can be replaced by a processor, which will respectively execute the relevant processing operations in each method embodiment.

[0164] Figure 11 This is a schematic block diagram of another processing device 1100 provided in an embodiment of this application. The processing device 1100 includes a processor 1101, a transceiver 1102, and a memory 1103. The processor 1101, transceiver 1102, and memory 1103 communicate with each other via internal interconnection paths. The memory 1103 is used to store instructions, and the processor 1101 is used to execute the instructions stored in the memory 1103 to control the transceiver 1102 to receive and / or transmit signals.

[0165] It should be understood that the processing device 1100 may specifically be the motherboard circuit in the above embodiments, and may be used to execute the various steps and / or processes in the method 900 described above. Optionally, the memory 1103 may include read-only memory and random access memory, and provide instructions and data to the processor 1101. A portion of the memory may also include non-volatile random access memory. For example, the memory 1103 may also store device type information. The processor 1101 may be used to execute instructions stored in the memory 1103, and when the processor 1101 executes instructions stored in the memory, the processor 1101 is used to execute the various steps and / or processes of the method 900 described above. The transceiver 1102 may include a transmitter and a receiver, the transmitter may be used to implement the various steps and / or processes corresponding to the transceiver for performing a transmitting action, and the receiver may be used to implement the various steps and / or processes corresponding to the transceiver for performing a receiving action.

[0166] It should be understood that, in the embodiments of this application, the processor may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0167] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware processor, or as a combination of hardware and software modules within the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor executes the instructions in the memory, combining them with its hardware to complete the steps of the above method. To avoid repetition, detailed descriptions are omitted here.

[0168] This application also provides a computer-readable storage medium for storing a computer program for implementing the method in embodiment 900 above.

[0169] This application also provides a computer program product, which includes a computer program (also referred to as code or instructions) that, when run on a computer, enables the computer to perform the methods described in embodiment 900 above.

[0170] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0171] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0172] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0173] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0174] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0175] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0176] The above description is merely a specific embodiment of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.

Claims

1. A stylus, characterized in that, include: Pen tip, pen barrel, position sensor, force sensor, vibrator, and mainboard circuitry; The pen tip is connected to the pen barrel and is located at the head of the pen barrel; The position sensor is located inside the cavity of the pen tip or the pen barrel, and is used to obtain the position information of the pen tip on the touch screen when the user operates the stylus on the touch screen. The force sensor is located inside the cavity of the pen barrel and is used to obtain the force information of the pen tip when the user operates the stylus on the touch screen. The vibrator is located inside the cavity of the pen barrel and is used to control the pen tip to vibrate simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel; The mainboard circuit is located inside the cavity of the pen barrel and is used to collect the position information and the force information, and control the vibrator to vibrate according to the position information and the force information; The motherboard circuit is also used for: Obtain the target electronic paper type for the touch display screen; Select the target vibration information corresponding to the target electronic paper type, and control the vibrator to vibrate according to the target vibration information, wherein the target vibration information includes amplitude and frequency; The force sensor is also used for: When a user operates the stylus on real paper, the first force information of the stylus tip on the real paper is obtained, and the real paper is the paper corresponding to the target electronic paper type. The second force information of the pen tip on the touch screen is obtained, and the touch screen displays electronic paper corresponding to the target electronic paper type; The motherboard circuit is also used for: The force sensor collects the first force information and the second force information; When a user operates the stylus on the touch screen, the vibrator is controlled to vibrate so that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold. The vibration information is calculated based on the second force information, and the vibration information is determined as the target vibration information corresponding to the target electronic paper type.

2. The stylus according to claim 1, characterized in that, The stylus also includes: a telescopic actuator; The telescopic actuator is located inside the cavity of the pen barrel and is used to control the extension and retraction of the pen tip along the axial direction of the pen barrel; The motherboard circuit is also used to: acquire the three-dimensional shape information of the electronic canvas displayed on the touch screen, and control the telescopic actuator to extend and retract according to the three-dimensional shape information.

3. The stylus according to claim 1, characterized in that, The first force information includes the magnitude of the first force and the direction of the first force, and the second force information includes the magnitude of the second force and the direction of the second force; The motherboard circuit is specifically used for: The vibrator is controlled to vibrate such that the absolute value of the difference between the magnitude of the first force and the magnitude of the second force is less than or equal to a first preset threshold, and the absolute value of the difference between the direction of the first force and the direction of the second force is less than or equal to a second preset threshold.

4. The stylus according to any one of claims 1 to 3, characterized in that, The motherboard circuit is also used for: Get the target pen tip type; Select the target vibration information that corresponds to the target electronic paper type and the target pen tip type.

5. The stylus according to any one of claims 1 to 3, characterized in that, The motherboard circuit is also used for: Based on the location and time information, determine whether there is relative movement between the pen tip and the touch screen. The vibrator is controlled to vibrate when there is relative movement between the pen tip and the touch screen.

6. The stylus according to any one of claims 1 to 3, characterized in that, The motherboard circuit is also used for: Based on the force information, determine whether there is an interaction force between the pen tip and the touch screen. The vibrator is controlled to vibrate when there is an interaction force between the pen tip and the touch display screen.

7. The stylus according to any one of claims 1 to 3, characterized in that, The stylus also includes a sound module; The sound module is located inside the cavity of the pen and is used to play sounds based on different scenarios.

8. A method for operating a stylus, characterized in that, The method, applied to a stylus including a pen tip, pen barrel, position sensor, force sensor, vibrator, and motherboard circuitry, comprises: The position sensor acquires the position information of the pen tip on the touch display screen; The force sensor acquires the force information of the pen tip; The motherboard circuit acquires the position information through the position sensor and the force information through the force sensor, and controls the vibrator to vibrate according to the position information and the force information, so that the pen tip vibrates simultaneously along the axial direction of the pen barrel and in a direction perpendicular to the axial direction of the pen barrel; The method further includes: The motherboard circuit obtains the target electronic paper type of the touch screen; When a user operates the stylus on real paper, the force sensor acquires the first force information of the stylus tip on the real paper, and the motherboard circuit collects the first force information through the force sensor. The real paper is paper corresponding to the target electronic paper type. When a user operates the stylus on the touch screen, the motherboard circuit controls the vibrator to vibrate, and at the same time collects the second force information of the stylus tip on the touch screen through the force sensor, so that the absolute value of the difference between the second force information and the first force information is less than or equal to a preset threshold, and the touch screen displays electronic paper corresponding to the target electronic paper type. The motherboard circuit calculates vibration information based on the second force information and determines the vibration information as the target vibration information corresponding to the target electronic paper type; The motherboard circuit selects target vibration information corresponding to the target electronic paper type and controls the vibrator to vibrate according to the target vibration information, which includes amplitude and frequency.

9. The method according to claim 8, characterized in that, The stylus also includes a telescopic actuator; The method further includes: The motherboard circuit acquires the three-dimensional shape information of the electronic canvas displayed on the touch screen; The mainboard circuit controls the telescopic actuator to drive the pen tip to extend and retract along the axial direction of the pen barrel based on the three-dimensional topographic information.

10. The method according to claim 8, characterized in that, The first force information includes the magnitude of the first force and the direction of the first force, and the second force information includes the magnitude of the second force and the direction of the second force; The motherboard circuit controls the vibration of the vibrator, including: The motherboard circuit controls the vibrator to vibrate, and at the same time collects the second force information of the pen tip on the touch screen through the force sensor, so that the absolute value of the difference between the first force magnitude and the second force magnitude is less than or equal to a first preset threshold, and the absolute value of the difference between the first force direction and the second force direction is less than or equal to a second preset threshold.

11. The method according to any one of claims 8 to 10, characterized in that, The method further includes: The motherboard circuitry acquires the target pen tip type; The motherboard circuit selects target vibration information corresponding to the target electronic paper type, including: The motherboard circuit selects the target vibration information that corresponds to the target electronic paper type and the target pen tip type.

12. The method according to any one of claims 8 to 10, characterized in that, The motherboard circuit controls the vibration of the vibrator based on the position information and the force information, including: The motherboard circuit determines whether there is relative movement between the pen tip and the touch screen based on the position information and time information; When there is relative movement between the pen tip and the touch display screen, the motherboard circuit controls the vibrator to vibrate.

13. The method according to any one of claims 8 to 10, characterized in that, The motherboard circuit controls the vibrator to vibrate based on the position information and the force information, and further includes: The motherboard circuit determines whether there is an interaction force between the pen tip and the touch screen based on the force information. When there is an interaction force between the pen tip and the touch display screen, the motherboard circuit controls the vibrator to vibrate.

14. The method according to any one of claims 8 to 10, characterized in that, The stylus also includes a sound module; The method further includes: The motherboard circuit controls the sound module to play sound based on different scenarios.

Citation Information

Patent Citations

  • Three-dimensional interactive method, display device, handling rod and system

    CN103995584A

  • Touch pen and display equipment assembly

    CN215494944U

  • A electronic pen for tactile feedback and a pen computer system using the same

    KR100807930B1

  • Stylus and control method

    WO2022166752A1