WO2024193720A1 - 屏幕处理方法、装置、电子设备及计算机可读存储介质 - Google Patents
屏幕处理方法、装置、电子设备及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2024193720A1 WO2024193720A1 PCT/CN2024/089891 CN2024089891W WO2024193720A1 WO 2024193720 A1 WO2024193720 A1 WO 2024193720A1 CN 2024089891 W CN2024089891 W CN 2024089891W WO 2024193720 A1 WO2024193720 A1 WO 2024193720A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sampling rate
- screen
- application
- displayed
- touch
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 29
- 238000005070 sampling Methods 0.000 claims abstract description 307
- 238000000034 method Methods 0.000 claims abstract description 32
- 238000004590 computer program Methods 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 14
- 238000013507 mapping Methods 0.000 claims description 11
- 238000005192 partition Methods 0.000 claims description 6
- 230000009466 transformation Effects 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 4
- 108010001267 Protein Subunits Proteins 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
- G06F3/04886—Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
- G06F3/04883—Interaction 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 for inputting data by handwriting, e.g. gesture or text
Definitions
- the embodiments of the present application relate to the field of computer technology, and specifically to a screen processing method, device, electronic device, and computer-readable storage medium.
- Touch sampling rate is a screen technology application that can reduce the user's touch delay and avoid intermittent touch caused by low sampling rate.
- the embodiments of the present application provide a screen processing method, device, electronic device and computer-readable storage medium, which can improve the rationality of the screen touch sampling rate configuration and achieve a balance between demand and power consumption.
- the present application embodiment provides a screen processing method, which is applied to a screen projection receiving device, including:
- the application to be displayed is displayed on the screen, and the screen is adjusted to the target touch sampling rate.
- the embodiment of the present application further provides a screen processing device, including:
- a type determination module used to determine the application type to be displayed on the screen of the terminal device
- a sampling rate determination module used to determine a target touch sampling rate according to the application type, wherein the touch sampling rate describes the number of touch signals collected per unit time;
- the adjustment module is used to display the application to be displayed on the screen and adjust the screen to the target touch sampling rate.
- the to-be-displayed applications include at least two, and the sampling rate determination module includes:
- a sampling rate determining unit configured to determine, for each application to be displayed, a target touch sampling rate corresponding to the application to be displayed according to an application type of the application to be displayed;
- Adjustment modules including:
- An area acquisition unit used to acquire a split-screen display area corresponding to each application to be displayed on the screen
- the sampling rate adjustment unit is used to display each application to be displayed in a corresponding split-screen display area, and adjust the split-screen display area to a corresponding target touch sampling rate.
- the device further includes a transformation module, and the transformation module includes:
- the sampling rate conversion unit is used to display the application to be displayed in the changed split-screen display area if the split-screen display area of the application to be displayed changes, and adjust the changed split-screen display area to the target touch sampling rate corresponding to the application to be displayed.
- the sampling rate determination module includes:
- a level determination unit configured to determine a sampling level according to the application type
- a threshold determination unit configured to determine a touch sampling rate interval threshold according to the sampling level, wherein the touch sampling rate interval threshold includes at least two preset touch sampling rates;
- the sampling rate selection unit is used to select a preset touch sampling rate from the touch sampling rate interval threshold as a target touch sampling rate.
- the device further includes a dynamic adjustment module, and the dynamic adjustment module includes:
- a sampling rate acquisition unit used to acquire an actual touch sampling rate of the screen, wherein the actual touch sampling rate is determined by the number of times the screen actually receives a touch signal within a preset time period;
- a sampling rate dynamic determination unit used to determine a reference touch sampling rate according to the actual touch sampling rate
- the sampling rate dynamic adjustment unit is used to adjust the screen to the reference touch sampling rate.
- the sampling rate acquisition unit includes:
- a dividing sub-unit used for dividing the screen into at least two screen sub-areas
- An acquisition subunit used to acquire an actual touch sampling rate of each of the screen sub-areas
- the sampling rate dynamic determination unit includes:
- a sampling rate dynamic determination subunit used for determining, for each screen sub-region, a reference touch sampling rate corresponding to the screen sub-region according to the actual touch sampling rate of the screen sub-region;
- Sampling rate dynamic adjustment list including:
- sampling rate dynamic adjustment subunit is used to adjust each screen sub-area to its corresponding reference touch sampling rate.
- the sampling rate acquisition unit includes:
- a capture subunit used to capture operation gestures for the screen, wherein different operation gestures have different contents of screen operations
- a recording subunit used to record the number of gesture operations of the operation gesture within a preset time period
- the sampling rate determination subunit is used to determine the actual touch sampling rate according to the number of gesture operations.
- an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps in the above-mentioned screen processing method when executed by the processor.
- an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned screen processing method are implemented.
- the embodiments of the present application further provide a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium.
- the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations described in the embodiments of the present application.
- the embodiment of the present application determines the application type to be displayed on the screen of the terminal device, determines the target touch sampling rate according to the application type, the touch sampling rate describes the number of touch signals collected per unit time, displays the application to be displayed on the screen, and adjusts the screen to the touch sampling rate.
- the touch sampling rate of the screen is adjusted according to the different types of applications displayed on the screen, so that the touch sampling rate can be within a reasonable range while meeting the application requirements, reducing the generation of additional power consumption, improving the rationality of the touch sampling rate configuration, and achieving a balance between demand and power consumption.
- FIG1 is a schematic diagram of a scene of a screen processing method provided in an embodiment of the present application.
- FIG2 is a schematic diagram of a flow chart of a screen processing method provided in an embodiment of the present application.
- FIG3 is a flow chart of a screen processing method when there are multiple applications on a screen provided by an embodiment of the present application
- FIG4 is a schematic diagram of an interface when there are multiple applications on a screen provided by an embodiment of the present application.
- FIG5 is another schematic diagram of a flow chart of a screen processing method provided in an embodiment of the present application.
- FIG6 is a schematic diagram of the structure of a screen processing device provided in an embodiment of the present application.
- FIG. 7 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
- the embodiments of the present application provide a screen processing method, device, electronic device and computer-readable storage medium.
- the embodiments of the present application provide a screen processing device suitable for electronic devices, wherein the electronic devices include terminal devices, which include but are not limited to mobile phones, televisions, tablet computers and other devices.
- the terminal device 10 determines the application type of the application to be displayed on the screen, then determines the target touch sampling rate according to the application type, displays the application to be displayed on the screen, and adjusts the touch sampling rate of the screen to the target touch sampling rate.
- touch sampling rate describes the number of touch signals collected per unit time. Generally, the higher the touch sampling rate, the more timely the screen response and the better the user's control experience.
- the touch sampling rate of the screen is adjusted according to the different types of applications displayed on the screen. While meeting the application requirements, the touch sampling rate can be within a reasonable range, reducing the generation of additional power consumption, improving the rationality of the touch sampling rate configuration, and achieving a balance between demand and power consumption.
- FIG. 2 is a schematic diagram of the process of the screen processing method provided in the embodiment of the present application.
- the screen processing method is applied to the screen projection receiving device, and the specific process is as follows:
- the application type is the type of application.
- the application is classified according to the control characteristics of the application.
- the application can be divided into high-touch applications and low-touch applications.
- high-touch applications For example, for applications such as reading, listening to music, and watching videos, since the number of clicks by users during use is relatively small, such applications can be classified as low-touch applications; for game applications, such users operate the screen more frequently, so such applications can be classified as high-touch applications.
- the type of application can be determined based on the classification of the application in the application store, or based on a user-defined classification.
- the terminal device can be a mobile phone, tablet computer, or other device that can be controlled by a touch screen, including a device that can be controlled by gestures.
- the screen is suitable for GFF, GF and other touch screens, including external TP solution touch screens, and touch screen architectures based on Oncell and incell.
- the touch sampling rate corresponding to the application type of the application is the target touch sampling rate when the application is displayed on the screen.
- the target touch sampling rate corresponding to the application type can be obtained based on the mapping relationship between the application type and the touch sampling rate. For example, a mapping relationship between different application types and different touch sampling rates is pre-established, and based on the application relationship, the target touch sampling rate is determined from the mapping relationship according to the application type of the current application. Accordingly, the mapping relationship can be pre-defined based on actual needs. For example, the user pre-collects the touch sampling rates of each application type and constructs a corresponding mapping list.
- the application to be displayed on the screen, and adjust the screen to the target touch sampling rate. It is understandable that by displaying the application to be displayed on the screen and adjusting the screen to the touch sampling rate, the application can have the corresponding touch sampling rate during use, so that different touch sampling rates can be matched according to different applications.
- the embodiment of the present application adjusts the touch sampling rate of the screen according to the different types of applications displayed on the screen, so that the touch sampling rate can be within a reasonable range while meeting the application requirements, reducing the generation of additional power consumption, improving the rationality of the touch sampling rate configuration, and achieving a balance between demand and power consumption.
- each application can be displayed in a split-screen manner, and the touch sampling rate of the display area of each application can be adjusted separately, that is, optionally, in some embodiments of the present application, the applications to be displayed include at least two, and the step of "determining the target touch sampling rate according to the application type" includes: for each application to be displayed, determining the target touch sampling rate corresponding to the application to be displayed according to the application type of the application to be displayed.
- the embodiment of the present application determines the corresponding target touch sampling rate for each application to be displayed according to the application type of each application to be displayed.
- the touch sampling rate can be adjusted respectively according to the split-screen display area where each application is located, that is, optionally, in some embodiments of the present application, the step of "displaying the application to be displayed on the screen, and adjusting the screen to the target touch sampling rate" includes:
- the application to be displayed is displayed in a corresponding split-screen display area, and the split-screen display area is adjusted to a corresponding target touch sampling rate.
- the split-screen display area is the area on the screen where the application is displayed.
- the size of this area is generally controlled by the display control.
- the size of the split-screen display area can be adjusted accordingly.
- the touch sampling rate at different locations on the screen is different, and can meet the touch requirements of different applications. At the same time, it can also solve the power consumption problem caused by the excessively high touch sampling rate.
- the method further includes:
- the application to be displayed is displayed in the changed split-screen display area.
- the application is applied, and the transformed split-screen display area is adjusted to the target touch sampling rate corresponding to the application to be displayed.
- the touch sampling rate of the application is adjusted as the split-screen display area changes during subsequent use, so that the display area of the application can have a corresponding touch sampling rate, ensuring that the use of the application can meet the corresponding touch requirements.
- different sampling levels can be configured for different applications, and the corresponding touch sampling rate is determined based on the sampling level, that is, optionally, in some embodiments of the present application, the step of "determining the target touch sampling rate according to the application type" includes:
- touch sampling rate interval threshold includes at least two preset touch sampling rates
- a preset touch sampling rate is selected from the touch sampling rate interval threshold as the target touch sampling rate.
- the touch sampling rate interval threshold is a pre-configured numerical interval including the touch sampling rate, and the interval includes a plurality of preset touch sampling rates.
- sampling levels correspond to different touch sampling rate interval thresholds, and the sampling level is used to distinguish different types of applications.
- a corresponding mapping relationship can also be established between the sampling level and the touch sampling rate interval threshold, so that the corresponding touch sampling rate interval threshold can be quickly obtained based on the mapping relationship.
- any preset touch sampling rate in the interval corresponding to the touch sampling rate interval threshold can be selected as the target touch sampling rate.
- low-touch applications generally refer to applications with fewer touch times. However, for this type of applications, there are also situations where there are more touches. For example, for a low-touch application for audio, when the user needs to frequently switch songs, the low-touch application becomes a high-touch application. Correspondingly, the low touch sampling rate corresponding to the low-touch application cannot meet the touch requirements. Therefore, it is necessary to adjust the touch sampling rate displayed on the screen of the application according to the touch requirements of the application during actual use.
- the method further includes:
- the screen is adjusted to the reference touch sampling rate.
- the actual touch sampling rate is the frequency at which the screen is touched during the use of the application, reflecting the touch conditions of the screen during the use of the application.
- the touch conditions of the application during actual use are collected, and the touch sampling rate of the screen is adjusted based on the touch conditions, so that the touch sampling rate is more in line with the touch requirements.
- the touch area of some applications may be only a small area.
- the touch area of some applications may be only a small area.
- the step of "obtaining the actual touch sampling rate of the screen" includes:
- the determining a reference touch sampling rate according to the actual touch sampling rate includes:
- the step of adjusting the screen to the reference touch sampling rate includes:
- the touch sampling rate of each screen sub-area is adjusted based on the actual touch sampling rate of each screen sub-area. It is helpful to increase the touch sampling rate in areas with more control and reduce the touch sampling rate in areas with less control.
- the control of some applications no longer relies solely on touching the screen.
- some applications can also be controlled and responded to through gesture control in the air.
- Such applications usually have two modes: gesture control and touch.
- the frequencies of gesture control and touch should be consistent.
- the number of touches on the screen can also be obtained by the number of gesture operations, that is, the touch sampling rate of the screen can be obtained. That is, optionally, in some embodiments of the present application, the step of "obtaining the actual touch sampling rate of the screen" includes:
- the actual touch sampling rate is determined according to the number of gesture operations.
- the number of gesture operations should also be consistent with the number of screen touches. Therefore, for the operation of the application, if the user chooses to control it by touching the screen, the number of screen touches should also be consistent with the number of gesture operations. Therefore, it is reasonable and logical to determine the actual touch sampling rate by the number of gesture operations.
- the embodiment of the present application configures different areas of the screen to have different touch sampling rates, thereby meeting the touch requirements while reducing the power consumption of the screen as much as possible and improving the battery life of the device.
- the touch sampling rate can be dynamically adapted according to the display content in different areas of the screen, further optimizing the battery life of the mobile phone.
- Figure 4 is a schematic diagram of the interface when there are multiple applications in the screen provided in an embodiment of the present application, wherein the screen interface includes three split-screen display areas A, B and C.
- the touch sampling rate of each split-screen display area can be dynamically adapted.
- the touch sampling rate of split-screen display area A is 240Hz
- the touch sampling rate of split-screen display area B is 60Hz
- the touch sampling rate of split-screen display area C is 120Hz.
- FIG. 5 is another flowchart of the screen processing method provided in an embodiment of the present application, wherein the flowchart of the screen processing method specifically includes:
- this application also provides a screen processing device based on the above screen processing method.
- the meaning of the nouns is the same as in the above screen processing method, and the specific implementation details can refer to the description in the method embodiment.
- FIG. 6 is a schematic diagram of the structure of a screen processing device provided in an embodiment of the present application, wherein the screen processing device may be specifically as follows:
- a type determination module 301 used to determine the application type to be displayed on the screen of the terminal device
- a sampling rate determination module 302 is used to determine a target touch sampling rate according to the application type, where the touch sampling rate describes the number of touch signals collected per unit time;
- the adjustment module 303 is used to display the application to be displayed on the screen and adjust the screen to the target touch sampling rate.
- the to-be-displayed applications include at least two, and the sampling rate determination module 302 includes: a sampling rate determination unit, configured to determine, for each to-be-displayed application, a target touch sampling rate corresponding to the to-be-displayed application according to an application type of the to-be-displayed application;
- the adjustment module 303 includes:
- An area acquisition unit used to acquire a split-screen display area corresponding to each application to be displayed on the screen
- the sampling rate adjustment unit is used to display each application to be displayed in a corresponding split-screen display area, and adjust the split-screen display area to a corresponding target touch sampling rate.
- the device further includes a transformation module, and the transformation module includes:
- the sampling rate conversion unit is used to display the application to be displayed in the changed split-screen display area if the split-screen display area of the application to be displayed changes, and adjust the changed split-screen display area to the target touch sampling rate corresponding to the application to be displayed.
- the sampling rate determination module 302 includes:
- a level determination unit configured to determine a sampling level according to the application type
- a threshold determination unit configured to determine a touch sampling rate interval threshold according to the sampling level, wherein the touch sampling rate interval threshold includes at least two preset touch sampling rates;
- the sampling rate selection unit is used to select a preset touch sampling rate from the touch sampling rate interval threshold as a target touch sampling rate.
- the device further includes a dynamic adjustment module, and the dynamic adjustment module includes:
- a sampling rate acquisition unit used to acquire an actual touch sampling rate of the screen, wherein the actual touch sampling rate is determined by the number of times the screen actually receives a touch signal within a preset time period;
- a sampling rate dynamic determination unit used to determine a reference touch sampling rate according to the actual touch sampling rate
- the sampling rate dynamic adjustment unit is used to adjust the screen to the reference touch sampling rate.
- the sampling rate acquisition unit includes:
- a dividing sub-unit used for dividing the screen into at least two screen sub-areas
- An acquisition subunit used to acquire an actual touch sampling rate of each of the screen sub-areas
- the sampling rate dynamic determination unit includes:
- a sampling rate dynamic determination subunit used for determining, for each screen sub-region, a reference touch sampling rate corresponding to the screen sub-region according to the actual touch sampling rate of the screen sub-region;
- Sampling rate dynamic adjustment list including:
- sampling rate dynamic adjustment subunit is used to adjust each screen sub-area to its corresponding reference touch sampling rate.
- the sampling rate acquisition unit includes:
- a capture subunit used to capture operation gestures for the screen, wherein different operation gestures have different contents of screen operations
- a recording subunit used to record the number of gesture operations of the operation gesture within a preset time period
- the sampling rate determination subunit is used to determine the actual touch sampling rate according to the number of gesture operations.
- the type determination module 301 first determines the application type to be displayed on the screen of the terminal device, and then the sampling rate determination module 302 determines the target touch sampling rate according to the application type, and the touch sampling rate describes the number of touch signals collected per unit time. Then, the adjustment module 303 displays the application to be displayed on the screen and adjusts the screen to the target touch sampling rate.
- the touch sampling rate of the screen is adjusted according to the different types of applications displayed on the screen. While meeting the application requirements, the touch sampling rate can be within a reasonable range, reducing the generation of additional power consumption, improving the rationality of the touch sampling rate configuration, and achieving a balance between demand and power consumption.
- FIG7 shows a schematic diagram of the structure of the electronic device involved in the present application, specifically:
- the electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404.
- a processor 401 with one or more processing cores
- a memory 402 with one or more computer-readable storage media
- a power supply 403 with one or more computer-readable storage media
- an input unit 404 may be included in the electronic device.
- FIG. 7 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
- the processor 401 is the control center of the electronic device, which uses various interfaces and lines to connect various parts of the entire electronic device, and executes various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, so as to monitor the electronic device as a whole.
- the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.
- the memory 402 can be used to store software programs and modules.
- the processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402.
- the memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc.
- the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
- the electronic device also includes a power supply 403 for supplying power to each component.
- the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system.
- the power supply 403 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
- the electronic device may also include an input unit 404, which may be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
- the electronic device may also include a display unit, etc., which will not be described in detail here.
- the processor 401 in the electronic device will load the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application program stored in the memory 402, thereby implementing the steps in any screen processing method provided in the embodiments of the present application.
- the embodiment of the present application determines the application type to be displayed on the screen of the terminal device, determines the target touch sampling rate according to the application type, the touch sampling rate describes the number of touch signals collected per unit time, displays the application to be displayed on the screen, and adjusts the screen to the touch sampling rate.
- the touch sampling rate of the screen is adjusted according to the different types of applications displayed on the screen, so that the touch sampling rate can be within a reasonable range while meeting the application requirements, reducing the generation of additional power consumption, improving the rationality of the touch sampling rate configuration, and achieving a balance between demand and power consumption.
- the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any screen processing method provided in the present application.
- the specific implementation of each of the above operations can be referred to the previous embodiments, and will not be repeated here.
- the computer readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or CD, etc.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例公开了一种屏幕处理方法、装置、电子设备及计算机可读存储介质,该方法:确定终端设备的屏幕上待显示应用的应用类型;根据应用类型确定目标触控采样率,目标触控采样率描述单位时间内采集到的触控信号的次数;在屏幕上显示所述待显示应用,并将屏幕调整为目标触控采样率。使其触控采样率能够在一个合理的范围。
Description
本申请要求申请日为2023年03月22日、申请号为202310289404.6、申请名称为“屏幕处理方法、装置、电子设备及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及计算机技术领域,具体涉及一种屏幕处理方法、装置、电子设备及计算机可读存储介质。
触控采样率,是一种屏幕技术应用,能够使用户的触控延迟降低,避免低采样率出现的触控断断续续的情况。
通常情况下,屏幕的触控采样率越高,针对用户的响应越及时,用户体验越好。
但是,针对一些低触控采样率的场景,较高的触控采样率又会产生不必要的功耗,影响设备的续航。因此,如何配置设备屏幕的触控采样率,使其在满足用户需求的同时,能够降低功耗、提升设备的续航能力,达到需求与功耗的平衡,是当前研究的方向。
本申请实施例提供一种屏幕处理方法、装置、电子设备及计算机可读存储介质,可以提升屏幕触控采样率配置的合理性,达到需求与功耗的平衡。
本申请实施例提供了一种屏幕处理方法,应用于投屏接收端设备,包括:
确定所述终端设备的屏幕上待显示应用的应用类型;
根据所述应用类型确定目标触控采样率,所述触控采样率描述单位时间内采集到的触控信号的次数;
在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。
相应的,本申请实施例还提供了一种屏幕处理装置,包括:
类型确定模块,用于确定所述终端设备的屏幕上待显示应用的应用类型;
采样率确定模块,用于根据所述应用类型确定目标触控采样率,所述触控采样率描述单位时间内采集到的触控信号的次数;
调整模块,用于在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。
可选的,在本申请的一些实施例中,待显示应用包括至少两个,采样率确定模块包括:
采样率确定单元,用于针对每个待显示应用,根据所述待显示应用的应用类型确定所述待显示应用对应的目标触控采样率;
调整模块,包括:
区域获取单元,用于获取每个待显示应用在所述屏幕上对应的分屏显示区域;
采样率调整单元,用于针对每个待显示应用,将所述待显示应用显示在相应的分屏显示区域,并将所述分屏显示区域调整为相应的目标触控采样率。
其中,在本申请的一些实施例中,该装置还包括变换模块,变换模块包括:
采样率变换单元,用于若所述待显示应用的分屏显示区域发生变化,则在变化后的分屏显示区域中显示所述待显示应用,并将变换后的分屏显示区域调整为所述待显示应用对应的目标触控采样率。
其中,在本申请的一些实施例中,采样率确定模块包括:
等级确定单元,用于根据所述应用类型确定采样等级;
阈值确定单元,用于根据所述采样等级确定触控采样率区间阈值,所述触控采样率区间阈值包括至少两个预设触控采样率;
采样率选取单元,用于从所述触控采样率区间阈值中选取一个预设触控采样率作为目标触控采样率。
其中,在本申请的一些实施例中,该装置还包括动态调整模块,动态调整模块包括:
采样率获取单元,用于获取所述屏幕的实际触控采样率,所述实际触控采样率由预设时长内所述屏幕实际接收到触控信号的次数确定;
采样率动态确定单元,用于根据所述实际触控采样率,确定参考触控采样率;
采样率动态调整单元,用于将所述屏幕调整为所述参考触控采样率。
其中,在本申请的一些实施例中,采样率获取单元包括:
划分子单元,用于将所述屏幕划分为至少两个屏幕子区域;
获取子单元,用于获取各个所述屏幕子区域的实际触控采样率;
采样率动态确定单元,包括:
采样率动态确定子单元,用于针对每个屏幕子区域,根据所述屏幕子区域的实际触控采样率,确定所述屏幕子区域对应的参考触控采样率;
采样率动态调整单,包括:
采样率动态调整子单元,用于将各个屏幕子区域调整为其对应的参考触控采样率。
其中,在本申请的一些实施例中,采样率获取单元包括:
捕捉子单元,用于捕捉针对所述屏幕的操作手势,其中,不同操作手势对屏幕操作的内容不同;
记录子单元,用于记录预设时长内所述操作手势的手势操作次数;
采样率确定子单元,用于根据所述手势操作次数确定实际触控采样率。
第三方面,本申请实施例还提供了一种电子设备,电子设备包括存储器、处理器及存储在存储器中并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现上述的屏幕处理方法中的步骤。
第四方面,本申请实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现上述的屏幕处理方法中的步骤。
第五方面,本申请实施例还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行本申请实施例所述的各种可选实现方式中提供的方法。
本申请实施例确定终端设备的屏幕上待显示应用的应用类型,根据应用类型确定目标触控采样率,触控采样率描述单位时间内采集到的触控信号的次数,在屏幕上显示待显示应用,并将屏幕调整为触控采样率。其中,通过屏幕上显示的应用类型的不同,对屏幕的触控采样率进行调整,在满足应用需求的同时,使其触控采样率能够在一个合理的范围,降低额外功耗的产生,提升触控采样率配置的合理性,达到需求与功耗的平衡。
为了更清楚地说明本申请中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来
讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的屏幕处理方法的场景示意图;
图2是本申请实施例提供的屏幕处理方法的流程示意图;
图3是本申请实施例提供的屏幕中多个应用时屏幕处理方法的流程示意图;
图4是本申请实施例提供的屏幕中存在多个应用时的界面示意图;
图5是本申请实施例提供的屏幕处理方法的另一流程示意图;
图6是本申请实施例提供的屏幕处理装置的结构示意图;
图7是本申请实施例提供的电子设备的结构示意。
下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本申请实施例提供一种屏幕处理方法、装置、电子设备及计算机可读存储介质。具体地,本申请实施例提供适用于电子设备的屏幕处理装置,其中,电子设备包括终端设备,该终端设备包括但不限于手机、电视、平板电脑等设备。
相应的,请参阅图1,以终端设备执行该屏幕处理方法为例,具体执行过程如下:
终端设备10确定屏幕上将要显示的待显示应用的应用类型,然后,根据该应用类型确定目标触控采样率,并在该屏幕上显示该待显示应用,并将该屏幕的触控采样率调整为该目标触控采样率。
需要说明的是,触控采样率描述单位时间内采集到的触控信号的次数。通常情况下,触控采样率越高,屏幕的响应越及时,用户操控感越好。
可以理解的是,通过屏幕上显示的应用类型的不同,对屏幕的触控采样率进行调整,在满足应用需求的同时,使其触控采样率能够在一个合理的范围,降低额外功耗的产生,提升触控采样率配置的合理性,达到需求与功耗的平衡。
以下分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优先顺序的限定。
请参阅图2,图2为本申请实施例提供的屏幕处理方法的流程示意图。该屏幕处理方法应用于投屏接收端设备,具体流程如下:
101、确定所述终端设备的屏幕上待显示应用的应用类型。
可以理解的是,应用类型是应用的类型,在本申请实施例中,根据应用的操控特点对应用进行分类,例如,可以将应用分为高触控类应用和低触控类应用等。比如,针对阅读、听音乐、看视频等应用,由于其在使用过程中用户点击的次数较少,可以将该类应用归类为低触控类应用;针对游戏类应用,这类用户对屏幕的操作较多,因此,可以将该类应用归类为高触控类应用。
其中,在本申请实施例中,应用的类型可以根据应用在应用商城中的分类进行确定,或者基于用户自定义的分类得到。
可以理解的是,终端设备可以是手机、平板电脑等可以通过触控屏幕进行操控的设备,也包括通过手势进行操控的设备。屏幕适用于GFF、GF等触控屏幕包括外挂TP方案触控屏幕,以及基于Oncell和incell触控屏架构。
可以理解的是,通过确定屏幕上待显示应用的应用类型,方便根据应用类型对应用在屏幕上的显示进行控制。
102、根据所述应用类型确定目标触控采样率,所述触控采样率描述单位时间内采集到的触
控信号的次数。
可以理解的是,不同应用类型对应不同的触控采样率,该应用的应用类型对应的触控采样率,为该应用在屏幕上显示时的目标触控采样率。
可以理解的是,该应用类型对应的目标触控采样率可以根据应用类型与触控采样率的映射关系来得到,例如,预先建立不同应用类型与不同触控采样率的映射关系,基于该应用关系,根据该当前应用的应用类型,从该映射关系中确定目标触控采样率。相应的,该映射关系可以基于实际需求进行预定义,比如,用户对各个应用类型的触控采样率进行预先采集,构建相应的映射名单。
103、在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。可以理解的是,通过在屏幕上显示该待显示应用,并将该屏幕调整为该触控采样率,使得该应用在使用过程中,能够具备该相应的触控采样率,实现根据应用的不同,匹配相应不同的触控采样率。
其中,本申请实施例通过屏幕上显示的应用类型的不同,对屏幕的触控采样率进行调整,在满足应用需求的同时,使其触控采样率能够在一个合理的范围,降低额外功耗的产生,提升触控采样率配置的合理性,达到需求与功耗的平衡。
可以理解的是,目前,随着市场的发展,大尺寸屏幕成为一种趋势,而用户在一个屏幕上也不仅限于一个应用的使用,越来越多的屏幕上开始同时出现多个应用,并且多个应用同时使用的情况。针对这种情况,将屏幕的触控采样率设置为单一的则不能满足各个应用的需求,因此,需要对屏幕上各个应用显示区域分别进行触控采样率的调整,以达到需求与功耗平衡的特点。
相应的,在本申请实施例中,针对屏幕上多个应用的情况,可以对各个应用进行分屏显示,并分别对各个应用的显示区域进行触控采样率的调整,即,可选的,在本申请的一些实施例中,待显示应用包括至少两个,步骤“所述根据所述应用类型确定目标触控采样率”,包括:针对每个待显示应用,根据所述待显示应用的应用类型确定所述待显示应用对应的目标触控采样率。
相应的,为了避免屏幕各处触控采样率一致的缺陷,本申请实施例针对各个待显示应用,以各个待显示应用的应用类型确定相应的目标触控采样率。
随后,针对屏幕上的各个应用,可以根据各个应用所在的分屏显示区域分别进行触控采样率的调整,即,可选的,在本申请的一些实施例中,步骤“在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率”,包括:
获取每个待显示应用在所述屏幕上对应的分屏显示区域;
针对每个待显示应用,将所述待显示应用显示在相应的分屏显示区域,并将所述分屏显示区域调整为相应的目标触控采样率。
可以理解的是,分屏显示区域是屏幕上该应用所显示的区域,该区域的大小一般由显示控件控制,当用户通过手指或者触控笔等对分屏显示区域进行调整后,分屏显示区域的大小则可以相应进行调整。
其中,通过将屏幕上各个分屏显示区域调整为不同的触控采样率,使得屏幕上各处的触控采样率不同,且能够满足各个不同应用的触控需求,同时,还可以解决因触控采样率过高而造成的功耗问题。
可选的,当应用在屏幕上显示的区域发生变换后,则需要对变化后的区域进行触控采样率的调整,即,可选的,在本申请的一些实施例中,步骤“针对每个待显示应用,将所述待显示应用显示在相应的分屏显示区域,并将所述分屏显示区域调整为相应的目标触控采样率”之后,所述方法还包括:
若所述待显示应用的分屏显示区域发生变化,则在变化后的分屏显示区域中显示所述待显示
应用,并将变换后的分屏显示区域调整为所述待显示应用对应的目标触控采样率。
其中,通过应用在后续使用过程中触控采样率随分屏显示区域的变换进行调整,使得应用的显示区域内,均能够具备相应的触控采样率,确保应用的使用能够满足相应的触控需求。可选的,针对不同应用,还可以配置不同的采样等级,基于该采样等级确定相应的触控采样率,即,可选的,在本申请的一些实施例中,步骤“根据所述应用类型确定目标触控采样率”,包括:
根据所述应用类型确定采样等级;
根据所述采样等级确定触控采样率区间阈值,所述触控采样率区间阈值包括至少两个预设触控采样率;
从所述触控采样率区间阈值中选取一个预设触控采样率作为目标触控采样率。
需要说明的是,触控采样率区间阈值是预先配置的一个包含触控采样率的数值区间,该区间中包括多个预设触控采样率。
可以理解的是,不同采样等级对应不同的触控采样率区间阈值,通过采样等级将各个类型的应用区分开来。其中,采样等级和触控采样率区间阈值之间也可以建立相应的映射关系,方便基于该映射关系,快速获取到相应的触控采样率区间阈值。
其中,当确定相应的触控采样率区间阈值后,则可以从该触控采样率区间阈值对应的区间中任选一个预设触控采样率作为目标触控采样率。
相应的,低触控类应用一般指触控次数较少的应用,但是,针对这类应用,也存在存触控较多的情况,例如,针对音频的低触控类应用,当用户需要频繁切换歌曲时,则该低触控类应用则变为了高触控类应用,相应的,低触控类应用对应的低触控采样率则不能满足触控需求,因此,需要针对应用在实际使用过程中的触控需求,对应用显示在屏幕上的触控采样率进行调整。
例如,在应用使用过程中,采集屏幕的实际触控情况,基于该实际触控情况调整触控采样率,即,可选的,在本申请的一些实施例中,步骤“在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率”之后,该方法还包括:
获取所述屏幕的实际触控采样率,所述实际触控采样率由预设时长内所述屏幕实际接收到触控信号的次数确定;
根据所述实际触控采样率,确定参考触控采样率;
将所述屏幕调整为所述参考触控采样率。
需要说明的是,实际触控采样率是应用在使用过程中屏幕被触碰的频率,反映应用在使用过程中屏幕的触控情况。其中,通过采集应用在实际使用过程中的触控情况,基于该触控情况调整屏幕的触控采样率,使得触控采样率与触控需求更匹配。
其中,部分应用的触控区域可能仅为一小部分区域,例如,针对游戏类应用,该界面中仅有小部分区域是用户需要操控的区域,因此,针对此类应用,可以仅提高该小区域内的触控采样率,即,可选的,在本申请的一些实施例中,步骤“获取所述屏幕的实际触控采样率”,包括:
将所述屏幕划分为至少两个屏幕子区域;
获取各个所述屏幕子区域的实际触控采样率;
所述根据所述实际触控采样率,确定参考触控采样率,包括:
针对每个屏幕子区域,根据所述屏幕子区域的实际触控采样率,确定所述屏幕子区域对应的参考触控采样率;
所述将所述屏幕调整为所述参考触控采样率,包括:
将各个屏幕子区域调整为其对应的参考触控采样率。
其中,基于各个屏幕子区域的实际触控采样率对各个屏幕子区域进行触控采样率的调整,有
利于提升操控较多的区域的触控采样率,以及降低操控较低的区域的触控采样率。
进一步地,随着图像识别技术的提升,部分应用的操控则不在仅依赖于在屏幕上的触碰,例如,部分应用也可以通过手势的隔空操控进行控制和响应,而这类应用通常具备手势操控和触碰两种模式,以及该手势操控和触碰的频率应当是一致的,例如,针对同一个应用的某个功能,通过手势的操控次数与通过屏幕的触碰次数应该是相同的,因此,在本申请实施例中,还可以通过手势的操作次数来得到屏幕的触碰次数,即得到屏幕的触控采样率,即,可选的,在本申请的一些实施例中,步骤“获取所述屏幕的实际触控采样率”,包括:
捕捉针对所述屏幕的操作手势,其中,不同操作手势对屏幕操作的内容不同;
记录预设时长内所述操作手势的手势操作次数;
根据所述手势操作次数确定实际触控采样率。
可以理解的是,同一个应用通过手势或者触碰所操作的内容是一致的,因此,手势操作的次数也与触屏的次数应当是一致的,因此,针对该应用的操作,如果用户选择触屏的方式操控,则该触屏的次数也应当与手势操作的次数一致,因此,用手势操作的次数确定实际触控采样率是合理的,适合逻辑的。
可以理解的是,本申请实施例通过将屏幕的不同区域配置为不同的触控采样率,在满足触控需求的同时,能够尽可能降低屏幕的功耗,提升设备的续航能力。
请参阅图3,图3是本申请实施例提供的屏幕中多个应用时屏幕处理方法的流程示意图,其中,该屏幕处理方法的具体流程包括:
201、当屏幕中启动多个应用时,确定每个应用对应的分屏显示区域;
202、针对每个应用,获取该应用的应用类型;
203、根据各个应用对应的应用类型确定各个应用对应的目标触控采样率;
204、将每个应用对应的分屏显示区域调整为对应的目标触控采样率。
其中,通过将不同应用对应的显示区域的触控采样率调整为不同的,实现根据屏幕不同区域显示内容动态适配触控采样率,进一步优化手机续航。
例如,请参阅图4,图4是本申请实施例提供的屏幕中存在多个应用时的界面示意图,其中,该屏幕界面中包括A、B和C三个分屏显示区域,相应的,基于屏幕处理后,每个分屏显示区域的触控采样率可以动态适配,比如,分屏显示区域A的触控采样率为240Hz,分屏显示区域B的触控采样率为60Hz和分屏显示区域C的触控采样率为120Hz。
请参阅图5,图5是本申请实施例提供的屏幕处理方法的另一流程示意图,其中,该屏幕处理方法的流程具体包括:
211、检测屏幕中是否发生分屏,得到各个分区,若发生,则执行步骤212、反之,则执行步骤214;
212、识别各个分区中显示的应用内容;
213、针对各个分区,根据该分区中应用内容触发触控集成芯片适配对应的触控采样率;
214、识别屏幕中显示的应用内容;
215、根据该应用内容触发触控集成芯片适配对应的触控采样率。
可以理解的是,在调节屏幕的触控采样率后,在屏幕处理过程中,还可以返回到步骤211,直至屏幕处理结束(如关机或者关闭应用等)。
可以理解的是,根据屏幕不同区域显示内容动态适配触控采样率,进一步优化手机续航。为便于更好的实施本申请的屏幕处理方法,本申请还提供一种基于上述屏幕处理方法的屏幕处理装置。其中名词的含义与上述屏幕处理方法中相同,具体实现细节可以参考方法实施例中的说明。
请参阅图6,图6是本申请实施例提供的屏幕处理装置的结构示意图,其中该屏幕处理装置具体可以如下:
类型确定模块301,用于确定所述终端设备的屏幕上待显示应用的应用类型;
采样率确定模块302,用于根据所述应用类型确定目标触控采样率,所述触控采样率描述单位时间内采集到的触控信号的次数;
调整模块303,用于在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。
可选的,在本申请的一些实施例中,待显示应用包括至少两个,采样率确定模块302包括:采样率确定单元,用于针对每个待显示应用,根据所述待显示应用的应用类型确定所述待显示应用对应的目标触控采样率;
调整模块303,包括:
区域获取单元,用于获取每个待显示应用在所述屏幕上对应的分屏显示区域;
采样率调整单元,用于针对每个待显示应用,将所述待显示应用显示在相应的分屏显示区域,并将所述分屏显示区域调整为相应的目标触控采样率。
其中,在本申请的一些实施例中,该装置还包括变换模块,变换模块包括:
采样率变换单元,用于若所述待显示应用的分屏显示区域发生变化,则在变化后的分屏显示区域中显示所述待显示应用,并将变换后的分屏显示区域调整为所述待显示应用对应的目标触控采样率。
其中,在本申请的一些实施例中,采样率确定模块302包括:
等级确定单元,用于根据所述应用类型确定采样等级;
阈值确定单元,用于根据所述采样等级确定触控采样率区间阈值,所述触控采样率区间阈值包括至少两个预设触控采样率;
采样率选取单元,用于从所述触控采样率区间阈值中选取一个预设触控采样率作为目标触控采样率。
其中,在本申请的一些实施例中,该装置还包括动态调整模块,动态调整模块包括:
采样率获取单元,用于获取所述屏幕的实际触控采样率,所述实际触控采样率由预设时长内所述屏幕实际接收到触控信号的次数确定;
采样率动态确定单元,用于根据所述实际触控采样率,确定参考触控采样率;
采样率动态调整单元,用于将所述屏幕调整为所述参考触控采样率。
其中,在本申请的一些实施例中,采样率获取单元包括:
划分子单元,用于将所述屏幕划分为至少两个屏幕子区域;
获取子单元,用于获取各个所述屏幕子区域的实际触控采样率;
采样率动态确定单元,包括:
采样率动态确定子单元,用于针对每个屏幕子区域,根据所述屏幕子区域的实际触控采样率,确定所述屏幕子区域对应的参考触控采样率;
采样率动态调整单,包括:
采样率动态调整子单元,用于将各个屏幕子区域调整为其对应的参考触控采样率。
其中,在本申请的一些实施例中,采样率获取单元包括:
捕捉子单元,用于捕捉针对所述屏幕的操作手势,其中,不同操作手势对屏幕操作的内容不同;
记录子单元,用于记录预设时长内所述操作手势的手势操作次数;
采样率确定子单元,用于根据所述手势操作次数确定实际触控采样率。
本申请实施例首先由类型确定模块301确定所述终端设备的屏幕上待显示应用的应用类型,接着,由采样率确定模块302根据所述应用类型确定目标触控采样率,所述触控采样率描述单位时间内采集到的触控信号的次数,然后,由调整模块303在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。
可以理解的是,通过屏幕上显示的应用类型的不同,对屏幕的触控采样率进行调整,在满足应用需求的同时,使其触控采样率能够在一个合理的范围,降低额外功耗的产生,提升触控采样率配置的合理性,达到需求与功耗的平衡。
此外,本申请还提供一种电子设备,如图7所示,其示出了本申请所涉及的电子设备的结构示意图,具体来讲:
该电子设备可以包括一个或者一个以上处理核心的处理器401、一个或一个以上计算机可读存储介质的存储器402、电源403和输入单元404等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
处理器401是该电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器401可包括一个或多个处理核心;优选的,处理器401可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器401中。
存储器402可用于存储软件程序以及模块,处理器401通过运行存储在存储器402的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器402还可以包括存储器控制器,以提供处理器401对存储器402的访问。
电子设备还包括给各个部件供电的电源403,优选的,电源403可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源403还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
该电子设备还可包括输入单元404,该输入单元404可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。尽管未示出,电子设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,电子设备中的处理器401会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现本申请实施例提供的任一种屏幕处理方法中的步骤。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
本申请实施例确定终端设备的屏幕上待显示应用的应用类型,根据应用类型确定目标触控采样率,触控采样率描述单位时间内采集到的触控信号的次数,在屏幕上显示待显示应用,并将屏幕调整为触控采样率。其中,通过屏幕上显示的应用类型的不同,对屏幕的触控采样率进行调整,在满足应用需求的同时,使其触控采样率能够在一个合理的范围,降低额外功耗的产生,提升触控采样率配置的合理性,达到需求与功耗的平衡。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。
为此,本申请提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序能够被处理器进行加载,以执行本申请所提供的任一种屏幕处理方法中的步骤。以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
其中,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
由于该计算机可读存储介质中所存储的指令,可以执行本申请所提供的任一种屏幕处理方法中的步骤,因此,可以实现本申请所提供的任一种屏幕处理方法所能实现的有益效果,详见前面的实施例,在此不再赘述。
以上对本申请所提供的一种屏幕处理方法、装置、电子设备以及计算机可读存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。
其中,需要说明的是,在本申请的具体实施方式中,涉及到屏幕上显示的应用的应用内容及类型等相关的数据,当本申请以上实施例运用到具体产品或技术中时,需要获得用户许可或者同意,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。
Claims (20)
- 一种屏幕处理方法,其中,应用于终端设备,包括:确定所述终端设备的屏幕上待显示应用的应用类型;根据所述应用类型确定目标触控采样率,所述目标触控采样率描述单位时间内采集到的触控信号的次数;在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。
- 根据权利要求1所述的方法,其中,所述待显示应用包括至少两个,所述根据所述应用类型确定目标触控采样率,包括:针对每个待显示应用,根据所述待显示应用的应用类型确定所述待显示应用对应的目标触控采样率;所述在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率,包括:获取每个待显示应用在所述屏幕上对应的分屏显示区域;针对每个待显示应用,将所述待显示应用显示在相应的分屏显示区域,并将所述分屏显示区域调整为相应的目标触控采样率。
- 根据权利要求2所述的方法,其中,所述针对每个待显示应用,将所述待显示应用显示在相应的分屏显示区域,并将所述分屏显示区域调整为相应的目标触控采样率之后,所述方法还包括:若所述待显示应用的分屏显示区域发生变化,则在变化后的分屏显示区域中显示所述待显示应用,并将变换后的分屏显示区域调整为所述待显示应用对应的目标触控采样率。
- 根据权利要求1所述的方法,其中,所述根据所述应用类型确定目标触控采样率,包括:根据所述应用类型确定采样等级;根据所述采样等级确定触控采样率区间阈值,所述触控采样率区间阈值包括至少两个预设触控采样率;从所述触控采样率区间阈值中选取一个预设触控采样率作为目标触控采样率。
- 根据权利要求1所述的方法,其中,所述在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率之后,所述方法还包括:获取所述屏幕的实际触控采样率,所述实际触控采样率由预设时长内所述屏幕实际接收到触控信号的次数确定;根据所述实际触控采样率,确定参考触控采样率;将所述屏幕调整为所述参考触控采样率。
- 根据权利要求5所述的方法,其中,所述获取所述屏幕的实际触控采样率,包括:将所述屏幕划分为至少两个屏幕子区域;获取各个所述屏幕子区域的实际触控采样率;所述根据所述实际触控采样率,确定参考触控采样率,包括:针对每个屏幕子区域,根据所述屏幕子区域的实际触控采样率,确定所述屏幕子区域对应的参考触控采样率;所述将所述屏幕调整为所述参考触控采样率,包括:将各个屏幕子区域调整为其对应的参考触控采样率。
- 根据权利要求5所述的方法,其中,所述获取所述屏幕的实际触控采样率,包括:捕捉针对所述屏幕的操作手势,其中,不同操作手势对屏幕操作的内容不同;记录预设时长内所述操作手势的手势操作次数;根据所述手势操作次数确定实际触控采样率。
- 根据权利要求2所述的方法,其中,所述获取每个待显示应用在所述屏幕上对应的分屏显示区域之前,所述方法还包括:响应于针对各待显示应用的分屏操作,将各所述待显示应用显示到所述屏幕的各分区;所述获取每个待显示应用在所述屏幕上对应的分屏显示区域,包括:将各待显示应用显示的分区作为所述待显示应用在所述屏幕上对应的分屏显示区域。
- 根据权利要求2所述的方法,其中,所述根据所述应用类型确定目标触控采样率,包括:获取映射关系集合,所述映射关系集合包含应用类型与触控采样率的映射关系;基于所述映射关系,确定所述屏幕上待显示应用的目标触控采样率。
- 根据权利要求3所述的方法,其中,所述若所述待显示应用的分屏显示区域发生变化,则在变化后的分屏显示区域中显示所述待显示应用,并将变换后的分屏显示区域调整为所述待显示应用对应的目标 触控采样率之前,所述方法还包括:响应于针对所述分屏显示区域的调整操作,调整所述分屏显示区域的大小。
- 根据权利要求1所述的方法,其中,所述确定所述终端设备的屏幕上待显示应用的应用类型,包括:确定所述待显示应用呈现的应用内容;根据所述应用内容确定所述待显示应用的应用类型。
- 根据权利要求1所述的方法,其中,所述终端设备包括触控类设备和手势操控类设备。
- 一种屏幕处理装置,其中,包括:类型确定模块,用于确定所述终端设备的屏幕上待显示应用的应用类型;采样率确定模块,用于根据所述应用类型确定目标触控采样率,所述触控采样率描述单位时间内采集到的触控信号的次数;调整模块,用于在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。
- 根据权利要求13所述的装置,其中,所述待显示应用包括至少两个,所述采样率确定模块包括:采样率确定单元,用于针对每个待显示应用,根据所述待显示应用的应用类型确定所述待显示应用对应的目标触控采样率;调整模块,包括:区域获取单元,用于获取每个待显示应用在所述屏幕上对应的分屏显 示区域;采样率调整单元,用于针对每个待显示应用,将所述待显示应用显示在相应的分屏显示区域,并将所述分屏显示区域调整为相应的目标触控采样率。
- 根据权利要求14所述的装置,其中,所述装置还包括变换模块,变换模块包括:采样率变换单元,用于若所述待显示应用的分屏显示区域发生变化,则在变化后的分屏显示区域中显示所述待显示应用,并将变换后的分屏显示区域调整为所述待显示应用对应的目标触控采样率。
- 根据权利要求13所述的装置,其中,所述采样率确定模块包括:等级确定单元,用于根据所述应用类型确定采样等级;阈值确定单元,用于根据所述采样等级确定触控采样率区间阈值,所述触控采样率区间阈值包括至少两个预设触控采样率;采样率选取单元,用于从所述触控采样率区间阈值中选取一个预设触控采样率作为目标触控采样率。
- 根据权利要求13所述的装置,其中,所述装置还包括动态调整模块,动态调整模块包括:采样率获取单元,用于获取所述屏幕的实际触控采样率,所述实际触控采样率由预设时长内所述屏幕实际接收到触控信号的次数确定;采样率动态确定单元,用于根据所述实际触控采样率,确定参考触控采样率;采样率动态调整单元,用于将所述屏幕调整为所述参考触控采样率。
- 根据权利要求17所述的装置,其中,所述采样率获取单元包括:划分子单元,用于将所述屏幕划分为至少两个屏幕子区域;获取子单元,用于获取各个所述屏幕子区域的实际触控采样率;所述采样率动态确定单元,包括:采样率动态确定子单元,用于针对每个屏幕子区域,根据所述屏幕子区域的实际触控采样率,确定所述屏幕子区域对应的参考触控采样率;所述采样率动态调整单元,包括:采样率动态调整子单元,用于将各个屏幕子区域调整为其对应的参考触控采样率。
- 一种电子设备,其中,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现:确定终端设备的屏幕上待显示应用的应用类型;根据所述应用类型确定目标触控采样率,所述目标触控采样率描述单位时间内采集到的触控信号的次数;在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现:确定终端设备的屏幕上待显示应用的应用类型;根据所述应用类型确定目标触控采样率,所述目标触控采样率描述单位时间内采集到的触控信号的次数;在所述屏幕上显示所述待显示应用,并将所述屏幕调整为所述目标触控采样率。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310289404.6A CN117406906A (zh) | 2023-03-22 | 2023-03-22 | 屏幕处理方法、装置、电子设备及计算机可读存储介质 |
CN202310289404.6 | 2023-03-22 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024193720A1 true WO2024193720A1 (zh) | 2024-09-26 |
Family
ID=89487724
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2024/089891 WO2024193720A1 (zh) | 2023-03-22 | 2024-04-25 | 屏幕处理方法、装置、电子设备及计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117406906A (zh) |
WO (1) | WO2024193720A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117406906A (zh) * | 2023-03-22 | 2024-01-16 | Tcl移动通信科技(宁波)有限公司 | 屏幕处理方法、装置、电子设备及计算机可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362225A (zh) * | 2019-06-18 | 2019-10-22 | 腾讯科技(成都)有限公司 | 触控屏采样频率控制方法、装置、介质及电子设备 |
CN112083996A (zh) * | 2020-09-16 | 2020-12-15 | 努比亚技术有限公司 | 屏幕控制方法、移动终端及计算机可读存储介质 |
CN115083330A (zh) * | 2022-06-29 | 2022-09-20 | 努比亚技术有限公司 | 屏幕参数调节方法、移动终端及计算机可读存储介质 |
WO2023029565A1 (zh) * | 2021-08-28 | 2023-03-09 | 荣耀终端有限公司 | 一种触控采样率调节方法及相关装置 |
CN117406906A (zh) * | 2023-03-22 | 2024-01-16 | Tcl移动通信科技(宁波)有限公司 | 屏幕处理方法、装置、电子设备及计算机可读存储介质 |
-
2023
- 2023-03-22 CN CN202310289404.6A patent/CN117406906A/zh active Pending
-
2024
- 2024-04-25 WO PCT/CN2024/089891 patent/WO2024193720A1/zh unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362225A (zh) * | 2019-06-18 | 2019-10-22 | 腾讯科技(成都)有限公司 | 触控屏采样频率控制方法、装置、介质及电子设备 |
CN112083996A (zh) * | 2020-09-16 | 2020-12-15 | 努比亚技术有限公司 | 屏幕控制方法、移动终端及计算机可读存储介质 |
WO2023029565A1 (zh) * | 2021-08-28 | 2023-03-09 | 荣耀终端有限公司 | 一种触控采样率调节方法及相关装置 |
CN115083330A (zh) * | 2022-06-29 | 2022-09-20 | 努比亚技术有限公司 | 屏幕参数调节方法、移动终端及计算机可读存储介质 |
CN117406906A (zh) * | 2023-03-22 | 2024-01-16 | Tcl移动通信科技(宁波)有限公司 | 屏幕处理方法、装置、电子设备及计算机可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN117406906A (zh) | 2024-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10712799B2 (en) | Intelligent management for an electronic device | |
WO2024193720A1 (zh) | 屏幕处理方法、装置、电子设备及计算机可读存储介质 | |
US11054988B2 (en) | Graphical user interface display method and electronic device | |
US8384744B2 (en) | Information processing apparatus and information processing method | |
US9311043B2 (en) | Adaptive audio feedback system and method | |
EP2487578B1 (en) | Method and system for controlling screen of mobile terminal | |
US9804765B2 (en) | Controlling method of screen lock and electronic device supporting the same | |
WO2016034023A1 (zh) | 触发终端的方法及相关设备 | |
US9256304B2 (en) | Systems and methods for automatic disable of input devices | |
KR102070013B1 (ko) | 컨텐츠 활용 기능 지원 방법 및 이를 지원하는 단말기 | |
WO2017032123A1 (zh) | 一种视频播放控制方法及装置 | |
US20140055235A1 (en) | Mobile terminal and lock function operation method therefor | |
WO2014131277A1 (zh) | 音频播放的控制方法、装置及终端 | |
WO2020007114A1 (zh) | 分屏应用切换方法、装置、存储介质和电子设备 | |
WO2014029207A1 (zh) | 基于触摸屏的多选处理方法和用户设备 | |
WO2017032080A1 (zh) | 一种通讯录控制方法、装置及移动终端 | |
CN106648326B (zh) | 调整熄屏时间的方法及移动终端 | |
US20200125371A1 (en) | Waking and sleeping a display among a plurality of displays using gestures | |
WO2020207028A1 (zh) | 触摸操作模式的控制方法、装置、设备及存储介质 | |
US20230054717A1 (en) | Ui control generation and trigger methods, and terminal | |
WO2023193731A1 (zh) | 信号获取方法和电子设备 | |
US20200348804A1 (en) | Sectional user interface for controlling a mobile terminal | |
US10048805B2 (en) | Sensor control | |
WO2020248527A1 (zh) | 视频文件播放方法、装置、存储介质及终端 | |
WO2019051655A1 (zh) | 一种屏幕亮度调整方法及终端 |