Method for configuring pressure information, pressure writing method, and electronic device

By customizing the pressure sensitivity information of the active pressure-sensitive pen, the problem of poor writing effect caused by different writing pressures of users is solved, realizing personalized adaptation of the pressure-sensitive pen and improving the writing effect.

CN117950510BActive Publication Date: 2026-04-07GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-27
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

The pressure sensitivity information of existing active pressure-sensitive pens cannot be customized according to the writing pressure of different users, resulting in poor writing performance.

Method used

By acquiring the target order of writing pressure and configuring key point information, the correspondence between the writing pressure order and the percentage of handwriting thickness is determined, and the target correspondence between the acquired electrical signal and the output electrical signal is generated based on the mapping relationship, thereby realizing the custom configuration of pressure sensitivity information.

Benefits of technology

This allows the active pressure-sensitive pen to adapt to the writing needs of different users and improve writing performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117950510B_ABST
    Figure CN117950510B_ABST
Patent Text Reader

Abstract

This invention relates to the field of pressure-sensitive device technology, specifically to a method for configuring pressure-sensitive information, a pressure-sensitive writing method, and an electronic device. The method includes, when configuring the pressure-sensitive information of a target active pressure-sensitive pen, acquiring a target level of writing pressure and configuration key point information, whereby the configuration key point information represents the correspondence between a preset writing pressure level and a percentage of stroke thickness; determining a first correspondence between each writing pressure level and a percentage of stroke thickness based on the configuration key point information; acquiring a mapping relationship between the acquired electrical signal and the writing pressure of the target active pressure-sensitive pen and a second range of the output electrical signal; and mapping the mapping relationship and the second range to the first correspondence based on the target level to determine the target correspondence between the acquired electrical signal and the output electrical signal, thereby determining the target pressure-sensitive information. This method enables customization of the target pressure-sensitive information in the target active pressure-sensitive pen, meeting the needs of different users and improving writing performance.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of pressure sensing devices, in particular to a configuration method of pressure sensing information, a pressure sensing writing method and an electronic device. BACKGROUND

[0002] The pressure sensing information is used to represent the correspondence between the collected electrical signal of the pressure sensing pen and the output electrical signal, wherein the size of the collected electrical signal is related to the writing pressure of the pressure sensing pen, and the output electrical signal is used to determine the thickness of the writing line. The writing principle of the active pressure sensing pen is that the active pressure sensing pen collects the electrical signal of the writing pressure, determines the size of the output electrical signal by querying the pressure sensing information, and outputs the determined electrical signal to the pressure sensing response device. The pressure sensing response device displays the writing line with corresponding thickness on the interface based on the received electrical signal.

[0003] Since the writing force of each user is different, the most suitable pressure sensing information for each user is different. In the existing active pressure sensing pen, a pressure sensing information, for example, a pressure sensing curve, is generally built-in. If the pressure sensing curve needs to be modified, it needs to be returned to the factory to re-solidify the pressure sensing curve data in the pressure sensing pen. When different users use the active pressure sensing pen with the same pressure sensing information, the writing pressure needs to be adjusted to adapt to the pressure sensing curve, which leads to poor writing effect. SUMMARY

[0004] Therefore, the embodiments of the present application provide a configuration method of pressure sensing information, a pressure sensing writing method and an electronic device to solve the problem of poor writing effect.

[0005] According to a first aspect, the embodiments of the present application provide a configuration method of pressure sensing information, comprising:

[0006] When configuring the pressure sensing information of the target active pressure sensing pen, the target order of writing pressure and the configuration key point information are obtained, and the configuration key point information is used to represent the correspondence between the preset writing pressure order and the handwriting thickness percentage;

[0007] Based on the configuration key point information, a first correspondence relationship between each writing pressure order and the handwriting thickness percentage is determined;

[0008] The mapping relationship between the collected electrical signal and the writing pressure of the target active pressure sensing pen and the second range of the output electrical signal are obtained;

[0009] Based on the target order, the mapping relationship and the second range are mapped into the first correspondence relationship to determine the target correspondence relationship between the collected electrical signal and the output electrical signal, so as to determine the target pressure sensing information.

[0010] The method for configuring pressure information provided by the embodiment of the present application can configure the pressure information of the target active pressure-sensitive pen by obtaining the target order of writing pressure and the key point information to configure the pressure configuration information, and can generate the first corresponding relationship between each writing pressure order and the handwriting thickness percentage based on the key point information, and can map the second range of the output electric signal based on the target order to obtain the target corresponding relationship between the collected electric signal and the output electric signal. In this way, the target pressure information of the target active pressure-sensitive pen is customized, so that the target active pressure-sensitive pen can meet the needs of different users, and the customized target pressure information can be used for pressure writing to improve the writing effect.

[0011] In some embodiments, the obtaining of the target order and the configuration of the key point information comprises:

[0012] In response to the configuration operation of the writing pressure order and the key point information, the target order and the configured key point information are determined.

[0013] The method for configuring pressure information provided by the embodiment of the present application can configure the target order and the key point information through the interaction with the target active pressure-sensitive pen, so that the determined target order and the configured key point information are set according to the needs of the user.

[0014] In some embodiments, the target active pressure-sensitive pen displays a configuration interface, and the configuration interface is used to display the selectable range of the writing pressure order. In response to the configuration operation of the writing pressure order, the target order is determined, which comprises:

[0015] In response to the selection operation of the selectable range, the target order is determined.

[0016] The method for configuring pressure information provided by the embodiment of the present application can display the selectable range of the writing pressure order on the configuration interface, and the user selects the range, so that the determined target order can be normally processed by the target active pressure-sensitive pen.

[0017] In some embodiments, in response to the configuration operation of the key point information on the configuration interface, the configured key point information is determined, which comprises:

[0018] In response to the input operation of the key point information on the configuration interface, the configured key point information is determined.

[0019] Or,

[0020] In response to a selection operation on a key point in preset pressure sensing configuration information in the target active pressure-sensitive stylus, the configuration key point information is determined, and the preset pressure sensing configuration information is displayed on the configuration interface.

[0021] The configuration method of pressure sensing information provided by the embodiments of the present application can determine the configuration key point information by user input or selection in the preset pressure sensing configuration information, and both of the two methods can realize the determination of the configuration key point information, thereby facilitating user operation.

[0022] In some embodiments, the configuration interface further displays a determination method of the first corresponding relationship, and the determination of the first corresponding relationship between each writing pressure order and the handwriting thickness percentage based on the configuration key point information comprises:

[0023] In response to a selection operation on the determination method of the first corresponding relationship, a target determination method is determined.

[0024] The first corresponding relationship is determined based on the configuration key point information and the target determination method.

[0025] The configuration method of pressure sensing information provided by the embodiments of the present application further displays a fitting method and / or an interpolation method on the configuration interface to provide the user with a selection according to actual needs, so that the obtained first corresponding relationship meets the user's needs.

[0026] In some embodiments, the mapping relationship and the second range are mapped into the first corresponding relationship based on the target order to determine a target corresponding relationship between the collected electrical signal and the output electrical signal, so as to determine target pressure sensing information, comprising:

[0027] A second corresponding relationship between the collected electrical signal and the writing pressure order is determined based on the mapping relationship and the first corresponding relationship.

[0028] A third corresponding relationship between the writing pressure order and the output electrical signal order is determined based on the product of the target order and the handwriting thickness percentage in the first corresponding relationship.

[0029] The second range is divided by the target order to obtain a fourth corresponding relationship between the output electrical signal order and the output electrical signal.

[0030] The target corresponding relationship is determined based on the second corresponding relationship, the third corresponding relationship and the fourth corresponding relationship.

[0031] The configuration method of pressure information provided by the embodiment of the present application takes the target order as the basis for division, ensures the unity of the mapping basis, and improves the reliability of the obtained target corresponding relationship.

[0032] In some embodiments, the determining, based on the mapping relationship and the first corresponding relationship, of a second corresponding relationship between the collected electrical signal and the writing pressure order comprises:

[0033] obtaining a first range of the collected electrical signal;

[0034] dividing the first range by using the target order to obtain a fifth corresponding relationship between the collected electrical signal and the collected electrical signal order;

[0035] determining, based on the mapping relationship, a sixth corresponding relationship between the collected electrical signal order and the writing pressure order;

[0036] determining the second corresponding relationship based on the fifth corresponding relationship and the sixth corresponding relationship.

[0037] According to a second aspect, the embodiment of the present application further provides a pressure-sensitive writing method, comprising:

[0038] in response to a selection operation on pressure information, determining target pressure information for current writing, the pressure information comprising preset pressure information and the target pressure information configured according to the pressure information configuration method of the first aspect of the present application or any one of the embodiments of the first aspect;

[0039] querying the target pressure information based on the collected electrical signal to determine a current output electrical signal;

[0040] outputting the current output electrical signal to a pressure-sensitive response device, so that the pressure-sensitive response device performs writing response based on the current output electrical signal.

[0041] The pressure-sensitive writing method provided by the embodiment of the present application, since the target pressure information is configured according to user demand, makes the target active pressure-sensitive pen adapt to human writing, rather than human adapting to the target active pressure-sensitive pen, and improves the writing effect.

[0042] According to a third aspect, the embodiment of the present application further provides a pressure information configuration device, comprising:

[0043] a first obtaining module configured to obtain a target order of writing pressure and configuration key point information when pressure information of a target active pressure-sensitive pen is configured, the configuration key point information being used to represent a corresponding relationship between the preset writing pressure order and a handwriting thickness percentage;

[0044] The first determining module is configured to determine a first corresponding relationship between each writing pressure order and the handwriting thickness percentage based on the configuration key point information.

[0045] The second acquiring module is configured to acquire a mapping relationship between a collection electric signal and a writing pressure of a target active stylus and a second range of an output electric signal.

[0046] The second determining module is configured to map the mapping relationship and the second range into the first corresponding relationship based on the target order, to determine a target corresponding relationship between the collection electric signal and the output electric signal, and to determine target pressure sensing information.

[0047] According to a fourth aspect, an embodiment of the present application further provides a pressure sensing writing device, comprising:

[0048] The response module is configured to determine target pressure sensing information used for current writing in response to a selection operation on pressure sensing information, wherein the pressure sensing information comprises preset pressure sensing information and the target pressure sensing information configured according to the pressure sensing information configuration method in the first aspect of the present application or any one of the embodiments of the first aspect.

[0049] The third determining module is configured to query the target pressure sensing information based on the collected electric signal, and to determine a current output electric signal.

[0050] The output module is configured to output the current output electric signal to a pressure sensing response device, so that the pressure sensing response device performs writing response based on the current output electric signal.

[0051] According to a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, which are communicatively connected with each other, and the memory stores computer instructions, and the processor executes the computer instructions to perform the pressure sensing information configuration method in the first aspect or any one of the embodiments of the first aspect, or performs the pressure sensing writing method in the second aspect.

[0052] According to a sixth aspect, an embodiment of the present application provides a computer readable storage medium, which stores computer instructions, and the computer instructions are used to make the computer execute the pressure sensing information configuration method in the first aspect or any one of the embodiments of the first aspect, or execute the pressure sensing writing method in the second aspect.

[0053] It should be noted that the corresponding beneficial effects of the pressure sensing information configuration device, the pressure sensing writing device, the electronic device and the computer readable storage medium provided by the embodiments of the present application are described in the description of the corresponding beneficial effects of the pressure sensing information configuration method or the pressure sensing writing method, and will not be described here. BRIEF DESCRIPTION OF DRAWINGS

[0054] In order to more clearly illustrate the technical solutions in the specific embodiments of the present application or the prior art, the drawings needed to be used in the specific embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor on the basis of these drawings.

[0055] Figure 1 is a flow chart of a pressure sensing information configuration method according to an embodiment of the present application;

[0056] Figure 2 is a flow chart of a pressure sensing information configuration method according to an embodiment of the present application;

[0057] Figure 3 is a flow chart of a pressure sensing information configuration method according to an embodiment of the present application;

[0058] Figures 4a-4d is a corresponding relationship diagram of grammage and handwriting thickness percentage according to an embodiment of the present application;

[0059] Figure 5 is a flow chart of a pressure sensing writing method according to an embodiment of the present application;

[0060] Figure 6 is a structural block diagram of a pressure sensing information configuration device according to an embodiment of the present application;

[0061] Figure 7 is a structural block diagram of a pressure sensing writing device according to an embodiment of the present application;

[0062] Figure 8 is a hardware structure diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0063] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.

[0064] The configuration method of pressure information provided by the embodiment of the present application is used for customizing the pressure information of the pressure pen. The processing of the configuration method can be realized by the pressure pen or other electronic devices. After obtaining the target pressure information in the other electronic devices, the target pressure information is downloaded into the pressure pen. For example, the other electronic devices can be pressure response devices and the like. The electronic devices for executing the configuration method of the pressure information are set according to actual needs, and are not limited herein.

[0065] By providing the configuration function of the custom pressure information for the pressure pen, the user can customize the target pressure information according to the actual writing needs, so as to achieve a better writing effect.

[0066] As an optional application scenario, the pressure pen is preset with pressure information. When the user writes based on the preset pressure information, if the writing effect does not meet the needs, the user can use the pressure pen customization configuration function to configure the pressure information and obtain the target pressure information that meets the needs. The pressure pen is provided with a data communication interface for obtaining the customized target pressure information from other electronic devices. Alternatively, the pressure pen can realize the configuration of the pressure information by executing the configuration method of the pressure information, and obtain the target pressure information.

[0067] The pressure pen at least includes an AD acquisition module, a DA output module, a processing module and a communication module for interaction. It should be noted that the AD acquisition module, the DA output module and the processing module are not limited to three independent modules, but can also be integrated. For example, most of the processing modules are self-equipped with AD and DA modules. The AD module is used for collecting the writing pressure and converting the writing pressure into an acquisition electric signal output to the processing module. The processing module determines the output electric signal corresponding to the acquisition electric signal by using the pressure information, and outputs the output electric signal to the DA module, which is output to the pressure response device by the DA module, so as to display the writing line with the line width corresponding to the output electric signal in the pressure response device. The communication module includes but is not limited to one or a mixed combination of USB interface, USART interface, IIC interface, infrared, Bluetooth, wifi, 2.4G interface and its conversion, and is mainly used for users and developers to replace the configured pressure information at any time.

[0068] The pressure information described above is used to represent the relationship between the acquisition electric signal collected by the AD acquisition module and the output electric signal output by the DA module. By configuring the pressure information, different output electric signals can be obtained under the same acquisition electric signal, so that the pressure pen can adapt to the writing of different users. That is, based on the configuration method of the pressure information, the custom configuration of the pressure information is realized, so that different users using the same pressure pen can achieve a better writing effect.

[0069] According to the embodiment of the present application, a configuration method of pressure information or an embodiment of pressure writing method is provided. It should be noted that the steps shown in the flowchart of the drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from here.

[0070] In the embodiment, a configuration method of pressure information is provided, which can be used in the above-mentioned electronic devices such as mobile phones, tablet computers or pressure pens, etc. Figure 1 is a flowchart of the configuration method of pressure information according to the embodiment of the present application, as shown in the figure, the flow includes the following steps: Figure 1

[0071] S11, when configuring the pressure information of the target active pressure pen, the target order of writing pressure and the configuration key point information are obtained.

[0072] The configuration key point information is used to represent the corresponding relationship between the preset writing pressure order and the handwriting thickness percentage.

[0073] When the target pressure information is configured, it means that the target pressure information needs to be customized to meet the current writing requirements. The target order of writing pressure is the pressure order provided to the user for selection according to the overall comprehensive performance of each electronic device in the target active pressure pen. For example, the target active pressure pen is built-in with 128 orders, 256 orders, 512 orders, 1024 orders and other selectable orders when it is factory, and the user can select the order he wants to use as the target order from the pressure orders provided by the factory. The target order of writing pressure is used to divide the range of writing pressure that can be detected by the target active pressure pen, and the pressure range value corresponding to each writing pressure order is obtained after division, which is used to determine the pressure order and the handwriting thickness percentage corresponding to the key point information. For example, the pressure pen can detect the pressure range value of 0-10N, and the target order is selected as 128 orders. The pressure range value is evenly divided into 128 parts, that is, the pressure less than 10 / 128N corresponds to the pressure level 0, 10 / 128N-20 / 128N corresponds to the pressure level 1, 20 / 128N-30 / 128N corresponds to the pressure level 2, …, (127*10) / 128N-(128*10) / 128N corresponds to the pressure level 127, and the pressure greater than (128*10) / 128N corresponds to the pressure level 128. Since the target order can be customized, the corresponding relationship between each pressure level and the handwriting thickness can be customized based on the target order.

[0074] ​The value range of the handwriting thickness percentage is defined according to actual requirements, wherein the maximum value of the value range is 100%, the thickest line that can be drawn by the pressure response device in response to the target active stylus is defined as 100% thickness, and the handwriting thinner than the line can be calculated according to the proportion. By giving the corresponding relationship between the preset writing pressure order and the handwriting thickness percentage, the first corresponding relationship is determined.

[0075] For example, the user can write with different writing pressures, view the thickness of the writing line in the pressure response device, and view the thickness of the writing line through multiple writings. After multiple writings, the handwriting writing effect is checked, and the configuration key point information meeting the writing requirements is debugged. After the configuration key point information is determined, it can be sent to the target active stylus through human-computer interaction, or the configuration key point information can be sent to the target active stylus based on the communication connection between the pressure response device and the target active stylus. The target active stylus can calculate the first corresponding relationship through the configuration key point information.

[0076] Alternatively, when the electronic device executing the configuration method is another electronic device, the other electronic device (such as a tablet touch computer) can calculate the first corresponding relationship according to the key point information, and then send the first corresponding relationship to the stylus through the communication interface.

[0077] It should be noted that the number of preset writing pressure orders is set according to actual requirements, for example, 2, 3, or 10, etc. The selection of the preset writing pressure order can be uniform selection in the target order, or selection according to other methods, etc.

[0078] Here, the specific way of obtaining the target order of writing pressure and the configuration key point information by the electronic device is not limited in any way, and is set according to actual requirements.

[0079] S12, determining a first corresponding relationship between each writing pressure order and handwriting thickness percentage based on the configuration key point information.

[0080] In determining the first corresponding relationship, curve fitting or interpolation processing can be performed based on the configuration key point information to obtain the first corresponding relationship between each writing pressure order and handwriting thickness percentage. Taking the target order of 128 as an example, the corresponding relationship between each writing pressure order and handwriting thickness percentage in 0-128 orders can be obtained through this step.

[0081] For example, the handwriting thickness percentage is in the range of 0-100%, the key point information is configured as (53 order, 20% thickness), (86 order, 60% thickness), and (111 order, 100% thickness). Since the 111 order is 100%, the 111 order to 128 order should correspond to 100%. After multi-segment line fitting and hash table processing, the obtained table is as follows:

[0082] Writing pressure order Writing thickness percentage 0 0.00% 1 0.00% 3 1.15% …… …… 128 100%

[0083] As shown in the above table, after multi-segment line fitting and hash table processing, the handwriting thickness percentage corresponding to each writing pressure order in the target order can be obtained.

[0084] S13, obtaining a mapping relationship between the collected electric signal and the writing pressure of the target active stylus and a second range of the output electric signal.

[0085] The mapping relationship between the collected electric signal and the writing pressure represents the relationship between the writing pressure and the AD value, which is generally a proportional curve for the pressure collection sensor. The mapping relationship can be set by the user, obtained by querying the AD collection module in the target active stylus, or the like. The second range of the output electric signal represents the range of the electric signal output by the DA output module, which can be determined by querying the performance of the DA output module of the target active stylus.

[0086] S14, mapping the mapping relationship and the second range to the first correspondence relationship based on the target order to determine the target correspondence relationship between the collected electric signal and the output electric signal, so as to determine the target pressure information.

[0087] As shown in the above table, the first correspondence relationship represents the relationship between the writing pressure order and the handwriting thickness percentage. The writing pressure order corresponds to the input of the target active stylus, and the handwriting thickness percentage corresponds to the output of the target active stylus. Through the form of handwriting thickness percentage, the target order is converted and output according to the handwriting thickness percentage, for example, the target order of the writing pressure is 128, and the order of the output electric signal is obtained by converting according to the handwriting thickness percentage 1.15%, that is, 1. Then, the value of the output electric signal corresponding to the output electric signal order is obtained by combining the second range and the target order.

[0088] Similarly, the mapping relationship represents the conversion between the collected electric signal and the writing pressure, and correspondingly, the order of the collected electric signal and the order of the writing pressure also follow the mapping relationship, so that the corresponding relationship between the order of the collected electric signal and the order of the writing pressure can be obtained, and then the corresponding relationship between the order of the collected electric signal and the order of the output electric signal can be obtained. On this basis, the target corresponding relationship is obtained by combining the first range of the collected electric signal and the second range of the output electric signal. The target pressure sensing information can be a target corresponding relationship represented in a curve form, or a target corresponding relationship represented in a table form.

[0089] The first corresponding relationship between each writing pressure order and the percentage of handwriting thickness is obtained in the above S12, and on this basis, the corresponding relationship between the collected electric signal of the AD acquisition module and the writing pressure order, and the corresponding relationship between the writing pressure order and the output electric signal are obtained by mapping processing based on the target order, in combination with the first range of the AD acquisition module and the second range of the DA acquisition module.

[0090] The specific steps of this step will be described in detail below.

[0091] The configuration method of pressure sensing information provided in this embodiment can configure the pressure sensing information of the target active pressure-sensitive pen by obtaining the target order of the writing pressure and the key point information for pressure sensing configuration information, generate the first corresponding relationship between each writing pressure order and the percentage of handwriting thickness based on the key point information, and map the second range of the output electric signal based on the target order to obtain the target corresponding relationship between the collected electric signal and the output electric signal. Through the above-mentioned manner, the target pressure sensing information of the target active pressure-sensitive pen is customized, so that the target active pressure-sensitive pen can meet the needs of different users, and pressure sensing writing using the customized target pressure sensing information can improve the writing effect.

[0092] In this embodiment, a configuration method of pressure sensing information is provided, which can be used in the above-mentioned electronic devices, such as mobile phones, tablet computers or pressure-sensitive pens, etc. Figure 2 The flowchart of the configuration method of pressure sensing information according to an embodiment of the present application is shown in FIG. 1, which includes the following steps: Figure 2

[0093] S21, when configuring the pressure sensing information of the target active pressure-sensitive pen, obtaining the target order of the writing pressure and the configuration key point information.

[0094] The configuration key point information is used to represent the corresponding relationship between the preset writing pressure order and the percentage of handwriting thickness.

[0095] ​Specifically, the S21 includes: in response to a configuration operation on the target order and the key point information, determining the target order and the configured key point information.

[0096] The configuration of the target order and the configured key point information is realized through the interaction operation with the target active pressure-sensitive pen. The configuration method of the user interacting with the target active pressure-sensitive pen includes but is not limited to: installing a display screen on the target active pressure-sensitive pen, and realizing the configuration through the interaction with the display screen; configuring on a mobile phone APP through Bluetooth communication and transmitting the configuration result to the target active pressure-sensitive pen through Bluetooth; configuring on a computer APP and transmitting the configuration result to the target active pressure-sensitive pen through a USB data line; and the like.

[0097] Taking the installation of the display screen on the target active pressure-sensitive pen as an example, when the target active pressure-sensitive pen is used to configure the pressure-sensitive information, the target active pressure-sensitive pen is enabled to enter the pressure-sensitive information configuration mode by selecting the configuration button on the target active pressure-sensitive pen, and a configuration interface is displayed on the display screen to prompt the user to input the target order and the configured key point information. The interaction of the user with the configuration interface can be input interaction or selection interaction, and the specific interaction mode is related to the setting of the configuration interface, and is not limited herein.

[0098] In some embodiments, the configuration interface is displayed on the target active pressure-sensitive pen, and the configuration interface displays a selectable range of the writing pressure order. Based on this, the target order is determined in response to the configuration operation on the writing pressure order, including: in response to the selection operation on the selectable range, determining the target order.

[0099] In order to more accurately obtain the target pressure-sensitive information, the selectable range of the writing pressure order is displayed on the configuration interface to prompt the user to configure in the selectable range. Correspondingly, the target order can be determined in response to the selection operation of the user.

[0100] The selectable range of the writing pressure order is the range that can be supported by the target active pressure-sensitive pen. By displaying the selectable range on the configuration interface, the user selects in the selectable range, so that the determined target order can be normally processed by the target active pressure-sensitive pen.

[0101] In some embodiments, the configuration interface is displayed on the target active pressure-sensitive pen, and the configured key point information is determined in response to the configuration operation on the key point information, including: in response to the input operation of the key point information on the configuration interface, determining the configured key point information. That is, the key point information obtained by the electronic device is input by the user on the configuration interface.

[0102] In some other embodiments, the target active stylus displays a configuration interface on the target active stylus, and the configuration key point information is determined in response to a configuration operation on the key point information, including: determining the configuration key point information in response to a selection operation on a key point in preset pressure configuration information in the target active stylus, and the preset pressure configuration information is displayed on the configuration interface.

[0103] The pressure information is preset in the target active stylus, that is, burned into the target active stylus at the factory. If the user considers that the preset pressure information cannot meet the writing requirements during writing, the target writing enters a configuration mode of the pressure information by triggering, to configure self-defined pressure information and obtain target pressure information. During the configuration of the self-defined pressure information, the key points on the preset pressure information are referred to, that is, the preset pressure information is displayed on the configuration interface, the user selects the key points in the preset pressure information, and after the key points are selected, the configuration key point information is obtained.

[0104] For the determination of the configuration key point information, the user can input or select in the preset pressure configuration information, and both the two ways can realize the determination of the configuration key point information, which is convenient for user operation.

[0105] S22, determining a first correspondence relationship between each writing pressure order and a handwriting thickness percentage based on the configuration key point information.

[0106] The configuration interface also displays a determination method of the first correspondence relationship, and based on this, S22 includes:

[0107] S221, determining a target determination method in response to a selection operation on the determination method of the first correspondence relationship.

[0108] Under the condition that the hardware performance is sufficient, the determination method of the first correspondence relationship includes but is not limited to the following, the user can interact with the target active stylus, and select one or more of the following as the target determination method:

[0109] a, hash table table building method. Simple and highest precision, but when the order is high, changing the pressure table will consume a lot of time and storage space;

[0110] b, Lagrange interpolation method, Newton interpolation method, etc. The calculation formula of various interpolation methods is fixed in the processing module of the stylus, and the user only needs to select the value of the key coordinate point, and the corresponding calculation formula of the pressure curve will be automatically calculated. This method is faster than the table building method, but the precision is slightly lower;

[0111] c. Polynomial fitting method. Similar to the method of fitting a curve with table discrete points, the polynomial fitting method is adopted, and the processing accuracy depends on the order of the polynomial. The higher the order, the higher the accuracy. The advantages and disadvantages are similar to the interpolation method. The more key coordinate point information the user inputs, the more the fitted curve formula meets the user's expectations;

[0112] d. Linear fitting method. That is, the first-order polynomial fitting method, which is low in order and fast in fitting;

[0113] e. Gaussian fitting method.

[0114] f. Exponential fitting method.

[0115] It should be noted that as long as the curve fitting method can be solidified in the processing module of the target active stylus, it can be added to the firmware. The user only needs to interact with the target active stylus, select the fitting method, and then input a certain number of key coordinate sampling points.

[0116] When the configuration interface displays the determination method of the first corresponding relationship, the advantages and disadvantages of each determination method can also be displayed to allow the user to select according to actual needs.

[0117] S222, determine the first corresponding relationship based on the configuration key point information and the target determination method.

[0118] After obtaining the target determination method, the configuration key point information can be interpolated or fitted to obtain the first corresponding relationship.

[0119] S23, obtain the mapping relationship between the collected electrical signal and the writing pressure of the target active stylus and the second range of the output electrical signal.

[0120] For details, please refer to S13 of the embodiment shown in Figure 1 herein.

[0121] S24, map the mapping relationship and the second range into the first corresponding relationship based on the target order to determine the target corresponding relationship between the collected electrical signal and the output electrical signal, to determine the target pressure information.

[0122] For details, please refer to S14 of the embodiment shown in Figure 1 herein.

[0123] The configuration method of pressure information provided by the embodiment can realize configuration of target order and key point information through interaction with a target active pressure-sensitive pen, so that the determined target order and configured key point information are set according to user demand. Meanwhile, a fitting mode and / or an interpolation mode are displayed on the configuration interface to provide the user with a selection according to actual demand, so that the obtained first correspondence meets user demand.

[0124] In the embodiment, a configuration method of pressure information is provided, which can be used in the electronic device such as a mobile phone, a tablet computer or a pressure-sensitive pen. Figure 3 The flowchart of the configuration method of pressure information according to the embodiment of the present application is shown in FIG. 1, which includes the following steps: Figure 3

[0125] S31, when configuring pressure information of a target active pressure-sensitive pen, obtaining target order of writing pressure and key point information.

[0126] The key point information is used to represent a correspondence between preset writing pressure order and handwriting thickness percentage.

[0127] For details, refer to S21 of the embodiment shown in FIG. 2, which will not be repeated here. Figure 2

[0128] S32, determining a first correspondence between each writing pressure order and handwriting thickness percentage based on the configured key point information.

[0129] For details, refer to S22 of the embodiment shown in FIG. 3, which will not be repeated here. Figure 2 In some embodiments, if the target order is S, for the convenience of understanding, according to Newton's F = mg formula, the pressure of each order is converted into gram weight. That is, "pressure-handwriting thickness percentage" is converted into "gram weight-handwriting thickness percentage". Then, according to the principle of "two points determine a straight line", the key point information is selected, and then the formula of this section is calculated through the formula of the plane straight line y = kX + b, and finally the handwriting thickness corresponding to each gram weight is calculated.

[0130]

[0131] The correspondence between gram weight and handwriting thickness percentage is shown in FIG. 4, in which the abscissa is gram weight and the ordinate is handwriting thickness percentage. The writing pressure order is obtained by dividing the writing pressure into target orders, that is, the writing pressure corresponding to each writing pressure order can be determined. The gram weight is calculated by pressure, and similarly, the writing pressure order corresponding to the gram weight can be obtained, so that the correspondence between the gram weight and the handwriting thickness percentage can be determined. Figures 4a-4d

[0132] ​​​S33, acquire the mapping relationship between the target active pressure-sensitive pen's acquisition electrical signal and writing pressure, as well as the second range of the output electrical signal.

[0133] Please see details Figure 1 S13 of the illustrated embodiment will not be described again here.

[0134] S34, based on the target order, map the mapping relationship and the second range to the first correspondence relationship, determine the target correspondence relationship between the acquired electrical signal and the output electrical signal, and thus determine the target pressure sensing information.

[0135] Specifically, S34 includes:

[0136] S341, based on the mapping relationship and the first correspondence relationship, determine the second correspondence relationship between the acquired electrical signal and the writing pressure order.

[0137] As mentioned above, the mapping relationship is the relationship between the acquired electrical signal and the writing pressure. By dividing the writing pressure into target orders, the writing pressure order corresponding to the writing pressure is obtained. Based on this, a second correspondence between the acquired electrical signal and the writing pressure order can be obtained.

[0138] In some embodiments, S341 includes:

[0139] (1) Obtain the first range of the collected electrical signal.

[0140] (2) Divide the first range using the target order to obtain the fifth correspondence between the acquired electrical signal and the order of the acquired electrical signal.

[0141] (3) Determine the sixth correspondence between the order of the acquired electrical signal and the order of the writing pressure based on the mapping relationship.

[0142] (4) Based on the fifth and sixth correspondences, determine the second correspondence.

[0143] The first range for acquiring electrical signals can be obtained from the performance parameters of the AD acquisition module in the target active pressure-sensitive pen, or it can be input by the user. For example, if the target order is 128, the first range is divided into 128 parts, each corresponding to a single acquisition electrical signal order. Based on this, a fifth correspondence between the acquired electrical signals and their orders is obtained.

[0144] S342, based on the product of the percentage of handwriting thickness in the first correspondence between the target order and the first correspondence, determine the third correspondence between the writing pressure order and the output electrical signal order.

[0145] The product of the target order and the percentage of each stroke thickness is calculated, and the result is rounded to obtain the order of the output electrical signal. Since there is a correspondence between the stroke thickness percentage and the writing pressure order in the first correspondence, a third correspondence between the writing pressure order and the output electrical signal order can be obtained based on this.

[0146] S343, the second range is divided using the target order to obtain the fourth correspondence between the output electrical signal order and the output electrical signal.

[0147] The process of dividing the second range using the target order is similar to step (2) of S341 above. For example, if the target order is 128, the second range is divided into 128 parts, each part corresponding to an output electrical signal order, thus obtaining the fourth correspondence between the output electrical signal order and the output electrical signal.

[0148] S344, Based on the second correspondence, the third correspondence, and the fourth correspondence, determine the target correspondence.

[0149] The second correspondence is the correspondence between the acquired electrical signal and the writing pressure order; the third correspondence is the correspondence between the writing pressure order and the output electrical signal order; and the fourth correspondence is the correspondence between the output electrical signal order and the output electrical signal. Therefore, the correspondence between the acquired electrical signal and the output electrical signal can be obtained, thereby determining the target correspondence.

[0150] The pressure sensitivity configuration method provided in this embodiment uses the target order as the basis for division, which ensures the uniformity of the mapping basis and improves the reliability of the obtained target correspondence.

[0151] As a specific application example, for a target active pressure-sensitive pen with a target level of 128, according to Newton's formula F=mg, the pressure of each writing pressure level is converted into weight in grams. That is, the "pressure-stroke thickness percentage" is converted into "weight-stroke thickness percentage". If a user's writing pressure is converted into weight, within the weight range of 0-600 grams, the thickest stroke is set to 100%, and the stroke thickness percentage range is 0-100%.

[0152] First, divide the weight range from 0 to 600 grams into 128 levels, each level being approximately 600 / 128 = 4.69 grams. Select the key configuration information, namely the coordinate points for "writing pressure level - thickness percentage". Select (level 53, 20% thickness), (level 86, 60% thickness), and (level 111, 100% thickness) as key points. Since level 111 is already 100%, levels 111 to 128 should all correspond to 100%.

[0153] The "writing pressure level - thickness percentage" coordinate points are converted to "weight - thickness percentage" coordinate points. Since each level is approximately 4.69 grams, the key point 53 corresponds to 53 * 4.69 = 248 grams, level 86 corresponds to 86 * 4.69 = 403 grams, and level 111 corresponds to 111 * 4.69 = 520 grams. Therefore, the key points for "weight - thickness percentage" are (248 grams, 20% thickness), (403 grams, 60% thickness), (520 grams, 100% thickness), and (600 grams, 100% thickness). That is, four key points have been selected, determining three straight lines.

[0154] Using the linear formula Y = kX + b in two-dimensional coordinates, calculate the "weight-thickness percentage" points corresponding to weights from 0 to 128. Then, convert the "weight-thickness percentage" data table into a "weight-DA value order" data table.

[0155] The method for converting to "weight-DA value order" is as follows: the output range of DA value is evenly divided into 128 orders, and the DA value corresponding to each order is equal to 128 multiplied by the thickness percentage value corresponding to that order. For example, the DA value level corresponding to the 3rd pressure order is equal to 128 * 1.15% = 1.

[0156] The "weight-DA value order" data table also needs to be converted into "AD value order - DA value order". The processing method is as follows: based on the characteristics of the pressure-sensitive active pen's sensor, measure the AD value range corresponding to 0-600 grams, then divide the AD value range into 128 orders, each order corresponding to a corresponding DA value, thus obtaining the final "AD value order - DA value order" pressure sensitivity curve, and correspondingly, the AD value-DA value pressure sensitivity information can be obtained.

[0157] The pressure sensitivity configuration method provided in this embodiment, combined with the AD acquisition module and DA output module in the target active pressure pen, can accurately measure the pressure current, accurately control the output voltage, and draw a more accurate pressure sensitivity curve. Furthermore, users can arbitrarily draw and fit their desired pressure sensitivity curve and directly send the curve to the pressure pen for use; alternatively, the pressure sensitivity curve can be configured directly within the pressure pen.

[0158] This embodiment provides a pressure-sensitive writing method that can be used in a pressure-sensitive pen. Figure 5 This is a flowchart of a pressure-sensitive writing method according to an embodiment of the present invention, such as... Figure 5 As shown, the process includes the following steps:

[0159] S41, in response to the selection operation of pressure-sensitive information, determines the target pressure-sensitive information for the current writing.

[0160] The pressure-sensitive information includes preset pressure-sensitive information and target pressure-sensitive information configured according to the pressure-sensitive information configuration method described in the above embodiments.

[0161] Before writing with the pressure-sensitive pen, the user must first select the pressure sensitivity information. As mentioned above, the pen has preset pressure sensitivity information. If the preset information does not meet the user's needs, the target pressure sensitivity information will be configured according to the configuration method described above. Based on this, the user can select the target pressure sensitivity information for subsequent writing.

[0162] S42, based on the collected electrical signal, queries the target pressure sensing information to determine the current output electrical signal.

[0163] Since the target pressure-sensitive information represents the relationship between the acquired electrical signal and the output electrical signal, the pressure-sensitive pen can determine the current output electrical signal by querying the target pressure-sensitive information after acquiring the electrical signal.

[0164] S43, output the current output electrical signal to the pressure-sensitive response device so that the pressure-sensitive response device can perform a writing response based on the current output electrical signal.

[0165] A pressure-sensitive device is a device capable of responding to writing with a pressure-sensitive pen, including but not limited to educational all-in-ones, tablets, and mobile phones. The pressure-sensitive pen outputs a current electrical signal to the pressure-sensitive device, which then responds to the writing based on that signal, outputting and displaying lines of the corresponding width.

[0166] The pressure-sensitive writing method provided in this embodiment improves the writing effect because the target pressure-sensitive information is configured according to the user's needs, making the target active pressure-sensitive pen adapt to the user's writing rather than the user adapting to the target active pressure-sensitive pen.

[0167] This embodiment also provides a pressure-sensitive information configuration device and a pressure-sensitive writing device, which are used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0168] This embodiment provides a pressure-sensitive information configuration device, such as... Figure 6 As shown, it includes:

[0169] The first acquisition module 51 is used to acquire the target order of writing pressure and configuration key point information when configuring the pressure sensitivity information of the target active pressure pen. The configuration key point information is used to represent the correspondence between the preset writing pressure order and the percentage of pen thickness.

[0170] The first determining module 52 is used to determine a first correspondence between each writing pressure level and the percentage of handwriting thickness based on the configuration key point information;

[0171] The second acquisition module 53 is used to acquire the mapping relationship between the acquisition electrical signal and the writing pressure of the target active pressure-sensitive pen and the second range of the output electrical signal.

[0172] The second determining module 54 is used to map the mapping relationship and the second range to the first correspondence relationship based on the target order, and to determine the target correspondence relationship between the acquired electrical signal and the output electrical signal, so as to determine the target pressure sensing information.

[0173] In some implementations, the first acquisition module 51 includes:

[0174] The first response unit is configured to determine the target order and the configured key point information in response to the configuration operation of the writing pressure order and key point information.

[0175] In some embodiments, the target active pressure-sensitive pen displays a configuration interface for displaying a selectable range of writing pressure levels, and the first response unit includes:

[0176] A first response subunit is configured to determine the target order in response to a selection operation on the selectable range.

[0177] In some implementations, the first response unit includes:

[0178] The second response subunit is used to determine the configuration key point information in response to the input operation of key point information on the configuration interface.

[0179] or,

[0180] The third response subunit is used to respond to the selection operation of key points in the preset pressure-sensitive configuration information in the target active pressure-sensitive pen, determine the configuration key point information, and display the preset pressure-sensitive configuration information on the configuration interface.

[0181] In some implementations, the configuration interface also displays a method for determining the first correspondence, and the first determining module 52 includes:

[0182] The second response unit is used to determine the target determination method in response to the selection operation of the determination method of the first correspondence relationship;

[0183] The first determining unit is used to determine the first correspondence based on the configuration key point information and the target determination method.

[0184] In some implementations, the second determining module 54 includes:

[0185] The second determining unit is used to determine a second correspondence between the acquired electrical signal and the writing pressure order based on the mapping relationship and the first correspondence relationship;

[0186] The third determining unit is used to determine the third correspondence between the writing pressure order and the output electrical signal order based on the product of the target order and the percentage of handwriting thickness in the first correspondence;

[0187] A partitioning unit is used to partition the second range using the target order to obtain a fourth correspondence between the order of the output electrical signal and the output electrical signal.

[0188] The fourth determining unit is used to determine the target correspondence based on the second correspondence, the third correspondence, and the fourth correspondence.

[0189] In some implementations, the second determining unit includes:

[0190] An acquisition subunit is used to acquire a first range of the acquired electrical signal;

[0191] Divide into sub-units to divide the first range using the target order, thereby obtaining a fifth correspondence between the acquired electrical signal and the order of the acquired electrical signal;

[0192] The first determining subunit is used to determine a sixth correspondence between the order of the acquired electrical signal and the order of the writing pressure based on the mapping relationship;

[0193] The second determining subunit is used to determine the second correspondence based on the fifth correspondence and the sixth correspondence.

[0194] This embodiment provides a pressure-sensitive writing device, such as Figure 7 As shown, it includes:

[0195] The response module 61 is configured to respond to a selection operation of pressure-sensitive information to determine target pressure-sensitive information for current writing, the pressure-sensitive information including preset pressure-sensitive information and the target pressure-sensitive information configured according to the pressure-sensitive information configuration method according to the first aspect of the present invention or any embodiment of the first aspect.

[0196] The third determining module 62 is used to query the target pressure sensing information based on the collected electrical signal and determine the current output electrical signal;

[0197] The output module 63 is used to output the current output electrical signal to the pressure-sensitive response device so that the pressure-sensitive response device can perform a writing response based on the current output electrical signal.

[0198] In this embodiment, the pressure-sensitive information configuration device and the pressure-sensitive writing device are presented in the form of functional units. Here, a unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0199] Further functional descriptions of the above modules are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0200] This invention also provides an electronic device having the above-described features. Figure 6 The pressure-sensitive information configuration device shown, or Figure 7 The pressure-sensitive writing device shown.

[0201] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of an electronic device provided in an optional embodiment of the present invention, such as... Figure 8 As shown, the electronic device may include: at least one processor 71, such as a CPU (Central Processing Unit), at least one communication interface 73, memory 74, and at least one communication bus 72. The communication bus 72 is used to enable communication between these components. The communication interface 73 may include a display screen or a keyboard; optionally, the communication interface 73 may also include a standard wired interface or a wireless interface. The memory 74 may be high-speed RAM (Random Access Memory) or non-volatile memory, such as at least one disk storage device. Optionally, the memory 74 may also be at least one storage device located remotely from the aforementioned processor 71. The processor 71 may be combined with... Figure 6 or Figure 7 The described apparatus has an application program stored in memory 74, and the processor 71 calls the program code stored in memory 74 to perform any of the above method steps.

[0202] The communication bus 72 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The communication bus 72 can be divided into an address bus, a data bus, and a control bus, etc. For ease of representation, Figure 8 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0203] The memory 74 may include volatile memory, such as random-access memory (RAM); the memory may also include non-volatile memory, such as flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory 74 may also include a combination of the above types of memory.

[0204] The processor 71 can be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.

[0205] The processor 71 may further include a hardware chip. This hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0206] Optionally, the memory 74 is also used to store program instructions. The processor 71 can invoke the program instructions to implement the pressure-sensitive information configuration method or pressure-sensitive writing method as shown in any embodiment of this application.

[0207] This invention also provides a non-transitory computer storage medium storing computer-executable instructions that can execute the pressure-sensitive information configuration method or pressure-sensitive writing method in any of the above method embodiments. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium may also include combinations of the above types of memory.

[0208] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and all such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A method for configuring pressure-sensitive information, characterized in that, include: When configuring the pressure sensitivity information of the target active pressure-sensitive pen, the target level of writing pressure and configuration key point information are obtained. The configuration key point information is used to represent the correspondence between the preset writing pressure level and the percentage of pen thickness. Based on the configuration key point information, a first correspondence between each writing pressure level and the percentage of handwriting thickness is determined; The mapping relationship between the acquisition electrical signal and the writing pressure of the target active pressure-sensitive pen and the second range of the output electrical signal are obtained. The second range of the output electrical signal is used to represent the range of the electrical signal output by the DA output module of the target active pressure-sensitive pen. Based on the target order, the mapping relationship and the second range are mapped to the first correspondence relationship to determine the target correspondence relationship between the acquired electrical signal and the output electrical signal, so as to determine the target pressure sensitivity information; Specifically, the step of mapping the mapping relationship and the second range to the first correspondence relationship based on the target order, and determining the target correspondence relationship between the acquired electrical signal and the output electrical signal to determine the target pressure sensitivity information, includes: Based on the mapping relationship and the first correspondence relationship, a second correspondence relationship between the acquired electrical signal and the writing pressure order is determined; Based on the product of the target order and the percentage of handwriting thickness in the first correspondence, a third correspondence between the writing pressure order and the output electrical signal order is determined. The second range is divided using the target order to obtain a fourth correspondence between the output electrical signal order and the output electrical signal. The target correspondence is determined based on the second correspondence, the third correspondence, and the fourth correspondence.

2. The method according to claim 1, characterized in that, The acquisition of the target order of writing pressure and the configuration of key point information include: In response to the configuration operation of the writing pressure order and key point information, the target order and the configured key point information are determined.

3. The method according to claim 2, characterized in that, The target active pressure-sensitive pen displays a configuration interface, which is used to display the selectable range of writing pressure levels. In response to the configuration operation of the writing pressure level, the target level is determined, including: In response to the selection operation of the optional range, the target order is determined.

4. The method according to claim 3, characterized in that, In response to a configuration operation on key point information, the configuration key point information is determined, including: In response to input operations on key point information on the configuration interface, the configuration key point information is determined; or, In response to the selection operation of key points in the preset pressure sensitivity configuration information in the target active pressure-sensitive pen, the configuration key point information is determined, and the preset pressure sensitivity configuration information is displayed on the configuration interface.

5. The method according to claim 3, characterized in that, The configuration interface also displays the method for determining the first correspondence, which includes determining the first correspondence between each writing pressure level and the percentage of handwriting thickness based on the configuration key point information, including: In response to the selection operation of the determination method of the first correspondence, the target determination method is determined; Based on the configuration key point information and the target determination method, the first correspondence is determined.

6. The method according to claim 1, characterized in that, The step of determining the second correspondence between the acquired electrical signal and the writing pressure order based on the mapping relationship and the first correspondence includes: Obtain the first range of the acquired electrical signal; The first range is divided using the target order to obtain a fifth correspondence between the acquired electrical signal and the order of the acquired electrical signal; Based on the mapping relationship, a sixth correspondence is determined between the order of the acquired electrical signal and the order of the writing pressure; Based on the fifth and sixth correspondences, the second correspondence is determined.

7. A pressure-sensitive writing method, characterized in that, include: In response to a selection operation of pressure-sensitive information, target pressure-sensitive information for current writing is determined, the pressure-sensitive information including preset pressure-sensitive information and the target pressure-sensitive information configured by the pressure-sensitive information configuration method according to any one of claims 1-6; Based on the collected electrical signals, query the target pressure sensing information to determine the current output electrical signal; The current output electrical signal is output to the pressure-sensitive response device so that the pressure-sensitive response device can perform a writing response based on the current output electrical signal.

8. An electronic device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform either the pressure-sensitive information configuration method of any one of claims 1-6 or the pressure-sensitive writing method of claim 7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the method for configuring pressure-sensitive information as described in any one of claims 1-6, or to execute the pressure-sensitive writing method as described in claim 7.

Citation Information

Patent Citations

  • Active pen nib pressure conversion method and device, active pen and storage medium

    CN111240503A

  • Control method for improving ink outlet precision of active pen and electronic equipment

    CN111913599A