CN111880681A - Touch screen sampling rate adjusting method and device and computer storage medium - Google Patents

Touch screen sampling rate adjusting method and device and computer storage medium Download PDF

Info

Publication number
CN111880681A
CN111880681A CN202010595369.7A CN202010595369A CN111880681A CN 111880681 A CN111880681 A CN 111880681A CN 202010595369 A CN202010595369 A CN 202010595369A CN 111880681 A CN111880681 A CN 111880681A
Authority
CN
China
Prior art keywords
scene
touch
sampling rate
rate
determining
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
CN202010595369.7A
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 CN202010595369.7A priority Critical patent/CN111880681A/en
Publication of CN111880681A publication Critical patent/CN111880681A/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
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • 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/0412Digitisers structurally integrated in a display

Abstract

The disclosure relates to a method for adjusting a sampling rate of a touch screen, a device for adjusting the sampling rate of the touch screen and a computer storage medium. A touch screen sampling rate adjusting method is applied to a terminal and comprises the following steps: identifying a current operation scene of the terminal, and determining the touch rate of a user for performing touch operation on a touch screen in the scene; determining a sampling rate which matches a scene and matches a touch rate; and adjusting the sampling rate of the terminal to be the sampling rate which matches the scene and the touch rate. By the method, the sampling rate of the terminal in the current scene can be determined and adjusted according to the touch rate of the user in the current scene when the user uses the terminal to perform touch operation, so that the adjusted sampling rate is more in line with the operation habit of the user, the quick response speed of the user using the terminal is improved, and the user experience is improved.

Description

Touch screen sampling rate adjusting method and device and computer storage medium
Technical Field
The present disclosure relates to the field of computer data processing technologies, and in particular, to a method and an apparatus for adjusting a sampling rate of a touch screen, and a computer storage medium.
Background
In recent years, touch screens have become a main mode of human-computer interaction, and terminal applications capable of being operated by touch screens are increasing. When the terminal application is used, the touch screen operation of a user is acquired under the appointed sampling frequency, and the touch screen event is determined. However, in practical application, the sampling rate of the terminal during scene operation is preset, and the preset sampling rate is not suitable for obtaining the touch operation of the user due to different users, so that the use experience of the user is influenced.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method for adjusting a sampling rate of a touch screen, a device for adjusting a sampling rate of a touch screen, and a computer storage medium.
According to a first aspect of the embodiments of the present disclosure, a method for adjusting a sampling rate of a touch screen is provided, which is applied to a terminal, and the method for adjusting the sampling rate of the touch screen includes: identifying a current operation scene of the terminal, and determining a touch rate of a user for performing touch operation on the touch screen in the scene; determining a sampling rate matching the scene and the touch rate; and adjusting the sampling rate of the terminal to be matched with the scene and the sampling rate of the touch rate.
In an embodiment, the determining a sampling rate that matches the scene and matches the touch rate includes: determining a preset sampling rate adjustment range matched with the scene; acquiring an average touch rate of a user for performing touch operation on the touch screen in the scene; determining a sampling rate matched with the average touch rate within the preset sampling rate adjustment range; and determining the sampling rate matched with the average touch rate as the sampling rate matched with the scene and the touch rate.
In another embodiment, the method for adjusting the sampling rate of the touch screen further comprises: determining and storing a corresponding relation among the scene, the touch rate and the sampling rate based on the scene, the average touch rate and the sampling rate which is matched with the scene and the touch rate; and determining a sampling rate which is matched with the scene and the touch rate according to the corresponding relation among the scene, the touch rate and the sampling rate.
In yet another embodiment, the determining a sampling rate that matches the scene and matches the touch rate includes: and if the user does not perform touch operation in the scene, determining a preset sampling rate corresponding to the scene as a sampling rate matched with the scene and the touch rate.
In another embodiment, the method for adjusting the sampling rate of the touch screen further includes: identifying scene types to which the current operation scene of the terminal belongs, wherein the scene types comprise a dynamic scene and a static scene; determining a sampling rate corresponding to the scene type according to the scene type to which the scene belongs; and the sampling rate corresponding to the dynamic scene is higher than that corresponding to the static scene.
According to a second aspect of the embodiments of the present disclosure, there is provided a touch screen sampling rate adjusting device applied to a terminal, the touch screen sampling rate adjusting device including: the identification unit is used for identifying the current operation scene of the terminal; the touch rate determining unit is used for determining the touch rate of the touch operation of the user on the touch screen in the scene; a sampling rate determining unit for determining a sampling rate matching the scene and the touch rate; and the adjusting unit is used for adjusting the sampling rate of the terminal to be the sampling rate matched with the scene and the touch rate.
In an embodiment, the sampling rate determining unit determines the sampling rate matching the scene and matching the touch rate by: determining a preset sampling rate adjustment range matched with the scene; acquiring an average touch rate of a user for performing touch operation on the touch screen in the scene; determining a sampling rate matched with the average touch rate within the preset sampling rate adjustment range; and determining the sampling rate matched with the average touch rate as the sampling rate matched with the scene and the touch rate.
In another embodiment, the touch screen sampling rate adjustment apparatus further includes: the storage unit is used for determining and storing the corresponding relation among the scene, the touch rate and the sampling rate based on the scene, the average touch rate and the sampling rate which is matched with the scene and the touch rate; the sampling rate determining unit is further configured to determine a sampling rate matching the scene and the touch rate according to a corresponding relationship among the scene, the touch rate, and the sampling rate.
In yet another embodiment, the sampling rate determining unit determines the sampling rate that matches the scene and matches the touch rate by: and if the user does not perform touch operation in the scene, determining a preset sampling rate corresponding to the scene as a sampling rate matched with the scene and the touch rate.
In another embodiment, the identifying unit is further configured to identify a scene category to which a current operating scene of the terminal belongs, where the scene category includes a dynamic scene and a static scene; the sampling rate determining unit is further configured to determine a sampling rate corresponding to the scene type according to the scene type to which the scene belongs; and the sampling rate corresponding to the dynamic scene is higher than that corresponding to the static scene.
According to a third aspect of the embodiments of the present disclosure, there is provided a touch screen sampling rate adjustment apparatus, including: a memory to store instructions; and a processor; the method is used for calling the instructions stored in the memory to execute any one of the above-mentioned methods for adjusting the sampling rate of the touch screen.
According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer-executable instructions, and when executed by a processor, the computer-executable instructions perform any one of the above-mentioned methods for adjusting a sampling rate of a touch screen.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the touch control speed of the user in the current scene for touch control operation by using the terminal, the sampling speed of the terminal in the current scene is determined and adjusted, so that the adjusted sampling speed is more in line with the operation habit of the user, the quick response speed of the user in using the terminal is improved, and the user experience is further improved.
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 flow chart illustrating a method for touch screen sample rate adjustment according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating another method of touch screen sample rate adjustment in accordance with an exemplary embodiment.
FIG. 3 is a flow chart illustrating yet another method for touch screen sample rate adjustment in accordance with an exemplary embodiment.
FIG. 4 is a flowchart illustrating a touch screen sample rate adjustment according to an exemplary embodiment.
FIG. 5 is a block diagram illustrating a touch screen sample rate adjustment apparatus according to an exemplary embodiment.
FIG. 6 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.
In the related art, for the application of the same touch screen scene, the touch screen operation of the user is obtained by adopting the sampling frequency with the same frequency, and due to the fact that the users are different, the touch operation obtained under the same sampling frequency is inaccurate, and the use experience of the user is influenced
The sampling rate of the terminal in the current scene is determined according to the touch rate of the user for performing touch operation by using the terminal in the current scene, and then the sampling rate of the user for performing touch operation by using the terminal in the current scene is adjusted, so that the adjusted sampling rate is more in line with the operation habit of the user, and the use experience of the user is improved.
It can be understood that the terminal involved in the embodiments of the present disclosure may include: terminals with touch screens, such as mobile phones, tablets, and notebooks, are not limited in this disclosure.
Fig. 1 is a flowchart illustrating a touch screen sampling rate adjustment method according to an exemplary embodiment, where as shown in fig. 1, a touch screen sampling rate adjustment method 10 is applied in a terminal, and the touch screen sampling rate adjustment method 10 includes the following steps S11 to S13.
In step S11, a current operation scene of the terminal is identified, and a touch rate of a user performing a touch operation on the touch screen in the scene is determined.
In the embodiment of the disclosure, a current running scene of the terminal is identified according to the condition that a user uses a terminal touch screen to perform touch operation currently. The scenes may include scenes capable of touch operation, such as: a scene using application software, a scene of a screen of a manipulation terminal, a scene of performing communication using a Near Field Communication (NFC) method, and the like, which are not limited in the present disclosure. According to the current touch operation of the user, touch data of the touch operation of the touch screen of the user in the current scene is obtained, and then the touch rate of the touch operation of the user on the touch screen in the scene is determined.
In an embodiment, the touch screen speed of the user within a specified distance can be acquired within a preset time period, and then the touch rate of the touch operation performed on the touch screen by the user in a scene is determined. In yet another embodiment, the touch screen speed of the user within a specified distance may be periodically obtained within a specified period, and then an average touch rate, which is a touch frequency of the user performing touch operation on the touch screen in a scene, is determined according to the obtaining times. The touch control rate of the user in the current scene is determined, so that the operation habit of the user can be determined, the adjusted sampling rate is convenient to be more fit with the touch control rate of the user, the touch screen operation of the user can be responded quickly, and the operation experience of the user is improved.
In step S12, a sampling rate that matches the scene and matches the touch rate is determined.
In the embodiment of the disclosure, the acquired touch rate is matched with the identified scene, so that the terminal can determine the user currently using the terminal to operate the scene according to the matching relationship between the scene and the touch rate of the user using the terminal touch screen, thereby facilitating the provision of different sampling rates according to different users and enabling the determined sampling rate to be more targeted. The sampling rate which is matched with the scene and the touch rate is determined, so that the sampling rate which is adopted when the adjusted sampling rate is used for obtaining the touch operation of the user is more pointed, the obtained data of the touch operation is more accurate, and the use experience of the user using the terminal is further improved.
In an embodiment, a preset sampling rate adjustment range of a scene is preset, the adjustment range of the sampling rate is limited, and the situation that the acquired touch operation data is abnormal in the corresponding scene and the touch operation of a user cannot be correctly identified due to the fact that the adjusted sampling rate is too high or too low can be effectively prevented, so that the use experience of the user is influenced. In order to enable the obtained touch rate to be more suitable for the use habit of the user, a plurality of touch rates of the user for touch operation are periodically obtained in a corresponding scene, the average touch rate of the user for touch operation on the touch screen in the current scene is determined, and the phenomenon that abnormal data occurs in the average touch rate to influence the adjustment of the sampling rate is avoided.
According to the corresponding preset sampling rate adjustment range in the current scene and the determined average touch rate in the current scene, the sampling rate matched with the average touch rate in the preset sampling rate adjustment range is determined, and then the determined sampling rate is determined as the sampling rate matched with the scene and the touch rate, so that the determined sampling rate is suitable for obtaining the touch habit of touch operation performed by a user in the current scene, the touch operation is quickly responded, and the use requirement of the user is met.
In another embodiment, if the user never performs the touch operation in the current scene, that is, in the current scene, there is no record of the touch operation performed by the user, the preset sampling rate preset in the scene by the terminal may be used as the sampling rate matching the scene and the touch rate, which is beneficial to avoiding that the user cannot acquire the touch operation of the user when touching the touch screen, and further, the response rate of the terminal to the touch screen of the user is influenced, and the use experience of the user is influenced. The case where the touch operation has never been performed may include: the situation that the user does not start the scene for the first time by using the terminal, or the situation that the user resets the parameters in the scene.
In step S13, the sampling rate of the terminal is adjusted to a sampling rate that matches the scene and matches the touch rate.
In the embodiment of the disclosure, the determined sampling rate is matched according to the matched scene and the determined touch rate, so that the three have a corresponding relation of mutual matching. And adjusting the sampling rate of the determined matching scene and the matching touch rate to be the sampling rate in the current operation scene, so that the determined sampling rate is more in line with the touch habit of the user. In an implementation scenario, multiple users share the same terminal, and due to user differences, touch habits of the users are different when the same scenario is used. According to the scene, the touch rate and the mutual matching relation among the sampling rates, the sampling rate suitable for the current user can be quickly determined according to the touch rate of the user in the same scene, and then the sampling rate of the terminal is adjusted, so that the adjusted sampling rate is more fit with the touch habit of the current user, and the use experience of the user is improved. In another implementation scenario, when the sampling rate after adjustment is lower than the sampling rate before adjustment, the method is also beneficial to reducing the function consumption of the terminal, and further beneficial to prolonging the standby time of the terminal, so as to improve the use experience of the user.
According to the embodiment, the sampling rate of the terminal in the current scene is determined according to the touch screen rate of the user in the current operation scene, and then the sampling rates are matched with each other, the sampling rates of the touch operations of different users in the scene are dynamically adjusted, the obtained sampling rates are matched with the current operation scene and the touch frequency of the current user, the touch screen response rate of the terminal for the touch screen operations is favorably improved, and the use experience of the user is improved.
The utility model also provides another kind of touch screen sampling rate adjustment method, when using the terminal operation scene for the first time with the user, match and save the scene, with the touch-control rate that the scene matches and with the scene match and with the sampling rate that the touch-control rate matches between, when being convenient for the user uses this scene at every turn, the terminal can be according to different users ' control custom, the sampling rate that adopts is confirmed, and then can be quick respond according to user's touch screen operation, promote user's use experience.
FIG. 2 is a flow chart illustrating another method of touch screen sample rate adjustment in accordance with an exemplary embodiment.
As shown in fig. 2, the touch screen sampling rate adjustment method 20 is applied to a terminal, and the touch screen sampling rate adjustment method 20 includes the following steps S21 to S25.
In step S21, a current operation scene of the terminal is identified, and a touch rate of a user performing a touch operation on the touch screen in the scene is determined.
In step S22, a sampling rate that matches the scene and matches the touch rate is determined.
In step S23, the sampling rate of the terminal is adjusted to a sampling rate that matches the scene and matches the touch rate.
In the present disclosure, the implementation manners of steps S21 to S23 are the same as the implementation manners of steps S11 to S13 in the touch screen sampling rate adjustment method 10, and reference may be made to the related descriptions of the above embodiments, and details are not repeated here.
In step S24, the correspondence between the scene, the touch rate, and the sampling rate is saved.
In the embodiment of the disclosure, according to a current operating scene, an average touch rate in the scene, and a sampling rate which matches the scene and matches the touch rate, a corresponding relationship among the scene, the touch rate, and the sampling rate is determined, and the corresponding relationship among the scene, the touch rate, and the sampling rate is stored. When the terminal runs the current scene again, the touch operation of the user can be obtained at the sampling rate matched with the operation habit of the user according to the stored corresponding relation of the three, and then the touch screen response can be rapidly carried out. The adjustment is not needed to be carried out when the scene is operated every time, and the use experience of a user is influenced.
In step S25, a sampling rate matching the scene and the touch rate is determined according to the corresponding relationship among the scene, the touch rate, and the sampling rate.
In the embodiment of the disclosure, when a current scene runs, according to the stored scene, the touch rate and the corresponding relation among the sampling rates, the sampling rate matching the scene and the touch rate is determined, so that the touch screen response is conveniently and quickly performed, the operation of a user is facilitated, and the use experience of the user is improved.
In order to make the adjusted sampling rate more reasonable, the disclosure further provides another method for adjusting the sampling rate of the touch screen.
FIG. 3 is a flow chart illustrating another method of touch screen sample rate adjustment in accordance with an exemplary embodiment.
As shown in fig. 3, the touch screen sampling rate adjustment method 30 is applied to a terminal, and the touch screen sampling rate adjustment method 30 includes the following steps S31 to S35.
In step S31, a current operation scene of the terminal is identified, and a touch rate of a user performing a touch operation on the touch screen in the scene is determined.
In step S32, a scene category to which the current operation scene of the terminal belongs is identified.
In an embodiment of the present disclosure, a scene category is preset according to a touch screen operation of a scene through an extensible markup language file (XML file), where the scene category includes: static scenes and dynamic scenes. Setting a scene needing frequent touch screen operation as a dynamic scene, for example: and (5) game scenes. Setting a scene without long-term touch screen operation as a static scene, for example: see video, read novel, etc. The method and the device have the advantages that the scene type to which the current scene belongs is determined according to the identification of the current operating scene, the sampling rate determined according to the current scene type is convenient to adjust in a targeted mode, the adjusting range is narrowed, and the use discomfort brought to a user in the adjusting process is reduced.
In step S33, a sampling rate corresponding to the scene type is determined according to the scene type to which the scene belongs.
In the embodiment of the present disclosure, the sampling rate corresponding to a scene category may be the lowest sampling rate or the highest sampling rate of the scene category; or may be a generic sampling rate determined from the average sampling rate of users in the big data. According to the method, the sampling rate corresponding to the current scene category is determined according to the scene category to which the current operating scene belongs, so that the sampling rate is adjusted according to the touch screen rate of a user with reference, the rapid adjustment is facilitated, and the adjusted sampling rate is more reasonable. For example: and setting the lowest sampling rate aiming at the static scene, and enabling the adjusted sampling rate to be higher than the lowest sampling rate corresponding to the scene category. And setting the lowest sampling rate aiming at the dynamic scene, and enabling the adjusted sampling rate to be lower than the highest sampling rate corresponding to the scene category. The sampling rate after adjustment is facilitated to be more reasonable, and ineffective adjustment can be effectively reduced.
In step S34, a sampling rate that matches the scene and matches the touch rate is determined.
In step S35, the sampling rate of the terminal is adjusted to a sampling rate that matches the scene and matches the touch rate.
In an implementation scenario, as shown in fig. 4, a usage scenario is preset in external software of a terminal, and a scenario type is defined by an XML file, where the scenario type includes: dynamic scenes and static scenes. And identifying according to the current operating scene of the terminal, and determining the current operating scene. And judging the current touch condition of the user through an Android layer of the terminal, and further acquiring the touch rate of the user. And comparing the identified scene with a preset using scene, determining whether the current scene belongs to a dynamic scene or a static scene, and determining a sampling rate corresponding to the scene category. And according to the determination result of the scene type, sending the determined touch rate and the corresponding scene recognition result to the driving end through the Android layer, and further informing the integrated circuit to control the sampling rate by the driving end so as to determine the sampling rate matching the scene and the touch rate. The integrated circuit returns the dynamically adjusted sampling rate to the driving layer and the Android layer to achieve a complementary state, so that the Android layer can specifically scan the touch operation of the current user in the current scene according to the adjusted sampling rate, the quick response of the touch operation is improved, and the use experience of the user is further improved.
Based on the same conception, the embodiment of the disclosure also provides a touch screen sampling rate adjusting device.
It is understood that the touch screen sampling rate adjusting device provided by the embodiment of the present disclosure includes a hardware structure and/or a software module for performing 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. 5 is a block diagram illustrating a touch screen sample rate adjustment apparatus according to an exemplary embodiment. Referring to fig. 5, the touch screen sampling rate adjustment apparatus 100 is applied to a terminal, and the touch screen sampling rate adjustment apparatus 100 includes: the touch screen comprises an identification unit 110, a touch rate determination unit 120, a sampling rate determination unit 130 and an adjustment unit 140.
An identifying unit 110, configured to identify a current operating scenario of the terminal.
The touch rate determining unit 120 is configured to identify a current operating scene of the terminal, and determine a touch rate at which a user performs touch operation on the touch screen in the scene.
And a sampling rate determining unit 130, configured to determine a sampling rate that matches the scene and matches the touch rate.
The adjusting unit 140 is configured to adjust the sampling rate of the terminal to a sampling rate that matches the scene and matches the touch rate.
In an embodiment, the sampling rate determining unit 130 determines the sampling rate matching the scene and the touch rate in the following manner: determining a preset sampling rate adjustment range matched with a scene; acquiring an average touch rate of a user for performing touch operation on a touch screen in a scene; determining a sampling rate matched with the average touch rate within a preset sampling rate adjustment range; and determining the sampling rate matched with the average touch rate as a sampling rate matched with the scene and the touch rate.
In another embodiment, the touch screen sampling rate adjustment apparatus 100 further includes: the storage unit is used for determining and storing the corresponding relation among the scene, the touch rate and the sampling rate based on the scene, the average touch rate and the sampling rate which is matched with the scene and the touch rate; the sampling rate determination unit 130 is further configured to determine a sampling rate that matches the scene and matches the touch rate according to the scene, the touch rate, and the corresponding relationship between the sampling rates.
In yet another embodiment, the sampling rate determining unit 130 determines the sampling rate matching the scene and matching the touch rate by: and if the user does not perform touch operation in the scene, determining the preset sampling rate corresponding to the scene as the sampling rate matched with the scene and the touch rate.
In another embodiment, the identifying unit 110 is further configured to identify a scene category to which a current operating scene of the terminal belongs, where the scene category includes a dynamic scene and a static scene; the sampling rate determining unit 130 is further configured to determine a sampling rate corresponding to the scene type according to the scene type to which the scene belongs; and the sampling rate corresponding to the dynamic scene is higher than that corresponding to the static scene.
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. 6 is a block diagram illustrating an apparatus 200 for touch screen sample rate adjustment according to an example embodiment. For example, the apparatus 200 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. 6, the apparatus 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operation of the device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 202 may include one or more processors 220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
Memory 204 is configured to store various types of data to support operation at device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 204 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 components 206 provide power to the various components of device 200. Power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 200.
The multimedia component 208 includes a screen that provides an output interface between the device 200 and the 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 208 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 200 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 210 is configured to output and/or input audio signals. For example, audio component 210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 200 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 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing component 202 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 component 214 includes one or more sensors for providing various aspects of status assessment for the device 200. For example, the sensor component 214 may detect an open/closed state of the device 200, the relative positioning of components, such as a display and keypad of the apparatus 200, the sensor component 214 may also detect a change in position of the apparatus 200 or a component of the apparatus 200, the presence or absence of user contact with the apparatus 200, orientation or acceleration/deceleration of the apparatus 200, and a change in temperature of the apparatus 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 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 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the apparatus 200 and other devices. The device 200 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 216 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 216 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 200 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 any of the above-described touch screen sampling rate adjustment methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 204, comprising instructions executable by processor 220 of device 200 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 further understood that the use of "a plurality" in this disclosure means two or more, as other terms 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 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 method for adjusting the sampling rate of a touch screen is applied to a terminal and comprises the following steps:
identifying a current operation scene of the terminal, and determining a touch rate of a user for performing touch operation on the touch screen in the scene;
determining a sampling rate matching the scene and the touch rate;
and adjusting the sampling rate of the terminal to be matched with the scene and the sampling rate of the touch rate.
2. The method of claim 1, wherein determining a sampling rate that matches the scene and matches the touch rate comprises:
determining a preset sampling rate adjustment range matched with the scene;
acquiring an average touch rate of a user for performing touch operation on the touch screen in the scene;
determining a sampling rate matched with the average touch rate within the preset sampling rate adjustment range;
and determining the sampling rate matched with the average touch rate as the sampling rate matched with the scene and the touch rate.
3. The method of claim 2, further comprising:
determining and storing a corresponding relation among the scene, the touch rate and the sampling rate based on the scene, the average touch rate and the sampling rate which is matched with the scene and the touch rate;
and determining a sampling rate which is matched with the scene and the touch rate according to the corresponding relation among the scene, the touch rate and the sampling rate.
4. The method of claim 1, wherein determining a sampling rate that matches the scene and matches the touch rate comprises:
and if the user does not perform touch operation in the scene, determining a preset sampling rate corresponding to the scene as a sampling rate matched with the scene and the touch rate.
5. The method according to any one of claims 1 to 4, further comprising:
identifying scene types to which the current operation scene of the terminal belongs, wherein the scene types comprise a dynamic scene and a static scene;
determining a sampling rate corresponding to the scene type according to the scene type to which the scene belongs;
and the sampling rate corresponding to the dynamic scene is higher than that corresponding to the static scene.
6. The utility model provides a touch-sensitive screen sampling rate adjusting device which characterized in that is applied to the terminal, includes:
the identification unit is used for identifying the current operation scene of the terminal;
the touch rate determining unit is used for determining the touch rate of the touch operation of the user on the touch screen in the scene;
a sampling rate determining unit for determining a sampling rate matching the scene and the touch rate;
and the adjusting unit is used for adjusting the sampling rate of the terminal to be the sampling rate matched with the scene and the touch rate.
7. The apparatus of claim 6, wherein the sampling rate determination unit determines the sampling rate that matches the scene and matches the touch rate by:
determining a preset sampling rate adjustment range matched with the scene;
acquiring an average touch rate of a user for performing touch operation on the touch screen in the scene;
determining a sampling rate matched with the average touch rate within the preset sampling rate adjustment range;
and determining the sampling rate matched with the average touch rate as the sampling rate matched with the scene and the touch rate.
8. The apparatus of claim 7, further comprising:
the storage unit is used for determining and storing the corresponding relation among the scene, the touch rate and the sampling rate based on the scene, the average touch rate and the sampling rate which is matched with the scene and the touch rate;
the sampling rate determining unit is further configured to determine a sampling rate matching the scene and the touch rate according to a corresponding relationship among the scene, the touch rate, and the sampling rate.
9. The apparatus of claim 6, wherein the sampling rate determination unit determines the sampling rate that matches the scene and matches the touch rate by:
and if the user does not perform touch operation in the scene, determining a preset sampling rate corresponding to the scene as a sampling rate matched with the scene and the touch rate.
10. The apparatus according to any one of claims 6 to 9,
the identification unit is further configured to identify a scene type to which a current operating scene of the terminal belongs, where the scene type includes a dynamic scene and a static scene;
the sampling rate determining unit is further configured to determine a sampling rate corresponding to the scene type according to the scene type to which the scene belongs;
and the sampling rate corresponding to the dynamic scene is higher than that corresponding to the static scene.
11. A touch screen sampling rate adjustment apparatus, comprising:
a memory to store instructions; and
a processor; instructions for invoking the memory store to perform the touchscreen sampling rate adjustment method of any of claims 1-5.
12. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, perform the touch screen sampling rate adjustment method of any one of claims 1-5.
CN202010595369.7A 2020-06-28 2020-06-28 Touch screen sampling rate adjusting method and device and computer storage medium Pending CN111880681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010595369.7A CN111880681A (en) 2020-06-28 2020-06-28 Touch screen sampling rate adjusting method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010595369.7A CN111880681A (en) 2020-06-28 2020-06-28 Touch screen sampling rate adjusting method and device and computer storage medium

Publications (1)

Publication Number Publication Date
CN111880681A true CN111880681A (en) 2020-11-03

Family

ID=73158056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010595369.7A Pending CN111880681A (en) 2020-06-28 2020-06-28 Touch screen sampling rate adjusting method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN111880681A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113940643A (en) * 2021-09-10 2022-01-18 芯海科技(深圳)股份有限公司 Sampling control method, device, electronic equipment and storage medium
WO2022134691A1 (en) * 2020-12-23 2022-06-30 荣耀终端有限公司 Method and device for screech processing in terminal device, and terminal
WO2023279820A1 (en) * 2021-07-07 2023-01-12 荣耀终端有限公司 Method for adjusting touch panel sampling rate, and electronic device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022134691A1 (en) * 2020-12-23 2022-06-30 荣耀终端有限公司 Method and device for screech processing in terminal device, and terminal
WO2023279820A1 (en) * 2021-07-07 2023-01-12 荣耀终端有限公司 Method for adjusting touch panel sampling rate, and electronic device
CN113940643A (en) * 2021-09-10 2022-01-18 芯海科技(深圳)股份有限公司 Sampling control method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107102772B (en) Touch control method and device
CN105898032B (en) method and device for adjusting prompt tone
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
WO2017028425A1 (en) Energy-saving mode activation method and device
CN107992257B (en) Screen splitting method and device
CN111880681A (en) Touch screen sampling rate adjusting method and device and computer storage medium
CN108200279B (en) Backlight adjusting method, device and equipment
EP3232323A1 (en) Method and apparatus for displaying status information of application
CN110262692B (en) Touch screen scanning method, device and medium
CN107480785B (en) Convolutional neural network training method and device
US20210307104A1 (en) Method and apparatus for controlling intelligent voice control device and storage medium
CN109862169B (en) Electronic equipment control method, device and storage medium
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN107656694B (en) Display control method and device of user interface
CN105786561B (en) Method and device for calling process
CN108874450B (en) Method and device for waking up voice assistant
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN109922203B (en) Terminal, screen off method and device
CN107203315B (en) Click event processing method and device and terminal
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN107704489B (en) Processing method and device for read-write timeout and computer readable storage medium
CN114442789A (en) Dark screen control method, device, equipment and storage medium
CN112181265B (en) Touch signal processing method, device and medium
CN108804009B (en) Gesture recognition method and device
CN110769114B (en) Call interface display 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