CN106502461B - Method, device and mobile terminal for restoring touch screen state before electrostatic reset - Google Patents
Method, device and mobile terminal for restoring touch screen state before electrostatic reset Download PDFInfo
- Publication number
- CN106502461B CN106502461B CN201610931216.9A CN201610931216A CN106502461B CN 106502461 B CN106502461 B CN 106502461B CN 201610931216 A CN201610931216 A CN 201610931216A CN 106502461 B CN106502461 B CN 106502461B
- Authority
- CN
- China
- Prior art keywords
- touch screen
- touch
- state
- electrostatic
- information
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000003068 static effect Effects 0.000 claims abstract description 46
- 230000002159 abnormal effect Effects 0.000 claims description 34
- 230000006854 communication Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 abstract description 15
- 230000002093 peripheral effect Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 230000005611 electricity Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004377 microelectronic Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 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/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明实施例涉及移动终端技术,尤其涉及一种还原静电复位前触摸屏状态的方法、装置及移动终端。Embodiments of the present invention relate to mobile terminal technologies, and in particular, to a method, a device, and a mobile terminal for restoring the state of a touch screen before electrostatic reset.
背景技术Background technique
在比较干燥的环境中时,很容易产生静电。静电会使得移动终端的触摸屏产生异常,如容易导致触摸屏花屏或黑屏等,为了避免触摸屏在静电中出现上述问题,移动终端中加入了静电复位的功能。In a relatively dry environment, it is easy to generate static electricity. Static electricity will make the touch screen of the mobile terminal abnormal, such as easily causing the touch screen to be blurred or black. In order to avoid the above problems caused by the static electricity of the touch screen, the mobile terminal adds the function of static electricity reset.
静电复位的处理往往会将触摸屏的状态全部还原,导致某些应用进程中断。例如,用户正在使用微信发语音,用户一直按着触摸屏的语音区域,如果在发送语音的过程中,进行触摸屏的静电复位,则会将用户未完成的语音发送出去,那么就会导致语音中断。The processing of electrostatic reset often restores all the states of the touch screen, resulting in interruption of some application processes. For example, the user is using WeChat to send a voice, and the user keeps pressing the voice area of the touch screen. If the static reset of the touch screen is performed during the process of sending voice, the unfinished voice of the user will be sent out, which will cause the voice to be interrupted.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例提供一种还原静电复位前触摸屏状态的方法、装置及移动终端,以解决静电复位导致的应用进程中断的问题。In view of this, embodiments of the present invention provide a method, a device, and a mobile terminal for restoring a touch screen state before electrostatic reset, so as to solve the problem of application process interruption caused by electrostatic reset.
第一方面,本发明实施例提供了一种还原静电复位前触摸屏状态的方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for restoring a touch screen state before electrostatic reset, the method comprising:
在检测到触摸屏静电状态异常时,保存触摸屏触控信息;When it is detected that the static state of the touch screen is abnormal, save the touch information of the touch screen;
对所述触摸屏进行静电复位;performing electrostatic reset on the touch screen;
在检测到静电复位完成时,根据所述触摸屏触控信息还原静电复位前的触摸屏状态。When it is detected that the electrostatic reset is completed, the touch screen state before the electrostatic reset is restored according to the touch screen touch information.
第二方面,本发明实施例还提供了一种还原静电复位前触摸屏状态的装置,所述装置包括:In a second aspect, an embodiment of the present invention further provides a device for restoring the state of the touch screen before electrostatic reset, the device comprising:
触控信息保存模块,用于在检测到触摸屏静电状态异常时,保存触摸屏触控信息;The touch information storage module is used to save the touch information of the touch screen when it is detected that the static state of the touch screen is abnormal;
静电复位模块,用于对所述触摸屏进行静电复位;an electrostatic reset module for performing electrostatic reset on the touch screen;
状态还原模块,用于在检测到静电复位完成时,根据所述触摸屏触控信息还原静电复位前的触摸屏状态。The state restoration module is used to restore the state of the touch screen before the electrostatic reset according to the touch information of the touch screen when it is detected that the electrostatic reset is completed.
第三方面,本发明实施例还提供了一种移动终端,所述移动终端集成了本发明任一实施例所述的还原静电复位前触摸屏状态的装置。In a third aspect, an embodiment of the present invention further provides a mobile terminal. The mobile terminal integrates the device for restoring the touch screen state before electrostatic reset according to any embodiment of the present invention.
本发明实施例的技术方案,通过在检测到触摸屏静电状态异常时,保存触摸屏触控信息,在静电复位完成后,根据所述触摸屏触控信息还原静电复位前的触摸屏状态,从而解决了静电复位导致的应用进程中断的问题。The technical solution of the embodiment of the present invention solves the problem of electrostatic reset by saving the touch screen touch information when an abnormal static state of the touch screen is detected, and restoring the touch screen state before the electrostatic reset according to the touch screen touch information after the electrostatic reset is completed. Caused by the interruption of the application process.
附图说明Description of drawings
图1是本发明实施例提供的一种还原静电复位前触摸屏状态的方法的流程图;1 is a flowchart of a method for restoring a touch screen state before electrostatic reset provided by an embodiment of the present invention;
图2是本发明实施例提供的还原静电复位前触摸屏状态的方法中的用户使用微信语音的示例图;2 is an example diagram of a user using WeChat voice in a method for restoring a touch screen state before electrostatic reset provided by an embodiment of the present invention;
图3是本发明实施例提供的另一种还原静电复位前触摸屏状态的方法的流程图;3 is a flowchart of another method for restoring a touch screen state before electrostatic reset provided by an embodiment of the present invention;
图4是本发明实施例提供的一种还原静电复位前触摸屏状态的装置的结构示意图;4 is a schematic structural diagram of a device for restoring a touch screen state before electrostatic reset provided by an embodiment of the present invention;
图5为本发明实施例提供的一种移动终端的结构示意图。FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all of the contents related to the present invention.
图1是本发明实施例提供的一种还原静电复位前触摸屏状态的方法的流程图,本实施例可适用于在触摸屏静电复位后还原静电复位前触摸屏的状态的情况,该方法可以由还原静电复位前触摸屏状态的装置来执行,该装置可以由软件和/或硬件的方式来实现,该装置可以配置在手机或平板电脑等具有触摸屏的移动终端中。该方法具体包括如下步骤:FIG. 1 is a flowchart of a method for restoring the state of the touch screen before electrostatic reset provided by an embodiment of the present invention. This embodiment is applicable to the case where the state of the touch screen before the electrostatic reset is restored after the electrostatic reset of the touch screen. It is executed by the device for resetting the state of the touch screen before resetting. The device can be implemented by software and/or hardware, and the device can be configured in a mobile terminal with a touch screen such as a mobile phone or a tablet computer. The method specifically includes the following steps:
步骤110,在检测到触摸屏静电状态异常时,保存触摸屏触控信息。Step 110, when it is detected that the static state of the touch screen is abnormal, save the touch information of the touch screen.
其中,所述触摸屏触控信息优选包括:触控点的横坐标、触控点的纵坐标和手指是否抬起的状态。此外,所述触摸屏触控信息还可以包括触控压力值,手指与触摸屏的接触面积等。Wherein, the touch screen touch information preferably includes: the abscissa of the touch point, the ordinate of the touch point, and the state of whether the finger is lifted. In addition, the touch screen touch information may also include a touch pressure value, a contact area between the finger and the touch screen, and the like.
触摸屏静电状态异常,容易导致触摸屏的黑屏或花屏等问题,为了避免出现这些问题,可以通过静电复位来消除触摸屏的静电。在检测到触摸屏静电状态异常时,保存当前的触控点坐标和手指是否抬起的状态等触摸屏触控信息,例如,用户在发送语音的过程中检测到触摸屏静电状态异常,则保存当前的触摸屏触控信息,即保存手指没有抬起的状态,这时便不会将未完成的语音发送出去。The abnormal static state of the touch screen can easily lead to problems such as black screen or blurred screen of the touch screen. In order to avoid these problems, the static electricity of the touch screen can be eliminated by electrostatic reset. When it is detected that the static state of the touch screen is abnormal, save the touch screen touch information such as the coordinates of the current touch point and whether the finger is lifted. For example, if the user detects that the static state of the touch screen is abnormal during the process of sending voice Touch information, that is, save the state that the finger is not lifted, and then the unfinished voice will not be sent out.
步骤120,对所述触摸屏进行静电复位。Step 120, performing electrostatic reset on the touch screen.
现有技术中的触摸屏静电复位处理,往往会重新上下电以及重新复位触摸屏,但是复位触摸屏必然会导致触摸屏上报手指抬起的动作,如果用户此时正在微信语音等动作过程中,就会导致微信语音等动作过程的中断。The electrostatic reset processing of the touch screen in the prior art often requires powering on and off and resetting the touch screen. However, resetting the touch screen will inevitably cause the touch screen to report the action of raising the finger. Interruption of actions such as speech.
本实施例中,保存触摸屏触控信息后,对所述触摸屏进行静电复位处理,由于触摸屏触控信息中已经对手指是否抬起的状态进行了记录,不再上报与记录中的手指抬起的状态不符合的动作,即在微信语音过程中不再上报手指抬起的动作,从而不会导致微信语音等动作过程的中断。对触摸屏进行静电复位处理,不影响移动终端的其他部件的功能,即可以正常保存触摸屏触控信息。In this embodiment, after the touch screen touch information is saved, electrostatic reset processing is performed on the touch screen. Since the touch screen touch information has already recorded whether the finger is lifted, the status of whether the finger is lifted in the touch screen is no longer reported and recorded. Actions that do not conform to the state, that is, the action of raising the finger is no longer reported during the WeChat voice process, so that the WeChat voice and other action processes will not be interrupted. Performing electrostatic reset processing on the touch screen does not affect the functions of other components of the mobile terminal, that is, the touch screen touch information can be stored normally.
对触摸屏进行静电复位处理,即对所述触摸屏的显示系统进行复位,如首先控制触摸屏中显示模组的LCD(Liquid Crystal Display,液晶显示屏)、MIPI(Mobile IndustryProcessor Interface,移动产业处理器接口)控制器及MDP(Mobile Display Process,移动显示过程)控制器依次关闭,然后再控制显示模组的MDP控制器、MIPI控制器及LCD显示屏依次打开。其中,MIPI是MIPI联盟发起的为移动应用处理器制定的开放标准和一个规范,移动终端把显示内容送到LCD进行显示,需要通过MIPI控制器把显示内容转化为MIPI信号;MDP是芯片中的显示处理子模块,用于将缓冲的显示内容送到显示接口;LCD用于将待显示的显示内容显示出来。Performing electrostatic reset processing on the touch screen, that is, resetting the display system of the touch screen, for example, firstly controlling the LCD (Liquid Crystal Display, liquid crystal display screen) and MIPI (Mobile IndustryProcessor Interface, mobile industry processor interface) of the display module in the touch screen The controller and the MDP (Mobile Display Process, Mobile Display Process) controller are turned off in sequence, and then the MDP controller, MIPI controller and LCD display screen of the display module are controlled to be turned on in sequence. Among them, MIPI is an open standard and a specification for mobile application processors initiated by the MIPI Alliance. The mobile terminal sends the display content to the LCD for display, and the display content needs to be converted into MIPI signals through the MIPI controller; MDP is the chip in the The display processing sub-module is used to send the buffered display content to the display interface; the LCD is used to display the display content to be displayed.
步骤130,在检测到静电复位完成时,根据所述触摸屏触控信息还原静电复位前的触摸屏状态。Step 130 , when it is detected that the electrostatic reset is completed, restore the touch screen state before the electrostatic reset according to the touch screen touch information.
由于静电复位的过程很短暂,用户一般不能察觉到,所以静电复位后用户的手指还来不及离开静电复位前的位置,因此,在静电复位完成时,将触摸屏状态还原为所述触摸屏触控信息所表示的状态,可以解决静电复位导致的应用进程中断的问题,同时触控屏的当前触控状态和静电复位前基本一致,不会导致触摸屏的信息错误。例如,图2是本发明实施例提供的还原静电复位前触摸屏状态的方法中的用户使用微信语音的示例图,如图2所示,用户正在使用微信等软件发语音,用户一直按着触摸屏的语音区域1,如果在发送语音的过程中,进行触摸屏的静电复位,则在静电复位前保存触摸屏触控信息,由于这时用户未抬起手指,故用户并没有要将语音发送出去,因此不进行语音的发送,在静电复位后,由于用户的手指还在按着录音的按钮,故此时的触控状态和静电复位前的状态差不多,直接利用静电复位前的触摸屏触控信息替换此时的触控信息,那么用户的语音就不会中断,直到用户抬起手指才将整个语音发送出去。Since the process of electrostatic reset is very short, users generally cannot perceive it, so after the electrostatic reset, the user's fingers cannot leave the position before the electrostatic reset. The displayed state can solve the problem of application process interruption caused by electrostatic reset. At the same time, the current touch state of the touch screen is basically the same as that before the electrostatic reset, which will not cause information errors on the touch screen. For example, FIG. 2 is an example diagram of a user using WeChat voice in the method for restoring the touch screen state before electrostatic reset provided by an embodiment of the present invention. As shown in FIG. 2 , the user is using software such as WeChat to make a voice, and the user keeps pressing the touch screen Voice area 1, if the static reset of the touch screen is performed during the process of sending voice, the touch screen touch information will be saved before the static reset. To send voice, after the static reset, because the user's finger is still pressing the recording button, the touch state at this time is similar to the state before the static reset, and the touch screen touch information before the static reset is directly used to replace the current state. Touch the information, then the user's voice will not be interrupted, and the entire voice will not be sent until the user lifts his finger.
其中,检测到触摸屏静电状态异常可选包括:Among them, the detection of abnormal static state of the touch screen can optionally include:
在检测到预设寄存器的状态异常时,确定触摸屏静电状态异常。When it is detected that the state of the preset register is abnormal, it is determined that the static state of the touch screen is abnormal.
判断当前触摸屏是否存在静电状态异常时,可以通过读取预设寄存器的状态,如果该状态异常,那么说明触摸屏发生了静电状态异常,其中,所述预设寄存器是和触摸屏静电状态相关的寄存器。通过读取预设寄存器的状态来判断触摸屏静电状态,可以快速确定触摸屏的静电状态。When judging whether the current touch screen has abnormal static state, the state of the preset register can be read. If the state is abnormal, it means that the touch screen has abnormal static state, wherein the preset register is a register related to the static state of the touch screen. By judging the static state of the touch screen by reading the state of the preset register, the static state of the touch screen can be quickly determined.
其中,检测到触摸屏静电状态异常还可选包括:Among them, the detection of abnormal static state of the touch screen can also optionally include:
在检测到触摸屏的I2C(Inter-Integrated Circuit,内置集成电路)总线通信过程出现错误时,确定触摸屏静电状态异常。When an error occurs in the I2C (Inter-Integrated Circuit, built-in integrated circuit) bus communication process of the touch screen, it is determined that the static state of the touch screen is abnormal.
检测当前触摸屏的静电状态,还可以通过检测I2C总线通信过程是否正常来判断,如果I2C总线通信过程出现错误,即I2C读取失败,那么说明触摸屏发生静电状态异常。其中,I2C总线是由PHILIPS公司开发的两线式串行总线,用于连接微控制器及其外围设备,是微电子通信控制领域广泛采用的一种总线标准,它是同步通信的一种特殊形式,具有接口线少,控制方式简单,器件封装形式小,通信速率较高等优点。To detect the static state of the current touch screen, it can also be judged by detecting whether the I2C bus communication process is normal. If there is an error in the I2C bus communication process, that is, the I2C reading fails, it means that the touch screen has abnormal static state. Among them, the I2C bus is a two-wire serial bus developed by PHILIPS, which is used to connect microcontrollers and their peripheral devices. It is a bus standard widely used in the field of microelectronic communication control. It is a special kind of synchronous communication. It has the advantages of less interface lines, simple control method, small device package form, and high communication rate.
本实施例的技术方案,通过在检测到触摸屏静电状态异常时,保存触摸屏触控信息,在静电复位完成后,根据所述触摸屏触控信息还原静电复位前的触摸屏状态,从而解决了静电复位导致的应用进程中断的问题。In the technical solution of this embodiment, when an abnormal static state of the touch screen is detected, the touch screen touch information is saved, and after the electrostatic reset is completed, the touch screen state before the electrostatic reset is restored according to the touch screen touch information, thereby solving the problem caused by the static reset. The application process is interrupted.
图3是本发明实施例提供的另一种还原静电复位前触摸屏状态的方法的流程图,本实施例在上述实施例的基础上进行了优化,具体将“在检测到静电复位完成时,根据所述触摸屏触控信息还原静电复位前的触摸屏状态”进一步优化为“在检测到静电复位完成时,接收触摸屏上报的当前触控信息;将所述当前触控信息替换为所述触摸屏触控信息”。该方法具体包括如下步骤:3 is a flowchart of another method for restoring the state of the touch screen before electrostatic reset provided by an embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. The touch screen touch information restores the touch screen state before the electrostatic reset" is further optimized to "when the completion of the electrostatic reset is detected, receive the current touch information reported by the touch screen; replace the current touch information with the touch screen touch information ". The method specifically includes the following steps:
步骤310,在检测到触摸屏静电状态异常时,保存触摸屏触控信息。Step 310, when it is detected that the static state of the touch screen is abnormal, save the touch information of the touch screen.
步骤320,对所述触摸屏进行静电复位。Step 320, performing electrostatic reset on the touch screen.
步骤330,在检测到静电复位完成时,接收触摸屏上报的当前触控信息。Step 330: When it is detected that the electrostatic reset is completed, the current touch information reported by the touch screen is received.
触摸屏静电复位完成后,可以正常工作,可以获取触控点的坐标及状态等,在获取到当前触控信息即第一个触控点的触控信息后,即上报,移动终端的处理器接收触摸屏上报的当前触控信息。After the electrostatic reset of the touch screen is completed, it can work normally, and the coordinates and status of the touch points can be obtained. After obtaining the current touch information, that is, the touch information of the first touch point, it will be reported, and the processor of the mobile terminal will receive it. Current touch information reported by the touch screen.
步骤340,将所述当前触控信息替换为所述触摸屏触控信息。Step 340: Replace the current touch information with the touch screen touch information.
在触摸屏静电复位完成后,接收到触摸屏上报的当前触控信息即第一个触控点的触控信息后,利用静电复位前的触摸屏触控信息替换当前触控信息,使得触摸屏的状态还原为静电复位前的状态。After the electrostatic reset of the touch screen is completed, after receiving the current touch information reported by the touch screen, that is, the touch information of the first touch point, the touch screen touch information before the electrostatic reset is used to replace the current touch information, so that the state of the touch screen is restored to The state before electrostatic reset.
本实施例的技术方案,在上述实施例的基础上,通过在触摸屏静电复位完成后,将触摸屏上报的当前触控信息替换为静电复位前的触摸屏触控信息,保持了触摸屏静电复位前的状态,从而解决了静电复位导致的应用进程中断的问题。The technical solution of this embodiment is based on the above-mentioned embodiments, by replacing the current touch information reported by the touch screen with the touch screen touch information before the electrostatic reset after the electrostatic reset of the touch screen is completed, so that the state before the electrostatic reset of the touch screen is maintained. , so as to solve the problem of application process interruption caused by electrostatic reset.
图4是本发明实施例提供的一种还原静电复位前触摸屏状态的装置的结构示意图,如图4所示,本实施例所述的还原静电复位前触摸屏状态的装置包括:触控信息保存模块410、静电复位模块420和状态还原模块430。4 is a schematic structural diagram of a device for restoring a touch screen state before electrostatic reset provided by an embodiment of the present invention. As shown in FIG. 4 , the device for restoring a touch screen state before electrostatic reset according to this embodiment includes: a touch information storage module 410 , an electrostatic reset module 420 and a state restoration module 430 .
其中,触控信息保存模块410,用于在检测到触摸屏静电状态异常时,保存触摸屏触控信息;Wherein, the touch information storage module 410 is used to save the touch information of the touch screen when it is detected that the static state of the touch screen is abnormal;
静电复位模块420,用于对所述触摸屏进行静电复位;An electrostatic reset module 420, configured to perform electrostatic reset on the touch screen;
状态还原模块430,用于在检测到静电复位完成时,根据所述触摸屏触控信息还原静电复位前的触摸屏状态。The state restoration module 430 is configured to restore the state of the touch screen before the electrostatic reset according to the touch information of the touch screen when it is detected that the electrostatic reset is completed.
可选的,所述触控信息保存模块包括:Optionally, the touch information saving module includes:
第一状态检测单元,用于在检测到预设寄存器的状态异常时,确定触摸屏静电状态异常。The first state detection unit is configured to determine that the static state of the touch screen is abnormal when the state of the preset register is detected to be abnormal.
可选的,所述触控信息保存模块包括:Optionally, the touch information saving module includes:
第二状态检测单元,用于在检测到触摸屏的I2C总线通信过程出现错误时,确定触摸屏静电状态异常。The second state detection unit is configured to determine that the static state of the touch screen is abnormal when an error occurs in the I2C bus communication process of the touch screen.
可选的,所述状态还原模块包括:Optionally, the state restoration module includes:
当前信息接收单元,用于在检测到静电复位完成时,接收触摸屏上报的当前触控信息;The current information receiving unit is used to receive the current touch information reported by the touch screen when it is detected that the electrostatic reset is completed;
触控信息替换单元,用于将所述当前触控信息替换为所述触摸屏触控信息。A touch information replacement unit, configured to replace the current touch information with the touch screen touch information.
其中,所述触摸屏触控信息可选包括:触控点的横坐标、触控点的纵坐标和手指是否抬起的状态。The touch screen touch information may optionally include: the abscissa of the touch point, the ordinate of the touch point, and whether the finger is lifted.
上述还原静电复位前触摸屏状态的装置可执行本发明任意实施例所提供的还原静电复位前触摸屏状态的方法,具备执行还原静电复位前触摸屏状态的方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例提供的还原静电复位前触摸屏状态的方法。The above device for restoring the touch screen state before electrostatic reset can execute the method for restoring the touch screen state before electrostatic reset provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the method for restoring the touch screen state before electrostatic reset. For technical details not described in detail in this embodiment, reference may be made to the method for restoring the state of the touch screen before electrostatic reset provided by any embodiment of the present invention.
本发明实施例还提供了一种移动终端,该移动终端可以包括本发明任意实施例提供的还原静电复位前触摸屏状态的装置。图5为本发明实施例提供的一种移动终端的结构示意图,如图5所示,该移动终端可以包括:存储器501、中央处理器(Central ProcessingUnit,以下简称CPU)502、外设接口503、RF(Radio Frequency,射频)电路505、音频电路506、扬声器511、电源管理芯片508、输入/输出(I/O)子系统509、触摸屏512、其他输入/控制设备510以及外部端口504,这些部件通过一个或多个通信总线或信号线507来通信。An embodiment of the present invention further provides a mobile terminal, and the mobile terminal may include the device for restoring the touch screen state before electrostatic reset provided by any embodiment of the present invention. FIG. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 5, the mobile terminal may include: a memory 501, a central processing unit (Central Processing Unit, hereinafter referred to as CPU) 502, a peripheral interface 503, RF (Radio Frequency) circuit 505, audio circuit 506, speaker 511, power management chip 508, input/output (I/O) subsystem 509, touch screen 512, other input/control devices 510, and external ports 504, these components Communication is via one or more communication buses or signal lines 507 .
应该理解的是,图示移动终端500仅仅是移动终端的一个范例,并且移动终端500可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 500 is merely an example of a mobile terminal, and that the mobile terminal 500 may have more or fewer components than those shown in the figures, two or more components may be combined, Or can have different component configurations. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于还原静电复位前触摸屏状态的移动终端进行详细的描述,该移动终端以手机为例。The following will describe in detail the mobile terminal provided in this embodiment for restoring the state of the touch screen before electrostatic reset. The mobile terminal takes a mobile phone as an example.
存储器501,所述存储器501可以被CPU502、外设接口503等访问,所述存储器501可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 501, which can be accessed by CPU 502, peripheral interface 503, etc., said memory 501 can include high-speed random access memory, and can also include non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.
外设接口503,所述外设接口503可以将设备的输入和输出外设连接到CPU502和存储器501。A peripheral interface 503 that can connect the input and output peripherals of the device to the CPU 502 and the memory 501 .
I/O子系统509,所述I/O子系统509可以将设备上的输入输出外设,例如触摸屏502(相当于上述实施例中的屏幕)和其他输入/控制设备510,连接到外设接口503。I/O子系统509可以包括显示控制器5091和用于控制其他输入/控制设备510的一个或多个输入控制器5092。其中,一个或多个输入控制器5092从其他输入/控制设备510接收电信号或者向其他输入/控制设备510发送电信号,其他输入/控制设备510可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器5092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。I/O subsystem 509, which can connect input and output peripherals on the device, such as touch screen 502 (equivalent to the screen in the above embodiment) and other input/control devices 510, to the peripherals interface 503. The I/O subsystem 509 may include a display controller 5091 and one or more input controllers 5092 for controlling other input/control devices 510 . Among them, one or more input controllers 5092 receive electrical signals from or send electrical signals to other input/control devices 510, which may include physical buttons (push buttons, rocker buttons, etc. ), dial pad, slide switch, joystick, click wheel. Notably, the input controller 5092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏512,所述触摸屏512是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。The touch screen 512, which is an input interface and an output interface between the user terminal and the user, displays visual output to the user, and the visual output may include graphics, text, icons, videos, and the like.
I/O子系统509中的显示控制器5091从触摸屏512接收电信号或者向触摸屏512发送电信号。触摸屏512检测触摸屏上的接触,显示控制器5091将检测到的接触转换为与显示在触摸屏512上的用户界面对象的交互,即实现人机交互,显示在触摸屏512上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。Display controller 5091 in I/O subsystem 509 receives electrical signals from touch screen 512 or sends electrical signals to touch screen 512 . The touch screen 512 detects the contact on the touch screen, and the display controller 5091 converts the detected contact into interaction with the user interface object displayed on the touch screen 512, that is, to realize human-computer interaction, and the user interface object displayed on the touch screen 512 can be run. Icons for games, icons for connecting to the corresponding network, etc. It is worth noting that the device may also include a light mouse, which is a touch-sensitive surface that does not display visual output, or an extension of the touch-sensitive surface formed by a touch screen.
RF电路505,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路505接收并发送RF信号,RF信号也称为电磁信号,RF电路505将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路505可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 505 is mainly used to establish the communication between the mobile phone and the wireless network (ie, the network side), and realize the data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving text messages, e-mails, etc. Specifically, the RF circuit 505 receives and transmits RF signals, also known as electromagnetic signals, the RF circuit 505 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 505 may include known circuitry for performing these functions including, but not limited to, antenna systems, RF transceivers, one or more amplifiers, tuners, one or more oscillators, digital signal processors, CODECs ( COder-DECoder, codec) chip set, subscriber identity module (Subscriber Identity Module, SIM) and so on.
音频电路506,主要用于从外设接口503接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器511。The audio circuit 506 is mainly used for receiving audio data from the peripheral interface 503 , converting the audio data into an electrical signal, and sending the electrical signal to the speaker 511 .
扬声器511,用于将手机通过RF电路505从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 511 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 505 to sound and play the sound to the user.
电源管理芯片508,用于为CPU502、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 508 is used for power supply and power management for the hardware connected to the CPU 502, the I/O subsystem and the peripheral interface.
本发明实施例提供的CPU502可执行如下操作:The CPU 502 provided in the embodiment of the present invention may perform the following operations:
在检测到触摸屏静电状态异常时,保存触摸屏触控信息;When it is detected that the static state of the touch screen is abnormal, save the touch information of the touch screen;
对所述触摸屏进行静电复位;performing electrostatic reset on the touch screen;
在检测到静电复位完成时,根据所述触摸屏触控信息还原静电复位前的触摸屏状态。When it is detected that the electrostatic reset is completed, the touch screen state before the electrostatic reset is restored according to the touch screen touch information.
上述移动终端可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above mobile terminal can execute the method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610931216.9A CN106502461B (en) | 2016-10-31 | 2016-10-31 | Method, device and mobile terminal for restoring touch screen state before electrostatic reset |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610931216.9A CN106502461B (en) | 2016-10-31 | 2016-10-31 | Method, device and mobile terminal for restoring touch screen state before electrostatic reset |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106502461A CN106502461A (en) | 2017-03-15 |
CN106502461B true CN106502461B (en) | 2019-07-02 |
Family
ID=58319644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610931216.9A Expired - Fee Related CN106502461B (en) | 2016-10-31 | 2016-10-31 | Method, device and mobile terminal for restoring touch screen state before electrostatic reset |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106502461B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106910447B (en) * | 2017-04-21 | 2020-12-04 | 厦门天马微电子有限公司 | Touch display panel, touch display device and display exception handling method |
CN109739692A (en) * | 2018-12-21 | 2019-05-10 | Oppo广东移动通信有限公司 | Fault recovery methods and related products |
CN109884427B (en) * | 2019-02-11 | 2021-06-08 | Oppo广东移动通信有限公司 | Electrostatic detection method and related device |
CN109901745B (en) * | 2019-02-19 | 2022-03-11 | Oppo广东移动通信有限公司 | Screen control method and related products |
CN112783354A (en) * | 2019-11-08 | 2021-05-11 | 杭州海康威视数字技术股份有限公司 | Control method, device and equipment of touch device and storage medium |
CN113342150B (en) * | 2021-05-25 | 2024-10-15 | 北京小米移动软件有限公司 | Electrostatic recovery method and device, electronic equipment and storage medium |
CN115690992A (en) * | 2022-10-19 | 2023-02-03 | 福建乐摩物联科技有限公司 | Shared massage chair management method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010116556A1 (en) * | 2009-03-30 | 2010-10-14 | シャープ株式会社 | Display device and method of operation thereof |
CN102968237A (en) * | 2012-11-29 | 2013-03-13 | 广东欧珀移动通信有限公司 | Method and device for processing capacitive touch screen |
CN104063093A (en) * | 2014-06-30 | 2014-09-24 | 广东欧珀移动通信有限公司 | Method, device and mobile device for preventing misoperation of touch screen |
CN104461180A (en) * | 2013-09-12 | 2015-03-25 | 广州市和唐电子科技有限公司 | Interference preventing device and method of capacitive touch screen |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101424331B1 (en) * | 2012-06-21 | 2014-07-31 | 엘지디스플레이 주식회사 | Touch sensing apparatus and driving method thereof |
-
2016
- 2016-10-31 CN CN201610931216.9A patent/CN106502461B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010116556A1 (en) * | 2009-03-30 | 2010-10-14 | シャープ株式会社 | Display device and method of operation thereof |
CN102968237A (en) * | 2012-11-29 | 2013-03-13 | 广东欧珀移动通信有限公司 | Method and device for processing capacitive touch screen |
CN104461180A (en) * | 2013-09-12 | 2015-03-25 | 广州市和唐电子科技有限公司 | Interference preventing device and method of capacitive touch screen |
CN104063093A (en) * | 2014-06-30 | 2014-09-24 | 广东欧珀移动通信有限公司 | Method, device and mobile device for preventing misoperation of touch screen |
Also Published As
Publication number | Publication date |
---|---|
CN106502461A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106502461B (en) | Method, device and mobile terminal for restoring touch screen state before electrostatic reset | |
CN106775087B (en) | A touch screen control method, device and mobile terminal of a mobile terminal | |
CN107402835B (en) | Application program exception handling method and device, storage medium and mobile terminal | |
CN106598335B (en) | A kind of touch screen control method, device and mobile terminal of mobile terminal | |
CN106681554B (en) | A control method, device and mobile terminal for a touch screen of a mobile terminal | |
CN106681637B (en) | Touch screen display method and device and mobile terminal | |
CN106681555A (en) | Touch screen control method and device of mobile terminal and mobile terminal | |
US10466849B2 (en) | Method and terminal for preventing unintentional triggering of a touch key and storage medium | |
CN106775407A (en) | Method and device for controlling touch screen of mobile terminal and mobile terminal | |
CN106710535B (en) | Screen backlight adjusting method and device and mobile terminal | |
WO2018107902A1 (en) | Control method and device for touch screen of mobile terminal, mobile terminal, and storage medium | |
CN106909250B (en) | Touch operation processing method and device and mobile terminal | |
CN106357897A (en) | Method and device for obtaining drop information | |
CN106790978B (en) | Method, device and mobile terminal for controlling screen state of mobile terminal | |
CN106775404A (en) | A method, device and mobile terminal for preventing false touches on a display interface | |
CN106060284A (en) | Method, device and mobile terminal for backlight control | |
CN107786223B (en) | Method and device for preventing SIM card from burning card and computer equipment | |
CN106776259B (en) | Mobile terminal frame rate detection method and device and mobile terminal | |
CN106445721B (en) | Watchdog fault-tolerant processing method and mobile terminal | |
CN107291302B (en) | Control method and device of touch screen, storage medium and terminal | |
CN106713572B (en) | Data reporting control method, device and terminal | |
CN107025438B (en) | Method and terminal for improving fingerprint identification rate | |
CN106547638B (en) | Method and device for preventing abnormal approaching state and mobile terminal | |
CN106249874B (en) | Reporting method of sensor data, processor and mobile terminal | |
CN106502819A (en) | A kind of based on the control method of proximity transducer, device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Foshan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190702 |
|
CF01 | Termination of patent right due to non-payment of annual fee |