CN113835555A - Touch screen adjusting method and device, storage medium and terminal - Google Patents

Touch screen adjusting method and device, storage medium and terminal Download PDF

Info

Publication number
CN113835555A
CN113835555A CN202111109032.1A CN202111109032A CN113835555A CN 113835555 A CN113835555 A CN 113835555A CN 202111109032 A CN202111109032 A CN 202111109032A CN 113835555 A CN113835555 A CN 113835555A
Authority
CN
China
Prior art keywords
touch
screen
state
adjustment information
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111109032.1A
Other languages
Chinese (zh)
Inventor
郭恒军
赵允国
贾宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202111109032.1A priority Critical patent/CN113835555A/en
Publication of CN113835555A publication Critical patent/CN113835555A/en
Priority to PCT/CN2022/108935 priority patent/WO2023045560A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04162Control or interface arrangements specially adapted for digitisers for exchanging data with external devices, e.g. smart pens, via the digitiser sensing hardware

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a touch screen adjusting method and device, a storage medium and a terminal. According to the scheme, the Hall device is arranged in the touch pen slot of the terminal, the plugging and unplugging state of the touch pen is detected through the Hall device, and when the plugging and unplugging state is the unplugging state, higher sensitivity is set for the touch screen for touch operation of the touch pen; and when the plugging state is the plugging state, setting normal sensitivity for the touch screen so as to provide finger touch operation for a user. Therefore, the sensitivity of the touch screen is adjusted according to different plugging states of the touch pen, and therefore the touch performance of the touch screen of the terminal can be improved.

Description

Touch screen adjusting method and device, storage medium and terminal
Technical Field
The application relates to the field of terminal application, in particular to a touch screen adjusting method and device, a storage medium and a terminal.
Background
With the rapid development of science and technology, a touch screen is generally used as an operation interface of a terminal, and in order to improve the speed and accuracy of a user operating the touch screen, a touch pen can be configured for the terminal, and the user can perform input operation through the touch pen.
In the related art, the sensitivity of the touch screen is set to be high, and then whether the touch screen is currently operated by a touch pen is identified by detecting the capacitance change of the touch screen matrix, but automatic mistaken touch of the display screen is easily caused, so that the touch performance of the terminal is influenced.
Disclosure of Invention
The embodiment of the application provides a touch screen adjusting method and device, a storage medium and a terminal, and the touch performance of a touch screen of the terminal can be improved.
The embodiment of the application provides a touch screen adjusting method, which comprises the following steps:
determining the current plugging state of the stylus in the stylus slot through the Hall device;
acquiring target screen adjustment information corresponding to the current plugging state;
and adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information.
Correspondingly, this application embodiment still provides a touch-control screen adjusting device, includes:
the first determining unit is used for determining the current plugging state of the touch pen in the touch pen slot through the Hall device;
the first acquisition unit is used for acquiring target screen adjustment information corresponding to the current plugging state;
and the first adjusting unit is used for adjusting the screen parameters of the touch screen of the terminal based on the target screen adjusting information.
In some embodiments, the first adjusting unit includes:
a first acquiring subunit, configured to acquire circuit adjustment information and sensitivity adjustment information in the target screen adjustment information;
a configuration subunit, configured to configure the circuit parameter based on the circuit adjustment information, and configure the sensitivity parameter based on the sensitivity adjustment information.
In some embodiments, the first determination unit comprises:
the detection subunit is used for detecting the output level of the Hall device;
and the determining subunit is used for determining the current plugging state according to the output level.
In some embodiments, the determining subunit is specifically configured to:
if the output level is a high level, determining that the current plugging state is a plugging state;
if the output level is a low level, determining that the current plugging state is a plugging state;
if the output level is switched from the high level to the low level, determining that the current plugging state is switched from the unplugging state to the plugging state;
and if the output level is switched from the low level to the high level, determining that the current plugging state is switched from the plugging state to the unplugging state.
In some embodiments, the apparatus further comprises:
the detection unit is used for acquiring a touch signal change quantity generated by the touch operation on the touch screen when the touch operation on the touch screen is detected;
a second determining unit configured to determine the target screen adjustment information based on the amount of change in the touch signal.
In some embodiments, the second determination unit comprises:
the second obtaining subunit is configured to obtain, if the touch signal change amount is greater than a first preset touch signal change amount, screen adjustment information corresponding to the insertion state, to obtain the target screen adjustment information;
and the third obtaining subunit is configured to obtain, if the touch signal change amount is smaller than or equal to a second preset touch signal change amount, screen adjustment information corresponding to a state in which the stylus is plugged and unplugged, and obtain the target screen adjustment information.
In some embodiments, the apparatus further comprises:
the second acquisition unit is used for acquiring the current display brightness of the terminal;
and the second adjusting unit is used for adjusting the current display brightness based on the current plugging state.
Correspondingly, the embodiment of the application also provides a storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute the touch screen adjusting method.
Correspondingly, the embodiment of the application further provides a terminal, which comprises a processor, a memory and a touch pen slot for placing the touch pen, wherein the touch pen slot is provided with a hall device, the hall device is used for detecting the plugging and unplugging state of the touch pen, the memory stores a plurality of instructions, and the processor loads the instructions to execute the touch screen adjusting method.
According to the touch control method and the touch control device, the Hall device is arranged in the touch control pen slot of the terminal, the plugging and unplugging state of the touch control pen is detected through the Hall device, and when the plugging and unplugging state is the unplugging state, higher sensitivity is set for the touch control screen for touch control operation of the touch control pen; and when the plugging state is the plugging state, setting normal sensitivity for the touch screen so as to provide finger touch operation for a user. Therefore, the sensitivity of the touch screen is adjusted according to different plugging states of the touch pen, and therefore the touch performance of the touch screen of the terminal can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a touch screen adjustment method according to an embodiment of the present disclosure.
Fig. 2 is a schematic flowchart of another touch screen adjustment method according to an embodiment of the present disclosure.
Fig. 3 is a block diagram of a touch screen adjustment device according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Based on the above problems, embodiments of the present application provide a method and an apparatus for adjusting a touch screen, a storage medium, and a terminal, which can improve the touch performance of the touch screen of the terminal. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a touch screen adjustment method according to an embodiment of the present disclosure. The touch screen adjusting method may be applied to mobile terminals such as mobile phones, tablet computers, notebook computers, palmtop computers, Portable Media Players (PMPs), and fixed terminals such as desktop computers. The specific flow of the touch screen adjusting method can be as follows:
101. and determining the current plugging state of the stylus in the stylus slot through the Hall device.
In the embodiment of the present application, the terminal may include a touch screen, a stylus slot, and the like. When a graphic button on the screen is touched, a tactile feedback system on the screen can drive various connecting devices according to a pre-programmed program, so that the touch screen can replace a mechanical button panel and can produce vivid video and audio effects by means of a liquid crystal display picture.
The stylus slot is used for placing a stylus, and the stylus (stylus or stylus pen) is a small pen-shaped tool used for inputting instructions to a computer screen, a mobile device, a drawing board and other devices with a touch screen, and a user can select a file or draw a picture by clicking the touch screen with the stylus.
Specifically, in the embodiment of the present application, in order to accurately identify an object performing touch operation on the terminal touch screen, a hall device may be disposed inside the stylus slot, and a magnet may be disposed inside the stylus slot, when the stylus is inserted into or pulled out of the stylus slot, the magnet inside the stylus may generate an induction with the hall device, so as to identify whether the stylus is pulled out by using a hall magnetic field effect of the stylus slot, and further determine whether the object performing touch operation on the terminal touch screen is the stylus.
Among them, the hall device refers to a solid-state electronic device using a hall effect. The Hall effect refers to: a rectangular conductor or semiconductor material passes through a test piece in a magnetic field with the magnetic induction intensity Bz in a direction perpendicular to the magnetic field, and an electric field Ey is generated in a direction perpendicular to the magnetic field Bz and the current Ix.
In some embodiments, in order to improve the accuracy of the current touch operation identification, the step "determining the current plugging state of the stylus pen in the terminal through the hall device" may include the following operations:
detecting the output level of the Hall device;
and determining the current plugging state according to the output level.
The output level is a level signal of an output signal of the matrix switch. In the embodiment of the present application, a TTL (transistor-transistor logic level) level signal may be used, and the TTL level signal generally represents data in binary, for example, +5V (volt) is equivalent to logic "1", 0V is equivalent to logic "0", specifically, logic "1" may represent high level, and logic "0" may represent low level.
Further, it is determined whether the output level is a high level or a low level according to the data of the detected output level. For example, if the data of the detected output level is logic "1", the output level is determined to be a high level; if the detected data of the output level is logic "0", it is determined that the output level is a low level.
In some embodiments, the insertion/extraction state of the stylus may be determined according to the output level, and the step "determining the current insertion/extraction state according to the output level" may include:
if the output level is a high level, determining that the current plugging state is a plugging state;
if the output level is a low level, determining that the current plugging state is a plugging state;
if the output level is switched from a high level to a low level, determining that the current plugging state is switched from a unplugging state to a plugging state;
and if the output level is switched from the low level to the high level, determining that the current plugging state is switched from the plugging state to the unplugging state.
In this embodiment of the application, when the output level of the hall device is a high level, it indicates that the magnet in the stylus pen is not sensed, and it may be determined that the current plugging/unplugging state is a unplugging state, where the unplugging state indicates that the stylus pen is not placed in the stylus pen slot.
When the output level of the hall device is low level, indicating that the magnet in the stylus is sensed, the current plugging state can be determined to be the plugging state, and the plugging state indicates that the stylus is placed in the stylus slot.
Or when the output level of the Hall device changes, the current plugging state is determined according to the change condition of the output level.
Specifically, when it is detected that the output level of the hall device changes from the high level to the low level, it indicates that the current plugging state is: the state is switched from the pull-out state to the plug-in state, namely the current touch pen is dynamically plugged into the touch pen slot.
When it is detected that the output level of the hall device changes from the low level to the high level, it indicates that the current plugging state is: the insertion state is switched to the extraction state, that is, the current stylus is dynamically extracted from the stylus slot.
102. And acquiring target screen adjustment information corresponding to the current plugging state.
In the embodiment of the application, a plurality of pieces of screen adjustment information can be designed in advance, and each piece of screen adjustment information corresponds to one plugging and unplugging state. The screen adjustment information includes a plurality of screen parameters and an adjustment value corresponding to each screen parameter.
For example, the pieces of screen adjustment information may be: first screen adjustment information, second screen adjustment information and the like, third screen adjustment information, fourth screen adjustment information and the like, the plug-in state can include: an insertion state, a removal state, a switch from the insertion state to the removal state, a switch from the removal state to the insertion state, and the like. Wherein the first screen adjustment information may be configured for the plugged-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 plugged-in state to the unplugged state, and the fourth configuration information may be configured for switching from the unplugged state to the plugged-in state. If the current plugging state is the plugging state, the target screen adjustment information corresponding to the current plugging state can be determined to be the second screen adjustment information.
Different screen adjusting parameters are configured for different plugging states of the touch pen, so that the accuracy of touch operation detection of the touch screen is improved.
103. And adjusting screen parameters of a touch screen of the terminal based on the target screen adjustment information.
After the target screen adjusting information corresponding to the current plugging state is determined, the screen parameters of the touch screen of the terminal can be adjusted through the target screen adjusting information.
In some embodiments, the screen parameters of the touch screen of the terminal may include: the circuit parameters and the sensitivity parameters, in order to improve the touch screen parameter adjustment accuracy, the step "adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information" may include the following operations:
acquiring circuit adjustment information and sensitivity adjustment information in target screen adjustment information;
configuring circuit parameters based on circuit adjustment information and configuring sensitivity parameters based on sensitivity adjustment information
The target screen adjustment information comprises circuit parameters and sensitivity parameters, circuit parameter adjustment values corresponding to the circuit parameters and sensitivity parameter adjustment values corresponding to the sensitivity parameters. The circuit parameter adjustment value corresponding to the circuit parameter represents circuit adjustment information, and the sensitivity parameter adjustment value corresponding to the sensitivity parameter represents sensitivity adjustment information.
Furthermore, a circuit parameter adjusting value corresponding to the circuit parameter is configured for the circuit parameter, and a sensitivity parameter adjusting value corresponding to the sensitivity parameter is configured for the sensitivity parameter, so that the adjustment of the screen parameter of the touch screen can be completed.
For example, in the target screen adjustment information, the circuit parameter adjustment value may be: the first circuit parameter adjustment value, the sensitivity parameter adjustment value may be: the first sensitivity parameter adjustment value may configure a first circuit parameter adjustment value for the circuit parameter, and configure a first sensitivity parameter adjustment value for the sensitivity parameter.
In this embodiment of the application, when a user operates the touch screen of the terminal, the touch screen may be touch-controlled by a stylus or a finger, and since a contact area of the touch screen through the stylus is smaller than a contact area of the touch screen through the finger, the sensitivity of the touch screen needs to be set higher when the touch screen is operated by the stylus, so as to improve the accuracy of the stylus operation.
However, when the user operates the touch screen through the finger, the accuracy of the operation of the finger on the touch screen can be ensured without high sensitivity. Therefore, in the embodiment of the present application, two sets of screen adjustment information may be designed, where one set of screen adjustment information may be used in a scenario where a touch operation is performed by a stylus, and another set of screen adjustment information may be used in a scenario where a touch operation is performed by a finger.
Wherein a sensitivity value in the screen adjustment information for a scene where the touch operation is performed by the stylus pen is higher than a sensitivity value in the screen adjustment information for a scene where the touch operation is performed by the finger.
For example, the screen adjustment information includes: the touch screen comprises first screen adjusting information and second screen adjusting information, wherein the first screen adjusting information is used for a scene of touch operation through a touch pen, and the second screen adjusting information is used for a scene of touch operation through fingers. The sensitivity in the first screen adjustment information is higher than the sensitivity in the second screen adjustment information.
When the plugging state of the touch pen is the plugging state, it can be determined that the touch screen is operated by the user through the finger currently, the screen parameter of the touch screen can be adjusted according to the second screen adjustment information, and the sensitivity of the touch screen is configured to be suitable for the user to operate the touch screen through the finger.
When the plugging state of the touch pen is the plugging state, it can be determined that the touch screen is currently operated by the user through the touch pen, the screen parameters of the touch screen can be adjusted according to the first screen adjustment information, and the sensitivity of the touch screen is configured to be suitable for the user to operate the touch screen through the touch pen.
In some embodiments, since there is a special condition, for example, the stylus is not in the stylus slot, but the current touch operation is still the touch screen operated by the user through the finger, after determining that the state of the stylus is the pull-out state, in order to further improve the accuracy of the touch operation on the touch screen, it may be further detected whether the current touch operation is performed on the touch screen through the stylus. Specifically, whether the touch operation which is the latest time from the current time is the stylus operation or the finger operation may be detected, if the touch operation is the stylus operation, it may be determined that the current user operates through the stylus pen, and then the screen parameter of the touch screen may be adjusted according to the screen adjustment information when the touch screen is operated by the stylus pen.
Or, whether touch operation exists within a preset time period from the current time interval may be detected, if touch operation is not detected, it may be determined that the current user does not need to perform touch operation, and in order to save terminal resources, the screen parameter of the touch screen may be adjusted according to the screen adjustment information when the touch screen is operated by the finger.
In some embodiments, since there is a special situation, for example, the stylus is in the stylus slot, but the current touch operation is still the user operating the touch screen through the stylus (other stylus), after determining that the state of the stylus is the insertion state, in order to further improve the accuracy of the touch operation on the touch screen, it may further detect whether the touch operation is currently performed on the touch screen through the stylus, that is, after the step "determining the current insertion and extraction state of the stylus in the stylus slot through the hall device", and before the step "adjusting the screen parameter of the touch screen of the terminal based on the target screen adjustment information", the following steps may be further included:
when touch operation on the touch screen is detected, acquiring a touch signal change quantity generated by the touch operation on the touch screen;
target screen adjustment information is determined based on the amount of change in the touch signal.
In the embodiment of the application, a touch signal is generated when a touch operation is performed on the touch screen by a stylus or a finger or other methods, and the touch operation change amounts generated when the touch operation is performed on the touch screen by different methods are different.
Because the contact area of the touch screen touched by the finger is far larger than that of the touch screen touched by the stylus, the touch operation change amount generated when the touch screen touched by the finger is larger than that generated when the touch screen touched by the stylus.
Furthermore, the touch control mode of the touch control operation on the touch control screen at present can be determined according to the touch control signal change amount, so that the target screen adjustment information is determined according to the touch control mode.
In some embodiments, in order to improve the accuracy of the adjustment to the touch screen, the step "determining the target screen adjustment information based on the amount of change of the touch signal" may include the following operations:
if the touch signal variation is larger than the first preset touch signal variation, screen adjustment information corresponding to the insertion state is obtained, and target screen adjustment information is obtained;
if the touch signal variation is smaller than or equal to a second preset touch signal variation, screen adjustment information corresponding to the condition that the plugging state of the touch pen is the plugging state is obtained, and target screen adjustment information is obtained.
In the embodiment of the present application, when the stylus pen is in the stylus pen slot, the finger operation may be defined as the default, and at this time, the touch signal change amount trigger value of the touch operation may be set to the first preset touch signal, that is, when the touch signal change amount > the first preset touch signal change amount, it may be determined that the touch event is performed on the touch screen, for example, the first preset touch signal change amount may be 150.
When the stylus pen is not in the stylus pen slot, the stylus pen operation may be defined as the stylus pen operation by default, and at this time, the touch signal change amount trigger value of the touch operation may be set to the second preset touch signal, that is, when the touch signal change amount is less than the first preset touch signal change amount, it may be determined that the touch event is performed on the touch screen, for example, the second preset touch signal change amount may be 100.
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 the finger operation mode, and then the screen adjustment information corresponding to the insertion state of the stylus pen can be acquired, so as to obtain the target screen adjustment information.
Or when the acquired touch signal change amount is smaller than or equal to a second preset touch signal change amount, determining that the current touch operation is a stylus operation mode, and acquiring screen adjustment information corresponding to a pull-out state of the stylus so as to acquire target screen adjustment information.
In some embodiments, in order to save power consumption of the terminal, after the step "determining the current inserting and pulling state of the stylus in the stylus slot by the hall device", the following steps may be further included:
acquiring the current display brightness of the terminal;
adjusting current display brightness based on current plug state
Wherein, the current display brightness refers to the brightness value of the display screen of the current terminal.
In some embodiments, since the size of the tip of the stylus is much smaller than the size of the finger, when the user operates the touch screen through the stylus, in order to ensure the operation accuracy, the brightness of the display screen of the terminal needs to be increased. However, the terminal power consumption is increased when the terminal display screen is always in the high-brightness state, and therefore, in order to save the terminal power consumption, the brightness of the display screen can be adjusted according to the current plugging state of the stylus.
For example, if the current plugging state is the plugging state, the brightness of the display screen can be adjusted to be low, or if the current plugging state is the plugging state, the brightness of the display screen can be adjusted to be high, so that the brightness of the display screen can be automatically adjusted according to the plugging state of the stylus pen, the user experience is improved, and meanwhile, the power consumption of the terminal is saved.
The embodiment of the application discloses a touch screen adjusting method, which comprises the following steps: determining the current plugging state of the stylus in the stylus slot through the Hall device; acquiring target screen adjustment information corresponding to the current plugging state; and adjusting screen parameters of a touch screen of the terminal based on the target screen adjustment information. According to the touch control method and the touch control device, the Hall device is arranged in the touch control pen slot of the terminal, the plugging and unplugging state of the touch control pen is detected through the Hall device, and when the plugging and unplugging state is the unplugging state, higher sensitivity is set for the touch control screen for touch control operation of the touch control pen; and when the plugging state is the plugging state, setting normal sensitivity for the touch screen so as to provide finger touch operation for a user. Therefore, the sensitivity of the touch screen is adjusted according to different plugging states of the touch pen, and therefore the touch performance of the touch screen of the terminal can be improved.
Referring to fig. 2, fig. 2 is a schematic flowchart of another touch screen adjustment method according to an embodiment of the present disclosure. Taking the touch screen adjusting method applied to a mobile phone as an example, the touch screen adjusting method may be as follows:
201. the mobile phone detects the output level of the Hall device.
In the embodiment of the application, the mobile phone includes a touch screen and a touch pen slot, the touch pen slot is used for placing a touch pen, and the mobile phone is configured with the touch pen for performing touch operation on the touch screen. The hall devices may be disposed at various positions of the stylus slot, for example, the hall devices may be disposed on an inner wall of the stylus slot. The touch pen can be a magnetic touch pen, and the magnet is arranged inside the touch pen, so that when the touch pen is close to the touch pen groove, magnetic induction is generated between the magnetic touch pen and the Hall device at the touch pen groove, the level of the Hall device is changed, and the plugging and unplugging state of the touch pen can be judged.
Specifically, in the process of starting the mobile phone, the output level during the acquisition period can be monitored in real time.
202. And the mobile phone identifies whether the plugging state of the touch pen is the plugging state or not according to the output level.
For example, if the output level is detected to be a high level, it may be determined that the inserting/pulling state of the stylus pen is a pulling state, and step 203 may be further performed.
For another example, if the output level is detected to be a low level, it may be determined that the inserting/pulling state of the stylus pen is an inserting state, that is, a non-pulling state, and step 204 may be further performed.
203. And the mobile phone adjusts the screen parameters of the touch screen according to the first screen configuration information.
When the inserting and pulling state of the stylus is the pulling state, the register value of the inserting and pulling state of the stylus can be set to 1, and further, when the touch IC (Integrated Circuit) end of the mobile phone recognizes that the register value of the inserting and pulling state of the stylus is set to 1, it is determined that the stylus is pulled out, and then the screen parameter of the touch screen can be adjusted according to the first screen configuration information.
Wherein the first screen configuration information includes: touch Front End AFE (Analog Front End) circuit parameters such as amplification factor, driving voltage, etc., and high sensitivity.
Specifically, high sensitivity is adapted to the touch screen through the first screen configuration information, and interference noise is avoided by adapting to a higher SNR (signal to noise ratio) so as to facilitate the operation of the touch screen by the touch pen.
204. The mobile phone detects a touch signal change amount of the touch operation.
Specifically, when the mobile phone detects a touch operation on the touch screen, a touch signal change amount generated by the touch operation is obtained.
205. The mobile phone judges whether the touch signal variation is larger than a preset touch signal variation.
Further, the mobile phone determines whether the variation of the touch signal is greater than a predetermined variation of the touch signal. The preset touch signal variation may be: 150.
for example, if it is detected that the change amount of the touch signal is greater than 150, it may be determined that the touch operation of the user finger on the touch screen is currently performed. Step 206 may be performed.
For another example, if it is detected that the amount of change of the touch signal is less than or equal to 150, it may be determined that the touch operation of the touch pen on the touch screen is currently performed. Step 203 may be performed.
206. And the mobile phone adjusts the screen parameters of the touch screen according to the second screen configuration information.
When the inserting and pulling state of the stylus is the inserting state, the register value of the inserting and pulling state of the stylus can be set to be 0, further, when the touch IC terminal of the mobile phone recognizes that the register value of the inserting and pulling state of the stylus is set to be 0, it is determined that the stylus is not pulled out, and then the screen parameter of the touch screen can be adjusted according to the second screen configuration information.
Wherein the first screen configuration information includes: touch front end AFE circuit parameters such as amplification factor, drive voltage, etc., and standard sensitivity.
Specifically, the standard sensitivity and the interference measure are adapted to the touch screen through the second screen configuration information, so that the user can operate the touch screen conveniently.
In some embodiments, when the register in which the touch IC identifies the plugging/unplugging state of the stylus is 0, and after the touch IC identifies that the touch signal similar to the stylus slides for a certain distance (for example, 50 pixels), it may be considered that the touch screen is operated by another stylus, at this time, the touch IC may adapt to a higher sensitivity and a higher SNR for the touch screen, and consider the common touch operation of the stylus and the finger of the user, and further, if the detected touch signal disappears and the disappearance time is longer than a certain time, the touch IC switches to the normal sensitivity.
The embodiment of the application discloses a touch screen adjusting method, which comprises the following steps: the mobile phone detects the output level of the Hall device, identifies whether the plugging state of the touch pen is the plugging state or not according to the output level, and adjusts the screen parameters of the touch screen according to the first screen configuration information if the plugging state is the plugging state; if the plugging state is not the plugging state, detecting a touch signal variation of the detected touch operation, and if the touch signal variation is larger than a preset touch signal variation, adjusting screen parameters of the touch screen according to the second screen configuration information; and if the touch signal variation is smaller than or equal to the preset touch signal variation, adjusting the screen parameters of the touch screen according to the first screen configuration information. Therefore, the touch performance of the terminal touch screen is improved.
In order to better implement the touch screen adjusting method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the touch screen adjusting method. The meaning of the noun is the same as that in the above touch screen adjusting method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 3, fig. 3 is a block diagram of a touch screen adjustment apparatus according to an embodiment of the present disclosure, where the touch screen adjustment apparatus can be applied to a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Portable Media Player (PMP), and a fixed terminal such as a desktop computer, and the apparatus includes:
a first determining unit 301, configured to determine, through the hall device, a current plugging/unplugging state of the stylus in the stylus slot;
a first obtaining unit 302, configured to obtain target screen adjustment information corresponding to the current plugging/unplugging state;
a first adjusting unit 303, configured to adjust a screen parameter of a touch screen of the terminal based on the target screen adjustment information.
In some embodiments, the first adjusting unit 303 may include:
a first acquiring subunit, configured to acquire circuit adjustment information and sensitivity adjustment information in the target screen adjustment information;
a configuration subunit, configured to configure the circuit parameter based on the circuit adjustment information, and configure the sensitivity parameter based on the sensitivity adjustment information.
In some embodiments, the first determining unit 301 may include:
the detection subunit is used for detecting the output level of the Hall device;
and the determining subunit is used for determining the current plugging state according to the output level.
In some embodiments, the determining subunit is specifically configured to:
if the output level is a high level, determining that the current plugging state is a plugging state;
if the output level is a low level, determining that the current plugging state is a plugging state;
if the output level is switched from the high level to the low level, determining that the current plugging state is switched from the unplugging state to the plugging state;
and if the output level is switched from the low level to the high level, determining that the current plugging state is switched from the plugging state to the unplugging state.
In some embodiments, the apparatus may further comprise:
the detection unit is used for acquiring a touch signal change quantity generated by the touch operation on the touch screen when the touch operation on the touch screen is detected;
a second determining unit configured to determine the target screen adjustment information based on the amount of change in the touch signal.
In some embodiments, the second determination unit may include:
the second obtaining subunit is configured to obtain, if the touch signal change amount is greater than a first preset touch signal change amount, screen adjustment information corresponding to the insertion state, to obtain the target screen adjustment information;
and the third obtaining subunit is configured to obtain, if the touch signal change amount is smaller than or equal to a second preset touch signal change amount, screen adjustment information corresponding to a state in which the stylus is plugged and unplugged, and obtain the target screen adjustment information.
In some embodiments, the apparatus may further comprise:
the second acquisition unit is used for acquiring the current display brightness of the terminal;
and the second adjusting unit is used for adjusting the current display brightness based on the current plugging state.
The embodiment of the application discloses touch screen adjusting device, this touch screen adjusting device includes: the first determining unit 301 determines a current plugging state of the stylus in the stylus slot through the hall device, the first obtaining unit 302 is configured to obtain target screen adjustment information corresponding to the current plugging state, and the first adjusting unit 303 adjusts a screen parameter of the touch screen of the terminal based on the target screen adjustment information, so that the touch performance of the touch screen of the terminal can be improved.
The embodiment of the application also provides a terminal. As shown in fig. 4, 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 the terminal configuration shown in fig. 4 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during the process of transmitting and receiving information, and in particular, for processing the received downlink information of the base station by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, 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, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications.
The memory 602 may be used to store software programs and modules, and the processor 608 may execute various functional applications and touchscreen adjustments by executing the software programs and modules stored in the memory 602. The memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, 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, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the server, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 4 the touch-sensitive surface and the display panel are shown as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and the backlight when the server moves to the ear.
Audio circuitry 606, speakers, and microphones may provide an audio interface between the user and the server. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal 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, which is then processed by the audio data output processor 608, and then passed through the RF circuit 601 to be sent to, for example, a terminal, or the audio data is output to the memory 602 for further processing. The audio circuitry 606 may also include an ear-bud jack to provide communication of peripheral headphones with the server.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 4 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the server and processes data by operating or executing software programs and modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions:
determining the current plugging state of the stylus in the stylus slot through the Hall device;
acquiring target screen adjustment information corresponding to the current plugging state;
and adjusting screen parameters of a touch screen of the terminal based on the target screen adjustment information.
The embodiment of the application discloses a touch screen adjusting method and device, a storage medium and a terminal. The touch screen adjusting method comprises the following steps: determining the current plugging state of the stylus in the stylus slot through the Hall device; acquiring target screen adjustment information corresponding to the current plugging state; the screen parameters of the touch screen of the terminal are adjusted based on the target screen adjustment information, and the touch performance of the touch screen of the terminal can be improved.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, which may be stored in a storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the touch screen adjustment methods provided in the present application. For example, the instructions may perform the steps of:
determining the current plugging state of the stylus in the stylus slot through the Hall device; acquiring target screen adjustment information corresponding to the current plugging state; and adjusting screen parameters of a touch screen of the terminal based on the target screen adjustment information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
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, which are detailed in the foregoing embodiments and will not be described herein again.
The touch screen adjustment method, the touch screen adjustment device, the storage medium and the terminal provided by the embodiment of the application are described in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The method for adjusting the touch screen is applied to a terminal, the terminal comprises a touch pen groove used for placing a touch pen, the touch pen groove is provided with a Hall device, the Hall device is used for detecting the plugging state of the touch pen, and the method comprises the following steps:
determining the current plugging state of the stylus in the stylus slot through the Hall device;
acquiring target screen adjustment information corresponding to the current plugging state;
and adjusting the screen parameters of the touch screen of the terminal based on the target screen adjustment information.
2. The method of claim 1, wherein the screen parameters comprise at least: a circuit parameter and a sensitivity parameter;
the adjusting the screen parameters of the touch screen of the terminal based on the target screen adjusting information comprises:
acquiring circuit adjustment information and sensitivity adjustment information in the target screen adjustment information;
configuring the circuit parameters based on the circuit adjustment information, and configuring the sensitivity parameters based on the sensitivity adjustment information.
3. The method according to claim 1, wherein the determining, by the hall device, the current plugging state of the stylus pen in the terminal comprises:
detecting the output level of the Hall device;
and determining the current plugging state according to the output level.
4. The method of claim 3, wherein determining the current plug state according to the output level comprises:
if the output level is a high level, determining that the current plugging state is a plugging state;
if the output level is a low level, determining that the current plugging state is a plugging state;
if the output level is switched from the high level to the low level, determining that the current plugging state is switched from the unplugging state to the plugging state;
and if the output level is switched from the low level to the high level, determining that the current plugging state is switched from the plugging state to the unplugging state.
5. The method of claim 1, wherein the current plug state is a plug-in state;
after the current plugging state of the stylus in the stylus slot is determined by the hall device, before the adjusting the screen parameter of the touch screen of the terminal based on the target screen adjusting information, the method further includes:
when touch operation on the touch screen is detected, acquiring a touch signal change quantity generated by the touch operation on the touch screen;
determining the target screen adjustment information based on the touch signal change amount.
6. The method of claim 5, wherein the determining the target screen adjustment information based on the amount of change in the touch signal comprises:
if the touch signal variation is larger than a first preset touch signal variation, screen adjustment information corresponding to the insertion state is obtained, and the target screen adjustment information is obtained;
and if the touch signal variation is smaller than or equal to a second preset touch signal variation, acquiring screen adjustment information corresponding to the condition that the plugging state of the touch pen is the plugging state, and acquiring the target screen adjustment information.
7. The method of claim 1, further comprising, after the determining, by the hall device, the current insertion or extraction state of the stylus in the stylus slot:
acquiring the current display brightness of the terminal;
and adjusting the current display brightness based on the current plugging state.
8. The utility model provides a touch screen adjusting device which characterized in that is applied to the terminal, the terminal including be used for placing the touch-control pen groove of touch-control pen the touch-control pen groove is provided with hall device, hall device is used for detecting the plug state of touch-control pen, the device includes:
the first determining unit is used for determining the current plugging state of the touch pen in the touch pen slot through the Hall device;
the first acquisition unit is used for acquiring target screen adjustment information corresponding to the current plugging state;
and the first adjusting unit is used for adjusting the screen parameters of the touch screen of the terminal based on the target screen adjusting information.
9. A storage medium storing instructions adapted to be loaded by a processor to perform the touchscreen adjustment method of any of claims 1 to 7.
10. A terminal is characterized by comprising a processor, a memory and a touch pen slot for placing a touch pen, wherein the touch pen slot is provided with a Hall device, the Hall device is used for detecting the plugging and unplugging state of the touch pen, the memory stores a plurality of instructions, and the processor loads the instructions to execute the touch screen adjusting method of any one of claims 1 to 7.
CN202111109032.1A 2021-09-22 2021-09-22 Touch screen adjusting method and device, storage medium and terminal Pending CN113835555A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111109032.1A CN113835555A (en) 2021-09-22 2021-09-22 Touch screen adjusting method and device, storage medium and terminal
PCT/CN2022/108935 WO2023045560A1 (en) 2021-09-22 2022-07-29 Touch screen adjusting method, storage medium, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111109032.1A CN113835555A (en) 2021-09-22 2021-09-22 Touch screen adjusting method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN113835555A true CN113835555A (en) 2021-12-24

Family

ID=78960357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111109032.1A Pending CN113835555A (en) 2021-09-22 2021-09-22 Touch screen adjusting method and device, storage medium and terminal

Country Status (2)

Country Link
CN (1) CN113835555A (en)
WO (1) WO2023045560A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045560A1 (en) * 2021-09-22 2023-03-30 惠州Tcl移动通信有限公司 Touch screen adjusting method, storage medium, and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923408A (en) * 2009-09-30 2010-12-22 苏州瀚瑞微电子有限公司 Method for automatically adjusting sensitivity of touch screen
CN101943968A (en) * 2009-07-06 2011-01-12 爱特梅尔公司 Sensitivity control as a function of touch shape
CN105229590A (en) * 2013-04-26 2016-01-06 三星电子株式会社 There is the user terminal apparatus of pen and the control method of user terminal apparatus
CN107247521A (en) * 2017-06-06 2017-10-13 深圳市泰衡诺科技有限公司 Mobile terminal stylus condition checkout gear, detection method and stylus
CN111124158A (en) * 2019-11-11 2020-05-08 华为技术有限公司 Information input equipment, terminal, control method thereof and chip

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101973634B1 (en) * 2012-08-23 2019-04-29 엘지전자 주식회사 Mobile terminal and control method thereof
CN111124247A (en) * 2019-12-26 2020-05-08 上海传英信息技术有限公司 Control interface display method, mobile terminal and storage medium
CN111949161A (en) * 2020-08-13 2020-11-17 深圳传音控股股份有限公司 Touch method, mobile terminal and computer readable storage medium
CN112286378A (en) * 2020-10-28 2021-01-29 维沃移动通信有限公司 Electronic equipment control method and electronic equipment
CN113835555A (en) * 2021-09-22 2021-12-24 惠州Tcl移动通信有限公司 Touch screen adjusting method and device, storage medium and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943968A (en) * 2009-07-06 2011-01-12 爱特梅尔公司 Sensitivity control as a function of touch shape
CN101923408A (en) * 2009-09-30 2010-12-22 苏州瀚瑞微电子有限公司 Method for automatically adjusting sensitivity of touch screen
CN105229590A (en) * 2013-04-26 2016-01-06 三星电子株式会社 There is the user terminal apparatus of pen and the control method of user terminal apparatus
CN107247521A (en) * 2017-06-06 2017-10-13 深圳市泰衡诺科技有限公司 Mobile terminal stylus condition checkout gear, detection method and stylus
CN111124158A (en) * 2019-11-11 2020-05-08 华为技术有限公司 Information input equipment, terminal, control method thereof and chip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045560A1 (en) * 2021-09-22 2023-03-30 惠州Tcl移动通信有限公司 Touch screen adjusting method, storage medium, and terminal

Also Published As

Publication number Publication date
WO2023045560A1 (en) 2023-03-30

Similar Documents

Publication Publication Date Title
CN107678631B (en) Side menu display method and device and terminal
CN111142711B (en) Firmware configuration method and device, storage medium and mobile terminal
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN111966254B (en) Image shooting method and device, storage medium and terminal
CN103686464A (en) Method and device for controlling equipment and electronic equipment
CN110688051B (en) Screen recording operation method and device, computer readable storage medium and terminal
CN111651387B (en) Interface circuit and electronic equipment
CN111277991A (en) Operator name display method and device, mobile terminal and storage medium
CN108564539B (en) Method and device for displaying image
CN112040324A (en) Playing progress adjusting method and device, storage medium and terminal
CN113835555A (en) Touch screen adjusting method and device, storage medium and terminal
CN111897916A (en) Voice instruction recognition method and device, terminal equipment and storage medium
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN111372003A (en) Camera switching method and device and terminal
CN110888093A (en) Display screen connection detection method and device, computer readable storage medium and terminal
CN112367425B (en) Volume adjusting method and device and terminal
CN106155733B (en) Method and device for running application program
CN111355991B (en) Video playing method and device, storage medium and mobile terminal
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN111107616A (en) Light sensor control method and device and terminal
CN113179344B (en) SIM card detection method, device, storage medium and terminal
CN111966271B (en) Screen panorama screenshot method and device, terminal equipment and storage medium
CN105988801B (en) Method and device for displaying annotation information
CN111405544B (en) Method, apparatus and storage medium for identifying mobile terminal socket
CN112491562B (en) Communication control method and device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination