A touch screen adjustment method, device, storage medium and terminal

By using Hall devices in the stylus slot of the terminal to detect the plug-in and unplugging status of the stylus, dynamically adjusting the sensitivity of the touch screen, solving the problem of accidentally touch caused by excessive sensitivity in the prior art, and improving the touch of the terminal Control performance and user experience.

CN113835555BActive Publication Date: 2024-11-22HUIZHOU TCL MOBILE COMM CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202111109032.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-22
Publication Date
2024-11-22
Estimated Expiration
2041-09-22

AI Technical Summary

Technical Problem

In the prior art, the sensitivity setting of the touch screen is too high, causing the display screen to automatically touch by mistake, affecting the touch performance of the terminal.

Method used

By setting the Hall device in the stylus slot of the terminal, detecting the plug-in and unplugging state of the stylus, and adjusting the sensitivity of the touch screen according to different states. Setting the normal sensitivity when the stylus is inserted, and setting high sensitivity when it is pulled out. To distinguish between stylus and finger operations.

Benefits of technology

Improve the touch performance of the terminal touch screen, reduce false triggering, and enhance operation accuracy and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113835555B_ABST
    Figure CN113835555B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a touch screen adjustment method, device, storage medium and terminal. In this solution, a Hall device is set in the stylus slot of the terminal, and the plug-in and unplugging state of the stylus is detected by the Hall device. When the plug-in and unplugging state is the unplugged state, a higher sensitivity is set for the touch screen to provide touch operation with the stylus; when the plug-in and unplugging state is the inserted state, a normal sensitivity is set for the touch screen to provide touch operation with the user's finger. In this way, the sensitivity of the touch screen is adjusted according to the different plug-in and unplugging states of the stylus, thereby improving the touch performance of the touch screen of the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal applications, and in particular to a touch screen adjustment method, device, storage medium and terminal. Background Art

[0002] With the rapid development of technology, terminals usually use touch screens as operation interfaces. In order to improve the speed and accuracy of users operating the touch screens, a stylus pen may be configured for the terminal, and users may perform input operations through the stylus pen.

[0003] In the related art, the sensitivity of the touch screen is set high, and then the capacitance change of the touch screen matrix is ​​detected to identify whether the current operation is a stylus operation. However, this can easily cause automatic false touches on the display screen, thereby affecting the touch performance of the terminal. Summary of the invention

[0004] The embodiments of the present application provide a touch screen adjustment method, device, storage medium and terminal, which can improve the touch performance of the touch screen of the terminal.

[0005] The present application provides a touch screen adjustment method, including:

[0006] Determining a current insertion or removal status of the stylus pen in the stylus pen slot by using the Hall device;

[0007] Obtaining target screen adjustment information corresponding to the current plug-in / plug-out state;

[0008] The screen parameters of the touch screen of the terminal are adjusted based on the target screen adjustment information.

[0009] Accordingly, the embodiment of the present application further provides a touch screen adjustment device, including:

[0010] A first determining unit, configured to determine a current insertion or removal state of the stylus pen in the stylus pen slot by using the Hall device;

[0011] A first acquisition unit, used to acquire target screen adjustment information corresponding to the current plug-in state;

[0012] The first adjustment unit is used to adjust the screen parameters of the touch screen of the terminal based on the target screen adjustment information.

[0013] In some embodiments, the first adjustment unit includes:

[0014] A first acquisition subunit, used for acquiring circuit adjustment information and sensitivity adjustment information in the target screen adjustment information;

[0015] A configuration subunit is used to configure the circuit parameters based on the circuit adjustment information, and to configure the sensitivity parameters based on the sensitivity adjustment information.

[0016] In some embodiments, the first determining unit includes:

[0017] A detection subunit, used for detecting the output level of the Hall device;

[0018] A determination subunit is used to determine the current plug-in state according to the output level.

[0019] In some embodiments, the determining subunit is specifically configured to:

[0020] If the output level is a high level, determining that the current plug-in state is a pulled-out state;

[0021] If the output level is a low level, determining that the current plugging state is an insertion state;

[0022] If the output level is switched from the high level to the low level, determining that the current plug-in state is switched from the unplugged state to the plugged-in state;

[0023] If the output level is switched from the low level to the high level, it is determined that the current plug-in state is switched from the plug-in state to the unplugged state.

[0024] In some embodiments, the apparatus further comprises:

[0025] a detection unit, configured to, when a touch operation on the touch screen is detected, obtain a touch signal change amount generated by the touch operation on the touch screen;

[0026] The second determining unit is configured to determine the target screen adjustment information based on the touch signal change amount.

[0027] In some embodiments, the second determining unit includes:

[0028] a second acquisition subunit, configured to acquire the screen adjustment information corresponding to the insertion state to obtain the target screen adjustment information if the touch signal change amount is greater than a first preset touch signal change amount;

[0029] The third acquisition subunit is used to acquire the screen adjustment information corresponding to the plug-in and unplug state of the stylus pen being the unplugged state if the touch signal change amount is less than or equal to the second preset touch signal change amount, and obtain the target screen adjustment information.

[0030] In some embodiments, the apparatus further comprises:

[0031] A second acquisition unit, configured to acquire the current display brightness of the terminal;

[0032] The second adjustment unit is used to adjust the current display brightness based on the current plug-in state.

[0033] Correspondingly, an embodiment of the present application further provides a storage medium, wherein the storage medium stores a plurality of instructions, wherein the instructions are suitable for loading by a processor to execute the touch screen adjustment method as described above.

[0034] Correspondingly, an embodiment of the present application also provides a terminal, including a processor, a memory, a stylus slot for placing a stylus, the stylus slot is provided with a Hall device, the Hall device is used to detect the plug-in and unplug status of the stylus, the memory stores multiple instructions, and the processor loads the instructions to execute the touch screen adjustment method as described above.

[0035] In the embodiment of the present application, a Hall device is arranged in the stylus slot of the terminal, and the plug-in and unplugging state of the stylus is detected by the Hall device. When the plug-in and unplugging state is the unplugged state, a higher sensitivity is set for the touch screen to provide touch operation with the stylus; when the plug-in and unplugging state is the inserted state, a normal sensitivity is set for the touch screen to provide touch operation with the user's finger. In this way, the sensitivity of the touch screen is adjusted according to the different plug-in and unplugging states of the stylus, thereby improving the touch performance of the touch screen of the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 A schematic flow chart of a touch screen adjustment method provided in an embodiment of the present application.

[0038] Figure 2 A schematic flow chart of another touch screen adjustment method provided in an embodiment of the present application.

[0039] Figure 3 A structural block diagram of a touch screen adjustment device provided in an embodiment of the present application.

[0040] Figure 4 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] 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 only 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 those skilled in the art without creative work are within the scope of protection of this application.

[0042] Based on the above problems, the embodiments of the present application provide a touch screen adjustment method, device, storage medium and terminal, which can improve the touch performance of the touch screen of the terminal. The following are detailed descriptions. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.

[0043] Please refer to Figure 1 , Figure 1 A schematic diagram of a flow chart of a touch screen adjustment method provided in an embodiment of the present application. The touch screen adjustment method can be applied to mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (Portable Media Player, PMP), and fixed terminals such as desktop computers. The specific flow of the touch screen adjustment method can be as follows:

[0044] 101. Determine the current insertion and removal status of the stylus in the stylus slot through a Hall device.

[0045] In the embodiment of the present application, the terminal may include a touch screen, a stylus slot, etc. Among them, the touch screen is also called a "touch screen" or a "touch panel", which is an inductive liquid crystal display device that can receive input signals such as a contact. When a graphic button on the screen is touched, the tactile feedback system on the screen can drive various connection devices according to a pre-programmed program, which can be used to replace a mechanical button panel and create vivid audio and video effects through the liquid crystal display screen.

[0046] Among them, the stylus slot is used to place the stylus. A stylus (stylus or stylus pen) is a small pen-shaped tool used to input commands to a computer screen, mobile device, drawing tablet or other device with a touch screen. Users can select files or draw by clicking the touch screen with the stylus.

[0047] Specifically, in an embodiment of the present application, in order to accurately identify the object performing a touch operation on the terminal touch screen, a Hall device can be set inside the stylus slot, and a magnet can be set inside the stylus. When the stylus is inserted or pulled out of the stylus slot, the magnet inside the stylus will induce the Hall device, so that the Hall magnetic field effect of the stylus slot can be used to identify whether the stylus is pulled out, and further determine whether the object currently performing a touch operation on the terminal touch screen is the stylus.

[0048] Among them, Hall devices refer to solid-state electronic devices that use the Hall effect. The Hall effect means that when a rectangular conductor or semiconductor material is placed in a magnetic field with a magnetic induction intensity of Bz and a current Ix passes through the specimen in a direction perpendicular to the magnetic field, an electric field Ey will be generated in a direction perpendicular to both the magnetic field Bz and the current Ix.

[0049] In some embodiments, in order to improve the accuracy of identifying the current touch operation, the step of "determining the current plug-in and unplug-out status of the stylus in the terminal through the Hall device" may include the following operations:

[0050] Detect the output level of the Hall device;

[0051] Determine the current plug-in or plug-out status based on the output level.

[0052] The output level refers to the level signal of the matrix switcher output signal. In the embodiment of the present application, a TTL (transistor transistor logic) level signal can be used. The TTL level signal usually uses binary to represent data. For example, +5V (volts) is equivalent to logic "1", and 0V is equivalent to logic "0". Specifically, logic "1" can represent a high level, and logic "0" can represent a low level.

[0053] Further, the output level is determined to be high or low according to the detected output level data. For example, if the detected output level data is logic "1", the output level is determined to be high; if the detected output level data is logic "0", the output level is determined to be low.

[0054] In some embodiments, the plug-in / plug-out status of the stylus pen may be determined according to the output level, and the step of “determining the current plug-in / plug-out status according to the output level” may include the following operations:

[0055] If the output level is high, it is determined that the current plug-in state is the unplugged state;

[0056] If the output level is low, it is determined that the current plug-in state is the plug-in state;

[0057] If the output level is switched from a high level to a low level, it is determined that the current plug-in state is switched from a pulled-out state to a plug-in state;

[0058] If the output level is switched from a low level to a high level, it is determined that the current plug-in state is switched from an inserted state to an unplugged state.

[0059] In the embodiment of the present application, when the output level of the Hall device is high, it means that the magnet in the stylus is not sensed, and it can be determined that the current plug-in state is the unplugged state, and the unplugged state indicates that the stylus is not placed in the stylus slot.

[0060] When the output level of the Hall device is low, it means that the magnet in the stylus pen is sensed, and it can be determined that the current plug-in state is the inserted state, and the inserted state indicates that the stylus pen is placed in the stylus pen slot.

[0061] Alternatively, when the output level of the Hall device changes, the current plugging and unplugging state is determined according to the change in the output level.

[0062] Specifically, when it is detected that the output level of the Hall device changes from a high level to a low level, indicating a change from "not sensing the magnet in the stylus" to "sensing the magnet in the stylus", it can be determined that the current plug-in state is switched from the unplugged state to the inserted state, that is, the current stylus is dynamically inserted into the stylus slot.

[0063] When it is detected that the output level of the Hall device changes from a low level to a high level, it means that it changes from "sensing the magnet in the stylus pen" to "not sensing the magnet in the stylus pen". Then it can be determined that the current plug-in state is switched from the inserted state to the unplugged state, that is, the current stylus pen is dynamically pulled out of the stylus pen slot.

[0064] 102. Obtain target screen adjustment information corresponding to the current plug-in / plug-out state.

[0065] In the embodiment of the present application, multiple screen adjustment information can be pre-designed, each screen adjustment information corresponds to a plug-in state, wherein the screen adjustment information includes multiple screen parameters and an adjustment value corresponding to each screen parameter.

[0066] For example, the plurality of screen adjustment information may be: first screen adjustment information, second screen adjustment information, etc., third screen adjustment information, fourth screen adjustment information, etc., and the plug-in state may include: plug-in state, unplugged state, switching from plug-in state to unplugged state, switching from unplugged state to plug-in state, etc. Among them, the first screen adjustment information may be configured for the plug-in state, the second screen adjustment information may be configured for the unplugged state, the third screen adjustment information may be configured for switching from the plug-in state to the unplugged state, and the fourth configuration information may be configured for switching from the unplugged state to the plug-in state. If the current plug-in state is the unplugged state, it may be determined that the target screen adjustment information corresponding to the current plug-in state is the second screen adjustment information.

[0067] By configuring different screen adjustment parameters for different plug-in and plug-out states of the stylus, the accuracy of touch operation detection on the touch screen is improved.

[0068] 103. Adjust screen parameters of the touch screen of the terminal based on the target screen adjustment information.

[0069] After the target screen adjustment information corresponding to the current plug-in / plug-out state is determined, the screen parameters of the touch screen of the terminal may be adjusted according to the target screen adjustment information.

[0070] In some embodiments, the screen parameters of the touch screen of the terminal may include: circuit parameters and sensitivity parameters. In order to improve the accuracy of adjusting the touch screen parameters, the step of "adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information" may include the following operations:

[0071] Acquire circuit adjustment information and sensitivity adjustment information in the target screen adjustment information;

[0072] The circuit parameters are configured based on the circuit adjustment information, and the sensitivity parameters are configured based on the sensitivity adjustment information.

[0073] The target screen adjustment information includes circuit parameters and sensitivity parameters, as well as circuit parameter adjustment values ​​corresponding to the circuit parameters and sensitivity parameter adjustment values ​​corresponding to the sensitivity parameters. The circuit parameter adjustment values ​​corresponding to the circuit parameters represent the circuit adjustment information, and the sensitivity parameter adjustment values ​​corresponding to the sensitivity parameters represent the sensitivity adjustment information.

[0074] Furthermore, by configuring a circuit parameter adjustment value corresponding to the circuit parameter for the circuit parameter and configuring a sensitivity parameter adjustment value corresponding to the sensitivity parameter for the sensitivity parameter, the adjustment of the screen parameters of the touch screen can be completed.

[0075] For example, in the target screen adjustment information, the circuit parameter adjustment value can be: the first circuit parameter adjustment value, and the sensitivity parameter adjustment value can be: the first sensitivity parameter adjustment value. Then the first circuit parameter adjustment value can be configured for the circuit parameter, and the first sensitivity parameter adjustment value can be configured for the sensitivity parameter.

[0076] In an embodiment of the present application, when a user operates the touch screen of the terminal, the touch screen can be touched by a stylus pen or a finger. Since the contact area of ​​the touch screen when the touch screen is touched by a stylus pen is smaller than the contact area of ​​the touch screen when the touch screen is touched by a finger, when the touch screen is operated by a stylus pen, the sensitivity of the touch screen needs to be set higher to improve the accuracy of the stylus pen operation.

[0077] However, when the user operates the touch screen with his fingers, the accuracy of the finger operation on the touch screen can be guaranteed without high sensitivity. Therefore, in the embodiment of the present application, two sets of screen adjustment information can be designed, one set of screen adjustment information can be used in the scene of touch operation with a stylus, and the other set of screen adjustment information can be used in the scene of touch operation with a finger.

[0078] The sensitivity value in the screen adjustment information for a scenario in which a touch operation is performed by a stylus pen is higher than the sensitivity value in the screen adjustment information for a scenario in which a touch operation is performed by a finger.

[0079] For example, the screen adjustment information includes: first screen adjustment information and second screen adjustment information, wherein the first screen adjustment information is used for a scene in which a touch operation is performed by a stylus pen, and the second screen adjustment information is used for a scene in which a touch operation is performed by a finger. Then the sensitivity in the first screen adjustment information is higher than the sensitivity in the second screen adjustment information.

[0080] When the insertion and removal status of the stylus pen is the inserted state, it can be determined that the user is currently operating the touch screen with his fingers. The screen parameters of the touch screen can be adjusted according to the second screen adjustment information to configure the sensitivity of the touch screen to be suitable for the user to operate the touch screen with his fingers.

[0081] When the plug-in and unplugging status of the stylus pen is unplugged, it can be determined that the user is currently operating the touch screen with the stylus pen. The screen parameters of the touch screen can be adjusted according to the first screen adjustment information to configure the sensitivity of the touch screen to be suitable for the user to operate the touch screen with the stylus pen.

[0082] In some embodiments, due to special circumstances, for example, the stylus is not in the stylus slot, but the current touch operation is still the user operating the touch screen with a finger, then after determining that the stylus is in the unplugged state, in order to further improve the accuracy of the touch operation on the touch screen, it is possible to further detect whether the touch operation is currently being performed on the touch screen with a stylus. Specifically, it is possible to detect whether the most recent touch operation from the current time is a stylus operation or a finger operation. If it is a stylus operation, it can be determined that the current user is operating with a stylus, and then the screen parameters of the touch screen can be adjusted according to the screen adjustment information when the stylus is operating the touch screen.

[0083] Alternatively, it is possible to detect whether there is a touch operation within a preset time period from the current time interval. If no touch operation is detected, it can be determined that the current user does not need to perform a touch operation. In order to save terminal resources, the screen parameters of the touch screen can be adjusted according to the screen adjustment information when the finger operates the touch screen.

[0084] In some embodiments, due to special circumstances, for example, the stylus is in the stylus slot, but the current touch operation is still the user operating the touch screen with the stylus (other stylus), then after determining that the state of the stylus is the inserted state, in order to further improve the accuracy of the touch operation on the touch screen, it is also possible to further detect whether the touch screen is currently being touched by the stylus, that is, after the step of "determining the current plugging and unplugging state of the stylus in the stylus slot through the Hall device" and before the step of "adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information", the following steps may also be included:

[0085] When a touch operation on the touch screen is detected, obtaining a touch signal change amount generated by the touch operation on the touch screen;

[0086] Target screen adjustment information is determined based on the touch signal change amount.

[0087] In the embodiment of the present application, a touch signal is generated when a touch operation is performed on the touch screen by a stylus, a finger, or other means, and the amount of change of the touch operation generated when the touch screen is touched in different ways is different.

[0088] Since the contact area of ​​the touch screen when a finger is used to touch the touch screen is much larger than the contact area of ​​the touch screen when a stylus is used to touch the touch screen, the change in touch operation generated when a finger is used to touch the touch screen is greater than the change in touch operation generated when a stylus is used to touch the touch screen.

[0089] Furthermore, the touch mode of the current touch operation on the touch screen can be determined according to the change amount of the touch signal, and the target screen adjustment information is determined according to the touch mode.

[0090] In some embodiments, in order to improve the accuracy of adjusting the touch screen, the step of "determining the target screen adjustment information based on the touch signal change amount" may include the following operations:

[0091] If the touch signal change amount is greater than the first preset touch signal change amount, acquiring screen adjustment information corresponding to the insertion state to obtain target screen adjustment information;

[0092] If the touch signal change amount is less than or equal to the second preset touch signal change amount, the screen adjustment information corresponding to the plug-in and unplug-out state of the stylus pen is obtained to obtain the target screen adjustment information.

[0093] In an embodiment of the present application, when the stylus is in the stylus slot, it can be defaulted to finger operation. At this time, the touch signal change amount trigger value of the touch operation can be set to a first preset touch signal. That is, when the touch signal change amount > the first preset touch signal change amount, it can be determined that a touch event is executed on the touch screen. For example, the first preset touch signal change amount can be 150.

[0094] When the stylus is not in the stylus slot, it can be defaulted to stylus operation. At this time, the touch signal change trigger value of the touch operation can be set to the second preset touch signal, that is, when the touch signal change amount <= the first preset touch signal change amount, it can be determined that a touch event is executed on the touch screen. For example, the second preset touch signal change amount can be 100.

[0095] Further, when the acquired touch signal change amount is greater than the first preset touch signal change amount, it is determined that the current touch operation is a finger operation mode, and the screen adjustment information corresponding to the stylus being in the inserted state can be obtained to obtain the target screen adjustment information.

[0096] Alternatively, when the acquired touch signal change amount is less than or equal to the second preset touch signal change amount, it is determined that the current touch operation is a stylus operation mode, and the screen adjustment information corresponding to the stylus plug-in and unplug state being the unplugged state can be obtained to obtain the target screen adjustment information.

[0097] In some embodiments, in order to save power consumption of the terminal, after the step of "determining the current insertion and removal status of the stylus in the stylus slot by using the Hall device", the following steps may also be included:

[0098] Get the current display brightness of the terminal;

[0099] Adjust the current display brightness based on the current plug-in status

[0100] The current display brightness refers to the brightness value of the display screen of the current terminal.

[0101] In some embodiments, since the tip of the stylus pen is much smaller than the tip of a finger, when the user operates the touch screen with the stylus pen, in order to ensure the accuracy of the operation, the brightness of the terminal display needs to be increased. However, if the terminal display is always in a high brightness state, the power consumption of the terminal will increase. Therefore, in order to save the power consumption of the terminal, the brightness of the display can be adjusted according to the current plug-in status of the stylus pen.

[0102] For example, if the current plug-in state is the inserted state, the display brightness can be lowered, or if the current plug-in state is the unplugged state, the display brightness can be increased. In this way, the display brightness is automatically adjusted according to the plug-in state of the stylus, thereby improving the user experience and saving terminal power consumption.

[0103] The embodiment of the present application discloses a touch screen adjustment method, which includes: determining the current plug-in and unplug-out status of the stylus in the stylus slot through a Hall device; obtaining the target screen adjustment information corresponding to the current plug-in and unplug-out status; and adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information. The embodiment of the present application sets a Hall device in the stylus slot of the terminal, and detects the plug-in and unplug-out status of the stylus through the Hall device. When the plug-in and unplug-out status is the unplugged state, a higher sensitivity is set for the touch screen to provide touch operation with the stylus; when the plug-in and unplug-out status is the inserted state, a normal sensitivity is set for the touch screen to provide touch operation with the user's finger. In this way, the sensitivity of the touch screen is adjusted according to the different plug-in and unplug-out states of the stylus, thereby improving the touch performance of the touch screen of the terminal.

[0104] refer to Figure 2 , Figure 2 This is a flow chart of another touch screen adjustment method provided in an embodiment of the present application. Taking the touch screen adjustment method applied to a mobile phone as an example, the touch screen adjustment method can be as follows:

[0105] 201. The mobile phone detects the output level of the Hall device.

[0106] In an embodiment of the present application, a mobile phone includes a touch screen and a stylus slot, and the stylus slot is used to place a stylus, and the mobile phone is equipped with a stylus for performing touch operations on the touch screen. A Hall device is provided at the stylus slot, and the Hall device can be provided at various parts of the stylus slot, for example, the Hall device can be provided on the inner wall of the stylus slot. The stylus can be a magnetic stylus, and a magnet is provided inside the stylus so that when the stylus approaches the stylus slot, magnetic induction is generated with the Hall device at the stylus slot, so that the level of the Hall device changes, thereby determining the plug-in and unplug status of the stylus.

[0107] Specifically, during the process of turning on the mobile phone, the output level during the acquisition period can be monitored in real time.

[0108] 202. The mobile phone identifies whether the plug-in state of the stylus pen is a plug-out state according to the output level.

[0109] For example, if the output level is detected to be a high level, it can be determined that the plug-in state of the stylus pen is a pulled-out state, and step 203 can be further executed.

[0110] For another example, if the output level is detected to be a low level, it can be determined that the plug-in state of the stylus pen is an inserted state, that is, a not-plugged state, and step 204 can be further executed.

[0111] 203. The mobile phone adjusts screen parameters of the touch screen according to the first screen configuration information.

[0112] When the plug-in status of the stylus pen is unplugged, the register value of the stylus pen plug-in status can be set to 1. Furthermore, when the touch IC (Integrated Circuit) end of the mobile phone recognizes that the register value of the stylus pen plug-in status is set to 1, it is determined that the stylus pen is unplugged, and the screen parameters of the touch screen can be adjusted according to the first screen configuration information.

[0113] The first screen configuration information includes: touch front-end AFE (Analog Front End, analog front-end circuit module) circuit parameters, such as amplification factor, driving voltage, etc., and high sensitivity.

[0114] Specifically, the touch screen is adapted to high sensitivity through the first screen configuration information, and at the same time, a higher SNR (signal-to-noise ratio) is adapted to avoid interference noise, so as to facilitate the stylus to operate the touch screen.

[0115] 204. The mobile phone detects a change amount of a touch signal of a touch operation.

[0116] Specifically, when the mobile phone detects a touch operation on the touch screen, the touch signal change amount generated by the touch operation is obtained.

[0117] 205. The mobile phone determines whether the change amount of the touch signal is greater than a preset touch signal change amount.

[0118] Further, the mobile phone determines whether the change amount of the touch signal is greater than a preset change amount of the touch signal, wherein the preset change amount of the touch signal may be: 150.

[0119] For example, if it is detected that the change amount of the touch signal is greater than 150, it can be determined that the current operation is a touch operation of the user's finger on the touch screen, and step 206 can be executed.

[0120] For another example, if the detected touch signal change amount is less than or equal to 150, it can be determined that the current operation is a touch operation of the touch pen on the touch screen, and step 203 can be executed.

[0121] 206. The mobile phone adjusts screen parameters of the touch screen according to the second screen configuration information.

[0122] When the plug-in status of the stylus pen is the inserted state, the register value of the stylus pen plug-in status can be set to 0. Furthermore, when the touch IC end of the mobile phone recognizes that the register value of the stylus pen plug-in status is set to 0, it is determined that the stylus pen has not been unplugged, and the screen parameters of the touch screen can be adjusted according to the second screen configuration information.

[0123] The first screen configuration information includes: touch front-end AFE circuit parameters, such as amplification factor, driving voltage, etc., and standard sensitivity.

[0124] Specifically, the standard sensitivity and interference measures are adapted to the touch screen through the second screen configuration information to facilitate the user's finger operation on the touch screen.

[0125] In some embodiments, when the touch IC recognizes that the register of the plug-in and unplug status of the stylus is 0, when the touch IC recognizes that the touch signal similar to that of the stylus slides a certain distance (for example, 50 pixels), it can be considered that the touch screen is operated with another stylus. At this time, the touch IC can adapt a higher sensitivity and a higher SNR for the touch screen, taking into account the joint touch operation of the stylus and the user's finger. Furthermore, if the detected touch signal disappears and the disappearance time is greater than a certain time, the touch IC switches to normal sensitivity.

[0126] The embodiment of the present application discloses a touch screen adjustment method, which includes: a mobile phone detects the output level of a Hall device, identifies whether the plug-in state of the stylus pen is a plug-out state according to the output level, and if the plug-in state is a plug-out state, adjusts the screen parameters of the touch screen according to the first screen configuration information; if the plug-in state is not a plug-in state, detects the touch signal change amount of the touch operation, and if the touch signal change amount is greater than the preset touch signal change amount, adjusts the screen parameters of the touch screen according to the second screen configuration information; if the touch signal change amount is less than or equal to the preset touch signal change amount, adjusts the screen parameters of the touch screen according to the first screen configuration information. In this way, the touch performance of the terminal touch screen is improved.

[0127] In order to better implement the touch screen adjustment method provided in the embodiment of the present application, the embodiment of the present application also provides a device based on the above touch screen adjustment method. The meanings of the terms are the same as those in the above touch screen adjustment method, and the specific implementation details can refer to the description in the method embodiment.

[0128] See also Figure 3 , Figure 3 The structural block diagram of a touch screen adjustment device provided in an embodiment of the present application, the touch screen adjustment device can be applied to mobile terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (Portable Media Player, PMP), and fixed terminals such as desktop computers, the device includes:

[0129] A first determining unit 301 is used to determine the current insertion and removal status of the stylus pen in the stylus pen slot through the Hall device;

[0130] A first acquisition unit 302 is used to acquire target screen adjustment information corresponding to the current plug-in state;

[0131] The first adjustment unit 303 is configured to adjust screen parameters of the touch screen of the terminal based on the target screen adjustment information.

[0132] In some embodiments, the first adjustment unit 303 may include:

[0133] A first acquisition subunit, used for acquiring circuit adjustment information and sensitivity adjustment information in the target screen adjustment information;

[0134] A configuration subunit is used to configure the circuit parameters based on the circuit adjustment information, and to configure the sensitivity parameters based on the sensitivity adjustment information.

[0135] In some embodiments, the first determining unit 301 may include:

[0136] A detection subunit, used for detecting the output level of the Hall device;

[0137] A determination subunit is used to determine the current plug-in state according to the output level.

[0138] In some embodiments, the determining subunit is specifically configured to:

[0139] If the output level is a high level, determining that the current plug-in state is a pulled-out state;

[0140] If the output level is a low level, determining that the current plugging state is an insertion state;

[0141] If the output level is switched from the high level to the low level, determining that the current plug-in state is switched from the unplugged state to the plugged-in state;

[0142] If the output level is switched from the low level to the high level, it is determined that the current plug-in state is switched from the plug-in state to the unplugged state.

[0143] In some embodiments, the apparatus may further include:

[0144] a detection unit, configured to, when a touch operation on the touch screen is detected, obtain a touch signal change amount generated by the touch operation on the touch screen;

[0145] The second determining unit is configured to determine the target screen adjustment information based on the touch signal change amount.

[0146] In some embodiments, the second determining unit may include:

[0147] a second acquisition subunit, configured to acquire the screen adjustment information corresponding to the insertion state to obtain the target screen adjustment information if the touch signal change amount is greater than a first preset touch signal change amount;

[0148] The third acquisition subunit is used to acquire the screen adjustment information corresponding to the plug-in and unplug state of the stylus pen being the unplugged state if the touch signal change amount is less than or equal to the second preset touch signal change amount, and obtain the target screen adjustment information.

[0149] In some embodiments, the apparatus may further include:

[0150] A second acquisition unit, configured to acquire the current display brightness of the terminal;

[0151] The second adjustment unit is used to adjust the current display brightness based on the current plug-in state.

[0152] An embodiment of the present application discloses a touch screen adjustment device, which includes: a first determination unit 301 determines the current plug-in status of the stylus in the stylus slot through the Hall device, a first acquisition unit 302, used to obtain target screen adjustment information corresponding to the current plug-in status, and a first adjustment unit 303 adjusts the screen parameters of the touch screen of the terminal based on the target screen adjustment information, thereby improving the touch performance of the touch screen of the terminal.

[0153] The present application also provides a terminal. Figure 4 As shown, the terminal may include a radio frequency (RF) circuit 601, a memory 602 including one or more storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that Figure 4 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0154] The RF circuit 601 can be used for receiving and sending signals during the process of sending and receiving information. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 608 for processing; in addition, the uplink data is sent to the base station. Generally, the RF circuit 601 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 601 can also communicate with the network and other devices through wireless communication.

[0155] The memory 602 can be used to store software programs and modules, and the processor 608 executes various functional applications and touch screen adjustments by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 with access to the memory 602.

[0156] The input unit 603 can be used to receive input digital or character information, and to generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 603 may include a touch-sensitive surface and other input devices. The touch-sensitive surface, also known as a touch display screen or a touchpad, can collect user touch operations on or near it (such as operations performed by the user using any suitable object or accessory such as a finger, stylus, etc. on or near the touch-sensitive surface), and drive the corresponding connection device according to a pre-set program. In addition to the touch-sensitive surface, the input unit 603 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc.

[0157] The display unit 604 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the server, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 604 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch-sensitive surface may cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 608 to determine the type of touch event. The processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in Figure 4 In the embodiment, the touch-sensitive surface and the display panel are used as two independent components to realize input and output functions, but in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize input and output functions.

[0158] The terminal may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and the backlight when the server is moved to the ear.

[0159] The audio circuit 606, the speaker, and the microphone can provide an audio interface between the user and the server. The audio circuit 606 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 606 and converted into audio data, and then the audio data is processed by the output processor 608 and sent to, for example, a terminal through the RF circuit 601, or the audio data is output to the memory 602 for further processing. The audio circuit 606 may also include an earplug jack to provide communication between an external headset and the server.

[0160] WiFi is a short-range wireless transmission technology. The terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 607. It provides users with wireless broadband Internet access. Figure 4 A WiFi module 607 is shown, but it is understandable that it is not a necessary component of the terminal and can be omitted as needed without changing the essence of the application.

[0161] The processor 608 is the control center of the terminal, and uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and modules stored in the memory 602, and calling data stored in the memory 602, it executes various functions of the server and processes data, thereby monitoring the mobile phone as a whole. Optionally, the processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 608.

[0162] The terminal also includes a power supply 609 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 608 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 609 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0163] Specifically in this embodiment, the processor 608 in the terminal will load the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 608 will run the applications stored in the memory 602 to implement various functions:

[0164] Determine the current insertion and removal status of the stylus in the stylus slot through the Hall device;

[0165] Get the target screen adjustment information corresponding to the current plug-in and unplug status;

[0166] The screen parameters of the touch screen of the terminal are adjusted based on the target screen adjustment information.

[0167] The embodiment of the present application discloses a touch screen adjustment method, device, storage medium and terminal. The touch screen adjustment method includes: determining the current plug-in status of the stylus in the stylus slot through a Hall device; obtaining target screen adjustment information corresponding to the current plug-in status; adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information, so as to improve the touch performance of the touch screen of the terminal.

[0168] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a storage medium and loaded and executed by a processor.

[0169] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any touch screen adjustment method provided in the embodiment of the present application. For example, the instructions can execute the following steps:

[0170] The current insertion and removal state of the stylus in the stylus slot is determined by a Hall device; target screen adjustment information corresponding to the current insertion and removal state is obtained; and screen parameters of the touch screen of the terminal are adjusted based on the target screen adjustment information.

[0171] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0172] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0173] Since the instructions stored in the storage medium can execute the steps in any touch screen adjustment method provided in the embodiments of the present application, the beneficial effects that can be achieved by any touch screen adjustment method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0174] The touch screen adjustment method, device, storage medium and terminal provided in the embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A touch screen adjustment method, It is characterized in that Applied to a terminal, the terminal includes a stylus slot for placing a stylus, the stylus slot is provided with a Hall device, the Hall device is used to detect the plug-in and unplug status of the stylus, the method includes: Determining a current insertion or removal status of the stylus pen in the stylus pen slot by using the Hall device; Obtaining target screen adjustment information corresponding to the current plug-in / plug-out state; After determining that the current plug-in state is the unplugged state, detecting whether there is a touch operation within a preset time period from the current time interval, and if no touch operation is detected, adjusting the screen parameters of the terminal according to the screen adjustment information when the finger operates the terminal; After determining the current insertion and removal status of the stylus in the stylus slot by the Hall device, the method further includes: Obtaining the current display brightness of the terminal; The current display brightness is adjusted based on the current plug-in status.

2. The method according to claim 1, It is characterized in that The screen parameters at least include: circuit parameters and sensitivity parameters; The adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information includes: Acquiring circuit adjustment information and sensitivity adjustment information in the target screen adjustment information; The circuit parameters are configured based on the circuit adjustment information, and the sensitivity parameters are configured based on the sensitivity adjustment information.

3. The method according to claim 1, It is characterized in that The determining the current plug-in / out state of the stylus pen in the terminal by using the Hall device includes: Detecting the output level of the Hall device; The current plugging and unplugging state is determined according to the output level.

4. The method according to claim 3, It is characterized in that The determining the current plugging and unplugging state according to the output level comprises: If the output level is a high level, determining that the current plug-in state is a pulled-out state; If the output level is a low level, determining that the current plugging state is an insertion state; If the output level is switched from the high level to the low level, determining that the current plug-in state is switched from the unplugged state to the plugged-in state; If the output level is switched from the low level to the high level, it is determined that the current plug-in state is switched from the plug-in state to the unplugged state.

5. The method according to claim 1, It is characterized in that The current plug-in state is the plug-in state; After determining the current insertion and removal status of the stylus in the stylus slot by the Hall device, and before adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information, the method further includes: When a touch operation on the touch screen is detected, acquiring a touch signal change amount generated by the touch operation on the touch screen; The target screen adjustment information is determined based on the touch signal change amount.

6. The method according to claim 5, It is characterized in that The determining the target screen adjustment information based on the touch signal change amount includes: If the touch signal change amount is greater than the first preset touch signal change amount, acquiring the screen adjustment information corresponding to the insertion state to obtain the target screen adjustment information; If the touch signal change amount is less than or equal to the second preset touch signal change amount, the screen adjustment information corresponding to the plug-in and unplug-out state of the stylus pen is obtained to obtain the target screen adjustment information.

7. A touch screen adjustment device, It is characterized in that Applied to a terminal, the terminal comprises a stylus slot for placing a stylus, the stylus slot is provided with a Hall device, the Hall device is used to detect the plug-in and unplug status of the stylus, and the device comprises: A first determining unit, configured to determine a current insertion or removal state of the stylus pen in the stylus pen slot by using the Hall device; A first acquisition unit, used to acquire target screen adjustment information corresponding to the current plug-in state; A first adjustment unit is used to detect whether there is a touch operation within a preset time period from a current time interval after determining that the current plug-in state is an unplugged state, and if no touch operation is detected, adjust the screen parameters of the terminal according to the screen adjustment information when the finger operates the terminal; A second acquisition unit, used to acquire the current display brightness of the terminal; The second adjustment unit is used to adjust the current display brightness based on the current plug-in state.

8. A storage medium, It is characterized in that The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the touch screen adjustment method according to any one of claims 1 to 6.

9. A terminal, It is characterized in that It includes a processor, a memory, a stylus slot for placing a stylus, the stylus slot is provided with a Hall device, the Hall device is used to detect the plug-in and unplug status of the stylus, the memory stores multiple instructions, and the processor loads the instructions to execute the touch screen adjustment method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for automatically adjusting sensitivity of touch screen

    CN101923408A

  • Sensitivity control as a function of touch shape

    CN101943968A

  • User terminal device with pen and controlling method thereof

    CN105229590A

  • Touch pen and mobile-terminal touch pen status detection device and method

    CN107247521A

  • Screen brightness adjusting method and electronic equipment

    CN110956939A