CN112148149A - Touch screen control method, touch screen control device and storage medium - Google Patents

Touch screen control method, touch screen control device and storage medium Download PDF

Info

Publication number
CN112148149A
CN112148149A CN202011033746.4A CN202011033746A CN112148149A CN 112148149 A CN112148149 A CN 112148149A CN 202011033746 A CN202011033746 A CN 202011033746A CN 112148149 A CN112148149 A CN 112148149A
Authority
CN
China
Prior art keywords
touch screen
touch
film
data
preset model
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
CN202011033746.4A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011033746.4A priority Critical patent/CN112148149A/en
Publication of CN112148149A publication Critical patent/CN112148149A/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The disclosure relates to a touch screen control method, a touch screen control device and a storage medium. The touch screen control method is applied to a terminal, and comprises the following steps: determining that the touch screen is provided with a film based on touch data of the touch screen and a preset model, wherein the input of the preset model is the touch data, and the output is the presence or absence of the film; and adjusting the functional mode of the touch screen to be matched with the functional mode with the adhesive film. Through the touch screen, the influence of the film on the functions of the touch screen can be compensated, and the using effect of the touch screen in various functional modes is ensured.

Description

Touch screen control method, touch screen control device and storage medium
Technical Field
The present disclosure relates to the field of touch screen technologies, and in particular, to a touch screen control method, a touch screen control apparatus, and a storage medium.
Background
Touch terminals such as smart phones, tablet computers, and electronic book readers have been widely used in daily life of people. Among them, a capacitive touch screen is commonly used in a touch terminal.
At present, most users can carry out film pasting on the touch screen so as to protect the touch screen from being scratched or leaving scratches in the using process. However, after the touch screen of the terminal is pasted with the film, the use performance of the touch screen, such as the touch sensitivity and the screen brightness of the touch screen, may be affected.
When a user touches the capacitive touch screen, a capacitance value is generated between the user touch area and the touch screen, and then the user touch position is determined according to the generated capacitance value.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a touch screen control method, a touch screen control apparatus, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a touch screen control method, which is applied to a terminal, the method including:
determining that the touch screen is provided with a film based on touch data of the touch screen and a preset model, wherein the input of the preset model is the touch data, and the output is the presence or absence of the film;
and adjusting the functional mode of the touch screen to be matched with the functional mode with the adhesive film.
In an example, the method further comprises: and acquiring touch data of the touch screen under the condition that the terminal is in a motion state.
In one example, determining that the touch screen has the film based on the touch data of the touch screen and a preset model includes: acquiring a plurality of touch data of the touch screen within a preset time period by taking a preset time period as a unit; inputting the obtained touch data into a preset model to obtain a plurality of output results; and if the number of output results representing that the film sticking exists on the touch screen is larger than a preset threshold value, determining that the film sticking exists on the touch screen.
In one example, the adjusting the functional mode of the touch screen to match the functional mode of the existing adhesive film includes: adjusting the touch sensitivity of the touch screen to match the touch sensitivity of the adhesive film; and/or adjusting the screen brightness of the touch screen to match the screen brightness of the adhesive film; and/or adjusting the tapping recognition mode of the touch screen to match the tapping recognition mode with the adhesive film.
In one example, the preset model is trained as follows: determining a training data set, wherein the training data set comprises touch data of a mobile phone shell which is not provided with a film, touch data of the mobile phone shell which is not provided with the film and touch data of the mobile phone shell which is provided with the film; and training based on a training data set to obtain the model.
According to a second aspect of the embodiments of the present disclosure, there is provided a touch screen control apparatus applied to a terminal, the apparatus including: the touch screen control device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is configured to determine that the touch screen has the film based on touch data of the touch screen and a preset model, the input of the preset model is the touch data, and the output is the film or the film; an adjustment unit configured to adjust a functional mode of the touch screen to match a functional mode in which a patch exists.
In an example, the apparatus further comprises an obtaining unit; the acquisition unit is configured to acquire touch data of a touch screen when the terminal is in a motion state.
In one example, the determination unit determines that the touch screen has the adhesive film by: acquiring a plurality of touch data of the touch screen within a preset time period by taking a preset time period as a unit based on the touch data of the touch screen and a preset model; inputting the obtained touch data into a preset model to obtain a plurality of output results; and if the number of output results representing that the film sticking exists on the touch screen is larger than a preset threshold value, determining that the film sticking exists on the touch screen.
In one example, the adjusting unit adjusts the functional mode of the touch screen to match the functional mode in which the adhesive film is present, as follows: adjusting the touch sensitivity of the touch screen to match the touch sensitivity of the adhesive film; and/or adjusting the screen brightness of the touch screen to match the screen brightness of the adhesive film; and/or adjusting the tapping recognition mode of the touch screen to match the tapping recognition mode with the adhesive film.
In one example, the preset model is trained as follows: determining a training data set, wherein the training data set comprises touch data of a mobile phone shell which is not provided with a film, touch data of the mobile phone shell which is not provided with the film and touch data of the mobile phone shell which is provided with the film; and training based on a training data set to obtain the preset model.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when a user touches the touch screen, after the touch screen is determined to have the film sticking based on the touch data of the touch screen and the preset model, the functional mode of the touch screen can be adjusted to be matched with the functional mode with the film sticking, so that the influence of the film sticking on the functions of the touch screen is compensated, and the use effect of the touch screen in various functional modes is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a touch screen control method according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating a touch screen control method according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating a touch screen control method according to an exemplary embodiment.
FIG. 4 is an exemplary flowchart illustrating a touch screen control method according to one exemplary embodiment.
FIG. 5 is an exemplary flowchart illustrating a touch screen control method according to one exemplary embodiment.
FIG. 6 is an exemplary flowchart illustrating a touch screen control method according to one exemplary embodiment.
Fig. 7 is a block diagram illustrating a touch screen control apparatus according to an exemplary embodiment.
FIG. 8 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The technical scheme of the exemplary embodiment of the present disclosure can be applied to an application scenario in which a terminal touch screen is used. In the exemplary embodiments described below, a terminal is sometimes also referred to as an intelligent terminal device, where the terminal may be a Mobile terminal, and may also be referred to as a User Equipment (UE), a Mobile Station (MS), and the like. A terminal is a device that provides voice and/or data connection to a user, or a chip disposed in the device, such as a handheld device, a vehicle-mounted device, etc. having a wireless connection function. Examples of terminals may include, for example: the Mobile terminal comprises a Mobile phone, a tablet computer, a notebook computer, a palm computer, Mobile Internet Devices (MID), a wearable device, a Virtual Reality (VR) device, an Augmented Reality (AR) device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in remote operation, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home and the like.
At present, most users can carry out film pasting on the touch screen so as to protect the touch screen from being scratched or leaving scratches in the using process. However, after the touch screen of the terminal is pasted with the film, the functional use effect of the touch screen, such as the touch sensitivity and the screen brightness of the touch screen, may be affected.
In order to ensure that the function of the touch screen after the touch screen is pasted with the film is consistent with the function of the touch screen without the film, the disclosure can provide a touch screen control method. In the embodiment of the disclosure, when a user performs touch operation on the touch screen, after the touch screen is determined to have the film sticking based on the touch data of the touch screen and the preset model, the function mode of the touch screen can be adjusted to match the function mode with the film sticking, so that the influence of the film sticking on the function of the touch screen is compensated, and the use effect of the touch screen in various function modes is ensured.
Fig. 1 is a flowchart illustrating a touch screen control method according to an exemplary embodiment, and the touch screen control method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S11, it is determined that a pad exists on the touch screen based on the touch data of the touch screen and a preset model, where the input of the preset model is the touch data and the output is the presence or absence of the pad.
The touch data in the present disclosure may include a capacitance value between a touch position and the touch screen corresponding to the touch operation when the user performs the touch operation on the touch screen.
The preset model in the disclosure identifies whether the touch screen has a film according to the input touch data, and outputs the result that the film exists or does not exist on the touch screen. Inputting the touch data into a preset model, and determining that the touch screen has the film on the basis of the output of the preset model.
The preset model is obtained by training in the following mode:
determining a training data set, wherein the training data set comprises touch data of a mobile phone shell which is not provided with a film, touch data of the mobile phone shell which is not provided with the film and touch data of the mobile phone shell which is provided with the film, and the touch data of the mobile phone shell which is not provided with the film, and the touch data of the mobile phone shell which is provided with the film, and training based on the training.
In one embodiment, the training data set is input to a classification model, and the predicted presence or absence of the touch screen is output through the classification model. And adjusting parameters of the classification model based on the loss function, and optimizing the classification model to obtain a trained preset model when the result of whether the touch screen output by the classification model has the film is consistent with the touch screen represented by the touch data in the training data set.
And after the trained preset model is obtained, inputting the test data set in the training data set into the preset model for verification, and after all the verification data sets pass the verification, using the verified preset model in practical application.
In step S12, the functional mode of the touch panel is adjusted to match the functional mode in which the adhesive film is present.
In the present disclosure, the functional modes of the touch screen may include, for example, a touch mode, a display mode, and a tap recognition mode of the touch screen.
After the touch screen is filmed, for example, after the touch sensitivity of the touch screen, the display brightness of the touch screen and the touch operation on the touch screen are aimed at, the tapping recognition capability of the touch screen is affected, in order to ensure the use effect of the touch screen of the terminal in various functional modes, in the disclosure, after touch data corresponding to the touch operation of a user is input into a preset model, after the touch screen is determined to have the film through the preset model, the functional mode of the touch screen, for example, the touch mode, the display mode and the tapping mode of the touch screen are adjusted to be matched with the functional mode with the film, so as to make up the influence of the film on the functions of the touch screen and ensure the use effect of the touch screen in various functional modes.
In the exemplary embodiment of the disclosure, when a user performs touch operation on the touch screen, after the touch screen is determined to have the film sticking based on the touch data of the touch screen and the preset model, the functional mode of the touch screen can be adjusted to match the functional mode with the film sticking, so that the influence of the film sticking on the function of the touch screen is compensated, and the use effect of the touch screen in various functional modes is ensured.
Fig. 2 is a flowchart illustrating a touch screen control method according to an exemplary embodiment, and the touch screen control method is used in a terminal as shown in fig. 2 and includes the following steps.
In step S21, touch data on the touch screen is acquired while the terminal is in a moving state.
In practical application, through a large number of experimental tests, touch data obtained when the terminal is in a motion state exist, namely, the capacitance error between the touch position corresponding to the obtained touch operation and the touch screen is small, and whether the touch screen is pasted with the film or not can be judged more accurately based on the touch data obtained when the terminal is in the motion state.
Furthermore, in order to improve the accuracy of judging whether the touch screen of the terminal is provided with the film, the touch data after the touch operation of the user on the touch screen can be acquired when the terminal is in a motion state, and whether the film is provided on the touch screen is determined based on the touch data when the terminal is in the motion state.
The determination that the terminal is in the motion state may be implemented, for example, by:
and responding to the received touch operation of the touch screen, determining whether the acceleration sensor collects data, and determining that the terminal is in a motion state when determining that the acceleration sensor collects the data.
In step S22, it is determined that a pad exists on the touch screen based on the touch data of the touch screen and a preset model, where the input of the preset model is the touch data and the output is the presence or absence of the pad.
In step S23, the functional mode of the touch panel is adjusted to match the functional mode in which the adhesive film is present.
In the exemplary embodiment of the disclosure, it is determined that the terminal is in a motion state, and when the terminal is in the motion state, the touch data of the touch screen is acquired, which is more accurate, and when the terminal is in the motion state, the touch data of the touch screen is acquired and input into the preset model, whether the touch screen has the film can be accurately determined, and after whether the touch screen has the film is determined, the function mode of the touch screen can be adjusted to match the function mode in which the film exists, so that the influence of the film on the function of the touch screen is compensated, and the use effect of the touch screen in various function modes is ensured.
Fig. 3 is a flowchart illustrating a touch screen control method according to an exemplary embodiment, and the touch screen control method is used in a terminal as shown in fig. 3, and includes the following steps.
In step S31, a plurality of touch data of the touch screen are obtained within a preset time period by taking a preset time period as a unit, and the obtained touch data are input into a preset model to obtain a plurality of output results.
In general, the presence or absence of a film on a touch screen of a terminal is not changed in real time, but maintains the current state of the presence or absence of the film for a certain period of time. Therefore, the method and the device do not need to judge whether the terminal touch screen is pasted with the film in real time. In one embodiment, the present disclosure may take a preset time period as a unit, obtain a plurality of touch data of the touch screen within a preset time period, and input the obtained plurality of touch data into a preset model to obtain a plurality of output results.
For example, the disclosure may set the preset time period to be 1 day, set the preset time period to be 8 am to 9 am, and obtain a plurality of touch data, for example, 10 touch data. That is, in the present disclosure, a period of 1 day is used, 10 touch data of the touch screen are acquired between 8 am and 9 am every day, and the acquired 10 touch data are input into the preset model to obtain 10 output results.
In step S32, if the number of output results indicating that the touch screen has the adhesive film is greater than the preset threshold, it is determined that the touch screen has the adhesive film.
And in the output results of the preset model, if the number of the output results representing the existence of the film sticking on the touch screen is greater than a preset threshold value, determining that the film sticking exists on the touch screen.
For example, in 10 results of the output of the preset model, the presence of the adhesive film is determined in 7 output results, the absence of the adhesive film is determined in 3 output results, and the presence of the adhesive film on the touch screen is determined according to a preset threshold value, for example, 5.
In step S33, the functional mode of the touch panel is adjusted to match the functional mode in which the adhesive film is present.
In the exemplary embodiment of the disclosure, by taking a preset time period as a unit, a plurality of touch data of the touch screen are acquired within a preset time period, so that timeliness of acquiring the touch data can be ensured, occupation of hardware resources of the terminal can be reduced, by determining that the terminal is in a motion state, and acquiring the touch data of the touch screen under the condition that the terminal is in the motion state, whether the touch screen has a film can be accurately determined after the touch data of the touch screen is acquired and input into a preset model under the condition that the terminal is in the motion state, and after determining that whether the touch screen has the film, a function mode of the touch screen can be adjusted to a function mode matched with the film, so that influence of the film on functions of the touch screen is compensated, and a use effect of the touch screen under various function modes is ensured.
The following description of the present disclosure will be made for a touch mode, a display mode, and a tap recognition mode of a touch panel, respectively, by applying the touch panel control method of the present disclosure.
FIG. 4 is an exemplary flowchart illustrating a touch screen control method according to one exemplary embodiment.
FIG. 4 is an example flow diagram of a scenario for touch screen touch mode.
Since the touch sensitivity of the touch screen is an important factor affecting the performance of the touch screen when the touch screen terminal is used. When the touch sensitivity of the touch screen is set, if the set sensitivity is too high, the false touch is very high, and if the set sensitivity is too low, many normal touches cannot be identified.
Furthermore, before the terminal leaves the factory, touch sensitivity parameters of the touch screen can be set based on a large amount of experimental data. However, if the touch panel has the adhesive film, the touch sensitivity is lowered based on the touch sensitivity parameter set in advance.
Therefore, in fig. 4, when the user touches and operates the touch screen, the user touch operation is recognized, and if the touch screen is recognized to have the adhesive film, the touch sensitivity of the touch screen with the adhesive film can be matched, for example, the touch sensitivity of the touch screen is improved. If it is recognized that the touch screen does not have the film, the touch sensitivity of the touch screen without the film can be matched, for example, the touch sensitivity of a default touch screen is set.
FIG. 5 is an exemplary flowchart illustrating a touch screen control method according to one exemplary embodiment.
In fig. 5, when the user touches and operates the touch screen, the user touch operation is recognized, and if the presence of the pad is recognized on the touch screen, the tapping recognition mode in which the pad is present may be matched, for example, the tapping operation of the user may be recognized by a tapping model with the pad. If the touch screen is recognized to have no pad, the tapping recognition mode without the pad can be matched, for example, the tapping operation of the user is recognized through the tapping model without the pad, so as to improve the accuracy of the tapping recognition.
FIG. 6 is an exemplary flowchart illustrating a touch screen control method according to one exemplary embodiment.
In fig. 6, when the user touches and operates the touch screen, the touch operation of the user is recognized, and if it is recognized that the film is present on the touch screen, the screen display brightness of the film may be matched, for example, the screen display brightness of the touch screen is increased. If it is recognized that the touch screen does not have the film, the screen display brightness of the touch screen without the film can be matched, for example, the screen display brightness of the default touch screen is set.
Based on the same conception, the embodiment of the disclosure also provides a touch screen control device.
It is understood that, in order to implement the above functions, the touch screen control device provided in the embodiments of the present disclosure includes a hardware structure and/or a software module corresponding to the above functions. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 7 is a block diagram illustrating a touch screen control apparatus according to an exemplary embodiment. Referring to fig. 7, a touch screen control apparatus 700 is applied to a terminal, the touch screen control apparatus including: a determination unit 701 and an adjustment unit 702.
The determining unit 701 is configured to determine that a film is present on the touch screen based on touch data of the touch screen and a preset model, wherein the input of the preset model is the touch data, and the output is the presence or absence of the film; an adjusting unit 702 configured to adjust the functional mode of the touch screen to match the functional mode in which the adhesive film is present.
In an embodiment, the apparatus further comprises an obtaining unit 703; the acquisition unit is configured to acquire touch data of a touch screen when the terminal is in a motion state.
In an embodiment, the determining unit 701 determines that the touch screen has the film attached thereto by: acquiring a plurality of touch data of the touch screen within a preset time period by taking a preset time period as a unit based on the touch data of the touch screen and a preset model; inputting the obtained touch data into a preset model to obtain a plurality of output results; and if the number of output results representing that the film sticking exists on the touch screen is larger than a preset threshold value, determining that the film sticking exists on the touch screen.
In an embodiment, the adjusting unit 702 adjusts the functional mode of the touch screen to match the functional mode of the existing film by the following method: adjusting the touch sensitivity of the touch screen to match the touch sensitivity of the adhesive film; and/or adjusting the screen brightness of the touch screen to match the screen brightness of the adhesive film; and/or adjusting the tapping recognition mode of the touch screen to match the tapping recognition mode with the adhesive film.
In an embodiment, the preset model is obtained by training in the following way: determining a training data set, wherein the training data set comprises touch data of a mobile phone shell which is not provided with a film, touch data of the mobile phone shell which is not provided with the film and touch data of the mobile phone shell which is provided with the film; and training based on a training data set to obtain the preset model. With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 8 is a block diagram illustrating an apparatus 800 for touch screen control according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communications component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A touch screen control method is applied to a terminal, and the method comprises the following steps:
determining that the touch screen is provided with a film based on touch data of the touch screen and a preset model, wherein the input of the preset model is the touch data, and the output is the presence or absence of the film;
and adjusting the functional mode of the touch screen to be matched with the functional mode with the adhesive film.
2. The touch screen control method according to claim 1, further comprising:
and acquiring touch data of the touch screen under the condition that the terminal is in a motion state.
3. The method for controlling the touch screen according to claim 1, wherein determining that the touch screen has the film based on the touch data of the touch screen and a preset model comprises:
acquiring a plurality of touch data of the touch screen within a preset time period by taking a preset time period as a unit;
inputting the obtained touch data into a preset model to obtain a plurality of output results;
and if the number of output results representing that the film sticking exists on the touch screen is larger than a preset threshold value, determining that the film sticking exists on the touch screen.
4. The touch screen control method of claim 2, wherein the adjusting the functional mode of the touch screen to match the functional mode of the existing adhesive film comprises:
adjusting the touch sensitivity of the touch screen to match the touch sensitivity of the adhesive film; and/or
Adjusting the screen brightness of the touch screen to match the screen brightness of the adhesive film; and/or
And adjusting the tapping recognition mode of the touch screen to be matched with the tapping recognition mode with the adhesive film.
5. The touch screen control method according to claim 1, wherein the preset model is trained in the following manner:
determining a training data set, wherein the training data set comprises touch data of a mobile phone shell which is not provided with a film, touch data of the mobile phone shell which is not provided with the film and touch data of the mobile phone shell which is provided with the film;
and training based on a training data set to obtain the preset model.
6. A touch screen control device is applied to a terminal, and the device comprises:
the touch screen control device comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is configured to determine that the touch screen has the film based on touch data of the touch screen and a preset model, the input of the preset model is the touch data, and the output is the film or the film;
an adjustment unit configured to adjust a functional mode of the touch screen to match a functional mode in which a patch exists.
7. The touch screen control device according to claim 6, wherein the device further comprises an acquisition unit;
the acquisition unit is configured to acquire touch data of a touch screen when the terminal is in a motion state.
8. The touch screen control device according to claim 6, wherein the determination unit determines that the touch screen is in the form of a sticker:
acquiring a plurality of touch data of the touch screen within a preset time period by taking a preset time period as a unit based on the touch data of the touch screen and a preset model;
inputting the obtained touch data into a preset model to obtain a plurality of output results;
and if the number of output results representing that the film sticking exists on the touch screen is larger than a preset threshold value, determining that the film sticking exists on the touch screen.
9. The touch screen control device according to claim 7, wherein the adjusting unit adjusts the functional mode of the touch screen to match the functional mode in which the adhesive film is present, in the following manner:
adjusting the touch sensitivity of the touch screen to match the touch sensitivity of the adhesive film; and/or
Adjusting the screen brightness of the touch screen to match the screen brightness of the adhesive film; and/or
And adjusting the tapping recognition mode of the touch screen to be matched with the tapping recognition mode with the adhesive film.
10. The touch screen control device of claim 6, wherein the preset model is trained in the following way:
determining a training data set, wherein the training data set comprises touch data of a mobile phone shell which is not provided with a film, touch data of the mobile phone shell which is not provided with the film and touch data of the mobile phone shell which is provided with the film;
and training based on a training data set to obtain the preset model.
11. A touch screen control device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the touch screen control method of any one of claims 1-5.
12. A non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the touch screen control method of any one of claims 1-5.
CN202011033746.4A 2020-09-27 2020-09-27 Touch screen control method, touch screen control device and storage medium Pending CN112148149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011033746.4A CN112148149A (en) 2020-09-27 2020-09-27 Touch screen control method, touch screen control device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011033746.4A CN112148149A (en) 2020-09-27 2020-09-27 Touch screen control method, touch screen control device and storage medium

Publications (1)

Publication Number Publication Date
CN112148149A true CN112148149A (en) 2020-12-29

Family

ID=73895327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011033746.4A Pending CN112148149A (en) 2020-09-27 2020-09-27 Touch screen control method, touch screen control device and storage medium

Country Status (1)

Country Link
CN (1) CN112148149A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114242023A (en) * 2021-12-30 2022-03-25 维沃移动通信有限公司 Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114242023A (en) * 2021-12-30 2022-03-25 维沃移动通信有限公司 Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment

Similar Documents

Publication Publication Date Title
EP3306441B1 (en) Temperature control method and apparatus
CN106572299B (en) Camera opening method and device
EP3136206A1 (en) Method and apparatus for setting threshold
EP3322227B1 (en) Methods and apparatuses for controlling wireless connection, computer program and recording medium
CN112202962B (en) Screen brightness adjusting method and device and storage medium
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
US20180238748A1 (en) Pressure detection method and apparatus, and storage medium
CN111611034A (en) Screen display adjusting method and device and storage medium
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
US20210307104A1 (en) Method and apparatus for controlling intelligent voice control device and storage medium
CN107239184B (en) Touch screen touch device and method and mobile terminal
CN111880681A (en) Touch screen sampling rate adjusting method and device and computer storage medium
US20170075671A1 (en) Method and apparatus for installing application and smart device using the same
CN106128415B (en) Screen luminance adjustment method and device
CN112148149A (en) Touch screen control method, touch screen control device and storage medium
CN112187995A (en) Illumination compensation method, illumination compensation device, and storage medium
CN111225111A (en) Function control method, function control device, and storage medium
US11644970B2 (en) Number input method, apparatus, and storage medium
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN108962189A (en) Luminance regulating method and device
CN108922495A (en) Screen luminance adjustment method and device
CN108877742A (en) Luminance regulating method and device
CN107799092A (en) Adjust the method, apparatus and electronic equipment of display brightness
CN112037719B (en) Screen brightness adjusting method and device
CN108647594B (en) Information processing method and device

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