CN109144224B - Power consumption optimization method and device for touch screen - Google Patents

Power consumption optimization method and device for touch screen Download PDF

Info

Publication number
CN109144224B
CN109144224B CN201811124397.XA CN201811124397A CN109144224B CN 109144224 B CN109144224 B CN 109144224B CN 201811124397 A CN201811124397 A CN 201811124397A CN 109144224 B CN109144224 B CN 109144224B
Authority
CN
China
Prior art keywords
scanning
touch screen
self
data
power consumption
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.)
Active
Application number
CN201811124397.XA
Other languages
Chinese (zh)
Other versions
CN109144224A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811124397.XA priority Critical patent/CN109144224B/en
Publication of CN109144224A publication Critical patent/CN109144224A/en
Application granted granted Critical
Publication of CN109144224B publication Critical patent/CN109144224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • 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

Landscapes

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

Abstract

The application provides a power consumption optimization method and device for a touch screen, wherein the method comprises the following steps: if the touch screen is in a preset low-power-consumption working scene, determining the scanning duration of the self-contained data according to the current application of the terminal equipment; determining a scanning time period and a scanning stopping time period of the self-contained data according to the approximate data reading time and the scanning duration; and acquiring self-capacitance data of the touch screen in a scanning time period, and stopping scanning the self-capacitance data of the touch screen in a scanning stopping time period so as to optimize the power consumption of the touch screen. Therefore, on one hand, the scanning duration of the collected self-contained data is adapted according to the current application of the terminal equipment, the service quality of approaching identification is improved, on the other hand, the scanning time period is determined according to the self-contained data reading period, the technical problem that in the prior art, the self-contained data is continuously polled and scanned, and the reading period is longer than the scanning period, so that part of the self-contained data cannot be read is solved, and the power consumption of the terminal equipment is saved.

Description

Power consumption optimization method and device for touch screen
Technical Field
The application relates to the technical field of terminal equipment control, in particular to a power consumption optimization method and device for a touch screen.
Background
With the progress of the manufacturing technology of the terminal device, the terminal device may implement a proximity event recognition function based on the proximity sensor, for example, to avoid false triggering of the touch screen, recognize the distance from an external object to the touch screen based on the proximity sensor, and perform false triggering processing when the distance is short.
In the related art, the proximity data is obtained by polling at full speed according to a reading period of the proximity data, for example, infrared proximity data is obtained by controlling an infrared proximity sensor to poll, however, the proximity data obtaining period is much shorter than a period for reading the proximity data by a system, and thus, a plurality of proximity data cannot be read, which results in waste of power consumption of a terminal device.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
An embodiment of a first aspect of the present application provides a power consumption optimization method for a touch screen, including the following steps: when the approach recognition function of the terminal equipment is started, determining whether the touch screen is in a preset low-power-consumption working scene; if the touch screen is in a preset low-power-consumption working scene, determining the scanning duration of the self-contained data according to the current application of the terminal equipment, wherein the scanning duration is less than the duration corresponding to the approximate data reading period; determining a scanning time period and a scanning stopping time period of the self-contained data according to the approximate data reading time and the scanning duration; and acquiring self-capacitance data of the touch screen in the scanning time period, and stopping scanning the self-capacitance data of the touch screen in the scanning stopping time period so as to optimize the power consumption of the touch screen.
An embodiment of a second aspect of the present application provides a power consumption optimization apparatus for a touch screen, including: the first determining module is used for determining whether the touch screen is in a preset low-power-consumption working scene or not when the proximity recognition function of the terminal equipment is started; the second determining module is used for determining the scanning duration of the self-contained data according to the current application of the terminal equipment when the touch screen is in a preset low-power-consumption working scene, wherein the scanning duration is less than the duration corresponding to a data reading period; the third determining module is used for determining the scanning time period and the scanning stopping time period of the self-contained data according to the data access time and the scanning duration; and the scanning control module is used for collecting the self-contained data of the touch screen in the scanning time period and stopping scanning the self-contained data of the touch screen in the scanning stopping time period so as to optimize the power consumption of the touch screen.
An embodiment of a third aspect of the present application provides a terminal device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for optimizing power consumption of a touch screen according to the foregoing embodiment of the first aspect.
An embodiment of a fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for optimizing power consumption of a touch screen according to the embodiment of the first aspect.
The technical scheme provided by the application at least comprises the following beneficial effects:
when the approach recognition function of the terminal equipment is started, whether the touch screen is in a preset low-power-consumption working scene or not is determined, if the touch screen is in the preset low-power-consumption working scene, the scanning duration of the self-contained data is determined according to the current application of the terminal equipment, the scanning duration is smaller than the duration corresponding to the reading period of the approach data, the scanning time period and the scanning stopping time period of the self-contained data are determined according to the reading time of the approach data and the scanning duration, finally, the self-contained data of the touch screen are collected in the scanning time period, and the scanning of the self-contained data of the touch screen is stopped in the scanning stopping time period so as to optimize the power consumption. Therefore, on one hand, the scanning duration of the collected self-contained data is adapted according to the current application of the terminal equipment, the service quality of approaching identification is improved, on the other hand, the scanning time period is determined according to the self-contained data reading period, the technical problem that in the prior art, the self-contained data is continuously polled and scanned, and the reading period is longer than the scanning period, so that part of the self-contained data cannot be read is solved, and the power consumption of the terminal equipment is saved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a method for power consumption optimization of a touch screen according to one embodiment of the present application;
FIG. 2-1 is a schematic diagram of an application scenario of a power consumption optimization method of a touch screen according to an embodiment of the present application;
2-2 is an application scenario diagram of a power consumption optimization method of a touch screen according to another embodiment of the present application;
FIG. 3 is a schematic plan view of a terminal device according to some embodiments of the present application;
FIG. 4 is a schematic cross-sectional view of a terminal device according to some embodiments of the present application;
FIG. 5 is another schematic cross-sectional view of a terminal device according to some embodiments of the present application;
FIG. 6 is a schematic structural diagram of a power consumption optimization apparatus for a touch screen according to an embodiment of the present application; and
fig. 7 is a schematic structural diagram of a power consumption optimization apparatus of a touch screen according to another embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
As mentioned in the background art, the access data reading period of the terminal device is much longer than the scanning period, which results in that the access data of the polling scanning cannot be effectively read, and thus causes resource waste, thereby being not favorable for the processing of reducing the power consumption of the terminal device.
In order to solve the above technical problem, the present application proposes a power consumption optimization method of a touch screen, in which method, a proximity sensor based on the registration of a touch screen as a virtual is provided, the detection mode of a proximity event is realized by reading capacitance data of the touch screen, in actual operation, the touch screen element may be registered at a hardware abstraction layer as a proximity event detection element, the registration process is to register the touch screen element as a virtual proximity sensor, thereby omitting the registration process of a physical proximity sensor, fully utilizing the original hardware resources, and avoids the opening of the terminal equipment, adapts to the development direction of the terminal equipment with a full screen, and, and the time for scanning the approaching data is determined according to the reading period, so that the waste of the scanning data is avoided, the power consumption of the terminal equipment is saved, and the cruising ability of the terminal equipment is improved.
The touch screen in the embodiment of the application is a capacitive screen which is self-integrated, self-capacitance data and mutual capacitance data on the touch screen can be detected, and the judgment of the proximity event is accurately performed based on the combination of the self-capacitance data and the mutual capacitance data. The method comprises the steps of acquiring self-contained data, judging whether the self-contained data is close to a target object, and acquiring the detection time length of the self-contained data according to the current application of the terminal equipment.
The following describes a power consumption optimization method and apparatus for a touch screen according to an embodiment of the present application with reference to the drawings.
Fig. 1 is a flowchart of a power consumption optimization method of a touch screen according to an embodiment of the present application, as shown in fig. 1, the method including:
step 101, when the proximity identification function of the terminal device is turned on, determining whether the touch screen is in a preset low-power-consumption working scene.
The preset low-power-consumption operation scene includes a proximity detection scene where a user does not touch a finger or a stylus pen.
Specifically, whether a finger touches the touch screen or not can be determined according to the current proximity data of the touch screen, and if no finger touches the touch screen, the current scene is determined to be a preset low-power-consumption scene.
In an embodiment of the application, since the proximity data and the proximity distance have a corresponding relationship, the proximity distance to the touch screen is determined according to the proximity data of the touch screen, whether the proximity distance is in a preset low power consumption working scene is determined by determining whether the proximity distance is greater than a preset threshold, and when the proximity distance is greater than the preset threshold, the proximity distance is determined to be in the preset low power consumption scene.
And 102, if the touch screen is in a preset low-power-consumption working scene, determining the scanning duration of the self-contained data according to the current application of the terminal equipment, wherein the scanning duration is less than the duration corresponding to the approximate data reading period.
Specifically, if the touch screen is in a preset low power consumption working scene, it indicates that reducing the scanning frequency of the proximity data does not affect the proximity service, for example, when the preset low power consumption scene is detecting whether an obstacle is approaching, the scanning frequency of the proximity data is reduced, and the determination of the proximity event of the obstacle is not affected.
In order to reduce the power consumption of the terminal equipment in a low-power-consumption working scene, when the touch screen is in a preset low-power-consumption working scene, the scanning duration of the self-contained data is determined according to the current application of the terminal equipment, wherein the scanning duration is less than the duration corresponding to the access data reading period, and obviously, the power consumption is reduced compared with the situation that the self-contained access data is continuously scanned in the whole access data reading period. In addition, it should be understood that, in the actual execution process, applications currently running on the terminal device are different, and thus have different requirements on the detection sensitivity of the proximity event, for example, a game application based on proximity sensing (for example, once proximity is detected, light color change is performed to create a magic color effect) may have the highest requirement on the detection sensitivity of the proximity event, an application with a higher risk of false touch is based on a telephone, etc., an application with a higher requirement on the detection sensitivity of the proximity event may have a higher requirement on the detection sensitivity of the proximity event, an application with a lower risk of false touch is based on a WeChat, etc., and a detection sensitivity of the proximity event may have a lower requirement on the detection sensitivity of the proximity event, etc., so in the embodiment of the present application, in order to meet different requirements on the detection sensitivity of the proximity event of different applications, a corresponding relationship including application and reflected scanning duration is constructed in, the scanning duration corresponding to the current application of the terminal device can be obtained.
It should be noted that, according to different application scenarios, the manner of determining the scanning duration of the self-contained data according to the current application of the terminal device is different, and the following example is given:
example one:
the scanning duration corresponds to a duration of scanning a frame of self-contained data, for example, if the default scanning duration is 16ms and the proximity data reading period is 66ms, the scanning duration corresponds to a duration extended by 16ms, and the extended duration is less than 66 ms.
Specifically, a database including a correspondence between an application identifier of the terminal device and a time required for scanning self-contained data is established in advance, the preset database is queried according to the application identifier of the current application of the terminal device, and the time required for scanning one frame of self-contained data corresponding to the current application is obtained, for example, as shown in fig. 2-1, the application identifier of the current application a of the terminal device queries the preset database, the time required for obtaining one frame of self-contained data corresponding to the current application is 20ms, and then the scanning time of the self-contained data is extended from 16ms to 20 ms.
Example two:
the scanning duration corresponds to a duration required for scanning the number of frames of the self-contained data, for example, the default duration for scanning one frame of the self-contained data is 16ms, and the proximity data reading period is 66ms, and then the scanning duration corresponds to a duration for scanning multiple frames of the self-contained data, which is obviously an integral multiple of 16ms and less than 66 ms.
Specifically, a database including a corresponding relationship between an application identifier of the terminal device and a number of scanning frames required for scanning the self-contained data is pre-established, the preset database is queried according to the application identifier of the current application of the terminal device, and a time required by the number of scanning frames corresponding to the current application is obtained, for example, as shown in fig. 2-2, the application identifier of the current application a of the terminal device queries the preset database, the number of scanning frames corresponding to the current application is 1 frame, the corresponding scanning time is 16ms, and the scanning time of the self-contained data is limited to the self-contained data with the scanning 1 frame time being 16 ms.
Of course, in an embodiment of the application, if it is determined that the touch screen is in a preset proximity recognition activation working scene, for example, in a scene in which a finger touches the touch screen, proximity data of the touch screen, including self-capacitance data and mutual capacitance data, is continuously acquired according to a default scanning period, at this time, accuracy of proximity data acquisition is guaranteed, and accuracy of touch coordinate determination is improved.
And 103, determining the scanning time period and the scanning stopping time period of the self-contained data according to the approximate data reading time and the scanning duration.
And 104, acquiring self-capacitance data of the touch screen in the scanning time period, and stopping scanning the self-capacitance data of the touch screen in the scanning stopping time period so as to optimize the power consumption of the touch screen.
Specifically, the scanning time period and the scanning stopping time period of the self-contained data are determined according to the approximate data reading time and the scanning duration, so that the self-contained data of the touch screen are collected in the scanning time period, and the scanning of the self-contained data of the touch screen is stopped in the scanning stopping time period, so that the power consumption of the touch screen is optimized through the scanning time, for example, as shown in fig. 2-1 and 2-2, the scanning time period is reduced, the scanning is obviously stopped in a low-power-consumption working scene, the scanning duration is greatly reduced, and the power consumption of the terminal device is optimized.
It is emphasized that for some terminal equipments, which may not be able to perform complete stop scanning, the scanning-close state is understood as the scanning-stop state with a lower frequency.
In order to make the structure of the terminal device in the embodiments of the present application more clearly understood by those skilled in the art, the following describes the structure of the terminal device in some possible examples with reference to specific examples, and the following description refers to:
referring to fig. 3 to fig. 5, a terminal device 100 is provided in the present embodiment. The terminal device 100 comprises a touch screen 103 (target hardware element), a proximity sensor element 16, a light sensor 5 and a processor 23, the touch screen 103 comprises a display layer 13, the display layer 13 comprises a display area 1311, the proximity sensor element 16 is arranged below the display area 1311, thereby reducing the open hole of the terminal device, and the proximity sensor element 16 is used for emitting infrared light and receiving infrared light reflected by an object to detect the distance of the object to the terminal device 100.
The embodiment of the present application takes the terminal device 100 as a mobile phone as an example for application. The mobile phone can prevent misoperation of a user and is beneficial to saving the electric quantity of the mobile phone by arranging the proximity sensor element 16 to determine the distance between the mobile phone and the obstacle and making corresponding adjustment. When the user is answering or making a call and brings the mobile phone close to the head, the proximity sensor element 16 generates detection information by counting the time when the transmitter emits infrared light and the receiver receives reflected infrared light, and the processor 23 turns off the display layer 13 according to the detection information. When the mobile phone is far away from the head, the processor 23 turns on the display layer 13 again according to the detection information fed back by the proximity sensor element 16.
In some embodiments, the display layer 13 comprises an O L ED display layer.
In particular, the O L ED display layer has good optical transparency and better transmits visible and infrared light, thus, the O L ED display layer may not affect the proximity sensor element 16 to emit and receive infrared light while exhibiting content effects, the Micro L ED display layer may also be used as the display layer 13, and the Micro L ED display layer may also have good optical transparency to visible and infrared light
Referring to fig. 5, in some embodiments, the touch display screen 103 further includes a light-transmissive cover 11 and a touch layer 12. The light-transmitting cover plate 11 is arranged on the touch layer 12, the touch layer 12 is arranged on the display layer 13, the upper surface 131 of the display layer 13 faces the touch layer 12, and the light transmittance of the light-transmitting cover plate 11 and the touch layer 12 to visible light and infrared light is greater than 90%.
Specifically, the touch layer 12 is mainly used for receiving a user input signal and transmitting the user input signal to the circuit board for data processing, so as to obtain a specific position where the user touches the touch layer 12. It should be noted that the touch layer 12 is disposed On the display layer 13, which means that the touch layer 12 is In contact with the display layer 13, for example, In-Cell or On-Cell bonding technology can be used to bond the touch layer 12 and the display layer 13, which can effectively reduce the weight of the display layer 13 and the overall thickness of the display layer 13. The touch layer 12 being disposed on the display layer 13 may also mean that the touch layer 12 is disposed above the display layer 13 and spaced apart from the display layer 13.
In addition, the transparent cover plate 11 is disposed on the touch layer 12, so that the touch layer 12 and the internal structure thereof can be effectively protected, and the touch layer 12 and the display layer 13 are prevented from being damaged by external force. The light transmittance of the light-transmitting cover plate 11 and the light transmittance of the touch layer 12 to visible light and infrared light are both greater than 90%, which is not only beneficial for the display layer 13 to better show the content effect, but also beneficial for the proximity sensor element 16 arranged below the display layer 13 to stably emit and receive infrared light, and ensures the normal operation of the proximity sensor element 16.
In the embodiment of the present application, the touch layer 12 is composed of a capacitive plate, so in the implementation of the present application, the touch screen 103 may also be registered as a virtual sensor element, and when the screen is in a bright screen state, a proximity event is determined by a weak variation of a capacitance detected by the touch layer 12, where an electrode array included in the capacitive plate may implement detection of self-capacitance data and may also implement detection of mutual capacitance data.
To sum up, the power consumption optimization method of the touch screen according to the embodiment of the present application determines whether the touch screen is in a preset low power consumption working scene when the proximity recognition function of the terminal device is turned on, determines the scanning duration of the self-contained data according to the current application of the terminal device if the touch screen is in the preset low power consumption working scene, where the scanning duration is less than the duration corresponding to the proximity data reading period, determines the scanning time period and the scanning stop time period of the self-contained data according to the proximity data reading time and the scanning duration, and finally collects the self-contained data of the touch screen in the scanning time period, and stops scanning the self-contained data of the touch screen in the scanning stop time period to optimize the power consumption of the touch screen. Therefore, on one hand, the scanning duration of the collected self-contained data is adapted according to the current application of the terminal equipment, the service quality of approaching identification is improved, on the other hand, the scanning time period is determined according to the self-contained data reading period, the technical problem that in the prior art, the self-contained data is continuously polled and scanned, and the reading period is longer than the scanning period, so that part of the self-contained data cannot be read is solved, and the power consumption of the terminal equipment is saved.
In order to implement the foregoing embodiments, the present application further provides a power consumption optimization apparatus for a touch screen, and fig. 6 is a schematic structural diagram of the power consumption optimization apparatus for a touch screen according to an embodiment of the present application, and as shown in fig. 6, the power consumption optimization apparatus for a touch screen includes a first determining module 1000, a second determining module 2000, a third determining module 3000, and a scan control module 4000.
The first determining module 1000 is configured to determine whether the touch screen is in a preset low-power-consumption working scene when the proximity recognition function of the terminal device is turned on.
The second determining module 2000 is configured to determine, when the touch screen is in a preset low-power-consumption working scenario, a scanning duration of the self-contained data according to a current application of the terminal device, where the scanning duration is smaller than a duration corresponding to a data reading period.
The third determining module 3000 is configured to determine a scanning time period and a scanning stop time period of the self-contained data according to the approaching data reading time and the scanning duration.
And the scanning control module 4000 is used for acquiring the self-contained data of the touch screen in a scanning time period and stopping scanning the self-contained data of the touch screen in a scanning stopping time period so as to optimize the power consumption of the touch screen.
In one embodiment of the present application, as shown in fig. 7, the third determination module 3000 includes a first determination unit 3100, a second determination unit 3200, and a third determination unit 3300.
The first determining unit 3100 is configured to determine a scanning start time as a time when a time length from a time point at which data reading is close to a scanning time length.
A second determining unit 3200 for determining a period from the scanning timing to the proximity data reading timing as the scanning period.
A third determining unit 3300 for determining the non-scanning period as the stop scanning period.
It should be noted that the foregoing explanation of the embodiment of the power consumption optimization method for a touch screen is also applicable to the power consumption optimization device for a touch screen in the embodiment of the present application, and the implementation principle is similar, and is not repeated here.
To sum up, the power consumption optimization device for a touch screen according to the embodiment of the present application determines whether the touch screen is in a preset low power consumption working scene when the proximity identification function of the terminal device is turned on, determines a scanning duration of the self-contained data according to a current application of the terminal device if the touch screen is in the preset low power consumption working scene, where the scanning duration is less than a duration corresponding to a proximity data reading period, determines a scanning time period and a scanning stop time period of the self-contained data according to a proximity data reading time and the scanning duration, and finally collects the self-contained data of the touch screen in the scanning time period, and stops scanning the self-contained data of the touch screen in the scanning stop time period to optimize the power consumption of the touch screen. Therefore, on one hand, the scanning duration of the collected self-contained data is adapted according to the current application of the terminal equipment, the service quality of approaching identification is improved, on the other hand, the scanning time period is determined according to the self-contained data reading period, the technical problem that in the prior art, the self-contained data is continuously polled and scanned, and the reading period is longer than the scanning period, so that part of the self-contained data cannot be read is solved, and the power consumption of the terminal equipment is saved.
In order to implement the foregoing embodiment, the present application further provides a terminal device, including: the touch screen power consumption optimization method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the computer program, the power consumption optimization method of the touch screen is realized as described in the previous embodiment.
In order to implement the foregoing embodiments, the present application also proposes a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the power consumption optimization method of the touch screen as proposed by the foregoing embodiments of the present application.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this application, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this application can be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this application, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (5)

1. A power consumption optimization method of a touch screen is characterized by comprising the following steps:
when a proximity recognition function of the terminal equipment is started, determining whether the touch screen is in a preset low-power-consumption working scene, wherein when the proximity distance of the touch screen is determined to be larger than a preset threshold value according to the proximity data of the touch screen, the touch screen is determined to be in the low-power-consumption mode;
if the touch screen is in a preset low-power-consumption working scene, determining the scanning duration of the self-contained data according to the current application of the terminal equipment, wherein the scanning duration is less than the duration corresponding to a data reading period, and the determining the scanning duration of the self-contained data according to the current application of the terminal equipment comprises the following steps: inquiring a preset database according to an application identifier of the current application of the terminal equipment to acquire scanning duration required by scanning a frame of self-contained data corresponding to the current application, or inquiring the preset database according to the application identifier of the current application of the terminal equipment to acquire scanning duration required by the number of scanning frames corresponding to the current application;
determining a scanning time period and a scanning stopping time period of the self-contained data according to an approaching data reading time and the scanning time length, wherein the time length from the approaching data reading time to the scanning time length is determined as a scanning starting time, the time length from the scanning starting time to the approaching data reading time is determined as the scanning time length, and the non-scanning time length is determined as the scanning stopping time length;
and acquiring self-capacitance data of the touch screen in the scanning time period, and stopping scanning the self-capacitance data of the touch screen in the scanning stopping time period so as to optimize the power consumption of the touch screen.
2. The method of claim 1, wherein after the determining whether the touch screen is in a preset low power consumption operating scenario, further comprising:
and if the terminal equipment is in a preset proximity recognition activation working scene, continuously acquiring proximity data of the touch screen according to a default scanning period.
3. An apparatus for optimizing power consumption of a touch screen, comprising:
the first determining module is specifically configured to determine, according to proximity data of the touch screen, that a proximity distance to the touch screen is greater than a preset threshold value, that the touch screen is in the low power consumption mode;
a second determining module, configured to determine, when the touch screen is in a preset low-power-consumption working scenario, a scanning duration of self-contained data according to a current application of the terminal device, where the scanning duration is less than a duration corresponding to a data reading period, and the second determining module is specifically configured to: inquiring a preset database according to an application identifier of the current application of the terminal equipment to acquire scanning duration required by scanning a frame of self-contained data corresponding to the current application, or inquiring the preset database according to the application identifier of the current application of the terminal equipment to acquire scanning duration required by the number of scanning frames corresponding to the current application;
a third determining module, configured to determine a scanning time period and a scanning stop time period of the self-contained data according to a data access time and the scanning duration, where the third determining module includes:
a first determining unit configured to determine a time when a time length from the approach data reading time is the scanning time length as a scanning start time;
a second determination unit configured to determine a period from the scanning start time to the proximity data reading time as the scanning period;
a third determining unit configured to determine a non-scanning period as the stop scanning period;
and the scanning control module is used for collecting the self-contained data of the touch screen in the scanning time period and stopping scanning the self-contained data of the touch screen in the scanning stopping time period so as to optimize the power consumption of the touch screen.
4. A terminal device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements a method for power consumption optimization of a touch screen as claimed in claim 1 or 2.
5. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for power consumption optimization of a touch screen according to claim 1 or 2.
CN201811124397.XA 2018-09-26 2018-09-26 Power consumption optimization method and device for touch screen Active CN109144224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811124397.XA CN109144224B (en) 2018-09-26 2018-09-26 Power consumption optimization method and device for touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811124397.XA CN109144224B (en) 2018-09-26 2018-09-26 Power consumption optimization method and device for touch screen

Publications (2)

Publication Number Publication Date
CN109144224A CN109144224A (en) 2019-01-04
CN109144224B true CN109144224B (en) 2020-08-07

Family

ID=64812542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811124397.XA Active CN109144224B (en) 2018-09-26 2018-09-26 Power consumption optimization method and device for touch screen

Country Status (1)

Country Link
CN (1) CN109144224B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739389B (en) * 2019-01-22 2020-12-01 珠海格力电器股份有限公司 Method and system for dynamically adjusting response area of touch screen and intelligent terminal
CN111124173B (en) * 2019-11-22 2023-05-16 Oppo(重庆)智能科技有限公司 Working state switching method and device of touch screen, mobile terminal and storage medium
CN111596753A (en) * 2020-04-16 2020-08-28 芯海科技(深圳)股份有限公司 Power consumption control method and device, electronic equipment and computer readable storage medium
CN111665929B (en) * 2020-05-29 2022-09-16 西安芯海微电子科技有限公司 Touch response method, device, terminal and storage medium
CN112684937B (en) * 2020-12-31 2022-11-04 青岛海信商用显示股份有限公司 Display device, touch screen point reporting method, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4991091A (en) * 1988-08-23 1991-02-05 Gregory Allen Self-contained examination guide and information storage and retrieval apparatus
CN2824143Y (en) * 2005-09-23 2006-10-04 成都吉锐触摸电脑有限公司 Infrared touch screen with optical lens
US8027046B2 (en) * 2006-03-29 2011-09-27 Sharp Kabushiki Kaisha Image processing apparatus, control apparatus thereof, and image processing system that manages component power individually
CN102968229A (en) * 2012-11-07 2013-03-13 江苏美琪威电子科技有限公司 Charging current compensation method and system of capacitance-type touch screen
CN107102776A (en) * 2017-05-24 2017-08-29 努比亚技术有限公司 A kind of touch-screen control method, device, mobile terminal and storage medium
CN107608561A (en) * 2017-10-24 2018-01-19 北京小米移动软件有限公司 Touch-screen control method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7961157B2 (en) * 2007-05-14 2011-06-14 Christie Digital Systems Usa, Inc. Configurable imaging system
JP2016224808A (en) * 2015-06-02 2016-12-28 株式会社ジャパンディスプレイ Display device with touch detection function
CN107943347B (en) * 2017-12-12 2020-12-04 北京小米移动软件有限公司 Touch screen control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4991091A (en) * 1988-08-23 1991-02-05 Gregory Allen Self-contained examination guide and information storage and retrieval apparatus
CN2824143Y (en) * 2005-09-23 2006-10-04 成都吉锐触摸电脑有限公司 Infrared touch screen with optical lens
US8027046B2 (en) * 2006-03-29 2011-09-27 Sharp Kabushiki Kaisha Image processing apparatus, control apparatus thereof, and image processing system that manages component power individually
CN102968229A (en) * 2012-11-07 2013-03-13 江苏美琪威电子科技有限公司 Charging current compensation method and system of capacitance-type touch screen
CN107102776A (en) * 2017-05-24 2017-08-29 努比亚技术有限公司 A kind of touch-screen control method, device, mobile terminal and storage medium
CN107608561A (en) * 2017-10-24 2018-01-19 北京小米移动软件有限公司 Touch-screen control method and device

Also Published As

Publication number Publication date
CN109144224A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109144224B (en) Power consumption optimization method and device for touch screen
US11409435B2 (en) Sensor managed apparatus, method and computer program product
KR101932210B1 (en) Method, system for implementing operation of mobile terminal according to touching signal and mobile terminal
CN109976500B (en) Fingerprint identification device, mobile terminal and awakening method of fingerprint identification device
EP3828684B1 (en) Method and device for controlling switching of proximity-event detection elements
KR20180048445A (en) Fingerprint collecting device and method, terminal device, and screen on-off control method
CN108881645B (en) Screen control method and device for mobile phone call
US20160054831A1 (en) Capacitive touch device and method identifying touch object on the same
CN103513757A (en) Method, device and terminal for detecting handholding state of user
CN104182145A (en) Method and device for preventing faulty operation of touch screen and mobile equipment
CN107357458A (en) Response method, device, storage medium and the mobile terminal of touch key-press
CN109194833B (en) Screen control method and device for mobile phone call
CN105867822B (en) Information processing method and electronic equipment
CN106485216A (en) The based reminding method of the cleannes of fingerprint module and mobile terminal
EP3798829A1 (en) Terminal user interface display method and terminal
CN109254689B (en) Proximity detection method and device
EP3333669B1 (en) Method and apparatus for controlling fingerprint sensor serial peripheral interface, and mobile terminal
CN109343066A (en) Control method, device, storage medium and the mobile terminal of proximity sensor
JP2007157371A (en) Electrostatic capacity type digital touch panel
CN109254684A (en) Touchscreen events report method and its device, terminal device, storage medium
CN109388286B (en) Proximity state judgment method and device
CN109254656B (en) Proximity detection method and device
CN108521484A (en) A kind of mobile terminal
CN109271061B (en) Screen flicker processing method and device
CN107979364B (en) Capacitive touch key device and intelligent 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
GR01 Patent grant
GR01 Patent grant