CN110119242A - A kind of touch control method, terminal and computer readable storage medium - Google Patents
A kind of touch control method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN110119242A CN110119242A CN201910371895.2A CN201910371895A CN110119242A CN 110119242 A CN110119242 A CN 110119242A CN 201910371895 A CN201910371895 A CN 201910371895A CN 110119242 A CN110119242 A CN 110119242A
- Authority
- CN
- China
- Prior art keywords
- signal
- screen
- touch
- terminal
- reflector
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
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)
Abstract
本发明提供了一种触控方法、终端及计算机可读存储介质,其中,触控方法包括:利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;根据所述触控区域进行触控。本方案能够提前(在物体接触到屏幕之前)识别到触控行为,预判用户的行为,并开始执行用户需要的操作,减少操作的等待的时间,给用户提供一种只要进行触控行为,对应的操作就立即完成的体验感受;同时,避免触控操作对屏幕带来的磨损,很好的解决现有技术中触控方案容易损坏触控屏的问题。
The present invention provides a touch control method, a terminal, and a computer-readable storage medium, wherein the touch control method includes: using a signal transceiver device in the terminal to transmit a first signal, and receiving a signal reflected by the first signal The second signal: according to the signal strength of the second signal, determine the touch area of the reflector that reflects the first signal on the screen of the terminal; perform touch according to the touch area. This solution can recognize the touch behavior in advance (before the object touches the screen), predict the user's behavior, and start to perform the operation required by the user, reduce the waiting time for the operation, and provide the user with a simple touch behavior. The experience that the corresponding operation is completed immediately; at the same time, the wear and tear on the screen caused by the touch operation is avoided, and the problem of easy damage to the touch screen in the touch solution in the prior art is well solved.
Description
技术领域technical field
本发明涉及终端技术领域,尤其涉及一种触控方法、终端及计算机可读存储介质。The present invention relates to the technical field of terminals, in particular to a touch control method, a terminal and a computer-readable storage medium.
背景技术Background technique
目前应用于移动终端屏幕触控主流的技术是电阻触控和电容触控,电阻触控通过按压两层氧化铟锡ITO薄膜,使导电层接触导电,电阻发生变化,通过电阻变化的大小来计算出按压的位置,从而算出按压的屏幕位置。电容触控是通过手指触摸两层ITO薄膜构成的电容器,使电容器的电容发生变化,通过计算电容变化的位置来判断触摸的屏幕位置。At present, the mainstream technologies applied to mobile terminal screen touch are resistive touch and capacitive touch. Resistive touch presses two layers of indium tin oxide ITO film to make the conductive layer contact conductive, and the resistance changes, which is calculated by the magnitude of the resistance change. Find out the pressed position, so as to calculate the pressed screen position. Capacitive touch is to touch a capacitor composed of two layers of ITO film with a finger, so that the capacitance of the capacitor changes, and the position of the touched screen is judged by calculating the position of the capacitance change.
电阻屏的优点是触控精度高,可以精确到显示像素级别,特别适合用于书写。触控的时候不需要使用手指,用比较尖的物体按压就可以。但是缺点是电阻屏不支持多点触控,并且因为使用时需要让ITO薄膜接触导电,所以需要用力按压,长时间使用容易造成触控屏表面被划伤。The advantage of the resistive screen is that it has high touch precision, which can be accurate to the display pixel level, and is especially suitable for writing. You don't need to use your fingers when touching, just press with a sharper object. But the disadvantage is that the resistive screen does not support multi-touch, and because the ITO film needs to be in contact with the conduction when using it, it needs to be pressed hard, and the surface of the touch screen will be scratched easily after long-term use.
电容屏的优点是易触控,只需要触摸就可以识别,并且支持多点触控,特别适用于放大缩小等常用操作。缺点是触控精度较低,触控必须使用手指等能感应电容的触控介质。The advantage of the capacitive screen is that it is easy to touch, it can be recognized only by touching, and it supports multi-touch, which is especially suitable for common operations such as zooming in and out. The disadvantage is that the touch accuracy is low, and touch media such as fingers that can sense capacitance must be used for touch control.
目前还有一种屏是电磁屏,它的触控精度比电容屏和电阻屏好,但是需要专用的电磁笔,使用电磁笔才能让电磁屏感应到触控,手指无法触控电磁屏,对已习惯了用手指来操控屏幕的普通消费者来说,这种屏的使用感受并不好。At present, there is another kind of screen is the electromagnetic screen, its touch accuracy is better than the capacitive screen and the resistive screen, but it needs a special electromagnetic pen, and the electromagnetic pen can make the electromagnetic screen sense the touch, and the finger cannot touch the electromagnetic screen. For ordinary consumers who are accustomed to using their fingers to control the screen, the experience of using this screen is not good.
由上可知,目前的触控技术虽然可靠性和易用性较好,但是移动终端不能在物体接触到屏幕之前识别到触控行为,都必须要接触屏幕才能被屏幕识别到,这样长时间使用容易造成对触控屏的损坏,大大缩短触控屏的使用寿命。It can be seen from the above that although the current touch technology has good reliability and ease of use, the mobile terminal cannot recognize the touch behavior before the object touches the screen, and must touch the screen to be recognized by the screen, so long-term use It is easy to cause damage to the touch screen and greatly shorten the service life of the touch screen.
发明内容Contents of the invention
本发明的目的在于提供一种触控方法、终端及计算机可读存储介质,以解决现有技术中触控方案容易损坏触控屏的问题。The object of the present invention is to provide a touch control method, a terminal and a computer-readable storage medium, so as to solve the problem that touch screens are easily damaged by touch solutions in the prior art.
为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:
第一方面,本发明实施例提供了一种触控方法,应用于终端,所述触控方法包括:In a first aspect, an embodiment of the present invention provides a touch control method applied to a terminal, and the touch control method includes:
利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;using the signal transceiving device in the terminal to transmit a first signal, and receive a second signal reflected by the first signal;
根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;determining a touch area of a reflector that reflects the first signal on the screen of the terminal according to the signal strength of the second signal;
根据所述触控区域进行触控。Touching is performed according to the touch area.
第二方面,本发明实施例还提供了一种终端,所述终端包括:In a second aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
第一处理模块,用于利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;A first processing module, configured to use the signal transceiving device in the terminal to transmit a first signal, and receive a second signal reflected by the first signal;
第一确定模块,用于根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;A first determining module, configured to determine, according to the signal strength of the second signal, a touch area of a reflector that reflects the first signal on the screen of the terminal;
第一触控模块,用于根据所述触控区域进行触控。The first touch module is configured to perform touch control according to the touch area.
第三方面,本发明实施例还提供了一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述的触控方法的步骤。In a third aspect, an embodiment of the present invention also provides a terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor When implementing the steps of the above-mentioned touch control method.
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述的触控方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned touch method are implemented.
在本发明实施例中,通过利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;根据所述触控区域进行触控;能够提前(在物体接触到屏幕之前)识别到触控行为,预判用户的行为,并开始执行用户需要的操作,减少操作的等待的时间,给用户提供一种一触控操作即完成的体验感受;同时,避免触控操作对屏幕带来的磨损,很好的解决现有技术中触控方案容易损坏触控屏的问题。In the embodiment of the present invention, by using the signal transceiving device in the terminal to transmit the first signal and receive the second signal reflected by the first signal; according to the signal strength of the second signal, determine the reflected signal The touch area of the reflector of the first signal on the screen of the terminal; touch according to the touch area; the touch behavior can be recognized in advance (before the object touches the screen), and the behavior of the user can be predicted , and start to perform the operations required by the user, reduce the waiting time for the operation, and provide the user with an experience that the touch operation is completed; at the same time, it avoids the wear and tear on the screen caused by the touch operation, which is a good solution to the existing The touch solution in the technology is easy to damage the touch screen.
附图说明Description of drawings
图1为本发明实施例的触控方法流程示意图;FIG. 1 is a schematic flow chart of a touch method according to an embodiment of the present invention;
图2为本发明实施例的信号收发装置结构示意图一;FIG. 2 is a structural schematic diagram of a signal transceiving device according to an embodiment of the present invention;
图3为本发明实施例的信号收发装置结构示意图二;FIG. 3 is a second structural schematic diagram of a signal transceiving device according to an embodiment of the present invention;
图4为本发明实施例的信号收发装置阵列示意图;4 is a schematic diagram of an array of signal transceiving devices according to an embodiment of the present invention;
图5为本发明实施例的触控区域示意图;FIG. 5 is a schematic diagram of a touch area according to an embodiment of the present invention;
图6为本发明实施例的触控区域内第二信号强弱分布示意图;FIG. 6 is a schematic diagram of the intensity distribution of the second signal in the touch area according to the embodiment of the present invention;
图7为本发明实施例的触控方法具体实现流程示意图;7 is a schematic diagram of a specific implementation flow of a touch method according to an embodiment of the present invention;
图8为本发明实施例的终端结构示意图一;FIG. 8 is a first schematic diagram of a terminal structure according to an embodiment of the present invention;
图9为本发明实施例的终端结构示意图二。FIG. 9 is a second structural schematic diagram of a terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明针对现有的技术中触控方案容易损坏触控屏的问题,提供一种触控方法,应用于终端,如图1所示,所述触控方法包括:The present invention aims at the problem that the touch screen in the existing technology is easy to damage the touch screen, and provides a touch method, which is applied to the terminal, as shown in FIG. 1 , the touch method includes:
步骤11:利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号。Step 11: Using the signal transceiving device in the terminal to transmit a first signal, and receive a second signal reflected by the first signal.
其中,所述第一信号包括毫米波信号、超声波信号和红外线信号中的至少一种。Wherein, the first signal includes at least one of a millimeter wave signal, an ultrasonic signal and an infrared signal.
具体的,如图2和图3所示,所述信号收发装置1可包括信号调制单元2,与所述信号调制单元2相连的射频单元3,以及与所述射频单元3相连的天线单元4;其中,所述天线单元4包括至少一组发射天线5和至少一组接收天线6。Specifically, as shown in Figures 2 and 3, the signal transceiving device 1 may include a signal modulation unit 2, a radio frequency unit 3 connected to the signal modulation unit 2, and an antenna unit 4 connected to the radio frequency unit 3 ; Wherein, the antenna unit 4 includes at least one set of transmitting antennas 5 and at least one set of receiving antennas 6 .
信号调制单元还可与触控控制单元相连,触控控制单元可与应用处理器AP相连,但并不以此为限。The signal modulation unit can also be connected with the touch control unit, and the touch control unit can be connected with the application processor AP, but not limited thereto.
其中,所述接收天线6环设于所述发射天线5周边(如图2所示),或者所述发射天线5环设于所述接收天线6周边。Wherein, the receiving antenna 6 is arranged around the transmitting antenna 5 (as shown in FIG. 2 ), or the transmitting antenna 5 is arranged around the receiving antenna 6 .
为了具有更好的实现效果,如图4所示,所述信号收发装置1的数量为至少两个,所述信号收发装置1以阵列形式设置于所述终端7内(排布在屏幕8下方)。对应的,步骤11可以具体为:利用所述终端中的信号收发装置阵列发射第一信号,并接收由所述第一信号反射得到的第二信号。信号收发装置阵列可以为毫米波信号收发装置阵列,但并不以为限。In order to have a better implementation effect, as shown in Figure 4, the quantity of the signal transceiving device 1 is at least two, and the signal transceiving device 1 is arranged in the terminal 7 in an array (arranged below the screen 8 ). Correspondingly, step 11 may be specifically: using the signal transceiving device array in the terminal to transmit the first signal, and receiving the second signal reflected by the first signal. The array of signal transceiving devices may be an array of millimeter wave signal transceiving devices, but is not limited thereto.
步骤12:根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。Step 12: Determine, according to the signal strength of the second signal, a touch area of a reflector that reflects the first signal on the screen of the terminal.
其中,所述终端还可包括终端本体,所述信号收发装置设于所述屏幕与所述终端本体之间。Wherein, the terminal may further include a terminal body, and the signal transceiving device is arranged between the screen and the terminal body.
其中,所述反射体可以位于所述终端的屏幕上,或者,所述反射体可以位于距离所述终端的屏幕不超过预设距离的位置。当所述反射体位于所述终端的屏幕上时,所述反射体在所述终端的屏幕上的触控区域为所述手指与所述终端的屏幕接触的区域。当所述反射体位于距离所述终端的屏幕不超过预设距离的位置时,所述反射体在所述终端的屏幕上的触控区域为所述手指在所述终端的屏幕上的对应的区域。例如,所述手指在所述终端的屏幕上的对应的区域可以为所述手指在所述终端的屏幕上的垂直投影区域。Wherein, the reflector may be located on the screen of the terminal, or the reflector may be located within a preset distance from the screen of the terminal. When the reflector is located on the screen of the terminal, the touch area of the reflector on the screen of the terminal is an area where the finger contacts the screen of the terminal. When the reflector is located at a position not exceeding a preset distance from the screen of the terminal, the touch area of the reflector on the screen of the terminal is the corresponding touch area of the finger on the screen of the terminal area. For example, the corresponding area of the finger on the screen of the terminal may be a vertical projection area of the finger on the screen of the terminal.
步骤13:根据所述触控区域进行触控。Step 13: Touch according to the touch area.
具体也就是根据触控区域得到操作指令,根据操作指令进行对应操作;比如:得到触控区域为单点区域,确定为单击,则执行当前界面中单击所对应的操作,或者,得到触控区域为轨迹区域,确定为滑动,则执行当前界面中以该轨迹进行滑动所对应的操作。Specifically, the operation instruction is obtained according to the touch area, and the corresponding operation is performed according to the operation instruction; for example, if the touch area is determined to be a single point area, and it is determined to be a click, then the operation corresponding to the click in the current interface is executed, or, the touch area is obtained. If the control area is a track area, if it is determined to be sliding, then the operation corresponding to sliding with this track in the current interface will be executed.
本发明实施例提供的所述触控方法通过利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;根据所述触控区域进行触控;能够提前(在物体接触到屏幕之前)识别到触控行为,预判用户的行为,并开始执行用户需要的操作,减少操作的等待的时间,给用户提供一种只要进行触控行为,对应的操作就立即完成的体验感受;同时,避免触控操作对屏幕带来的磨损,很好的解决现有技术中触控方案容易损坏触控屏的问题。The touch control method provided by the embodiment of the present invention transmits a first signal by using the signal transceiving device in the terminal, and receives a second signal reflected by the first signal; according to the signal strength of the second signal , determining the touch area of the reflector that reflects the first signal on the screen of the terminal; performing touch according to the touch area; identifying the touch behavior in advance (before the object touches the screen), and predicting Judging the user's behavior, and starting to perform the operation that the user needs, reducing the waiting time for the operation, providing the user with an experience that the corresponding operation is completed immediately as long as the touch operation is performed; at the same time, avoiding the impact of the touch operation on the screen It can solve the problem that the touch screen in the prior art is easy to damage the touch screen.
其中,所述利用所述终端中的信号收发装置发射第一信号,包括:在所述终端处于亮屏的情况下,利用所述终端中的信号收发装置发射第一信号。Wherein, using the signal transceiving device in the terminal to transmit the first signal includes: using the signal transceiving device in the terminal to transmit the first signal when the screen of the terminal is on.
这样能够节省能源,避免因一直发射信号造成的能源浪费。关于亮屏可以是先解锁再亮屏的情况,也可以是先亮屏再解锁的情况,但并不以此为限。This saves energy and avoids the waste of energy caused by transmitting signals all the time. With regard to turning on the screen, it may be a case of first unlocking and then turning on the screen, or a case of first turning on the screen and then unlocking, but it is not limited thereto.
此外,所述利用所述终端中的信号收发装置发射第一信号,还可以包括:在所述终端处于灭屏的情况下,利用所述终端中的信号收发装置每间隔预设时间长度发射一次或多次第一信号。In addition, using the signal transceiving device in the terminal to transmit the first signal may also include: when the terminal is off, using the signal transceiving device in the terminal to transmit once every preset time length or multiple first signals.
这样同样也能够节省能源,避免因一直发射信号造成的能源浪费。同时还可以作为终端的一种亮屏解锁方式,使用户使用终端更为方便。In this way, energy can also be saved, and energy waste caused by transmitting signals all the time can be avoided. At the same time, it can also be used as a bright screen unlocking method for the terminal, making it more convenient for users to use the terminal.
进一步的,在根据所述第二信号的信号强度,在确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域之前,还包括:判断是否存在信号强度大于第一预设阈值的第二信号;若存在,则根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。Further, before determining the touch area of the reflector reflecting the first signal on the screen of the terminal according to the signal strength of the second signal, it further includes: judging whether there is a signal strength greater than the first preset A second signal with a threshold value; if it exists, determine a touch area of a reflector that reflects the first signal on the screen of the terminal according to the signal strength of the second signal.
关于第一预设阈值可通过实验确定。The first preset threshold can be determined through experiments.
这样能够避免不必要的频繁触控识别(具体避免不必要的信号干扰),比如用户手指只是远距离的从屏幕上经过并未要进行操作,但是也会带来第一信号的反射而形成第二信号,若此时进行触控识别,则是不必要的。This can avoid unnecessary frequent touch recognition (specifically avoid unnecessary signal interference). For example, the user's finger just passes by the screen at a long distance and does not want to operate, but it will also bring the reflection of the first signal to form the second The second signal is unnecessary if the touch recognition is performed at this time.
具体的,所述根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域,包括:根据所述信号收发装置在所述屏幕上对应的位置区域和第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。Specifically, the determining the touch area of the reflector that reflects the first signal on the screen of the terminal according to the signal strength of the second signal includes: Corresponding to the position area and the signal strength of the second signal, determine the touch area of the reflector that reflects the first signal on the screen of the terminal.
这样直接根据信号收发装置在屏幕上对应的位置区域进行触控区域的确认,能够加快处理速度。其中,信号收发装置的数量可为一个、两个或两个以上,在此不作限定。In this way, the touch area is confirmed directly according to the corresponding position area of the signal transceiving device on the screen, which can speed up the processing speed. Wherein, the number of signal transceiving devices may be one, two or more than two, which is not limited here.
针对“根据所述信号收发装置在所述屏幕上对应的位置区域和第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域”的具体实现,本发明实施例中提供以下两种示例:Aiming at the specific implementation of "determining the touch area of the reflector that reflects the first signal on the screen of the terminal according to the corresponding position area of the signal transceiving device on the screen and the signal strength of the second signal" , the following two examples are provided in the embodiment of the present invention:
第一种示例,所述根据所述信号收发装置在所述屏幕上对应的位置区域和第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域,包括:将在所述位置区域内接收到的第二信号按照信号强度由高到低的顺序进行排序;获取排序在前N位的第二信号在所述位置区域内的接收位置;根据所述接收位置,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;其中,N为大于0的整数。The first example, according to the position area corresponding to the signal transceiving device on the screen and the signal strength of the second signal, determine the touch of the reflector that reflects the first signal on the screen of the terminal The area includes: sorting the second signals received in the location area according to the order of signal strength from high to low; obtaining the receiving position of the first N-bit second signals in the location area; according to The receiving position determines a touch area of a reflector reflecting the first signal on the screen of the terminal; wherein, N is an integer greater than 0.
也就是说,根据接收到的第二信号的强弱进行触控区域的确认。这种方式更贴合实际应用(因为反射体离屏幕越近反射的第二信号越强,而离的越近的区域也就是用户想要触控的区域,因此更贴合实际应用),也更加便捷。That is to say, the touch area is confirmed according to the strength of the received second signal. This method is more suitable for practical applications (because the closer the reflector is to the screen, the stronger the reflected second signal is, and the closer the area is the area that the user wants to touch, so it is more suitable for practical applications). more convenient.
第二种示例,所述根据所述信号收发装置在所述屏幕上对应的位置区域和第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域,包括:根据在所述位置区域内接收到的第二信号的信号强度和所述第二信号在所述位置区域内的接收位置,得到与所述位置区域对应的信号强度变化信息;根据所述信号强度变化信息,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。In the second example, according to the position area corresponding to the signal transceiving device on the screen and the signal strength of the second signal, determine the touch of the reflector that reflects the first signal on the screen of the terminal The area includes: obtaining signal strength change information corresponding to the location area according to the signal strength of the second signal received in the location area and the receiving position of the second signal in the location area; The signal strength change information determines a touch area of a reflector that reflects the first signal on the screen of the terminal.
其中,所述信号强度变化信息可以是随位置变化的信号强度图或信号强度表。Wherein, the signal strength change information may be a signal strength map or a signal strength table that varies with location.
也就是说,根据接收到的第二信号的强弱变化进行触控区域的确认。这种方式同样贴合实际应用(因为反射体离屏幕越近反射的第二信号越强,而离的越近的区域也就是用户想要触控的区域,因此更贴合实际应用),也更加便捷,处理速度更快。That is to say, the touch area is confirmed according to the intensity change of the received second signal. This method is also suitable for practical applications (because the closer the reflector is to the screen, the stronger the reflected second signal is, and the closer the area is the area that the user wants to touch, so it is more suitable for practical applications). More convenient and faster processing.
其中,第二信号可以是一个信号,也可以是至少两个信号,可根据信号收发装置中的接收天线数量确定,但并不以此为限。Wherein, the second signal may be one signal, or at least two signals, which may be determined according to the number of receiving antennas in the signal transceiving device, but is not limited thereto.
本发明实施例中,所述根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域,包括:根据所述第二信号的信号强度,预测反射所述第一信号的反射体在所述终端的屏幕上的触控区域,并获取所述反射体与所述屏幕之间的距离;所述根据所述触控区域进行触控,包括:在所述距离小于第二预设阈值时,根据所述触控区域进行触控。In the embodiment of the present invention, the determining the touch area of the reflector reflecting the first signal on the screen of the terminal according to the signal strength of the second signal includes: according to the signal of the second signal Intensity, predicting the touch area of the reflector reflecting the first signal on the screen of the terminal, and obtaining the distance between the reflector and the screen; the touch control according to the touch area , including: when the distance is smaller than a second preset threshold, performing a touch according to the touch area.
关于第二预设阈值可通过实验确定。The second preset threshold can be determined through experiments.
这样能够更加快速的响应用户的操作,减少操作的等待时间。In this way, the user's operation can be responded to more quickly, and the waiting time for the operation can be reduced.
进一步的,在根据所述第二信号的信号强度,获取所述反射体与所述屏幕之间的距离之前,还包括:预存储所述第二信号的信号强度与所述距离之间的对应关系;所述根据所述第二信号的信号强度,获取所述反射体与所述屏幕之间的距离,包括:根据所述第二信号的信号强度和所述对应关系,获取所述反射体与所述屏幕之间的距离。Further, before obtaining the distance between the reflector and the screen according to the signal strength of the second signal, the method further includes: pre-storing correspondence between the signal strength of the second signal and the distance relationship; said obtaining the distance between the reflector and the screen according to the signal strength of the second signal includes: obtaining the reflector according to the signal strength of the second signal and the corresponding relationship The distance from the screen.
这样能够进一步提升处理速度以及处理精度。This can further improve the processing speed and processing accuracy.
下面对本发明实施例提供的所述触控方法进行进一步说明。The touch method provided by the embodiment of the present invention will be further described below.
针对上述技术问题,并考虑到目前终端不能在物体接触到屏幕之前识别到触控行为,如果终端能够提前识别到触控行为,可以让终端提前预判用户的行为,提前开始执行用户需要的操作,减少操作的等待的时间,使用户获得更好的使用体验;并避免触控操作对屏幕带来的磨损,本发明实施例提供了一种触控方法,其中涉及:In view of the above technical problems, and considering that the current terminal cannot recognize the touch behavior before the object touches the screen, if the terminal can recognize the touch behavior in advance, the terminal can predict the user's behavior in advance and start performing the user's desired operation in advance To reduce the waiting time for operations, so that users can obtain a better experience; and to avoid wear and tear on the screen caused by touch operations, an embodiment of the present invention provides a touch method, which involves:
在终端的屏幕(具体可为显示区域)的下方增加信号收发装置,进一步的,可以是在屏幕下方增加信号收发装置阵列(排满屏幕下方),信号收发装置可为毫米波收发装置。A signal transceiving device is added below the screen of the terminal (specifically, it may be a display area), and further, an array of signal transceiving devices may be added under the screen (to fill the bottom of the screen), and the signal transceiving device may be a millimeter wave transceiving device.
该信号收发装置阵列位于屏幕下方,可垂直向上发射毫米波,当有手指等物体(即上述反射体)靠近后,会有毫米波反射回来,信号收发装置接收到后,终端可根据反射信号的强弱来判断触控区域,并提前作出相关操作,加快操作的完成时间,可以给用户提供一种一触控操作即完成的效果,给用户带来极速体验。The signal transceiver array is located at the bottom of the screen and can emit millimeter waves vertically upward. When an object such as a finger (that is, the above-mentioned reflector) approaches, millimeter waves will be reflected back. After the signal transceiver device receives it, the terminal can Judging the touch area by its strength and making relevant operations in advance to speed up the completion time of the operation can provide users with the effect of one-touch operation and bring users an extremely fast experience.
具体的,该信号收发装置可包括发射天线和接收天线,发射和接收可同时工作,发射信号的功率可以很小,只需覆盖10mm(不限于10mm)的距离。Specifically, the signal transceiving device may include a transmitting antenna and a receiving antenna, the transmitting and receiving can work simultaneously, the power of the transmitting signal can be small, and only need to cover a distance of 10mm (not limited to 10mm).
进一步的,该信号收发装置阵列可以在终端灭屏的时候休眠,当手机解锁亮屏后才开始工作。Further, the array of signal transceiving devices can sleep when the terminal screen is off, and start working when the mobile phone is unlocked and the screen is on.
如图5和图6所示,当手指或其他物体靠近时(离屏幕8的距离小于10mm),信号收发装置阵列中的多个信号收发装置开始接收到手指或物体反射回来的毫米波,各个信号收发装置接收天线接收到强弱不一的毫米波信号,通过毫米波信号收发装置的位置和接收毫米波信号的强弱可以判断触控的位置区域a,终端即可作出相应的操作。As shown in Figures 5 and 6, when a finger or other object approaches (the distance from the screen 8 is less than 10mm), multiple signal transceiving devices in the signal transceiving device array begin to receive the millimeter wave reflected back by the finger or object, each The receiving antenna of the signal transceiving device receives millimeter-wave signals of different strengths, and the position area a of the touch can be determined according to the position of the millimeter-wave signal transceiving device and the strength of the received millimeter-wave signal, and the terminal can perform corresponding operations.
具体的,关于毫米波信号收发装置接收到反射回来的信号,从图6可以看出触控区域a内从中心到四周接收的信号越来越小,可根据信号强弱即可算出具体的触控区域a。Specifically, regarding the reflected signal received by the millimeter-wave signal transceiver device, it can be seen from Figure 6 that the signal received from the center to the surrounding area in the touch area a is getting smaller and smaller, and the specific touch point can be calculated according to the strength of the signal. control area a.
本发明实施例提供的方案的具体实现可如图7所示,包括:The specific implementation of the solution provided by the embodiment of the present invention can be shown in Figure 7, including:
步骤71:开始;Step 71: start;
步骤72:终端解锁亮屏,毫米波信号收发装置开始工作;Step 72: The terminal is unlocked and the screen is turned on, and the millimeter wave signal transceiver device starts to work;
步骤73:终端的应用处理器AP可控制信号毫米波收发装置发射毫米波信号;Step 73: The application processor AP of the terminal can control the signal millimeter wave transceiver device to transmit the millimeter wave signal;
步骤74:判断是否接收到信号强度大于第一预设阈值的毫米波信号(经反射回来的毫米波信号),若是,进入步骤75,若否,返回步骤73;Step 74: Judging whether the received millimeter-wave signal (the reflected millimeter-wave signal) whose signal strength is greater than the first preset threshold, if so, proceed to step 75, if not, return to step 73;
关于第一预设阈值可进行实验设定,以能够避免其他信号干扰。The first preset threshold can be set experimentally so as to avoid other signal interference.
步骤75:根据毫米波信号收发装置对应在屏幕上的位置区域和接收到的毫米波信号的强弱,确定触控区域;Step 75: Determine the touch area according to the position area of the millimeter wave signal transceiver device on the screen and the strength of the received millimeter wave signal;
步骤76:终端的AP可根据触控区域发出相应的操作指令;Step 76: The AP of the terminal can issue corresponding operation instructions according to the touch area;
比如根据触控区域确定为单击、双击等操作,根据确定的操作发出操作指令(比如翻页)。For example, operations such as single-click and double-click are determined according to the touch area, and an operation instruction (such as page turning) is issued according to the determined operation.
步骤77:结束。Step 77: End.
由上可知,本发明实施例提供的方案通过在屏幕下方增加毫米波信号收发装置阵列,使得用户触控屏幕时,手指或其他物体还没有接触到屏幕,终端即可识别有物体靠近,提前做出预判,提前做出操作(如提前打开应用程序app,弹出菜单选项等操作),让系统的反应速度变的更快,用户使用时体验极佳,有一种触控即响应的体验。同时相比电容触控,本方案可以对任何物体的触控都做出响应;相比电阻触控,本方案可以在不增加屏幕的磨损的前提下支持多点触控,本方案兼有电阻屏和电容屏的优点,又避免了这两者的缺点。It can be seen from the above that the solution provided by the embodiment of the present invention adds an array of millimeter-wave signal transceiver devices below the screen, so that when the user touches the screen, the terminal can recognize that there is an object approaching before the user touches the screen, and do it in advance. Make predictions and make operations in advance (such as opening the application app in advance, popping up menu options, etc.), so that the response speed of the system becomes faster, and the user experience is excellent when using it, and there is a touch-to-response experience. At the same time, compared with capacitive touch, this solution can respond to the touch of any object; compared with resistive touch, this solution can support multi-touch without increasing the wear and tear of the screen. Advantages of screen and capacitive screen, and avoid the disadvantages of both.
此外,本方案的信号收发装置还可采用超声波、红外线等技术来实现,在此不作限定。In addition, the signal transceiving device of this solution can also be realized by ultrasonic, infrared and other technologies, which are not limited here.
本发明实施例还提供了一种终端,如图8所示,所述终端包括:The embodiment of the present invention also provides a terminal. As shown in FIG. 8, the terminal includes:
第一处理模块81,用于利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;The first processing module 81 is configured to use the signal transceiving device in the terminal to transmit a first signal, and receive a second signal reflected by the first signal;
第一确定模块82,用于根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;The first determination module 82 is configured to determine, according to the signal strength of the second signal, the touch area of the reflector that reflects the first signal on the screen of the terminal;
第一触控模块83,用于根据所述触控区域进行触控。The first touch module 83 is configured to perform touch according to the touch area.
本发明实施例提供的所述终端通过利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;根据所述触控区域进行触控;能够提前(在物体接触到屏幕之前)识别到触控行为,预判用户的行为,并开始执行用户需要的操作,减少操作的等待的时间,给用户提供一种只要进行触控行为,对应的操作就立即完成的体验感受;同时,避免触控操作对屏幕带来的磨损,很好的解决现有技术中触控方案容易损坏触控屏的问题。According to the terminal provided by the embodiment of the present invention, the terminal transmits the first signal by using the signal transceiving device in the terminal, and receives the second signal reflected by the first signal; according to the signal strength of the second signal, determine The touch area of the reflector that reflects the first signal on the screen of the terminal; touch according to the touch area; the touch behavior can be recognized in advance (before the object touches the screen), and the user can be predicted behavior, and start to perform the operation that the user needs, reducing the waiting time for the operation, providing the user with an experience that the corresponding operation is completed immediately as long as the touch operation is performed; at the same time, avoiding the impact of the touch operation on the screen Abrasion is a good solution to the problem that the touch screen in the prior art is easy to damage the touch screen.
其中,所述第一处理模块,包括:第一处理子模块,用于在所述终端处于亮屏的情况下,利用所述终端中的信号收发装置发射第一信号。Wherein, the first processing module includes: a first processing sub-module, configured to use a signal transceiving device in the terminal to transmit a first signal when the terminal is on a bright screen.
进一步的,所述的终端还包括:第一判断模块,用于在根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域之前,判断是否存在信号强度大于第一预设阈值的第二信号;第一执行模块,用于若存在,则根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。Further, the terminal further includes: a first judging module, configured to determine, according to the signal strength of the second signal, that the reflector that reflects the first signal is in the touch area on the screen of the terminal , judging whether there is a second signal whose signal strength is greater than the first preset threshold; the first execution module is configured to determine, according to the signal strength of the second signal, that the reflector that reflects the first signal is in the The touch area on the screen of the above-mentioned terminal.
具体的,所述第一确定模块,包括:第一确定子模块,用于根据所述信号收发装置在所述屏幕上对应的位置区域和第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。Specifically, the first determination module includes: a first determination submodule, configured to determine the reflection of the first signal based on the corresponding position area of the signal transceiving device on the screen and the signal strength of the second signal. The touch area of the reflector on the screen of the terminal.
针对“第一确定子模块”的具体实现,本发明实施例中提供以下两种示例:For the specific implementation of the "first determination sub-module", the following two examples are provided in the embodiment of the present invention:
第一种示例,所述第一确定子模块,包括:第一排序单元,用于将在所述位置区域内接收到的第二信号按照信号强度由高到低的顺序进行排序;第一获取单元,用于获取排序在前N位的第二信号在所述位置区域内的接收位置;第一确定单元,用于根据所述接收位置,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;其中,N为大于0的整数。In the first example, the first determination submodule includes: a first sorting unit, configured to sort the second signals received in the location area according to the order of signal strength from high to low; the first acquisition a unit, configured to acquire the receiving position of the second signal sorted in the first N bits within the position area; a first determining unit, configured to determine, according to the receiving position, that the reflector that reflects the first signal is in the A touch area on the screen of the terminal; wherein, N is an integer greater than 0.
第二种示例,所述第一确定子模块,包括:第一处理单元,用于根据在所述位置区域内接收到的第二信号的信号强度和所述第二信号在所述位置区域内的接收位置,得到与所述位置区域对应的信号强度变化信息;第二确定单元,用于根据所述信号强度变化信息,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。In a second example, the first determining submodule includes: a first processing unit configured to, according to the signal strength of the second signal received in the location area and the location of the second signal in the location area The receiving location of the receiving location, to obtain the signal strength change information corresponding to the location area; the second determination unit is configured to determine the position of the reflector that reflects the first signal on the screen of the terminal according to the signal strength change information touch area.
本发明实施例中,所述第一确定模块,包括:第二处理子模块,用于根据所述第二信号的信号强度,预测反射所述第一信号的反射体在所述终端的屏幕上的触控区域,并获取所述反射体与所述屏幕之间的距离;所述第一触控模块,包括:第一触控子模块,用于在所述距离小于第二预设阈值时,根据所述触控区域进行触控。In the embodiment of the present invention, the first determination module includes: a second processing submodule, configured to predict that the reflector that reflects the first signal is on the screen of the terminal according to the signal strength of the second signal touch area, and acquire the distance between the reflector and the screen; the first touch module includes: a first touch sub-module, configured to be used when the distance is less than a second preset threshold , to perform touch according to the touch area.
进一步的,所述的终端还包括:第一存储模块,用于在根据所述第二信号的信号强度,获取所述反射体与所述屏幕之间的距离之前,预存储所述第二信号的信号强度与所述距离之间的对应关系;所述第二处理子模块,包括:第二获取单元,用于根据所述第二信号的信号强度和所述对应关系,获取所述反射体与所述屏幕之间的距离。Further, the terminal further includes: a first storage module, configured to pre-store the second signal before acquiring the distance between the reflector and the screen according to the signal strength of the second signal The corresponding relationship between the signal strength of the second signal and the distance; the second processing submodule includes: a second acquisition unit, configured to acquire the reflector according to the signal strength of the second signal and the corresponding relationship The distance from the screen.
其中,所述第一信号包括毫米波信号、超声波信号和红外线信号中的至少一种。Wherein, the first signal includes at least one of a millimeter wave signal, an ultrasonic signal and an infrared signal.
进一步的,所述终端还包括终端本体,所述信号收发装置设于所述屏幕与所述终端本体之间。Further, the terminal further includes a terminal body, and the signal transceiving device is arranged between the screen and the terminal body.
具体的,所述信号收发装置包括信号调制单元,与所述信号调制单元相连的射频单元,以及与所述射频单元相连的天线单元;其中,所述天线单元包括至少一组发射天线和至少一组接收天线。Specifically, the signal transceiving device includes a signal modulation unit, a radio frequency unit connected to the signal modulation unit, and an antenna unit connected to the radio frequency unit; wherein, the antenna unit includes at least one set of transmitting antennas and at least one Set of receiving antennas.
优选的,所述接收天线环设于所述发射天线周边,或者所述发射天线环设于所述接收天线周边。Preferably, the receiving antenna loop is arranged around the transmitting antenna, or the transmitting antenna loop is arranged around the receiving antenna.
本发明实施例中,所述信号收发装置的数量为至少两个,所述信号收发装置以阵列形式设置于所述终端内。In the embodiment of the present invention, the number of the signal transceiving devices is at least two, and the signal transceiving devices are arranged in the terminal in the form of an array.
本发明实施例提供的终端能够实现图1至图7的方法实施例中终端实现的各个过程,为避免重复,这里不再赘述。The terminal provided by the embodiment of the present invention can implement various processes implemented by the terminal in the method embodiments in FIG. 1 to FIG. 7 , and details are not repeated here to avoid repetition.
图9为实现本发明各个实施例的一种终端的硬件结构示意图,该终端90包括但不限于:射频单元91、网络模块92、音频输出单元93、输入单元94、传感器95、显示单元96、用户输入单元97、接口单元98、存储器99、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。9 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention. The terminal 90 includes, but is not limited to: a radio frequency unit 91, a network module 92, an audio output unit 93, an input unit 94, a sensor 95, a display unit 96, User input unit 97, interface unit 98, memory 99, processor 910, power supply 911 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 9 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine certain components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器910,用于利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;根据所述触控区域进行触控。Wherein, the processor 910 is configured to use the signal transceiving device in the terminal to transmit the first signal, and receive the second signal reflected by the first signal; determine the reflected signal according to the signal strength of the second signal A touch area of the reflector of the first signal on the screen of the terminal; touch is performed according to the touch area.
在本发明实施例中,通过利用所述终端中的信号收发装置发射第一信号,并接收由所述第一信号反射得到的第二信号;根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;根据所述触控区域进行触控;能够提前(在物体接触到屏幕之前)识别到触控行为,预判用户的行为,并开始执行用户需要的操作,减少操作的等待的时间,给用户提供一种一触控操作即完成的体验感受;同时,避免触控操作对屏幕带来的磨损,很好的解决现有技术中触控方案容易损坏触控屏的问题。In the embodiment of the present invention, by using the signal transceiving device in the terminal to transmit the first signal and receive the second signal reflected by the first signal; according to the signal strength of the second signal, determine the reflected signal The touch area of the reflector of the first signal on the screen of the terminal; touch according to the touch area; the touch behavior can be recognized in advance (before the object touches the screen), and the behavior of the user can be predicted , and start to perform the operations required by the user, reduce the waiting time for the operation, and provide the user with an experience that the touch operation is completed; at the same time, it avoids the wear and tear on the screen caused by the touch operation, which is a good solution to the existing The touch solution in the technology is easy to damage the touch screen.
可选的,处理器910具体用于,在所述终端处于亮屏的情况下,利用所述终端中的信号收发装置发射第一信号。Optionally, the processor 910 is specifically configured to, when the screen of the terminal is on, use a signal transceiving device in the terminal to transmit the first signal.
可选的,处理器910还用于,在根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域之前,判断是否存在信号强度大于第一预设阈值的第二信号;若存在,则根据所述第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。Optionally, the processor 910 is further configured to, before determining the touch area of the reflector that reflects the first signal on the screen of the terminal according to the signal strength of the second signal, determine whether there is a signal strength If there is a second signal greater than the first preset threshold, determining the touch area of the reflector that reflects the first signal on the screen of the terminal according to the signal strength of the second signal.
可选的,处理器910具体用于,根据所述信号收发装置在所述屏幕上对应的位置区域和第二信号的信号强度,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。Optionally, the processor 910 is specifically configured to, according to the corresponding location area of the signal transceiving device on the screen and the signal strength of the second signal, determine that the reflector that reflects the first signal is on the screen of the terminal. on the touch area.
可选的,处理器910具体用于,将在所述位置区域内接收到的第二信号按照信号强度由高到低的顺序进行排序;获取排序在前N位的第二信号在所述位置区域内的接收位置;根据所述接收位置,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域;其中,N为大于0的整数。Optionally, the processor 910 is specifically configured to sort the second signals received in the location area according to the order of signal strength from high to low; A receiving position within the area; according to the receiving position, determine a touch area of a reflector that reflects the first signal on the screen of the terminal; wherein, N is an integer greater than 0.
可选的,处理器910具体用于,根据在所述位置区域内接收到的第二信号的信号强度和所述第二信号在所述位置区域内的接收位置,得到与所述位置区域对应的信号强度变化信息;根据所述信号强度变化信息,确定反射所述第一信号的反射体在所述终端的屏幕上的触控区域。Optionally, the processor 910 is specifically configured to, according to the signal strength of the second signal received in the location area and the receiving location of the second signal in the location area, obtain the information corresponding to the location area. The signal strength change information; according to the signal strength change information, determine the touch area of the reflector that reflects the first signal on the screen of the terminal.
可选的,处理器910具体用于,根据所述第二信号的信号强度,预测反射所述第一信号的反射体在所述终端的屏幕上的触控区域,并获取所述反射体与所述屏幕之间的距离;在所述距离小于第二预设阈值时,根据所述触控区域进行触控。Optionally, the processor 910 is specifically configured to, according to the signal strength of the second signal, predict a touch area of a reflector that reflects the first signal on the screen of the terminal, and acquire the relationship between the reflector and the The distance between the screens; when the distance is less than a second preset threshold, touch is performed according to the touch area.
可选的,处理器910还用于,在根据所述第二信号的信号强度,获取所述反射体与所述屏幕之间的距离之前,预存储所述第二信号的信号强度与所述距离之间的对应关系;Optionally, the processor 910 is further configured to, before obtaining the distance between the reflector and the screen according to the signal strength of the second signal, pre-store the signal strength of the second signal and the Correspondence between distances;
处理器910具体用于,根据所述第二信号的信号强度和所述对应关系,获取所述反射体与所述屏幕之间的距离。The processor 910 is specifically configured to acquire the distance between the reflector and the screen according to the signal strength of the second signal and the corresponding relationship.
可选的,所述第一信号包括毫米波信号、超声波信号和红外线信号中的至少一种。Optionally, the first signal includes at least one of a millimeter wave signal, an ultrasonic signal and an infrared signal.
应理解的是,本发明实施例中,射频单元91可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元91包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元91还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 91 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 910; Uplink data is sent to the base station. Generally, the radio frequency unit 91 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 91 can also communicate with the network and other devices through a wireless communication system.
终端通过网络模块92为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 92, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元93可以将射频单元91或网络模块92接收的或者在存储器99中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元93还可以提供与终端90执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元93包括扬声器、蜂鸣器以及受话器等。The audio output unit 93 may convert audio data received by the radio frequency unit 91 or the network module 92 or stored in the memory 99 into an audio signal and output as sound. Also, the audio output unit 93 may also provide audio output related to a specific function performed by the terminal 90 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 93 includes a speaker, a buzzer, a receiver, and the like.
输入单元94用于接收音频或视频信号。输入单元94可以包括图形处理器(Graphics Processing Unit,GPU)941和麦克风942,图形处理器941对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元96上。经图形处理器941处理后的图像帧可以存储在存储器99(或其它存储介质)中或者经由射频单元91或网络模块92进行发送。麦克风942可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元91发送到移动通信基站的格式输出。The input unit 94 is used to receive audio or video signals. The input unit 94 can include a graphics processing unit (Graphics Processing Unit, GPU) 941 and a microphone 942, and the graphics processing unit 941 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 96 . The image frames processed by the graphics processor 941 may be stored in the memory 99 (or other storage media) or sent via the radio frequency unit 91 or the network module 92 . The microphone 942 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format transmittable to a mobile communication base station via the radio frequency unit 91 for output in the case of a phone call mode.
终端90还包括至少一种传感器95,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板961的亮度,接近传感器可在终端90移动到耳边时,关闭显示面板961和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器95还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 90 also includes at least one sensor 95, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 961 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 961 and/or when the terminal 90 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 95 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.
显示单元96用于显示由用户输入的信息或提供给用户的信息。显示单元96可包括显示面板961,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板961。The display unit 96 is used to display information input by the user or information provided to the user. The display unit 96 may include a display panel 961, and the display panel 961 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元97可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元97包括触控面板971以及其他输入设备972。触控面板971,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板971上或在触控面板971附近的操作)。触控面板971可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板971。除了触控面板971,用户输入单元97还可以包括其他输入设备972。具体地,其他输入设备972可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 97 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 97 includes a touch panel 971 and other input devices 972 . The touch panel 971, also referred to as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 971 or near the touch panel 971). operate). The touch panel 971 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 910, receive the command sent by the processor 910 and execute it. In addition, the touch panel 971 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 971 , the user input unit 97 may also include other input devices 972 . Specifically, other input devices 972 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板971可覆盖在显示面板961上,当触控面板971检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板961上提供相应的视觉输出。虽然在图9中,触控面板971与显示面板961是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板971与显示面板961集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 971 may be covered on the display panel 961, and when the touch panel 971 detects a touch operation on or near it, it will be sent to the processor 910 to determine the type of the touch event, and then the processor 910 will The type of event provides a corresponding visual output on the display panel 961 . Although in FIG. 9, the touch panel 971 and the display panel 961 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 971 and the display panel 961 can be integrated to form Realize the input and output functions of the terminal, which is not limited here.
接口单元98为外部装置与终端90连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元98可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端90内的一个或多个元件或者可以用于在终端90和外部装置之间传输数据。The interface unit 98 is an interface for connecting an external device to the terminal 90 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Interface unit 98 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within terminal 90 or may be used to transfer data between.
存储器99可用于存储软件程序以及各种数据。存储器99可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器99可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 99 can be used to store software programs as well as various data. The memory 99 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 99 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器910是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器99内的软件程序和/或模块,以及调用存储在存储器99内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器910可包括一个或多个处理单元;优选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。The processor 910 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 99, and calling data stored in the memory 99, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 910 .
终端90还可以包括给各个部件供电的电源911(比如电池),优选的,电源911可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 90 can also include a power supply 911 (such as a battery) for supplying power to various components. Preferably, the power supply 911 can be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.
另外,终端90包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 90 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种终端,包括处理器910,存储器99,存储在存储器99上并可在所述处理器910上运行的计算机程序,该计算机程序被所述处理器910执行时实现上述触控方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal, including a processor 910, a memory 99, a computer program stored on the memory 99 and operable on the processor 910, and the computer program is executed by the processor 910 Each process of the above-mentioned touch method embodiment can be realized at the same time, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述触控方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned touch method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910371895.2A CN110119242A (en) | 2019-05-06 | 2019-05-06 | A kind of touch control method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910371895.2A CN110119242A (en) | 2019-05-06 | 2019-05-06 | A kind of touch control method, terminal and computer readable storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110119242A true CN110119242A (en) | 2019-08-13 |
Family
ID=67521769
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910371895.2A Pending CN110119242A (en) | 2019-05-06 | 2019-05-06 | A kind of touch control method, terminal and computer readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110119242A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111158529A (en) * | 2019-12-31 | 2020-05-15 | 维沃移动通信有限公司 | A touch area determination method and electronic device |
| CN112416175A (en) * | 2020-11-30 | 2021-02-26 | Oppo广东移动通信有限公司 | Wear monitoring method, electronic device, touch writing device, and touch system |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201383133Y (en) * | 2008-12-09 | 2010-01-13 | 上海纽发利商贸有限公司 | Photo-induction touch panel device |
| CN103782259A (en) * | 2011-09-08 | 2014-05-07 | 戴姆勒股份公司 | Control device for a motor vehicle and method for operating the control device for a motor vehicle |
| CN103809910A (en) * | 2014-02-20 | 2014-05-21 | 深圳市威富多媒体有限公司 | Method and device for conducting interaction through touch terminal input device |
| CN105224207A (en) * | 2014-09-04 | 2016-01-06 | 维沃移动通信有限公司 | A kind of end application is every empty control method and mobile terminal |
| US20170068394A1 (en) * | 2015-09-03 | 2017-03-09 | Ceebus Technologies, Llc | Touchscreen system usable in a variety of media |
| CN107132913A (en) * | 2017-03-31 | 2017-09-05 | 南京理工大学 | A kind of multi-user's man-machine interaction method based on millimeter wave |
| CN109407833A (en) * | 2018-09-30 | 2019-03-01 | Oppo广东移动通信有限公司 | Method and device for controlling electronic equipment, electronic equipment and storage medium |
| CN109669544A (en) * | 2018-12-29 | 2019-04-23 | Oppo广东移动通信有限公司 | Fingerprint area determination method and device, terminal and readable storage medium |
-
2019
- 2019-05-06 CN CN201910371895.2A patent/CN110119242A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201383133Y (en) * | 2008-12-09 | 2010-01-13 | 上海纽发利商贸有限公司 | Photo-induction touch panel device |
| CN103782259A (en) * | 2011-09-08 | 2014-05-07 | 戴姆勒股份公司 | Control device for a motor vehicle and method for operating the control device for a motor vehicle |
| CN103809910A (en) * | 2014-02-20 | 2014-05-21 | 深圳市威富多媒体有限公司 | Method and device for conducting interaction through touch terminal input device |
| CN105224207A (en) * | 2014-09-04 | 2016-01-06 | 维沃移动通信有限公司 | A kind of end application is every empty control method and mobile terminal |
| US20170068394A1 (en) * | 2015-09-03 | 2017-03-09 | Ceebus Technologies, Llc | Touchscreen system usable in a variety of media |
| CN107132913A (en) * | 2017-03-31 | 2017-09-05 | 南京理工大学 | A kind of multi-user's man-machine interaction method based on millimeter wave |
| CN109407833A (en) * | 2018-09-30 | 2019-03-01 | Oppo广东移动通信有限公司 | Method and device for controlling electronic equipment, electronic equipment and storage medium |
| CN109669544A (en) * | 2018-12-29 | 2019-04-23 | Oppo广东移动通信有限公司 | Fingerprint area determination method and device, terminal and readable storage medium |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111158529A (en) * | 2019-12-31 | 2020-05-15 | 维沃移动通信有限公司 | A touch area determination method and electronic device |
| CN111158529B (en) * | 2019-12-31 | 2024-03-08 | 维沃移动通信有限公司 | Touch area determining method and electronic equipment |
| CN112416175A (en) * | 2020-11-30 | 2021-02-26 | Oppo广东移动通信有限公司 | Wear monitoring method, electronic device, touch writing device, and touch system |
| CN112416175B (en) * | 2020-11-30 | 2024-05-14 | Oppo广东移动通信有限公司 | Wear monitoring method, electronic device, touch writing device and touch system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109375890B (en) | A screen display method and multi-screen electronic device | |
| CN107977132B (en) | Information display method and mobile terminal | |
| CN108469965A (en) | A kind of setting method and mobile terminal of application program | |
| CN110456953A (en) | Folder interface switching method and terminal equipment | |
| WO2021083132A1 (en) | Icon moving method and electronic device | |
| CN108363524B (en) | Application icon display method and mobile terminal | |
| CN110531904A (en) | A kind of background task display methods and terminal | |
| CN108446058A (en) | A kind of operating method and mobile terminal of mobile terminal | |
| CN110046013A (en) | A kind of interface display method and terminal device | |
| CN110502163A (en) | Terminal device control method and terminal device | |
| US20210200432A1 (en) | Display method and mobile terminal | |
| CN111124223A (en) | Application interface switching method and electronic device | |
| CN108897473A (en) | A kind of interface display method and terminal | |
| CN107728923A (en) | The processing method and mobile terminal of a kind of operation | |
| CN108733282A (en) | A kind of page moving method and terminal device | |
| CN108334272A (en) | A control method and mobile terminal | |
| CN110221761A (en) | Display methods and terminal device | |
| CN108769299A (en) | Screen control method, device and mobile terminal | |
| CN107992342A (en) | A kind of application configuration change method and mobile terminal | |
| CN108762564A (en) | A kind of method of controlling operation thereof and terminal device | |
| CN111352547A (en) | Display method and electronic equipment | |
| CN108388396A (en) | A kind of interface switching method and mobile terminal | |
| CN108108113A (en) | Webpage switching method and device | |
| CN111443819B (en) | Control method and electronic equipment | |
| CN111522613B (en) | Screen capturing method and electronic equipment |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190813 |