Touch pen, control method, control device and electronic device

By integrating humidity and sound detection devices in the stylus, the handwriting characteristics are automatically adjusted by using air and blowing operations, the problem of cumbersome operation of users when adjusting the handwriting is solved, and a simpler user experience is achieved.

CN112987950BActive Publication Date: 2024-11-15VIVO MOBILE COMM CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110272352.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-12
Publication Date
2024-11-15
Estimated Expiration
2041-03-12

AI Technical Summary

Technical Problem

When adjusting the handwriting of the stylus, users need to perform cumbersome selection operations according to the setting rules of different applications, resulting in complex operations.

Method used

A stylus is designed, using a humidity detection device and a sound detection device. Through the user's breathing and blowing operation of the pen tip structure, the handwriting feature information is automatically adjusted to simplify user operations.

Benefits of technology

Users can directly adjust the handwriting characteristics through simple air venting and blowing operations, reducing their dependence on application setting rules, simplifying the operation process, and improving the convenience of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112987950B_ABST
    Figure CN112987950B_ABST
Patent Text Reader

Abstract

The present application discloses a stylus, a control method, a control device and an electronic device, which belongs to the field of electronic technology, and aims to solve the problem of cumbersome user operations when adjusting the handwriting of the stylus in the prior art. The stylus comprises: a main body, the front end of the main body has a pen tip structure; the pen tip structure is provided with a first type of hole slot, one end of the first type of hole slot is connected to the outside world, and the other end of the first type of hole slot is connected to the humidity detection device in the main body; the pen tip structure is provided with a second type of hole slot, one end of the second type of hole slot is connected to the outside world, and the other end of the second type of hole slot is connected to the sound detection device in the main body; a processor, the processor is connected to the humidity detection device, and the processor is also connected to the sound detection device. The stylus in the present application is used for data connection with an electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic technology, and specifically relates to a stylus pen, a control method, a control device and an electronic device. Background Art

[0002] With the rapid popularization of electronic devices such as mobile phones and tablets, people have gradually adapted to paperless office and learning, and handwriting stylus is an important interactive tool for electronic devices. Among them, the stylus as a stylus allows users to draw pictures and take notes on the screen of electronic devices, which is convenient for recording and storing information.

[0003] Usually, when using a stylus, the user needs to apply a certain amount of pressure to the tip of the stylus so that the stylus will leave handwriting on the screen. During use, the user can also set the line width, color, blur level, etc. of the handwriting to achieve a preset effect. For example, based on the drawing application currently operated by the user, in the setting bar of editing color, in the multiple color box, click to select one of the colors as the color of the current handwriting.

[0004] It can be seen that in the prior art, when the user adjusts the handwriting of the stylus, he needs to make selections in the application interface based on the setting rules of different applications. Different applications have different corresponding setting rules, and the setting rules of the applications are also relatively complicated, which leads to cumbersome user operations. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a stylus pen that can solve the problem of cumbersome user operations when the user adjusts the handwriting of the stylus pen in the prior art.

[0006] In order to solve the above technical problems, this application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a stylus pen, which includes: a main body, wherein the front end of the main body has a pen tip structure; the pen tip structure is provided with a first type of hole slot, one end of the first type of hole slot is communicated with the outside world, and the other end of the first type of hole slot is connected to a humidity detection device in the main body; the pen tip structure is provided with a second type of hole slot, one end of the second type of hole slot is communicated with the outside world, and the other end of the second type of hole slot is connected to a sound detection device in the main body; a processor, wherein the processor is connected to the humidity detection device, and the processor is also connected to the sound detection device; the processor is used for adjusting handwriting feature information according to a first adjustment direction when the airflow humidity value detected by the humidity detection device is greater than a first preset value; and adjusting the handwriting feature information according to a second adjustment direction when the sound signal strength value detected by the sound detection device is greater than a second preset value; wherein the first adjustment direction is opposite to the second adjustment direction.

[0008] In a second aspect, an embodiment of the present application provides a control method, which is applied to the stylus as described in the first aspect, the method comprising: receiving a first operation of the pen tip structure by a user; the first operation causes an airflow to be generated in the first type of hole groove; in response to the first operation, the humidity detection device detects the humidity value of the airflow generated by the first operation in the first type of hole groove; when the humidity value is greater than a first preset value, obtaining first handwriting feature information of the stylus; adjusting to second handwriting feature information according to a first adjustment direction based on the first handwriting feature information; receiving a second operation of the pen tip structure by the user; the second operation causes a sound signal to be generated in the second type of hole groove; in response to the second operation, the sound detection device detects the intensity value of the sound signal generated by the second operation in the second type of hole groove; when the intensity value is greater than a second preset value, obtaining the first handwriting feature information of the stylus; adjusting to third handwriting feature information according to the first handwriting feature information according to a second adjustment direction; wherein the first adjustment direction is opposite to the second adjustment direction.

[0009] In a third aspect, an embodiment of the present application provides a control device for implementing the method of the second aspect, the device comprising: a first operation receiving module for receiving a first operation of the user on the pen tip structure; the first operation causes an airflow to be generated in the first type of hole groove; a first operation response module for responding to the first operation, the humidity detection device detecting the humidity value of the airflow generated by the first operation in the first type of hole groove; a first acquisition module for acquiring first handwriting feature information of the stylus pen when the humidity value is greater than a first preset value; a first adjustment module for adjusting the first handwriting feature information to a second handwriting feature according to a first adjustment direction. characteristic information; a second operation receiving module, used to receive the second operation of the user on the pen tip structure; the second operation causes a sound signal to be generated in the second type of hole groove; a second operation response module, used to respond to the second operation, the sound detection device detects the intensity value of the sound signal generated by the second operation in the second type of hole groove; a second acquisition module, used to obtain the first handwriting characteristic information of the stylus when the intensity value is greater than a second preset value; a second adjustment module, used to adjust the first handwriting characteristic information to the third handwriting characteristic information according to the second adjustment direction; wherein the first adjustment direction is opposite to the second adjustment direction.

[0010] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the method of the second aspect are implemented.

[0011] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the second aspect are implemented.

[0012] In a sixth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the second aspect.

[0013] Thus, in the embodiment of the present application, during use, the user blows air at the pen tip structure, and the airflow generated by the breath enters the first type of hole slot from the outside, and the humidity detection device detects the humidity value of the airflow in the first type of hole slot. When the humidity value of the airflow is greater than the first preset value, the processor obtains the current first handwriting feature information and adjusts it to the second handwriting feature information according to the first adjustment direction. Alternatively, the user blows air at the pen tip structure, and the airflow generated by the blowing enters the second type of hole slot from the outside, and the airflow generates a sound signal in the second type of hole slot due to vibration. The sound detection device detects the sound signal in the second type of hole slot. When the intensity value of the sound signal is greater than the second preset value, the processor obtains the current first handwriting feature information and adjusts it to the third handwriting feature information according to the second adjustment direction opposite to the first adjustment direction. It can be seen that based on the embodiment of the present application, when adjusting the handwriting of the stylus, the user does not follow the setting rules of the application, but directly performs simple operations on the stylus to simplify the user operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a schematic structural diagram of a stylus pen according to an embodiment of the present application;

[0015] Figure 2 is a partial circuit diagram of a stylus according to an embodiment of the present application;

[0016] Figure 3 is a flow chart of a control method according to an embodiment of the present application;

[0017] Figure 4 is a block diagram of a control device according to an embodiment of the present application;

[0018] Figure 5 This is one of the hardware structure diagrams of the electronic device according to the embodiment of the present application.

[0019] Figure 6 This is the second schematic diagram of the hardware structure of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0022] The control method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0023] Figure 1 A schematic structural diagram of a stylus pen according to an embodiment of the present application is shown, wherein the stylus pen comprises a main body 1, and a pen tip structure 2 is provided at the front end of the main body 1;

[0024] The pen tip structure 2 is provided with a first type of hole groove 21, one end of the first type of hole groove 21 is communicated with the outside, and the other end of the first type of hole groove 21 is connected to the humidity detection device 3 in the main body 1;

[0025] The pen tip structure 2 is provided with a second type of hole groove 22, one end of the second type of hole groove 22 is communicated with the outside, and the other end of the second type of hole groove 22 is connected to the sound detection device 4 in the main body 1;

[0026] A processor, the processor is connected to the humidity detection device 3, and the processor is also connected to the sound detection device 4;

[0027] The processor is used to adjust the handwriting feature information according to the first adjustment direction when the airflow humidity value detected by the humidity detection device 3 is greater than the first preset value; and adjust the handwriting feature information according to the second adjustment direction when the sound signal strength value detected by the sound detection device 4 is greater than the second preset value;

[0028] The first adjustment direction is opposite to the second adjustment direction.

[0029] The working principle of the touch pen in this embodiment is:

[0030] On the one hand, during use, the user blows on the pen tip structure 2, and the airflow generated by the breath enters the first type of hole groove 21 from the outside. The humidity detection device 3 detects the humidity value of the airflow in the first type of hole groove 21. When the humidity value of the airflow is greater than the first preset value, the processor obtains the current first handwriting feature information and adjusts it to the second handwriting feature information according to the first adjustment direction.

[0031] When the user blows air at the pen tip structure 2, he opens his mouth wide, makes a "Ha" pronunciation gesture, and slowly exhales. The characteristics of blowing air are: slow air flow speed, high humidity of the exhaled gas, and low sound pressure level generated by the action.

[0032] On the other hand, during use, the user blows at the pen tip structure 2, and the airflow generated by the blowing enters the second type of hole groove 22 from the outside. The airflow generates a sound signal due to vibration in the second type of hole groove 22, and the sound detection device 4 detects the sound signal in the second type of hole groove 22. When the intensity value of the sound signal is greater than the second preset value, the processor obtains the current first handwriting feature information and adjusts it to the third handwriting feature information according to the second adjustment direction opposite to the first adjustment direction.

[0033] When the user blows air toward the pen tip structure 2, the user closes the lips, makes a "woo" pronunciation gesture, and exhales slightly. The characteristics of blowing are: fast air flow speed, low humidity of the exhaled gas, and a large pressure rise level generated by the action.

[0034] Based on the above-mentioned characteristics of breathing and blowing, when the user breathes into the pen tip structure 2, the sound pressure level generated by the action is small, avoiding interference with the second type of holes 22; when the user blows into the pen tip structure 2, the humidity of the exhaled gas is low, avoiding interference with the first type of holes 21.

[0035] The first adjustment direction is opposite to the second adjustment direction.

[0036] For example, when the handwriting feature information includes the line width feature of the handwriting, if the first adjustment direction is thickening adjustment, the second adjustment direction is thinning adjustment; when the handwriting feature information includes the color feature of the handwriting, if the first adjustment direction is deepening adjustment, the second adjustment direction is lightening adjustment; when the handwriting feature information includes the edge blur feature of the handwriting, if the first adjustment direction is blurrier adjustment, the second adjustment direction is clearer adjustment.

[0037] Optionally, the first preset value and the second preset value may be defined in advance, may be customized by a user, or may be customized by the system.

[0038] Furthermore, the transmission unit of the stylus pen transmits the adjusted handwriting feature information to an electronic device connected to the stylus pen.

[0039] The transmission unit includes wireless transmission units such as Bluetooth units, and also includes wired transmission units.

[0040] Optionally, the transmission unit is used to connect the stylus pen and the electronic device, and the connection method thereof can refer to the traditional connection method between a mouse, keyboard, etc. and the electronic device.

[0041] Furthermore, the electronic device performs handwriting adjustments according to the received adjusted handwriting feature information, such as setting handwriting line width, color depth, blur effect, etc.

[0042] Thus, in the embodiment of the present application, during use, the user blows air at the pen tip structure 2, and the airflow generated by the breath enters the first type of hole slot 21 from the outside, and the humidity detection device 3 detects the humidity value of the airflow in the first type of hole slot 21. When the humidity value of the airflow is greater than the first preset value, the processor obtains the current first handwriting feature information and adjusts it to the second handwriting feature information according to the first adjustment direction. Alternatively, the user blows air at the pen tip structure 2, and the airflow generated by the blowing enters the second type of hole slot 22 from the outside. The airflow generates a sound signal in the second type of hole slot 22 due to vibration. The sound detection device 4 detects the sound signal in the second type of hole slot 22. When the intensity value of the sound signal is greater than the second preset value, the processor obtains the current first handwriting feature information and adjusts it to the third handwriting feature information according to the second adjustment direction opposite to the first adjustment direction. It can be seen that based on the embodiment of the present application, when adjusting the handwriting of the stylus, the user does not follow the setting rules of the application, but directly performs simple operations on the stylus to simplify the user operation.

[0043] In addition, the embodiment of the present application proposes the operation mode of "breathing" and "blowing", which imitates a habitual action of the user when using a pen. For example, when the pen refill is less, the handwriting will be shallow, and people habitually blow on the pen tip. In this way, the operation mode is consistent with the user's habit, further simplifying the user operation.

[0044] See also Figure 1 In the structural schematic diagram of the stylus pen of another embodiment of the present application, the number of the first type of holes 21 is at least two, and at least two of the first type of holes 21 are connected.

[0045] See also Figure 1 The number of the first type hole slots 21 is multiple, and the multiple first type hole slots 21 are connected together, so that the multiple first type hole slots 21 are connected.

[0046] In this embodiment, more first-type holes 21 are provided to ensure that the airflow when the user exhales can fully enter the first-type holes 21, thereby ensuring the detection accuracy of the humidity detection device 3 and further ensuring the sensitivity of adjusting the handwriting.

[0047] See also Figure 1 In the structural schematic diagram of the stylus pen of another embodiment of the present application, the number of the second type of holes 22 is at least two, and at least two of the second type of holes 22 are connected.

[0048] See also Figure 1 The number of the second type hole slots 22 is multiple, and the multiple second type hole slots 22 are connected together, so that the multiple second type hole slots 22 are connected.

[0049] In this embodiment, more second-type holes 22 are provided to ensure that the airflow when the user blows can fully enter the second-type holes 22, thereby generating a sound signal of sufficient intensity, thereby ensuring the detection accuracy of the sound detection device 4, and ensuring the sensitivity of adjusting the handwriting.

[0050] See also Figure 1 In the structural schematic diagram of a touch pen according to another embodiment of the present application, the first type of holes 21 and the second type of holes 22 are spaced apart and distributed around the pen tip structure 2 .

[0051] See also Figure 1 The first type of holes 21 and the second type of holes 22 are evenly distributed around the pen tip structure 2. In this way, when the user exhales or blows air, the airflow can flow evenly along the holes to the corresponding detection device from all directions, ensuring the detection accuracy of the detection device, thereby ensuring the sensitivity of adjusting the handwriting.

[0052] Figure 2 A partial circuit diagram of a stylus pen according to another embodiment of the present application is shown, wherein the humidity detection device 3 comprises:

[0053] Humidity sensor 31;

[0054] A first amplifier 32 connected to the humidity sensor 31;

[0055] A first analog-to-digital converter 33 is connected to the first amplifier 32 , and the first analog-to-digital converter 33 is connected to the processor 5 .

[0056] In this embodiment, the humidity sensor 31 is used to sense the humidity of the air when exhaling; the first amplifier 32 is an operational amplifier, used to amplify the data collected by the humidity sensor 31; the first analog-to-digital converter 33 is used to perform analog-to-digital conversion on the amplified data; the processor 5 is used to receive and process the analog-to-digital converted data.

[0057] During the processing, the processor 5 compares the humidity value corresponding to the received data with the first preset value, and if the humidity value is greater than the first preset value, it is adjusted to the second handwriting feature information.

[0058] In this embodiment, a humidity detection device 3 is provided to detect the humidity value of the air flow, thereby realizing a method of adjusting the handwriting feature information according to the humidity value.

[0059] See also Figure 2 In a partial circuit diagram of a stylus pen according to another embodiment of the present application, the sound detection device 4 comprises:

[0060] Pickup 41;

[0061] A second amplifier 42 connected to the pickup 41;

[0062] The second analog-to-digital converter 43 is connected to the second amplifier 42 , and the second analog-to-digital converter 43 is connected to the processor 5 .

[0063] Optionally, the sound pickup 41 includes a microphone.

[0064] In this embodiment, the microphone 41 is used to sense the sound intensity during blowing; the second amplifier 42 is an operational amplifier, used to amplify the data collected by the microphone 41; the second analog-to-digital converter 43 is used to perform analog-to-digital conversion on the amplified data; and the processor 5 is used to receive and process the analog-to-digital converted data.

[0065] During the processing, the processor 5 compares the sound intensity value corresponding to the received data with the second preset value, and if the sound intensity value is greater than the second preset value, it is adjusted to the third handwriting feature information.

[0066] In this embodiment, a sound detection device 4 is provided to detect the sound intensity value, thereby realizing a method of adjusting handwriting feature information according to the sound intensity value.

[0067] See also Figure 1 In the structural diagram of the stylus pen of another embodiment of the present application, Figure 2 In the partial circuit diagram of the stylus of this embodiment, the stylus also includes:

[0068] A capacitive sensor 61 disposed on the inner wall of the main body 1;

[0069] a third amplifier 62 connected to the capacitive sensor 61;

[0070] The third analog-to-digital converter 63 is connected to the third amplifier 62 , and the third analog-to-digital converter 63 is connected to the processor 5 .

[0071] In this embodiment, the capacitive sensor 61 is used to sense the user's pen-holding action; the third amplifier 62 is an operational amplifier, used to amplify the data collected by the capacitive sensor 61; the third analog-to-digital converter 63 is used to perform analog-to-digital conversion on the amplified data; and the processor 5 is used to receive and process the analog-to-digital converted data.

[0072] Among them, the capacitive sensor 61 is arranged on the inner wall of the main body 1 to more accurately sense the user's pen holding posture.

[0073] During the processing, the processor 5 compares the numerical value corresponding to the received data with the third preset value. If the numerical value is greater than the third preset value, it indicates that the user is in the pen holding posture.

[0074] When the user is in the pen holding posture, the user usage data received by the stylus is transmitted to the electronic device connected to the stylus, so that the electronic device can generate handwriting corresponding to the data on the screen according to the received data.

[0075] For example, a pressure sensor is provided in the stylus. During use, the user controls the pressure of the stylus tip on the screen. The greater the pressure, the thicker the handwriting on the screen. On the contrary, the smaller the pressure, the thinner the handwriting on the screen. Furthermore, when the user is in the pen holding posture, the reading of the pressure sensor is transmitted to the electronic device, so that the electronic device sets the corresponding handwriting line width according to the received reading.

[0076] Furthermore, in order to prevent misoperation, a fourth preset value is set in advance, and handwriting will be generated on the screen only when the reading of the pressure sensor is greater than the fourth preset value.

[0077] It can be seen that in addition to adjusting the line width of the handwriting by breathing or blowing, the embodiment of the present application can also adjust the line width of the handwriting by controlling the pressure of the pen tip pressing the screen.

[0078] In this embodiment, a device is provided for detecting whether the user is in a pen-holding posture. Only when it is detected that the user is in a pen-holding posture will the user's usage data be analyzed and processed, which not only avoids the generation of handwriting on the screen due to user misoperation, but also reduces the power consumption of the stylus.

[0079] In an embodiment of the present application, the first preset value, the second preset value, the third preset value, and the fourth preset value can be customized, and the numerical values ​​of the first preset value, the second preset value, the third preset value, and the fourth preset value are related to the sensitivity of the stylus and can be determined according to actual conditions.

[0080] Figure 3 A flow chart showing a control method according to another embodiment of the present application is shown. The control method is applied to the stylus of any of the above embodiments. The method includes:

[0081] Step S1: receiving a first operation of the user on the pen tip structure 2.

[0082] The first operation is used to blow air on the pen tip structure 2 , and the first operation generates airflow in the first type of holes 21 .

[0083] Step S2: In response to the first operation, the humidity detection device 3 detects the humidity value of the airflow generated in the first type of slots 21 by the first operation.

[0084] Step S3: when the humidity value is greater than a first preset value, obtaining first handwriting feature information of the stylus pen.

[0085] Step S4: adjusting the first handwriting feature information to the second handwriting feature information according to the first adjustment direction.

[0086] Step S5: receiving a second operation of the user on the pen tip structure 2.

[0087] The second operation is used to blow air to the pen tip structure 2 , and the second operation generates a sound signal in the second type of hole groove 22 .

[0088] Step S6 : In response to the second operation, the sound detection device 4 detects the intensity value of the sound signal generated in the second type of aperture 22 by the second operation.

[0089] Step S7: when the strength value is greater than the second preset value, obtaining first handwriting feature information of the stylus.

[0090] Step S8: adjusting the first handwriting feature information to the third handwriting feature information according to the second adjustment direction.

[0091] Wherein, the first adjustment direction is opposite to the second adjustment direction.

[0092] Optionally, the first handwriting feature information is handwriting feature information before receiving the first operation or the second operation.

[0093] Thus, in the embodiment of the present application, during use, the user blows air at the pen tip structure 2, and the airflow generated by the breath enters the first type of hole slot 21 from the outside, and the humidity detection device 3 detects the humidity value of the airflow in the first type of hole slot 21. When the humidity value of the airflow is greater than the first preset value, the processor obtains the current first handwriting feature information and adjusts it to the second handwriting feature information according to the first adjustment direction. Alternatively, the user blows air at the pen tip structure 2, and the airflow generated by the blowing enters the second type of hole slot 22 from the outside. The airflow generates a sound signal in the second type of hole slot 22 due to vibration. The sound detection device 4 detects the sound signal in the second type of hole slot 22. When the intensity value of the sound signal is greater than the second preset value, the processor obtains the current first handwriting feature information and adjusts it to the third handwriting feature information according to the second adjustment direction opposite to the first adjustment direction. It can be seen that based on the embodiment of the present application, when adjusting the handwriting of the stylus, the user does not follow the setting rules of the application, but directly performs simple operations on the stylus to simplify the user operation.

[0094] In the process of the control method of another embodiment of the present application, step S4 includes:

[0095] Sub-step A1: Obtain a first adjustment coefficient according to a first duration during which the humidity value is greater than a first preset value.

[0096] Among them, the first duration is directly proportional to the first adjustment coefficient.

[0097] In this step, all humidity values ​​during the entire duration of the first operation and the first duration during which the humidity value is greater than the first preset value are integrated to obtain the first adjustment coefficient K1.

[0098] Optionally, if the first duration is 1 time unit length, the first adjustment coefficient is 1%; if the first duration is 2 time units length, the first adjustment coefficient is 2%; and so on.

[0099] The time unit length may be 1 second, and the adjustment percentage corresponding to the time unit length is 1%. In addition, the time unit length and the adjustment percentage corresponding to the time unit length may also be more values, which are not limited in this embodiment.

[0100] It should be noted that, in one case, the duration of the first operation is the same as the first duration of the humidity value being greater than the first preset value, that is, based on the user's first operation, the detected humidity value is continuously greater than the first preset value.

[0101] In another case, if the first operation lasts for a period of time during which the detected humidity value is intermittently greater than the first preset value, the corresponding first adjustment coefficient can be obtained according to the first period of time during which the humidity value is greater than the first preset value.

[0102] For example, the first operation lasts for 5 time units, and the humidity value is greater than the first preset value only during 3 time units, that is, the first time is 3 time units, and the first adjustment coefficient is 3%; and so on.

[0103] Sub-step A2: adjusting to the second handwriting feature information according to the first handwriting feature information and the first adjustment coefficient in the first adjustment direction.

[0104] For reference, if the first adjustment direction indicates an increase, such as an increase in line width, a darker color, or an increase in blur, the first handwriting feature information is multiplied by (1+K1) to obtain the corresponding second handwriting feature information.

[0105] For example, based on the pressure sensor provided in the above embodiment, when the handwriting feature information includes the handwriting line width feature, the current reading of the pressure sensor can be used as the first handwriting feature information, and further, the current reading of the pressure sensor is multiplied by (1+K1) to obtain the adjusted reading of the pressure sensor. The adjusted reading is transmitted to the electronic device, so that the handwriting line width under the reading can be generated on the screen.

[0106] For another example, based on the pressure sensor provided in the aforementioned embodiment, when the handwriting feature information includes the handwriting line width feature, the reading of the pressure sensor at any time can be used as the first handwriting feature information. After this time, if the first operation is received for the first time, the first handwriting feature information is multiplied by (1+K1) to obtain the second handwriting feature information; if the second first operation is received, the first handwriting feature information is multiplied by the square of (1+K1) to obtain the second handwriting feature information; and so on. The default value of K1 is equal.

[0107] In this embodiment, a method for adjusting handwriting features based on a user's exhalation operation is provided. In this method, the user can control the exhalation time to control the adjustment degree as needed. The longer the user's exhalation time is, the greater the adjustment degree is. Conversely, the shorter the user's exhalation time is, the smaller the adjustment degree is. It can be seen that the user can quickly obtain the desired adjustment effect based on a simple exhalation operation, simplifying the user operation.

[0108] In the process of the control method of another embodiment of the present application, step S8 includes:

[0109] Sub-step B1: obtaining a second adjustment coefficient according to a second duration during which the intensity value is greater than a second preset value.

[0110] The second duration is directly proportional to the second adjustment coefficient.

[0111] In this step, all the sound intensity values ​​during the entire duration of the second operation and the second duration during which the sound intensity value is greater than the second preset value are integrated to obtain the second adjustment coefficient K2.

[0112] Optionally, if the second duration is 1 time unit length, the second adjustment coefficient is 1%; if the second duration is 2 time units length, the second adjustment coefficient is 2%; and so on.

[0113] In addition, the time unit length and the adjustment percentage corresponding to one time unit length may also have more values, which are not limited in this embodiment.

[0114] It should be noted that, in one case, the duration of the second operation is the same as the second duration of the sound intensity value being greater than the second preset value, that is, based on the user's second operation, the detected sound intensity value is continuously greater than the second preset value.

[0115] In another case, if the second operation lasts for a period of time during which the detected sound intensity value is intermittently greater than a second preset value, the corresponding second adjustment coefficient can be obtained according to the second period of time during which the sound intensity value is greater than the second preset value.

[0116] For example, the second operation lasts for 5 time units, and only the sound intensity value within 3 time units is greater than the second preset value, that is, the second duration is 3 time units, then the second adjustment coefficient is 3%; and so on.

[0117] Sub-step B2: According to the first handwriting feature information and the second adjustment coefficient, adjust to the third handwriting feature information according to the second adjustment direction.

[0118] For reference, if the second adjustment direction indicates a decrease, such as a decrease in line width, a lighter color, or a decrease in blur, the first handwriting feature information is multiplied by (1-K2) to obtain corresponding third handwriting feature information.

[0119] For example, based on the pressure sensor provided in the above embodiment, when the handwriting feature information includes the handwriting line width feature, the current reading of the pressure sensor can be used as the first handwriting feature information, and further, the current reading of the pressure sensor is multiplied by (1-K2) to obtain the adjusted reading of the pressure sensor. The adjusted reading is transmitted to the electronic device, so that the handwriting line width under the reading can be generated on the screen.

[0120] For another example, based on the pressure sensor provided in the aforementioned embodiment, when the handwriting feature information includes the handwriting line width feature, the reading of the pressure sensor at any time can be used as the first handwriting feature information. After this time, if the first second operation is received, the first handwriting feature information is multiplied by (1-K2) to obtain the third handwriting feature information; if the second second operation is received, the first handwriting feature information is multiplied by the square of (1-K2) to obtain the third handwriting feature information; and so on. The default value of K2 is equal.

[0121] In this embodiment, a method for adjusting handwriting features based on a user's blowing operation is provided. In this method, the user can control the blowing time to control the adjustment degree as needed. The longer the user blows, the greater the adjustment degree, and vice versa, the shorter the user blows, the smaller the adjustment degree. It can be seen that the user can quickly obtain the desired adjustment effect based on a simple blowing operation, simplifying the user operation.

[0122] In a control method of another embodiment of the present application, the handwriting feature information includes at least any one of the handwriting line width, color, and edge blur degree.

[0123] In this embodiment, quick adjustment can be performed for a certain type of characteristic information.

[0124] Among them, more ways can be used to distinguish the adjustments to different feature information.

[0125] For example, you can first select any option among the line width, color, and edge blur level of the handwriting on the screen, and then breathe or blow air to adjust the selected option.

[0126] In more embodiments, the handwriting feature information may also include other feature information related to the handwriting.

[0127] It should be noted that the control method provided in the embodiment of the present application can be executed by a control device or a control module in the control device for executing the control method. In the embodiment of the present application, the control device executing the control method is taken as an example to illustrate the control device of the control method provided in the embodiment of the present application.

[0128] Figure 4 A block diagram of a control device according to another embodiment of the present application is shown, comprising:

[0129] The first operation receiving module 10 is used to receive a first operation of the pen tip structure by the user; the first operation generates airflow in the first type of hole groove;

[0130] A first operation response module 20, configured to detect, in response to a first operation, a humidity detection device to detect a humidity value of an airflow generated in the first type of slots by the first operation;

[0131] A first acquisition module 30, configured to acquire first handwriting feature information of the stylus pen when the humidity value is greater than a first preset value;

[0132] A first adjustment module 40, configured to adjust the first handwriting feature information to the second handwriting feature information according to a first adjustment direction;

[0133] The second operation receiving module 50 is used to receive a second operation of the user on the pen tip structure; the second operation causes a sound signal to be generated in the second type of hole groove;

[0134] A second operation response module 60, configured to detect, in response to a second operation, the intensity value of a sound signal generated by the second operation in the second type of slot by a sound detection device;

[0135] A second acquisition module 70, configured to acquire first handwriting feature information of the stylus when the strength value is greater than a second preset value;

[0136] The second adjustment module 80 is used to adjust the first handwriting feature information to the third handwriting feature information according to the second adjustment direction;

[0137] The first adjustment direction is opposite to the second adjustment direction.

[0138] Thus, in the embodiment of the present application, during use, the user blows air at the pen tip structure 2, and the airflow generated by the breath enters the first type of hole slot 21 from the outside, and the humidity detection device 3 detects the humidity value of the airflow in the first type of hole slot 21. When the humidity value of the airflow is greater than the first preset value, the processor obtains the current first handwriting feature information and adjusts it to the second handwriting feature information according to the first adjustment direction. Alternatively, the user blows air at the pen tip structure 2, and the airflow generated by the blowing enters the second type of hole slot 22 from the outside. The airflow generates a sound signal in the second type of hole slot 22 due to vibration. The sound detection device 4 detects the sound signal in the second type of hole slot 22. When the intensity value of the sound signal is greater than the second preset value, the processor obtains the current first handwriting feature information and adjusts it to the third handwriting feature information according to the second adjustment direction opposite to the first adjustment direction. It can be seen that based on the embodiment of the present application, when adjusting the handwriting of the stylus, the user does not follow the setting rules of the application, but directly performs simple operations on the stylus to simplify the user operation.

[0139] Optionally, the first adjustment module 40 includes:

[0140] A first coefficient acquisition unit, used to acquire a first adjustment coefficient according to a first duration during which the humidity value is greater than a first preset value; the first duration is proportional to the first adjustment coefficient;

[0141] The first handwriting adjustment unit is used for adjusting the first handwriting feature information and the first adjustment coefficient to the second handwriting feature information according to the first adjustment direction.

[0142] Optionally, the second adjustment module 80 includes:

[0143] A second coefficient acquisition unit, used to acquire a second adjustment coefficient according to a second duration during which the intensity value is greater than a second preset value; the second duration is proportional to the second adjustment coefficient;

[0144] The second handwriting adjustment unit is used for adjusting the first handwriting feature information and the second adjustment coefficient to the third handwriting feature information according to the second adjustment direction.

[0145] Optionally, the handwriting feature information includes at least any one of the line width, color, and edge blur degree of the handwriting.

[0146] The control device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0147] The control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0148] The control device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0149] Alternatively, if Figure 5As shown, an embodiment of the present application also provides an electronic device 100, including a processor 101, a memory 102, and a program or instruction stored in the memory 102 and executable on the processor 101. When the program or instruction is executed by the processor 101, each process of the above-mentioned control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0150] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0151] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0152] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.

[0153] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0154] Among them, the user input unit 1007 is used to receive a first operation of the user on the pen tip structure of the electronic device 1000; the first operation generates airflow in the first type of hole groove; the sensor 1005 is used to respond to the first operation, and the humidity detection device of the electronic device 1000 detects the humidity value of the airflow generated by the first operation in the first type of hole groove of the electronic device 1000; the processor 1010 is used to obtain the first handwriting feature information of the electronic device 1000 when the humidity value is greater than the first preset value; according to the first handwriting feature information, according to the first adjustment direction, adjust to the second handwriting feature information; or the user input unit 1007 , and is also used to receive the second operation of the user on the pen tip structure; the second operation causes a sound signal to be generated in the second type of hole groove; the sensor 1005 is also used to respond to the second operation, and the sound detection device of the electronic device 1000 detects the intensity value of the sound signal generated by the second operation in the second type of hole groove of the electronic device 1000; the processor 1010 is also used to obtain the first handwriting feature information of the electronic device 1000 when the intensity value is greater than a second preset value; according to the first handwriting feature information, according to the second adjustment direction, adjust to the third handwriting feature information; wherein the first adjustment direction is opposite to the second adjustment direction.

[0155] Thus, in the embodiment of the present application, during use, the user blows air at the pen tip structure, and the airflow generated by the breath enters the first type of hole slot from the outside, and the humidity detection device detects the humidity value of the airflow in the first type of hole slot. When the humidity value of the airflow is greater than the first preset value, the processor obtains the current first handwriting feature information and adjusts it to the second handwriting feature information according to the first adjustment direction. Alternatively, the user blows air at the pen tip structure, and the airflow generated by the blowing enters the second type of hole slot from the outside, and the airflow generates a sound signal in the second type of hole slot due to vibration. The sound detection device detects the sound signal in the second type of hole slot. When the intensity value of the sound signal is greater than the second preset value, the processor obtains the current first handwriting feature information and adjusts it to the third handwriting feature information according to the second adjustment direction opposite to the first adjustment direction. It can be seen that based on the embodiment of the present application, when adjusting the handwriting of the stylus, the user does not follow the setting rules of the application, but directly performs simple operations on the stylus to simplify the user operation.

[0156] Optionally, the processor 1010 is further used to obtain a first adjustment coefficient based on a first duration during which the humidity value is greater than the first preset value; the first duration is proportional to the first adjustment coefficient; and according to the first handwriting feature information and the first adjustment coefficient, the first adjustment direction is adjusted to the second handwriting feature information.

[0157] Optionally, the processor 1010 is further used to obtain a second adjustment coefficient based on a second duration during which the intensity value is greater than the second preset value; the second duration is proportional to the second adjustment coefficient; and according to the first handwriting feature information and the second adjustment coefficient, the third handwriting feature information is adjusted according to the second adjustment direction.

[0158] Optionally, the handwriting feature information includes at least any one of the handwriting line width, color, and edge blur degree.

[0159] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.

[0160] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0161] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0162] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0163] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0164] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0165] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0166] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A touch pen, characterized in that: The stylus pen comprises: A main body, wherein the front end of the main body has a pen tip structure; The pen tip structure is provided with a first type of hole groove, one end of the first type of hole groove is communicated with the outside, and the other end of the first type of hole groove is connected to the humidity detection device in the main body; The pen tip structure is provided with a second type of hole groove, one end of the second type of hole groove is communicated with the outside, and the other end of the second type of hole groove is connected to the sound detection device in the main body; a processor, the processor being connected to the humidity detection device, and the processor being further connected to the sound detection device; The processor is used to adjust the handwriting feature information according to a first adjustment direction when the airflow humidity value detected by the humidity detection device is greater than a first preset value; and to adjust the handwriting feature information according to a second adjustment direction when the sound signal strength value detected by the sound detection device is greater than a second preset value; Wherein, the first adjustment direction is opposite to the second adjustment direction; The first type of holes and the second type of holes are distributed around the pen tip structure at intervals.

2. The touch pen according to claim 1, characterized in that: The number of the first type of holes and slots is at least two, and the at least two first type of holes and slots are connected to each other.

3. The touch pen according to claim 1, characterized in that: The number of the second type of holes and slots is at least two, and the at least two second type of holes and slots are connected to each other.

4. The touch pen according to claim 1, characterized in that: The humidity detection device comprises: Humidity sensor; a first amplifier connected to the humidity sensor; A first analog-to-digital converter is connected to the amplifier, and the first analog-to-digital converter is connected to the processor.

5. The touch pen according to claim 1, characterized in that: The sound detection device comprises: pickup; a second amplifier connected to the pickup; A second analog-to-digital converter is connected to the second amplifier, and the second analog-to-digital converter is connected to the processor.

6. The touch pen according to claim 1, characterized in that: The stylus pen further comprises: A capacitive sensor disposed on the inner wall of the main body; a third amplifier connected to the capacitive sensor; A third analog-to-digital converter is connected to the third amplifier, and the third analog-to-digital converter is connected to the processor.

7. A control method, characterized in that: Applied to the stylus pen according to any one of claims 1 to 6, the method comprising: Receiving a first operation of the pen tip structure by a user; the first operation causing airflow to be generated in the first type of hole grooves; In response to the first operation, the humidity detection device detects a humidity value of the airflow generated in the first type of slots by the first operation; When the humidity value is greater than a first preset value, obtaining first handwriting feature information of the stylus; According to the first handwriting feature information, adjusting to the second handwriting feature information according to the first adjustment direction; receiving a second operation of the user on the pen tip structure; the second operation causing a sound signal to be generated in the second type of hole groove; In response to the second operation, the sound detection device detects the intensity value of the sound signal generated by the second operation in the second type of slot; When the strength value is greater than a second preset value, acquiring the first handwriting feature information of the stylus; According to the first handwriting feature information, adjusting to the third handwriting feature information according to the second adjustment direction; Wherein, the first adjustment direction is opposite to the second adjustment direction; The first type of holes and the second type of holes are distributed around the pen tip structure at intervals.

8. The method according to claim 7, characterized in that The adjusting the first handwriting feature information to the second handwriting feature information according to the first adjustment direction includes: According to a first duration during which the humidity value is greater than the first preset value, a first adjustment coefficient is obtained; the first duration is proportional to the first adjustment coefficient; According to the first handwriting feature information and the first adjustment coefficient, the second handwriting feature information is adjusted according to the first adjustment direction.

9. The method according to claim 7, characterized in that: The adjusting the first handwriting feature information to the third handwriting feature information according to the second adjustment direction includes: According to a second duration during which the intensity value is greater than the second preset value, a second adjustment coefficient is obtained; the second duration is in direct proportion to the second adjustment coefficient; According to the first handwriting feature information and the second adjustment coefficient, the third handwriting feature information is adjusted according to the second adjustment direction.

10. A control device, characterized in that: For implementing the control method according to any one of claims 8 to 9, the device comprises: A first operation receiving module, used for receiving a first operation of the pen tip structure by a user; the first operation causes airflow to be generated in the first type of hole groove; A first operation response module, configured to, in response to the first operation, cause the humidity detection device to detect a humidity value of an airflow generated in the first type of slots by the first operation; A first acquisition module, configured to acquire first handwriting feature information of the stylus pen when the humidity value is greater than a first preset value; A first adjustment module, configured to adjust the first handwriting feature information to second handwriting feature information according to a first adjustment direction; A second operation receiving module, used for receiving a second operation of the user on the pen tip structure; the second operation causes a sound signal to be generated in the second type of hole groove; A second operation response module, configured to respond to the second operation by causing the sound detection device to detect the intensity value of the sound signal generated by the second operation in the second type of slot; A second acquisition module, configured to acquire the first handwriting feature information of the touch pen when the strength value is greater than a second preset value; A second adjustment module, configured to adjust the first handwriting feature information to third handwriting feature information according to a second adjustment direction; Wherein, the first adjustment direction is opposite to the second adjustment direction; The first type of holes and the second type of holes are distributed around the pen tip structure at intervals.

11. The device according to claim 10, characterized in that The first adjustment module includes: A first coefficient acquisition unit, configured to acquire a first adjustment coefficient according to a first duration during which the humidity value is greater than the first preset value; the first duration is proportional to the first adjustment coefficient; The first handwriting adjustment unit is used for adjusting the first handwriting feature information and the first adjustment coefficient to the second handwriting feature information according to the first adjustment direction.

12. The device according to claim 10, characterized in that The second adjustment module includes: A second coefficient acquisition unit, configured to acquire a second adjustment coefficient according to a second duration during which the intensity value is greater than the second preset value; the second duration is proportional to the second adjustment coefficient; The second handwriting adjustment unit is used for adjusting the first handwriting feature information and the second adjustment coefficient to the third handwriting feature information according to the second adjustment direction.

Citation Information

Patent Citations

  • Electronic intelligent pen

    CN101887315A

  • Input method of wearable finer-sensing wireless communication, and input device using input method

    CN103246349A

  • Touch stylus capable of detecting pressure on a tip and related optical-mechanical system

    CN103365439A

  • Blow triggering method and device

    CN105975074A

  • Multi-perception portable intelligent pen

    CN204117159U